Skip to content
Snippets Groups Projects
Commit 6d40d1b0 authored by Pavel Roskin's avatar Pavel Roskin Committed by Alexandre Julliard
Browse files

Changed the button state to "up" as soon as it is known that the

selection has been cancelled, so the button is redrawn in the "up"
state.
parent 9d9e0606
No related branches found
No related tags found
No related merge requests found
......@@ -1195,6 +1195,7 @@ static void COMBO_LButtonDown( LPHEADCOMBO lphc, LPARAM lParam )
{
/* got a click to cancel selection */
lphc->wState &= ~CBF_BUTTONDOWN;
CBRollUp( lphc, TRUE, FALSE );
if( !IsWindow( hWnd ) ) return;
......@@ -1203,7 +1204,6 @@ static void COMBO_LButtonDown( LPHEADCOMBO lphc, LPARAM lParam )
lphc->wState &= ~CBF_CAPTURE;
ReleaseCapture();
}
lphc->wState &= ~CBF_BUTTONDOWN;
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment