From: Julian Smart Date: Sat, 1 Dec 2001 09:15:40 +0000 (+0000) Subject: Corrected small error but still no tree visible :-( X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/38058a49c6b3ab95bc2bd0389a588f37df6a6da0?ds=sidebyside Corrected small error but still no tree visible :-( git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/gizmos/splittree.cpp b/contrib/src/gizmos/splittree.cpp index 1dfd6de598..84f52d8431 100644 --- a/contrib/src/gizmos/splittree.cpp +++ b/contrib/src/gizmos/splittree.cpp @@ -77,16 +77,20 @@ wxRemotelyScrolledTreeCtrl::~wxRemotelyScrolledTreeCtrl() void wxRemotelyScrolledTreeCtrl::HideVScrollbar() { -#if defined(__WXMSW__) && USE_GENERIC_TREECTRL +#if defined(__WXMSW__) +#if USE_GENERIC_TREECTRL if (!IsKindOf(CLASSINFO(wxGenericTreeCtrl))) +#endif { ::ShowScrollBar((HWND) GetHWND(), SB_VERT, FALSE); } +#if USE_GENERIC_TREECTRL else -#endif { // Implicit in overriding SetScrollbars } +#endif +#endif } // Number of pixels per user unit (0 or -1 for no scrollbar)