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
This commit is contained in:
@@ -2326,7 +2326,8 @@ void wxGenericTreeCtrl::PaintLevel( wxGenericTreeItem *item, wxDC &dc, int level
|
|||||||
|
|
||||||
if (HasFlag(wxTR_AQUA_BUTTONS))
|
if (HasFlag(wxTR_AQUA_BUTTONS))
|
||||||
{
|
{
|
||||||
#ifdef __WXMAC__
|
// This causes update problems, so disabling for now.
|
||||||
|
#if 0 // def __WXMAC__
|
||||||
wxMacPortSetter helper(&dc) ;
|
wxMacPortSetter helper(&dc) ;
|
||||||
wxMacWindowClipper clipper(this) ;
|
wxMacWindowClipper clipper(this) ;
|
||||||
wxDC::MacSetupBackgroundForCurrentPort( MacGetBackgroundBrush() ) ;
|
wxDC::MacSetupBackgroundForCurrentPort( MacGetBackgroundBrush() ) ;
|
||||||
|
Reference in New Issue
Block a user