wxwidgets.cfg: Fixed recently introduced FP.

This commit is contained in:
orbitcowboy 2020-02-25 20:23:20 +01:00
parent 7f2f7031e1
commit e9937e3acb
2 changed files with 9 additions and 1 deletions

View File

@ -7779,7 +7779,6 @@
<returnValue type="bool"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" direction="in" default="wxPG_RECURSE">
<not-uninit/>

View File

@ -25,6 +25,15 @@
#include <wx/sizer.h>
#include <wx/string.h>
#include <wx/textctrl.h>
#include <wx/propgrid/property.h>
bool invalidFunctionArgBool_wxPGProperty_Hide(wxPGProperty *pg, bool hide, int flags)
{
// cppcheck-suppress invalidFunctionArgBool
(void)pg->Hide(hide, true);
// No warning is expected for
return pg->Hide(hide, flags);
}
wxTextCtrlHitTestResult nullPointer_wxTextCtrl_HitTest(wxTextCtrl &txtCtrl, const wxPoint &pos)
{