wxwidgets.cfg: Added support for more interfaces, found by daca@home report: http://cppcheck1.osuosl.org:8000/check_library_function_report.html

This commit is contained in:
orbitcowboy 2020-10-01 09:42:55 +02:00
parent da6f10e369
commit 7bf6883d1a
1 changed files with 152 additions and 3 deletions

View File

@ -677,6 +677,9 @@
<define name="wxMM_LOMETRIC" value="3"/>
<define name="wxMM_TWIPS" value="4"/>
<define name="wxMM_POINTS" value="5"/>
<define name="wxFromStart" value="0"/>
<define name="wxFromCurrent" value="1"/>
<define name="wxFromEnd" value="2"/>
<define name="wxDVC_DEFAULT_RENDERER_SIZE" value="20"/>
<define name="wxDVC_DEFAULT_WIDTH" value="80"/>
<define name="wxDVC_TOGGLE_DEFAULT_WIDTH" value="30"/>
@ -3836,6 +3839,10 @@
<define name="wxFILE_EXISTS_SOCKET" value="0x0020"/>
<define name="wxFILE_EXISTS_NO_FOLLOW" value="0x1000"/>
<define name="wxFILE_EXISTS_ANY" value="0x1FFF"/>
<define name="wxFILE_KIND_UNKNOWN" value="0"/>
<define name="wxFILE_KIND_DISK" value="1"/>
<define name="wxFILE_KIND_TERMINAL" value="2"/>
<define name="wxFILE_KIND_PIPE" value="3"/>
<define name="wxPG_ITERATOR_CREATE_MASKS(FLAGS,A,B)" value="{ A = (FLAGS ^ 29732) &amp; 29732 &amp; 0xFFFF; B = ((FLAGS&lt;&lt;16) ^ 29732) &amp; 29732 &amp; 0xFFFF; }"/>
<define name="wxPG_ITERATOR_PARENTEXMASK_TEST(PWC,PARENTMASK)" value="( !PWC-&gt;HasFlag(PARENTMASK) &amp;&amp; PWC-&gt;GetChildCount() )"/>
<define name="wxPG_IT_CHILDREN(A)" value="((A)&lt;&lt;16)"/>
@ -4655,6 +4662,26 @@
<define name="wxCROSS_CURSOR" value="wxStockGDI::GetCursor(wxStockGDI::CURSOR_CROSS)"/>
<define name="wxHOURGLASS_CURSOR" value="wxStockGDI::GetCursor(wxStockGDI::CURSOR_HOURGLASS)"/>
<define name="wxSTANDARD_CURSOR" value="wxStockGDI::GetCursor(wxStockGDI::CURSOR_STANDARD)"/>
<define name="wxS_IRUSR" value="00400"/>
<define name="wxS_IWUSR" value="00200"/>
<define name="wxS_IXUSR" value="00100"/>
<define name="wxS_IRGRP" value="00040"/>
<define name="wxS_IWGRP" value="00020"/>
<define name="wxS_IXGRP" value="00010"/>
<define name="wxS_IROTH" value="00004"/>
<define name="wxS_IWOTH" value="00002"/>
<define name="wxS_IXOTH" value="00001"/>
<define name="wxPOSIX_USER_READ" value="00400"/>
<define name="wxPOSIX_USER_WRITE" value="00200"/>
<define name="wxPOSIX_USER_EXECUTE" value="00100"/>
<define name="wxPOSIX_GROUP_READ" value="00040"/>
<define name="wxPOSIX_GROUP_WRITE" value="00020"/>
<define name="wxPOSIX_GROUP_EXECUTE" value="00010"/>
<define name="wxPOSIX_OTHERS_READ" value="00004"/>
<define name="wxPOSIX_OTHERS_WRITE" value="00002"/>
<define name="wxPOSIX_OTHERS_EXECUTE" value="00001"/>
<define name="wxS_DEFAULT" value="2"/>
<define name="wxS_DIR_DEFAULT" value="3"/>
<define name="wxPG_INVALID_VALUE" value="INT_MAX"/>
<define name="wxPG_DONT_RECURSE" value="0x00000000"/>
<define name="wxPG_BASE_OCT" value="(long)8"/>
@ -6239,8 +6266,10 @@
<!--virtual bool wxFilePickerCtrl::Enable(bool enable = true)-->
<!--virtual bool wxStaticBitmap::Enable(bool enable = true)-->
<!--virtual bool wxSpinCtrl::Enable(bool enable = true)-->
<!--virtual bool wxSlider::Enable(bool enable = true)-->
<!--virtual bool wxChoice::Enable(bool enable = true)-->
<!--virtual bool wxOwnerDrawnComboBox::Enable(bool enable = true)-->
<function name="wxWindow::Enable,wxComboBox::Enable,wxButton::Enable,wxStaticBitmap::Enable,wxSpinCtrl::Enable,wxAnyButton::Enable,wxCommandLinkButton::Enable,wxToggleButton::Enable,wxOwnerDrawnComboBox::Enable,wxBitmapToggleButton::Enable,wxContextHelpButton::Enable,wxBitmapButton::Enable,wxPropertyGridManager::Enable,wxFilePickerCtrl::Enable">
<function name="wxWindow::Enable,wxSlider::Enable,wxChoice::Enable,wxComboBox::Enable,wxButton::Enable,wxStaticBitmap::Enable,wxSpinCtrl::Enable,wxAnyButton::Enable,wxCommandLinkButton::Enable,wxToggleButton::Enable,wxOwnerDrawnComboBox::Enable,wxBitmapToggleButton::Enable,wxContextHelpButton::Enable,wxBitmapButton::Enable,wxPropertyGridManager::Enable,wxFilePickerCtrl::Enable">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="bool"/>
@ -7498,6 +7527,26 @@
</arg>
<arg nr="6" direction="in" default="wxScrolledWindow"/>
</function>
<!-- bool wxStaticText::Create(wxWindow * parent, wxWindowID id, const wxString & title, const wxPoint & pos = wxDefaultPosition, const wxSize & size = wxDefaultSize, long style = 0, const wxString & name = wxDialogNameStr) -->
<function name="wxStaticText::Create">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="bool"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="3" direction="in"/>
<arg nr="4" direction="in" default="wxDefaultPosition"/>
<arg nr="5" direction="in" default="wxDefaultSize"/>
<arg nr="6" direction="in" default="0">
<not-bool/>
</arg>
<arg nr="7" direction="in" default="wxStaticTextNameStr"/>
</function>
<!-- bool wxDialog::Create(wxWindow * parent, wxWindowID id, const wxString & title, const wxPoint & pos = wxDefaultPosition, const wxSize & size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString & name = wxDialogNameStr) -->
<function name="wxDialog::Create">
<noreturn>false</noreturn>
@ -7542,6 +7591,18 @@
</arg>
<arg nr="2" direction="in"/>
</function>
<!-- void wxCheckListBox::Check (unsigned int item, bool check = true ) -->
<function name="wxCheckListBox::Check">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" default="true" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void wxGrid::SetReadOnly(int row, int col, bool isReadOnly = true) -->
<function name="wxGrid::SetReadOnly">
<noreturn>false</noreturn>
@ -7764,6 +7825,22 @@
<not-bool/>
</arg>
</function>
<!-- bool wxFileName::Mkdir(int perm = wxS_DIR_DEFAULT, int flags = 0) const -->
<function name="wxFileName::Mkdir">
<use-retval/>
<returnValue type="bool"/>
<noreturn>false</noreturn>
<leak-ignore/>
<const/>
<arg nr="1" default="wxS_DIR_DEFAULT" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" default="0" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void wxCommandEvent::SetInt(int intCommand) -->
<function name="wxCommandEvent::SetInt">
<noreturn>false</noreturn>
@ -7892,7 +7969,8 @@
<!-- void wxTextCtrl::SetToolTip(const wxString & tipString) -->
<!-- void wxRadioBox::SetToolTip(const wxString & tipString) -->
<!-- void wxComboBox::SetToolTip(const wxString & tipString) -->
<function name="wxComboBox::SetToolTip,wxWindow::SetToolTip,wxCheckBox::SetToolTip,wxButton::SetToolTip,wxBitmapButton::SetToolTip,wxTextCtrl::SetToolTip,wxRadioBox::SetToolTip">
<!-- void wxStaticText::SetToolTip(const wxString & tipString) -->
<function name="wxComboBox::SetToolTip,wxWindow::SetToolTip,wxCheckBox::SetToolTip,wxButton::SetToolTip,wxBitmapButton::SetToolTip,wxTextCtrl::SetToolTip,wxRadioBox::SetToolTip,wxStaticText::SetToolTip">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1" direction="in"/>
@ -8033,6 +8111,17 @@
</arg>
<arg nr="2" direction="in"/>
</function>
<!-- size_t wxStrlen ( const wxCharBuffer & s) -->
<!-- size_t wxStrlen ( const wxWCharBuffer & s ) -->
<!-- size_t wxStrlen ( const wxString & s ) -->
<!-- size_t wxStrlen ( const wxCStrData & s) -->
<function name="wxStrlen">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="size_t"/>
<use-retval/>
<arg nr="1" direction="in"/>
</function>
<!-- int wxAtoi(const wxString & str)-->
<function name="wxAtoi">
<noreturn>false</noreturn>
@ -8736,6 +8825,17 @@
<leak-ignore/>
<arg nr="1" direction="in"/>
</function>
<!-- virtual wxControl* wxToolBar::FindControl(int id) -->
<function name="wxToolBar::FindControl">
<noreturn>false</noreturn>
<returnValue type="wxControl*"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!--virtual wxToolBarToolBase* wxToolBar::AddControl(wxControl * control, const wxString & label = wxEmptyString)-->
<function name="wxToolBar::AddControl">
<noreturn>false</noreturn>
@ -9471,6 +9571,17 @@
<not-uninit/>
</arg>
</function>
<!-- bool wxDir::GetNext(wxString * filename) const -->
<function name="wxDir::GetNext">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<const/>
<leak-ignore/>
<use-retval/>
<arg nr="1" direction="out">
<not-null/>
</arg>
</function>
<!-- bool wxDir::GetFirst(wxString * filename, const wxString & filespec = wxEmptyString, int flags = wxDIR_DEFAULT) const-->
<function name="wxDir::GetFirst">
<noreturn>false</noreturn>
@ -9976,6 +10087,22 @@
<not-bool/>
</arg>
</function>
<!-- virtual wxInputStream& wxInputStream::Read (void * buffer, size_t size) -->
<!-- virtual wxInputStream& wxInputStream::ReadAll (void * buffer, size_t size) -->
<function name="wxInputStream::Read,wxInputStream::ReadAll">
<noreturn>false</noreturn>
<leak-ignore/>
<returnValue type="wxInputStream &amp;"/>
<arg nr="1" direction="out">
<not-null/>
<not-bool/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
<minsize type="argvalue" arg="1"/>
</arg>
</function>
<!-- void wxPropertyGridManager::SetSplitterPosition(int pos, int column = 0) -->
<function name="wxPropertyGridManager::SetSplitterPosition">
<noreturn>false</noreturn>
@ -10110,6 +10237,14 @@
<use-retval/>
<arg nr="1" direction="in"/>
</function>
<!-- wxString wxPathOnly(const wxString & path) -->
<function name="wxPathOnly">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="wxString"/>
<use-retval/>
<arg nr="1" direction="in"/>
</function>
<!-- void wxGridCellAttr::GetAlignment( int * hAlign, int * vAlign ) -->
<function name="wxGridCellAttr::GetAlignment">
<leak-ignore/>
@ -10451,9 +10586,11 @@
<not-bool/>
</arg>
</function>
<!-- virtual void wxWindow::SetValidator(const wxValidator & validator) -->
<!-- virtual void wxTextCtrl::SetValidator(const wxValidator & validator) -->
<!-- virtual void wxGridCellTextEditor::SetValidator(const wxValidator & validator) -->
<!-- virtual void wxGridCellFloatEditor::SetValidator(const wxValidator & validator) -->
<function name="wxGridCellTextEditor::SetValidator,wxGridCellFloatEditor::SetValidator">
<function name="wxWindow::SetValidator,wxTextCtrl::SetValidator,wxGridCellTextEditor::SetValidator,wxGridCellFloatEditor::SetValidator">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="void"/>
@ -13283,6 +13420,18 @@ wxItemKind kind = wxITEM_NORMAL) -->
<leak-ignore/>
<arg nr="any" direction="in"/>
</function>
<!--void wxCommandEvent::SetClientData(void * clientData)-->
<!--void wxCommandEvent::SetClientObject(void * clientObj)-->
<function name="wxCommandEvent::SetClientData,wxCommandEvent::SetClientObject">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-null/>
<not-bool/>
</arg>
</function>
<!--virtual void wxWindow::SetMinClientSize(const wxSize & size)-->
<!--virtual void wxWindow::SetMinSize(const wxSize & size)-->
<!--virtual void wxGrid::SetMinClientSize(const wxSize & size)-->