Skip to content

Commit a61add3

Browse files
authored
wxwidgets.cfg: Added support for more interfaces (#6215)
1 parent bd1c5c6 commit a61add3

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

cfg/wxwidgets.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
<check>wxFontInfo</check>
3636
<check>wxFontList</check>
3737
<check>wxFontMetrics</check>
38+
<check>wxGBPosition</check>
39+
<check>wxGBSizerItem</check>
40+
<check>wxGBSpan</check>
3841
<check>wxGraphicsGradientStop</check>
3942
<check>wxGraphicsGradientStops</check>
4043
<check>wxGridBagSizer</check>

test/cfg/wxwidgets.cpp

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,22 @@ void unreadVariable_wxDCBrushChanger(wxDC &dc, const wxBrush &brush)
129129
wxDCBrushChanger a(dc, brush);
130130
}
131131

132+
void unreadVariable_wxGBSpan(const int x)
133+
{
134+
// cppcheck-suppress unusedVariable
135+
wxGBSpan a;
136+
// cppcheck-suppress unreadVariable
137+
wxGBSpan b(x, x);
138+
}
139+
140+
void unreadVariable_wxGBPosition(const int x)
141+
{
142+
// cppcheck-suppress unusedVariable
143+
wxGBPosition a;
144+
// cppcheck-suppress unreadVariable
145+
wxGBPosition b(x, x);
146+
}
147+
132148
void unreadVariable_wxWrapSizer(const int x)
133149
{
134150
// cppcheck-suppress unreadVariable
@@ -141,6 +157,12 @@ void unreadVariable_wxGridBagSizer(const int x)
141157
wxGridBagSizer a(x, x);
142158
}
143159

160+
void unreadVariable_wxGBSizerItem(const int x, const wxGBPosition &pos)
161+
{
162+
// cppcheck-suppress unreadVariable
163+
wxGBSizerItem a(x, x, pos);
164+
}
165+
144166
void unreadVariable_wxSizerItem(const int x)
145167
{
146168
// cppcheck-suppress unreadVariable

0 commit comments

Comments
 (0)