diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index 58d06dd9a0..13788c1f85 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -317,6 +317,7 @@ inline BOOL IsMaximized(HWND hwnd) { #ifdef __WXWINCE__ + wxUnusedVar(hwnd); return FALSE; #else return IsZoomed(hwnd); @@ -331,6 +332,7 @@ inline HWND GetFirstChild(HWND hwnd) { #ifdef __WXWINCE__ + wxUnusedVar(hwnd); return 0; #else return GetTopWindow(hwnd); diff --git a/src/common/fontmap.cpp b/src/common/fontmap.cpp index aba7f876e4..7d4b57ff19 100644 --- a/src/common/fontmap.cpp +++ b/src/common/fontmap.cpp @@ -262,6 +262,8 @@ bool wxFontMapper::TestAltEncoding(const wxString& configEntry, { GetConfig()->Write(configEntry, info->ToString()); } +#else + wxUnusedVar(configEntry); #endif // wxUSE_CONFIG return true; } diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index b66e7a3f0d..eadab8e700 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -426,6 +426,9 @@ void wxFrameBase::DoGiveHelp(const wxString& text, bool show) } statbar->SetStatusText(help, m_statusBarPane); +#else + wxUnusedVar(text); + wxUnusedVar(show); #endif // wxUSE_STATUSBAR }