summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-05-17 18:15:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-05-17 18:15:07 +0300
commitde4f7d73f68c0ae87180afa6e83649b2d1a41b17 (patch)
treeee46e01d27b3a6c12a9e6566ad313f69fca715d6 /src/core
parent0975edf72e780bfe53e7f9101442fe72db93a863 (diff)
StdMsg: fix for minimize on send option
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp2
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);
}
}
}