Trim Trailing Whitespace demos

This commit is contained in:
Metallicow
2016-11-24 19:26:05 -06:00
parent 3d30023218
commit c273dfa9b1
90 changed files with 645 additions and 646 deletions

View File

@@ -26,7 +26,7 @@ class TestPanel(wx.Panel):
b.SetBitmap(images.Mondrian.Bitmap)
b.SetInitialSize() # adjust default size for the bitmap
self.Bind(wx.EVT_TOGGLEBUTTON, self.OnToggle, b)
def OnToggle(self, evt):
self.log.write("Button %d toggled\n" % evt.GetId())
@@ -35,14 +35,14 @@ class TestPanel(wx.Panel):
def runTest(frame, nb, log):
win = TestPanel(nb, log)
return win
#----------------------------------------------------------------------
overview = """\
wx.ToggleButton is a button that stays pressed when clicked by the user.
In other words, it is similar to wxCheckBox in functionality but looks like a
wx.ToggleButton is a button that stays pressed when clicked by the user.
In other words, it is similar to wxCheckBox in functionality but looks like a
wxButton.
"""