wxwidgets.cfg: Define macros which don't necessarily require semicolons at the end
This commit is contained in:
parent
d5df7e0001
commit
26ec339120
|
@ -54,4 +54,25 @@
|
|||
<returnValue type="bool"/>
|
||||
<use-retval/>
|
||||
</function>
|
||||
<!-- Override macros which don't necessarily require semicolons at the end -->
|
||||
<define name="DECLARE_CLASS(n)" value=""/>
|
||||
<define name="DECLARE_DYNAMIC_CLASS(n)" value=""/>
|
||||
<define name="DECLARE_ABSTRACT_CLASS(n)" value=""/>
|
||||
<define name="IMPLEMENT_DYNAMIC_CLASS(n,b)" value=""/>
|
||||
<define name="IMPLEMENT_ABSTRACT_CLASS(n,b)" value=""/>
|
||||
<define name="DECLARE_EVENT_TYPE(name, value)" value=""/>
|
||||
<define name="DECLARE_LOCAL_EVENT_TYPE(name, value)" value=""/>
|
||||
<define name="DEFINE_EVENT_TYPE(name)" value=""/>
|
||||
<define name="DEFINE_LOCAL_EVENT_TYPE(name)" value=""/>
|
||||
<define name="DECLARE_EVENT_TABLE()" value=""/>
|
||||
<define name="wxDECLARE_EVENT( name, type )" value=""/>
|
||||
<define name="wxDECLARE_NO_COPY_CLASS(classname)" value=""/>
|
||||
<define name="wxDEFINE_EVENT( name, type )" value=""/>
|
||||
<!-- Override begin/end macros slightly differently -->
|
||||
<!-- In order to avoid overriding all the possible event types we just replace with a semicolon -->
|
||||
<!-- We could turn these into multi-line comments, but that wouldn't work if there was one inside the begin/end -->
|
||||
<define name="BEGIN_EVENT_TABLE(a,b)" value=";"/>
|
||||
<define name="END_EVENT_TABLE()" value=";"/>
|
||||
<define name="wxBEGIN_EVENT_TABLE(a,b)" value=";"/>
|
||||
<define name="wxEND_EVENT_TABLE()" value=";"/>
|
||||
</def>
|
||||
|
|
Loading…
Reference in New Issue