]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
Added Brian Victor's Patch
[wxWidgets.git] / wxPython / demo / Main.py
index ef214a2a53e77f885adeed3a520dfce673e86d11..0d1bdaec7182a36017e79bc5a53ed3142b7f65c6 100644 (file)
@@ -23,13 +23,6 @@ import images
 ##print os.getpid(); raw_input("Press a key...")
 
 
-# Use Python's bool constants if available, make aliases if not
-try:
-    True
-except NameError:
-    __builtins__.True = 1==1
-    __builtins__.False = 1==0
-
 #---------------------------------------------------------------------------
 
 
@@ -42,6 +35,7 @@ _treeList = [
         'FloatCanvas',
         'wxXmlResourceSubclass',
         'wxGridBagSizer',
+        'Cursor',
         ]),
 
     # managed windows == things with a (optional) caption you can close
@@ -150,6 +144,7 @@ _treeList = [
         'wxIntCtrl',
         'wxMimeTypesManager',
         'wxMaskedNumCtrl',
+        'wxScrolledPanel',
         'wxStyledTextCtrl_1',
         'wxStyledTextCtrl_2',
         'wxTimeCtrl',
@@ -191,6 +186,7 @@ _treeList = [
 
     # Images
     ('Using Images', [
+        'Cursor',
         'Throbber',
         'wxArtProvider',
         'wxDragImage',