]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/stattextg.cpp
Correct bug in the wxSpinCtrlGeneric sub-controls resizing.
[wxWidgets.git] / src / generic / stattextg.cpp
index 2047f27d0ed2fc083976250e15f0067e3697beff..d4cd0c364a32edf2a0f56ab762df76ca41cba63b 100644 (file)
@@ -82,14 +82,6 @@ wxSize wxGenericStaticText::DoGetBestClientSize() const
     return wxSize(width, height);
 }
 
     return wxSize(width, height);
 }
 
-wxSize wxGenericStaticText::DoGetBestSize() const
-{
-    wxSize ret = DoGetBestClientSize();
-    CacheBestSize(ret);
-    return ret;
-}
-
-
 void wxGenericStaticText::SetLabel(const wxString& label)
 {
     wxControl::SetLabel(label);
 void wxGenericStaticText::SetLabel(const wxString& label)
 {
     wxControl::SetLabel(label);