setting wxCombobox background color on OS X

Jari Nevala <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Hi, 

I noticed that setting the background color for wxComboBox looks really 
ugly on OS X. The background color is set on the whole widget area, instead 
of the combobox's text area (like it is done on Windows). Here is how they 
look on OS X: http://snag.gy/b4mOS.jpg

I googled and found this old thread from 2009 stating the reason behind 
this is that on OS X the combobox is actually a collection of controls and 
that I should use a 
workaround: http://markmail.org/message/76u57up3le7pfebr#query:+page:1+mid:pidrssf4mo36cjb2+state:results

However, when I call myComboBox.GetChildren(), nothing gets returned, so it 
has no children. Has this behavior changed somehow since 2009? How can I 
set the background color for the combobox's text area only on OS X? 

I am using wxPython 3.0.2.0 for Python 2.7

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.