mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
static control: Immediately repaint the control.
This commit is contained in:
parent
6ca3e6365a
commit
73a23606a9
1 changed files with 3 additions and 3 deletions
|
@ -419,7 +419,7 @@ static LRESULT StaticWndProc_common( HWND hwnd, UINT uMsg, WPARAM wParam,
|
|||
|
||||
case WM_SYSCOLORCHANGE:
|
||||
STATIC_InitColours();
|
||||
InvalidateRect(hwnd, NULL, TRUE);
|
||||
STATIC_TryPaintFcn( hwnd, full_style );
|
||||
break;
|
||||
|
||||
case WM_NCCREATE:
|
||||
|
@ -544,13 +544,13 @@ static LRESULT StaticWndProc_common( HWND hwnd, UINT uMsg, WPARAM wParam,
|
|||
FIXME("STM_SETIMAGE: Unhandled type %x\n", wParam);
|
||||
break;
|
||||
}
|
||||
InvalidateRect( hwnd, NULL, TRUE );
|
||||
STATIC_TryPaintFcn( hwnd, full_style );
|
||||
break;
|
||||
|
||||
case STM_SETICON16:
|
||||
case STM_SETICON:
|
||||
lResult = (LRESULT)STATIC_SetIcon( hwnd, (HICON)wParam, full_style );
|
||||
InvalidateRect( hwnd, NULL, TRUE );
|
||||
STATIC_TryPaintFcn( hwnd, full_style );
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue