summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-30 20:45:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-30 20:45:10 +0000
commit23ffd722eb50ed6685229cb2bb83a14ad2fbbc30 (patch)
treea4cd6e00c53d3be4a30bc150fcb9f96d44a0cfb5 /plugins/TabSRMM/src/generic_msghandlers.cpp
parent52fb75fdfd14a7f384d4fd51b2c3695a3b8de2eb (diff)
final version of crutch for the buggy Windows7 rtf control
git-svn-id: http://svn.miranda-ng.org/main/trunk@11684 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index dfd59845c2..eff8875e98 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -1365,8 +1365,12 @@ void TSAPI DM_OptionsApplied(TWindowData *dat, WPARAM, LPARAM lParam)
if (hwndDlg == m_pContainer->hwndActive)
SendMessage(m_pContainer->hwnd, WM_SIZE, 0, 0);
InvalidateRect(GetDlgItem(hwndDlg, IDC_MESSAGE), NULL, FALSE);
- if (!lParam)
- SendMessage(hwndDlg, DM_REMAKELOG, 0, 0);
+ if (!lParam) {
+ if (IsIconic(m_pContainer->hwnd))
+ dat->dwFlags |= MWF_DEFERREDREMAKELOG;
+ else
+ SendMessage(hwndDlg, DM_REMAKELOG, 0, 0);
+ }
ShowWindow(dat->hwndPanelPicParent, SW_SHOW);
EnableWindow(dat->hwndPanelPicParent, TRUE);