X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..af51080d149236d28af5484096a1b5eda43b5ae0:/include/wx/notebook.h diff --git a/include/wx/notebook.h b/include/wx/notebook.h index f5bab344d7..4264acdf56 100644 --- a/include/wx/notebook.h +++ b/include/wx/notebook.h @@ -53,7 +53,7 @@ public: // ctors // ----- - wxNotebookBase(); + wxNotebookBase() { } wxNotebookBase(wxWindow *parent, wxWindowID winid, @@ -120,7 +120,7 @@ typedef void (wxEvtHandler::*wxNotebookEventFunction)(wxNotebookEvent&); wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, \ winid, \ -1, \ - (wxObjectEventFunction)(wxEventFunction)(wxNotebookEventFunction) &fn, \ + (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxNotebookEventFunction, &fn ), \ NULL \ ), @@ -129,7 +129,7 @@ typedef void (wxEvtHandler::*wxNotebookEventFunction)(wxNotebookEvent&); wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, \ winid, \ -1, \ - (wxObjectEventFunction)(wxEventFunction)(wxNotebookEventFunction) &fn, \ + (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxNotebookEventFunction, &fn ), \ NULL \ ), @@ -148,7 +148,7 @@ typedef void (wxEvtHandler::*wxNotebookEventFunction)(wxNotebookEvent&); #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