X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af0bb3b161bc687d4a53a83c930c807bfa300a2d..1a5e297c6b5b745afee30caf430ce62e9519a181:/src/motif/dc.cpp diff --git a/src/motif/dc.cpp b/src/motif/dc.cpp index ef06e450a4..c60397ea6f 100644 --- a/src/motif/dc.cpp +++ b/src/motif/dc.cpp @@ -149,13 +149,17 @@ void wxDC::SetMapMode( int mode ) void wxDC::SetUserScale( double x, double y ) { - wxDCBase::SetUserScale(x, y); + // allow negative ? -> no + m_userScaleX = x; + m_userScaleY = y; ComputeScaleAndOrigin(); } void wxDC::SetLogicalScale( double x, double y ) { - wxDCBase::SetLogicalScale(x, y); + // allow negative ? + m_logicalScaleX = x; + m_logicalScaleY = y; ComputeScaleAndOrigin(); }