getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -819,7 +819,6 @@ void wxControl::OnMouseEvent( wxMouseEvent &event )
|
||||
ControlHandle control ;
|
||||
Point localwhere ;
|
||||
SInt16 controlpart ;
|
||||
WindowRef window = (WindowRef) MacGetRootWindow() ;
|
||||
|
||||
localwhere.h = x ;
|
||||
localwhere.v = y ;
|
||||
@@ -840,20 +839,7 @@ void wxControl::OnMouseEvent( wxMouseEvent &event )
|
||||
|
||||
if ( event.m_metaDown )
|
||||
modifiers |= cmdKey ;
|
||||
/*
|
||||
#if TARGET_CARBON
|
||||
control = FindControlUnderMouse( localwhere , window , &controlpart ) ;
|
||||
#else
|
||||
controlpart = FindControl( localwhere , window , &control ) ;
|
||||
#endif
|
||||
*/
|
||||
{
|
||||
/*
|
||||
if ( AcceptsFocus() && FindFocus() != this )
|
||||
{
|
||||
SetFocus() ;
|
||||
}
|
||||
*/
|
||||
control = (ControlHandle) m_macControl ;
|
||||
if ( control && ::IsControlActive( control ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user