]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dcclient.cpp
added clientcontext variable to Open Transport initialisation
[wxWidgets.git] / src / mac / carbon / dcclient.cpp
index 6f3a6b35179c9db23d8be0503173d5c1bb85f2f8..92cb39201b4da56ca1860dcdded712904796029b 100644 (file)
@@ -16,6 +16,7 @@
 #include "wx/dcclient.h"
 #include "wx/dcmemory.h"
 #include "wx/region.h"
+#include "wx/window.h"
 #include <math.h>
 
 //-----------------------------------------------------------------------------
@@ -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() ;