Always repaint scroll bar if requested
Dmitry Timoshkov
dmitry at baikal.ru
Mon Nov 3 07:57:06 CST 2003
Hello,
This patch makes scroll bar repaint itself after it has been enabled.
Changelog:
Dmitry Timoshkov <dmitry at codeweavers.com>
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 );
More information about the wine-patches
mailing list