Remove mention of wxEVENTS_COMPATIBILITY_2_8 from the docs
This macro doesn't exist any more since almost 10 years (see commit
890d70ebea
).
This commit is contained in:
@@ -4762,14 +4762,12 @@ wxEventType wxNewEventType();
|
|||||||
/**
|
/**
|
||||||
Helper macro for definition of custom event table macros.
|
Helper macro for definition of custom event table macros.
|
||||||
|
|
||||||
This macro must only be used if wxEVENTS_COMPATIBILITY_2_8 is 1, otherwise
|
This macro casts the given event handler to the given function type using
|
||||||
it is better and more clear to just use the address of the function
|
@c static_cast to ensure that the actual handler is indeed compatible with
|
||||||
directly as this is all this macro does in this case. However it needs to
|
it, before (unsafely) casting it to a generic function pointer used by the
|
||||||
explicitly cast @a func to @a functype, which is the type of wxEvtHandler
|
event tables.
|
||||||
member function taking the custom event argument when
|
|
||||||
wxEVENTS_COMPATIBILITY_2_8 is 0.
|
|
||||||
|
|
||||||
See wx__DECLARE_EVT0 for an example of use.
|
See wx__DECLARE_EVT1 for an example of use.
|
||||||
|
|
||||||
@see @ref overview_events_custom_ownclass
|
@see @ref overview_events_custom_ownclass
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user