]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dcclient.cpp
warnin - move pict to where it belongs :)
[wxWidgets.git] / src / mac / carbon / dcclient.cpp
index 027709b784e4fb25a51a7db618ed288afd1ed684..f256b6b4ee6a01993c2fa8c718cc30ea9aed8a9e 100644 (file)
@@ -23,6 +23,7 @@
 #include "wx/settings.h"
 #include "wx/math.h"
 #include "wx/mac/private.h"
+#include "wx/log.h"
 
 //-----------------------------------------------------------------------------
 // constants
@@ -125,7 +126,6 @@ wxWindowDC::wxWindowDC(wxWindow *window)
         if (!rootwindow)
             return;
         WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
-        wxSize size = window->GetClientSize() ;
         int x , y ;
         x = y = 0 ;
         window->MacWindowToRootWindow( &x , &y ) ;
@@ -198,7 +198,6 @@ wxClientDC::wxClientDC(wxWindow *window)
             return;
         WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
         wxPoint origin = window->GetClientAreaOrigin() ;
-        wxSize size = window->GetClientSize() ;
         int x , y ;
         x = origin.x ;
         y = origin.y ;