void wxSFScaledDC::PrepareGC() { #if wxUSE_GRAPHICS_CONTEXT int x, y; GetDeviceOrigin(&x, &y); m_pGC->Translate( x / m_nScale, y / m_nScale ); #endif }
void wxSFScaledDC::PrepareGC() { #if wxUSE_GRAPHICS_CONTEXT && !defined(__WXMAC__) int x, y; GetDeviceOrigin(&x, &y); //m_pGC->Translate( x / m_nScale, y / m_nScale ); m_pGC->Translate( x, y ); #endif }