wx.SystemSettings - GTK/Win32/Python variances

Peter Hansen peter at engcorp.com
Thu Apr 8 14:39:50 EDT 2004


simo wrote:

> I seem to recall that wx.Platform was being deprecated, so how do we
> do platform checks to fix the things that vary between implementations

http://www.wxpython.org/MigrationGuide.html says that you should
probably begin using wx.PlatformInfo instead.  This is a tuple.
On my machine (WinXP) it contains:

 >>> wx.PlatformInfo
('__WXMSW__', 'wxMSW', 'ascii')

The doc mentioned says to do things like this now:

    if "__WXGTK__" in wx.PlatformInfo:


It also says only "BTW, wx.Platform will probably be deprecated in the 
future."

Sorry, I can't help on the scrollbar question.

-Peter



More information about the Python-list mailing list