X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fctsim.h;h=2352c7e7bd0cb31134074632d2b88c610d5cd43e;hb=HEAD;hp=3188b1fd1e8cf1e7b94833058d3d672bfe4f9026;hpb=52e0918dbbadcf53d4f4a9d1ec1748f854a4e4bf;p=ctsim.git diff --git a/src/ctsim.h b/src/ctsim.h index 3188b1f..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