Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-08-21 22:00:12 +00:00
parent 19c43a77ce
commit 34a0c9f4c1
3 changed files with 13 additions and 13 deletions

View File

@@ -40,7 +40,7 @@
// macros
// ----------------------------------------------------------------------------
#define IS_VALID_PAGE(nPage) (((nPage) >= 0) && ((nPage) < GetPageCount()))
#define IS_VALID_PAGE(nPage) (((nPage) >= 0) && ((size_t(nPage)) < GetPageCount()))
// ----------------------------------------------------------------------------
// constants
@@ -381,7 +381,7 @@ wxNotebookPage *wxNotebook::DoRemovePage(size_t nPage)
UpdateSpinBtn();
}
int count = GetPageCount();
size_t count = GetPageCount();
if ( count )
{
if ( m_sel == (size_t)nPage )