--- toolkit/source/awt/vclxaccessiblecomponent.cxx	2004-10-22 17:06:04.000000000 +0530
+++ toolkit/source/awt/vclxaccessiblecomponent.cxx	2005-03-11 13:45:05.395403899 +0530
@@ -202,7 +202,7 @@ IMPL_LINK( VCLXAccessibleComponent, Wind
 	DBG_CHKTHIS(VCLXAccessibleComponent,0);
 
 	DBG_ASSERT( pEvent && pEvent->ISA( VclWindowEvent ), "Unknown WindowEvent!" );
-	if ( pEvent && pEvent->ISA( VclWindowEvent ) )
+	if ( mxWindow.is() && pEvent && pEvent->ISA( VclWindowEvent ) )
 	{
 		DBG_ASSERT( ((VclWindowEvent*)pEvent)->GetWindow(), "Window???" );
         if( !((VclWindowEvent*)pEvent)->GetWindow()->IsAccessibilityEventsSuppressed() || ( pEvent->GetId() == VCLEVENT_OBJECT_DYING ) )
