Multi-line text controls support the styles, i.e. provide a possibility to set colours and font for individual characters in it (note that under Windows wxTE_RICH style is required for style support).
I used the text ctrl with size wxSize(495, 20) and the following style wxTE_LEFT|wxTE_MULTILINE |wxTE_RICH |wxTE_DONTWRAP to read the single line text(long text) from the config file.
Before reading the config file, I change the desktop style to windows xp style.wxTextCtrl displays only the horizontal scroll bar instead of text
currently my wx version is wx_2.8.8
The same code is properly working with the previous version wx_2.8.0
Is this a wxWidget bug ????
I dont want to show the horizontal bar for the long text (greater than the wxTextCtrl size)
wxTextCtrl with windows xp style
-
- Experienced Solver
- Posts: 96
- Joined: Fri Jun 17, 2005 1:53 pm
- Location: Germany
- Contact:
-
- Experienced Solver
- Posts: 96
- Joined: Fri Jun 17, 2005 1:53 pm
- Location: Germany
- Contact:
-
- Experienced Solver
- Posts: 96
- Joined: Fri Jun 17, 2005 1:53 pm
- Location: Germany
- Contact:
-
- Experienced Solver
- Posts: 96
- Joined: Fri Jun 17, 2005 1:53 pm
- Location: Germany
- Contact: