#include <wx/dynarray.h>
#endif //_DYNARRAY_H
+// This is a work-around for missing defines in gcc-2.95 headers
+#ifndef TCS_RIGHT
+#define TCS_RIGHT 0x0002
+#endif
+#ifndef TCS_VERTICAL
+#define TCS_VERTICAL 0x0080
+#endif
+#ifndef TCS_BOTTOM
+#define TCS_BOTTOM TCS_RIGHT
+#endif
// ----------------------------------------------------------------------------
// types
// ----------------------------------------------------------------------------
// array of notebook pages
typedef wxWindow WXDLLEXPORT wxNotebookPage; // so far, any window can be a page
-#undef WXDLLEXPORTLOCAL
-#define WXDLLEXPORTLOCAL WXDLLEXPORT
-
WX_DEFINE_ARRAY(wxNotebookPage *, wxArrayPages);
-#undef WXDLLEXPORTLOCAL
-#define WXDLLEXPORTLOCAL
-
// ----------------------------------------------------------------------------
// wxNotebook
// ----------------------------------------------------------------------------
// callbacks
// ---------
- void OnWindowCreate(wxWindowCreateEvent& event);
+ void OnSize(wxSizeEvent& event);
void OnSelChange(wxNotebookEvent& event);
void OnSetFocus(wxFocusEvent& event);
void OnNavigationKey(wxNavigationKeyEvent& event);