Fix content scale factor returned by wxScreenDC on Mac
This commit is contained in:
parent
1deb003a7c
commit
984e222519
@ -34,6 +34,7 @@ wxScreenDCImpl::wxScreenDCImpl( wxDC *owner ) :
|
||||
SetGraphicsContext( wxGraphicsContext::Create() );
|
||||
m_ok = true ;
|
||||
#endif
|
||||
m_contentScaleFactor = wxOSXGetMainScreenContentScaleFactor();
|
||||
}
|
||||
|
||||
wxScreenDCImpl::~wxScreenDCImpl()
|
||||
|
Loading…
Reference in New Issue
Block a user