wxwidgets.cfg: Added support for more interfaces, found by daca@home

This commit is contained in:
orbitcowboy 2020-10-02 20:32:14 +02:00
parent aa055fe430
commit 7a4f55aaed
1 changed files with 19 additions and 1 deletions

View File

@ -36,6 +36,8 @@
<define name="wxConstCast(p,classname)" value="const_cast&lt;(classname)&gt;(p)"/>
<define name="wxStaticCast(p,classname)" value="static_cast&lt;(classname)&gt;(p)"/>
<define name="wx_reinterpret_cast(t,x)" value="reinterpret_cast&lt;t&gt;(x)"/>
<define name="wxPtrToUInt(p)" value="reinterpret_cast&lt; wxUIntPtr &gt;(p)"/>
<define name="wxUIntToPtr(p)" value="reinterpret_cast&lt; void * &gt;(p)"/>
<define name="wxEVENT_HANDLER_CAST( functype, func )" value="reinterpret_cast&lt;functype&gt;(&amp;func);"/>
<define name="wxDLG_UNIT(parent,pt)" value="parent-&lt;ConvertDialogToPixels(pt)"/>
<define name="wxDL_INIT_FUNC_AW(pfx, name, dynlib)" value=""/>
@ -7917,7 +7919,7 @@
<!-- void wxEvtHandler::Connect(int id, int lastId, wxEventType eventType, wxObjectEventFunction function, wxObject * userData = NULL, wxEvtHandler * eventSink = NULL) -->
<!-- void wxEvtHandler::Connect(int id, wxEventType eventType, wxObjectEventFunction function, wxObject * userData = NULL, wxEvtHandler * eventSink = NULL)-->
<!-- void wxEvtHandler::Connect(wxEventType eventType, wxObjectEventFunction function, wxObject * userData = NULL, wxEvtHandler * eventSink = NULL)-->
<function name="wxEvtHandler::Connect,wxStyledTextCtrl::Connect,wxStaticText::Connect,wxTextCtrl::Connect,wxStaticBitmap::Connect,wxButton::Connect,wxSlider::Connect,wxBitmapButton::Connect,wxCheckBox::Connect">
<function name="wxEvtHandler::Connect,wxStyledTextCtrl::Connect,wxComboBox::Connect,wxStaticText::Connect,wxTextCtrl::Connect,wxStaticBitmap::Connect,wxButton::Connect,wxSlider::Connect,wxBitmapButton::Connect,wxCheckBox::Connect">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="void"/>
@ -14552,4 +14554,20 @@ wxItemKind kind = wxITEM_NORMAL) -->
<not-uninit/>
</arg>
</function>
<!-- wxColour wxColourDatabase::Find(const wxString & colourName) const -->
<function name="wxColourDatabase::Find,wxTheColourDatabase::Find">
<noreturn>false</noreturn>
<const/>
<returnValue type="wxColour"/>
<use-retval/>
<arg nr="1" direction="in"/>
</function>
<!-- wxString wxColourDatabase::FindName(const wxColour & colour) const -->
<function name="wxColourDatabase::FindName,wxTheColourDatabase::FindName">
<noreturn>false</noreturn>
<const/>
<returnValue type="wxString"/>
<use-retval/>
<arg nr="1" direction="in"/>
</function>
</def>