From b3780261c46bc1cfd18c3fbf3d222ea85041d876 Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Tue, 13 Jan 2015 13:43:48 -0800 Subject: [PATCH] Minor tweaks --- app/ChooseDirDialog.h | 2 -- app/MyApp.cpp | 3 +-- app/MyApp.h | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/ChooseDirDialog.h b/app/ChooseDirDialog.h index 1e603f1..fd4c199 100644 --- a/app/ChooseDirDialog.h +++ b/app/ChooseDirDialog.h @@ -9,8 +9,6 @@ #ifndef APP_CHOOSEDIRDIALOG #define APP_CHOOSEDIRDIALOG -#include "../util/UtilLib.h" -#include "resource.h" #include diff --git a/app/MyApp.cpp b/app/MyApp.cpp index 4f7e053..d447009 100644 --- a/app/MyApp.cpp +++ b/app/MyApp.cpp @@ -13,7 +13,6 @@ #include "Main.h" #include "DiskArchive.h" #include "Help/PopUpIds.h" -#include /* magic global that MFC finds (or that finds MFC) */ MyApp gMyApp; @@ -26,7 +25,7 @@ DebugLog* gDebugLog; * This is the closest thing to "main" that we have, but we * should wait for InitInstance for most things. */ -MyApp::MyApp(LPCTSTR lpszAppName) : CWinAppEx(true /*lpszAppName*/) +MyApp::MyApp() : CWinAppEx() { gDebugLog = new DebugLog(L"C:\\src\\cplog.txt"); diff --git a/app/MyApp.h b/app/MyApp.h index 35d65a5..e0499bf 100644 --- a/app/MyApp.h +++ b/app/MyApp.h @@ -23,7 +23,7 @@ class MyApp: public CWinAppEx { public: - MyApp(LPCTSTR lpszAppName = NULL); + MyApp(); virtual ~MyApp(void); #ifdef CAN_UPDATE_FILE_ASSOC