From 1205ab9805b90c38fce746ec9784211e2c18b063 Mon Sep 17 00:00:00 2001 From: Don HO Date: Sun, 19 Mar 2017 13:47:11 +0100 Subject: [PATCH] Clean up --- PowerEditor/src/WinControls/AboutDlg/AboutDlg.h | 11 +---------- .../src/WinControls/DocumentMap/documentMap_rc.h | 7 +------ PowerEditor/src/resource.h | 3 +++ 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/PowerEditor/src/WinControls/AboutDlg/AboutDlg.h b/PowerEditor/src/WinControls/AboutDlg/AboutDlg.h index 55b59148c..b5966c108 100644 --- a/PowerEditor/src/WinControls/AboutDlg/AboutDlg.h +++ b/PowerEditor/src/WinControls/AboutDlg/AboutDlg.h @@ -26,17 +26,10 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -#ifndef ABOUT_DLG_H -#define ABOUT_DLG_H +#pragma once -#ifndef URLCTRL_INCLUDED #include "URLCtrl.h" -#endif// URLCTRL_INCLUDED - -#ifndef RESOURCE_H #include "resource.h" -#endif// RESOURCE_H - #include "StaticDialog.h" #define LICENCE_TXT \ @@ -103,5 +96,3 @@ private: URLCtrl _copyToClipboardLink; }; - -#endif //ABOUT_DLG_H diff --git a/PowerEditor/src/WinControls/DocumentMap/documentMap_rc.h b/PowerEditor/src/WinControls/DocumentMap/documentMap_rc.h index 8291a1d31..d490db58f 100644 --- a/PowerEditor/src/WinControls/DocumentMap/documentMap_rc.h +++ b/PowerEditor/src/WinControls/DocumentMap/documentMap_rc.h @@ -25,13 +25,8 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -#ifndef DOCUMENTMAP_RC_H -#define DOCUMENTMAP_RC_H +#pragma once #define IDD_DOCUMENTMAP 3300 #define IDD_VIEWZONE 3320 #define IDC_VIEWZONECANVAS (IDD_VIEWZONE + 1) - -#endif // DOCUMENTMAP_RC_H - diff --git a/PowerEditor/src/resource.h b/PowerEditor/src/resource.h index b5a28d962..ee975363b 100644 --- a/PowerEditor/src/resource.h +++ b/PowerEditor/src/resource.h @@ -356,6 +356,9 @@ //See fileBrowser_rc.h //#define IDD_FILEBROWSER 3500 +//See documentSnapshot_rc.h +//#define IDD_DOCUMENSNAPSHOT 3600 + // See regExtDlg.h //#define IDD_REGEXT 4000