summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemRadioButton.cpp
blob: 6b26b07a89e79de4ce72df69b228f41ab90c3a81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "StdAfx.h"
#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);
}