static wxDC::CocoaGetWxToBoundsTransform. Create the transform and store it as a member variable in wxDC when focus is locked on the DC. For wxClientDC and wxPaintDC call a new wxWindow::CocoaGetWxToBoundsTransform which will eventually handle scrolling. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775