fix some compile/link errors

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-27 06:28:33 +00:00
parent ad55c49e82
commit 6b06903d26

View File

@@ -688,6 +688,8 @@ void wxCairoBrush::Init()
// wxCairoFont implementation // wxCairoFont implementation
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxCairoFont,wxGraphicsFont)
wxCairoFont::wxCairoFont() : wxGraphicsFont(NULL) wxCairoFont::wxCairoFont() : wxGraphicsFont(NULL)
{ {
wxLogDebug(wxT("Illegal Constructor called")); wxLogDebug(wxT("Illegal Constructor called"));
@@ -725,6 +727,8 @@ void wxCairoFont::Apply( wxGraphicsContext* context )
// wxCairoPath implementation // wxCairoPath implementation
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
IMPLEMENT_DYNAMIC_CLASS(wxCairoPath,wxGraphicsPath)
wxCairoPath::wxCairoPath() : wxGraphicsPath(NULL) wxCairoPath::wxCairoPath() : wxGraphicsPath(NULL)
{ {
wxLogDebug(wxT("Illegal Constructor called")); wxLogDebug(wxT("Illegal Constructor called"));
@@ -787,6 +791,11 @@ void wxCairoPath::AddLineToPoint( wxDouble x , wxDouble y )
cairo_line_to(m_pathContext,x,y); cairo_line_to(m_pathContext,x,y);
} }
void wxCairoPath::AddPath( const wxGraphicsPath* path )
{
// TODO
}
void wxCairoPath::CloseSubpath() void wxCairoPath::CloseSubpath()
{ {
cairo_close_path(m_pathContext); cairo_close_path(m_pathContext);