]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxMimeTypesManager.py
Reworked how stock objects are initialized. They now have an
[wxWidgets.git] / wxPython / demo / wxMimeTypesManager.py
index d6356389d4b6acd4687fcd786523bc5c35522675..5b0227ebf042881bdd89426461a94316ae556e47 100644 (file)
@@ -10,7 +10,7 @@ from Main import opj
 
 class MimeTypesTestPanel(wxPanel):
     def __init__(self, parent, id,
-        pos = wxPyDefaultPosition, size = wxPyDefaultSize,
+        pos = wxDefaultPosition, size = wxDefaultSize,
         style = wxTAB_TRAVERSAL ):
         wxPanel.__init__(self, parent, id, pos, size, style)
 
@@ -102,7 +102,7 @@ class MimeTypesTestPanel(wxPanel):
     # WDR: methods for MimeTypesTestPanel
 
     def GetListbox(self):
-        return wxPyTypeCast( self.FindWindowById(ID_LISTBOX), "wxListBox" )
+        return self.FindWindowById(ID_LISTBOX)
 
     def GetIconIndexTxt(self):
         return self.FindWindowById(ID_ICON_INDEX_TXT)