demo tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-10 04:04:52 +00:00
parent 4276dc529d
commit a5d9c77bb8
4 changed files with 5 additions and 12 deletions

View File

@@ -93,8 +93,6 @@ class RunDemoApp(wx.App):
frect = frame.otherWin.GetRect()
p = wx.Panel(frame, -1)
b = wx.Button(p, -1, " Exit ", (10,10))
p.Fit()
#frame.SetClientSize(p.GetSize())
frame.SetSize((200, 100))
frame.Bind(wx.EVT_BUTTON, self.OnButton, b)
else: