remove semicolon from wxDECLARE_EVENT; having it there was inconsistent with other wxXXX_EVENT macros and generally unexpected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3823,6 +3823,14 @@ wxEventType wxNewEventType();
|
||||
The class @a cls must be the wxEvent-derived class associated with the
|
||||
events of this type and its full declaration must be visible from the point
|
||||
of use of this macro.
|
||||
|
||||
For example:
|
||||
@code
|
||||
wxDECLARE_EVENT(MY_COMMAND_EVENT, wxCommandEvent);
|
||||
|
||||
class MyCustomEvent : public wxEvent { ... };
|
||||
wxDECLARE_EVENT(MY_CUSTOM_EVENT, MyCustomEvent);
|
||||
@endcode
|
||||
*/
|
||||
#define wxDECLARE_EVENT(name, cls) \
|
||||
wxDECLARE_EXPORTED_EVENT(wxEMPTY_PARAMETER_VALUE, name, cls)
|
||||
|
Reference in New Issue
Block a user