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"/> <returnValue type="bool"/>
<arg nr="1" direction="in"> <arg nr="1" direction="in">
<not-uninit/> <not-uninit/>
<not-bool/>
</arg> </arg>
<arg nr="2" direction="in" default="wxPG_RECURSE"> <arg nr="2" direction="in" default="wxPG_RECURSE">
<not-uninit/> <not-uninit/>

View File

@ -25,6 +25,15 @@
#include <wx/sizer.h> #include <wx/sizer.h>
#include <wx/string.h> #include <wx/string.h>
#include <wx/textctrl.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) wxTextCtrlHitTestResult nullPointer_wxTextCtrl_HitTest(wxTextCtrl &txtCtrl, const wxPoint &pos)
{ {