X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af0bb3b161bc687d4a53a83c930c807bfa300a2d..d04d2fb520e226ff931b36a47c95f9fcbb01704b:/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(); }