implement wxDC::GetContentScaleFactor() for GTK3

This commit is contained in:
Paul Cornett
2016-02-22 09:52:26 -08:00
parent e5c93ad674
commit 6674ca57da
5 changed files with 23 additions and 10 deletions

View File

@@ -4222,7 +4222,7 @@ void wxWindowGTK::GTKSendPaintEvents(const GdkRegion* region)
case wxBG_STYLE_ERASE:
{
#ifdef __WXGTK3__
wxGTKCairoDC dc(cr);
wxGTKCairoDC dc(cr, static_cast<wxWindow*>(this));
#else
wxWindowDC dc( (wxWindow*)this );
dc.SetDeviceClippingRegion( m_updateRegion );