Fixed return type of GetPageCount (int -> size_t).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -57,7 +57,7 @@ public:
|
||||
// ---------
|
||||
// Get number of pages in the dialog
|
||||
//
|
||||
int GetPageCount(void) const;
|
||||
size_t GetPageCount(void) const;
|
||||
|
||||
//
|
||||
// Set the currently selected page, return the index of the previously
|
||||
|
@@ -186,7 +186,7 @@ WXDWORD wxNotebook::OS2GetStyle (
|
||||
// wxNotebook accessors
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
int wxNotebook::GetPageCount() const
|
||||
size_t wxNotebook::GetPageCount() const
|
||||
{
|
||||
int nPageInternal = m_pages.Count();
|
||||
int nPageAPI = (int)::WinSendMsg(GetHWND(), BKM_QUERYPAGECOUNT, (MPARAM)0, (MPARAM)BKA_END);
|
||||
|
Reference in New Issue
Block a user