import wx
haveToggleBtn = 1
-
-try:
- wx.ToggleButton
-except NameError:
+if wx.Platform == "__WXX11__":
haveToggleBtn = 0
#----------------------------------------------------------------------
if __name__ == '__main__':
import sys,os
import run
- run.main(['', os.path.basename(sys.argv[0])])
+ run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])