X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b5ef6cfd2e9928d462221ce384236cceff07c5f..6076b569f0b3eb2574df44a8711850555c17b601:/include/wx/toplevel.h diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index 2a929dfc23..cce978d80c 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -66,7 +66,11 @@ class WXDLLEXPORT wxTopLevelWindowBase; // "close" but round instead of squared and just hides the applications // instead of closing it) in the title bar #ifdef __WXWINCE__ - #define wxDEFAULT_FRAME_STYLE (0) + #ifdef __SMARTPHONE__ + #define wxDEFAULT_FRAME_STYLE (wxMAXIMIZE) + #else + #define wxDEFAULT_FRAME_STYLE (0) + #endif #else // !__WXWINCE__ #define wxDEFAULT_FRAME_STYLE \ (wxSYSTEM_MENU | \