diff --git a/cfg/wxwidgets.cfg b/cfg/wxwidgets.cfg
index 0395513a942..0a400a6ac1f 100644
--- a/cfg/wxwidgets.cfg
+++ b/cfg/wxwidgets.cfg
@@ -6,6 +6,7 @@
wxSize
wxPoint
wxRealPoint
+ wxVersionInfo
@@ -17004,4 +17005,108 @@ wxItemKind kind = wxITEM_NORMAL) -->
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+ false
+
+
+
+
+
+
+
+ false
+
+
+
+
+
diff --git a/test/cfg/wxwidgets.cpp b/test/cfg/wxwidgets.cpp
index 68404456707..3adc3a965d9 100644
--- a/test/cfg/wxwidgets.cpp
+++ b/test/cfg/wxwidgets.cpp
@@ -29,6 +29,25 @@
#include
#include
#include
+#include
+
+void unreadVariable_wxVersionInfo(const wxString &name, const int major, const int minor, const int micro, const wxString &description, const wxString ©right)
+{
+ // cppcheck-suppress unreadVariable
+ wxVersionInfo a;
+ // cppcheck-suppress unreadVariable
+ wxVersionInfo b(name);
+ // cppcheck-suppress unreadVariable
+ wxVersionInfo c(name, major);
+ // cppcheck-suppress unreadVariable
+ wxVersionInfo d(name, major, minor);
+ // cppcheck-suppress unreadVariable
+ wxVersionInfo e(name, major, minor, micro);
+ // cppcheck-suppress unreadVariable
+ wxVersionInfo f(name, major, minor, micro, description);
+ // cppcheck-suppress unreadVariable
+ wxVersionInfo g(name, major, minor, micro, description, copyright);
+}
void unreadVariable_wxSize(const wxSize &s)
{