X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/519cb848a8f4c91c73421bb75314754284e593a4..5ea6dbbfff67d1dfad08044ab721ba56425ef6e1:/src/mac/stattext.cpp diff --git a/src/mac/stattext.cpp b/src/mac/stattext.cpp index 14c69f1d96..ec4de7cc31 100644 --- a/src/mac/stattext.cpp +++ b/src/mac/stattext.cpp @@ -18,9 +18,7 @@ #include -#if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl) -#endif #include @@ -47,7 +45,7 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id, void wxStaticText::SetLabel(const wxString& st , bool resize ) { - m_label = st ; + SetTitle( st ) ; wxString label ; if( wxApp::s_macDefaultEncodingIsPC )