added wxCANCEL_DEFAULT style to wxMessageDialog (only implemented for MSW for now); also tightened up the style checks in wxMessageDialog::SetMessageDialogStyle() (argh, another forgotten file, should have been part of r55561)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-09-11 23:41:49 +00:00
parent f0afc953c9
commit 72513c369e

View File

@ -1866,8 +1866,10 @@ enum wxBorder
#define wxAPPLY 0x00000020 #define wxAPPLY 0x00000020
#define wxCLOSE 0x00000040 #define wxCLOSE 0x00000040
#define wxYES_DEFAULT 0x00000000 /* has no effect (default) */ #define wxOK_DEFAULT 0x00000000 /* has no effect (default) */
#define wxNO_DEFAULT 0x00000080 #define wxYES_DEFAULT 0x00000000 /* has no effect (default) */
#define wxNO_DEFAULT 0x00000080 /* only valid with wxYES_NO */
#define wxCANCEL_DEFAULT 0x80000000 /* only valid with wxCANCEL */
#define wxICON_EXCLAMATION 0x00000100 #define wxICON_EXCLAMATION 0x00000100
#define wxICON_HAND 0x00000200 #define wxICON_HAND 0x00000200