Fix wxMM_METRIC scaling with wxGCDC for non-macOS platforms

Don't override the default mm-to-pixel calculation, it will get the right answer.
This commit is contained in:
Paul Cornett 2024-01-01 13:46:18 -08:00
parent 268b2b98e0
commit 64d1d27da9

View file

@ -212,9 +212,6 @@ wxGCDCImpl::wxGCDCImpl(wxDC* owner, int)
void wxGCDCImpl::CommonInit()
{
m_mm_to_pix_x = mm2pt;
m_mm_to_pix_y = mm2pt;
m_isClipBoxValid = false;
m_logicalFunctionSupported = true;