Added some modules from Riaan Booysen:
* wx.lib.flagart: contains icons of the flags of many countries. * wx.lib.art.img2pyartprov: makes images embedded in a python file with img2py available via the wx.ArtProvider. * wx.lib.langlistctrl: A wx.ListCtrl for selecting a language, which uses the country flag icons. * An I18N sample for the demo. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,6 +73,8 @@ _treeList = [
|
||||
'ComboCtrl',
|
||||
'OwnerDrawnComboBox',
|
||||
'BitmapComboBox',
|
||||
'I18N',
|
||||
'Img2PyArtProvider',
|
||||
]),
|
||||
|
||||
# managed windows == things with a (optional) caption you can close
|
||||
@@ -262,6 +264,7 @@ _treeList = [
|
||||
'Image',
|
||||
'ImageAlpha',
|
||||
'ImageFromStream',
|
||||
'Img2PyArtProvider',
|
||||
'Mask',
|
||||
'RawBitmapAccess',
|
||||
'Throbber',
|
||||
@@ -278,6 +281,7 @@ _treeList = [
|
||||
'FontEnumerator',
|
||||
'GraphicsContext',
|
||||
'GLCanvas',
|
||||
'I18N',
|
||||
'Joystick',
|
||||
'MimeTypesManager',
|
||||
'MouseGestures',
|
||||
@@ -997,7 +1001,7 @@ class DemoErrorPanel(wx.Panel):
|
||||
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 )
|
||||
|
Reference in New Issue
Block a user