added some missing styles to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -30,6 +30,16 @@ wxTextCtrlXmlHandler::wxTextCtrlXmlHandler() : wxXmlResourceHandler()
|
|||||||
XRC_ADD_STYLE(wxTE_PASSWORD);
|
XRC_ADD_STYLE(wxTE_PASSWORD);
|
||||||
XRC_ADD_STYLE(wxTE_READONLY);
|
XRC_ADD_STYLE(wxTE_READONLY);
|
||||||
XRC_ADD_STYLE(wxHSCROLL);
|
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();
|
AddWindowStyles();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -26,6 +26,7 @@
|
|||||||
wxTreeCtrlXmlHandler::wxTreeCtrlXmlHandler()
|
wxTreeCtrlXmlHandler::wxTreeCtrlXmlHandler()
|
||||||
: wxXmlResourceHandler()
|
: wxXmlResourceHandler()
|
||||||
{
|
{
|
||||||
|
XRC_ADD_STYLE(wxTR_HIDE_ROOT);
|
||||||
XRC_ADD_STYLE(wxTR_HAS_BUTTONS);
|
XRC_ADD_STYLE(wxTR_HAS_BUTTONS);
|
||||||
XRC_ADD_STYLE(wxTR_EDIT_LABELS);
|
XRC_ADD_STYLE(wxTR_EDIT_LABELS);
|
||||||
XRC_ADD_STYLE(wxTR_MULTIPLE);
|
XRC_ADD_STYLE(wxTR_MULTIPLE);
|
||||||
|
@@ -30,6 +30,16 @@ wxTextCtrlXmlHandler::wxTextCtrlXmlHandler() : wxXmlResourceHandler()
|
|||||||
XRC_ADD_STYLE(wxTE_PASSWORD);
|
XRC_ADD_STYLE(wxTE_PASSWORD);
|
||||||
XRC_ADD_STYLE(wxTE_READONLY);
|
XRC_ADD_STYLE(wxTE_READONLY);
|
||||||
XRC_ADD_STYLE(wxHSCROLL);
|
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();
|
AddWindowStyles();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -26,6 +26,7 @@
|
|||||||
wxTreeCtrlXmlHandler::wxTreeCtrlXmlHandler()
|
wxTreeCtrlXmlHandler::wxTreeCtrlXmlHandler()
|
||||||
: wxXmlResourceHandler()
|
: wxXmlResourceHandler()
|
||||||
{
|
{
|
||||||
|
XRC_ADD_STYLE(wxTR_HIDE_ROOT);
|
||||||
XRC_ADD_STYLE(wxTR_HAS_BUTTONS);
|
XRC_ADD_STYLE(wxTR_HAS_BUTTONS);
|
||||||
XRC_ADD_STYLE(wxTR_EDIT_LABELS);
|
XRC_ADD_STYLE(wxTR_EDIT_LABELS);
|
||||||
XRC_ADD_STYLE(wxTR_MULTIPLE);
|
XRC_ADD_STYLE(wxTR_MULTIPLE);
|
||||||
|
Reference in New Issue
Block a user