]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/notebook.h
Fixes for 16-bit compilation
[wxWidgets.git] / include / wx / msw / notebook.h
index 934be280476a610ba17b6cc835aef9cdfd04462c..8b94e5ce8fb0efc2c3ce6e242c973749bb72c835 100644 (file)
@@ -18,6 +18,7 @@
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
+
 #ifndef   _DYNARRAY_H
   #include <wx/dynarray.h>
 #endif  //_DYNARRAY_H
@@ -33,13 +34,7 @@ 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
+WX_DEFINE_EXPORTED_ARRAY(wxNotebookPage *, wxArrayPages);
 
 // ----------------------------------------------------------------------------
 // wxNotebook
@@ -143,7 +138,7 @@ public:
 
   // callbacks
   // ---------
-  void OnWindowCreate(wxWindowCreateEvent& event);
+  void OnSize(wxSizeEvent& event);
   void OnSelChange(wxNotebookEvent& event);
   void OnSetFocus(wxFocusEvent& event);
   void OnNavigationKey(wxNavigationKeyEvent& event);