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
This commit is contained in:
Julian Smart
2001-12-01 09:15:40 +00:00
parent 4b796bb03c
commit 38058a49c6

View File

@@ -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)