summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-04-17 14:37:59 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-04-17 14:37:59 +0300
commit31a952e136448db75da48830c870af8eef6d1a03 (patch)
tree62354599d4f937db2be8604c9d9b49c3fdda1f01 /src/core
parent4a38c1650e8e4a66c266b5fc984a4c1407c286be (diff)
more common code incapsulated into mir_app.dll
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdmsg/src/chat_window.cpp3
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp2
2 files changed, 0 insertions, 5 deletions
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);