wxCairoGraphics need a font event without drawing text

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-04-25 18:53:02 +00:00
parent 7e38ae608c
commit 0286bbe9b3

View File

@@ -417,6 +417,7 @@ void MyFrame::Draw(wxDC& dc)
{
// make a path that contains a circle and some lines, centered at 100,100
gc->SetPen( *wxRED_PEN );
gc->SetFont( wxGetApp().m_testFont, *wxGREEN );
wxGraphicsPath path = gc->CreatePath();
path.AddCircle( 50.0, 50.0, 50.0 );
path.MoveToPoint(0.0, 50.0);