wxTextCtrl border Topic is solved

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
normunds
Knows some wx things
Knows some wx things
Posts: 31
Joined: Mon Sep 03, 2007 8:14 am
Contact:

wxTextCtrl border

Post by normunds »

Hi all!

I should use wxTE_RICH or wxTE_RICH2 flag to display Arabic characters in wxTextCtrl.
When I set this flag and WinXP theme is classic - there is no border around field at all!! In WinXP theme there is nice blue border.
When I set wxSIMPLE_BORDER flag in classic theme there is border and in WinXP theme is the same classic style border.
Without wxTE_RICH flag everything is ok. Any solution?
valodas - free cross-platform language learning software
http://www.valodas.com
Grrr
Earned some good credits
Earned some good credits
Posts: 126
Joined: Fri Apr 11, 2008 8:48 am
Location: Netherlands

Post by Grrr »

Try using wxBORDER_THEME.
normunds
Knows some wx things
Knows some wx things
Posts: 31
Joined: Mon Sep 03, 2007 8:14 am
Contact:

Post by normunds »

Grrr wrote:Try using wxBORDER_THEME.
Does not help. When I'm using wxBORDER_THEME in WinXP classic theme - there is no border to wxTextCtrl at all, with or without wxTE_RICH setting. What does it means?

Latest wxWidgets version ...
valodas - free cross-platform language learning software
http://www.valodas.com
normunds
Knows some wx things
Knows some wx things
Posts: 31
Joined: Mon Sep 03, 2007 8:14 am
Contact:

Post by normunds »

Problem was solved by removing wxTE_RICH setting and installing complex script and right-to-left languages support in Regional and Language Options
valodas - free cross-platform language learning software
http://www.valodas.com
normunds
Knows some wx things
Knows some wx things
Posts: 31
Joined: Mon Sep 03, 2007 8:14 am
Contact:

Post by normunds »

It looks like it was a bug and should be fixed in 2.8.8

- Fixed rendering of borders for wxTextCtrl with wxTE_RICH(2) style when using Windows XP's Classic UI theme.

normunds wrote:Problem was solved by removing wxTE_RICH setting and installing complex script and right-to-left languages support in Regional and Language Options
valodas - free cross-platform language learning software
http://www.valodas.com
Post Reply