]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxMimeTypesManager.py
Removed deprecation warnings in OGL and Gizmos
[wxWidgets.git] / wxPython / demo / wxMimeTypesManager.py
index 5768ba2592de3cb32bf1a437407aea955ce68760..39ba2074dc1149aadd15eff232fe3509959a311f 100644 (file)
@@ -14,7 +14,7 @@ class MimeTypesTestPanel(wxPanel):
         style = wxTAB_TRAVERSAL ):
         wxPanel.__init__(self, parent, id, pos, size, style)
 
-        MakeMimeTypesTestPanel( self, true )
+        MakeMimeTypesTestPanel( self, True )
 
         # WDR: handler declarations for MimeTypesTestPanel
         EVT_LISTBOX(self, ID_LISTBOX, self.OnListbox)
@@ -34,8 +34,8 @@ class MimeTypesTestPanel(wxPanel):
     def OnListbox(self, event):
         mimetype = event.GetString()
         self.GetInputText().SetValue(mimetype)
-        self.GetMimeBtn().SetValue(TRUE)
-        self.GetExtensionBtn().SetValue(FALSE)
+        self.GetMimeBtn().SetValue(True)
+        self.GetExtensionBtn().SetValue(False)
         self.OnLookup()