No resize border on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0bab4df569
commit
259a6e3806
@ -28,8 +28,13 @@ class WXDLLEXPORT wxListBox;
|
||||
#define wxCHOICE_HEIGHT 150
|
||||
#define wxCHOICE_WIDTH 200
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
#define wxCHOICEDLG_STYLE \
|
||||
(wxDEFAULT_DIALOG_STYLE | wxOK | wxCANCEL | wxCENTRE)
|
||||
#else
|
||||
#define wxCHOICEDLG_STYLE \
|
||||
(wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxOK | wxCANCEL | wxCENTRE)
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxAnyChoiceDialog: a base class for dialogs containing a listbox
|
||||
|
@ -27,9 +27,15 @@ class WXDLLEXPORT wxTreeEvent;
|
||||
extern WXDLLEXPORT_DATA(const wxChar*) wxDirDialogNameStr;
|
||||
extern WXDLLEXPORT_DATA(const wxChar*) wxDirSelectorPromptStr;
|
||||
#ifndef wxDD_DEFAULT_STYLE
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
#define wxDD_DEFAULT_STYLE \
|
||||
(wxDEFAULT_DIALOG_STYLE | wxDD_NEW_DIR_BUTTON)
|
||||
#else
|
||||
#define wxDD_DEFAULT_STYLE \
|
||||
(wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxDD_NEW_DIR_BUTTON)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "wx/dialog.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user