wxwidgets.cfg: Fixed FP due to overlaoded function wxSizer::Add().
This commit is contained in:
parent
ecb3c04fba
commit
ef05be2600
|
@ -943,7 +943,8 @@
|
|||
<leak-ignore/>
|
||||
<returnValue type="wxSizerItem*"/>
|
||||
<arg nr="1">
|
||||
<not-null/>
|
||||
<!-- <not-null/> Deactivated due to FPs with overloaded function: wxSizerItem * Add (int width, int height, int proportion=0, int flag=0, int border=0, wxObject *userData=NULL) -->
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" default="0">
|
||||
<not-uninit/>
|
||||
|
|
|
@ -83,7 +83,7 @@ void nullPointer(const wxString &str)
|
|||
void nullPointer_wxSizer_Add(wxSizer &sizer, wxWindow *w)
|
||||
{
|
||||
wxWindow * const ptr = 0;
|
||||
// cppcheck-suppress nullPointer
|
||||
// @todo cppcheck-suppress nullPointer
|
||||
sizer.Add(ptr);
|
||||
// No warning shall be issued for
|
||||
sizer.Add(w);
|
||||
|
|
Loading…
Reference in New Issue