Enable XRC to call wxStaticText::Wrap

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2008-03-09 03:27:15 +00:00
parent da2f6baf7c
commit b8a91a00eb

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;
}