X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef0120c1bbb3e9f8031e6aecebb497c58f2be432..7eb8c6ee3e90554c94d05dc06e6826f832640927:/include/wx/listbook.h diff --git a/include/wx/listbook.h b/include/wx/listbook.h index c54b06e33f..73244fc256 100644 --- a/include/wx/listbook.h +++ b/include/wx/listbook.h @@ -5,7 +5,7 @@ // Modified by: // Created: 19.08.03 // RCS-ID: $Id$ -// Copyright: (c) 2003 Vadim Zeitlin +// Copyright: (c) 2003 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -170,7 +170,7 @@ typedef void (wxEvtHandler::*wxListbookEventFunction)(wxListbookEvent&); wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, \ id, \ -1, \ - (wxObjectEventFunction)(wxEventFunction)(wxListbookEventFunction) &fn, \ + (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxListbookEventFunction, &fn ), \ NULL \ ), @@ -179,7 +179,7 @@ typedef void (wxEvtHandler::*wxListbookEventFunction)(wxListbookEvent&); wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, \ id, \ -1, \ - (wxObjectEventFunction)(wxEventFunction)(wxListbookEventFunction) &fn, \ + (wxObjectEventFunction)(wxEventFunction) wxStaticCastEvent( wxListbookEventFunction, &fn ), \ NULL \ ),