]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
icon support moved to wxBitmap, allowing for fully transparent usage
[wxWidgets.git] / src / common / docview.cpp
index 7a97237c38b1cd817b0b34a02f83b5b876e71b47..549eb66f48aa0596e6f130a1fe94da3e874df9a5 100644 (file)
@@ -248,7 +248,7 @@ bool wxDocument::SaveAs()
 
     wxString tmp = wxFileSelector(_("Save as"),
             docTemplate->GetDirectory(),
-            GetFilename(),
+            wxFileNameFromPath(GetFilename()),
             docTemplate->GetDefaultExtension(),
             docTemplate->GetFileFilter(),
             wxSAVE | wxOVERWRITE_PROMPT,