X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..c3357374af44fdcae9d326e62ab5a39d9517102d:/include/wx/msw/notebook.h diff --git a/include/wx/msw/notebook.h b/include/wx/msw/notebook.h index 4b95a47eb7..fde5197f80 100644 --- a/include/wx/msw/notebook.h +++ b/include/wx/msw/notebook.h @@ -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)