3131#include < wx/dynarray.h>
3232#include < wx/filefn.h>
3333#include < wx/font.h>
34+ #include < wx/fontenum.h>
35+ #include < wx/fontutil.h>
3436#include < wx/frame.h>
37+ #include < wx/gbsizer.h>
3538#include < wx/gdicmn.h>
3639#include < wx/geometry.h>
3740#include < wx/graphics.h>
6265#include < wx/variant.h>
6366#include < wx/vector.h>
6467#include < wx/versioninfo.h>
68+ #include < wx/wrapsizer.h>
6569
6670#if wxCHECK_VERSION(3, 1, 6) // wxWidets-3.1.6 or higher
6771void unreadVariable_wxBitmapBundle (const wxBitmap &bmp, const wxIcon &icon, const wxImage &image, const char *const * xpm, const wxBitmapBundle &bundle)
@@ -81,6 +85,114 @@ void unreadVariable_wxBitmapBundle(const wxBitmap &bmp, const wxIcon &icon, cons
8185}
8286#endif
8387
88+ #if wxCHECK_VERSION(3, 1, 3) // wxWidets-3.1.3 or higher
89+ void unreadVariable_wxDCTextBgModeChanger (wxDC &dc)
90+ {
91+ // cppcheck-suppress unreadVariable
92+ wxDCTextBgModeChanger a (dc);
93+ }
94+
95+ void unreadVariable_wxDCTextBgColourChanger (wxDC &dc, const wxColour &colour)
96+ {
97+ // cppcheck-suppress unreadVariable
98+ wxDCTextBgColourChanger a (dc);
99+ // cppcheck-suppress unreadVariable
100+ wxDCTextBgColourChanger b (dc, colour);
101+ }
102+ #endif
103+
104+ void unreadVariable_wxDCTextColourChanger (wxDC &dc, const wxColour &colour)
105+ {
106+ // cppcheck-suppress unreadVariable
107+ wxDCTextColourChanger a (dc);
108+ // cppcheck-suppress unreadVariable
109+ wxDCTextColourChanger b (dc, colour);
110+ }
111+
112+ void unreadVariable_wxDCPenChanger (wxDC &dc, const wxPen &pen)
113+ {
114+ // cppcheck-suppress unreadVariable
115+ wxDCPenChanger a (dc, pen);
116+ }
117+
118+ void unreadVariable_wxDCFontChanger (wxDC &dc, const wxFont &font)
119+ {
120+ // cppcheck-suppress unreadVariable
121+ wxDCFontChanger a (dc);
122+ // cppcheck-suppress unreadVariable
123+ wxDCFontChanger b (dc, font);
124+ }
125+
126+ void unreadVariable_wxDCBrushChanger (wxDC &dc, const wxBrush &brush)
127+ {
128+ // cppcheck-suppress unreadVariable
129+ wxDCBrushChanger a (dc, brush);
130+ }
131+
132+ void unreadVariable_wxWrapSizer (const int x)
133+ {
134+ // cppcheck-suppress unreadVariable
135+ wxWrapSizer a (x, x);
136+ }
137+
138+ void unreadVariable_wxGridBagSizer (const int x)
139+ {
140+ // cppcheck-suppress unreadVariable
141+ wxGridBagSizer a (x, x);
142+ }
143+
144+ void unreadVariable_wxSizerItem (const int x)
145+ {
146+ // cppcheck-suppress unreadVariable
147+ wxSizerItem a (x, x);
148+ }
149+
150+ void unreadVariable_wxFlexGridSizer (const int x)
151+ {
152+ // cppcheck-suppress unreadVariable
153+ wxFlexGridSizer a (x, x, x);
154+ }
155+
156+ void unreadVariable_wxBoxSizer (const int orient)
157+ {
158+ // cppcheck-suppress unreadVariable
159+ wxBoxSizer a (orient);
160+ }
161+
162+ void unreadVariable_wxGridSizer (int x)
163+ {
164+ // cppcheck-suppress unreadVariable
165+ wxGridSizer a (x, x, x);
166+ }
167+
168+ void unreadVariable_wxStaticBoxSizer (wxStaticBox *box, const int orient, wxWindow *parent, const wxString &label)
169+ {
170+ // cppcheck-suppress unreadVariable
171+ wxStaticBoxSizer a (box, orient);
172+ // cppcheck-suppress unreadVariable
173+ wxStaticBoxSizer b (orient, parent);
174+ // cppcheck-suppress unreadVariable
175+ wxStaticBoxSizer c (orient, parent, label);
176+ }
177+
178+ void unusedVariable_wxStdDialogButtonSizer ()
179+ {
180+ // cppcheck-suppress unusedVariable
181+ wxStdDialogButtonSizer a;
182+ }
183+
184+ void unusedVariable_wxColourDatabase ()
185+ {
186+ // cppcheck-suppress unusedVariable
187+ wxColourDatabase a;
188+ }
189+
190+ void unusedVariable_wxFontEnumerator ()
191+ {
192+ // cppcheck-suppress unusedVariable
193+ wxFontEnumerator a;
194+ }
195+
84196void unusedVariable_wxCursor ()
85197{
86198 // cppcheck-suppress unusedVariable
@@ -93,6 +205,18 @@ void unusedVariable_wxBitmapHandler()
93205 wxBitmapHandler a;
94206}
95207
208+ void unusedVariable_wxNativeFontInfo ()
209+ {
210+ // cppcheck-suppress unusedVariable
211+ wxNativeFontInfo a;
212+ }
213+
214+ void unreadVariable_wxDCClipper (wxDC &dc, const wxRegion ®ion)
215+ {
216+ // cppcheck-suppress unreadVariable
217+ wxDCClipper a (dc, region);
218+ }
219+
96220void unreadVariable_wxMask (const wxBitmap &bmp, int x, const wxColour & colour)
97221{
98222 // cppcheck-suppress unusedVariable
0 commit comments