]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxToolBar.py
Some new interfaces in common code requires an updated module definition file.
[wxWidgets.git] / wxPython / demo / wxToolBar.py
index bea5f1336f3951172177664994528e55466c0be6..e8deb0b9d3669ffe159e8a45e176aa7fe080a050 100644 (file)
@@ -13,7 +13,7 @@ class TestToolBar(wxFrame):
 
         wxWindow(self, -1).SetBackgroundColour(wxNamedColour("WHITE"))
 
-        tb = self.CreateToolBar(wxTB_HORIZONTAL|wxNO_BORDER) #|wxTB_FLAT)
+        tb = self.CreateToolBar(wxTB_HORIZONTAL|wxNO_BORDER|wxTB_FLAT)
         #tb = wxToolBarSimple(self, -1, wxDefaultPosition, wxDefaultSize,
         #               wxTB_HORIZONTAL | wxNO_BORDER | wxTB_FLAT)
         #self.SetToolBar(tb)
@@ -78,7 +78,7 @@ class TestToolBar(wxFrame):
         event.Skip()
 
 
-    def OnClearSB(self, event):
+    def OnClearSB(self, event):  # called for the timer event handler
         self.SetStatusText("")
         self.timer.Stop()
         self.timer = None