Updates for the sample apps. Some readme's, show how to use py2exe,
InnoSetup, etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -109,7 +109,7 @@ class DoodleFrame(wxFrame):
|
||||
wildcard = "Doodle files (*.ddl)|*.ddl|All files (*.*)|*.*"
|
||||
|
||||
def OnMenuOpen(self, event):
|
||||
dlg = wxFileDialog(self, "Open doodle file...",
|
||||
dlg = wxFileDialog(self, "Open doodle file...", os.getcwd(),
|
||||
style=wxOPEN, wildcard = self.wildcard)
|
||||
if dlg.ShowModal() == wxID_OK:
|
||||
self.filename = dlg.GetPath()
|
||||
@@ -126,7 +126,7 @@ class DoodleFrame(wxFrame):
|
||||
|
||||
|
||||
def OnMenuSaveAs(self, event):
|
||||
dlg = wxFileDialog(self, "Save doodle as...",
|
||||
dlg = wxFileDialog(self, "Save doodle as...", os.getcwd(),
|
||||
style=wxSAVE | wxOVERWRITE_PROMPT,
|
||||
wildcard = self.wildcard)
|
||||
if dlg.ShowModal() == wxID_OK:
|
||||
|
Reference in New Issue
Block a user