]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_sttxt.cpp
Allow using windows that can't be focused with wxNavigationEnabled<>.
[wxWidgets.git] / src / xrc / xh_sttxt.cpp
index 229c5526f87c8b5827e3422f0c84bbd7e069511b..9986696777e167084b8f288f924ea82bfde0434e 100644 (file)
@@ -48,6 +48,10 @@ wxObject *wxStaticTextXmlHandler::DoCreateResource()
 
     SetupWindow(text);
 
+    long wrap = GetLong(wxT("wrap"), -1);
+    if (wrap != -1)
+        text->Wrap(wrap);
+
     return text;
 }