X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d0f3cd6ac9b38521b35f21cb94ef7d72aa34b9e..4f3ac409263ef169b015057f2718c6a98498f163:/include/wx/msw/notebook.h?ds=sidebyside diff --git a/include/wx/msw/notebook.h b/include/wx/msw/notebook.h index 934be28047..1a5dde10c1 100644 --- a/include/wx/msw/notebook.h +++ b/include/wx/msw/notebook.h @@ -22,6 +22,16 @@ #include #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 // ---------------------------------------------------------------------------- @@ -33,14 +43,8 @@ class WXDLLEXPORT wxWindow; // 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 // ---------------------------------------------------------------------------- @@ -143,7 +147,7 @@ public: // callbacks // --------- - void OnWindowCreate(wxWindowCreateEvent& event); + void OnSize(wxSizeEvent& event); void OnSelChange(wxNotebookEvent& event); void OnSetFocus(wxFocusEvent& event); void OnNavigationKey(wxNavigationKeyEvent& event);