diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-21 18:42:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-21 18:42:14 +0300 |
commit | cc96ef0550815295a295fdd6e34c85af2f8f7340 (patch) | |
tree | f70988c27d3a110fbcd3c28044ffbc875df6844a /src/core | |
parent | b3a736917686b19b55c684c1b15c1e83cd0261e5 (diff) |
no need to export Srmm_ButtonSubclassProc anymore
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/chat_window.cpp | 5 | ||||
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/core/stdmsg/src/chat_window.cpp b/src/core/stdmsg/src/chat_window.cpp index bb721319a0..73816dc2ac 100644 --- a/src/core/stdmsg/src/chat_window.cpp +++ b/src/core/stdmsg/src/chat_window.cpp @@ -854,6 +854,7 @@ CChatRoomDlg::CChatRoomDlg(SESSION_INFO *si) : void CChatRoomDlg::OnInitDialog() { + CSrmmBaseDialog::OnInitDialog(); m_si->pDlg = this; SetWindowLongPtr(m_hwnd, GWLP_USERDATA, LPARAM(this)); @@ -867,10 +868,6 @@ void CChatRoomDlg::OnInitDialog() NotifyLocalWinEvent(m_hContact, m_hwnd, MSG_WINDOW_EVT_OPENING); - mir_subclassWindow(m_btnFilter.GetHwnd(), Srmm_ButtonSubclassProc); - mir_subclassWindow(m_btnColor.GetHwnd(), Srmm_ButtonSubclassProc); - mir_subclassWindow(m_btnBkColor.GetHwnd(), Srmm_ButtonSubclassProc); - mir_subclassWindow(m_message.GetHwnd(), MessageSubclassProc); SetWindowLongPtr(m_log.GetHwnd(), GWLP_USERDATA, LPARAM(this)); diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index d28b08d79d..ec6b384b59 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -400,6 +400,7 @@ CSrmmWindow::CSrmmWindow(MCONTACT hContact, bool noActivate, const char *szIniti void CSrmmWindow::OnInitDialog()
{
+ CSrmmBaseDialog::OnInitDialog();
SetWindowLongPtr(m_hwnd, GWLP_USERDATA, (LPARAM)this);
m_bIsMeta = db_mc_isMeta(m_hContact) != 0;
|