nsWatchTask::GetTask().EventLoopReached();
static pascal void myProc ( NavEventCallbackMessage msg, NavCBRecPtr cbRec, NavCallBackUserData data ){	switch ( msg ) {	case kNavCBEvent:		switch ( cbRec->eventData.eventDataParms.event->what ) {		case updateEvt:        	WindowPtr window = reinterpret_cast<WindowPtr>(cbRec->eventData.eventDataParms.event->message);		    if (window) {				::BeginUpdate(window);				::EndUpdate(window);			}			break;		}		break;	}}