-class WXDLLIMPEXP_FWD_BASE wxSVGFileDC;
+class WXDLLIMPEXP_FWD_CORE wxSVGFileDC;
class WXDLLIMPEXP_CORE wxSVGFileDCImpl : public wxDCImpl
{
virtual void DoDrawArc(wxCoord, wxCoord, wxCoord, wxCoord, wxCoord, wxCoord);
- virtual void DoDrawBitmap(const wxBitmap &, wxCoord, wxCoord, bool = 0);
+ virtual void DoDrawBitmap(const wxBitmap &, wxCoord, wxCoord, bool = false);
virtual void DoDrawCheckMark(wxCoord x, wxCoord y, wxCoord w, wxCoord h);
wxCoord *externalLeading = NULL,
const wxFont *font = NULL) const;
- virtual void DoSetClippingRegionAsRegion(const wxRegion& WXUNUSED(region))
+ virtual void DoSetDeviceClippingRegion(const wxRegion& WXUNUSED(region))
{
- wxFAIL_MSG(wxT("wxSVGFILEDC::DoSetClippingRegionAsRegion not yet implemented"));
+ wxFAIL_MSG(wxT("wxSVGFILEDC::DoSetDeviceClippingRegion not yet implemented"));
}
virtual void DoSetClippingRegion( int WXUNUSED(x), int WXUNUSED(y), int WXUNUSED(width), int WXUNUSED(height) )
class WXDLLIMPEXP_CORE wxSVGFileDC : public wxDC
{
public:
- wxSVGFileDC( const wxString &filename,
- int width=320, int height=240, double dpi=72.0 )
+ wxSVGFileDC(const wxString& filename,
+ int width = 320,
+ int height = 240,
+ double dpi = 72.0)
+ : wxDC(new wxSVGFileDCImpl(this, filename, width, height, dpi))
{
- m_pimpl = new wxSVGFileDCImpl( this, filename, width, height, dpi );
}
};