diff --git a/cfg/wxwidgets.cfg b/cfg/wxwidgets.cfg
index 120c2ad8acb..2c451c97243 100644
--- a/cfg/wxwidgets.cfg
+++ b/cfg/wxwidgets.cfg
@@ -103,6 +103,7 @@
wxVector
wxVersionInfo
wxWrapSizer
+ wxZipEntry
wxZipInputStream
diff --git a/test/cfg/wxwidgets.cpp b/test/cfg/wxwidgets.cpp
index fdbe81a8168..e7de6c1b0f5 100644
--- a/test/cfg/wxwidgets.cpp
+++ b/test/cfg/wxwidgets.cpp
@@ -112,12 +112,6 @@ void unreadVariable_wxDCTextBgColourChanger(wxDC &dc, const wxColour &colour)
}
#endif
-void unreadVariable_wxArchiveIterator()
-{
- // cppcheck-suppress unreadVariable
- wxArchiveIterator a;
-}
-
void unreadVariable_wxZipEntry(const wxZipEntry &entry)
{
// cppcheck-suppress unreadVariable