]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/toplevel.h
Must have valid colours for X11 popup window implementation
[wxWidgets.git] / include / wx / toplevel.h
index 2a929dfc23be2555a7c226d246d75a996a16e654..8ad1a568d0349239314e892942ad4c1161c1b9ea 100644 (file)
@@ -7,7 +7,7 @@
 // Created:     06.08.01
 // RCS-ID:      $Id$
 // Copyright:   (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-//                       Vaclav Slavik <vaclav@wxwindows.org>
+//                       Vaclav Slavik <vaclav@wxwidgets.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -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 | \