_treeList = [
# new stuff
('Recent Additions/Updates', [
- 'AnalogClock',
- 'AUI_DockingWindowMgr',
- 'AUI_Notebook',
- 'CheckListCtrlMixin',
- 'ComboTreeBox',
- 'Pickers',
- 'PseudoDC',
'RichTextCtrl',
'Treebook',
'Toolbook',
'FlatNotebook',
'CustomTreeCtrl',
'AboutBox',
- 'AnimateCtrl',
'AlphaDrawing',
'GraphicsContext',
'CollapsiblePane',
'ComboCtrl',
'OwnerDrawnComboBox',
'BitmapComboBox',
+ 'I18N',
+ 'Img2PyArtProvider',
+ 'SearchCtrl',
+ 'SizedControls',
]),
# managed windows == things with a (optional) caption you can close
'RadioButton',
'SashWindow',
'ScrolledWindow',
+ 'SearchCtrl',
'Slider',
'SpinButton',
'SpinCtrl',
'Layoutf',
'RowColSizer',
'ScrolledPanel',
+ 'SizedControls',
'Sizers',
'XmlResource',
'XmlResourceHandler',
'Image',
'ImageAlpha',
'ImageFromStream',
+ 'Img2PyArtProvider',
'Mask',
'RawBitmapAccess',
'Throbber',
'FontEnumerator',
'GraphicsContext',
'GLCanvas',
+ 'I18N',
'Joystick',
'MimeTypesManager',
'MouseGestures',
boxInfoGrid = wx.FlexGridSizer(0, 2, 0, 0)
textFlags = wx.ALIGN_RIGHT | wx.LEFT | wx.RIGHT | wx.TOP
boxInfoGrid.Add(wx.StaticText(self, -1, "Type: "), 0, textFlags, 5 )
- boxInfoGrid.Add(wx.StaticText(self, -1, demoError.exception_type) , 0, textFlags, 5 )
+ boxInfoGrid.Add(wx.StaticText(self, -1, str(demoError.exception_type)) , 0, textFlags, 5 )
boxInfoGrid.Add(wx.StaticText(self, -1, "Details: ") , 0, textFlags, 5 )
boxInfoGrid.Add(wx.StaticText(self, -1, demoError.exception_details) , 0, textFlags, 5 )
boxInfoSizer.Add(boxInfoGrid, 0, wx.ALIGN_CENTRE | wx.ALL, 5 )
# Make a Demo menu
menu = wx.Menu()
- for item in _treeList:
+ for item in _treeList[:-1]:
submenu = wx.Menu()
for childItem in item[1]:
mi = submenu.Append(-1, childItem)
if self.fc.IsRunning():
self.Raise()
+import wx.lib.mixins.inspect
-class MyApp(wx.App):
+class MyApp(wx.App, wx.lib.mixins.inspect.InspectionMixin):
def OnInit(self):
"""
Create and show the splash screen. It will then create and show
splash = MySplashScreen()
splash.Show()
+ # Setup the InspectionMixin
+ self.Init()
+
return True