X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45f272841cd2faca5fd3ad2560cbf06eb81465bc..43790a0d0386ba63c967545cea7487df2db6e966:/include/wx/toplevel.h diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index 24325e0afe..d7517e5cb3 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -65,9 +65,11 @@ class WXDLLEXPORT wxTopLevelWindowBase; // "correctly", i.e. as full screen windows with a "hide" button (same as // "close" but round instead of squared and just hides the applications // instead of closing it) in the title bar -#if defined(__WXWINCE__) && !defined(WCE_PLATFORM_STANDARDSDK) - #ifdef __SMARTPHONE__ +#if defined(__WXWINCE__) + #if defined(__SMARTPHONE__) #define wxDEFAULT_FRAME_STYLE (wxMAXIMIZE) + #elif defined(__WINCE_STANDARDSDK__) + #define wxDEFAULT_FRAME_STYLE (wxMAXIMIZE|wxCLOSE_BOX) #else #define wxDEFAULT_FRAME_STYLE (0) #endif