X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/381adb7449f4042d4be496273edfcbaddc21b8d6..74c481d11721fb42343c6b79996478a2ebacde3a:/include/wx/msw/winundef.h diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index 6c0b049f29..13788c1f85 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -5,7 +5,7 @@ // Modified by: // Created: 16.05.99 // RCS-ID: $Id$ -// Copyright: (c) wxWindows team +// Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -27,8 +27,7 @@ // CreateDialog -//#ifdef(CreateDialog) -#if !defined(__WXWINCE__) && defined(CreateDialog) +#if defined(CreateDialog) #undef CreateDialog inline HWND CreateDialog(HINSTANCE hInstance, @@ -317,7 +316,12 @@ #undef IsMaximized inline BOOL IsMaximized(HWND hwnd) { +#ifdef __WXWINCE__ + wxUnusedVar(hwnd); + return FALSE; +#else return IsZoomed(hwnd); +#endif } #endif @@ -327,7 +331,12 @@ #undef GetFirstChild inline HWND GetFirstChild(HWND hwnd) { +#ifdef __WXWINCE__ + wxUnusedVar(hwnd); + return 0; +#else return GetTopWindow(hwnd); +#endif } #endif