wxrust 0.0.1-alpha

Binding for the wxCore library of the wxWidgets toolkit.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
use super::*;

extern "C" {

    // wxIcon
    pub fn wxIcon_CLASSINFO() -> *mut c_void;
    pub fn wxIcon_new() -> *mut c_void;
    pub fn wxIcon_new1(icon: *const c_void) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxIcon_new2(bits: char, width: c_int, height: c_int) -> *mut c_void;
    pub fn wxIcon_new3(bits: *const c_void) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxIcon_new4(name: *const c_void, type_: wxBitmapType, desired_width: c_int, desired_height: c_int) -> *mut c_void;
    pub fn wxIcon_new5(loc: *const c_void) -> *mut c_void;
    // DTOR: pub fn wxIcon_~wxIcon(self_: *mut c_void);
    // NOT_SUPPORTED: pub fn wxIcon_CreateFromHICON(self_: *mut c_void, icon: WXHICON) -> bool;
    // NOT_SUPPORTED: pub fn wxIcon_ConvertToDisabled(self_: *const c_void, brightness: unsigned char) -> *mut c_void;
    pub fn wxIcon_CopyFromBitmap(self_: *mut c_void, bmp: *const c_void);
    pub fn wxIcon_GetDepth(self_: *const c_void) -> c_int;
    pub fn wxIcon_GetHeight(self_: *const c_void) -> c_int;
    pub fn wxIcon_GetLogicalHeight(self_: *const c_void) -> c_double;
    pub fn wxIcon_GetLogicalSize(self_: *const c_void) -> *mut c_void;
    pub fn wxIcon_GetLogicalWidth(self_: *const c_void) -> c_double;
    pub fn wxIcon_GetScaleFactor(self_: *const c_void) -> c_double;
    pub fn wxIcon_GetSize(self_: *const c_void) -> *mut c_void;
    pub fn wxIcon_GetWidth(self_: *const c_void) -> c_int;
    pub fn wxIcon_IsOk(self_: *const c_void) -> bool;
    // NOT_SUPPORTED: pub fn wxIcon_LoadFile(self_: *mut c_void, name: *const c_void, type_: wxBitmapType, desired_width: c_int, desired_height: c_int) -> bool;
    // BLOCKED: pub fn wxIcon_SetDepth(self_: *mut c_void, depth: c_int);
    // BLOCKED: pub fn wxIcon_SetHeight(self_: *mut c_void, height: c_int);
    // BLOCKED: pub fn wxIcon_SetWidth(self_: *mut c_void, width: c_int);
    // BLOCKED: pub fn wxIcon_operator=(self_: *mut c_void, icon: *const c_void) -> *mut c_void;

    // wxIconBundle
    pub fn wxIconBundle_CLASSINFO() -> *mut c_void;
    pub fn wxIconBundle_new() -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxIconBundle_new1(file: *const c_void, type_: wxBitmapType) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxIconBundle_new2(stream: *mut c_void, type_: wxBitmapType) -> *mut c_void;
    pub fn wxIconBundle_new3(icon: *const c_void) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxIconBundle_new4(resource_name: *const c_void, module: WXHINSTANCE) -> *mut c_void;
    pub fn wxIconBundle_new5(ic: *const c_void) -> *mut c_void;
    // DTOR: pub fn wxIconBundle_~wxIconBundle(self_: *mut c_void);
    // NOT_SUPPORTED: pub fn wxIconBundle_AddIcon(self_: *mut c_void, file: *const c_void, type_: wxBitmapType);
    // NOT_SUPPORTED: pub fn wxIconBundle_AddIcon1(self_: *mut c_void, stream: *mut c_void, type_: wxBitmapType);
    // NOT_SUPPORTED: pub fn wxIconBundle_AddIcon2(self_: *mut c_void, resource_name: *const c_void, module: WXHINSTANCE);
    pub fn wxIconBundle_AddIcon3(self_: *mut c_void, icon: *const c_void);
    pub fn wxIconBundle_GetIcon(
        self_: *const c_void,
        size: *const c_void,
        flags: c_int,
    ) -> *mut c_void;
    pub fn wxIconBundle_GetIcon1(self_: *const c_void, size: c_int, flags: c_int) -> *mut c_void;
    pub fn wxIconBundle_GetIconOfExactSize(
        self_: *const c_void,
        size: *const c_void,
    ) -> *mut c_void;
    pub fn wxIconBundle_GetIconCount(self_: *const c_void) -> usize;
    pub fn wxIconBundle_GetIconByIndex(self_: *const c_void, n: usize) -> *mut c_void;
    pub fn wxIconBundle_IsEmpty(self_: *const c_void) -> bool;
    // BLOCKED: pub fn wxIconBundle_operator=(self_: *mut c_void, ic: *const c_void) -> *mut c_void;

    // wxIconizeEvent
    pub fn wxIconizeEvent_CLASSINFO() -> *mut c_void;
    pub fn wxIconizeEvent_new(id: c_int, iconized: bool) -> *mut c_void;
    pub fn wxIconizeEvent_IsIconized(self_: *const c_void) -> bool;
    // BLOCKED: pub fn wxIconizeEvent_Iconized(self_: *const c_void) -> bool;

    // wxIdManager
    pub fn wxIdManager_delete(self_: *mut c_void);
    pub fn wxIdManager_ReserveId(count: c_int) -> c_int;
    pub fn wxIdManager_UnreserveId(id: c_int, count: c_int);

    // wxImage
    pub fn wxImage_CLASSINFO() -> *mut c_void;
    pub fn wxImage_Copy(self_: *const c_void) -> *mut c_void;
    pub fn wxImage_Create(self_: *mut c_void, width: c_int, height: c_int, clear: bool) -> bool;
    pub fn wxImage_Create1(self_: *mut c_void, sz: *const c_void, clear: bool) -> bool;
    pub fn wxImage_Create2(
        self_: *mut c_void,
        width: c_int,
        height: c_int,
        data: *mut c_void,
        static_data: bool,
    ) -> bool;
    pub fn wxImage_Create3(
        self_: *mut c_void,
        sz: *const c_void,
        data: *mut c_void,
        static_data: bool,
    ) -> bool;
    pub fn wxImage_Create4(
        self_: *mut c_void,
        width: c_int,
        height: c_int,
        data: *mut c_void,
        alpha: *mut c_void,
        static_data: bool,
    ) -> bool;
    pub fn wxImage_Create5(
        self_: *mut c_void,
        sz: *const c_void,
        data: *mut c_void,
        alpha: *mut c_void,
        static_data: bool,
    ) -> bool;
    // NOT_SUPPORTED: pub fn wxImage_Clear(self_: *mut c_void, value: unsigned char);
    pub fn wxImage_Destroy(self_: *mut c_void);
    pub fn wxImage_InitAlpha(self_: *mut c_void);
    pub fn wxImage_Blur(self_: *const c_void, blur_radius: c_int) -> *mut c_void;
    pub fn wxImage_BlurHorizontal(self_: *const c_void, blur_radius: c_int) -> *mut c_void;
    pub fn wxImage_BlurVertical(self_: *const c_void, blur_radius: c_int) -> *mut c_void;
    pub fn wxImage_Mirror(self_: *const c_void, horizontally: bool) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_Paste(self_: *mut c_void, image: *const c_void, x: c_int, y: c_int, alpha_blend: wxImageAlphaBlendMode);
    // NOT_SUPPORTED: pub fn wxImage_Replace(self_: *mut c_void, r1: unsigned char, g1: unsigned char, b1: unsigned char, r2: unsigned char, g2: unsigned char, b2: unsigned char);
    // NOT_SUPPORTED: pub fn wxImage_Rescale(self_: *mut c_void, width: c_int, height: c_int, quality: wxImageResizeQuality) -> *mut c_void;
    pub fn wxImage_Resize(
        self_: *mut c_void,
        size: *const c_void,
        pos: *const c_void,
        red: c_int,
        green: c_int,
        blue: c_int,
    ) -> *mut c_void;
    pub fn wxImage_Rotate(
        self_: *const c_void,
        angle: c_double,
        rotation_centre: *const c_void,
        interpolating: bool,
        offset_after_rotation: *mut c_void,
    ) -> *mut c_void;
    pub fn wxImage_Rotate90(self_: *const c_void, clockwise: bool) -> *mut c_void;
    pub fn wxImage_Rotate180(self_: *const c_void) -> *mut c_void;
    pub fn wxImage_RotateHue(self_: *mut c_void, angle: c_double);
    pub fn wxImage_ChangeSaturation(self_: *mut c_void, factor: c_double);
    pub fn wxImage_ChangeBrightness(self_: *mut c_void, factor: c_double);
    pub fn wxImage_ChangeHSV(
        self_: *mut c_void,
        angle_h: c_double,
        factor_s: c_double,
        factor_v: c_double,
    );
    // NOT_SUPPORTED: pub fn wxImage_Scale(self_: *const c_void, width: c_int, height: c_int, quality: wxImageResizeQuality) -> *mut c_void;
    pub fn wxImage_Size(
        self_: *const c_void,
        size: *const c_void,
        pos: *const c_void,
        red: c_int,
        green: c_int,
        blue: c_int,
    ) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_ConvertAlphaToMask(self_: *mut c_void, threshold: unsigned char) -> bool;
    // NOT_SUPPORTED: pub fn wxImage_ConvertAlphaToMask1(self_: *mut c_void, mr: unsigned char, mg: unsigned char, mb: unsigned char, threshold: unsigned char) -> bool;
    pub fn wxImage_ConvertToGreyscale(
        self_: *const c_void,
        weight_r: c_double,
        weight_g: c_double,
        weight_b: c_double,
    ) -> *mut c_void;
    pub fn wxImage_ConvertToGreyscale1(self_: *const c_void) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_ConvertToMono(self_: *const c_void, r: unsigned char, g: unsigned char, b: unsigned char) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_ConvertToDisabled(self_: *const c_void, brightness: unsigned char) -> *mut c_void;
    pub fn wxImage_ChangeLightness(self_: *const c_void, alpha: c_int) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_ComputeHistogram(self_: *const c_void, histogram: *mut c_void) -> unsigned long;
    // NOT_SUPPORTED: pub fn wxImage_FindFirstUnusedColour(self_: *const c_void, r: *mut c_void, g: *mut c_void, b: *mut c_void, start_r: unsigned char, start_g: unsigned char, start_b: unsigned char) -> bool;
    // BLOCKED: pub fn wxImage_operator=(self_: *mut c_void, image: *const c_void) -> *mut c_void;
    pub fn wxImage_GetAlpha(self_: *const c_void) -> *mut c_void;
    pub fn wxImage_GetData(self_: *const c_void) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_GetAlpha1(self_: *const c_void, x: c_int, y: c_int) -> unsigned char;
    // NOT_SUPPORTED: pub fn wxImage_GetRed(self_: *const c_void, x: c_int, y: c_int) -> unsigned char;
    // NOT_SUPPORTED: pub fn wxImage_GetGreen(self_: *const c_void, x: c_int, y: c_int) -> unsigned char;
    // NOT_SUPPORTED: pub fn wxImage_GetBlue(self_: *const c_void, x: c_int, y: c_int) -> unsigned char;
    // NOT_SUPPORTED: pub fn wxImage_GetMaskRed(self_: *const c_void) -> unsigned char;
    // NOT_SUPPORTED: pub fn wxImage_GetMaskGreen(self_: *const c_void) -> unsigned char;
    // NOT_SUPPORTED: pub fn wxImage_GetMaskBlue(self_: *const c_void) -> unsigned char;
    pub fn wxImage_GetWidth(self_: *const c_void) -> c_int;
    pub fn wxImage_GetHeight(self_: *const c_void) -> c_int;
    pub fn wxImage_GetSize(self_: *const c_void) -> *mut c_void;
    pub fn wxImage_GetOption(self_: *const c_void, name: *const c_void) -> *mut c_void;
    pub fn wxImage_GetOptionInt(self_: *const c_void, name: *const c_void) -> c_int;
    pub fn wxImage_GetOrFindMaskColour(
        self_: *const c_void,
        r: *mut c_void,
        g: *mut c_void,
        b: *mut c_void,
    ) -> bool;
    // BLOCKED: pub fn wxImage_GetPalette(self_: *const c_void) -> *mut c_void;
    pub fn wxImage_GetSubImage(self_: *const c_void, rect: *const c_void) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_GetType(self_: *const c_void) -> wxBitmapType;
    pub fn wxImage_HasAlpha(self_: *const c_void) -> bool;
    pub fn wxImage_HasMask(self_: *const c_void) -> bool;
    pub fn wxImage_HasOption(self_: *const c_void, name: *const c_void) -> bool;
    pub fn wxImage_IsOk(self_: *const c_void) -> bool;
    // NOT_SUPPORTED: pub fn wxImage_IsTransparent(self_: *const c_void, x: c_int, y: c_int, threshold: unsigned char) -> bool;
    // NOT_SUPPORTED: pub fn wxImage_LoadFile(self_: *mut c_void, stream: *mut c_void, type_: wxBitmapType, index: c_int) -> bool;
    // NOT_SUPPORTED: pub fn wxImage_LoadFile1(self_: *mut c_void, name: *const c_void, type_: wxBitmapType, index: c_int) -> bool;
    pub fn wxImage_LoadFile2(
        self_: *mut c_void,
        name: *const c_void,
        mimetype: *const c_void,
        index: c_int,
    ) -> bool;
    pub fn wxImage_LoadFile3(
        self_: *mut c_void,
        stream: *mut c_void,
        mimetype: *const c_void,
        index: c_int,
    ) -> bool;
    pub fn wxImage_SaveFile(
        self_: *const c_void,
        stream: *mut c_void,
        mimetype: *const c_void,
    ) -> bool;
    // NOT_SUPPORTED: pub fn wxImage_SaveFile1(self_: *const c_void, name: *const c_void, type_: wxBitmapType) -> bool;
    pub fn wxImage_SaveFile2(
        self_: *const c_void,
        name: *const c_void,
        mimetype: *const c_void,
    ) -> bool;
    pub fn wxImage_SaveFile3(self_: *const c_void, name: *const c_void) -> bool;
    // NOT_SUPPORTED: pub fn wxImage_SaveFile4(self_: *const c_void, stream: *mut c_void, type_: wxBitmapType) -> bool;
    pub fn wxImage_SetAlpha(self_: *mut c_void, alpha: *mut c_void, static_data: bool);
    // NOT_SUPPORTED: pub fn wxImage_SetAlpha1(self_: *mut c_void, x: c_int, y: c_int, alpha: unsigned char);
    pub fn wxImage_ClearAlpha(self_: *mut c_void);
    pub fn wxImage_SetData(self_: *mut c_void, data: *mut c_void, static_data: bool);
    pub fn wxImage_SetData1(
        self_: *mut c_void,
        data: *mut c_void,
        new_width: c_int,
        new_height: c_int,
        static_data: bool,
    );
    pub fn wxImage_SetLoadFlags(self_: *mut c_void, flags: c_int);
    pub fn wxImage_SetMask(self_: *mut c_void, has_mask: bool);
    // NOT_SUPPORTED: pub fn wxImage_SetMaskColour(self_: *mut c_void, red: unsigned char, green: unsigned char, blue: unsigned char);
    // NOT_SUPPORTED: pub fn wxImage_SetMaskFromImage(self_: *mut c_void, mask: *const c_void, mr: unsigned char, mg: unsigned char, mb: unsigned char) -> bool;
    pub fn wxImage_SetOption(self_: *mut c_void, name: *const c_void, value: *const c_void);
    pub fn wxImage_SetOption1(self_: *mut c_void, name: *const c_void, value: c_int);
    pub fn wxImage_SetPalette(self_: *mut c_void, palette: *const c_void);
    // NOT_SUPPORTED: pub fn wxImage_SetRGB(self_: *mut c_void, x: c_int, y: c_int, r: unsigned char, g: unsigned char, b: unsigned char);
    // NOT_SUPPORTED: pub fn wxImage_SetRGB1(self_: *mut c_void, rect: *const c_void, red: unsigned char, green: unsigned char, blue: unsigned char);
    // NOT_SUPPORTED: pub fn wxImage_SetType(self_: *mut c_void, type_: wxBitmapType);
    pub fn wxImage_SetDefaultLoadFlags(flags: c_int);
    pub fn wxImage_GetLoadFlags(self_: *const c_void) -> c_int;
    pub fn wxImage_AddHandler(handler: *mut c_void);
    pub fn wxImage_CleanUpHandlers();
    pub fn wxImage_FindHandler(name: *const c_void) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_FindHandler1(extension: *const c_void, image_type: wxBitmapType) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_FindHandler2(image_type: wxBitmapType) -> *mut c_void;
    pub fn wxImage_FindHandlerMime(mimetype: *const c_void) -> *mut c_void;
    // BLOCKED: pub fn wxImage_GetHandlers() -> *mut c_void;
    pub fn wxImage_InitStandardHandlers();
    pub fn wxImage_InsertHandler(handler: *mut c_void);
    pub fn wxImage_RemoveHandler(name: *const c_void) -> bool;
    pub fn wxImage_CanRead(filename: *const c_void) -> bool;
    pub fn wxImage_CanRead1(stream: *mut c_void) -> bool;
    pub fn wxImage_GetDefaultLoadFlags() -> c_int;
    // NOT_SUPPORTED: pub fn wxImage_GetImageCount(filename: *const c_void, type_: wxBitmapType) -> c_int;
    // NOT_SUPPORTED: pub fn wxImage_GetImageCount1(stream: *mut c_void, type_: wxBitmapType) -> c_int;
    pub fn wxImage_GetImageExtWildcard() -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_RGBtoHSV(rgb: *const c_void) -> wxImage::HSVValue;
    // NOT_SUPPORTED: pub fn wxImage_HSVtoRGB(hsv: *const c_void) -> wxImage::RGBValue;
    pub fn wxImage_new() -> *mut c_void;
    pub fn wxImage_new1(width: c_int, height: c_int, clear: bool) -> *mut c_void;
    pub fn wxImage_new2(sz: *const c_void, clear: bool) -> *mut c_void;
    pub fn wxImage_new3(
        width: c_int,
        height: c_int,
        data: *mut c_void,
        static_data: bool,
    ) -> *mut c_void;
    pub fn wxImage_new4(sz: *const c_void, data: *mut c_void, static_data: bool) -> *mut c_void;
    pub fn wxImage_new5(
        width: c_int,
        height: c_int,
        data: *mut c_void,
        alpha: *mut c_void,
        static_data: bool,
    ) -> *mut c_void;
    pub fn wxImage_new6(
        sz: *const c_void,
        data: *mut c_void,
        alpha: *mut c_void,
        static_data: bool,
    ) -> *mut c_void;
    pub fn wxImage_new7(xpm_data: *const c_void) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_new8(name: *const c_void, type_: wxBitmapType, index: c_int) -> *mut c_void;
    pub fn wxImage_new9(name: *const c_void, mimetype: *const c_void, index: c_int) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImage_new10(stream: *mut c_void, type_: wxBitmapType, index: c_int) -> *mut c_void;
    pub fn wxImage_new11(stream: *mut c_void, mimetype: *const c_void, index: c_int)
        -> *mut c_void;
    // DTOR: pub fn wxImage_~wxImage(self_: *mut c_void);

    // wxImageHandler
    pub fn wxImageHandler_CLASSINFO() -> *mut c_void;
    // BLOCKED: pub fn wxImageHandler_new() -> *mut c_void;
    // DTOR: pub fn wxImageHandler_~wxImageHandler(self_: *mut c_void);
    pub fn wxImageHandler_CanRead(self_: *mut c_void, stream: *mut c_void) -> bool;
    pub fn wxImageHandler_CanRead1(self_: *mut c_void, filename: *const c_void) -> bool;
    pub fn wxImageHandler_GetExtension(self_: *const c_void) -> *mut c_void;
    pub fn wxImageHandler_GetAltExtensions(self_: *const c_void) -> *mut c_void;
    pub fn wxImageHandler_GetImageCount(self_: *mut c_void, stream: *mut c_void) -> c_int;
    pub fn wxImageHandler_GetMimeType(self_: *const c_void) -> *mut c_void;
    pub fn wxImageHandler_GetName(self_: *const c_void) -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxImageHandler_GetType(self_: *const c_void) -> wxBitmapType;
    pub fn wxImageHandler_LoadFile(
        self_: *mut c_void,
        image: *mut c_void,
        stream: *mut c_void,
        verbose: bool,
        index: c_int,
    ) -> bool;
    pub fn wxImageHandler_SaveFile(
        self_: *mut c_void,
        image: *mut c_void,
        stream: *mut c_void,
        verbose: bool,
    ) -> bool;
    pub fn wxImageHandler_SetExtension(self_: *mut c_void, extension: *const c_void);
    pub fn wxImageHandler_SetAltExtensions(self_: *mut c_void, extensions: *const c_void);
    pub fn wxImageHandler_SetMimeType(self_: *mut c_void, mimetype: *const c_void);
    pub fn wxImageHandler_SetName(self_: *mut c_void, name: *const c_void);
    // NOT_SUPPORTED: pub fn wxImageHandler_SetType(self_: *mut c_void, type_: wxBitmapType);
    // NOT_SUPPORTED: pub fn wxImageHandler_GetLibraryVersionInfo() -> wxVersionInfo;

    // wxImageList
    pub fn wxImageList_CLASSINFO() -> *mut c_void;
    pub fn wxImageList_new() -> *mut c_void;
    pub fn wxImageList_new1(
        width: c_int,
        height: c_int,
        mask: bool,
        initial_count: c_int,
    ) -> *mut c_void;
    pub fn wxImageList_Add(self_: *mut c_void, bitmap: *const c_void, mask: *const c_void)
        -> c_int;
    pub fn wxImageList_Add1(
        self_: *mut c_void,
        bitmap: *const c_void,
        mask_colour: *const c_void,
    ) -> c_int;
    pub fn wxImageList_Add2(self_: *mut c_void, icon: *const c_void) -> c_int;
    pub fn wxImageList_Create(
        self_: *mut c_void,
        width: c_int,
        height: c_int,
        mask: bool,
        initial_count: c_int,
    ) -> bool;
    pub fn wxImageList_Destroy(self_: *mut c_void);
    pub fn wxImageList_Draw(
        self_: *mut c_void,
        index: c_int,
        dc: *mut c_void,
        x: c_int,
        y: c_int,
        flags: c_int,
        solid_background: bool,
    ) -> bool;
    pub fn wxImageList_GetBitmap(self_: *const c_void, index: c_int) -> *mut c_void;
    pub fn wxImageList_GetIcon(self_: *const c_void, index: c_int) -> *mut c_void;
    pub fn wxImageList_GetImageCount(self_: *const c_void) -> c_int;
    pub fn wxImageList_GetSize(
        self_: *const c_void,
        index: c_int,
        width: *mut c_void,
        height: *mut c_void,
    ) -> bool;
    pub fn wxImageList_GetSize1(self_: *const c_void) -> *mut c_void;
    pub fn wxImageList_Remove(self_: *mut c_void, index: c_int) -> bool;
    pub fn wxImageList_RemoveAll(self_: *mut c_void) -> bool;
    pub fn wxImageList_Replace(
        self_: *mut c_void,
        index: c_int,
        bitmap: *const c_void,
        mask: *const c_void,
    ) -> bool;
    pub fn wxImageList_Replace1(self_: *mut c_void, index: c_int, icon: *const c_void) -> bool;

    // wxInfoBar
    pub fn wxInfoBar_CLASSINFO() -> *mut c_void;
    // NOT_SUPPORTED: pub fn wxInfoBar_SetShowHideEffects(self_: *mut c_void, show_effect: wxShowEffect, hide_effect: wxShowEffect);
    // NOT_SUPPORTED: pub fn wxInfoBar_GetShowEffect(self_: *const c_void) -> wxShowEffect;
    // NOT_SUPPORTED: pub fn wxInfoBar_GetHideEffect(self_: *const c_void) -> wxShowEffect;
    pub fn wxInfoBar_SetEffectDuration(self_: *mut c_void, duration: c_int);
    pub fn wxInfoBar_GetEffectDuration(self_: *const c_void) -> c_int;
    pub fn wxInfoBar_new() -> *mut c_void;
    pub fn wxInfoBar_new1(parent: *mut c_void, winid: c_int) -> *mut c_void;
    pub fn wxInfoBar_Create(self_: *mut c_void, parent: *mut c_void, winid: c_int) -> bool;
    pub fn wxInfoBar_AddButton(self_: *mut c_void, btnid: c_int, label: *const c_void);
    pub fn wxInfoBar_Dismiss(self_: *mut c_void);
    pub fn wxInfoBar_RemoveButton(self_: *mut c_void, btnid: c_int);
    pub fn wxInfoBar_ShowMessage(self_: *mut c_void, msg: *const c_void, flags: c_int);
    pub fn wxInfoBar_GetButtonCount(self_: *const c_void) -> usize;
    pub fn wxInfoBar_GetButtonId(self_: *const c_void, idx: usize) -> c_int;
    pub fn wxInfoBar_HasButtonId(self_: *const c_void, btnid: c_int) -> bool;

    // wxInitDialogEvent
    pub fn wxInitDialogEvent_CLASSINFO() -> *mut c_void;
    pub fn wxInitDialogEvent_new(id: c_int) -> *mut c_void;

    // wxItemContainer
    pub fn wxItemContainer_delete(self_: *mut c_void);
    pub fn wxItemContainer_Append(self_: *mut c_void, item: *const c_void) -> c_int;
    pub fn wxItemContainer_Append1(
        self_: *mut c_void,
        item: *const c_void,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Append2(
        self_: *mut c_void,
        item: *const c_void,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Append3(self_: *mut c_void, items: *const c_void) -> c_int;
    // BLOCKED: pub fn wxItemContainer_Append4(self_: *mut c_void, items: *const c_void) -> c_int;
    pub fn wxItemContainer_Append5(
        self_: *mut c_void,
        items: *const c_void,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Append6(
        self_: *mut c_void,
        items: *const c_void,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Append7(self_: *mut c_void, n: c_uint, items: *const c_void) -> c_int;
    pub fn wxItemContainer_Append8(
        self_: *mut c_void,
        n: c_uint,
        items: *const c_void,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Append9(
        self_: *mut c_void,
        n: c_uint,
        items: *const c_void,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Clear(self_: *mut c_void);
    pub fn wxItemContainer_Delete(self_: *mut c_void, n: c_uint);
    pub fn wxItemContainer_DetachClientObject(self_: *mut c_void, n: c_uint) -> *mut c_void;
    pub fn wxItemContainer_HasClientData(self_: *const c_void) -> bool;
    pub fn wxItemContainer_HasClientObjectData(self_: *const c_void) -> bool;
    pub fn wxItemContainer_HasClientUntypedData(self_: *const c_void) -> bool;
    pub fn wxItemContainer_GetClientData(self_: *const c_void, n: c_uint) -> *mut c_void;
    pub fn wxItemContainer_GetClientObject(self_: *const c_void, n: c_uint) -> *mut c_void;
    pub fn wxItemContainer_SetClientData(self_: *mut c_void, n: c_uint, data: *mut c_void);
    pub fn wxItemContainer_SetClientObject(self_: *mut c_void, n: c_uint, data: *mut c_void);
    pub fn wxItemContainer_Insert(self_: *mut c_void, item: *const c_void, pos: c_uint) -> c_int;
    pub fn wxItemContainer_Insert1(
        self_: *mut c_void,
        item: *const c_void,
        pos: c_uint,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Insert2(
        self_: *mut c_void,
        item: *const c_void,
        pos: c_uint,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Insert3(self_: *mut c_void, items: *const c_void, pos: c_uint) -> c_int;
    // BLOCKED: pub fn wxItemContainer_Insert4(self_: *mut c_void, items: *const c_void) -> c_int;
    pub fn wxItemContainer_Insert5(
        self_: *mut c_void,
        items: *const c_void,
        pos: c_uint,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Insert6(
        self_: *mut c_void,
        items: *const c_void,
        pos: c_uint,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Insert7(
        self_: *mut c_void,
        n: c_uint,
        items: *const c_void,
        pos: c_uint,
    ) -> c_int;
    pub fn wxItemContainer_Insert8(
        self_: *mut c_void,
        n: c_uint,
        items: *const c_void,
        pos: c_uint,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Insert9(
        self_: *mut c_void,
        n: c_uint,
        items: *const c_void,
        pos: c_uint,
        client_data: *mut c_void,
    ) -> c_int;
    pub fn wxItemContainer_Set(self_: *mut c_void, items: *const c_void);
    // BLOCKED: pub fn wxItemContainer_Set1(self_: *mut c_void, items: *const c_void);
    pub fn wxItemContainer_Set2(self_: *mut c_void, items: *const c_void, client_data: *mut c_void);
    pub fn wxItemContainer_Set3(self_: *mut c_void, items: *const c_void, client_data: *mut c_void);
    pub fn wxItemContainer_Set4(self_: *mut c_void, n: c_uint, items: *const c_void);
    pub fn wxItemContainer_Set5(
        self_: *mut c_void,
        n: c_uint,
        items: *const c_void,
        client_data: *mut c_void,
    );
    pub fn wxItemContainer_Set6(
        self_: *mut c_void,
        n: c_uint,
        items: *const c_void,
        client_data: *mut c_void,
    );

    // wxItemContainerImmutable
    pub fn wxItemContainerImmutable_delete(self_: *mut c_void);
    pub fn wxItemContainerImmutable_SetSelection(self_: *mut c_void, n: c_int);
    pub fn wxItemContainerImmutable_GetSelection(self_: *const c_void) -> c_int;
    pub fn wxItemContainerImmutable_SetStringSelection(
        self_: *mut c_void,
        string: *const c_void,
    ) -> bool;
    pub fn wxItemContainerImmutable_GetStringSelection(self_: *const c_void) -> *mut c_void;
    pub fn wxItemContainerImmutable_Select(self_: *mut c_void, n: c_int);
    // BLOCKED: pub fn wxItemContainerImmutable_new() -> *mut c_void;
    pub fn wxItemContainerImmutable_GetCount(self_: *const c_void) -> c_uint;
    pub fn wxItemContainerImmutable_IsEmpty(self_: *const c_void) -> bool;
    pub fn wxItemContainerImmutable_GetString(self_: *const c_void, n: c_uint) -> *mut c_void;
    pub fn wxItemContainerImmutable_GetStrings(self_: *const c_void) -> *mut c_void;
    pub fn wxItemContainerImmutable_SetString(self_: *mut c_void, n: c_uint, string: *const c_void);
    pub fn wxItemContainerImmutable_FindString(
        self_: *const c_void,
        string: *const c_void,
        case_sensitive: bool,
    ) -> c_int;

}