X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f1ae4143271ae63a17e052a1a471d16e9cd8c44..942e67c3a36319dbdb32df86a50b475c05900197:/src/mac/control.cpp 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 ;