git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73027
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
public:
wxCheckBox();
+ ~wxCheckBox();
wxCheckBox( wxWindow *parent, wxWindowID id, const wxString& label,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0,
wxCheckBox::wxCheckBox()
{
+ m_widgetCheckbox = NULL;
+}
+
+wxCheckBox::~wxCheckBox()
+{
+ if (m_widgetCheckbox && m_widgetCheckbox != m_widget)
+ GTKDisconnect(m_widgetCheckbox);
}
bool wxCheckBox::Create(wxWindow *parent,