wxChoicebookXmlHandler::wxChoicebookXmlHandler()
: wxXmlResourceHandler(), m_isInside(false), m_choicebook(NULL)
{
- XRC_ADD_STYLE(wxLB_LEFT);
- XRC_ADD_STYLE(wxLB_RIGHT);
- XRC_ADD_STYLE(wxLB_TOP);
- XRC_ADD_STYLE(wxLB_BOTTOM);
+ XRC_ADD_STYLE(wxCB_DEFAULT);
+ XRC_ADD_STYLE(wxCB_LEFT);
+ XRC_ADD_STYLE(wxCB_RIGHT);
+ XRC_ADD_STYLE(wxCB_TOP);
+ XRC_ADD_STYLE(wxCB_BOTTOM);
+
AddWindowStyles();
}
wxListbookXmlHandler::wxListbookXmlHandler()
: wxXmlResourceHandler(), m_isInside(false), m_listbook(NULL)
{
+ XRC_ADD_STYLE(wxLB_DEFAULT);
XRC_ADD_STYLE(wxLB_LEFT);
XRC_ADD_STYLE(wxLB_RIGHT);
XRC_ADD_STYLE(wxLB_TOP);
XRC_ADD_STYLE(wxLB_BOTTOM);
+
AddWindowStyles();
}
wxNotebookXmlHandler::wxNotebookXmlHandler()
: wxXmlResourceHandler(), m_isInside(false), m_notebook(NULL)
{
- XRC_ADD_STYLE(wxNB_FIXEDWIDTH);
+ XRC_ADD_STYLE(wxNB_DEFAULT);
XRC_ADD_STYLE(wxNB_LEFT);
XRC_ADD_STYLE(wxNB_RIGHT);
XRC_ADD_STYLE(wxNB_TOP);
XRC_ADD_STYLE(wxNB_BOTTOM);
+
+ XRC_ADD_STYLE(wxNB_FIXEDWIDTH);
+ XRC_ADD_STYLE(wxNB_MULTILINE);
+ XRC_ADD_STYLE(wxNB_NOPAGETHEME);
+
AddWindowStyles();
}