]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/notebook.h
corrected conditional include
[wxWidgets.git] / include / wx / os2 / notebook.h
index fece36062dc9251ddca224d9f9bed8158ba37fd9..39415272d8558a7ede9d03cac0263fd8e51dd2bd 100644 (file)
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
-#ifndef   _DYNARRAY_H
-  #include <wx/dynarray.h>
-#endif  //_DYNARRAY_H
+
+#include "wx/dynarray.h"
+#include "wx/string.h"
+#include "wx/control.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
@@ -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)