From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2DlgItemTButton.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/T2DLL/T2DlgItemTButton.h') diff --git a/src/T2DLL/T2DlgItemTButton.h b/src/T2DLL/T2DlgItemTButton.h index 3b79f2c..7ab2852 100644 --- a/src/T2DLL/T2DlgItemTButton.h +++ b/src/T2DLL/T2DlgItemTButton.h @@ -1,12 +1,10 @@ #pragma once #include "common.h" +#include "T2DlgItemButtonBase.h" -class T2DlgItemTButton { +class AFX_EXT_CLASS T2DlgItemTButton : public T2DlgItemButtonBase { public: - T2DlgItemTButton(T2TowerDoc*, T2ImageObj*, CPalette*); + T2DlgItemTButton(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); protected: - virtual int OnT2DlgItemEraseBkgnd(CDC*); - -public: - virtual ~T2DlgItemTButton() {} + virtual BOOL OnT2DlgItemEraseBkgnd(CDC* pDC); }; -- cgit v1.2.3