#pragma hdrstop
#endif
-#ifdef __VMS
-#define XtDisplay XTDISPLAY
-#endif
-
#include "wx/scrolwin.h"
#ifndef WX_PRECOMP
while ( win->GetParent() != m_targetWindow )
{
win = win->GetParent();
- wxCHECK_RET( win, "incorrectly sent wxChildFocusEvent - not our child" );
+ if ( !win )
+ return; // event is not from a child of the target window
}
// if the child is not fully visible, try to scroll it into view: