From 6b06903d2611683ab87af501e520dea2ff6e1c86 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 27 Oct 2006 06:28:33 +0000 Subject: [PATCH] fix some compile/link errors git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/graphicc.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) 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); -- 2.45.2