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:
parent
268b2b98e0
commit
64d1d27da9
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue