diff --git a/include/wx/docview.h b/include/wx/docview.h index 79bb6d7175..2eba2371c9 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -594,6 +594,10 @@ public: const wxList& GetMenus() const { return m_fileMenus; } + // Set/get base id + void SetBaseId(wxWindowID baseId) { m_idBase = baseId; } + wxWindowID GetBaseId() const { return m_idBase; } + #if WXWIN_COMPATIBILITY_2_6 // deprecated, use GetCount() instead wxDEPRECATED( size_t GetNoHistoryFiles() const );