wxwidgets.cfg: Added support for some functions from wx/dc.h

This commit is contained in:
orbitcowboy 2019-01-10 16:26:00 +01:00
parent 0557111c0c
commit 205179fbb8
1 changed files with 30 additions and 0 deletions

View File

@ -1785,6 +1785,36 @@
<not-null/> <not-null/>
</arg> </arg>
</function> </function>
<!-- static wxColour wxSystemSettings::GetColour(wxSystemColour index) -->
<function name="wxSystemSettings::GetColour">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="wxColour"/>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- void wxDC::DrawLine (const wxPoint &pt1, const wxPoint &pt2) -->
<function name="wxDC::DrawLine">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="2"/>
</function>
<!-- void wxDC::DrawRectangle (const wxPoint & pt, const wxSize & sz) -->
<function name="wxDC::DrawRectangle">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="2"/>
</function>
<!-- void wxDC::SetPen(const wxPen & pen) -->
<!-- void wxDC::SetBrush(const wxBrush & pen) -->
<!-- void wxDC::SetFont(const wxFont & font) -->
<function name="wxDC::SetPen,wxDC::SetBrush,wxDC::SetFont">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"/>
</function>
<define name="wxOVERRIDE" value="override"/> <define name="wxOVERRIDE" value="override"/>
<define name="wxEXPLICIT" value="explicit"/> <define name="wxEXPLICIT" value="explicit"/>
<define name="WXSIZEOF(array)" value="(sizeof(array)/sizeof(array[0]))"/> <define name="WXSIZEOF(array)" value="(sizeof(array)/sizeof(array[0]))"/>