diff options
Diffstat (limited to 'src/T2DLL/T2DlgItemHScr.h')
-rw-r--r-- | src/T2DLL/T2DlgItemHScr.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/T2DLL/T2DlgItemHScr.h b/src/T2DLL/T2DlgItemHScr.h index 010cf80..67f56a4 100644 --- a/src/T2DLL/T2DlgItemHScr.h +++ b/src/T2DLL/T2DlgItemHScr.h @@ -1,17 +1,15 @@ #pragma once #include "common.h" +#include "T2DlgItemScr.h" -class T2DlgItemHScr { +class AFX_EXT_CLASS T2DlgItemHScr : public T2DlgItemScr { public: - T2DlgItemHScr(T2TowerDoc*, T2ImageObj*, CPalette*); + T2DlgItemHScr(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* inPalette); protected: - virtual int OnT2DlgItemEraseBkgnd(CDC*); + virtual BOOL OnT2DlgItemEraseBkgnd(CDC*); virtual int ScrollBarHittest(CPoint) const; virtual void GetUpButtonRect(const CRect&, CRect&) const; virtual void GetDnButtonRect(const CRect&, CRect&) const; virtual int PositionToValue(const CPoint&) const; virtual int PositionToValue(const CRect&) const; - -public: - virtual ~T2DlgItemHScr() {} }; |