implement wxDC::GetContentScaleFactor() for GTK3
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user