Don't override WM_PAINT like that, weird effect ensued (popup menus broke)

This commit is contained in:
Henrik Rydgard 2014-06-23 20:27:50 +02:00
parent c125205c00
commit 3005d75c6f

View File

@ -1022,11 +1022,6 @@ namespace MainWindow {
return 0;
}
case WM_PAINT:
// Don't paint, we do that through OpenGL.
return 0;
// return DefWindowProc(hWnd, message, wParam, lParam);
case WM_ACTIVATE:
{
bool pause = true;