summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-03-15 15:01:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-03-15 15:01:36 +0300
commitd49094d01430c0a0f4b8aa39a3e4cf619be7d9f2 (patch)
tree8bcef66e2ac8c2a8f80e5af7dc4cbdb06987a252 /include
parent8e2660cbe6b4d3de6d63d2a3644ce11e99b4b9c6 (diff)
fixes #2766 (Spin control suddenly returns previous position when called from inside WM_NOTIFY)
Diffstat (limited to 'include')
-rw-r--r--include/m_gui.h2
1 files changed, 1 insertions, 1 deletions
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;