X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/442b35b53bf95f5c6c003ea9ddbefd17adbc2a00..f4bd67593eae8df6e9a9eb0b7e1374833dbc2a70:/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);