diff --git a/include/wx/choicebk.h b/include/wx/choicebk.h index 0539b353dd..972a97c6a0 100644 --- a/include/wx/choicebk.h +++ b/include/wx/choicebk.h @@ -111,7 +111,7 @@ private: // ---------------------------------------------------------------------------- // wxChoicebookEvent is obsolete and defined for compatibility only -typedef wxBookCtrlEvent wxChoicebookEvent; +#define wxChoicebookEvent wxBookCtrlEvent typedef wxBookCtrlEventFunction wxChoicebookEventFunction; #define wxChoicebookEventHandler(func) wxBookCtrlEventHandler(func) diff --git a/include/wx/toolbook.h b/include/wx/toolbook.h index bfe6211e8f..f3e3e3aad2 100644 --- a/include/wx/toolbook.h +++ b/include/wx/toolbook.h @@ -128,7 +128,7 @@ private: // ---------------------------------------------------------------------------- // wxToolbookEvent is obsolete and defined for compatibility only -typedef wxBookCtrlEvent wxToolbookEvent; +#define wxToolbookEvent wxBookCtrlEvent typedef wxBookCtrlEventFunction wxToolbookEventFunction; #define wxToolbookEventHandler(func) wxBookCtrlEventHandler(func) diff --git a/include/wx/treebook.h b/include/wx/treebook.h index 30bc563e0d..a6bd61d2d1 100644 --- a/include/wx/treebook.h +++ b/include/wx/treebook.h @@ -229,7 +229,7 @@ private: // ---------------------------------------------------------------------------- // wxTreebookEvent is obsolete and defined for compatibility only -typedef wxBookCtrlEvent wxTreebookEvent; +#define wxTreebookEvent wxBookCtrlEvent typedef wxBookCtrlEventFunction wxTreebookEventFunction; #define wxTreebookEventHandler(func) wxBookCtrlEventHandler(func)