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
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
#include "generated.h"

extern "C" {

// CLASS: wxMask
wxClassInfo *wxMask_CLASSINFO() {
    return wxCLASSINFO(wxMask);
}
wxMask *wxMask_new() {
    return new wxMask();
}
wxMask *wxMask_new1(const wxBitmap * bitmap, int index) {
    return new wxMask(*bitmap, index);
}
wxMask *wxMask_new2(const wxBitmap * bitmap) {
    return new wxMask(*bitmap);
}
wxMask *wxMask_new3(const wxBitmap * bitmap, const wxColour * colour) {
    return new wxMask(*bitmap, *colour);
}
bool wxMask_Create(wxMask * self, const wxBitmap * bitmap, int index) {
    return self->Create(*bitmap, index);
}
bool wxMask_Create1(wxMask * self, const wxBitmap * bitmap) {
    return self->Create(*bitmap);
}
bool wxMask_Create2(wxMask * self, const wxBitmap * bitmap, const wxColour * colour) {
    return self->Create(*bitmap, *colour);
}
wxBitmap *wxMask_GetBitmap(const wxMask * self) {
    return new wxBitmap(self->GetBitmap());
}

// CLASS: wxMaximizeEvent
wxClassInfo *wxMaximizeEvent_CLASSINFO() {
    return wxCLASSINFO(wxMaximizeEvent);
}
wxMaximizeEvent *wxMaximizeEvent_new(int id) {
    return new wxMaximizeEvent(id);
}

// CLASS: wxMemoryDC
wxClassInfo *wxMemoryDC_CLASSINFO() {
    return wxCLASSINFO(wxMemoryDC);
}
wxMemoryDC *wxMemoryDC_new() {
    return new wxMemoryDC();
}
wxMemoryDC *wxMemoryDC_new1(wxDC * dc) {
    return new wxMemoryDC(dc);
}
wxMemoryDC *wxMemoryDC_new2(wxBitmap * bitmap) {
    return new wxMemoryDC(*bitmap);
}
void wxMemoryDC_SelectObject(wxMemoryDC * self, wxBitmap * bitmap) {
    return self->SelectObject(*bitmap);
}
void wxMemoryDC_SelectObjectAsSource(wxMemoryDC * self, const wxBitmap * bitmap) {
    return self->SelectObjectAsSource(*bitmap);
}
wxBitmap *wxMemoryDC_GetSelectedBitmap(const wxMemoryDC * self) {
    return new wxBitmap(self->GetSelectedBitmap());
}

// CLASS: wxMenu
wxClassInfo *wxMenu_CLASSINFO() {
    return wxCLASSINFO(wxMenu);
}
wxMenu *wxMenu_new() {
    return new wxMenu();
}
wxMenu *wxMenu_new1(long style) {
    return new wxMenu(style);
}
wxMenu *wxMenu_new2(const wxString * title, long style) {
    return new wxMenu(*title, style);
}
wxMenuItem * wxMenu_Append(wxMenu * self, int id, const wxString * item, const wxString * help_string, wxItemKind kind) {
    return self->Append(id, *item, *help_string, kind);
}
wxMenuItem * wxMenu_Append1(wxMenu * self, int id, const wxString * item, wxMenu * sub_menu, const wxString * help_string) {
    return self->Append(id, *item, sub_menu, *help_string);
}
wxMenuItem * wxMenu_Append2(wxMenu * self, wxMenuItem * menu_item) {
    return self->Append(menu_item);
}
wxMenuItem * wxMenu_AppendCheckItem(wxMenu * self, int id, const wxString * item, const wxString * help) {
    return self->AppendCheckItem(id, *item, *help);
}
wxMenuItem * wxMenu_AppendRadioItem(wxMenu * self, int id, const wxString * item, const wxString * help) {
    return self->AppendRadioItem(id, *item, *help);
}
wxMenuItem * wxMenu_AppendSeparator(wxMenu * self) {
    return self->AppendSeparator();
}
wxMenuItem * wxMenu_AppendSubMenu(wxMenu * self, wxMenu * submenu, const wxString * text, const wxString * help) {
    return self->AppendSubMenu(submenu, *text, *help);
}
void wxMenu_Break(wxMenu * self) {
    return self->Break();
}
void wxMenu_Check(wxMenu * self, int id, bool check) {
    return self->Check(id, check);
}
bool wxMenu_Delete(wxMenu * self, int id) {
    return self->Delete(id);
}
bool wxMenu_Delete1(wxMenu * self, wxMenuItem * item) {
    return self->Delete(item);
}
bool wxMenu_Destroy(wxMenu * self, int id) {
    return self->Destroy(id);
}
bool wxMenu_Destroy1(wxMenu * self, wxMenuItem * item) {
    return self->Destroy(item);
}
void wxMenu_Enable(wxMenu * self, int id, bool enable) {
    return self->Enable(id, enable);
}
wxMenuItem * wxMenu_FindChildItem(const wxMenu * self, int id, size_t * pos) {
    return self->FindChildItem(id, pos);
}
int wxMenu_FindItem(const wxMenu * self, const wxString * item_string) {
    return self->FindItem(*item_string);
}
wxMenuItem * wxMenu_FindItem1(const wxMenu * self, int id, wxMenu ** menu) {
    return self->FindItem(id, menu);
}
wxMenuItem * wxMenu_FindItemByPosition(const wxMenu * self, size_t position) {
    return self->FindItemByPosition(position);
}
wxString *wxMenu_GetHelpString(const wxMenu * self, int id) {
    return new wxString(self->GetHelpString(id));
}
wxString *wxMenu_GetLabel(const wxMenu * self, int id) {
    return new wxString(self->GetLabel(id));
}
wxString *wxMenu_GetLabelText(const wxMenu * self, int id) {
    return new wxString(self->GetLabelText(id));
}
size_t wxMenu_GetMenuItemCount(const wxMenu * self) {
    return self->GetMenuItemCount();
}
wxString *wxMenu_GetTitle(const wxMenu * self) {
    return new wxString(self->GetTitle());
}
wxMenuItem * wxMenu_Insert(wxMenu * self, size_t pos, wxMenuItem * menu_item) {
    return self->Insert(pos, menu_item);
}
wxMenuItem * wxMenu_Insert1(wxMenu * self, size_t pos, int id, const wxString * item, const wxString * help_string, wxItemKind kind) {
    return self->Insert(pos, id, *item, *help_string, kind);
}
wxMenuItem * wxMenu_Insert2(wxMenu * self, size_t pos, int id, const wxString * text, wxMenu * submenu, const wxString * help) {
    return self->Insert(pos, id, *text, submenu, *help);
}
wxMenuItem * wxMenu_InsertCheckItem(wxMenu * self, size_t pos, int id, const wxString * item, const wxString * help_string) {
    return self->InsertCheckItem(pos, id, *item, *help_string);
}
wxMenuItem * wxMenu_InsertRadioItem(wxMenu * self, size_t pos, int id, const wxString * item, const wxString * help_string) {
    return self->InsertRadioItem(pos, id, *item, *help_string);
}
wxMenuItem * wxMenu_InsertSeparator(wxMenu * self, size_t pos) {
    return self->InsertSeparator(pos);
}
bool wxMenu_IsChecked(const wxMenu * self, int id) {
    return self->IsChecked(id);
}
bool wxMenu_IsEnabled(const wxMenu * self, int id) {
    return self->IsEnabled(id);
}
wxMenuItem * wxMenu_Prepend(wxMenu * self, wxMenuItem * item) {
    return self->Prepend(item);
}
wxMenuItem * wxMenu_Prepend1(wxMenu * self, int id, const wxString * item, const wxString * help_string, wxItemKind kind) {
    return self->Prepend(id, *item, *help_string, kind);
}
wxMenuItem * wxMenu_Prepend2(wxMenu * self, int id, const wxString * text, wxMenu * submenu, const wxString * help) {
    return self->Prepend(id, *text, submenu, *help);
}
wxMenuItem * wxMenu_PrependCheckItem(wxMenu * self, int id, const wxString * item, const wxString * help_string) {
    return self->PrependCheckItem(id, *item, *help_string);
}
wxMenuItem * wxMenu_PrependRadioItem(wxMenu * self, int id, const wxString * item, const wxString * help_string) {
    return self->PrependRadioItem(id, *item, *help_string);
}
wxMenuItem * wxMenu_PrependSeparator(wxMenu * self) {
    return self->PrependSeparator();
}
wxMenuItem * wxMenu_Remove(wxMenu * self, int id) {
    return self->Remove(id);
}
wxMenuItem * wxMenu_Remove1(wxMenu * self, wxMenuItem * item) {
    return self->Remove(item);
}
void wxMenu_SetHelpString(wxMenu * self, int id, const wxString * help_string) {
    return self->SetHelpString(id, *help_string);
}
void wxMenu_SetLabel(wxMenu * self, int id, const wxString * label) {
    return self->SetLabel(id, *label);
}
void wxMenu_SetTitle(wxMenu * self, const wxString * title) {
    return self->SetTitle(*title);
}
void wxMenu_UpdateUI(wxMenu * self, wxEvtHandler * source) {
    return self->UpdateUI(source);
}
void wxMenu_SetInvokingWindow(wxMenu * self, wxWindow * win) {
    return self->SetInvokingWindow(win);
}
wxWindow * wxMenu_GetInvokingWindow(const wxMenu * self) {
    return self->GetInvokingWindow();
}
wxWindow * wxMenu_GetWindow(const wxMenu * self) {
    return self->GetWindow();
}
long wxMenu_GetStyle(const wxMenu * self) {
    return self->GetStyle();
}
void wxMenu_SetParent(wxMenu * self, wxMenu * parent) {
    return self->SetParent(parent);
}
wxMenu * wxMenu_GetParent(const wxMenu * self) {
    return self->GetParent();
}
void wxMenu_Attach(wxMenu * self, wxMenuBar * menubar) {
    return self->Attach(menubar);
}
void wxMenu_Detach(wxMenu * self) {
    return self->Detach();
}
bool wxMenu_IsAttached(const wxMenu * self) {
    return self->IsAttached();
}

// CLASS: wxMenuBar
wxClassInfo *wxMenuBar_CLASSINFO() {
    return wxCLASSINFO(wxMenuBar);
}
wxMenuBar *wxMenuBar_new(long style) {
    return new wxMenuBar(style);
}
bool wxMenuBar_Append(wxMenuBar * self, wxMenu * menu, const wxString * title) {
    return self->Append(menu, *title);
}
void wxMenuBar_Check(wxMenuBar * self, int id, bool check) {
    return self->Check(id, check);
}
void wxMenuBar_Enable(wxMenuBar * self, int id, bool enable) {
    return self->Enable(id, enable);
}
bool wxMenuBar_IsEnabledTop(const wxMenuBar * self, size_t pos) {
    return self->IsEnabledTop(pos);
}
void wxMenuBar_EnableTop(wxMenuBar * self, size_t pos, bool enable) {
    return self->EnableTop(pos, enable);
}
wxMenuItem * wxMenuBar_FindItem(const wxMenuBar * self, int id, wxMenu ** menu) {
    return self->FindItem(id, menu);
}
int wxMenuBar_FindMenu(const wxMenuBar * self, const wxString * title) {
    return self->FindMenu(*title);
}
int wxMenuBar_FindMenuItem(const wxMenuBar * self, const wxString * menu_string, const wxString * item_string) {
    return self->FindMenuItem(*menu_string, *item_string);
}
wxString *wxMenuBar_GetHelpString(const wxMenuBar * self, int id) {
    return new wxString(self->GetHelpString(id));
}
wxString *wxMenuBar_GetLabel(const wxMenuBar * self, int id) {
    return new wxString(self->GetLabel(id));
}
wxMenu * wxMenuBar_GetMenu(const wxMenuBar * self, size_t menu_index) {
    return self->GetMenu(menu_index);
}
size_t wxMenuBar_GetMenuCount(const wxMenuBar * self) {
    return self->GetMenuCount();
}
wxString *wxMenuBar_GetMenuLabel(const wxMenuBar * self, size_t pos) {
    return new wxString(self->GetMenuLabel(pos));
}
wxString *wxMenuBar_GetMenuLabelText(const wxMenuBar * self, size_t pos) {
    return new wxString(self->GetMenuLabelText(pos));
}
bool wxMenuBar_Insert(wxMenuBar * self, size_t pos, wxMenu * menu, const wxString * title) {
    return self->Insert(pos, menu, *title);
}
bool wxMenuBar_IsChecked(const wxMenuBar * self, int id) {
    return self->IsChecked(id);
}
bool wxMenuBar_IsEnabled(const wxMenuBar * self, int id) {
    return self->IsEnabled(id);
}
wxMenu * wxMenuBar_Remove(wxMenuBar * self, size_t pos) {
    return self->Remove(pos);
}
wxMenu * wxMenuBar_Replace(wxMenuBar * self, size_t pos, wxMenu * menu, const wxString * title) {
    return self->Replace(pos, menu, *title);
}
void wxMenuBar_SetHelpString(wxMenuBar * self, int id, const wxString * help_string) {
    return self->SetHelpString(id, *help_string);
}
void wxMenuBar_SetLabel(wxMenuBar * self, int id, const wxString * label) {
    return self->SetLabel(id, *label);
}
void wxMenuBar_SetMenuLabel(wxMenuBar * self, size_t pos, const wxString * label) {
    return self->SetMenuLabel(pos, *label);
}
#ifdef __WXOSX__
wxMenu * wxMenuBar_OSXGetAppleMenu(const wxMenuBar * self) {
    return self->OSXGetAppleMenu();
}
#endif
wxFrame * wxMenuBar_GetFrame(const wxMenuBar * self) {
    return self->GetFrame();
}
bool wxMenuBar_IsAttached(const wxMenuBar * self) {
    return self->IsAttached();
}
void wxMenuBar_Attach(wxMenuBar * self, wxFrame * frame) {
    return self->Attach(frame);
}
void wxMenuBar_Detach(wxMenuBar * self) {
    return self->Detach();
}
#ifdef __WXOSX__
void wxMenuBar_MacSetCommonMenuBar(wxMenuBar * menubar) {
    return wxMenuBar::MacSetCommonMenuBar(menubar);
}
wxMenuBar * wxMenuBar_MacGetCommonMenuBar() {
    return wxMenuBar::MacGetCommonMenuBar();
}
#endif

// CLASS: wxMenuEvent
wxClassInfo *wxMenuEvent_CLASSINFO() {
    return wxCLASSINFO(wxMenuEvent);
}
wxMenu * wxMenuEvent_GetMenu(const wxMenuEvent * self) {
    return self->GetMenu();
}
int wxMenuEvent_GetMenuId(const wxMenuEvent * self) {
    return self->GetMenuId();
}
bool wxMenuEvent_IsPopup(const wxMenuEvent * self) {
    return self->IsPopup();
}

// CLASS: wxMenuItem
wxClassInfo *wxMenuItem_CLASSINFO() {
    return wxCLASSINFO(wxMenuItem);
}
wxBitmap *wxMenuItem_GetBitmap(const wxMenuItem * self) {
    return new wxBitmap(self->GetBitmap());
}
#ifdef __WXMSW__
wxBitmap *wxMenuItem_GetBitmap1(const wxMenuItem * self, bool checked) {
    return new wxBitmap(self->GetBitmap(checked));
}
#endif
#if wxCHECK_VERSION(3, 2, 0)
wxBitmapBundle *wxMenuItem_GetBitmapBundle(const wxMenuItem * self) {
    return new wxBitmapBundle(self->GetBitmapBundle());
}
#endif
#ifdef __WXMSW__
wxBitmap *wxMenuItem_GetDisabledBitmap(const wxMenuItem * self) {
    return new wxBitmap(self->GetDisabledBitmap());
}
#endif
wxString *wxMenuItem_GetHelp(const wxMenuItem * self) {
    return new wxString(self->GetHelp());
}
int wxMenuItem_GetId(const wxMenuItem * self) {
    return self->GetId();
}
wxString *wxMenuItem_GetItemLabel(const wxMenuItem * self) {
    return new wxString(self->GetItemLabel());
}
wxString *wxMenuItem_GetItemLabelText(const wxMenuItem * self) {
    return new wxString(self->GetItemLabelText());
}
wxItemKind wxMenuItem_GetKind(const wxMenuItem * self) {
    return self->GetKind();
}
#ifdef __WXMSW__
int wxMenuItem_GetMarginWidth(const wxMenuItem * self) {
    return self->GetMarginWidth();
}
#endif
wxMenu * wxMenuItem_GetMenu(const wxMenuItem * self) {
    return self->GetMenu();
}
wxMenu * wxMenuItem_GetSubMenu(const wxMenuItem * self) {
    return self->GetSubMenu();
}
wxAcceleratorEntry * wxMenuItem_GetAccel(const wxMenuItem * self) {
    return self->GetAccel();
}
bool wxMenuItem_IsCheck(const wxMenuItem * self) {
    return self->IsCheck();
}
bool wxMenuItem_IsCheckable(const wxMenuItem * self) {
    return self->IsCheckable();
}
bool wxMenuItem_IsChecked(const wxMenuItem * self) {
    return self->IsChecked();
}
bool wxMenuItem_IsEnabled(const wxMenuItem * self) {
    return self->IsEnabled();
}
bool wxMenuItem_IsRadio(const wxMenuItem * self) {
    return self->IsRadio();
}
bool wxMenuItem_IsSeparator(const wxMenuItem * self) {
    return self->IsSeparator();
}
bool wxMenuItem_IsSubMenu(const wxMenuItem * self) {
    return self->IsSubMenu();
}
#ifdef __WXMSW__
void wxMenuItem_SetBackgroundColour(wxMenuItem * self, const wxColour * colour) {
    return self->SetBackgroundColour(*colour);
}
#endif
void wxMenuItem_SetBitmap(wxMenuItem * self, const wxBitmapBundle * bmp) {
    return self->SetBitmap(*bmp);
}
#ifdef __WXMSW__
void wxMenuItem_SetBitmap1(wxMenuItem * self, const wxBitmapBundle * bmp, bool checked) {
    return self->SetBitmap(*bmp, checked);
}
void wxMenuItem_SetBitmaps(wxMenuItem * self, const wxBitmapBundle * checked, const wxBitmapBundle * unchecked) {
    return self->SetBitmaps(*checked, *unchecked);
}
void wxMenuItem_SetDisabledBitmap(wxMenuItem * self, const wxBitmapBundle * disabled) {
    return self->SetDisabledBitmap(*disabled);
}
void wxMenuItem_SetFont(wxMenuItem * self, const wxFont * font) {
    return self->SetFont(*font);
}
#endif
void wxMenuItem_SetHelp(wxMenuItem * self, const wxString * help_string) {
    return self->SetHelp(*help_string);
}
void wxMenuItem_SetItemLabel(wxMenuItem * self, const wxString * label) {
    return self->SetItemLabel(*label);
}
#ifdef __WXMSW__
void wxMenuItem_SetMarginWidth(wxMenuItem * self, int width) {
    return self->SetMarginWidth(width);
}
#endif
void wxMenuItem_SetMenu(wxMenuItem * self, wxMenu * menu) {
    return self->SetMenu(menu);
}
void wxMenuItem_SetSubMenu(wxMenuItem * self, wxMenu * menu) {
    return self->SetSubMenu(menu);
}
#ifdef __WXMSW__
void wxMenuItem_SetTextColour(wxMenuItem * self, const wxColour * colour) {
    return self->SetTextColour(*colour);
}
#endif
void wxMenuItem_SetAccel(wxMenuItem * self, wxAcceleratorEntry * accel) {
    return self->SetAccel(accel);
}
#if wxCHECK_VERSION(3, 1, 0)
void wxMenuItem_AddExtraAccel(wxMenuItem * self, const wxAcceleratorEntry * accel) {
    return self->AddExtraAccel(*accel);
}
void wxMenuItem_ClearExtraAccels(wxMenuItem * self) {
    return self->ClearExtraAccels();
}
#endif
wxMenuItem *wxMenuItem_new(wxMenu * parent_menu, int id, const wxString * text, const wxString * help_string, wxItemKind kind, wxMenu * sub_menu) {
    return new wxMenuItem(parent_menu, id, *text, *help_string, kind, sub_menu);
}
void wxMenuItem_Check(wxMenuItem * self, bool check) {
    return self->Check(check);
}
void wxMenuItem_Enable(wxMenuItem * self, bool enable) {
    return self->Enable(enable);
}
wxString *wxMenuItem_GetLabelText(const wxString * text) {
    return new wxString(wxMenuItem::GetLabelText(*text));
}

// CLASS: wxMessageDialog
wxClassInfo *wxMessageDialog_CLASSINFO() {
    return wxCLASSINFO(wxMessageDialog);
}
wxMessageDialog *wxMessageDialog_new(wxWindow * parent, const wxString * message, const wxString * caption, long style, const wxPoint * pos) {
    return new wxMessageDialog(parent, *message, *caption, style, *pos);
}
void wxMessageDialog_SetExtendedMessage(wxMessageDialog * self, const wxString * extended_message) {
    return self->SetExtendedMessage(*extended_message);
}
bool wxMessageDialog_SetHelpLabel(wxMessageDialog * self, const ButtonLabel * help) {
    return self->SetHelpLabel(*help);
}
void wxMessageDialog_SetMessage(wxMessageDialog * self, const wxString * message) {
    return self->SetMessage(*message);
}
bool wxMessageDialog_SetOKCancelLabels(wxMessageDialog * self, const ButtonLabel * ok, const ButtonLabel * cancel) {
    return self->SetOKCancelLabels(*ok, *cancel);
}
bool wxMessageDialog_SetOKLabel(wxMessageDialog * self, const ButtonLabel * ok) {
    return self->SetOKLabel(*ok);
}
bool wxMessageDialog_SetYesNoCancelLabels(wxMessageDialog * self, const ButtonLabel * yes, const ButtonLabel * no, const ButtonLabel * cancel) {
    return self->SetYesNoCancelLabels(*yes, *no, *cancel);
}
bool wxMessageDialog_SetYesNoLabels(wxMessageDialog * self, const ButtonLabel * yes, const ButtonLabel * no) {
    return self->SetYesNoLabels(*yes, *no);
}
wxString *wxMessageDialog_GetCaption(const wxMessageDialog * self) {
    return new wxString(self->GetCaption());
}
wxString *wxMessageDialog_GetMessage(const wxMessageDialog * self) {
    return new wxString(self->GetMessage());
}
wxString *wxMessageDialog_GetExtendedMessage(const wxMessageDialog * self) {
    return new wxString(self->GetExtendedMessage());
}
long wxMessageDialog_GetMessageDialogStyle(const wxMessageDialog * self) {
    return self->GetMessageDialogStyle();
}
bool wxMessageDialog_HasCustomLabels(const wxMessageDialog * self) {
    return self->HasCustomLabels();
}
wxString *wxMessageDialog_GetYesLabel(const wxMessageDialog * self) {
    return new wxString(self->GetYesLabel());
}
wxString *wxMessageDialog_GetNoLabel(const wxMessageDialog * self) {
    return new wxString(self->GetNoLabel());
}
wxString *wxMessageDialog_GetOKLabel(const wxMessageDialog * self) {
    return new wxString(self->GetOKLabel());
}
wxString *wxMessageDialog_GetCancelLabel(const wxMessageDialog * self) {
    return new wxString(self->GetCancelLabel());
}
wxString *wxMessageDialog_GetHelpLabel(const wxMessageDialog * self) {
    return new wxString(self->GetHelpLabel());
}
long wxMessageDialog_GetEffectiveIcon(const wxMessageDialog * self) {
    return self->GetEffectiveIcon();
}

// CLASS: wxMessageOutputMessageBox
void wxMessageOutputMessageBox_delete(wxMessageOutputMessageBox *self) {
    delete self;
}
wxMessageOutputMessageBox *wxMessageOutputMessageBox_new() {
    return new wxMessageOutputMessageBox();
}

// CLASS: wxMiniFrame
wxClassInfo *wxMiniFrame_CLASSINFO() {
    return wxCLASSINFO(wxMiniFrame);
}
wxMiniFrame *wxMiniFrame_new() {
    return new wxMiniFrame();
}
wxMiniFrame *wxMiniFrame_new1(wxWindow * parent, wxWindowID id, const wxString * title, const wxPoint * pos, const wxSize * size, long style, const wxString * name) {
    return new wxMiniFrame(parent, id, *title, *pos, *size, style, *name);
}
bool wxMiniFrame_Create(wxMiniFrame * self, wxWindow * parent, wxWindowID id, const wxString * title, const wxPoint * pos, const wxSize * size, long style, const wxString * name) {
    return self->Create(parent, id, *title, *pos, *size, style, *name);
}

// CLASS: wxMirrorDC
wxClassInfo *wxMirrorDC_CLASSINFO() {
    return wxCLASSINFO(wxMirrorDC);
}
wxMirrorDC *wxMirrorDC_new(wxDC * dc, bool mirror) {
    return new wxMirrorDC(*dc, mirror);
}

// CLASS: wxMouseCaptureChangedEvent
wxClassInfo *wxMouseCaptureChangedEvent_CLASSINFO() {
    return wxCLASSINFO(wxMouseCaptureChangedEvent);
}
wxMouseCaptureChangedEvent *wxMouseCaptureChangedEvent_new(wxWindowID window_id, wxWindow * gained_capture) {
    return new wxMouseCaptureChangedEvent(window_id, gained_capture);
}
wxWindow * wxMouseCaptureChangedEvent_GetCapturedWindow(const wxMouseCaptureChangedEvent * self) {
    return self->GetCapturedWindow();
}

// CLASS: wxMouseCaptureLostEvent
wxClassInfo *wxMouseCaptureLostEvent_CLASSINFO() {
    return wxCLASSINFO(wxMouseCaptureLostEvent);
}
wxMouseCaptureLostEvent *wxMouseCaptureLostEvent_new(wxWindowID window_id) {
    return new wxMouseCaptureLostEvent(window_id);
}

// CLASS: wxMouseEvent
wxClassInfo *wxMouseEvent_CLASSINFO() {
    return wxCLASSINFO(wxMouseEvent);
}
bool wxMouseEvent_Aux1DClick(const wxMouseEvent * self) {
    return self->Aux1DClick();
}
bool wxMouseEvent_Aux1Down(const wxMouseEvent * self) {
    return self->Aux1Down();
}
bool wxMouseEvent_Aux1Up(const wxMouseEvent * self) {
    return self->Aux1Up();
}
bool wxMouseEvent_Aux2DClick(const wxMouseEvent * self) {
    return self->Aux2DClick();
}
bool wxMouseEvent_Aux2Down(const wxMouseEvent * self) {
    return self->Aux2Down();
}
bool wxMouseEvent_Aux2Up(const wxMouseEvent * self) {
    return self->Aux2Up();
}
bool wxMouseEvent_Dragging(const wxMouseEvent * self) {
    return self->Dragging();
}
bool wxMouseEvent_Entering(const wxMouseEvent * self) {
    return self->Entering();
}
int wxMouseEvent_GetButton(const wxMouseEvent * self) {
    return self->GetButton();
}
int wxMouseEvent_GetClickCount(const wxMouseEvent * self) {
    return self->GetClickCount();
}
int wxMouseEvent_GetLinesPerAction(const wxMouseEvent * self) {
    return self->GetLinesPerAction();
}
int wxMouseEvent_GetColumnsPerAction(const wxMouseEvent * self) {
    return self->GetColumnsPerAction();
}
wxPoint *wxMouseEvent_GetLogicalPosition(const wxMouseEvent * self, const wxDC * dc) {
    return new wxPoint(self->GetLogicalPosition(*dc));
}
int wxMouseEvent_GetWheelDelta(const wxMouseEvent * self) {
    return self->GetWheelDelta();
}
#if wxCHECK_VERSION(3, 1, 0)
bool wxMouseEvent_IsWheelInverted(const wxMouseEvent * self) {
    return self->IsWheelInverted();
}
#endif
int wxMouseEvent_GetWheelRotation(const wxMouseEvent * self) {
    return self->GetWheelRotation();
}
bool wxMouseEvent_IsButton(const wxMouseEvent * self) {
    return self->IsButton();
}
bool wxMouseEvent_IsPageScroll(const wxMouseEvent * self) {
    return self->IsPageScroll();
}
bool wxMouseEvent_Leaving(const wxMouseEvent * self) {
    return self->Leaving();
}
bool wxMouseEvent_LeftDClick(const wxMouseEvent * self) {
    return self->LeftDClick();
}
bool wxMouseEvent_LeftDown(const wxMouseEvent * self) {
    return self->LeftDown();
}
bool wxMouseEvent_LeftUp(const wxMouseEvent * self) {
    return self->LeftUp();
}
#if wxCHECK_VERSION(3, 1, 0)
bool wxMouseEvent_Magnify(const wxMouseEvent * self) {
    return self->Magnify();
}
#endif
bool wxMouseEvent_MetaDown(const wxMouseEvent * self) {
    return self->MetaDown();
}
bool wxMouseEvent_MiddleDClick(const wxMouseEvent * self) {
    return self->MiddleDClick();
}
bool wxMouseEvent_MiddleDown(const wxMouseEvent * self) {
    return self->MiddleDown();
}
bool wxMouseEvent_MiddleUp(const wxMouseEvent * self) {
    return self->MiddleUp();
}
bool wxMouseEvent_Moving(const wxMouseEvent * self) {
    return self->Moving();
}
bool wxMouseEvent_RightDClick(const wxMouseEvent * self) {
    return self->RightDClick();
}
bool wxMouseEvent_RightDown(const wxMouseEvent * self) {
    return self->RightDown();
}
bool wxMouseEvent_RightUp(const wxMouseEvent * self) {
    return self->RightUp();
}

// CLASS: wxMouseEventsManager
wxClassInfo *wxMouseEventsManager_CLASSINFO() {
    return wxCLASSINFO(wxMouseEventsManager);
}
bool wxMouseEventsManager_Create(wxMouseEventsManager * self, wxWindow * win) {
    return self->Create(win);
}

// CLASS: wxMoveEvent
wxClassInfo *wxMoveEvent_CLASSINFO() {
    return wxCLASSINFO(wxMoveEvent);
}
wxMoveEvent *wxMoveEvent_new(const wxPoint * pt, int id) {
    return new wxMoveEvent(*pt, id);
}
wxPoint *wxMoveEvent_GetPosition(const wxMoveEvent * self) {
    return new wxPoint(self->GetPosition());
}
wxRect *wxMoveEvent_GetRect(const wxMoveEvent * self) {
    return new wxRect(self->GetRect());
}
void wxMoveEvent_SetRect(wxMoveEvent * self, const wxRect * rect) {
    return self->SetRect(*rect);
}
void wxMoveEvent_SetPosition(wxMoveEvent * self, const wxPoint * pos) {
    return self->SetPosition(*pos);
}

} // extern "C"