X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aaf11927c8f43dcf296563c6a62707d625c2356..286694ba265d1bf68290cac192bbe54259c313d9:/src/xrc/xh_choicbk.cpp diff --git a/src/xrc/xh_choicbk.cpp b/src/xrc/xh_choicbk.cpp index a9ee4eb3ef..c4873ebc1e 100644 --- a/src/xrc/xh_choicbk.cpp +++ b/src/xrc/xh_choicbk.cpp @@ -32,10 +32,12 @@ IMPLEMENT_DYNAMIC_CLASS(wxChoicebookXmlHandler, wxXmlResourceHandler) 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(wxCHB_DEFAULT); + XRC_ADD_STYLE(wxCHB_LEFT); + XRC_ADD_STYLE(wxCHB_RIGHT); + XRC_ADD_STYLE(wxCHB_TOP); + XRC_ADD_STYLE(wxCHB_BOTTOM); + AddWindowStyles(); }