]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxCheckBox.py
Removed deprecation warnings in OGL and Gizmos
[wxWidgets.git] / wxPython / demo / wxCheckBox.py
index 45f82e2f48c10dfcd86c2614d6b14a79edb20487..e2e81e3f2840ee5ee045df2e56b46e87bb039039 100644 (file)
@@ -14,7 +14,7 @@ class TestCheckBox(wxPanel):
         cID = NewId()
         cb1 = wxCheckBox(self, cID,   "  Apples", wxPoint(65, 40), wxSize(150, 20), wxNO_BORDER)
         cb2 = wxCheckBox(self, cID+1, "  Oranges", wxPoint(65, 60), wxSize(150, 20), wxNO_BORDER)
-        cb2.SetValue(true)
+        cb2.SetValue(True)
         cb3 = wxCheckBox(self, cID+2, "  Pears", wxPoint(65, 80), wxSize(150, 20), wxNO_BORDER)
 
         EVT_CHECKBOX(self, cID,   self.EvtCheckBox)