Demo tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-01-01 05:17:22 +00:00
parent 27d9601235
commit 1077f448d5
3 changed files with 11 additions and 9 deletions

View File

@@ -44,10 +44,14 @@ class TestPanel(wxPanel):
wxSize(bmp.GetWidth()+10, bmp.GetHeight()+10))
EVT_BUTTON(self, 30, self.OnClick)
def OnClick(self, event):
self.log.write("Click! (%d)\n" % event.GetId())
##wxLogDebug("debug message")
## wxLog_SetLogLevel(wxLOG_Message) # ignore everything above wxLOG_Message
#----------------------------------------------------------------------
def runTest(frame, nb, log):