]> git.saurik.com Git - wxWidgets.git/commitdiff
remove unnecessary DoGetBestSize
authorPaul Cornett <paulcor@bullseye.com>
Sat, 5 Dec 2009 19:26:39 +0000 (19:26 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 5 Dec 2009 19:26:39 +0000 (19:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/checkbox.h
src/gtk/checkbox.cpp

index a3631debaf62d8127a70e8a6734f1ca21345772c..26db70bcba73b6839af52eb0752342f731fa7b8f 100644 (file)
@@ -49,7 +49,6 @@ public:
     void GTKEnableEvents();
 
 protected:
-    virtual wxSize DoGetBestSize() const;
     virtual void DoApplyWidgetStyle(GtkRcStyle *style);
     virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const;
 
index f4d79dde3e091de399a0d14e55a0c0fee291320d..52d99fe5698201a1f86a43ed0cf8e3266a8f2d44 100644 (file)
@@ -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))