Update src/qt/dc.cpp
Co-Authored-By: ffa-grahamdawes <graham.dawes@geoteric.com>
This commit is contained in:
@@ -154,7 +154,8 @@ void wxQtDCImpl::DoGetSizeMM(int* width, int* height) const
|
|||||||
deviceHeightMM = 0;
|
deviceHeightMM = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (width) *width = deviceWidthMM;
|
if ( width )
|
||||||
|
*width = deviceWidthMM;
|
||||||
if (height) *height = deviceHeightMM;
|
if (height) *height = deviceHeightMM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user