wxwidgets.cfg: Added some functions from the deprecated wxWidets-list (http://docs.wxwidgets.org/trunk/deprecated.html).
This commit is contained in:
parent
14e45f9dcb
commit
dea662891a
|
@ -1034,6 +1034,27 @@
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
<!-- http://docs.wxwidgets.org/trunk/classwx_app.html#a420a1cef557cfe2edaee6ffdaaa5f7fb -->
|
||||||
|
<!-- virtual void wxApp::MacOpenFile (const wxString & fileName) -->
|
||||||
|
<function name="wxApp::MacOpenFile">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<warn severity="style">This function is deprecated and kept mostly for backwards compatibility. Please override 'wxApp::MacOpenFiles' method instead in any new code.</warn>
|
||||||
|
</function>
|
||||||
|
<!-- http://docs.wxwidgets.org/trunk/classwx_art_provider.html#ae6090f32579d782205dd247006e4c7de -->
|
||||||
|
<!-- static void wxArtProvider::Insert -->
|
||||||
|
<function name="wxArtProvider::Insert">
|
||||||
|
<noreturn>false</noreturn>
|
||||||
|
<leak-ignore/>
|
||||||
|
<arg nr="1">
|
||||||
|
<not-null/>
|
||||||
|
<not-uninit/>
|
||||||
|
</arg>
|
||||||
|
<warn severity="style">This function is deprecated and kept mostly for backwards compatibility. Please override 'PushBack' method instead in any new code.</warn>
|
||||||
|
</function>
|
||||||
<!-- Override macros which don't necessarily require semicolons at the end -->
|
<!-- Override macros which don't necessarily require semicolons at the end -->
|
||||||
<define name="DECLARE_CLASS(n)" value=""/>
|
<define name="DECLARE_CLASS(n)" value=""/>
|
||||||
<define name="DECLARE_DYNAMIC_CLASS(n)" value=""/>
|
<define name="DECLARE_DYNAMIC_CLASS(n)" value=""/>
|
||||||
|
|
|
@ -58,3 +58,11 @@ void uninitvar()
|
||||||
// cppcheck-suppress uninitvar
|
// cppcheck-suppress uninitvar
|
||||||
wxLogMessage(pcUninit);
|
wxLogMessage(pcUninit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void deprecatedFunctions(wxApp &a, const wxString &s, wxArtProvider *artProvider)
|
||||||
|
{
|
||||||
|
// cppcheck-suppress MacOpenFileCalled
|
||||||
|
a.MacOpenFile(s);
|
||||||
|
// cppcheck-suppress InsertCalled
|
||||||
|
wxArtProvider::Insert(artProvider);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue