wxwidgets.cfg: Fixed some FPs for wxTextCtrl::GetSelection(), where the argument direction was wrongly set as input.
This commit is contained in:
parent
36ef4dc5b8
commit
6746da5e53
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue