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:
Stefan Neis
2003-08-31 18:25:53 +00:00
parent 621ccd8a82
commit 21323df7fe
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ public:
// --------- // ---------
// Get number of pages in the dialog // 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 // Set the currently selected page, return the index of the previously

View File

@@ -186,7 +186,7 @@ WXDWORD wxNotebook::OS2GetStyle (
// wxNotebook accessors // wxNotebook accessors
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
int wxNotebook::GetPageCount() const size_t wxNotebook::GetPageCount() const
{ {
int nPageInternal = m_pages.Count(); int nPageInternal = m_pages.Count();
int nPageAPI = (int)::WinSendMsg(GetHWND(), BKM_QUERYPAGECOUNT, (MPARAM)0, (MPARAM)BKA_END); int nPageAPI = (int)::WinSendMsg(GetHWND(), BKM_QUERYPAGECOUNT, (MPARAM)0, (MPARAM)BKA_END);