]> git.saurik.com Git - wxWidgets.git/commitdiff
adapted to new font setter
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 26 Oct 2006 06:25:41 +0000 (06:25 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 26 Oct 2006 06:25:41 +0000 (06:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dcmemory.cpp

index 541ad66c4e8c1b7d7520b1015c64a86396f5a769..ba8ecbe2711b8f131bafd7085a9003991ba3083a 100644 (file)
@@ -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) ;