Skip to content

Commit 5c5d6a8

Browse files
authored
wxwidgets.cfg: Added support for more interfaces (#6219)
1 parent 2626e2e commit 5c5d6a8

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

cfg/wxwidgets.cfg

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
<check>wxColourDatabase</check>
2222
<check>wxCursor</check>
2323
<check>wxDateSpan</check>
24+
<check>wxDelegateRendererNative</check>
25+
<check>wxHeaderButtonParams</check>
26+
<check>wxRendererNative</check>
27+
<check>wxRendererVersion</check>
28+
<check>wxTextWrapper</check>
2429
<check>wxDCClipper</check>
2530
<check>wxDCBrushChanger</check>
2631
<check>wxDCFontChanger</check>
@@ -62,7 +67,9 @@
6267
<check>wxTIFFHandler</check>
6368
<check>wxXPMHandler</check>
6469
<check>wxMask</check>
70+
<check>wxMetafile</check>
6571
<check>wxNativeFontInfo</check>
72+
<check>wxPalette</check>
6673
<check>wxPen</check>
6774
<check>wxPenList</check>
6875
<check>wxPoint</check>
@@ -71,11 +78,13 @@
7178
<check>wxPosition</check>
7279
<check>wxRealPoint</check>
7380
<check>wxRegion</check>
81+
<check>wxRegionIterator</check>
7482
<check>wxRegEx</check>
7583
<check>wxRect</check>
7684
<check>wxSize</check>
7785
<check>wxSizer</check>
7886
<check>wxSizerItem</check>
87+
<check>wxSplitterRenderParams</check>
7988
<check>wxStaticBoxSizer</check>
8089
<check>wxStdDialogButtonSizer</check>
8190
<check>wxSystemOptions</check>

test/cfg/wxwidgets.cpp

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,16 @@
5252
#include <wx/mimetype.h>
5353
#if defined(__WXMSW__)
5454
#include <wx/msw/ole/automtn.h>
55+
#include <wx/metafile.h>
5556
#include <wx/msw/ole/oleutils.h>
5657
#endif
58+
#include <wx/palette.h>
5759
#include <wx/pen.h>
5860
#include <wx/position.h>
5961
#include <wx/propgrid/property.h>
6062
#include <wx/regex.h>
6163
#include <wx/region.h>
64+
#include <wx/renderer.h>
6265
#include <wx/settings.h>
6366
#include <wx/spinctrl.h>
6467
#include <wx/sizer.h>
@@ -202,6 +205,30 @@ void unreadVariable_wxStaticBoxSizer(wxStaticBox *box, const int orient, wxWindo
202205
wxStaticBoxSizer c(orient, parent, label);
203206
}
204207

208+
void unusedVariable_wxDelegateRendererNative()
209+
{
210+
// cppcheck-suppress unusedVariable
211+
wxDelegateRendererNative a;
212+
}
213+
214+
void unusedVariable_wxHeaderButtonParams()
215+
{
216+
// cppcheck-suppress unusedVariable
217+
wxHeaderButtonParams a;
218+
}
219+
220+
void unusedVariable_wxRegionIterator()
221+
{
222+
// cppcheck-suppress unusedVariable
223+
wxRegionIterator a;
224+
}
225+
226+
void unusedVariable_wxPalette()
227+
{
228+
// cppcheck-suppress unusedVariable
229+
wxPalette a;
230+
}
231+
205232
void unusedVariable_wxJPEGHandler()
206233
{
207234
// cppcheck-suppress unusedVariable
@@ -425,6 +452,13 @@ void unreadVariable_wxVariant(wxVariantData *data,
425452
}
426453

427454
#if defined(__WXMSW__)
455+
456+
void unusedVariable_wxMetafile()
457+
{
458+
// cppcheck-suppress unusedVariable
459+
wxMetafile a;
460+
}
461+
428462
void unusedVariable_wxVariantDataErrorCode()
429463
{
430464
// cppcheck-suppress unusedVariable

0 commit comments

Comments
 (0)