wxwidgets.cfg: Fixed some FPs for wxTextCtrl::GetSelection(), where the argument direction was wrongly set as input.

This commit is contained in:
orbitcowboy 2022-04-18 15:41:50 +02:00
parent 36ef4dc5b8
commit 6746da5e53
2 changed files with 12 additions and 2 deletions

View File

@ -14886,10 +14886,10 @@ wxItemKind kind = wxITEM_NORMAL) -->
<returnValue type="void"/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<arg nr="1" direction="out">
<not-null/>
</arg>
<arg nr="2" direction="in">
<arg nr="2" direction="out">
<not-null/>
</arg>
</function>

View File

@ -42,6 +42,16 @@ bool duplicateBreak_wxLogApiError(const wxString &msg, const HRESULT &hr, wxStri
}
#endif
void argDirection_wxTextCtrl_GetSelection(const wxTextCtrl *const textCtrl)
{
// No warning is expected. Ensure both arguments are treated
// as output by library configuration
long start;
long end;
textCtrl->GetSelection(&start, &end);
if(start > 0 && end > 0){}
}
void useRetval_wxString_MakeCapitalized(wxString &str)
{
// No warning is expected for