]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/notebook.h
Trying hard to make things compile.
[wxWidgets.git] / include / wx / notebook.h
index db1773c2603a30cad6a4f4e15967aa3aec600bbd..81ac3b615d6483c0cf3c02c1f0073111a9ce9b3b 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     01.02.01
 // RCS-ID:      $Id$
 // Copyright:   (c) 1996-2000 wxWidgets team
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_NOTEBOOK_H_BASE_
@@ -116,19 +116,19 @@ END_DECLARE_EVENT_TYPES()
 typedef void (wxEvtHandler::*wxNotebookEventFunction)(wxNotebookEvent&);
 
 #define EVT_NOTEBOOK_PAGE_CHANGED(winid, fn)                                   \
-  DECLARE_EVENT_TABLE_ENTRY(                                                \
-    wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED,                                    \
+  DECLARE_EVENT_TABLE_ENTRY(                                                   \
+    wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED,                                       \
     winid,                                                                     \
-    -1,                                                                     \
+    wxID_ANY,                                                                  \
     (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxNotebookEventFunction, &fn ),  \
-    NULL                                                                    \
+    NULL                                                                       \
   ),
 
 #define EVT_NOTEBOOK_PAGE_CHANGING(winid, fn)                                  \
-  DECLARE_EVENT_TABLE_ENTRY(                                                \
-    wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING,                                   \
+  DECLARE_EVENT_TABLE_ENTRY(                                                   \
+    wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING,                                      \
     winid,                                                                     \
-    -1,                                                                     \
+    wxID_ANY,                                                                  \
     (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxNotebookEventFunction, &fn ),  \
     NULL                                                                    \
   ),