X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a693e6e0460b6b3c32e4b6f114a3ab7b7cd24ea..f6bcfd974ef26faf6f91a62cac09827e09463fd1:/utils/wxPython/tests/paul.py diff --git a/utils/wxPython/tests/paul.py b/utils/wxPython/tests/paul.py deleted file mode 100644 index 0341e7eb7d..0000000000 --- a/utils/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 -