X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df93d8bab70358f8fec85098d83ab076424bae2e..7fa4dc1cfcc55b0fe425a3ebe5e992ff8255481b:/src/xrc/xh_text.cpp 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);