]> git.saurik.com Git - wxWidgets.git/commitdiff
compile fix for Mac
authorRobin Dunn <robin@alldunn.com>
Wed, 13 Sep 2006 01:31:11 +0000 (01:31 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 13 Sep 2006 01:31:11 +0000 (01:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp

index 054a06683d0e5f39722e4d69a0a96c1bff9b7cb4..35d60d014e38f52a4caca06b8b039a4f39433934 100644 (file)
@@ -1112,7 +1112,7 @@ 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 );
+    pen = wxPen( wxColour( 0x88 , 0x88 , 0x88 ), 1, wxSOLID );
 #endif
     dc->SetPen( pen );
     dc->DrawLine( x+w-m_corner, y, x+w-1, y+h );  // right (inner)