Revert "New button type: ShowHideToggleButton."

This commit is contained in:
Robin Dunn
2021-12-15 18:10:12 -08:00
committed by GitHub
parent 1432d933a5
commit e53b09aea7
2 changed files with 0 additions and 146 deletions

View File

@@ -140,12 +140,6 @@ class TestPanel(wx.Panel):
self.Bind(wx.EVT_BUTTON, self.OnButton, b)
vbox.Add(b, 0, wx.ALL, 5)
# A toggle button to show/hide an associated wx.Window object
w = buttons.GenButton(self, -1, label="Button")
b = buttons.GenShowHideToggleButton(self, -1, label='Show/Hide Button', menu=w)
vbox.Add(b, 0, wx.ALL, 5)
vbox.Add(w, 0, wx.ALL, 5)
border = wx.BoxSizer(wx.VERTICAL)