From 1dc3cf591258453a282785335fa8107663d4811b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 24 Oct 2024 18:07:19 +0300 Subject: =?UTF-8?q?fixes=20#4758=20(StdMsg/Scriver:=20=D0=B4=D0=BE=D0=B1?= =?UTF-8?q?=D0=B0=D0=B2=D0=B8=D1=82=D1=8C=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA?= =?UTF-8?q?=D1=83=20"=D0=B7=D0=B0=D1=87=D0=B5=D1=80=D0=BA=D0=BD=D1=83?= =?UTF-8?q?=D1=82=D1=8B=D0=B9=20=D1=82=D0=B5=D0=BA=D1=81=D1=82")?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/TabSRMM/src/buttonsbar.cpp | 1 - plugins/TabSRMM/src/msgdialog.cpp | 3 +-- plugins/TabSRMM/src/msgs.h | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/buttonsbar.cpp b/plugins/TabSRMM/src/buttonsbar.cpp index 95a49fe61b..7d1a1bcebe 100644 --- a/plugins/TabSRMM/src/buttonsbar.cpp +++ b/plugins/TabSRMM/src/buttonsbar.cpp @@ -39,7 +39,6 @@ static int CB_InitDefaultButtons(WPARAM, LPARAM) bbd.pwszTooltip = LPGENW("Underlined text"); g_plugin.addButton(&bbd); - bbd.bbbFlags = BBBF_ISIMBUTTON | BBBF_ISPUSHBUTTON | BBBF_CANBEHIDDEN | BBBF_CREATEBYID | BBBF_NOREADONLY; bbd.dwButtonID = IDC_SRMM_STRIKEOUT; bbd.dwDefPos = 70; bbd.hIcon = g_plugin.getIconHandle(IDI_STRIKEOUT); diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 2a1f028379..794c4078a3 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -325,8 +325,7 @@ CMsgDialog::CMsgDialog(int iDlgId, MCONTACT hContact) : timerAwayMsg(this, 100), m_btnAdd(this, IDC_ADD), m_btnQuote(this, IDC_QUOTE), - m_btnCancelAdd(this, IDC_CANCELADD), - m_btnStrikeout(this, IDC_SRMM_STRIKEOUT) + m_btnCancelAdd(this, IDC_CANCELADD) { m_hContact = hContact; diff --git a/plugins/TabSRMM/src/msgs.h b/plugins/TabSRMM/src/msgs.h index b1c30b00c5..e734f5f30e 100644 --- a/plugins/TabSRMM/src/msgs.h +++ b/plugins/TabSRMM/src/msgs.h @@ -550,7 +550,7 @@ public: SESSION_INFO *m_pLastSession; CTimer timerAwayMsg; - CCtrlButton m_btnAdd, m_btnQuote, m_btnCancelAdd, m_btnStrikeout; + CCtrlButton m_btnAdd, m_btnQuote, m_btnCancelAdd; public: CMsgDialog(int dlgId, MCONTACT hContact); -- cgit v1.2.3