SmartPhone windows are always maximized: Patch 942118

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-04-27 13:48:07 +00:00
parent 121b9a6757
commit 82eda5ecd0
2 changed files with 15 additions and 3 deletions

View File

@@ -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 | \