]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_listbk.cpp
Recognize old wx{CHB,LB}_XXX styles in XRC.
[wxWidgets.git] / src / xrc / xh_listbk.cpp
index 1d3fb67c5886d3a797b2ebab80890f24f64e3904..7d4f64ae98ed5ca48c9e33ca8f7c8217bedb7178 100644 (file)
@@ -40,13 +40,11 @@ wxListbookXmlHandler::wxListbookXmlHandler()
     XRC_ADD_STYLE(wxBK_TOP);
     XRC_ADD_STYLE(wxBK_BOTTOM);
 
-#if WXWIN_COMPATIBILITY_2_6
     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);
-#endif
 
     AddWindowStyles();
 }