Fix signed/unsigned comparison warnings in wxUniv wxNotebook.

Recent replacement of size_t wxNotebook::m_selection with int
wxBookCtrlBase::m_selection resulted in appearance of many warnings in wxUniv
wxNotebook. Fix them by removing some now unnecessary casts between int and
size_t and adjusting the remaining ones.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-11-10 13:52:29 +00:00
parent 7822ffb1de
commit 1f1dee6b0d
2 changed files with 26 additions and 23 deletions

View File

@@ -201,10 +201,10 @@ protected:
wxSize GetSizeForPage(const wxSize& size) const;
// scroll the tabs so that the first page shown becomes the given one
void ScrollTo(int page);
void ScrollTo(size_t page);
// scroll the tabs so that the first page shown becomes the given one
void ScrollLastTo(int page);
void ScrollLastTo(size_t page);
// the pages titles
wxArrayString m_titles;