Make it possible to forward declare wx{Choice,Tool,Tree}bookEvent again.
Don't use typedef for these classes as it makes it impossible to forward-declare them, just use #define instead as we already do for wxListbookEvent and wxNotebookEvent. This allows forward declaration and is also more consistent. Closes #12242. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user