wxFileSelector should have file name only, not path, passed to 3rd arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
90b22acaa8
commit
015e69f36d
@ -248,7 +248,7 @@ bool wxDocument::SaveAs()
|
||||
|
||||
wxString tmp = wxFileSelector(_("Save as"),
|
||||
docTemplate->GetDirectory(),
|
||||
GetFilename(),
|
||||
wxFileNameFromPath(GetFilename()),
|
||||
docTemplate->GetDefaultExtension(),
|
||||
docTemplate->GetFileFilter(),
|
||||
wxSAVE | wxOVERWRITE_PROMPT,
|
||||
|
Loading…
Reference in New Issue
Block a user