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:
Stefan Csomor
2002-08-24 20:20:04 +00:00
parent b9deec0e79
commit 3340066af6
19 changed files with 46 additions and 114 deletions

View File

@@ -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 ) )
{