]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed return type of GetPageCount (int -> size_t).
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 31 Aug 2003 18:25:53 +0000 (18:25 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 31 Aug 2003 18:25:53 +0000 (18:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/os2/notebook.h
src/os2/notebook.cpp

index 4adaa2c64fed766c9f7ee4b876f34ebc4bb01f64..48e60c5b08c81e9fa351b03c3fca3493b35b8309 100644 (file)
@@ -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
index fe64de12818c4a3d5e815710cb4d2fb16d0ad229..af5ac8b27e184866b89715a492fdd31f5110631c 100644 (file)
@@ -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);