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:
parent
03b444f6af
commit
7ad3e9390f
@ -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 ) )
|
||||||
{
|
{
|
||||||
|
@ -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 ) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user