From 37c2aa46d04552a15902859a7b83910dbce9efb6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 23 Oct 2004 13:55:20 +0000 Subject: [PATCH] fixed VC++ size_t -> int conversion warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/docview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)