X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a497618a568bfdd1059e3f51b560a98fd25b1003..bfb9ee966d5d1f29e49f38e340812ade4b3cc956:/include/wx/msw/notebook.h?ds=inline diff --git a/include/wx/msw/notebook.h b/include/wx/msw/notebook.h index 8b94e5ce8f..fde5197f80 100644 --- a/include/wx/msw/notebook.h +++ b/include/wx/msw/notebook.h @@ -19,9 +19,8 @@ // headers // ---------------------------------------------------------------------------- -#ifndef _DYNARRAY_H - #include -#endif //_DYNARRAY_H +#include "wx/control.h" +#include "wx/dynarray.h" // ---------------------------------------------------------------------------- // types @@ -32,7 +31,8 @@ class WXDLLEXPORT wxImageList; 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_EXPORTED_ARRAY(wxNotebookPage *, wxArrayPages); @@ -92,6 +92,7 @@ public: // 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; } @@ -157,6 +158,7 @@ protected: 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)