Page 1 of 1

wxTextCtrl border

Posted: Fri May 30, 2008 12:15 pm
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?

Posted: Mon Jun 02, 2008 8:00 pm
by Grrr
Try using wxBORDER_THEME.

Posted: Tue Jun 03, 2008 6:56 am
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 ...

Posted: Wed Jun 11, 2008 6:47 am
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

Posted: Mon Jul 14, 2008 7:20 am
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