From 31a952e136448db75da48830c870af8eef6d1a03 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 17 Apr 2017 14:37:59 +0300 Subject: more common code incapsulated into mir_app.dll --- src/core/stdmsg/src/chat_window.cpp | 3 --- src/core/stdmsg/src/msgdialog.cpp | 2 -- 2 files changed, 5 deletions(-) (limited to 'src/core') diff --git a/src/core/stdmsg/src/chat_window.cpp b/src/core/stdmsg/src/chat_window.cpp index 7eee70faef..adee9649c9 100644 --- a/src/core/stdmsg/src/chat_window.cpp +++ b/src/core/stdmsg/src/chat_window.cpp @@ -63,9 +63,6 @@ void CChatRoomDlg::OnInitDialog() else onActivate(); - // initialize toolbar icons - Srmm_CreateToolbarIcons(m_hwnd, BBBF_ISCHATBUTTON); - m_log.SendMsg(EM_AUTOURLDETECT, 1, 0); int mask = (int)m_log.SendMsg(EM_GETEVENTMASK, 0, 0); diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 152b5dfa16..d66a15cc00 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -156,8 +156,6 @@ void CSrmmWindow::OnInitDialog() if (m_splitterPos == -1) m_splitterPos = m_originalSplitterPos; - Srmm_CreateToolbarIcons(m_hwnd, BBBF_ISIMBUTTON); - GetWindowRect(m_message.GetHwnd(), &m_minEditInit); SendMessage(m_hwnd, DM_UPDATESIZEBAR, 0, 0); -- cgit v1.2.3