]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
call gtk_toolbar_set_tooltips() from GtkSetStyle(); removed erroneous wxTB_TOOLTIPS
[wxWidgets.git] / src / common / docview.cpp
index 96b44152cad1a8391d5368415efba7cf5fb05a98..e97ea52f18079495fd427c64f38e7e71a729d1da 100644 (file)
@@ -305,7 +305,7 @@ bool wxDocument::SaveAs()
             wxFileNameFromPath(GetFilename()),
             docTemplate->GetDefaultExtension(),
             filter,
-            wxSAVE | wxOVERWRITE_PROMPT,
+            wxFD_SAVE | wxFD_OVERWRITE_PROMPT,
             GetDocumentWindow());
 
     if (tmp.empty())