]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/docview.h
wxNotebook::HitTest() for wxMSW added (patch 748469)
[wxWidgets.git] / include / wx / docview.h
index 81a4177100f55f45799feef74e457450d4ead1f2..b5c29be800221a97016315d6a09d2f2c4e5c2a23 100644 (file)
@@ -569,7 +569,7 @@ public:
     virtual wxString GetHistoryFile(size_t i) const;
     virtual size_t GetCount() const { return m_fileHistoryN; }
 
-    wxList& GetMenus() const { return (wxList&) m_fileMenus; }
+    const wxList& GetMenus() const { return m_fileMenus; }
 
     // deprecated, use GetCount() instead
     wxDEPRECATED( size_t GetNoHistoryFiles() const );