]> git.saurik.com Git - wxWidgets.git/commitdiff
added wxCANCEL_DEFAULT style to wxMessageDialog (only implemented for MSW for now...
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Sep 2008 23:41:49 +0000 (23:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 11 Sep 2008 23:41:49 +0000 (23:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index d9aad8ce61b3d6732d66e6fc0d4c8bf5a49bff65..21a17fc0777eccd35c9a2e7afee088b4aed928b3 100644 (file)
@@ -1866,8 +1866,10 @@ enum wxBorder
 #define wxAPPLY                 0x00000020
 #define wxCLOSE                 0x00000040
 
-#define wxYES_DEFAULT           0x00000000  /*  has no effect (default) */
-#define wxNO_DEFAULT            0x00000080
+#define wxOK_DEFAULT            0x00000000  /* has no effect (default) */
+#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_HAND             0x00000200