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:
@@ -248,7 +248,7 @@ bool wxDocument::SaveAs()
|
|||||||
|
|
||||||
wxString tmp = wxFileSelector(_("Save as"),
|
wxString tmp = wxFileSelector(_("Save as"),
|
||||||
docTemplate->GetDirectory(),
|
docTemplate->GetDirectory(),
|
||||||
GetFilename(),
|
wxFileNameFromPath(GetFilename()),
|
||||||
docTemplate->GetDefaultExtension(),
|
docTemplate->GetDefaultExtension(),
|
||||||
docTemplate->GetFileFilter(),
|
docTemplate->GetFileFilter(),
|
||||||
wxSAVE | wxOVERWRITE_PROMPT,
|
wxSAVE | wxOVERWRITE_PROMPT,
|
||||||
|
Reference in New Issue
Block a user