Clipping box coordinates should be stored internally in device units to be independent on changes of logical coordinates made between calls to wxDCImpl::DoSetClippingRegion(). These stored coordinates should be converted on demand to the current logical units on call to wxDCImpl::DoGetClippingRect().