]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
KeyCode --> GetKeyCode
[wxWidgets.git] / wxPython / demo / Main.py
index bd08f8ffdd2e9da69a9dcba7d9ae87011c2964f6..f45ed7224289bfa4a25354cf8c6c2fa8b111f940 100644 (file)
@@ -60,7 +60,10 @@ _treeList = [
         'BitmapFromBuffer',
         'RawBitmapAccess',
         'DragScroller',
-        'AlphaDrawing',
+##        'AlphaDrawing',
+        'DelayedResult',
+        'ExpandoTextCtrl',
+        'ButtonPanel',
         ]),
 
     # managed windows == things with a (optional) caption you can close
@@ -144,6 +147,7 @@ _treeList = [
 
     ('Custom Controls', [
         'AnalogClock',
+        'ButtonPanel',
         'ColourSelect',
         'ComboTreeBox',
         'Editor',
@@ -169,6 +173,7 @@ _treeList = [
         'DatePickerCtrl',
         'DynamicSashWindow',
         'EditableListBox',
+        'ExpandoTextCtrl',
         'FancyText',
         'FileBrowseButton',
         'FloatBar',  
@@ -215,6 +220,7 @@ _treeList = [
 
     # ditto
     ('Process and Events', [
+        'DelayedResult',
         'EventManager',
         'KeyEvents',
         'Process',
@@ -233,7 +239,7 @@ _treeList = [
 
     # Images
     ('Using Images', [
-        'AlphaDrawing',
+##        'AlphaDrawing',
         'ArtProvider',
         'BitmapFromBuffer',
         'Cursor',
@@ -249,7 +255,7 @@ _treeList = [
 
     # Other stuff
     ('Miscellaneous', [
-        'AlphaDrawing',
+##        'AlphaDrawing',
         'ColourDB',
         ##'DialogUnits',   # needs more explanations
         'DragScroller',
@@ -1143,8 +1149,11 @@ class wxPythonDemo(wx.Frame):
         icon = images.getWXPdemoIcon()
         self.SetIcon(icon)
 
-        self.tbicon = DemoTaskBarIcon(self)
-
+        try:
+            self.tbicon = DemoTaskBarIcon(self)
+        except:
+            self.tbicon = None
+            
         wx.CallAfter(self.ShowTip)
 
         self.otherWin = None
@@ -1627,7 +1636,8 @@ class wxPythonDemo(wx.Frame):
         self.demoPage = None
         self.codePage = None
         self.mainmenu = None
-        self.tbicon.Destroy()
+        if self.tbicon is not None:
+            self.tbicon.Destroy()
         self.Destroy()