+ if (m_dialogStyle & wxNO_DEFAULT)
+ msStyle |= MB_DEFBUTTON2;
+ }
+
+ if (m_dialogStyle & wxOK)
+ {
+ if (m_dialogStyle & wxCANCEL)
+ msStyle = MB_OKCANCEL;
+ else
+ msStyle = MB_OK;
+ }
+ if (m_dialogStyle & wxICON_EXCLAMATION)
+ msStyle |= MB_ICONEXCLAMATION;
+ else if (m_dialogStyle & wxICON_HAND)
+ msStyle |= MB_ICONHAND;
+ else if (m_dialogStyle & wxICON_INFORMATION)
+ msStyle |= MB_ICONINFORMATION;
+ else if (m_dialogStyle & wxICON_QUESTION)
+ msStyle |= MB_ICONQUESTION;
+
+ if ( m_dialogStyle & wxSTAY_ON_TOP )
+ msStyle |= MB_TOPMOST;
+
+ if (hWnd)
+ msStyle |= MB_APPLMODAL;
+#ifndef __WXWINCE__