Fix EndEdit to use the newvalue/None as the return value instead of bool and a parameter pass-through.

Add first grid sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-02-12 05:12:59 +00:00
parent 31a7a477b3
commit d9f802f384
3 changed files with 83 additions and 23 deletions

15
samples/grid/simple.py Normal file
View File

@@ -0,0 +1,15 @@
import wx
import wx.grid
class TestFrame(wx.Frame):
def __init__(self, *args, **kw):
wx.Frame.__init__(self, *args, **kw)
self.grid = wx.grid.Grid(self)
self.grid.CreateGrid(25, 25)
app = wx.App()
frm = TestFrame(None, title="Simple Test Grid")
frm.Show()
app.MainLoop()