X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/028003016290b62becb31873c38a202d6e61eec4..5b6ec9803a058368a1b240a22d444c7301c5715a:/src/msw/spinbutt.cpp diff --git a/src/msw/spinbutt.cpp b/src/msw/spinbutt.cpp index 462d0513e0..89680b5f5e 100644 --- a/src/msw/spinbutt.cpp +++ b/src/msw/spinbutt.cpp @@ -233,19 +233,16 @@ bool wxSpinButton::MSWCommand(WXUINT cmd, WXWORD id) return FALSE; } -bool wxSpinButton::MSWNotify(WXWPARAM wParam, WXLPARAM lParam) +bool wxSpinButton::MSWNotify(WXWPARAM wParam, WXLPARAM lParam, WXLPARAM* result) { NMHDR* hdr1 = (NMHDR*) lParam; switch ( hdr1->code ) { -/* We don't process this message, currently */ + /* We don't process this message, currently */ case UDN_DELTAPOS: - { - return wxControl::MSWNotify(wParam, lParam); - break; - } + default : - return wxControl::MSWNotify(wParam, lParam); + return wxControl::MSWNotify(wParam, lParam, result); break; } /*