From 7682c8205d389c8a44da84b6f42dc986a8ac3773 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 6 Apr 2022 19:49:24 +0200 Subject: Removed OnPaint --- StarsEx/WndProc.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'StarsEx/WndProc.cpp') diff --git a/StarsEx/WndProc.cpp b/StarsEx/WndProc.cpp index 1f068b3..2d59350 100644 --- a/StarsEx/WndProc.cpp +++ b/StarsEx/WndProc.cpp @@ -37,9 +37,7 @@ WndProc(HWND hwnd, UINT message, WPARAM uParam, LPARAM lParam) break; case WM_PAINT: - if (!game || !game->OnPaint()) - return DefWindowProc(hwnd, message, uParam, lParam); - break; + return DefWindowProc(hwnd, message, uParam, lParam); case WM_SETCURSOR: if (game && game->ShowMouse()) { -- cgit v1.1