X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ccdc11bbaf0310a474ad7b9d41413b31c3544356..d2e66707deb10dea6f92e3e4092f8a43ef942a5d:/src/xrc/xh_sttxt.cpp 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; }