// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
-#ifndef _DYNARRAY_H
- #include <wx/dynarray.h>
-#endif //_DYNARRAY_H
+
+#include "wx/control.h"
+#include "wx/dynarray.h"
// ----------------------------------------------------------------------------
// types
class WXDLLEXPORT wxWindow;
// array of notebook pages
-typedef wxWindow WXDLLEXPORT wxNotebookPage; // so far, any window can be a page
+//typedef wxWindow WXDLLEXPORT wxNotebookPage; // so far, any window can be a page
+typedef wxWindow wxNotebookPage; // so far, any window can be a page
-WX_DEFINE_ARRAY(wxNotebookPage *, wxArrayPages);
+WX_DEFINE_EXPORTED_ARRAY(wxNotebookPage *, wxArrayPages);
// ----------------------------------------------------------------------------
// wxNotebook
// 3) set for each page it's image
// associate image list with a control
void SetImageList(wxImageList* imageList);
+ void AssignImageList(wxImageList* imageList);
// get pointer (may be NULL) to the associated image list
wxImageList* GetImageList() const { return m_pImageList; }
void ChangePage(int nOldSel, int nSel); // change pages
wxImageList *m_pImageList; // we can have an associated image list
+ bool m_bOwnsImageList;
wxArrayPages m_aPages; // array of pages
int m_nSelection; // the current selection (-1 if none)