X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ccdc11bbaf0310a474ad7b9d41413b31c3544356..2028c33ab5a39a12bd410ac953731a56ad6377ba:/src/xrc/xh_sttxt.cpp?ds=inline diff --git a/src/xrc/xh_sttxt.cpp b/src/xrc/xh_sttxt.cpp index 229c5526f8..9986696777 100644 --- a/src/xrc/xh_sttxt.cpp +++ b/src/xrc/xh_sttxt.cpp @@ -48,6 +48,10 @@ wxObject *wxStaticTextXmlHandler::DoCreateResource() SetupWindow(text); + long wrap = GetLong(wxT("wrap"), -1); + if (wrap != -1) + text->Wrap(wrap); + return text; }