]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/notebook.h
Wrappers for *ToText
[wxWidgets.git] / include / wx / notebook.h
index 657912d8a0e2b6320e06cba07016ff6c2c1a770b..8888288d7e7f6c649744c6de1634a8f7bd8a6bf7 100644 (file)
@@ -5,7 +5,7 @@
 // Modified by:
 // Created:     01.02.01
 // RCS-ID:      $Id$
 // Modified by:
 // Created:     01.02.01
 // RCS-ID:      $Id$
-// Copyright:   (c) 1996-2000 wxWindows team
+// Copyright:   (c) 1996-2000 wxWidgets team
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -120,7 +120,7 @@ typedef void (wxEvtHandler::*wxNotebookEventFunction)(wxNotebookEvent&);
     wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED,                                    \
     winid,                                                                     \
     -1,                                                                     \
     wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED,                                    \
     winid,                                                                     \
     -1,                                                                     \
-    (wxObjectEventFunction)(wxEventFunction)(wxNotebookEventFunction) &fn,  \
+    (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxNotebookEventFunction, &fn ),  \
     NULL                                                                    \
   ),
 
     NULL                                                                    \
   ),
 
@@ -129,7 +129,7 @@ typedef void (wxEvtHandler::*wxNotebookEventFunction)(wxNotebookEvent&);
     wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING,                                   \
     winid,                                                                     \
     -1,                                                                     \
     wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING,                                   \
     winid,                                                                     \
     -1,                                                                     \
-    (wxObjectEventFunction)(wxEventFunction)(wxNotebookEventFunction) &fn,  \
+    (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxNotebookEventFunction, &fn ),  \
     NULL                                                                    \
   ),
 
     NULL                                                                    \
   ),
 
@@ -148,7 +148,7 @@ typedef void (wxEvtHandler::*wxNotebookEventFunction)(wxNotebookEvent&);
 #elif defined(__WXMAC__)
     #include  "wx/mac/notebook.h"
 #elif defined(__WXCOCOA__)
 #elif defined(__WXMAC__)
     #include  "wx/mac/notebook.h"
 #elif defined(__WXCOCOA__)
-    #include  "wx/generic/notebook.h"
+    #include  "wx/cocoa/notebook.h"
 #elif defined(__WXPM__)
     #include  "wx/os2/notebook.h"
 #endif
 #elif defined(__WXPM__)
     #include  "wx/os2/notebook.h"
 #endif