From ba0d19c23f2c88826244a24806592f7aac429c5a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 3 Jun 2003 23:20:21 +0000 Subject: [PATCH] backported the, uh... "fix" for update problems on wxMac. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/treectlg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index d1d6e0e5fb..9d03079f86 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -2319,7 +2319,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 //#ifdef __WXMAC__ wxMacPortSetter helper(&dc) ; wxMacWindowClipper clipper(this) ; wxDC::MacSetupBackgroundForCurrentPort( MacGetBackgroundBrush() ) ;