diff --git a/include/wx/gtk/checkbox.h b/include/wx/gtk/checkbox.h index a3631debaf..26db70bcba 100644 --- a/include/wx/gtk/checkbox.h +++ b/include/wx/gtk/checkbox.h @@ -49,7 +49,6 @@ public: void GTKEnableEvents(); protected: - virtual wxSize DoGetBestSize() const; virtual void DoApplyWidgetStyle(GtkRcStyle *style); virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; diff --git a/src/gtk/checkbox.cpp b/src/gtk/checkbox.cpp index f4d79dde3e..52d99fe569 100644 --- a/src/gtk/checkbox.cpp +++ b/src/gtk/checkbox.cpp @@ -239,11 +239,6 @@ GdkWindow *wxCheckBox::GTKGetWindow(wxArrayGdkWindows& WXUNUSED(windows)) const return GTK_BUTTON(m_widgetCheckbox)->event_window; } -wxSize wxCheckBox::DoGetBestSize() const -{ - return wxControl::DoGetBestSize(); -} - // static wxVisualAttributes wxCheckBox::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))