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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user