From 38058a49c6b3ab95bc2bd0389a588f37df6a6da0 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 1 Dec 2001 09:15:40 +0000 Subject: [PATCH] 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 --- contrib/src/gizmos/splittree.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) -- 2.47.2