X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27e2d606626e9604141abe1ba8a536c507c314dc..f0d5e7a25aef93d3a907d005c572bc8cca4f41a1:/src/mac/toolbar.cpp diff --git a/src/mac/toolbar.cpp b/src/mac/toolbar.cpp index 152e1aaddf..f9e68cbd21 100644 --- a/src/mac/toolbar.cpp +++ b/src/mac/toolbar.cpp @@ -169,9 +169,9 @@ bool wxToolBar::Realize() return FALSE; Point localOrigin ; - Rect clipRect ; + // Rect clipRect ; WindowRef window = (WindowRef) MacGetRootWindow() ; - wxWindow *win ; + // wxWindow *win ; int lx , ly ; lx = ly = 0 ; @@ -360,9 +360,9 @@ void wxToolBar::MacSuperChangedPosition() { Point localOrigin ; - Rect clipRect ; - WindowRef window ; - wxWindow *win ; + // Rect clipRect ; + // WindowRef window ; + // wxWindow *win ; int lx , ly ; lx = ly = 0 ; MacWindowToRootWindow( &lx , &ly ) ; @@ -612,7 +612,7 @@ void wxToolBar::OnMouse( wxMouseEvent &event ) if ( event.m_metaDown ) modifiers |= cmdKey ; - controlpart = FindControl( localwhere , window , &control ) ; + controlpart = ::FindControl( localwhere , window , &control ) ; { if ( control && ::IsControlActive( control ) ) {