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:
parent
b8be6ceacf
commit
62e8fcee74
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user