|
/
IMPLEMENT_CLASS( CCamFrame, wxDocMDIParentFrame ) BEGIN_EVENT_TABLE( CCamFrame, wxDocMDIParentFrame )
EVT_MENU_RANGE( AUTO_MENU_ID_MIN, AUTO_MENU_ID_MAX, CCamFrame::OnMenuCommand )
EVT_MENU( _R(DOCVIEW_ZOOMIN), CCamFrame::OnZoomIn ) EVT_MENU( _R(DOCVIEW_ZOOMOUT), CCamFrame::OnZoomOut ) EVT_MENU( _R(DOCVIEW_ZOOMDRAWING), CCamFrame::OnZoomDrawing ) EVT_MENU( _R(DOCVIEW_ZOOMSPREAD), CCamFrame::OnZoomPage ) EVT_MENU( _R(DOCVIEW_ZOOMPREVIOUS), CCamFrame::OnZoomPrevious ) EVT_MENU( _R(DOCVIEW_QUALITYOUTLINE), CCamFrame::OnQualityOutline ) EVT_MENU( _R(DOCVIEW_QUALITYSIMPLE), CCamFrame::OnQualitySimple ) EVT_MENU( _R(DOCVIEW_QUALITYNORMAL), CCamFrame::OnQualityNormal ) EVT_MENU( _R(DOCVIEW_QUALITYANTIALIASED), CCamFrame::OnQualityAntialiased ) EVT_MENU( _R(DOCVIEW_BACKGROUNDRENDER), CCamFrame::OnBackgroundRender ) EVT_MENU( _R(DOCVIEW_CACHING), CCamFrame::OnCaching ) EVT_MENU( _R(DOCVIEW_DOUBLEBUFFER), CCamFrame::OnDoubleBuffer ) EVT_MENU( _R(DOCVIEW_TIMEREDRAW), CCamFrame::OnTimeRedraw ) if defined(_DEBUG) EVT_MENU( _R(DOCVIEW_BLOBBYDLG), CCamFrame::OnBlobbyDlg ) EVT_MENU( _R(DOCVIEW_BLOBBYBAR), CCamFrame::OnBlobbyBar ) EVT_MENU( _R(DEBUG_TREEVIEWDLG), CCamFrame::OnTreeView ) endif Using the dialog IDs here as menu IDs is a bodge, but should work EVT_MENU( _R(IDD_BUTTBAR_GENERAL), CCamFrame::OnStandardBar ) EVT_MENU( _R(IDD_BUTTBAR_IMAGESETTING), CCamFrame::OnStandardBar ) EVT_MENU( _R(IDD_BUTTBAR_WINDOW), CCamFrame::OnStandardBar ) EVT_MENU( _R(IDD_BUTTBAR_ARRANGE), CCamFrame::OnStandardBar ) EVT_MENU( _R(IDD_BUTTBAR_EDIT), CCamFrame::OnStandardBar ) EVT_MENU( _R(IDD_BUTTBAR_FILE), CCamFrame::OnStandardBar ) EVT_MENU( _R(IDD_BUTTBAR_GALLERIES), CCamFrame::OnStandardBar ) EVT_MENU( _R(IDD_BUTTBAR_STANDARD), CCamFrame::OnStandardBar ) EVT_MENU( _R(IDD_BUTTBAR_TOOLBAR), CCamFrame::OnStandardBar ) EVT_MENU( _R(IDD_BUTTBAR_ANIMATION), CCamFrame::OnStandardBar ) EVT_MENU( _R(IDD_BUTTBAR_FEATHER), CCamFrame::OnStandardBar ) EVT_MENU( _R(IDD_BUTTBAR_STATUS), CCamFrame::OnStandardBar )
EVT_MENU_OPEN( CCamFrame::OnInitMenuPopup )
EVT_UPDATE_UI( _R(IDD_BUTTBAR_GENERAL), CCamFrame::OnUpdateStandardBar ) EVT_UPDATE_UI( _R(IDD_BUTTBAR_IMAGESETTING), CCamFrame::OnUpdateStandardBar ) EVT_UPDATE_UI( _R(IDD_BUTTBAR_WINDOW), CCamFrame::OnUpdateStandardBar ) EVT_UPDATE_UI( _R(IDD_BUTTBAR_ARRANGE), CCamFrame::OnUpdateStandardBar ) EVT_UPDATE_UI( _R(IDD_BUTTBAR_EDIT), CCamFrame::OnUpdateStandardBar ) EVT_UPDATE_UI( _R(IDD_BUTTBAR_FILE), CCamFrame::OnUpdateStandardBar ) EVT_UPDATE_UI( _R(IDD_BUTTBAR_GALLERIES), CCamFrame::OnUpdateStandardBar ) EVT_UPDATE_UI( _R(IDD_BUTTBAR_STANDARD), CCamFrame::OnUpdateStandardBar ) EVT_UPDATE_UI( _R(IDD_BUTTBAR_TOOLBAR), CCamFrame::OnUpdateStandardBar ) EVT_UPDATE_UI( _R(IDD_BUTTBAR_ANIMATION), CCamFrame::OnUpdateStandardBar ) EVT_UPDATE_UI( _R(IDD_BUTTBAR_FEATHER), CCamFrame::OnUpdateStandardBar ) EVT_UPDATE_UI( _R(IDD_BUTTBAR_STATUS), CCamFrame::OnUpdateStandardBar )
EVT_UPDATE_UI( _R(DOCVIEW_ZOOMPREVIOUS), CCamFrame::OnUpdateZoomPrevious ) EVT_UPDATE_UI( _R(DOCVIEW_QUALITYOUTLINE), CCamFrame::OnUpdateQualityOutline ) EVT_UPDATE_UI( _R(DOCVIEW_QUALITYSIMPLE), CCamFrame::OnUpdateQualitySimple ) EVT_UPDATE_UI( _R(DOCVIEW_QUALITYNORMAL), CCamFrame::OnUpdateQualityNormal ) EVT_UPDATE_UI( _R(DOCVIEW_QUALITYANTIALIASED), CCamFrame::OnUpdateQualityAntialiased ) EVT_UPDATE_UI( _R(DOCVIEW_BACKGROUNDRENDER), CCamFrame::OnUpdateBackgroundRender ) EVT_UPDATE_UI( _R(DOCVIEW_CACHING), CCamFrame::OnUpdateCaching ) EVT_UPDATE_UI( _R(DOCVIEW_DOUBLEBUFFER), CCamFrame::OnUpdateDoubleBuffer ) if !defined(USE_WXAUI) EVT_SIZE(CCamFrame::OnSize) EVT_MOVE(CCamFrame::OnMove) endif
EVT_CLOSE(CCamFrame::OnCloseWindow) END_EVENT_TABLE()
/*!/
CCamFrame::CCamFrame( wxDocManager *manager, wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size, /*TYPENOTE: Correct
Definition at line 262 of file camframe.cpp. |