]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_listbk.cpp
Really remove the droppings when there are no pages
[wxWidgets.git] / src / xrc / xh_listbk.cpp
index ef7dd63a98a03a2a441cda261738bf0d21793dac..21a6cb058691c86f1386ebda4d643d0896a013a8 100644 (file)
@@ -32,10 +32,12 @@ IMPLEMENT_DYNAMIC_CLASS(wxListbookXmlHandler, wxXmlResourceHandler)
 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();
 }