No resize border on WinCE by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -26,7 +26,7 @@ class WXDLLEXPORT wxStdDialogButtonSizer;
|
|||||||
#define wxDIALOG_NO_PARENT 0x0001 // Don't make owned by apps top window
|
#define wxDIALOG_NO_PARENT 0x0001 // Don't make owned by apps top window
|
||||||
|
|
||||||
#ifdef __WXWINCE__
|
#ifdef __WXWINCE__
|
||||||
#define wxDEFAULT_DIALOG_STYLE (wxCAPTION | wxMAXIMIZE | wxCLOSE_BOX)
|
#define wxDEFAULT_DIALOG_STYLE (wxCAPTION | wxMAXIMIZE | wxCLOSE_BOX | wxNO_BORDER)
|
||||||
#else
|
#else
|
||||||
#define wxDEFAULT_DIALOG_STYLE (wxCAPTION | wxSYSTEM_MENU | wxCLOSE_BOX)
|
#define wxDEFAULT_DIALOG_STYLE (wxCAPTION | wxSYSTEM_MENU | wxCLOSE_BOX)
|
||||||
#endif
|
#endif
|
||||||
|
@@ -13,8 +13,13 @@ extern WXDLLEXPORT_DATA(const wxChar*) wxDirDialogNameStr;
|
|||||||
extern WXDLLEXPORT_DATA(const wxChar*) wxDirDialogDefaultFolderStr;
|
extern WXDLLEXPORT_DATA(const wxChar*) wxDirDialogDefaultFolderStr;
|
||||||
extern WXDLLEXPORT_DATA(const wxChar*) wxDirSelectorPromptStr;
|
extern WXDLLEXPORT_DATA(const wxChar*) wxDirSelectorPromptStr;
|
||||||
|
|
||||||
|
#ifdef __WXWINCE__
|
||||||
|
#define wxDD_DEFAULT_STYLE \
|
||||||
|
(wxDEFAULT_DIALOG_STYLE | wxDD_NEW_DIR_BUTTON)
|
||||||
|
#else
|
||||||
#define wxDD_DEFAULT_STYLE \
|
#define wxDD_DEFAULT_STYLE \
|
||||||
(wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxDD_NEW_DIR_BUTTON)
|
(wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxDD_NEW_DIR_BUTTON)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The interface (TODO: make the other classes really derive from it!) is
|
The interface (TODO: make the other classes really derive from it!) is
|
||||||
|
@@ -71,7 +71,7 @@ class WXDLLEXPORT wxTopLevelWindowBase;
|
|||||||
#elif defined(__WINCE_STANDARDSDK__)
|
#elif defined(__WINCE_STANDARDSDK__)
|
||||||
#define wxDEFAULT_FRAME_STYLE (wxMAXIMIZE|wxCLOSE_BOX)
|
#define wxDEFAULT_FRAME_STYLE (wxMAXIMIZE|wxCLOSE_BOX)
|
||||||
#else
|
#else
|
||||||
#define wxDEFAULT_FRAME_STYLE (0)
|
#define wxDEFAULT_FRAME_STYLE (wxNO_BORDER)
|
||||||
#endif
|
#endif
|
||||||
#else // !__WXWINCE__
|
#else // !__WXWINCE__
|
||||||
#define wxDEFAULT_FRAME_STYLE \
|
#define wxDEFAULT_FRAME_STYLE \
|
||||||
|
Reference in New Issue
Block a user