X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f1ae4143271ae63a17e052a1a471d16e9cd8c44..c97e7fa8dbda704c9c9cdb61c22ebdf9b692e114:/src/mac/dcclient.cpp diff --git a/src/mac/dcclient.cpp b/src/mac/dcclient.cpp index 6f3a6b3517..92cb39201b 100644 --- a/src/mac/dcclient.cpp +++ b/src/mac/dcclient.cpp @@ -16,6 +16,7 @@ #include "wx/dcclient.h" #include "wx/dcmemory.h" #include "wx/region.h" +#include "wx/window.h" #include //----------------------------------------------------------------------------- @@ -113,7 +114,7 @@ wxPaintDC::wxPaintDC(wxWindow *window) m_macPort = UMAGetWindowPort( windowref ) ; MacSetupPort() ; m_ok = TRUE ; - long x , y ,w , h ; + wxCoord x , y ,w , h ; window->GetUpdateRegion().GetBox( x , y , w , h ) ; m_minY = m_minX = 0; wxSize size = window->GetSize() ;