From cc85c02fa524e27af05cc5f18cba3a861445f421 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 1 Jun 2014 16:46:12 +0000 Subject: [PATCH] Document that wxCANCEL_DEFAULT doesn't work in wxOSX/Cocoa. See #16268. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/msgdlg.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interface/wx/msgdlg.h b/interface/wx/msgdlg.h index 6bc5426f2e..97e56fed97 100644 --- a/interface/wx/msgdlg.h +++ b/interface/wx/msgdlg.h @@ -36,7 +36,8 @@ const char wxMessageBoxCaptionStr[] = "Message"; @style{wxNO_DEFAULT} Makes the "No" button default, can only be used with @c wxYES_NO. @style{wxCANCEL_DEFAULT} - Makes the "Cancel" button default, can only be used with @c wxCANCEL + Makes the "Cancel" button default, can only be used with @c wxCANCEL. + This style is currently not supported (and ignored) in wxOSX. @style{wxYES_DEFAULT} Makes the "Yes" button default, this is the default behaviour and this flag exists solely for symmetry with @c wxNO_DEFAULT.