From c920fe38a19013b99f3f74e48da9724fb053c212 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sun, 9 Jul 2023 20:59:16 +0100 Subject: support building from VC++ IDE, add resources --- src/T2DLL/T2DlgItemOK.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/T2DLL/T2DlgItemOK.h') diff --git a/src/T2DLL/T2DlgItemOK.h b/src/T2DLL/T2DlgItemOK.h index 99a4e75..1257771 100644 --- a/src/T2DLL/T2DlgItemOK.h +++ b/src/T2DLL/T2DlgItemOK.h @@ -1,5 +1,6 @@ -#pragma once -#include "common.h" +#ifndef T2DLL_T2DLGITEMOK_H +#define T2DLL_T2DLGITEMOK_H +#include "../common.h" #include "T2DlgItemIButton.h" class AFX_CLASS_EXPORT T2DlgItemOK : public T2DlgItemIButton { @@ -7,3 +8,4 @@ public: T2DlgItemOK(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); virtual BOOL Create(const char* windowName, DWORD style, const RECT& inRect, CWnd* parentWnd, UINT nId); }; +#endif -- cgit v1.2.3