// common part of all constructors
void Init()
{
- m_evtType = wxEVT_COMMAND_CHECKBOX_CLICKED;
+ m_evtType = wxEVT_CHECKBOX;
}
virtual void DoSet3StateValue(wxCheckBoxState state);
// public for the callback
public:
- // either exEVT_COMMAND_CHECKBOX_CLICKED or ..._TOGGLEBUTTON_CLICKED
+ // either wxEVT_CHECKBOX or ..._TOGGLEBUTTON
wxEventType m_evtType;
};