#ifndef _WX_NOTEBOOK_H_BASE_
#define _WX_NOTEBOOK_H_BASE_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "notebookbase.h"
#endif
// ---------
// get number of pages in the dialog
- int GetPageCount() const { return m_pages.GetCount(); }
+ int GetPageCount() const { return (int) m_pages.GetCount(); }
// get the panel which represents the given page
wxNotebookPage *GetPage(int nPage) { return m_pages[nPage]; }
wxArrayPages m_pages; // array of pages
wxImageList *m_imageList; // we can have an associated image list
bool m_ownsImageList; // true if we must delete m_imageList
+
+ DECLARE_NO_COPY_CLASS(wxNotebookBase)
};
// ----------------------------------------------------------------------------
#include "wx/gtk/notebook.h"
#elif defined(__WXMAC__)
#include "wx/mac/notebook.h"
+#elif defined(__WXCOCOA__)
+ #include "wx/generic/notebook.h"
#elif defined(__WXPM__)
#include "wx/os2/notebook.h"
-#elif defined(__WXSTUBS__)
- #include "wx/stubs/notebook.h"
#endif
#endif // wxUSE_NOTEBOOK