objectview decouple from mainframe.use doc event instead of wx-event.