git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32711
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
unsigned int msStyle = MB_OK;
if (m_dialogStyle & wxYES_NO)
{
unsigned int msStyle = MB_OK;
if (m_dialogStyle & wxYES_NO)
{
+ wxASSERT_MSG( (m_dialogStyle & wxYES_NO) == wxYES_NO,
+ _T("wxYES and wxNO may only be used together under MSW") );
+
#if !(defined(__SMARTPHONE__) && defined(__WXWINCE__))
if (m_dialogStyle & wxCANCEL)
msStyle = MB_YESNOCANCEL;
#if !(defined(__SMARTPHONE__) && defined(__WXWINCE__))
if (m_dialogStyle & wxCANCEL)
msStyle = MB_YESNOCANCEL;