From: Stefan Csomor <csomor@advancedconcepts.ch>
Date: Thu, 26 Oct 2006 06:25:41 +0000 (+0000)
Subject: adapted to new font setter
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a60a5499953215f46062de58c0fe5df7b3a27a60

adapted to new font setter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/mac/carbon/dcmemory.cpp b/src/mac/carbon/dcmemory.cpp
index 541ad66c4e..ba8ecbe271 100644
--- a/src/mac/carbon/dcmemory.cpp
+++ b/src/mac/carbon/dcmemory.cpp
@@ -111,7 +111,7 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
 			SetGraphicsContext( wxGraphicsContext::CreateFromNative( bmCtx ) );
             m_graphicContext->SetPen( m_pen ) ;
             m_graphicContext->SetBrush( m_brush ) ;
-            m_graphicContext->SetFont( m_font ) ;
+            m_graphicContext->SetFont( m_font , m_textForegroundColour) ;
         }
         m_ok = (m_graphicContext != NULL) ;