setting font when using core graphics on a memory dc

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-10-12 07:53:44 +00:00
parent 4b1f989890
commit 62fa228ac1

View 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) ;