wxwidgets.cfg: Added support for wxMenu:Append().
This commit is contained in:
parent
6e737082da
commit
f1e5f64690
|
@ -882,6 +882,22 @@
|
|||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
</function>
|
||||
<!-- http://docs.wxwidgets.org/3.1/classwx_menu.html-->
|
||||
<!-- wxMenuItem * Append (int id, const wxString &item=wxEmptyString, const wxString &helpString=wxEmptyString, wxItemKind kind=wxITEM_NORMAL) -->
|
||||
<function name="wxMenu::Append">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<returnValue type="wxMenuItem *"/>
|
||||
<use-retval/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" default="wxEmptyString"/>
|
||||
<arg nr="3" default="wxEmptyString"/>
|
||||
<arg nr="4" default="wxITEM_NORMAL">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- Override macros which don't necessarily require semicolons at the end -->
|
||||
<define name="DECLARE_CLASS(n)" value=""/>
|
||||
<define name="DECLARE_DYNAMIC_CLASS(n)" value=""/>
|
||||
|
|
|
@ -4350,12 +4350,9 @@ const Type* Scope::findType(const std::string & name) const
|
|||
{
|
||||
auto it = definedTypesMap.find(name);
|
||||
|
||||
if (definedTypesMap.end() == it)
|
||||
{
|
||||
if (definedTypesMap.end() == it) {
|
||||
return nullptr;
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
return (*it).second;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue