Merged wxPython 2.4.x to the 2.5 branch (Finally!!!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4,12 +4,13 @@ from wxPython.wx import *
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
buttonDefs = {
|
||||
814 : ('GridSimple', 'Simple wxGrid, catching all events'),
|
||||
815 : ('GridStdEdRend', 'wxGrid showing Editors and Renderers'),
|
||||
818 : ('GridHugeTable', 'A wxGrid with a HUGE table (100 MILLION cells!)'),
|
||||
817 : ('GridCustTable', 'wxGrid using a custom Table, with non-string data'),
|
||||
819 : ('GridEnterHandler','Remapping keys to behave differently'),
|
||||
820 : ('GridCustEditor', 'Shows how to create a custom Cell Editor'),
|
||||
814 : ('GridSimple', ' Simple wxGrid, catching all events '),
|
||||
815 : ('GridStdEdRend', ' wxGrid showing Editors and Renderers '),
|
||||
818 : ('GridHugeTable', ' A wxGrid with a HUGE table (100 MILLION cells!) '),
|
||||
817 : ('GridCustTable', ' wxGrid using a custom Table, with non-string data '),
|
||||
819 : ('GridEnterHandler',' Remapping keys to behave differently '),
|
||||
820 : ('GridCustEditor', ' Shows how to create a custom Cell Editor '),
|
||||
821 : ('GridDragable', ' A wxGrid with dragable rows and columns '),
|
||||
}
|
||||
|
||||
|
||||
@@ -28,7 +29,7 @@ class ButtonPanel(wxPanel):
|
||||
box.Add(btn, 0, wxALIGN_CENTER|wxALL, 15)
|
||||
EVT_BUTTON(self, k, self.OnButton)
|
||||
|
||||
self.SetAutoLayout(true)
|
||||
self.SetAutoLayout(True)
|
||||
self.SetSizer(box)
|
||||
|
||||
|
||||
@@ -36,7 +37,7 @@ class ButtonPanel(wxPanel):
|
||||
modName = buttonDefs[evt.GetId()][0]
|
||||
module = __import__(modName)
|
||||
frame = module.TestFrame(None, self.log)
|
||||
frame.Show(true)
|
||||
frame.Show(True)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user