Always repaint scroll bar if requested

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

This patch makes scroll bar repaint itself after it has been enabled.

Changelog:
    Dmitry Timoshkov <dmitry@xxxxxxxxxxxxxxx>
    Always repaint scroll bar if requested.

--- cvs/hq/wine/controls/scroll.c	Thu Sep 18 10:43:27 2003
+++ wine/controls/scroll.c	Mon Nov  3 19:48:08 2003
@@ -1543,7 +1543,7 @@ BOOL bRedraw /* [in] Should scrollbar be
 	    if( SCROLL_ShowScrollBar( hwnd, nBar, TRUE, TRUE ) )
 		return retVal; /* SetWindowPos() already did the painting */
 
-	if( bRedraw && (action & SA_SSI_REFRESH))
+	if( bRedraw )
 	    SCROLL_RefreshScrollBar( hwnd, nBar, TRUE, TRUE );
 	else if( action & SA_SSI_REPAINT_ARROWS )
 	    SCROLL_RefreshScrollBar( hwnd, nBar, TRUE, FALSE );





[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux