diff --git a/src/mac/carbon/control.cpp b/src/mac/carbon/control.cpp index 161d1b71b1..ab62f4034d 100644 --- a/src/mac/carbon/control.cpp +++ b/src/mac/carbon/control.cpp @@ -203,9 +203,6 @@ void wxControl::MacPreControlCreate( wxWindow *parent, wxWindowID id, wxString l m_y = y ; - Point localOrigin ; - Rect clipRect ; - parent->MacClientToRootWindow( &x , &y ) ; outBounds->top = y + m_macVerticalBorder ; outBounds->left = x + m_macHorizontalBorder ; diff --git a/src/mac/control.cpp b/src/mac/control.cpp index 161d1b71b1..ab62f4034d 100644 --- a/src/mac/control.cpp +++ b/src/mac/control.cpp @@ -203,9 +203,6 @@ void wxControl::MacPreControlCreate( wxWindow *parent, wxWindowID id, wxString l m_y = y ; - Point localOrigin ; - Rect clipRect ; - parent->MacClientToRootWindow( &x , &y ) ; outBounds->top = y + m_macVerticalBorder ; outBounds->left = x + m_macHorizontalBorder ;