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:
parent
a9dbb4f681
commit
30aaee9514
@ -48,6 +48,10 @@ wxObject *wxStaticTextXmlHandler::DoCreateResource()
|
||||
|
||||
SetupWindow(text);
|
||||
|
||||
long wrap = GetLong(wxT("wrap"), -1);
|
||||
if (wrap != -1)
|
||||
text->Wrap(wrap);
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user