diff options
author | George Hazan <ghazan@miranda.im> | 2017-04-07 14:36:22 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-04-07 14:36:22 +0300 |
commit | c46f4344f007d814131d25fa5aec6fdb4c7a049d (patch) | |
tree | 2728e27c52e2e12bcadcf2f5606196229607c7af /plugins/TabSRMM/src/chat_window.cpp | |
parent | 77f05f77b497b1d69e8107caefd6d19fa9c609ab (diff) |
Windows-specific code moved to mir_core
Diffstat (limited to 'plugins/TabSRMM/src/chat_window.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat_window.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat_window.cpp b/plugins/TabSRMM/src/chat_window.cpp index 4d45b95a44..e31874b986 100644 --- a/plugins/TabSRMM/src/chat_window.cpp +++ b/plugins/TabSRMM/src/chat_window.cpp @@ -524,11 +524,10 @@ void CChatRoomDlg::OnInitDialog() m_pPanel.getVisibility(); m_pPanel.Configure(); - m_log.SendMsg(EM_SETOLECALLBACK, 0, (LPARAM)&reOleCallback); - m_log.SendMsg(EM_AUTOURLDETECT, 1, 0); SetWindowLongPtr(GetDlgItem(m_hwnd, IDC_PANELSPLITTER), GWLP_WNDPROC, (LONG_PTR)SplitterSubclassProc); NotifyEvent(MSG_WINDOW_EVT_OPENING); + m_log.SendMsg(EM_AUTOURLDETECT, 1, 0); m_log.SendMsg(EM_SETEVENTMASK, 0, m_log.SendMsg(EM_GETEVENTMASK, 0, 0) | ENM_LINK | ENM_MOUSEEVENTS | ENM_KEYEVENTS); m_log.SendMsg(EM_LIMITTEXT, 0x7FFFFFFF, 0); m_log.SendMsg(EM_SETMARGINS, EC_LEFTMARGIN | EC_RIGHTMARGIN, MAKELONG(3, 3)); |