]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dcclient.cpp
define bookctrl (and -derived) classes flags in their headers instead of defs.h;...
[wxWidgets.git] / src / mac / carbon / dcclient.cpp
index 0e0b775e920e6581fb1ee20d4c66dac84013765e..fc005335a256d9e98211aacf5d253c3dc1bd52a7 100644 (file)
@@ -29,8 +29,6 @@
 // constants
 //-----------------------------------------------------------------------------
 
-#define RAD2DEG 57.2957795131
-
 //-----------------------------------------------------------------------------
 // wxPaintDC
 //-----------------------------------------------------------------------------
@@ -124,7 +122,6 @@ wxWindowDC::wxWindowDC(wxWindow *window)
     WindowRef windowref = (WindowRef) rootwindow->MacGetWindowRef() ;
     int x , y ;
     x = y = 0 ;
-    wxSize size = window->GetSize() ;
     window->MacWindowToRootWindow( &x , &y ) ;
     m_macPort = UMAGetWindowPort( windowref ) ;
     m_ok = true ;