Hi!
I'm seeing a strange behaviour in my Linux-only wxPython app.. When I:
1) focus a wx.TextCtrl
2) write something
3) select a part of (or all) the text
4) set the focus on another window
the selected text becomes greyish and with white background.. This isn't a big problem, but with some GTK themes the text becomes white on white (=invisible)
Any hint on what could be causing this? I thought I was catching/blocking some event and preventing the normal behaviour, but I removed every Bind I could think of and it still happens..
Hi!
I'm seeing a strange behaviour in my Linux-only wxPython app.. When I:
1) focus a wx.TextCtrl
2) write something
3) select a part of (or all) the text
4) set the focus on another window
the selected text becomes greyish and with white background.. This isn't a big problem, but with some GTK themes the text becomes white on white (=invisible)
Any hint on what could be causing this? I thought I was catching/blocking some event and preventing the normal behaviour, but I removed every Bind I could think of and it still happens..
What do other GTK apps do under the same use case with that theme?
If its they do the same thing then it is the themes fault (this is
usually the case).
If it is different there may be an issue in the wxTextCtrl's
implementation where it is not properly using all the theme
information from the system.
Cody
ยทยทยท
On Wed, Mar 10, 2010 at 2:32 PM, Federico Fanton <jorilx@gmail.com> wrote: