]> git.saurik.com Git - wxWidgets.git/commitdiff
Warning fixes for WinCE.
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 16 Jun 2004 06:24:42 +0000 (06:24 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 16 Jun 2004 06:24:42 +0000 (06:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/winundef.h
src/common/fontmap.cpp
src/common/framecmn.cpp

index 58d06dd9a043a19dd03f843c1c17492949b44ac9..13788c1f8554c7c066bbdf95e38c9d44916c533e 100644 (file)
     inline BOOL IsMaximized(HWND hwnd)
     {
 #ifdef __WXWINCE__
     inline BOOL IsMaximized(HWND hwnd)
     {
 #ifdef __WXWINCE__
+        wxUnusedVar(hwnd);
         return FALSE;
 #else
         return IsZoomed(hwnd);
         return FALSE;
 #else
         return IsZoomed(hwnd);
     inline HWND GetFirstChild(HWND hwnd)
     {
 #ifdef __WXWINCE__
     inline HWND GetFirstChild(HWND hwnd)
     {
 #ifdef __WXWINCE__
+        wxUnusedVar(hwnd);
         return 0;
 #else
         return GetTopWindow(hwnd);
         return 0;
 #else
         return GetTopWindow(hwnd);
index aba7f876e4bcd94d597ad8e12965b9aeadbf9241..7d4b57ff192b4fb0be33962cf998dc17af093111 100644 (file)
@@ -262,6 +262,8 @@ bool wxFontMapper::TestAltEncoding(const wxString& configEntry,
         {
             GetConfig()->Write(configEntry, info->ToString());
         }
         {
             GetConfig()->Write(configEntry, info->ToString());
         }
+#else
+        wxUnusedVar(configEntry);
 #endif // wxUSE_CONFIG
         return true;
     }
 #endif // wxUSE_CONFIG
         return true;
     }
index b66e7a3f0de52fde94baa7b8e5b1f18d8fa2452c..eadab8e700bff470217826f6f07b9e6de8fd4e3e 100644 (file)
@@ -426,6 +426,9 @@ void wxFrameBase::DoGiveHelp(const wxString& text, bool show)
     }
 
     statbar->SetStatusText(help, m_statusBarPane);
     }
 
     statbar->SetStatusText(help, m_statusBarPane);
+#else
+    wxUnusedVar(text);
+    wxUnusedVar(show);
 #endif // wxUSE_STATUSBAR
 }
 
 #endif // wxUSE_STATUSBAR
 }