]> git.saurik.com Git - wxWidgets.git/commitdiff
Bug fix
authorJulian Smart <julian@anthemion.co.uk>
Fri, 18 Aug 2000 09:42:43 +0000 (09:42 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 18 Aug 2000 09:42:43 +0000 (09:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/gizmos/splittree.cpp

index 83ccea4ec8b74b7e3ba6dd5826731a58d4135c88..6d307776fc96b52857155133ab93f226a410dff6 100644 (file)
@@ -210,7 +210,7 @@ Plus, wxGenericTreeCtrl::OnPaint will reset the device origin.
 
     // Assumption: wxGenericTreeCtrl will adjust the scrollbars automatically,
     // since it'll call SetScrollbars and we've defined this to Do The Right Thing.
-    if (!IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
+    if (IsKindOf(CLASSINFO(wxGenericTreeCtrl)))
         return;
 
        wxScrolledWindow* scrolledWindow = GetScrolledWindow();