summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-05-15 23:01:52 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-05-15 23:01:52 +0300
commit615afbd839b22a7a170c477481ef67e5603b9709 (patch)
tree60e94f6264420b630edf11b424cea2e8beb9370d /protocols/JabberG/src
parentd58ff2a433bb441aef9c8f87de14cf27594baaf9 (diff)
SetDraw(bool bEnable) - a wrapper for WM_SETREDRAW command
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_iqid_muc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_iqid_muc.cpp b/protocols/JabberG/src/jabber_iqid_muc.cpp
index 36b83a58f4..da9d347915 100644
--- a/protocols/JabberG/src/jabber_iqid_muc.cpp
+++ b/protocols/JabberG/src/jabber_iqid_muc.cpp
@@ -95,7 +95,7 @@ class CJabberMucJidListDlg : public CJabberDlgBase
return;
ptrW filter(bFilter ? edtFilter.GetText() : nullptr);
- m_list.SendMsg(WM_SETREDRAW, FALSE, 0);
+ m_list.SetDraw(false);
FreeList();
@@ -151,7 +151,7 @@ class CJabberMucJidListDlg : public CJabberDlgBase
lvi.iImage = 1;
m_list.InsertItem(&lvi);
- m_list.SendMsg(WM_SETREDRAW, TRUE, 0);
+ m_list.SetDraw(true);
RedrawWindow(m_list.GetHwnd(), nullptr, nullptr, RDW_INVALIDATE);
}