X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af0bb3b161bc687d4a53a83c930c807bfa300a2d..aa3981f2c66ba95a056a6d0dbf983b2d64bc0d84:/src/motif/dc.cpp?ds=sidebyside 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(); }