Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1124,13 +1124,17 @@ wxDlgProc(HWND hDlg,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__SMARTPHONE__) || defined(__POCKETPC__)
|
|
||||||
case WM_SETTINGCHANGE:
|
case WM_SETTINGCHANGE:
|
||||||
{
|
{
|
||||||
|
#if defined(__SMARTPHONE__) || defined(__POCKETPC__)
|
||||||
wxTopLevelWindow *tlw = wxDynamicCast(wxGetWindowFromHWND(hDlg), wxTopLevelWindow);
|
wxTopLevelWindow *tlw = wxDynamicCast(wxGetWindowFromHWND(hDlg), wxTopLevelWindow);
|
||||||
if(tlw) return tlw->HandleSettingChange(wParam,lParam) ? TRUE : FALSE;
|
if(tlw) return tlw->HandleSettingChange(wParam,lParam) ? TRUE : FALSE;
|
||||||
}
|
#else
|
||||||
|
wxUnusedVar(wParam);
|
||||||
|
wxUnusedVar(lParam);
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// for almost all messages, returning FALSE means that we didn't process
|
// for almost all messages, returning FALSE means that we didn't process
|
||||||
|
Reference in New Issue
Block a user