mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-23 01:21:57 -05:00
Fix showing dialog and resizing window to cause launcher window to appear broken or missing pixels on ReactOS
This commit is contained in:
parent
f3198c31c3
commit
996b13436f
1 changed files with 5 additions and 1 deletions
|
@ -242,8 +242,12 @@ static LRESULT CALLBACK Window_Procedure(HWND handle, UINT message, WPARAM wPara
|
|||
break;
|
||||
|
||||
case WM_ERASEBKGND:
|
||||
return 1; /* Avoid flickering */
|
||||
|
||||
case WM_PAINT:
|
||||
ValidateRect(win_handle, NULL);
|
||||
Event_RaiseVoid(&WindowEvents.Redraw);
|
||||
return 1;
|
||||
return 0;
|
||||
|
||||
case WM_WINDOWPOSCHANGED:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue