From af2799b7bbc4f52d43984049f7fe42a1fb1b968c Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 22 Jun 2004 08:29:42 +0000 Subject: [PATCH] Maximized dialogs for SmartPhone. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dialog.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/wx/dialog.h b/include/wx/dialog.h index c40e2399a3..11abe1f4fa 100644 --- a/include/wx/dialog.h +++ b/include/wx/dialog.h @@ -23,9 +23,13 @@ #define wxDIALOG_NO_PARENT 0x0001 // Don't make owned by apps top window #ifdef __WXWINCE__ - #define wxDEFAULT_DIALOG_STYLE (0) +# ifdef __SMARTPHONE__ +# define wxDEFAULT_DIALOG_STYLE (wxMAXIMIZE | wxCAPTION) +# else +# define wxDEFAULT_DIALOG_STYLE (0) +# endif #else // !__WXWINCE__ - #define wxDEFAULT_DIALOG_STYLE (wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX) +# define wxDEFAULT_DIALOG_STYLE (wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX) #endif WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr; -- 2.50.0