]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
#if around deprecated macros
[wxWidgets.git] / wxPython / demo / Main.py
index 990650541e5b3d15cd0eced003f2b54282798534..e353972a2db9c4db04c5811eb2b6adb4cfb5d151 100644 (file)
@@ -19,6 +19,15 @@ import wx.html
 import images
 
 ##wx.Trap()
+##raw_input("Press a key...")
+
+
+# Use Python's bool constants if available, make aliases if not
+try:
+    True
+except NameError:
+    True = 1==1
+    False = 1==0
 
 #---------------------------------------------------------------------------
 
@@ -30,6 +39,7 @@ _treeList = [
         'wxListbook',
         'wxMaskedNumCtrl',
         'FloatCanvas',
+        'wxXmlResourceSubclass',
         ]),
 
     # managed windows == things with a (optional) caption you can close
@@ -151,6 +161,7 @@ _treeList = [
         'wxScrolledPanel',
         'wxXmlResource',
         'wxXmlResourceHandler',
+        'wxXmlResourceSubclass',
         ]),
 
     # ditto