From 531cb8c96f0234b71fb005089973d50cb531d5e6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 23 Feb 2023 15:51:24 +0300 Subject: =?UTF-8?q?fixes=20#3342=20(=D0=91=D0=B0=D0=B3=20=D1=81=20=D0=BE?= =?UTF-8?q?=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D0=B5=D0=B9=20=D0=B2=20=D0=BD=D0=B0=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D0=B0=D1=85=20=D1=81=D1=82=D0=B0?= =?UTF-8?q?=D1=82=D1=83=D1=81=D0=BE=D0=B2=20ICQ)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mir_core/src/Windows/CCtrlCheck.cpp | 4 ++-- src/mir_core/src/Windows/CCtrlSpin.cpp | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/mir_core/src/Windows/CCtrlCheck.cpp b/src/mir_core/src/Windows/CCtrlCheck.cpp index 3258dce27f..5e69738b23 100644 --- a/src/mir_core/src/Windows/CCtrlCheck.cpp +++ b/src/mir_core/src/Windows/CCtrlCheck.cpp @@ -25,8 +25,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ///////////////////////////////////////////////////////////////////////////////////////// // CCtrlCheck class -CCtrlCheck::CCtrlCheck(CDlgBase *dlg, int ctrlId) - : CCtrlData(dlg, ctrlId) +CCtrlCheck::CCtrlCheck(CDlgBase *dlg, int ctrlId) : + CCtrlData(dlg, ctrlId) { m_bNotifiable = true; } diff --git a/src/mir_core/src/Windows/CCtrlSpin.cpp b/src/mir_core/src/Windows/CCtrlSpin.cpp index 54dc5ffd07..e871296259 100644 --- a/src/mir_core/src/Windows/CCtrlSpin.cpp +++ b/src/mir_core/src/Windows/CCtrlSpin.cpp @@ -30,7 +30,9 @@ CCtrlSpin::CCtrlSpin(CDlgBase *dlg, int ctrlId, int16_t wMax, int16_t wMin) : m_wMin(wMin), m_wMax(wMax), m_wCurr(0) -{} +{ + m_bNotifiable = true; +} BOOL CCtrlSpin::OnNotify(int, NMHDR *pnmh) { -- cgit v1.2.3