X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ccdc11bbaf0310a474ad7b9d41413b31c3544356..f363cee882672e147340240cf0bb194a68e37833:/src/xrc/xh_sttxt.cpp diff --git a/src/xrc/xh_sttxt.cpp b/src/xrc/xh_sttxt.cpp index 229c5526f8..3b4c9b91e1 100644 --- a/src/xrc/xh_sttxt.cpp +++ b/src/xrc/xh_sttxt.cpp @@ -3,7 +3,6 @@ // Purpose: XRC resource for wxStaticText // Author: Bob Mitchell // Created: 2000/03/21 -// RCS-ID: $Id$ // Copyright: (c) 2000 Bob Mitchell and Verant Interactive // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -48,6 +47,10 @@ wxObject *wxStaticTextXmlHandler::DoCreateResource() SetupWindow(text); + long wrap = GetLong(wxT("wrap"), -1); + if (wrap != -1) + text->Wrap(wrap); + return text; }