diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_console.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_console.cpp b/protocols/JabberG/src/jabber_console.cpp index 2ec284e4a3..e44fce1c29 100644 --- a/protocols/JabberG/src/jabber_console.cpp +++ b/protocols/JabberG/src/jabber_console.cpp @@ -84,7 +84,7 @@ void CJabberProto::OnConsoleProcessXml(const TiXmlElement *node, DWORD flags) sttRtfAppendXml(&buf, node, flags, 1);
sttAppendBufRaw(&buf, RTF_SEPARATOR);
sttAppendBufRaw(&buf, RTF_FOOTER);
- SendMessage(m_pDlgConsole->GetHwnd(), WM_JABBER_REFRESH, 0, (LPARAM)&buf);
+ m_pDlgConsole->OnProtoRefresh(0, (LPARAM)&buf);
sttEmptyBuf(&buf);
}
}
@@ -456,7 +456,7 @@ public: sttAppendBufRaw(&buf, RTF_ENDPLAINXML);
sttAppendBufRaw(&buf, RTF_SEPARATOR);
sttAppendBufRaw(&buf, RTF_FOOTER);
- SendMessage(m_hwnd, WM_JABBER_REFRESH, 0, (LPARAM)&buf);
+ OnProtoRefresh(0, (LPARAM)&buf);
sttEmptyBuf(&buf);
}
|