diff --git a/cfg/wxwidgets.cfg b/cfg/wxwidgets.cfg
index 692e2b32e..4d372eeeb 100644
--- a/cfg/wxwidgets.cfg
+++ b/cfg/wxwidgets.cfg
@@ -1034,6 +1034,27 @@
+
+
+
+ false
+
+
+
+
+ This function is deprecated and kept mostly for backwards compatibility. Please override 'wxApp::MacOpenFiles' method instead in any new code.
+
+
+
+
+ false
+
+
+
+
+
+ This function is deprecated and kept mostly for backwards compatibility. Please override 'PushBack' method instead in any new code.
+
diff --git a/test/cfg/wxwidgets.cpp b/test/cfg/wxwidgets.cpp
index 1e802b91e..4cd062aab 100644
--- a/test/cfg/wxwidgets.cpp
+++ b/test/cfg/wxwidgets.cpp
@@ -58,3 +58,11 @@ void uninitvar()
// cppcheck-suppress uninitvar
wxLogMessage(pcUninit);
}
+
+void deprecatedFunctions(wxApp &a, const wxString &s, wxArtProvider *artProvider)
+{
+ // cppcheck-suppress MacOpenFileCalled
+ a.MacOpenFile(s);
+ // cppcheck-suppress InsertCalled
+ wxArtProvider::Insert(artProvider);
+}