X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b905d6cc083a38d46ae48712f5221236247a39ce..93a2b888fcbc81aa1c97df976ff0b151b2233abd:/src/mac/carbon/stattext.cpp diff --git a/src/mac/carbon/stattext.cpp b/src/mac/carbon/stattext.cpp index f14cd26836..3c67c64a9a 100644 --- a/src/mac/carbon/stattext.cpp +++ b/src/mac/carbon/stattext.cpp @@ -9,12 +9,10 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "stattext.h" -#endif - #include "wx/wxprec.h" +#if wxUSE_STATTEXT + #include "wx/app.h" #include "wx/stattext.h" #include "wx/notebook.h" @@ -26,9 +24,7 @@ #include -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl) -#endif #include "wx/mac/uma.h" @@ -101,7 +97,8 @@ void wxStaticText::SetLabel(const wxString& st ) SetSize( GetBestSize() ) ; } Refresh() ; - Update() ; + // we shouldn't need forced updates + // Update() ; } bool wxStaticText::SetFont(const wxFont& font) @@ -119,3 +116,6 @@ bool wxStaticText::SetFont(const wxFont& font) return ret; } + +#endif //if wxUSE_STATTEXT +