diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-08 10:05:32 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-08 10:05:32 +0300 |
commit | ee1c66a755596133985d743038cf4bb484e3dabc (patch) | |
tree | 839248f93c4ebe076cb2f0860d614b85814cef56 /plugins/Scriver/src/msgdialog.cpp | |
parent | cf26fb4785216ca7d4800153eeae5deb36ca9c5d (diff) |
fix for resizer
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index e62ceba616..20349589f0 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -1388,8 +1388,7 @@ INT_PTR CSrmmWindow::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) case WM_SIZE:
if (wParam == SIZE_RESTORED || wParam == SIZE_MAXIMIZED) {
RECT rc;
- GetClientRect(m_pParent->hwndTabs, &rc);
- TabCtrl_AdjustRect(m_pParent->hwndTabs, false, &rc);
+ GetClientRect(m_hwnd, &rc);
MessageDialogResize(rc.right - rc.left, rc.bottom - rc.top);
}
return TRUE;
|