X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9053c7b9c158d15c33f7b61f4fc082f85cb4b41f..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/msgdlg.h diff --git a/include/wx/msgdlg.h b/include/wx/msgdlg.h index 8e0e0a9bb7..3e52b9c68d 100644 --- a/include/wx/msgdlg.h +++ b/include/wx/msgdlg.h @@ -158,7 +158,7 @@ public: wxASSERT_MSG( !(style & wxCANCEL_DEFAULT) || (style & wxCANCEL), "wxCANCEL_DEFAULT is invalid without wxCANCEL" ); - wxASSERT_MSG( !(style & wxCANCEL_DEFAULT) || !(style & wxNO), + wxASSERT_MSG( !(style & wxCANCEL_DEFAULT) || !(style & wxNO_DEFAULT), "only one default button can be specified" ); m_dialogStyle = style;