X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdf1e7142564c55f5299f1f2d0909090534eb97c..61b50a43aaaf29fe9c2f848958adafc496439123:/include/wx/os2/notebook.h?ds=inline diff --git a/include/wx/os2/notebook.h b/include/wx/os2/notebook.h index fece36062d..7e533d6966 100644 --- a/include/wx/os2/notebook.h +++ b/include/wx/os2/notebook.h @@ -14,9 +14,10 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- -#ifndef _DYNARRAY_H - #include -#endif //_DYNARRAY_H + +#include "wx/dynarray.h" +#include "wx/string.h" +#include "wx/notebook.h" // ---------------------------------------------------------------------------- // types @@ -28,7 +29,7 @@ class WXDLLEXPORT wxWindow; // array of notebook pages typedef wxWindow WXDLLEXPORT wxNotebookPage; // so far, any window can be a page -WX_DEFINE_ARRAY(wxNotebookPage *, wxArrayPages); +WX_DEFINE_ARRAY(wxNotebookPage *, wxArrayNBPages); // ---------------------------------------------------------------------------- // wxNotebook @@ -37,7 +38,7 @@ WX_DEFINE_ARRAY(wxNotebookPage *, wxArrayPages); // FIXME this class should really derive from wxTabCtrl, but the interface is not // exactly the same, so I can't do it right now and instead we reimplement // part of wxTabCtrl here -class WXDLLEXPORT wxNotebook : public wxControl +class WXDLLEXPORT wxNotebook : public wxNotebookBase { public: // ctors @@ -151,7 +152,7 @@ protected: void ChangePage(int nOldSel, int nSel); // change pages wxImageList *m_pImageList; // we can have an associated image list - wxArrayPages m_aPages; // array of pages + wxArrayNBPages m_aPages; // array of pages int m_nSelection; // the current selection (-1 if none)