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