X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e234d4c9b72709629e655b2935a3bf1262eebcb1..1fded56b375bf7a4687af1cdb182899614c1b2a8:/wxPython/tests/paul.py?ds=sidebyside diff --git a/wxPython/tests/paul.py b/wxPython/tests/paul.py deleted file mode 100644 index 0341e7eb7d..0000000000 --- a/wxPython/tests/paul.py +++ /dev/null @@ -1,28 +0,0 @@ -from wxPython.wx import * - - -class MyFrame(wxFrame): - def __init__(self, parent, id, title='A pxFrame!'): - wxFrame.__init__(self, parent, id, title, - wxPyDefaultPosition, wxSize(50, 50)) - - def get_filename(self): - dlg = wxFileDialog(self, "Choose a file", ".", "", "*.*", wxOPEN) - dlg.ShowModal() - self.file = dlg.GetPath() - dlg.Destroy() - self.Iconize(true) - return self.file - - -class FilePicker(wxApp): - def OnInit(self): - return true - - def get_filename(self): - dlg = wxFileDialog(NULL, "Choose a file", ".", "", "*.*", wxOPEN) - dlg.ShowModal() - self.file = dlg.GetPath() - dlg.Destroy() - return self.file -