some more test code for the toolbar

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2003-09-18 20:48:50 +00:00
parent b8be6ceacf
commit 62e8fcee74

View File

@ -71,6 +71,8 @@ class TestToolBar(wxFrame):
def OnToolClick(self, event):
self.log.WriteText("tool %s clicked\n" % event.GetId())
tb = self.GetToolBar()
tb.EnableTool(10, not tb.GetToolEnabled(10))
def OnToolRClick(self, event):
self.log.WriteText("tool %s right-clicked\n" % event.GetId())