Don't call overridable methods in ctor

This commit is contained in:
Artur Wieczorek 2022-05-27 18:57:09 +02:00
parent e7fac13461
commit beb311ed96

View File

@ -1485,10 +1485,10 @@ public:
, m_state(0)
{
// Due to SetOwnFont stuff necessary for GTK+ 1.2, we need to have this
SetFont( parent->GetFont() );
wxControl::SetFont( parent->GetFont() );
SetBoxHeight(12);
SetBackgroundStyle( wxBG_STYLE_PAINT );
wxControl::SetBackgroundStyle( wxBG_STYLE_PAINT );
}
virtual ~wxSimpleCheckBox();