Added global skope too FinControl()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2002-05-31 16:03:15 +00:00
parent 03b444f6af
commit 7ad3e9390f
2 changed files with 2 additions and 2 deletions

View File

@ -612,7 +612,7 @@ void wxToolBar::OnMouse( wxMouseEvent &event )
if ( event.m_metaDown ) if ( event.m_metaDown )
modifiers |= cmdKey ; modifiers |= cmdKey ;
controlpart = FindControl( localwhere , window , &control ) ; controlpart = ::FindControl( localwhere , window , &control ) ;
{ {
if ( control && ::IsControlActive( control ) ) if ( control && ::IsControlActive( control ) )
{ {

View File

@ -612,7 +612,7 @@ void wxToolBar::OnMouse( wxMouseEvent &event )
if ( event.m_metaDown ) if ( event.m_metaDown )
modifiers |= cmdKey ; modifiers |= cmdKey ;
controlpart = FindControl( localwhere , window , &control ) ; controlpart = ::FindControl( localwhere , window , &control ) ;
{ {
if ( control && ::IsControlActive( control ) ) if ( control && ::IsControlActive( control ) )
{ {