From d49094d01430c0a0f4b8aa39a3e4cf619be7d9f2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 15 Mar 2021 15:01:36 +0300 Subject: fixes #2766 (Spin control suddenly returns previous position when called from inside WM_NOTIFY) --- include/m_gui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_gui.h b/include/m_gui.h index a3e211b7b4..73fd9de525 100644 --- a/include/m_gui.h +++ b/include/m_gui.h @@ -867,7 +867,7 @@ class MIR_CORE_EXPORT CCtrlSpin : public CCtrlData { typedef CCtrlData CSuper; - WORD m_wMin, m_wMax; + WORD m_wMin, m_wMax, m_wCurr; BOOL OnNotify(int, NMHDR*) override; -- cgit v1.2.3