X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9aaf11927c8f43dcf296563c6a62707d625c2356..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/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(); }