X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Ftreelistctrl.cpp;h=c3762047718ad030993979e6419c6741c305a9e5;hb=47344ac4f0a977d14c539921adc2de84808f3df0;hp=2df0ab96a5a6f63ed9460ab19a26a5b5b67b77b9;hpb=c8ff6165bb552b048528c4ac94844642ff8b198d;p=creaImageIO.git diff --git a/src/treelistctrl.cpp b/src/treelistctrl.cpp index 2df0ab9..c376204 100644 --- a/src/treelistctrl.cpp +++ b/src/treelistctrl.cpp @@ -4,7 +4,7 @@ // Author: Robert Roebling // Maintainer: Otto Wyss // Created: 01/02/97 -// RCS-ID: $Id: treelistctrl.cpp,v 1.3 2008/10/01 14:23:59 guigues Exp $ +// RCS-ID: $Id: treelistctrl.cpp,v 1.4 2009/03/20 14:43:12 davila Exp $ // Copyright: (c) 2004 Robert Roebling, Julian Smart, Alberto Griggio, // Vadim Zeitlin, Otto Wyss // Licence: wxWindows @@ -1133,7 +1133,11 @@ void wxTreeListHeaderWindow::DoDrawRect( wxDC *dc, int x, int y, int w, int h ) dc->DrawRectangle( x, y+h, w+1, 1 ); // bottom (outer) #if defined( __WXMAC__ ) - wxPen pen( wxColour( 0x88 , 0x88 , 0x88 ), 1, wxSOLID ); + + // EED + // wxPen pen( wxColour( 0x88 , 0x88 , 0x88 ), 1, wxSOLID ); + pen.SetColour( wxColour( 0x88 , 0x88 , 0x88 ) ); + #endif dc->SetPen( pen ); dc->DrawLine( x+w-m_corner, y, x+w-1, y+h ); // right (inner)