Enable XRC to call wxStaticText::Wrap

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2008-03-09 03:27:54 +00:00
parent a9dbb4f681
commit 30aaee9514

View File

@ -48,6 +48,10 @@ wxObject *wxStaticTextXmlHandler::DoCreateResource()
SetupWindow(text);
long wrap = GetLong(wxT("wrap"), -1);
if (wrap != -1)
text->Wrap(wrap);
return text;
}