wxwidgets.cfg: wxBEGIN_EVENT_TABLE: Added 'void' to functions without arguments.

This commit is contained in:
orbitcowboy 2018-03-26 16:07:10 +02:00
parent 22291d2262
commit db045c2bf6
1 changed files with 1 additions and 1 deletions

View File

@ -1349,7 +1349,7 @@
<define name="wxDEFINE_EVENT( name, type )" value=""/> <define name="wxDEFINE_EVENT( name, type )" value=""/>
<define name="BEGIN_EVENT_TABLE(a,b)" value="wxBEGIN_EVENT_TABLE(a,b)"/> <define name="BEGIN_EVENT_TABLE(a,b)" value="wxBEGIN_EVENT_TABLE(a,b)"/>
<define name="END_EVENT_TABLE()" value="wxEND_EVENT_TABLE()"/> <define name="END_EVENT_TABLE()" value="wxEND_EVENT_TABLE()"/>
<define name="wxBEGIN_EVENT_TABLE(theClass, baseClass)" value="const wxEventTable theClass::sm_eventTable = { &amp;baseClass::sm_eventTable, &amp;theClass::sm_eventTableEntries[0] }; const wxEventTable *theClass::GetEventTable() const { return &amp;theClass::sm_eventTable; } wxEventHashTable theClass::sm_eventHashTable(theClass::sm_eventTable); wxEventHashTable &amp;theClass::GetEventHashTable() const { return theClass::sm_eventHashTable; } const wxEventTableEntry theClass::sm_eventTableEntries[] = {"/> <define name="wxBEGIN_EVENT_TABLE(theClass, baseClass)" value="const wxEventTable theClass::sm_eventTable = { &amp;baseClass::sm_eventTable, &amp;theClass::sm_eventTableEntries[0] }; const wxEventTable *theClass::GetEventTable(void) const { return &amp;theClass::sm_eventTable; } wxEventHashTable theClass::sm_eventHashTable(theClass::sm_eventTable); wxEventHashTable &amp;theClass::GetEventHashTable(void) const { return theClass::sm_eventHashTable; } const wxEventTableEntry theClass::sm_eventTableEntries[] = {"/>
<define name="wxEND_EVENT_TABLE()" value="wxDECLARE_EVENT_TABLE_TERMINATOR() };"/> <define name="wxEND_EVENT_TABLE()" value="wxDECLARE_EVENT_TABLE_TERMINATOR() };"/>
<define name="wxDECLARE_EVENT_TABLE_TERMINATOR()" value="wxEventTableEntry(wxEVT_NULL, 0, 0, 0, 0)"/> <define name="wxDECLARE_EVENT_TABLE_TERMINATOR()" value="wxEventTableEntry(wxEVT_NULL, 0, 0, 0, 0)"/>
<!-- http://docs.wxwidgets.org/trunk/group__group__funcmacro__debug.html --> <!-- http://docs.wxwidgets.org/trunk/group__group__funcmacro__debug.html -->