]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/tests/paul.py
merged 2.2 branch
[wxWidgets.git] / utils / wxPython / tests / paul.py
diff --git a/utils/wxPython/tests/paul.py b/utils/wxPython/tests/paul.py
deleted file mode 100644 (file)
index 0341e7e..0000000
+++ /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
-