]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
set resolution of print preview from print data (modified patch 1851381)
[wxWidgets.git] / src / common / framecmn.cpp
index e93d1010e12b31a5be69debf8c061ad67e021e64..bbd09bf8b478a725d8840665171cb89f38096e6a 100644 (file)
@@ -133,6 +133,8 @@ bool wxFrameBase::IsOneOfBars(const wxWindow *win) const
         return true;
 #endif // wxUSE_TOOLBAR
 
+    wxUnusedVar(win);
+
     return false;
 }
 
@@ -212,6 +214,8 @@ bool wxFrameBase::ProcessCommand(int id)
     GetEventHandler()->ProcessEvent(commandEvent);
     return true;
 #else // !wxUSE_MENUS
+    wxUnusedVar(id);
+
     return false;
 #endif // wxUSE_MENUS/!wxUSE_MENUS
 }
@@ -435,7 +439,7 @@ void wxFrameBase::DoGiveHelp(const wxString& help, bool show)
 
     statbar->SetStatusText(text, m_statusBarPane);
 #else
-    wxUnusedVar(text);
+    wxUnusedVar(help);
     wxUnusedVar(show);
 #endif // wxUSE_STATUSBAR
 }