X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..524b59ff2e7ff9e6f4e3eb4ce856d9497ce650b8:/include/wx/notebook.h diff --git a/include/wx/notebook.h b/include/wx/notebook.h index f5bab344d7..d29d1a32e1 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 \ ),