From: Julian Smart Date: Thu, 17 Apr 2003 16:17:42 +0000 (+0000) Subject: Disabling code that causes display glitch on Mac X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c4e98b3311ff7e3da14795563710dcfc8acfc055 Disabling code that causes display glitch on Mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index e4d3c35fad..5a2ae98fb0 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -2326,7 +2326,8 @@ void wxGenericTreeCtrl::PaintLevel( wxGenericTreeItem *item, wxDC &dc, int level if (HasFlag(wxTR_AQUA_BUTTONS)) { -#ifdef __WXMAC__ + // This causes update problems, so disabling for now. +#if 0 // def __WXMAC__ wxMacPortSetter helper(&dc) ; wxMacWindowClipper clipper(this) ; wxDC::MacSetupBackgroundForCurrentPort( MacGetBackgroundBrush() ) ;