]> git.saurik.com Git - wxWidgets.git/commitdiff
Set default dialog style to 0.
authorRobert Roebling <robert@roebling.de>
Sun, 18 Apr 2004 10:32:20 +0000 (10:32 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 18 Apr 2004 10:32:20 +0000 (10:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dialog.h

index 6f070cf127ce48eddd53892d20522a512d0e890a..c40e2399a3dc8e0e517f58d433b4756e2b45ee8e 100644 (file)
 
 #define wxDIALOG_NO_PARENT      0x0001  // Don't make owned by apps top window
 
-#define wxDEFAULT_DIALOG_STYLE  (wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX)
+#ifdef __WXWINCE__
+    #define wxDEFAULT_DIALOG_STYLE (0)
+#else // !__WXWINCE__
+    #define wxDEFAULT_DIALOG_STYLE  (wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX)
+#endif
 
 WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr;