From 9698f46eaed896eee67979956b4cf15887982998 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Sat, 24 Apr 2021 09:59:35 -0700 Subject: [PATCH] Revert "Workaround for egregious window placement behavior" This reverts commit 0a317cb0e7548f3a07725c15d110544cae3c1b70. --- app/Main.cpp | 2 -- app/MyApp.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/app/Main.cpp b/app/Main.cpp index 02700bc..b74b9a6 100644 --- a/app/Main.cpp +++ b/app/Main.cpp @@ -311,8 +311,6 @@ BOOL MainWindow::PreCreateWindow(CREATESTRUCT& cs) BOOL res = CFrameWnd::PreCreateWindow(cs); cs.dwExStyle &= ~(WS_EX_CLIENTEDGE); - cs.cx = 1150; - cs.cy = 800; // This changes the window class name to a value that the installer can // detect. This allows us to prevent installation while CiderPress is diff --git a/app/MyApp.cpp b/app/MyApp.cpp index 110f91c..87dac70 100644 --- a/app/MyApp.cpp +++ b/app/MyApp.cpp @@ -47,7 +47,6 @@ MyApp::MyApp() : CWinAppEx() LOGI("Leak detection enabled"); #endif - //EnableLoadWindowPlacement(true); EnableHtmlHelp(); }