Adding a flush_events method to the MacOSX backend
Merge pull request #2245 from mdehoon/macosx_flush_events

Adding a flush_events method to the MacOSX backend