X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/185d7c3ee4c6e4a9ddaf811ae38e57d68a0fdff3..186ef90c55be910263ef31cb09fe38a6ac700d1d:/wxPython/demo/wxToolBar.py diff --git a/wxPython/demo/wxToolBar.py b/wxPython/demo/wxToolBar.py index bea5f1336f..e8deb0b9d3 100644 --- a/wxPython/demo/wxToolBar.py +++ b/wxPython/demo/wxToolBar.py @@ -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