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:
@@ -14,9 +14,10 @@ class MyMiniFrame(wxMiniFrame):
|
||||
EVT_CLOSE(self, self.OnCloseWindow)
|
||||
|
||||
def OnCloseMe(self, event):
|
||||
self.Close(true)
|
||||
self.Close(True)
|
||||
|
||||
def OnCloseWindow(self, event):
|
||||
print "OnCloseWindow"
|
||||
self.Destroy()
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@@ -28,7 +29,7 @@ def runTest(frame, nb, log):
|
||||
win.SetSize((200, 200))
|
||||
win.CenterOnParent(wxBOTH)
|
||||
frame.otherWin = win
|
||||
win.Show(true)
|
||||
win.Show(True)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user