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:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user