if (((IDirectFBEventBuffer *)nativeData)->GetEvent(ev)==DFB_OK) {
if ( ((IDirectFBEventBuffer *) nativeData)->GetEvent(ev) ) {
jboolean Java_vdr_mhp_awt_DFBWindowPeer_00024EventThread_getEvent(JNIEnv* env, jobject obj, jlong nativeData, jlong nativeEvent) {   try {      DFBEvent *ev=(DFBEvent *)nativeEvent;      if (((IDirectFBEventBuffer *)nativeData)->GetEvent(ev)==DFB_OK) {         if (ev->clazz == DFEC_WINDOW)            return true;      }   } catch (DFBException *e) {      printf("DirectFB: Error %s, %s\n", e->GetAction(), e->GetResult());      delete e;   }   return false;}