X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/442b35b53bf95f5c6c003ea9ddbefd17adbc2a00..ed39ff57b30a70a2395e07887a70bc01e7a3b7ec:/src/univ/stattext.cpp diff --git a/src/univ/stattext.cpp b/src/univ/stattext.cpp index bef5b6e80e..5bb880a96e 100644 --- a/src/univ/stattext.cpp +++ b/src/univ/stattext.cpp @@ -42,6 +42,8 @@ // implementation // ============================================================================ +IMPLEMENT_ABSTRACT_CLASS(wxStaticText, wxControl) + // ---------------------------------------------------------------------------- // creation // ---------------------------------------------------------------------------- @@ -56,7 +58,7 @@ bool wxStaticText::Create(wxWindow *parent, { if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) return FALSE; - + SetLabel(label); SetBestSize(size);