virtual cairo_surface_t* GetCairoSurface() { return m_surface; }
virtual cairo_pattern_t* GetCairoPattern() { return m_pattern; }
- void* GetNativeBitmap() const { return (void*)m_surface; }
+ virtual void* GetNativeBitmap() const { return m_surface; }
virtual wxSize GetSize() { return wxSize(m_width, m_height); }
#if wxUSE_IMAGE
ENSURE_LOADED_OR_RETURN(NULL);
#ifdef __WXGTK__
return CreateContextFromNativeWindow(gdk_get_default_root_window());
-#endif
+#else
return NULL;
// TODO
+#endif
}
wxGraphicsContext * wxCairoRenderer::CreateContext( wxWindow* window )