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)
# 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)
mimetypes_wdr.MyBitmapsFunc = MyBitmapsFunc
+
+
+
+
+if __name__ == '__main__':
+ import sys,os
+ import run
+ run.main(['', os.path.basename(sys.argv[0])])