+ case DFB_OK:
+ {
+ wxDFBEvent e;
+ ms_buffer->GetEvent(e);
+ HandleDFBEvent(e);
+ break;
+ }
+
+ case DFB_TIMEOUT:
+ // timed out, pretend we processed an event so that
+ // OnNextIteration is called
+ break;
+
+ default:
+ // don't terminate the loop due to errors (they were reported
+ // already by ms_buffer)
+ break;