X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..80823340ab3da196d5225b7c7087f4b7a7dcc35e:/wxPython/demo/wxGrid.py diff --git a/wxPython/demo/wxGrid.py b/wxPython/demo/wxGrid.py index 1e3b81606d..3cfe506aa3 100644 --- a/wxPython/demo/wxGrid.py +++ b/wxPython/demo/wxGrid.py @@ -4,11 +4,12 @@ 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'), + 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'), } @@ -34,7 +35,7 @@ class ButtonPanel(wxPanel): def OnButton(self, evt): modName = buttonDefs[evt.GetId()][0] module = __import__(modName) - frame = module.TestFrame(self, self.log) + frame = module.TestFrame(None, self.log) frame.Show(true)