From: Vadim Zeitlin Date: Sat, 23 Oct 2004 13:55:20 +0000 (+0000) Subject: fixed VC++ size_t -> int conversion warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/37c2aa46d04552a15902859a7b83910dbce9efb6 fixed VC++ size_t -> int conversion warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/docview.h b/include/wx/docview.h index 853772c7b8..449545e4cb 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -565,7 +565,7 @@ public: // Operations virtual void AddFileToHistory(const wxString& file); virtual void RemoveFileFromHistory(size_t i); - virtual int GetMaxFiles() const { return m_fileMaxFiles; } + virtual int GetMaxFiles() const { return (int)m_fileMaxFiles; } virtual void UseMenu(wxMenu *menu); // Remove menu from the list (MDI child may be closing)