]> git.saurik.com Git - wxWidgets.git/commitdiff
setting font when using core graphics on a memory dc
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 12 Oct 2006 07:53:44 +0000 (07:53 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 12 Oct 2006 07:53:44 +0000 (07:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dcmemory.cpp

index 8985e4edc435f3c3054fccd21878b17d89bda9e9..20c371825af51e65a5c6f61b41befb7df171fee8 100644 (file)
@@ -105,6 +105,7 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
             m_graphicContext = new wxMacCGContext( bmCtx ) ;
             m_graphicContext->SetPen( m_pen ) ;
             m_graphicContext->SetBrush( m_brush ) ;
+            m_graphicContext->SetFont( m_font ) ;
         }
         m_ok = (m_graphicContext != NULL) ;