Merge changes from Debian Med packaging of 5.2.0-4
[ctsim.git] / src / ctsim.h
index 3188b1fd1e8cf1e7b94833058d3d672bfe4f9026..2352c7e7bd0cb31134074632d2b88c610d5cd43e 100644 (file)
@@ -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