From 57f9e048f0477497ec2fd777b0525a53a54eb05a Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Thu, 4 Apr 2024 08:04:08 +0200 Subject: [PATCH] wxwidgets.cfg: Added support for more interfaces (#6228) --- cfg/wxwidgets.cfg | 25 +++++++++++++++++++++---- test/cfg/wxwidgets.cpp | 6 ++++++ 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/cfg/wxwidgets.cfg b/cfg/wxwidgets.cfg index d1eb318aaae..cefcb5cf914 100644 --- a/cfg/wxwidgets.cfg +++ b/cfg/wxwidgets.cfg @@ -78,6 +78,7 @@ wxPosition wxRealPoint wxRegion + wxRegionContain wxRegionIterator wxRegEx wxRect @@ -3612,6 +3613,10 @@ + + + + @@ -11058,14 +11063,16 @@ - - + + + false + - + false @@ -17006,7 +17013,8 @@ wxItemKind kind = wxITEM_NORMAL) --> - + + false @@ -17089,6 +17097,15 @@ wxItemKind kind = wxITEM_NORMAL) --> + + + false + + + + + + diff --git a/test/cfg/wxwidgets.cpp b/test/cfg/wxwidgets.cpp index ad9a0de2de7..f2d92a61d9e 100644 --- a/test/cfg/wxwidgets.cpp +++ b/test/cfg/wxwidgets.cpp @@ -223,6 +223,12 @@ void unusedVariable_wxRegionIterator() wxRegionIterator a; } +void unusedVariable_wxRegionContain() +{ + // cppcheck-suppress unusedVariable + wxRegionContain a; +} + void unusedVariable_wxPalette() { // cppcheck-suppress unusedVariable