diff --git a/src/generic/graphicc.cpp b/src/generic/graphicc.cpp index b83475e663..e028173925 100755 --- a/src/generic/graphicc.cpp +++ b/src/generic/graphicc.cpp @@ -688,6 +688,8 @@ void wxCairoBrush::Init() // wxCairoFont implementation //----------------------------------------------------------------------------- +IMPLEMENT_DYNAMIC_CLASS(wxCairoFont,wxGraphicsFont) + wxCairoFont::wxCairoFont() : wxGraphicsFont(NULL) { wxLogDebug(wxT("Illegal Constructor called")); @@ -725,6 +727,8 @@ void wxCairoFont::Apply( wxGraphicsContext* context ) // wxCairoPath implementation //----------------------------------------------------------------------------- +IMPLEMENT_DYNAMIC_CLASS(wxCairoPath,wxGraphicsPath) + wxCairoPath::wxCairoPath() : wxGraphicsPath(NULL) { wxLogDebug(wxT("Illegal Constructor called")); @@ -787,6 +791,11 @@ void wxCairoPath::AddLineToPoint( wxDouble x , wxDouble y ) cairo_line_to(m_pathContext,x,y); } +void wxCairoPath::AddPath( const wxGraphicsPath* path ) +{ + // TODO +} + void wxCairoPath::CloseSubpath() { cairo_close_path(m_pathContext);