]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/bookctrl.cpp
vc6 did not like this (void function returning a value)
[wxWidgets.git] / src / common / bookctrl.cpp
index 32a6ffebe2e651ece96c04b06cd7bbbce997b24b..7f398c2738e59fe644904f0ffc1d58bda0d7242d 100644 (file)
@@ -258,7 +258,7 @@ void wxBookCtrlBase::DoSize()
 
     // resize all pages to fit the new control size
     const wxRect pageRect = GetPageRect();
-    const unsigned pagesCount = m_pages.Count();
+    const unsigned pagesCount = m_pages.GetCount();
     for ( unsigned int i = 0; i < pagesCount; ++i )
     {
         wxWindow * const page = m_pages[i];