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
#include "generated.h"

extern "C" {

// CLASS: wxLayoutAlgorithm
wxClassInfo *wxLayoutAlgorithm_CLASSINFO() {
    return wxCLASSINFO(wxLayoutAlgorithm);
}
wxLayoutAlgorithm *wxLayoutAlgorithm_new() {
    return new wxLayoutAlgorithm();
}
bool wxLayoutAlgorithm_LayoutFrame(wxLayoutAlgorithm * self, wxFrame * frame, wxWindow * main_window) {
    return self->LayoutFrame(frame, main_window);
}
bool wxLayoutAlgorithm_LayoutWindow(wxLayoutAlgorithm * self, wxWindow * parent, wxWindow * main_window) {
    return self->LayoutWindow(parent, main_window);
}

// CLASS: wxListBox
wxClassInfo *wxListBox_CLASSINFO() {
    return wxCLASSINFO(wxListBox);
}
wxListBox *wxListBox_new() {
    return new wxListBox();
}
wxListBox *wxListBox_new2(wxWindow * parent, wxWindowID id, const wxPoint * pos, const wxSize * size, const wxArrayString * choices, long style, const wxValidator * validator, const wxString * name) {
    return new wxListBox(parent, id, *pos, *size, *choices, style, *validator, *name);
}
bool wxListBox_Create1(wxListBox * self, wxWindow * parent, wxWindowID id, const wxPoint * pos, const wxSize * size, const wxArrayString * choices, long style, const wxValidator * validator, const wxString * name) {
    return self->Create(parent, id, *pos, *size, *choices, style, *validator, *name);
}
void wxListBox_Deselect(wxListBox * self, int n) {
    return self->Deselect(n);
}
bool wxListBox_SetStringSelection(wxListBox * self, const wxString * s, bool select) {
    return self->SetStringSelection(*s, select);
}
bool wxListBox_SetStringSelection1(wxListBox * self, const wxString * s) {
    return self->SetStringSelection(*s);
}
int wxListBox_GetSelections(const wxListBox * self, wxArrayInt * selections) {
    return self->GetSelections(*selections);
}
int wxListBox_HitTest(const wxListBox * self, const wxPoint * point) {
    return self->HitTest(*point);
}
int wxListBox_HitTest1(const wxListBox * self, int x, int y) {
    return self->HitTest(x, y);
}
void wxListBox_InsertItems1(wxListBox * self, const wxArrayString * items, unsigned int pos) {
    return self->InsertItems(*items, pos);
}
bool wxListBox_IsSelected(const wxListBox * self, int n) {
    return self->IsSelected(n);
}
void wxListBox_SetFirstItem(wxListBox * self, int n) {
    return self->SetFirstItem(n);
}
void wxListBox_SetFirstItem1(wxListBox * self, const wxString * string) {
    return self->SetFirstItem(*string);
}
void wxListBox_EnsureVisible(wxListBox * self, int n) {
    return self->EnsureVisible(n);
}
bool wxListBox_IsSorted(const wxListBox * self) {
    return self->IsSorted();
}
#if wxCHECK_VERSION(3, 1, 0)
int wxListBox_GetCountPerPage(const wxListBox * self) {
    return self->GetCountPerPage();
}
int wxListBox_GetTopItem(const wxListBox * self) {
    return self->GetTopItem();
}
#endif
// Mix-in(s) to wxListBox
wxItemContainer *wxListBox_AsItemContainer(wxListBox* obj) {
    return static_cast<wxItemContainer*>(obj);
}

// CLASS: wxListCtrl
wxClassInfo *wxListCtrl_CLASSINFO() {
    return wxCLASSINFO(wxListCtrl);
}
wxListCtrl *wxListCtrl_new() {
    return new wxListCtrl();
}
wxListCtrl *wxListCtrl_new1(wxWindow * parent, wxWindowID id, const wxPoint * pos, const wxSize * size, long style, const wxValidator * validator, const wxString * name) {
    return new wxListCtrl(parent, id, *pos, *size, style, *validator, *name);
}
bool wxListCtrl_Arrange(wxListCtrl * self, int flag) {
    return self->Arrange(flag);
}
void wxListCtrl_AssignImageList(wxListCtrl * self, wxImageList * image_list, int which) {
    return self->AssignImageList(image_list, which);
}
void wxListCtrl_ClearAll(wxListCtrl * self) {
    return self->ClearAll();
}
bool wxListCtrl_Create(wxListCtrl * self, wxWindow * parent, wxWindowID id, const wxPoint * pos, const wxSize * size, long style, const wxValidator * validator, const wxString * name) {
    return self->Create(parent, id, *pos, *size, style, *validator, *name);
}
bool wxListCtrl_DeleteAllColumns(wxListCtrl * self) {
    return self->DeleteAllColumns();
}
bool wxListCtrl_DeleteAllItems(wxListCtrl * self) {
    return self->DeleteAllItems();
}
bool wxListCtrl_DeleteColumn(wxListCtrl * self, int col) {
    return self->DeleteColumn(col);
}
bool wxListCtrl_DeleteItem(wxListCtrl * self, long item) {
    return self->DeleteItem(item);
}
wxTextCtrl * wxListCtrl_EditLabel(wxListCtrl * self, long item, wxClassInfo * text_control_class) {
    return self->EditLabel(item, text_control_class);
}
void wxListCtrl_EnableAlternateRowColours(wxListCtrl * self, bool enable) {
    return self->EnableAlternateRowColours(enable);
}
void wxListCtrl_EnableBellOnNoMatch(wxListCtrl * self, bool on) {
    return self->EnableBellOnNoMatch(on);
}
bool wxListCtrl_EndEditLabel(wxListCtrl * self, bool cancel) {
    return self->EndEditLabel(cancel);
}
bool wxListCtrl_EnsureVisible(wxListCtrl * self, long item) {
    return self->EnsureVisible(item);
}
long wxListCtrl_FindItem(wxListCtrl * self, long start, const wxString * str, bool partial) {
    return self->FindItem(start, *str, partial);
}
long wxListCtrl_FindItem2(wxListCtrl * self, long start, const wxPoint * pt, int direction) {
    return self->FindItem(start, *pt, direction);
}
bool wxListCtrl_GetColumn(const wxListCtrl * self, int col, wxListItem * item) {
    return self->GetColumn(col, *item);
}
int wxListCtrl_GetColumnCount(const wxListCtrl * self) {
    return self->GetColumnCount();
}
#if wxCHECK_VERSION(3, 1, 0)
int wxListCtrl_GetColumnIndexFromOrder(const wxListCtrl * self, int pos) {
    return self->GetColumnIndexFromOrder(pos);
}
int wxListCtrl_GetColumnOrder(const wxListCtrl * self, int col) {
    return self->GetColumnOrder(col);
}
#endif
int wxListCtrl_GetColumnWidth(const wxListCtrl * self, int col) {
    return self->GetColumnWidth(col);
}
#if wxCHECK_VERSION(3, 1, 0)
wxArrayInt *wxListCtrl_GetColumnsOrder(const wxListCtrl * self) {
    return new wxArrayInt(self->GetColumnsOrder());
}
#endif
int wxListCtrl_GetCountPerPage(const wxListCtrl * self) {
    return self->GetCountPerPage();
}
wxTextCtrl * wxListCtrl_GetEditControl(const wxListCtrl * self) {
    return self->GetEditControl();
}
wxImageList * wxListCtrl_GetImageList(const wxListCtrl * self, int which) {
    return self->GetImageList(which);
}
bool wxListCtrl_GetItem(const wxListCtrl * self, wxListItem * info) {
    return self->GetItem(*info);
}
wxColour *wxListCtrl_GetItemBackgroundColour(const wxListCtrl * self, long item) {
    return new wxColour(self->GetItemBackgroundColour(item));
}
int wxListCtrl_GetItemCount(const wxListCtrl * self) {
    return self->GetItemCount();
}
wxFont *wxListCtrl_GetItemFont(const wxListCtrl * self, long item) {
    return new wxFont(self->GetItemFont(item));
}
bool wxListCtrl_GetItemPosition(const wxListCtrl * self, long item, wxPoint * pos) {
    return self->GetItemPosition(item, *pos);
}
bool wxListCtrl_GetItemRect(const wxListCtrl * self, long item, wxRect * rect, int code) {
    return self->GetItemRect(item, *rect, code);
}
wxSize *wxListCtrl_GetItemSpacing(const wxListCtrl * self) {
    return new wxSize(self->GetItemSpacing());
}
int wxListCtrl_GetItemState(const wxListCtrl * self, long item, long state_mask) {
    return self->GetItemState(item, state_mask);
}
wxString *wxListCtrl_GetItemText(const wxListCtrl * self, long item, int col) {
    return new wxString(self->GetItemText(item, col));
}
wxColour *wxListCtrl_GetItemTextColour(const wxListCtrl * self, long item) {
    return new wxColour(self->GetItemTextColour(item));
}
long wxListCtrl_GetNextItem(const wxListCtrl * self, long item, int geometry, int state) {
    return self->GetNextItem(item, geometry, state);
}
int wxListCtrl_GetSelectedItemCount(const wxListCtrl * self) {
    return self->GetSelectedItemCount();
}
bool wxListCtrl_GetSubItemRect(const wxListCtrl * self, long item, long sub_item, wxRect * rect, int code) {
    return self->GetSubItemRect(item, sub_item, *rect, code);
}
wxColour *wxListCtrl_GetTextColour(const wxListCtrl * self) {
    return new wxColour(self->GetTextColour());
}
long wxListCtrl_GetTopItem(const wxListCtrl * self) {
    return self->GetTopItem();
}
wxRect *wxListCtrl_GetViewRect(const wxListCtrl * self) {
    return new wxRect(self->GetViewRect());
}
void wxListCtrl_SetAlternateRowColour(wxListCtrl * self, const wxColour * colour) {
    return self->SetAlternateRowColour(*colour);
}
#if wxCHECK_VERSION(3, 1, 0)
wxColour *wxListCtrl_GetAlternateRowColour(const wxListCtrl * self) {
    return new wxColour(self->GetAlternateRowColour());
}
#endif
long wxListCtrl_HitTest(const wxListCtrl * self, const wxPoint * point, int * flags, long * ptr_sub_item) {
    return self->HitTest(*point, *flags, ptr_sub_item);
}
bool wxListCtrl_InReportView(const wxListCtrl * self) {
    return self->InReportView();
}
long wxListCtrl_InsertColumn(wxListCtrl * self, long col, const wxListItem * info) {
    return self->InsertColumn(col, *info);
}
long wxListCtrl_InsertColumn1(wxListCtrl * self, long col, const wxString * heading, int format, int width) {
    return self->InsertColumn(col, *heading, format, width);
}
long wxListCtrl_InsertItem(wxListCtrl * self, wxListItem * info) {
    return self->InsertItem(*info);
}
long wxListCtrl_InsertItem1(wxListCtrl * self, long index, const wxString * label) {
    return self->InsertItem(index, *label);
}
long wxListCtrl_InsertItem2(wxListCtrl * self, long index, int image_index) {
    return self->InsertItem(index, image_index);
}
long wxListCtrl_InsertItem3(wxListCtrl * self, long index, const wxString * label, int image_index) {
    return self->InsertItem(index, *label, image_index);
}
#if wxCHECK_VERSION(3, 1, 0)
bool wxListCtrl_IsEmpty(const wxListCtrl * self) {
    return self->IsEmpty();
}
#endif
bool wxListCtrl_IsVirtual(const wxListCtrl * self) {
    return self->IsVirtual();
}
void wxListCtrl_RefreshItem(wxListCtrl * self, long item) {
    return self->RefreshItem(item);
}
void wxListCtrl_RefreshItems(wxListCtrl * self, long item_from, long item_to) {
    return self->RefreshItems(item_from, item_to);
}
bool wxListCtrl_ScrollList(wxListCtrl * self, int dx, int dy) {
    return self->ScrollList(dx, dy);
}
bool wxListCtrl_SetColumn(wxListCtrl * self, int col, wxListItem * item) {
    return self->SetColumn(col, *item);
}
bool wxListCtrl_SetColumnWidth(wxListCtrl * self, int col, int width) {
    return self->SetColumnWidth(col, width);
}
#if wxCHECK_VERSION(3, 1, 0)
bool wxListCtrl_SetColumnsOrder(wxListCtrl * self, const wxArrayInt * orders) {
    return self->SetColumnsOrder(*orders);
}
bool wxListCtrl_SetHeaderAttr(wxListCtrl * self, const wxItemAttr * attr) {
    return self->SetHeaderAttr(*attr);
}
#endif
void wxListCtrl_SetImageList(wxListCtrl * self, wxImageList * image_list, int which) {
    return self->SetImageList(image_list, which);
}
#if wxCHECK_VERSION(3, 1, 0)
void wxListCtrl_SetNormalImages(wxListCtrl * self, const wxVector< wxBitmapBundle > * images) {
    return self->SetNormalImages(*images);
}
void wxListCtrl_SetSmallImages(wxListCtrl * self, const wxVector< wxBitmapBundle > * images) {
    return self->SetSmallImages(*images);
}
bool wxListCtrl_IsVisible(const wxListCtrl * self, long item) {
    return self->IsVisible(item);
}
#endif
bool wxListCtrl_SetItem(wxListCtrl * self, wxListItem * info) {
    return self->SetItem(*info);
}
bool wxListCtrl_SetItem1(wxListCtrl * self, long index, int column, const wxString * label, int image_id) {
    return self->SetItem(index, column, *label, image_id);
}
void wxListCtrl_SetItemBackgroundColour(wxListCtrl * self, long item, const wxColour * col) {
    return self->SetItemBackgroundColour(item, *col);
}
bool wxListCtrl_SetItemColumnImage(wxListCtrl * self, long item, long column, int image) {
    return self->SetItemColumnImage(item, column, image);
}
void wxListCtrl_SetItemCount(wxListCtrl * self, long count) {
    return self->SetItemCount(count);
}
bool wxListCtrl_SetItemData(wxListCtrl * self, long item, long data) {
    return self->SetItemData(item, data);
}
void wxListCtrl_SetItemFont(wxListCtrl * self, long item, const wxFont * font) {
    return self->SetItemFont(item, *font);
}
bool wxListCtrl_SetItemImage(wxListCtrl * self, long item, int image, int sel_image) {
    return self->SetItemImage(item, image, sel_image);
}
bool wxListCtrl_SetItemPosition(wxListCtrl * self, long item, const wxPoint * pos) {
    return self->SetItemPosition(item, *pos);
}
bool wxListCtrl_SetItemState(wxListCtrl * self, long item, long state, long state_mask) {
    return self->SetItemState(item, state, state_mask);
}
void wxListCtrl_SetItemText(wxListCtrl * self, long item, const wxString * text) {
    return self->SetItemText(item, *text);
}
void wxListCtrl_SetItemTextColour(wxListCtrl * self, long item, const wxColour * col) {
    return self->SetItemTextColour(item, *col);
}
void wxListCtrl_SetSingleStyle(wxListCtrl * self, long style, bool add) {
    return self->SetSingleStyle(style, add);
}
void wxListCtrl_SetTextColour(wxListCtrl * self, const wxColour * col) {
    return self->SetTextColour(*col);
}
#if wxCHECK_VERSION(3, 1, 0)
bool wxListCtrl_HasCheckBoxes(const wxListCtrl * self) {
    return self->HasCheckBoxes();
}
bool wxListCtrl_EnableCheckBoxes(wxListCtrl * self, bool enable) {
    return self->EnableCheckBoxes(enable);
}
bool wxListCtrl_IsItemChecked(const wxListCtrl * self, long item) {
    return self->IsItemChecked(item);
}
void wxListCtrl_CheckItem(wxListCtrl * self, long item, bool check) {
    return self->CheckItem(item, check);
}
void wxListCtrl_ExtendRulesAndAlternateColour(wxListCtrl * self, bool extend) {
    return self->ExtendRulesAndAlternateColour(extend);
}
void wxListCtrl_ShowSortIndicator(wxListCtrl * self, int col, bool ascending) {
    return self->ShowSortIndicator(col, ascending);
}
void wxListCtrl_RemoveSortIndicator(wxListCtrl * self) {
    return self->RemoveSortIndicator();
}
int wxListCtrl_GetSortIndicator(const wxListCtrl * self) {
    return self->GetSortIndicator();
}
bool wxListCtrl_GetUpdatedAscendingSortIndicator(const wxListCtrl * self, int col) {
    return self->GetUpdatedAscendingSortIndicator(col);
}
bool wxListCtrl_IsAscendingSortIndicator(const wxListCtrl * self) {
    return self->IsAscendingSortIndicator();
}
#endif

// CLASS: wxListEvent
wxClassInfo *wxListEvent_CLASSINFO() {
    return wxCLASSINFO(wxListEvent);
}
long wxListEvent_GetCacheFrom(const wxListEvent * self) {
    return self->GetCacheFrom();
}
long wxListEvent_GetCacheTo(const wxListEvent * self) {
    return self->GetCacheTo();
}
int wxListEvent_GetColumn(const wxListEvent * self) {
    return self->GetColumn();
}
int wxListEvent_GetImage(const wxListEvent * self) {
    return self->GetImage();
}
long wxListEvent_GetIndex(const wxListEvent * self) {
    return self->GetIndex();
}
wxListItem *wxListEvent_GetItem(const wxListEvent * self) {
    return new wxListItem(self->GetItem());
}
int wxListEvent_GetKeyCode(const wxListEvent * self) {
    return self->GetKeyCode();
}
wxString *wxListEvent_GetLabel(const wxListEvent * self) {
    return new wxString(self->GetLabel());
}
long wxListEvent_GetMask(const wxListEvent * self) {
    return self->GetMask();
}
wxPoint *wxListEvent_GetPoint(const wxListEvent * self) {
    return new wxPoint(self->GetPoint());
}
wxString *wxListEvent_GetText(const wxListEvent * self) {
    return new wxString(self->GetText());
}
bool wxListEvent_IsEditCancelled(const wxListEvent * self) {
    return self->IsEditCancelled();
}
void wxListEvent_SetKeyCode(wxListEvent * self, int code) {
    return self->SetKeyCode(code);
}
void wxListEvent_SetIndex(wxListEvent * self, long index) {
    return self->SetIndex(index);
}
void wxListEvent_SetColumn(wxListEvent * self, int col) {
    return self->SetColumn(col);
}
void wxListEvent_SetPoint(wxListEvent * self, const wxPoint * point) {
    return self->SetPoint(*point);
}
void wxListEvent_SetItem(wxListEvent * self, const wxListItem * item) {
    return self->SetItem(*item);
}
void wxListEvent_SetCacheFrom(wxListEvent * self, long cache_from) {
    return self->SetCacheFrom(cache_from);
}
void wxListEvent_SetCacheTo(wxListEvent * self, long cache_to) {
    return self->SetCacheTo(cache_to);
}

// CLASS: wxListItem
wxClassInfo *wxListItem_CLASSINFO() {
    return wxCLASSINFO(wxListItem);
}
wxListItem *wxListItem_new() {
    return new wxListItem();
}
void wxListItem_Clear(wxListItem * self) {
    return self->Clear();
}
wxColour *wxListItem_GetBackgroundColour(const wxListItem * self) {
    return new wxColour(self->GetBackgroundColour());
}
int wxListItem_GetColumn(const wxListItem * self) {
    return self->GetColumn();
}
wxFont *wxListItem_GetFont(const wxListItem * self) {
    return new wxFont(self->GetFont());
}
long wxListItem_GetId(const wxListItem * self) {
    return self->GetId();
}
int wxListItem_GetImage(const wxListItem * self) {
    return self->GetImage();
}
long wxListItem_GetMask(const wxListItem * self) {
    return self->GetMask();
}
long wxListItem_GetState(const wxListItem * self) {
    return self->GetState();
}
wxString *wxListItem_GetText(const wxListItem * self) {
    return new wxString(self->GetText());
}
wxColour *wxListItem_GetTextColour(const wxListItem * self) {
    return new wxColour(self->GetTextColour());
}
int wxListItem_GetWidth(const wxListItem * self) {
    return self->GetWidth();
}
void wxListItem_SetBackgroundColour(wxListItem * self, const wxColour * col_back) {
    return self->SetBackgroundColour(*col_back);
}
void wxListItem_SetColumn(wxListItem * self, int col) {
    return self->SetColumn(col);
}
void wxListItem_SetData(wxListItem * self, long data) {
    return self->SetData(data);
}
void wxListItem_SetData1(wxListItem * self, void * data) {
    return self->SetData(data);
}
void wxListItem_SetFont(wxListItem * self, const wxFont * font) {
    return self->SetFont(*font);
}
void wxListItem_SetId(wxListItem * self, long id) {
    return self->SetId(id);
}
void wxListItem_SetImage(wxListItem * self, int image) {
    return self->SetImage(image);
}
void wxListItem_SetMask(wxListItem * self, long mask) {
    return self->SetMask(mask);
}
void wxListItem_SetState(wxListItem * self, long state) {
    return self->SetState(state);
}
void wxListItem_SetStateMask(wxListItem * self, long state_mask) {
    return self->SetStateMask(state_mask);
}
void wxListItem_SetText(wxListItem * self, const wxString * text) {
    return self->SetText(*text);
}
void wxListItem_SetTextColour(wxListItem * self, const wxColour * col_text) {
    return self->SetTextColour(*col_text);
}
void wxListItem_SetWidth(wxListItem * self, int width) {
    return self->SetWidth(width);
}

// CLASS: wxListView
wxClassInfo *wxListView_CLASSINFO() {
    return wxCLASSINFO(wxListView);
}
wxListView *wxListView_new() {
    return new wxListView();
}
wxListView *wxListView_new1(wxWindow * parent, wxWindowID winid, const wxPoint * pos, const wxSize * size, long style, const wxValidator * validator, const wxString * name) {
    return new wxListView(parent, winid, *pos, *size, style, *validator, *name);
}
void wxListView_ClearColumnImage(wxListView * self, int col) {
    return self->ClearColumnImage(col);
}
void wxListView_Focus(wxListView * self, long index) {
    return self->Focus(index);
}
long wxListView_GetFirstSelected(const wxListView * self) {
    return self->GetFirstSelected();
}
long wxListView_GetFocusedItem(const wxListView * self) {
    return self->GetFocusedItem();
}
long wxListView_GetNextSelected(const wxListView * self, long item) {
    return self->GetNextSelected(item);
}
bool wxListView_IsSelected(const wxListView * self, long index) {
    return self->IsSelected(index);
}
void wxListView_Select(wxListView * self, long n, bool on) {
    return self->Select(n, on);
}
void wxListView_SetColumnImage(wxListView * self, int col, int image) {
    return self->SetColumnImage(col, image);
}

// CLASS: wxListbook
wxClassInfo *wxListbook_CLASSINFO() {
    return wxCLASSINFO(wxListbook);
}
wxListbook *wxListbook_new() {
    return new wxListbook();
}
wxListbook *wxListbook_new1(wxWindow * parent, wxWindowID id, const wxPoint * pos, const wxSize * size, long style, const wxString * name) {
    return new wxListbook(parent, id, *pos, *size, style, *name);
}
bool wxListbook_Create(wxListbook * self, wxWindow * parent, wxWindowID id, const wxPoint * pos, const wxSize * size, long style, const wxString * name) {
    return self->Create(parent, id, *pos, *size, style, *name);
}
wxListView * wxListbook_GetListView(const wxListbook * self) {
    return self->GetListView();
}

} // extern "C"