From 1be16f1566b862629878a2d1a46063afeae78c38 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Mar 2017 18:08:16 +0300 Subject: fix for the shitty idea of all pre-created button objects' manual initialization --- src/core/stdmsg/src/chat_window.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/core/stdmsg') diff --git a/src/core/stdmsg/src/chat_window.cpp b/src/core/stdmsg/src/chat_window.cpp index f2391f0d42..128daf3b36 100644 --- a/src/core/stdmsg/src/chat_window.cpp +++ b/src/core/stdmsg/src/chat_window.cpp @@ -907,9 +907,6 @@ void CChatRoomDlg::OnInitDialog() // initialize toolbar icons Srmm_CreateToolbarIcons(m_hwnd, BBBF_ISCHATBUTTON); - m_btnBold.OnInit(); m_btnItalic.OnInit(); m_btnUnderline.OnInit(); - m_btnColor.OnInit(); m_btnBkColor.OnInit(); - m_btnFilter.OnInit(); m_btnHistory.OnInit(); m_btnChannelMgr.OnInit(); WindowList_Add(pci->hWindowList, m_hwnd, m_hContact); -- cgit v1.2.3