]> git.saurik.com Git - wxWidgets.git/commitdiff
warning and compilos
authorRyan Norton <wxprojects@comcast.net>
Mon, 14 Feb 2005 03:57:18 +0000 (03:57 +0000)
committerRyan Norton <wxprojects@comcast.net>
Mon, 14 Feb 2005 03:57:18 +0000 (03:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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/settings.h"
 #include "wx/math.h"
 #include "wx/mac/private.h"
+#include "wx/log.h"
 
 //-----------------------------------------------------------------------------
 // constants
 
 //-----------------------------------------------------------------------------
 // constants
@@ -125,7 +126,6 @@ wxWindowDC::wxWindowDC(wxWindow *window)
         if (!rootwindow)
             return;
         WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
         if (!rootwindow)
             return;
         WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
-        wxSize size = window->GetClientSize() ;
         int x , y ;
         x = y = 0 ;
         window->MacWindowToRootWindow( &x , &y ) ;
         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() ;
             return;
         WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
         wxPoint origin = window->GetClientAreaOrigin() ;
-        wxSize size = window->GetClientSize() ;
         int x , y ;
         x = origin.x ;
         y = origin.y ;
         int x , y ;
         x = origin.x ;
         y = origin.y ;