X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71908213057690d5452f72b2b9c8e62b53357170..f4bd67593eae8df6e9a9eb0b7e1374833dbc2a70:/src/univ/stattext.cpp diff --git a/src/univ/stattext.cpp b/src/univ/stattext.cpp index d5fcb0846c..5bb880a96e 100644 --- a/src/univ/stattext.cpp +++ b/src/univ/stattext.cpp @@ -18,7 +18,7 @@ // ---------------------------------------------------------------------------- #ifdef __GNUG__ - #pragma implementation "stattext.h" + #pragma implementation "univstattext.h" #endif #include "wx/wxprec.h" @@ -58,7 +58,7 @@ bool wxStaticText::Create(wxWindow *parent, { if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) return FALSE; - + SetLabel(label); SetBestSize(size);