Browse Source

Removed old commented out code.

David Piuva 7 months ago
parent
commit
a76f2dd38d
1 changed files with 0 additions and 4 deletions
  1. 0 4
      Source/windowManagers/Win32Window.cpp

+ 0 - 4
Source/windowManagers/Win32Window.cpp

@@ -598,12 +598,8 @@ static LRESULT CALLBACK WindowProcedure(HWND hwnd, UINT message, WPARAM wParam,
 		}
 		}
 		break;
 		break;
 	case WM_PAINT:
 	case WM_PAINT:
-		//parent->receivedWindowRedrawEvent();
 		// BeginPaint and EndPaint must be called with the given hwnd to prevent having the redraw message sent again
 		// BeginPaint and EndPaint must be called with the given hwnd to prevent having the redraw message sent again
 		parent->redraw(hwnd, false, false);
 		parent->redraw(hwnd, false, false);
-		// Passing on the event to prevent flooding with more messages. This is only a temporary solution.
-		// TODO: Avoid overwriting the result with any background color.
-		//result = DefWindowProc(hwnd, message, wParam, lParam);
 		break;
 		break;
 	case WM_SIZE:
 	case WM_SIZE:
 		// If there's no size during minimization, don't try to resize the canvas
 		// If there's no size during minimization, don't try to resize the canvas