summaryrefslogtreecommitdiff
path: root/plugins
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 /plugins
parent4a38c1650e8e4a66c266b5fc984a4c1407c286be (diff)
more common code incapsulated into mir_app.dll
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Scriver/src/chat_window.cpp2
-rw-r--r--plugins/Scriver/src/msgdialog.cpp1
-rw-r--r--plugins/TabSRMM/src/buttonsbar.cpp2
3 files changed, 0 insertions, 5 deletions
diff --git a/plugins/Scriver/src/chat_window.cpp b/plugins/Scriver/src/chat_window.cpp
index 107c87db54..551abc982b 100644
--- a/plugins/Scriver/src/chat_window.cpp
+++ b/plugins/Scriver/src/chat_window.cpp
@@ -216,8 +216,6 @@ void CChatRoomDlg::OnInitDialog()
m_pParent = (ParentWindowData *)GetWindowLongPtr(m_hwndParent, GWLP_USERDATA);
- Srmm_CreateToolbarIcons(m_hwnd, BBBF_ISCHATBUTTON);
-
RECT rc;
GetWindowRect(m_message.GetHwnd(), &rc);
m_minLogBoxHeight = m_minEditBoxHeight = rc.bottom - rc.top;
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp
index 9fd00e3ed0..b270d3fac1 100644
--- a/plugins/Scriver/src/msgdialog.cpp
+++ b/plugins/Scriver/src/msgdialog.cpp
@@ -273,7 +273,6 @@ void CSrmmWindow::OnInitDialog()
PostMessage(m_message.GetHwnd(), EM_SETSEL, len, len);
}
- Srmm_CreateToolbarIcons(m_hwnd, BBBF_ISIMBUTTON);
SendMessage(m_hwnd, DM_CHANGEICONS, 0, 0);
m_log.SendMsg(EM_SETEVENTMASK, 0, ENM_MOUSEEVENTS | ENM_LINK | ENM_KEYEVENTS);
diff --git a/plugins/TabSRMM/src/buttonsbar.cpp b/plugins/TabSRMM/src/buttonsbar.cpp
index 742accd73e..07e9b64814 100644
--- a/plugins/TabSRMM/src/buttonsbar.cpp
+++ b/plugins/TabSRMM/src/buttonsbar.cpp
@@ -153,8 +153,6 @@ void CTabBaseDlg::BB_InitDlgButtons()
m_bbLSideWidth = m_bbRSideWidth = 0;
- Srmm_CreateToolbarIcons(m_hwnd, isChat() ? BBBF_ISCHATBUTTON : BBBF_ISIMBUTTON);
-
CustomButtonData *cbd;
for (int i = 0; cbd = Srmm_GetNthButton(i); i++) {
HWND hwndButton = GetDlgItem(m_hwnd, cbd->m_dwButtonCID);