]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_text.cpp
(blind) fix for gcc 3.4 warning for an always true comparison in an assert
[wxWidgets.git] / src / xrc / xh_text.cpp
index 32ca49658c59be0979cda25875bf836c8edc1e83..3e89a272ced29e6342a07953c1058ac534f56749 100644 (file)
 #include "wx/xrc/xh_text.h"
 #include "wx/textctrl.h"
 
+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);