Python 2.1.1
wxPython 2.3.0
Hello,
I am trying to develop parallel in Windows and Linux and have run into an anomaly regarding background colours in dialog boxes. If I run the following code under Windows:
class Dialog(wxDialog):
def __init__(self, parent, log):
wxDialog.__init__(self, parent, -1, "Test Dialog Panel",
wxPyDefaultPosition, wxSize(350, 260))
self.log = log
self.SetBackgroundColour(wxNamedColour("GOLD"))
etc.
then I get a dialog box with a gold background. However, when I run it under Linux the background remains just plain gray. How can one give a dialog box a background colour other than gray under Linux?
Also I noticed that when running the demo wxLayoutConstraints under Linux Panel A is blue and Panel B is red while under Windows both are gray. What do you people who are developing for both platforms do so that your GUI interfaces look uniform under both systems?
Thank you,
Kay
···
-----------------------------------------------------------------------
Das Communication-Pack von Siemens.... Buy.....
http://www.arcor.de/home/redir.php/siemens1
-----------------------------------------------------------------------