X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8505921fcf3328fa86d79828a74fc46d62d438d..505f70dec68ba08ade903e8e9e0eb41ebd36531c:/src/msw/msgdlg.cpp diff --git a/src/msw/msgdlg.cpp b/src/msw/msgdlg.cpp index ec05f72a37..834fbdb022 100644 --- a/src/msw/msgdlg.cpp +++ b/src/msw/msgdlg.cpp @@ -93,6 +93,9 @@ int wxMessageDialog::ShowModal() else if (m_dialogStyle & wxICON_QUESTION) msStyle |= MB_ICONQUESTION; + if ( m_dialogStyle & wxSTAY_ON_TOP ) + msStyle |= MB_TOPMOST; + if (hWnd) msStyle |= MB_APPLMODAL; else