]> git.saurik.com Git - wxWidgets.git/commitdiff
added wxTE_AUTO_SCROLL and wxTE_NO_VSCROLL
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 11 Apr 2004 19:11:27 +0000 (19:11 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 11 Apr 2004 19:11:27 +0000 (19:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/xrc/xh_text.cpp
src/xrc/xh_text.cpp

index 4d4e88413a50f0252bb3d94f59908703e8523439..3e89a272ced29e6342a07953c1058ac534f56749 100644 (file)
@@ -26,6 +26,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxTextCtrlXmlHandler, wxXmlResourceHandler)
 
 wxTextCtrlXmlHandler::wxTextCtrlXmlHandler() : wxXmlResourceHandler() 
 {
+    XRC_ADD_STYLE(wxTE_NO_VSCROLL);
+    XRC_ADD_STYLE(wxTE_AUTO_SCROLL);
     XRC_ADD_STYLE(wxTE_PROCESS_ENTER);
     XRC_ADD_STYLE(wxTE_PROCESS_TAB);
     XRC_ADD_STYLE(wxTE_MULTILINE);
index 4d4e88413a50f0252bb3d94f59908703e8523439..3e89a272ced29e6342a07953c1058ac534f56749 100644 (file)
@@ -26,6 +26,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxTextCtrlXmlHandler, wxXmlResourceHandler)
 
 wxTextCtrlXmlHandler::wxTextCtrlXmlHandler() : wxXmlResourceHandler() 
 {
+    XRC_ADD_STYLE(wxTE_NO_VSCROLL);
+    XRC_ADD_STYLE(wxTE_AUTO_SCROLL);
     XRC_ADD_STYLE(wxTE_PROCESS_ENTER);
     XRC_ADD_STYLE(wxTE_PROCESS_TAB);
     XRC_ADD_STYLE(wxTE_MULTILINE);