git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61108
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxASSERT_MSG( !(style & wxCANCEL_DEFAULT) || (style & wxCANCEL),
"wxCANCEL_DEFAULT is invalid without wxCANCEL" );
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;
"only one default button can be specified" );
m_dialogStyle = style;