Can't use NameError to check for NotIMplemented anymore. Just

explicitly check platforms until I figure out a better way to do it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-02-23 21:23:26 +00:00
parent b3badadcfc
commit 08b89fa868
3 changed files with 18 additions and 11 deletions

View File

@@ -2,10 +2,7 @@
import wx
haveToggleBtn = 1
try:
wx.ToggleButton
except NameError:
if wx.Platform == "__WXX11__":
haveToggleBtn = 0
#----------------------------------------------------------------------