]> git.saurik.com Git - wxWidgets.git/commitdiff
unussed param warning suppressed
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 May 1999 12:11:21 +0000 (12:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 May 1999 12:11:21 +0000 (12:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/window.h
src/common/docview.cpp

index e0779b8b160724c8320f723f820cf018ae234a16..5edeba5569bf5be5bb50dad087eae7b7c7b98fe3 100644 (file)
@@ -424,7 +424,7 @@ public:
     virtual void Clear() = 0;
 
         // adjust DC for drawing on this window
-    virtual void PrepareDC( wxDC &dc ) { }
+    virtual void PrepareDC( wxDC & WXUNUSED(dc) ) { }
 
         // the update region of the window contains the areas which must be
         // repainted by the program
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))