Warning fixes for WinCE.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-06-16 06:24:42 +00:00
parent e0b97560ed
commit f428e6c50f
3 changed files with 7 additions and 0 deletions

View File

@@ -317,6 +317,7 @@
inline BOOL IsMaximized(HWND hwnd) inline BOOL IsMaximized(HWND hwnd)
{ {
#ifdef __WXWINCE__ #ifdef __WXWINCE__
wxUnusedVar(hwnd);
return FALSE; return FALSE;
#else #else
return IsZoomed(hwnd); return IsZoomed(hwnd);
@@ -331,6 +332,7 @@
inline HWND GetFirstChild(HWND hwnd) inline HWND GetFirstChild(HWND hwnd)
{ {
#ifdef __WXWINCE__ #ifdef __WXWINCE__
wxUnusedVar(hwnd);
return 0; return 0;
#else #else
return GetTopWindow(hwnd); return GetTopWindow(hwnd);

View 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 #endif // wxUSE_CONFIG
return true; return true;
} }

View 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
} }