diff options
Diffstat (limited to 'src/mir_core')
-rw-r--r-- | src/mir_core/src/Windows/CCtrlCheck.cpp | 4 | ||||
-rw-r--r-- | src/mir_core/src/Windows/CCtrlSpin.cpp | 4 |
2 files changed, 5 insertions, 3 deletions
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)
{
|