X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/544fee32eeac1a4f6ca3e0c7c1b13ee24f1d1c1c..6a205442c40cd6e22efab15fd7170a0aeab99cae:/contrib/src/xrc/xh_text.cpp?ds=sidebyside diff --git a/contrib/src/xrc/xh_text.cpp b/contrib/src/xrc/xh_text.cpp index a2d360643c..4d4e88413a 100644 --- a/contrib/src/xrc/xh_text.cpp +++ b/contrib/src/xrc/xh_text.cpp @@ -22,6 +22,8 @@ #include "wx/xrc/xh_text.h" #include "wx/textctrl.h" +IMPLEMENT_DYNAMIC_CLASS(wxTextCtrlXmlHandler, wxXmlResourceHandler) + wxTextCtrlXmlHandler::wxTextCtrlXmlHandler() : wxXmlResourceHandler() { XRC_ADD_STYLE(wxTE_PROCESS_ENTER); @@ -30,6 +32,16 @@ wxTextCtrlXmlHandler::wxTextCtrlXmlHandler() : wxXmlResourceHandler() XRC_ADD_STYLE(wxTE_PASSWORD); XRC_ADD_STYLE(wxTE_READONLY); XRC_ADD_STYLE(wxHSCROLL); + XRC_ADD_STYLE(wxTE_RICH); + XRC_ADD_STYLE(wxTE_RICH2); + XRC_ADD_STYLE(wxTE_AUTO_URL); + XRC_ADD_STYLE(wxTE_NOHIDESEL); + XRC_ADD_STYLE(wxTE_LEFT); + XRC_ADD_STYLE(wxTE_CENTRE); + XRC_ADD_STYLE(wxTE_RIGHT); + XRC_ADD_STYLE(wxTE_DONTWRAP); + XRC_ADD_STYLE(wxTE_LINEWRAP); + XRC_ADD_STYLE(wxTE_WORDWRAP); AddWindowStyles(); }