mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
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:
15
samples/grid/simple.py
Normal file
15
samples/grid/simple.py
Normal 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()
|
||||
|
||||
Reference in New Issue
Block a user