Make wxSVGFileDC an abstract class
This commit is contained in:
@@ -324,12 +324,7 @@ public:
|
|||||||
void SetShapeRenderingMode(wxSVGShapeRenderingMode renderingMode);
|
void SetShapeRenderingMode(wxSVGShapeRenderingMode renderingMode);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wxSVGFileDC()
|
wxDECLARE_ABSTRACT_CLASS(wxSVGFileDC);
|
||||||
: wxDC(new wxSVGFileDCImpl(this, wxString()))
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
wxDECLARE_DYNAMIC_CLASS(wxSVGFileDC);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // wxUSE_SVG
|
#endif // wxUSE_SVG
|
||||||
|
@@ -465,7 +465,7 @@ wxSVGBitmapFileHandler::ProcessBitmap(const wxBitmap& bmp,
|
|||||||
// wxSVGFileDC (specialisations)
|
// wxSVGFileDC (specialisations)
|
||||||
// ----------------------------------------------------------
|
// ----------------------------------------------------------
|
||||||
|
|
||||||
wxIMPLEMENT_DYNAMIC_CLASS(wxSVGFileDC, wxDC);
|
wxIMPLEMENT_ABSTRACT_CLASS(wxSVGFileDC, wxDC);
|
||||||
|
|
||||||
void wxSVGFileDC::SetBitmapHandler(wxSVGBitmapHandler* handler)
|
void wxSVGFileDC::SetBitmapHandler(wxSVGBitmapHandler* handler)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user