diff options
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index e8e58a5fdc..d4c501b863 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -341,7 +341,7 @@ void CSrmmWindow::onClick_Ok(CCtrlButton *pButton) if (g_dat.bAutoClose)
::PostMessage(m_hwndParent, WM_CLOSE, 0, 0);
else if (g_dat.bAutoMin)
- Show(SW_MINIMIZE);
+ ::ShowWindow(m_hwndParent, SW_MINIMIZE);
}
}
}
|