X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fctsim.h;h=2352c7e7bd0cb31134074632d2b88c610d5cd43e;hb=HEAD;hp=435f26595dd7fb6e0b68ce1a43ca284f2eecdd0d;hpb=dcc87ab716636e2464e104e6d79d031b2ec6b925;p=ctsim.git diff --git a/src/ctsim.h b/src/ctsim.h index 435f265..2352c7e 100644 --- a/src/ctsim.h +++ b/src/ctsim.h @@ -124,6 +124,13 @@ public: MainFrame(wxDocManager *manager, wxFrame *frame, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, const long type); virtual ~MainFrame(); +#if wxCHECK_VERSION(2,9,0) + // Needed for wx3.0 + void OnMRUFile(wxCommandEvent& event) { + if (m_docManager) m_docManager->OnMRUFile(event); + } +#endif + void OnSize (wxSizeEvent& event); #if CTSIM_WINHELP @@ -218,6 +225,8 @@ private: bool m_bPrintCmdLineImages; bool m_bCmdLineVerboseFlag; + wxDocument* newDocumentHelper (wxDocTemplate* tmpl); + public: CTSimApp(); void OnInitCmdLine(wxCmdLineParser& parser);