diff --git a/include/wx/dcsvg.h b/include/wx/dcsvg.h index 16cbd185ba..91e04c4449 100644 --- a/include/wx/dcsvg.h +++ b/include/wx/dcsvg.h @@ -248,6 +248,11 @@ private: virtual wxSize GetPPI() const wxOVERRIDE; + virtual wxSize FromDIP(const wxSize& sz) const wxOVERRIDE + { + return sz; + } + void Init(const wxString& filename, int width, int height, double dpi, const wxString& title); diff --git a/include/wx/generic/dcpsg.h b/include/wx/generic/dcpsg.h index 21c615781d..45628064ba 100644 --- a/include/wx/generic/dcpsg.h +++ b/include/wx/generic/dcpsg.h @@ -76,6 +76,11 @@ public: // Resolution in pixels per logical inch wxSize GetPPI() const wxOVERRIDE; + virtual wxSize FromDIP(const wxSize& sz) const wxOVERRIDE + { + return sz; + } + virtual void ComputeScaleAndOrigin() wxOVERRIDE; void SetBackgroundMode(int WXUNUSED(mode)) wxOVERRIDE { }