X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33d0b396b23cc198d6966d2ae4bd03762821e56c..64a1451536e1917c240a8377c7672ea155e7681d:/src/gtk1/dc.cpp?ds=inline diff --git a/src/gtk1/dc.cpp b/src/gtk1/dc.cpp index faba4faab6..054ba0407c 100644 --- a/src/gtk1/dc.cpp +++ b/src/gtk1/dc.cpp @@ -293,8 +293,10 @@ void wxDC::SetDeviceOrigin( long x, long y ) void wxDC::GetDeviceOrigin( long *x, long *y ) { - if (x) *x = m_externalDeviceOriginX; - if (y) *y = m_externalDeviceOriginY; +// if (x) *x = m_externalDeviceOriginX; +// if (y) *y = m_externalDeviceOriginY; + if (x) *x = m_deviceOriginX; + if (y) *y = m_deviceOriginY; }; void wxDC::SetInternalDeviceOrigin( long x, long y )