X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/916eabe60eee4adb05387bbf1eaf1915ae5eac18..853149575e6cb46031b3ed06f3d0fa4c42440962:/src/generic/stattextg.cpp?ds=inline diff --git a/src/generic/stattextg.cpp b/src/generic/stattextg.cpp index 26a25cd02d..d4cd0c364a 100644 --- a/src/generic/stattextg.cpp +++ b/src/generic/stattextg.cpp @@ -3,7 +3,7 @@ // Purpose: wxGenericStaticText // Author: Marcin Wojdyr // Created: 2008-06-26 -// RCS-ID: $Id:$ +// RCS-ID: $Id$ // Copyright: Marcin Wojdyr // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -17,7 +17,8 @@ #if wxUSE_STATTEXT #ifndef WX_PRECOMP - #include "wx/dc.h" + #include "wx/dcclient.h" + #include "wx/settings.h" #include "wx/validate.h" #endif @@ -81,14 +82,6 @@ wxSize wxGenericStaticText::DoGetBestClientSize() const return wxSize(width, height); } -wxSize wxGenericStaticText::DoGetBestSize() const -{ - wxSize ret = DoGetBestClientSize(); - CacheBestSize(ret); - return ret; -} - - void wxGenericStaticText::SetLabel(const wxString& label) { wxControl::SetLabel(label);