// Purpose: wxGenericStaticText
// Author: Marcin Wojdyr
// Created: 2008-06-26
-// RCS-ID: $Id:$
+// RCS-ID: $Id$
// Copyright: Marcin Wojdyr
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if wxUSE_STATTEXT
#ifndef WX_PRECOMP
- #include "wx/dc.h"
+ #include "wx/dcclient.h"
+ #include "wx/settings.h"
#include "wx/validate.h"
#endif
return wxSize(width, height);
}
-wxSize wxGenericStaticText::DoGetBestSize() const
-{
- wxSize ret = DoGetBestClientSize();
- CacheBestSize(ret);
- return ret;
-}
-
-
void wxGenericStaticText::SetLabel(const wxString& label)
{
wxControl::SetLabel(label);