]> git.saurik.com Git - wxWidgets.git/commitdiff
Provide access to file history base id
authorJulian Smart <julian@anthemion.co.uk>
Sun, 14 Jan 2007 12:43:01 +0000 (12:43 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 14 Jan 2007 12:43:01 +0000 (12:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/docview.h

index 79bb6d71753db9a43dc1a02e48be4b255c085cc0..2eba2371c9fe902e1836c7f5dbe6eb651333bccd 100644 (file)
@@ -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 );