wxwidget.cfg: Added support for more interfaces.

This commit is contained in:
orbitcowboy 2019-12-22 11:11:59 +01:00
parent a8960e35a4
commit 2ca866f781
2 changed files with 20 additions and 5 deletions

View File

@ -7105,9 +7105,7 @@
<use-retval/>
<returnValue type="wxTextCtrlHitTestResult"/>
<arg nr="1" direction="in"/>
<arg nr="2" direction="out">
<not-null/>
</arg>
<arg nr="2" direction="out"/>
<arg nr="3" direction="out" default="NULL"/>
</function>
<!-- void wxGridCellAttr::SetBackgroundColour(const wxColour &c) -->
@ -12107,7 +12105,7 @@
<use-retval/>
<arg nr="1" direction="in"/>
</function>
<!--wxSizerFlags& wxSizerFlags::Border(int direction, int borderinpixels) -->
<!--wxSizerFlags& wxSizerFlags::Align(int direction) -->
<function name="wxSizerFlags::Border">
<noreturn>false</noreturn>
<returnValue type="wxSizerFlags &amp;"/>
@ -12115,7 +12113,17 @@
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
</function>
<!--wxSizerFlags& wxSizerFlags::Border(int direction = wxALL) -->
<!--wxSizerFlags& wxSizerFlags::Border(int direction, int borderinpixels) -->
<function name="wxSizerFlags::Border">
<noreturn>false</noreturn>
<returnValue type="wxSizerFlags &amp;"/>
<leak-ignore/>
<arg nr="1" direction="in" default="wxALL">
<not-uninit/>
</arg>
<arg nr="2" direction="in" default="0">
<not-uninit/>
</arg>
</function>

View File

@ -24,6 +24,13 @@
#include <wx/stattext.h>
#include <wx/sizer.h>
#include <wx/string.h>
#include <wx/textctrl.h>
wxTextCtrlHitTestResult nullPointer_wxTextCtrl_HitTest(wxTextCtrl &txtCtrl, const wxPoint &pos)
{
// no nullPointer-warning is expected
return txtCtrl.HitTest(pos, NULL);
}
void validCode()
{