WXLRESULT rc = 0;
bool processed = false;
+#if defined(__SMARTPHONE__) || defined(__POCKETPC__)
switch ( message )
{
-#if defined(__SMARTPHONE__) || defined(__POCKETPC__)
case WM_ACTIVATE:
{
SHACTIVATEINFO* info = (SHACTIVATEINFO*) m_activateInfo;
}
break;
}
-#endif
}
+#endif
if ( !processed )
rc = wxTopLevelWindowBase::MSWWindowProc(message, wParam, lParam);
return FALSE;
}
-#if defined(__SMARTPHONE__) || defined(__POCKETPC__)
case WM_SETTINGCHANGE:
{
+#if defined(__SMARTPHONE__) || defined(__POCKETPC__)
wxTopLevelWindow *tlw = wxDynamicCast(wxGetWindowFromHWND(hDlg), wxTopLevelWindow);
if(tlw) return tlw->HandleSettingChange(wParam,lParam) ? TRUE : FALSE;
- }
+#else
+ wxUnusedVar(wParam);
+ wxUnusedVar(lParam);
#endif
+ break;
+ }
}
// for almost all messages, returning FALSE means that we didn't process