X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7344726a7a2cad01b8db61a0fea3502e5f904ff6..16f10340daf29ae98fc50bbc12a50faec884c676:/include/wx/msw/winundef.h diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index 3d8a52e020..969366cc08 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -338,10 +338,9 @@ #ifdef IsMaximized #undef IsMaximized - inline BOOL IsMaximized(HWND hwnd) + inline BOOL IsMaximized(HWND WXUNUSED_IN_WINCE(hwnd)) { #ifdef __WXWINCE__ - wxUnusedVar(hwnd); return FALSE; #else return IsZoomed(hwnd); @@ -353,10 +352,9 @@ #ifdef GetFirstChild #undef GetFirstChild - inline HWND GetFirstChild(HWND hwnd) + inline HWND GetFirstChild(HWND WXUNUSED_IN_WINCE(hwnd)) { #ifdef __WXWINCE__ - wxUnusedVar(hwnd); return 0; #else return GetTopWindow(hwnd);