wxwidgets.cfg: Fixed FPs due to wrong direction attribute set for wxString::ToDouble and wxString::ToCDouble().
This commit is contained in:
parent
6746da5e53
commit
24303bfdd3
|
@ -9173,7 +9173,7 @@
|
|||
<leak-ignore/>
|
||||
<const/>
|
||||
<returnValue type="bool"/>
|
||||
<arg nr="1" direction="in">
|
||||
<arg nr="1" direction="out">
|
||||
<not-null/>
|
||||
</arg>
|
||||
</function>
|
||||
|
|
|
@ -42,6 +42,24 @@ bool duplicateBreak_wxLogApiError(const wxString &msg, const HRESULT &hr, wxStri
|
|||
}
|
||||
#endif
|
||||
|
||||
void argDirection_wxString_ToDouble(const wxString &str)
|
||||
{
|
||||
// No warning is expected. Ensure both arguments are treated
|
||||
// as output by library configuration
|
||||
double value;
|
||||
const bool convOk = str.ToDouble(&value);
|
||||
if(convOk && value <= 42.0){}
|
||||
}
|
||||
|
||||
void argDirection_wxString_ToCDouble(const wxString &str)
|
||||
{
|
||||
// No warning is expected. Ensure both arguments are treated
|
||||
// as output by library configuration
|
||||
double value;
|
||||
const bool convOk = str.ToCDouble(&value);
|
||||
if(convOk && value <= 42.0){}
|
||||
}
|
||||
|
||||
void argDirection_wxTextCtrl_GetSelection(const wxTextCtrl *const textCtrl)
|
||||
{
|
||||
// No warning is expected. Ensure both arguments are treated
|
||||
|
|
Loading…
Reference in New Issue