]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxFileHistory.py
fixed the width of the (week day as number) field, should be 1, not 2
[wxWidgets.git] / wxPython / demo / wxFileHistory.py
index 7cf5ca35d2b70d86ec407f32da17855edef0fc7c..8847e2f6792a628b44b45b332b35875314993826 100644 (file)
@@ -74,6 +74,7 @@ class TestPanel(wxPanel):
     def OnFileOpenDialog(self, evt):
         dlg = wxFileDialog(self,
                            defaultDir = os.getcwd(),
+                           wildcard = "All Files|*",
                            style = wxOPEN | wxCHANGE_DIR)
         if dlg.ShowModal() == wxID_OK:
             path = dlg.GetPath()
@@ -115,3 +116,9 @@ list appended to a menu, such as the File menu.
 
 </body></html>
 """
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])
+