From 58161defc3d91ed3bdb4e098325dad40c334697a Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 26 Aug 2005 08:21:43 +0000 Subject: [PATCH] Warning corrections git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/univ/notebook.h | 2 +- include/wx/univ/radiobox.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/univ/notebook.h b/include/wx/univ/notebook.h index 4ef1065d3e..606e297b6f 100644 --- a/include/wx/univ/notebook.h +++ b/include/wx/univ/notebook.h @@ -68,7 +68,7 @@ public: // -------------------------------------- virtual int SetSelection(size_t nPage); - virtual int GetSelection() const { return m_sel; } + virtual int GetSelection() const { return (int) m_sel; } virtual bool SetPageText(size_t nPage, const wxString& strText); virtual wxString GetPageText(size_t nPage) const; diff --git a/include/wx/univ/radiobox.h b/include/wx/univ/radiobox.h index 67cf04bc1e..eee6327faf 100644 --- a/include/wx/univ/radiobox.h +++ b/include/wx/univ/radiobox.h @@ -88,7 +88,7 @@ public: virtual void SetSelection(int n); virtual int GetSelection() const; - virtual int GetCount() const { return m_buttons.GetCount(); } + virtual int GetCount() const { return (int) m_buttons.GetCount(); } virtual int GetColumnCount() const { return m_numCols; } virtual int GetRowCount() const { return m_numRows; }