Also return display DPI from wxScreenDC in wxGTK3

This is similar to the previous commit and is done for the same reasons:
screen DC needs to use the same DPI as the screen itself, instead of the
default Cairo 72 DPI.
This commit is contained in:
Vadim Zeitlin
2018-01-25 14:55:31 +01:00
parent 4ad1a3d969
commit a1cb2eb12a
2 changed files with 8 additions and 0 deletions

View File

@@ -76,6 +76,8 @@ class wxScreenDCImpl: public wxGTKCairoDCImpl
public:
wxScreenDCImpl(wxScreenDC* owner);
virtual wxSize GetPPI() const wxOVERRIDE;
wxDECLARE_NO_COPY_CLASS(wxScreenDCImpl);
};
//-----------------------------------------------------------------------------