- EVT_MENU (ID_SAMPLES, LifeFrame::OnSamples)
- EVT_MENU (ID_RESET, LifeFrame::OnMenu)
- EVT_MENU (ID_ABOUT, LifeFrame::OnMenu)
- EVT_MENU (ID_EXIT, LifeFrame::OnMenu)
- EVT_MENU (ID_START, LifeFrame::OnMenu)
- EVT_MENU (ID_STEP, LifeFrame::OnMenu)
- EVT_MENU (ID_STOP, LifeFrame::OnMenu)
- EVT_MENU (ID_TOPSPEED, LifeFrame::OnMenu)
- EVT_MENU (ID_SHOWNAV, LifeFrame::OnMenu)
- EVT_MENU (ID_ORIGIN, LifeFrame::OnNavigate)
- EVT_BUTTON (ID_CENTER, LifeFrame::OnNavigate)
- EVT_BUTTON (ID_NORTH, LifeFrame::OnNavigate)
- EVT_BUTTON (ID_SOUTH, LifeFrame::OnNavigate)
- EVT_BUTTON (ID_EAST, LifeFrame::OnNavigate)
- EVT_BUTTON (ID_WEST, LifeFrame::OnNavigate)
- EVT_MENU (ID_ZOOMIN, LifeFrame::OnZoom)
- EVT_MENU (ID_ZOOMOUT, LifeFrame::OnZoom)
- EVT_COMMAND_SCROLL (ID_SLIDER, LifeFrame::OnSlider)
- EVT_TIMER (ID_TIMER, LifeFrame::OnTimer)
- EVT_CLOSE ( LifeFrame::OnClose)
+ EVT_MENU (wxID_NEW, LifeFrame::OnMenu)
+#if wxUSE_FILEDLG
+ EVT_MENU (wxID_OPEN, LifeFrame::OnOpen)
+#endif
+ EVT_MENU (ID_SAMPLES, LifeFrame::OnSamples)
+ EVT_MENU (wxID_ABOUT, LifeFrame::OnMenu)
+ EVT_MENU (wxID_EXIT, LifeFrame::OnMenu)
+ EVT_MENU (ID_SHOWNAV, LifeFrame::OnMenu)
+ EVT_MENU (ID_ORIGIN, LifeFrame::OnNavigate)
+ EVT_BUTTON (ID_CENTER, LifeFrame::OnNavigate)
+ EVT_BUTTON (ID_NORTH, LifeFrame::OnNavigate)
+ EVT_BUTTON (ID_SOUTH, LifeFrame::OnNavigate)
+ EVT_BUTTON (ID_EAST, LifeFrame::OnNavigate)
+ EVT_BUTTON (ID_WEST, LifeFrame::OnNavigate)
+ EVT_MENU (wxID_ZOOM_IN, LifeFrame::OnZoom)
+ EVT_MENU (wxID_ZOOM_OUT,LifeFrame::OnZoom)
+ EVT_MENU (ID_INFO, LifeFrame::OnMenu)
+ EVT_MENU (ID_START, LifeFrame::OnMenu)
+ EVT_MENU (ID_STEP, LifeFrame::OnMenu)
+ EVT_MENU (wxID_STOP, LifeFrame::OnMenu)
+ EVT_MENU (ID_TOPSPEED, LifeFrame::OnMenu)
+ EVT_COMMAND_SCROLL (ID_SLIDER, LifeFrame::OnSlider)
+ EVT_TIMER (ID_TIMER, LifeFrame::OnTimer)
+ EVT_CLOSE ( LifeFrame::OnClose)