Added various tests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-05-30 00:22:27 +00:00
parent 75dba7c0af
commit 3fd659e9e4
3 changed files with 14 additions and 1 deletions

View File

@@ -126,8 +126,11 @@ class DoodleWindow(wxWindow):
text = self.menuColours[event.GetId()]
if text == self.colour:
event.Check(True)
event.SetText(text.upper())
else:
event.Check(False)
event.SetText(text)
def OnCheckMenuThickness(self, event):
if event.GetId() == self.thickness:
event.Check(True)