]> git.saurik.com Git - wxWidgets.git/commitdiff
Disabling code that causes display glitch on Mac
authorJulian Smart <julian@anthemion.co.uk>
Thu, 17 Apr 2003 16:17:42 +0000 (16:17 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 17 Apr 2003 16:17:42 +0000 (16:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/treectlg.cpp

index e4d3c35fad07363eb081cee2a1b5a3dea562a6b8..5a2ae98fb01498923d31359fd456ac1ab5e27e1b 100644 (file)
@@ -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() ) ;