diff --git a/dll/win32/comctl32/button.c b/dll/win32/comctl32/button.c index 6f574ac395d..ce2b5a14c28 100644 --- a/dll/win32/comctl32/button.c +++ b/dll/win32/comctl32/button.c @@ -850,7 +850,6 @@ static LRESULT CALLBACK BUTTON_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, L mouse_event.dwHoverTime = 1; TrackMouseEvent(&mouse_event); } - break; #else if (!TrackMouseEvent(&mouse_event) || !(mouse_event.dwFlags & (TME_HOVER | TME_LEAVE))) @@ -860,6 +859,7 @@ static LRESULT CALLBACK BUTTON_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, L mouse_event.dwHoverTime = 1; TrackMouseEvent(&mouse_event); } +#endif if ((wParam & MK_LBUTTON) && GetCapture() == hWnd) { @@ -867,7 +867,6 @@ static LRESULT CALLBACK BUTTON_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, L SendMessageW( hWnd, BM_SETSTATE, PtInRect(&rect, pt), 0 ); } break; -#endif } #ifndef __REACTOS__