]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/toolbar.cpp
attempt to fix a rare crash which happens when changing the number of columns in...
[wxWidgets.git] / src / mac / toolbar.cpp
index 77662d2dbed4e3710d93b7d2545e268eff498645..f9e68cbd21dc508a28dc3d3ff3989eb9f51ac994 100644 (file)
@@ -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 ) )
                        {