mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
Fixed painting of owner-drawn buttons
Fixes invisible disabled buttons in Gangsters: Organized Crime. See issue #95.
This commit is contained in:
parent
0ada5acea7
commit
af6cafd65e
@ -66,7 +66,7 @@ namespace
|
|||||||
case BM_SETSTATE:
|
case BM_SETSTATE:
|
||||||
{
|
{
|
||||||
LRESULT result = CallWindowProc(origWndProc, hwnd, msg, wParam, lParam);
|
LRESULT result = CallWindowProc(origWndProc, hwnd, msg, wParam, lParam);
|
||||||
RedrawWindow(hwnd, nullptr, nullptr, RDW_INVALIDATE | RDW_UPDATENOW);
|
InvalidateRect(hwnd, nullptr, TRUE);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user