]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/toplevel.h
deprecated wxBookCtrlSizer and wxNotebookSizer, they are no longer needed
[wxWidgets.git] / include / wx / toplevel.h
index 35de68a0a272574c5786b552c414f1713596e6e8..d7517e5cb3fa03488cbddf81edb097a0ab2b6f96 100644 (file)
@@ -8,7 +8,7 @@
 // RCS-ID:      $Id$
 // Copyright:   (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
 //                       Vaclav Slavik <vaclav@wxwidgets.org>
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_TOPLEVEL_BASE_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
-#ifdef __WXWINCE__
-       #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