X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df93d8bab70358f8fec85098d83ab076424bae2e..6f28211af2258ce0c052e5b5c1d862e7bbc8de27:/src/xrc/xh_text.cpp?ds=sidebyside diff --git a/src/xrc/xh_text.cpp b/src/xrc/xh_text.cpp index 32ca49658c..3e89a272ce 100644 --- a/src/xrc/xh_text.cpp +++ b/src/xrc/xh_text.cpp @@ -22,8 +22,12 @@ #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);