summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemRadioButton.cpp
blob: ca7af43713f6212cf21cbd079b8db75183ef367c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "T2DlgItemRadioButton.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

T2DlgItemRadioButton::T2DlgItemRadioButton(T2TowerDoc *inDoc, T2ImageObj *inImageObj, CPalette *inPalette)
    : T2DlgItemICheck(inDoc, inImageObj, inPalette)
{
}

/*virtual*/ T2DlgItemRadioButton::~T2DlgItemRadioButton() {
}

/*virtual*/ void T2DlgItemRadioButton::OnT2DlgItemLButtonDown(UINT inFlags, CPoint inPt) {
    if (!GetValue())
        T2DlgItemICheck::OnT2DlgItemLButtonDown(inFlags, inPt);
}