]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/demo/GenericButtons.py
One more quickie
[wxWidgets.git] / utils / wxPython / demo / GenericButtons.py
index e069d7ec52afd3466d0b1501a006b62679c5ee45..726874eea08d9400686272329d0da077a61a2796 100644 (file)
@@ -64,6 +64,7 @@ class TestPanel(wxPanel):
         mask = wxMaskColour(bmp, wxBLUE)
         bmp.SetMask(mask)
         b.SetBitmapSelected(bmp)
+        b.SetToggle(true)
 
 
     def OnButton(self, event):