]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
Reworked the undef stuff a little
[wxWidgets.git] / src / common / docview.cpp
index a7a157adbcd9f0a7e7924767af5ea78edba4f339..2ea1501ddafcc8843796bbb74ea34b0bef4b518b 100644 (file)
@@ -1154,7 +1154,11 @@ wxDocTemplate *wxDocManager::FindTemplateForPath(const wxString& path)
 // template extension.
 
 wxDocTemplate *wxDocManager::SelectDocumentPath(wxDocTemplate **templates,
+#ifdef __WXMSW__
                                                 int noTemplates,
+#else
+                                                int WXUNUSED(noTemplates),
+#endif
                                                 wxString& path,
                                                 long WXUNUSED(flags),
                                                 bool WXUNUSED(save))