X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..7505b72ead138a4c33c67479bc0db51500b63576:/src/xrc/xh_tree.cpp diff --git a/src/xrc/xh_tree.cpp b/src/xrc/xh_tree.cpp index 5c3e346f78..1591d626a7 100644 --- a/src/xrc/xh_tree.cpp +++ b/src/xrc/xh_tree.cpp @@ -37,8 +37,10 @@ wxTreeCtrlXmlHandler::wxTreeCtrlXmlHandler() XRC_ADD_STYLE(wxTR_HAS_VARIABLE_ROW_HEIGHT); XRC_ADD_STYLE(wxTR_SINGLE); XRC_ADD_STYLE(wxTR_MULTIPLE); - XRC_ADD_STYLE(wxTR_EXTENDED); XRC_ADD_STYLE(wxTR_DEFAULT_STYLE); +#if WXWIN_COMPATIBILITY_2_8 + XRC_ADD_STYLE(wxTR_EXTENDED); +#endif AddWindowStyles(); }