Override FromDIP in wxSVGFileDC and wxPostScriptDC

These are DPI independent.
This commit is contained in:
Maarten Bent
2022-04-20 20:23:37 +02:00
parent cb05935f52
commit 3da3103eb5
2 changed files with 10 additions and 0 deletions

View File

@@ -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);