1 /*
2 * Interface wrapper code.
3 *
4 * Generated by SIP 4.19.16
5 *
6 * Copyright: (c) 2018 by Total Control Software
7 * License: wxWindows License
8 */
9
10 #include "sipAPI_core.h"
11
12 #include <wx/checklst.h>
13
14 #include <wx/window.h>
15 #include <wx/gdicmn.h>
16 #include <wx/gdicmn.h>
17 #include <wx/validate.h>
18 #include <wx/window.h>
19 #include <wx/event.h>
20 #include <wx/font.h>
21 #include <wx/colour.h>
22 #include <wx/dc.h>
23 #include <wx/event.h>
24 #include <wx/event.h>
25 #include <wx/setup.h>
26 #include <wxPython/wxpy_api.h>
27 #include <wx/event.h>
28 #include <wx/cursor.h>
29 #include <wx/caret.h>
30 #include <wx/layout.h>
31 #include <wx/sizer.h>
32 #include <wx/dnd.h>
33 #include <wx/access.h>
34 #include <wx/accel.h>
35 #include <wx/menu.h>
36 #include <wx/tooltip.h>
37 #include <wx/event.h>
38 #include <wx/gdicmn.h>
39 #include <wx/event.h>
40 #include <wx/event.h>
41 #include <wx/palette.h>
42 #include <wx/region.h>
43
44 #include <wx/eventfilter.h>
45 #include <wx/object.h>
46 #include <wx/object.h>
47 #include <wx/object.h>
48
49
50 class sipwxCheckListBox : public ::wxCheckListBox
51 {
52 public:
53 sipwxCheckListBox( ::wxWindow*, ::wxWindowID,const ::wxPoint&,const ::wxSize&,const ::wxArrayString&,long,const ::wxValidator&,const ::wxString&);
54 sipwxCheckListBox();
55 virtual ~sipwxCheckListBox();
56
57 /*
58 * There is a public method for every protected method visible from
59 * this class.
60 */
61 void sipProtect_SendDestroyEvent();
62 bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&);
63 void sipProtectVirt_DoEnable(bool,bool);
64 void sipProtectVirt_DoGetPosition(bool,int*,int*) const;
65 void sipProtectVirt_DoGetSize(bool,int*,int*) const;
66 void sipProtectVirt_DoGetClientSize(bool,int*,int*) const;
67 ::wxSize sipProtectVirt_DoGetBestSize(bool) const;
68 ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const;
69 void sipProtectVirt_DoSetSize(bool,int,int,int,int,int);
70 void sipProtectVirt_DoSetClientSize(bool,int,int);
71 void sipProtectVirt_DoSetSizeHints(bool,int,int,int,int,int,int);
72 ::wxSize sipProtectVirt_DoGetBorderSize(bool) const;
73 void sipProtectVirt_DoMoveWindow(bool,int,int,int,int);
74 void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant);
75 ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const;
76 ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const;
77 void sipProtectVirt_DoFreeze(bool);
78 void sipProtectVirt_DoThaw(bool);
79 bool sipProtectVirt_HasTransparentBackground(bool);
80 bool sipProtectVirt_TryBefore(bool, ::wxEvent&);
81 bool sipProtectVirt_TryAfter(bool, ::wxEvent&);
82
83 /*
84 * There is a protected method for every virtual method visible from
85 * this class.
86 */
87 protected:
88 void RemoveChild( ::wxWindowBase*) SIP_OVERRIDE;
89 void AddChild( ::wxWindowBase*) SIP_OVERRIDE;
90 bool ProcessEvent( ::wxEvent&) SIP_OVERRIDE;
91 bool TryBefore( ::wxEvent&) SIP_OVERRIDE;
92 bool TryAfter( ::wxEvent&) SIP_OVERRIDE;
93 bool AcceptsFocus() const SIP_OVERRIDE;
94 bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
95 bool AcceptsFocusRecursively() const SIP_OVERRIDE;
96 void SetCanFocus(bool) SIP_OVERRIDE;
97 bool InformFirstDirection(int,int,int) SIP_OVERRIDE;
98 ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
99 bool HasTransparentBackground() SIP_OVERRIDE;
100 bool ShouldInheritColours() const SIP_OVERRIDE;
101 ::wxValidator* GetValidator() SIP_OVERRIDE;
102 void SetValidator(const ::wxValidator&) SIP_OVERRIDE;
103 bool TransferDataFromWindow() SIP_OVERRIDE;
104 bool TransferDataToWindow() SIP_OVERRIDE;
105 bool Validate() SIP_OVERRIDE;
106 bool Destroy() SIP_OVERRIDE;
107 void InheritAttributes() SIP_OVERRIDE;
108 void InitDialog() SIP_OVERRIDE;
109 void OnInternalIdle() SIP_OVERRIDE;
110 ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
111 void DoEnable(bool) SIP_OVERRIDE;
112 void DoGetPosition(int*,int*) const SIP_OVERRIDE;
113 void DoGetSize(int*,int*) const SIP_OVERRIDE;
114 void DoGetClientSize(int*,int*) const SIP_OVERRIDE;
115 void DoSetSize(int,int,int,int,int) SIP_OVERRIDE;
116 void DoSetClientSize(int,int) SIP_OVERRIDE;
117 void DoSetSizeHints(int,int,int,int,int,int) SIP_OVERRIDE;
118 ::wxSize DoGetBorderSize() const SIP_OVERRIDE;
119 void DoMoveWindow(int,int,int,int) SIP_OVERRIDE;
120 void DoSetWindowVariant( ::wxWindowVariant) SIP_OVERRIDE;
121 ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
122 ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
123 void DoFreeze() SIP_OVERRIDE;
124 void DoThaw() SIP_OVERRIDE;
125 ::wxSize DoGetBestSize() const SIP_OVERRIDE;
126 ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
127 uint GetCount() const SIP_OVERRIDE;
128 ::wxString GetString(uint) const SIP_OVERRIDE;
129 void SetString(uint,const ::wxString&) SIP_OVERRIDE;
130 int FindString(const ::wxString&,bool) const SIP_OVERRIDE;
131 void SetSelection(int) SIP_OVERRIDE;
132 int GetSelection() const SIP_OVERRIDE;
133 ::wxString GetStringSelection() const SIP_OVERRIDE;
134
135 public:
136 sipSimpleWrapper *sipPySelf;
137
138 private:
139 sipwxCheckListBox(const sipwxCheckListBox &);
140 sipwxCheckListBox &operator = (const sipwxCheckListBox &);
141
142 char sipPyMethods[46];
143 };
144
sipwxCheckListBox(::wxWindow * parent,::wxWindowID id,const::wxPoint & pos,const::wxSize & size,const::wxArrayString & choices,long style,const::wxValidator & validator,const::wxString & name)145 sipwxCheckListBox::sipwxCheckListBox( ::wxWindow*parent, ::wxWindowID id,const ::wxPoint& pos,const ::wxSize& size,const ::wxArrayString& choices,long style,const ::wxValidator& validator,const ::wxString& name): ::wxCheckListBox(parent,id,pos,size,choices,style,validator,name), sipPySelf(SIP_NULLPTR)
146 {
147 memset(sipPyMethods, 0, sizeof (sipPyMethods));
148 }
149
sipwxCheckListBox()150 sipwxCheckListBox::sipwxCheckListBox(): ::wxCheckListBox(), sipPySelf(SIP_NULLPTR)
151 {
152 memset(sipPyMethods, 0, sizeof (sipPyMethods));
153 }
154
~sipwxCheckListBox()155 sipwxCheckListBox::~sipwxCheckListBox()
156 {
157 sipInstanceDestroyedEx(&sipPySelf);
158 }
159
RemoveChild(::wxWindowBase * child)160 void sipwxCheckListBox::RemoveChild( ::wxWindowBase*child)
161 {
162 sip_gilstate_t sipGILState;
163 PyObject *sipMeth;
164
165 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_RemoveChild);
166
167 if (!sipMeth)
168 {
169 ::wxCheckListBox::RemoveChild(child);
170 return;
171 }
172
173 extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*);
174
175 sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
176 }
177
AddChild(::wxWindowBase * child)178 void sipwxCheckListBox::AddChild( ::wxWindowBase*child)
179 {
180 sip_gilstate_t sipGILState;
181 PyObject *sipMeth;
182
183 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,SIP_NULLPTR,sipName_AddChild);
184
185 if (!sipMeth)
186 {
187 ::wxCheckListBox::AddChild(child);
188 return;
189 }
190
191 extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowBase*);
192
193 sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
194 }
195
ProcessEvent(::wxEvent & event)196 bool sipwxCheckListBox::ProcessEvent( ::wxEvent& event)
197 {
198 sip_gilstate_t sipGILState;
199 PyObject *sipMeth;
200
201 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_ProcessEvent);
202
203 if (!sipMeth)
204 return ::wxCheckListBox::ProcessEvent(event);
205
206 extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
207
208 return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
209 }
210
TryBefore(::wxEvent & event)211 bool sipwxCheckListBox::TryBefore( ::wxEvent& event)
212 {
213 sip_gilstate_t sipGILState;
214 PyObject *sipMeth;
215
216 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_TryBefore);
217
218 if (!sipMeth)
219 return ::wxCheckListBox::TryBefore(event);
220
221 extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
222
223 return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
224 }
225
TryAfter(::wxEvent & event)226 bool sipwxCheckListBox::TryAfter( ::wxEvent& event)
227 {
228 sip_gilstate_t sipGILState;
229 PyObject *sipMeth;
230
231 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_TryAfter);
232
233 if (!sipMeth)
234 return ::wxCheckListBox::TryAfter(event);
235
236 extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxEvent&);
237
238 return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
239 }
240
AcceptsFocus() const241 bool sipwxCheckListBox::AcceptsFocus() const
242 {
243 sip_gilstate_t sipGILState;
244 PyObject *sipMeth;
245
246 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
247
248 if (!sipMeth)
249 return ::wxCheckListBox::AcceptsFocus();
250
251 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
252
253 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
254 }
255
AcceptsFocusFromKeyboard() const256 bool sipwxCheckListBox::AcceptsFocusFromKeyboard() const
257 {
258 sip_gilstate_t sipGILState;
259 PyObject *sipMeth;
260
261 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusFromKeyboard);
262
263 if (!sipMeth)
264 return ::wxCheckListBox::AcceptsFocusFromKeyboard();
265
266 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
267
268 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
269 }
270
AcceptsFocusRecursively() const271 bool sipwxCheckListBox::AcceptsFocusRecursively() const
272 {
273 sip_gilstate_t sipGILState;
274 PyObject *sipMeth;
275
276 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusRecursively);
277
278 if (!sipMeth)
279 return ::wxCheckListBox::AcceptsFocusRecursively();
280
281 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
282
283 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
284 }
285
SetCanFocus(bool canFocus)286 void sipwxCheckListBox::SetCanFocus(bool canFocus)
287 {
288 sip_gilstate_t sipGILState;
289 PyObject *sipMeth;
290
291 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,SIP_NULLPTR,sipName_SetCanFocus);
292
293 if (!sipMeth)
294 {
295 ::wxCheckListBox::SetCanFocus(canFocus);
296 return;
297 }
298
299 extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
300
301 sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, canFocus);
302 }
303
InformFirstDirection(int direction,int size,int availableOtherDir)304 bool sipwxCheckListBox::InformFirstDirection(int direction,int size,int availableOtherDir)
305 {
306 sip_gilstate_t sipGILState;
307 PyObject *sipMeth;
308
309 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,SIP_NULLPTR,sipName_InformFirstDirection);
310
311 if (!sipMeth)
312 return ::wxCheckListBox::InformFirstDirection(direction,size,availableOtherDir);
313
314 extern bool sipVH__core_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);
315
316 return sipVH__core_111(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir);
317 }
318
GetClientAreaOrigin() const319 ::wxPoint sipwxCheckListBox::GetClientAreaOrigin() const
320 {
321 sip_gilstate_t sipGILState;
322 PyObject *sipMeth;
323
324 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,SIP_NULLPTR,sipName_GetClientAreaOrigin);
325
326 if (!sipMeth)
327 return ::wxCheckListBox::GetClientAreaOrigin();
328
329 extern ::wxPoint sipVH__core_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
330
331 return sipVH__core_112(sipGILState, 0, sipPySelf, sipMeth);
332 }
333
HasTransparentBackground()334 bool sipwxCheckListBox::HasTransparentBackground()
335 {
336 sip_gilstate_t sipGILState;
337 PyObject *sipMeth;
338
339 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,SIP_NULLPTR,sipName_HasTransparentBackground);
340
341 if (!sipMeth)
342 return ::wxCheckListBox::HasTransparentBackground();
343
344 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
345
346 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
347 }
348
ShouldInheritColours() const349 bool sipwxCheckListBox::ShouldInheritColours() const
350 {
351 sip_gilstate_t sipGILState;
352 PyObject *sipMeth;
353
354 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,SIP_NULLPTR,sipName_ShouldInheritColours);
355
356 if (!sipMeth)
357 return ::wxCheckListBox::ShouldInheritColours();
358
359 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
360
361 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
362 }
363
GetValidator()364 ::wxValidator* sipwxCheckListBox::GetValidator()
365 {
366 sip_gilstate_t sipGILState;
367 PyObject *sipMeth;
368
369 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,SIP_NULLPTR,sipName_GetValidator);
370
371 if (!sipMeth)
372 return ::wxCheckListBox::GetValidator();
373
374 extern ::wxValidator* sipVH__core_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
375
376 return sipVH__core_113(sipGILState, 0, sipPySelf, sipMeth);
377 }
378
SetValidator(const::wxValidator & validator)379 void sipwxCheckListBox::SetValidator(const ::wxValidator& validator)
380 {
381 sip_gilstate_t sipGILState;
382 PyObject *sipMeth;
383
384 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,SIP_NULLPTR,sipName_SetValidator);
385
386 if (!sipMeth)
387 {
388 ::wxCheckListBox::SetValidator(validator);
389 return;
390 }
391
392 extern void sipVH__core_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxValidator&);
393
394 sipVH__core_114(sipGILState, 0, sipPySelf, sipMeth, validator);
395 }
396
TransferDataFromWindow()397 bool sipwxCheckListBox::TransferDataFromWindow()
398 {
399 sip_gilstate_t sipGILState;
400 PyObject *sipMeth;
401
402 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,SIP_NULLPTR,sipName_TransferDataFromWindow);
403
404 if (!sipMeth)
405 return ::wxCheckListBox::TransferDataFromWindow();
406
407 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
408
409 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
410 }
411
TransferDataToWindow()412 bool sipwxCheckListBox::TransferDataToWindow()
413 {
414 sip_gilstate_t sipGILState;
415 PyObject *sipMeth;
416
417 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,SIP_NULLPTR,sipName_TransferDataToWindow);
418
419 if (!sipMeth)
420 return ::wxCheckListBox::TransferDataToWindow();
421
422 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
423
424 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
425 }
426
Validate()427 bool sipwxCheckListBox::Validate()
428 {
429 sip_gilstate_t sipGILState;
430 PyObject *sipMeth;
431
432 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_Validate);
433
434 if (!sipMeth)
435 return ::wxCheckListBox::Validate();
436
437 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
438
439 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
440 }
441
Destroy()442 bool sipwxCheckListBox::Destroy()
443 {
444 sip_gilstate_t sipGILState;
445 PyObject *sipMeth;
446
447 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,SIP_NULLPTR,sipName_Destroy);
448
449 if (!sipMeth)
450 return ::wxCheckListBox::Destroy();
451
452 extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
453
454 return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
455 }
456
InheritAttributes()457 void sipwxCheckListBox::InheritAttributes()
458 {
459 sip_gilstate_t sipGILState;
460 PyObject *sipMeth;
461
462 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_InheritAttributes);
463
464 if (!sipMeth)
465 {
466 ::wxCheckListBox::InheritAttributes();
467 return;
468 }
469
470 extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
471
472 sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
473 }
474
InitDialog()475 void sipwxCheckListBox::InitDialog()
476 {
477 sip_gilstate_t sipGILState;
478 PyObject *sipMeth;
479
480 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_InitDialog);
481
482 if (!sipMeth)
483 {
484 ::wxCheckListBox::InitDialog();
485 return;
486 }
487
488 extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
489
490 sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
491 }
492
OnInternalIdle()493 void sipwxCheckListBox::OnInternalIdle()
494 {
495 sip_gilstate_t sipGILState;
496 PyObject *sipMeth;
497
498 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_OnInternalIdle);
499
500 if (!sipMeth)
501 {
502 ::wxCheckListBox::OnInternalIdle();
503 return;
504 }
505
506 extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
507
508 sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
509 }
510
GetMainWindowOfCompositeControl()511 ::wxWindow* sipwxCheckListBox::GetMainWindowOfCompositeControl()
512 {
513 sip_gilstate_t sipGILState;
514 PyObject *sipMeth;
515
516 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,SIP_NULLPTR,sipName_GetMainWindowOfCompositeControl);
517
518 if (!sipMeth)
519 return ::wxCheckListBox::GetMainWindowOfCompositeControl();
520
521 extern ::wxWindow* sipVH__core_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
522
523 return sipVH__core_115(sipGILState, 0, sipPySelf, sipMeth);
524 }
525
DoEnable(bool enable)526 void sipwxCheckListBox::DoEnable(bool enable)
527 {
528 sip_gilstate_t sipGILState;
529 PyObject *sipMeth;
530
531 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,SIP_NULLPTR,sipName_DoEnable);
532
533 if (!sipMeth)
534 {
535 ::wxCheckListBox::DoEnable(enable);
536 return;
537 }
538
539 extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
540
541 sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, enable);
542 }
543
DoGetPosition(int * x,int * y) const544 void sipwxCheckListBox::DoGetPosition(int*x,int*y) const
545 {
546 sip_gilstate_t sipGILState;
547 PyObject *sipMeth;
548
549 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,SIP_NULLPTR,sipName_DoGetPosition);
550
551 if (!sipMeth)
552 {
553 ::wxCheckListBox::DoGetPosition(x,y);
554 return;
555 }
556
557 extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
558
559 sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, x, y);
560 }
561
DoGetSize(int * width,int * height) const562 void sipwxCheckListBox::DoGetSize(int*width,int*height) const
563 {
564 sip_gilstate_t sipGILState;
565 PyObject *sipMeth;
566
567 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,SIP_NULLPTR,sipName_DoGetSize);
568
569 if (!sipMeth)
570 {
571 ::wxCheckListBox::DoGetSize(width,height);
572 return;
573 }
574
575 extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
576
577 sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
578 }
579
DoGetClientSize(int * width,int * height) const580 void sipwxCheckListBox::DoGetClientSize(int*width,int*height) const
581 {
582 sip_gilstate_t sipGILState;
583 PyObject *sipMeth;
584
585 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,SIP_NULLPTR,sipName_DoGetClientSize);
586
587 if (!sipMeth)
588 {
589 ::wxCheckListBox::DoGetClientSize(width,height);
590 return;
591 }
592
593 extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
594
595 sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
596 }
597
DoSetSize(int x,int y,int width,int height,int sizeFlags)598 void sipwxCheckListBox::DoSetSize(int x,int y,int width,int height,int sizeFlags)
599 {
600 sip_gilstate_t sipGILState;
601 PyObject *sipMeth;
602
603 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,SIP_NULLPTR,sipName_DoSetSize);
604
605 if (!sipMeth)
606 {
607 ::wxCheckListBox::DoSetSize(x,y,width,height,sizeFlags);
608 return;
609 }
610
611 extern void sipVH__core_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int);
612
613 sipVH__core_117(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags);
614 }
615
DoSetClientSize(int width,int height)616 void sipwxCheckListBox::DoSetClientSize(int width,int height)
617 {
618 sip_gilstate_t sipGILState;
619 PyObject *sipMeth;
620
621 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,SIP_NULLPTR,sipName_DoSetClientSize);
622
623 if (!sipMeth)
624 {
625 ::wxCheckListBox::DoSetClientSize(width,height);
626 return;
627 }
628
629 extern void sipVH__core_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
630
631 sipVH__core_118(sipGILState, 0, sipPySelf, sipMeth, width, height);
632 }
633
DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)634 void sipwxCheckListBox::DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)
635 {
636 sip_gilstate_t sipGILState;
637 PyObject *sipMeth;
638
639 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,SIP_NULLPTR,sipName_DoSetSizeHints);
640
641 if (!sipMeth)
642 {
643 ::wxCheckListBox::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH);
644 return;
645 }
646
647 extern void sipVH__core_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int,int);
648
649 sipVH__core_119(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH);
650 }
651
DoGetBorderSize() const652 ::wxSize sipwxCheckListBox::DoGetBorderSize() const
653 {
654 sip_gilstate_t sipGILState;
655 PyObject *sipMeth;
656
657 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,SIP_NULLPTR,sipName_DoGetBorderSize);
658
659 if (!sipMeth)
660 return ::wxCheckListBox::DoGetBorderSize();
661
662 extern ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
663
664 return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
665 }
666
DoMoveWindow(int x,int y,int width,int height)667 void sipwxCheckListBox::DoMoveWindow(int x,int y,int width,int height)
668 {
669 sip_gilstate_t sipGILState;
670 PyObject *sipMeth;
671
672 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,SIP_NULLPTR,sipName_DoMoveWindow);
673
674 if (!sipMeth)
675 {
676 ::wxCheckListBox::DoMoveWindow(x,y,width,height);
677 return;
678 }
679
680 extern void sipVH__core_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
681
682 sipVH__core_120(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height);
683 }
684
DoSetWindowVariant(::wxWindowVariant variant)685 void sipwxCheckListBox::DoSetWindowVariant( ::wxWindowVariant variant)
686 {
687 sip_gilstate_t sipGILState;
688 PyObject *sipMeth;
689
690 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,SIP_NULLPTR,sipName_DoSetWindowVariant);
691
692 if (!sipMeth)
693 {
694 ::wxCheckListBox::DoSetWindowVariant(variant);
695 return;
696 }
697
698 extern void sipVH__core_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::wxWindowVariant);
699
700 sipVH__core_121(sipGILState, 0, sipPySelf, sipMeth, variant);
701 }
702
GetDefaultBorder() const703 ::wxBorder sipwxCheckListBox::GetDefaultBorder() const
704 {
705 sip_gilstate_t sipGILState;
706 PyObject *sipMeth;
707
708 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorder);
709
710 if (!sipMeth)
711 return ::wxCheckListBox::GetDefaultBorder();
712
713 extern ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
714
715 return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
716 }
717
GetDefaultBorderForControl() const718 ::wxBorder sipwxCheckListBox::GetDefaultBorderForControl() const
719 {
720 sip_gilstate_t sipGILState;
721 PyObject *sipMeth;
722
723 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorderForControl);
724
725 if (!sipMeth)
726 return ::wxCheckListBox::GetDefaultBorderForControl();
727
728 extern ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
729
730 return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
731 }
732
DoFreeze()733 void sipwxCheckListBox::DoFreeze()
734 {
735 sip_gilstate_t sipGILState;
736 PyObject *sipMeth;
737
738 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,SIP_NULLPTR,sipName_DoFreeze);
739
740 if (!sipMeth)
741 {
742 ::wxCheckListBox::DoFreeze();
743 return;
744 }
745
746 extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
747
748 sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
749 }
750
DoThaw()751 void sipwxCheckListBox::DoThaw()
752 {
753 sip_gilstate_t sipGILState;
754 PyObject *sipMeth;
755
756 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,SIP_NULLPTR,sipName_DoThaw);
757
758 if (!sipMeth)
759 {
760 ::wxCheckListBox::DoThaw();
761 return;
762 }
763
764 extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
765
766 sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
767 }
768
DoGetBestSize() const769 ::wxSize sipwxCheckListBox::DoGetBestSize() const
770 {
771 sip_gilstate_t sipGILState;
772 PyObject *sipMeth;
773
774 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestSize);
775
776 if (!sipMeth)
777 return ::wxCheckListBox::DoGetBestSize();
778
779 extern ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
780
781 return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
782 }
783
DoGetBestClientSize() const784 ::wxSize sipwxCheckListBox::DoGetBestClientSize() const
785 {
786 sip_gilstate_t sipGILState;
787 PyObject *sipMeth;
788
789 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestClientSize);
790
791 if (!sipMeth)
792 return ::wxCheckListBox::DoGetBestClientSize();
793
794 extern ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
795
796 return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
797 }
798
GetCount() const799 uint sipwxCheckListBox::GetCount() const
800 {
801 sip_gilstate_t sipGILState;
802 PyObject *sipMeth;
803
804 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[39]),sipPySelf,SIP_NULLPTR,sipName_GetCount);
805
806 if (!sipMeth)
807 return ::wxCheckListBox::GetCount();
808
809 extern uint sipVH__core_136(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
810
811 return sipVH__core_136(sipGILState, 0, sipPySelf, sipMeth);
812 }
813
GetString(uint n) const814 ::wxString sipwxCheckListBox::GetString(uint n) const
815 {
816 sip_gilstate_t sipGILState;
817 PyObject *sipMeth;
818
819 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,SIP_NULLPTR,sipName_GetString);
820
821 if (!sipMeth)
822 return ::wxCheckListBox::GetString(n);
823
824 extern ::wxString sipVH__core_137(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint);
825
826 return sipVH__core_137(sipGILState, 0, sipPySelf, sipMeth, n);
827 }
828
SetString(uint n,const::wxString & string)829 void sipwxCheckListBox::SetString(uint n,const ::wxString& string)
830 {
831 sip_gilstate_t sipGILState;
832 PyObject *sipMeth;
833
834 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,SIP_NULLPTR,sipName_SetString);
835
836 if (!sipMeth)
837 {
838 ::wxCheckListBox::SetString(n,string);
839 return;
840 }
841
842 extern void sipVH__core_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint,const ::wxString&);
843
844 sipVH__core_138(sipGILState, 0, sipPySelf, sipMeth, n, string);
845 }
846
FindString(const::wxString & string,bool caseSensitive) const847 int sipwxCheckListBox::FindString(const ::wxString& string,bool caseSensitive) const
848 {
849 sip_gilstate_t sipGILState;
850 PyObject *sipMeth;
851
852 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,SIP_NULLPTR,sipName_FindString);
853
854 if (!sipMeth)
855 return ::wxCheckListBox::FindString(string,caseSensitive);
856
857 extern int sipVH__core_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::wxString&,bool);
858
859 return sipVH__core_139(sipGILState, 0, sipPySelf, sipMeth, string, caseSensitive);
860 }
861
SetSelection(int n)862 void sipwxCheckListBox::SetSelection(int n)
863 {
864 sip_gilstate_t sipGILState;
865 PyObject *sipMeth;
866
867 sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,SIP_NULLPTR,sipName_SetSelection);
868
869 if (!sipMeth)
870 {
871 ::wxCheckListBox::SetSelection(n);
872 return;
873 }
874
875 extern void sipVH__core_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
876
877 sipVH__core_98(sipGILState, 0, sipPySelf, sipMeth, n);
878 }
879
GetSelection() const880 int sipwxCheckListBox::GetSelection() const
881 {
882 sip_gilstate_t sipGILState;
883 PyObject *sipMeth;
884
885 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,SIP_NULLPTR,sipName_GetSelection);
886
887 if (!sipMeth)
888 return ::wxCheckListBox::GetSelection();
889
890 extern int sipVH__core_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
891
892 return sipVH__core_97(sipGILState, 0, sipPySelf, sipMeth);
893 }
894
GetStringSelection() const895 ::wxString sipwxCheckListBox::GetStringSelection() const
896 {
897 sip_gilstate_t sipGILState;
898 PyObject *sipMeth;
899
900 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,SIP_NULLPTR,sipName_GetStringSelection);
901
902 if (!sipMeth)
903 return ::wxCheckListBox::GetStringSelection();
904
905 extern ::wxString sipVH__core_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
906
907 return sipVH__core_11(sipGILState, 0, sipPySelf, sipMeth);
908 }
909
sipProtect_SendDestroyEvent()910 void sipwxCheckListBox::sipProtect_SendDestroyEvent()
911 {
912 ::wxWindow::SendDestroyEvent();
913 }
914
sipProtectVirt_ProcessEvent(bool sipSelfWasArg,::wxEvent & event)915 bool sipwxCheckListBox::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event)
916 {
917 return (sipSelfWasArg ? ::wxCheckListBox::ProcessEvent(event) : ProcessEvent(event));
918 }
919
sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)920 void sipwxCheckListBox::sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)
921 {
922 (sipSelfWasArg ? ::wxCheckListBox::DoEnable(enable) : DoEnable(enable));
923 }
924
sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int * x,int * y) const925 void sipwxCheckListBox::sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int*x,int*y) const
926 {
927 (sipSelfWasArg ? ::wxCheckListBox::DoGetPosition(x,y) : DoGetPosition(x,y));
928 }
929
sipProtectVirt_DoGetSize(bool sipSelfWasArg,int * width,int * height) const930 void sipwxCheckListBox::sipProtectVirt_DoGetSize(bool sipSelfWasArg,int*width,int*height) const
931 {
932 (sipSelfWasArg ? ::wxCheckListBox::DoGetSize(width,height) : DoGetSize(width,height));
933 }
934
sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int * width,int * height) const935 void sipwxCheckListBox::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int*width,int*height) const
936 {
937 (sipSelfWasArg ? ::wxCheckListBox::DoGetClientSize(width,height) : DoGetClientSize(width,height));
938 }
939
sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const940 ::wxSize sipwxCheckListBox::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
941 {
942 return (sipSelfWasArg ? ::wxCheckListBox::DoGetBestSize() : DoGetBestSize());
943 }
944
sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const945 ::wxSize sipwxCheckListBox::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
946 {
947 return (sipSelfWasArg ? ::wxCheckListBox::DoGetBestClientSize() : DoGetBestClientSize());
948 }
949
sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)950 void sipwxCheckListBox::sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)
951 {
952 (sipSelfWasArg ? ::wxCheckListBox::DoSetSize(x,y,width,height,sizeFlags) : DoSetSize(x,y,width,height,sizeFlags));
953 }
954
sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)955 void sipwxCheckListBox::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)
956 {
957 (sipSelfWasArg ? ::wxCheckListBox::DoSetClientSize(width,height) : DoSetClientSize(width,height));
958 }
959
sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)960 void sipwxCheckListBox::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)
961 {
962 (sipSelfWasArg ? ::wxCheckListBox::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH) : DoSetSizeHints(minW,minH,maxW,maxH,incW,incH));
963 }
964
sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const965 ::wxSize sipwxCheckListBox::sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const
966 {
967 return (sipSelfWasArg ? ::wxCheckListBox::DoGetBorderSize() : DoGetBorderSize());
968 }
969
sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)970 void sipwxCheckListBox::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)
971 {
972 (sipSelfWasArg ? ::wxCheckListBox::DoMoveWindow(x,y,width,height) : DoMoveWindow(x,y,width,height));
973 }
974
sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg,::wxWindowVariant variant)975 void sipwxCheckListBox::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
976 {
977 (sipSelfWasArg ? ::wxCheckListBox::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
978 }
979
sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const980 ::wxBorder sipwxCheckListBox::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
981 {
982 return (sipSelfWasArg ? ::wxCheckListBox::GetDefaultBorder() : GetDefaultBorder());
983 }
984
sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const985 ::wxBorder sipwxCheckListBox::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
986 {
987 return (sipSelfWasArg ? ::wxCheckListBox::GetDefaultBorderForControl() : GetDefaultBorderForControl());
988 }
989
sipProtectVirt_DoFreeze(bool sipSelfWasArg)990 void sipwxCheckListBox::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
991 {
992 (sipSelfWasArg ? ::wxCheckListBox::DoFreeze() : DoFreeze());
993 }
994
sipProtectVirt_DoThaw(bool sipSelfWasArg)995 void sipwxCheckListBox::sipProtectVirt_DoThaw(bool sipSelfWasArg)
996 {
997 (sipSelfWasArg ? ::wxCheckListBox::DoThaw() : DoThaw());
998 }
999
sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)1000 bool sipwxCheckListBox::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
1001 {
1002 return (sipSelfWasArg ? ::wxCheckListBox::HasTransparentBackground() : HasTransparentBackground());
1003 }
1004
sipProtectVirt_TryBefore(bool sipSelfWasArg,::wxEvent & event)1005 bool sipwxCheckListBox::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event)
1006 {
1007 return (sipSelfWasArg ? ::wxCheckListBox::TryBefore(event) : TryBefore(event));
1008 }
1009
sipProtectVirt_TryAfter(bool sipSelfWasArg,::wxEvent & event)1010 bool sipwxCheckListBox::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event)
1011 {
1012 return (sipSelfWasArg ? ::wxCheckListBox::TryAfter(event) : TryAfter(event));
1013 }
1014
1015
1016 PyDoc_STRVAR(doc_wxCheckListBox_SendDestroyEvent, "SendDestroyEvent()\n"
1017 "\n"
1018 "Generate wxWindowDestroyEvent for this window.");
1019
1020 extern "C" {static PyObject *meth_wxCheckListBox_SendDestroyEvent(PyObject *, PyObject *);}
meth_wxCheckListBox_SendDestroyEvent(PyObject * sipSelf,PyObject * sipArgs)1021 static PyObject *meth_wxCheckListBox_SendDestroyEvent(PyObject *sipSelf, PyObject *sipArgs)
1022 {
1023 PyObject *sipParseErr = SIP_NULLPTR;
1024
1025 {
1026 sipwxCheckListBox *sipCpp;
1027
1028 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1029 {
1030 PyErr_Clear();
1031
1032 Py_BEGIN_ALLOW_THREADS
1033 sipCpp->sipProtect_SendDestroyEvent();
1034 Py_END_ALLOW_THREADS
1035
1036 if (PyErr_Occurred())
1037 return 0;
1038
1039 Py_INCREF(Py_None);
1040 return Py_None;
1041 }
1042 }
1043
1044 /* Raise an exception if the arguments couldn't be parsed. */
1045 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_SendDestroyEvent, SIP_NULLPTR);
1046
1047 return SIP_NULLPTR;
1048 }
1049
1050
1051 PyDoc_STRVAR(doc_wxCheckListBox_Create, "Create(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, choices=[], style=0, validator=DefaultValidator, name=ListBoxNameStr) -> bool");
1052
1053 extern "C" {static PyObject *meth_wxCheckListBox_Create(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_Create(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1054 static PyObject *meth_wxCheckListBox_Create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1055 {
1056 PyObject *sipParseErr = SIP_NULLPTR;
1057
1058 {
1059 ::wxWindow* parent;
1060 ::wxWindowID id = wxID_ANY;
1061 const ::wxPoint& posdef = wxDefaultPosition;
1062 const ::wxPoint* pos = &posdef;
1063 int posState = 0;
1064 const ::wxSize& sizedef = wxDefaultSize;
1065 const ::wxSize* size = &sizedef;
1066 int sizeState = 0;
1067 const ::wxArrayString& choicesdef = wxArrayString();
1068 const ::wxArrayString* choices = &choicesdef;
1069 int choicesState = 0;
1070 long style = 0;
1071 const ::wxValidator& validatordef = wxDefaultValidator;
1072 const ::wxValidator* validator = &validatordef;
1073 const ::wxString& namedef = wxListBoxNameStr;
1074 const ::wxString* name = &namedef;
1075 int nameState = 0;
1076 sipWrapper *sipOwner = SIP_NULLPTR;
1077 ::wxCheckListBox *sipCpp;
1078
1079 static const char *sipKwdList[] = {
1080 sipName_parent,
1081 sipName_id,
1082 sipName_pos,
1083 sipName_size,
1084 sipName_choices,
1085 sipName_style,
1086 sipName_validator,
1087 sipName_name,
1088 };
1089
1090 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJH|iJ1J1J1lJ9J1", &sipSelf, sipType_wxCheckListBox, &sipCpp, sipType_wxWindow, &parent, &sipOwner, &id, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, sipType_wxArrayString,&choices, &choicesState, &style, sipType_wxValidator, &validator, sipType_wxString,&name, &nameState))
1091 {
1092 bool sipRes;
1093
1094 PyErr_Clear();
1095
1096 Py_BEGIN_ALLOW_THREADS
1097 sipRes = sipCpp->Create(parent,id,*pos,*size,*choices,style,*validator,*name);
1098 Py_END_ALLOW_THREADS
1099
1100 if (sipOwner)
1101 sipTransferTo(sipSelf, (PyObject *)sipOwner);
1102 else
1103 sipTransferBack(sipSelf);
1104 sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
1105 sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
1106 sipReleaseType(const_cast< ::wxArrayString *>(choices),sipType_wxArrayString,choicesState);
1107 sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
1108
1109 if (PyErr_Occurred())
1110 return 0;
1111
1112 return PyBool_FromLong(sipRes);
1113 }
1114 }
1115
1116 /* Raise an exception if the arguments couldn't be parsed. */
1117 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_Create, SIP_NULLPTR);
1118
1119 return SIP_NULLPTR;
1120 }
1121
1122
1123 PyDoc_STRVAR(doc_wxCheckListBox_Check, "Check(item, check=True)\n"
1124 "\n"
1125 "Checks the given item.");
1126
1127 extern "C" {static PyObject *meth_wxCheckListBox_Check(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_Check(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1128 static PyObject *meth_wxCheckListBox_Check(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1129 {
1130 PyObject *sipParseErr = SIP_NULLPTR;
1131
1132 {
1133 uint item;
1134 bool check = 1;
1135 ::wxCheckListBox *sipCpp;
1136
1137 static const char *sipKwdList[] = {
1138 sipName_item,
1139 sipName_check,
1140 };
1141
1142 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu|b", &sipSelf, sipType_wxCheckListBox, &sipCpp, &item, &check))
1143 {
1144 PyErr_Clear();
1145
1146 Py_BEGIN_ALLOW_THREADS
1147 sipCpp->Check(item,check);
1148 Py_END_ALLOW_THREADS
1149
1150 if (PyErr_Occurred())
1151 return 0;
1152
1153 Py_INCREF(Py_None);
1154 return Py_None;
1155 }
1156 }
1157
1158 /* Raise an exception if the arguments couldn't be parsed. */
1159 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_Check, SIP_NULLPTR);
1160
1161 return SIP_NULLPTR;
1162 }
1163
1164
1165 PyDoc_STRVAR(doc_wxCheckListBox_IsChecked, "IsChecked(item) -> bool\n"
1166 "\n"
1167 "Returns true if the given item is checked, false otherwise.");
1168
1169 extern "C" {static PyObject *meth_wxCheckListBox_IsChecked(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_IsChecked(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1170 static PyObject *meth_wxCheckListBox_IsChecked(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1171 {
1172 PyObject *sipParseErr = SIP_NULLPTR;
1173
1174 {
1175 uint item;
1176 const ::wxCheckListBox *sipCpp;
1177
1178 static const char *sipKwdList[] = {
1179 sipName_item,
1180 };
1181
1182 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxCheckListBox, &sipCpp, &item))
1183 {
1184 bool sipRes;
1185
1186 PyErr_Clear();
1187
1188 Py_BEGIN_ALLOW_THREADS
1189 sipRes = sipCpp->IsChecked(item);
1190 Py_END_ALLOW_THREADS
1191
1192 if (PyErr_Occurred())
1193 return 0;
1194
1195 return PyBool_FromLong(sipRes);
1196 }
1197 }
1198
1199 /* Raise an exception if the arguments couldn't be parsed. */
1200 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_IsChecked, SIP_NULLPTR);
1201
1202 return SIP_NULLPTR;
1203 }
1204
1205
1206 PyDoc_STRVAR(doc_wxCheckListBox_GetClientAreaOrigin, "GetClientAreaOrigin(self) -> Point");
1207
1208 extern "C" {static PyObject *meth_wxCheckListBox_GetClientAreaOrigin(PyObject *, PyObject *);}
meth_wxCheckListBox_GetClientAreaOrigin(PyObject * sipSelf,PyObject * sipArgs)1209 static PyObject *meth_wxCheckListBox_GetClientAreaOrigin(PyObject *sipSelf, PyObject *sipArgs)
1210 {
1211 PyObject *sipParseErr = SIP_NULLPTR;
1212 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1213
1214 {
1215 const ::wxCheckListBox *sipCpp;
1216
1217 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1218 {
1219 ::wxPoint*sipRes;
1220
1221 PyErr_Clear();
1222
1223 Py_BEGIN_ALLOW_THREADS
1224 sipRes = new ::wxPoint((sipSelfWasArg ? sipCpp-> ::wxCheckListBox::GetClientAreaOrigin() : sipCpp->GetClientAreaOrigin()));
1225 Py_END_ALLOW_THREADS
1226
1227 if (PyErr_Occurred())
1228 return 0;
1229
1230 return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
1231 }
1232 }
1233
1234 /* Raise an exception if the arguments couldn't be parsed. */
1235 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_GetClientAreaOrigin, doc_wxCheckListBox_GetClientAreaOrigin);
1236
1237 return SIP_NULLPTR;
1238 }
1239
1240
1241 PyDoc_STRVAR(doc_wxCheckListBox_Validate, "Validate(self) -> bool");
1242
1243 extern "C" {static PyObject *meth_wxCheckListBox_Validate(PyObject *, PyObject *);}
meth_wxCheckListBox_Validate(PyObject * sipSelf,PyObject * sipArgs)1244 static PyObject *meth_wxCheckListBox_Validate(PyObject *sipSelf, PyObject *sipArgs)
1245 {
1246 PyObject *sipParseErr = SIP_NULLPTR;
1247 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1248
1249 {
1250 ::wxCheckListBox *sipCpp;
1251
1252 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1253 {
1254 bool sipRes;
1255
1256 PyErr_Clear();
1257
1258 Py_BEGIN_ALLOW_THREADS
1259 sipRes = (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::Validate() : sipCpp->Validate());
1260 Py_END_ALLOW_THREADS
1261
1262 if (PyErr_Occurred())
1263 return 0;
1264
1265 return PyBool_FromLong(sipRes);
1266 }
1267 }
1268
1269 /* Raise an exception if the arguments couldn't be parsed. */
1270 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_Validate, doc_wxCheckListBox_Validate);
1271
1272 return SIP_NULLPTR;
1273 }
1274
1275
1276 PyDoc_STRVAR(doc_wxCheckListBox_TransferDataToWindow, "TransferDataToWindow(self) -> bool");
1277
1278 extern "C" {static PyObject *meth_wxCheckListBox_TransferDataToWindow(PyObject *, PyObject *);}
meth_wxCheckListBox_TransferDataToWindow(PyObject * sipSelf,PyObject * sipArgs)1279 static PyObject *meth_wxCheckListBox_TransferDataToWindow(PyObject *sipSelf, PyObject *sipArgs)
1280 {
1281 PyObject *sipParseErr = SIP_NULLPTR;
1282 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1283
1284 {
1285 ::wxCheckListBox *sipCpp;
1286
1287 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1288 {
1289 bool sipRes;
1290
1291 PyErr_Clear();
1292
1293 Py_BEGIN_ALLOW_THREADS
1294 sipRes = (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::TransferDataToWindow() : sipCpp->TransferDataToWindow());
1295 Py_END_ALLOW_THREADS
1296
1297 if (PyErr_Occurred())
1298 return 0;
1299
1300 return PyBool_FromLong(sipRes);
1301 }
1302 }
1303
1304 /* Raise an exception if the arguments couldn't be parsed. */
1305 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_TransferDataToWindow, doc_wxCheckListBox_TransferDataToWindow);
1306
1307 return SIP_NULLPTR;
1308 }
1309
1310
1311 PyDoc_STRVAR(doc_wxCheckListBox_TransferDataFromWindow, "TransferDataFromWindow(self) -> bool");
1312
1313 extern "C" {static PyObject *meth_wxCheckListBox_TransferDataFromWindow(PyObject *, PyObject *);}
meth_wxCheckListBox_TransferDataFromWindow(PyObject * sipSelf,PyObject * sipArgs)1314 static PyObject *meth_wxCheckListBox_TransferDataFromWindow(PyObject *sipSelf, PyObject *sipArgs)
1315 {
1316 PyObject *sipParseErr = SIP_NULLPTR;
1317 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1318
1319 {
1320 ::wxCheckListBox *sipCpp;
1321
1322 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1323 {
1324 bool sipRes;
1325
1326 PyErr_Clear();
1327
1328 Py_BEGIN_ALLOW_THREADS
1329 sipRes = (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::TransferDataFromWindow() : sipCpp->TransferDataFromWindow());
1330 Py_END_ALLOW_THREADS
1331
1332 if (PyErr_Occurred())
1333 return 0;
1334
1335 return PyBool_FromLong(sipRes);
1336 }
1337 }
1338
1339 /* Raise an exception if the arguments couldn't be parsed. */
1340 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_TransferDataFromWindow, doc_wxCheckListBox_TransferDataFromWindow);
1341
1342 return SIP_NULLPTR;
1343 }
1344
1345
1346 PyDoc_STRVAR(doc_wxCheckListBox_InitDialog, "InitDialog(self)");
1347
1348 extern "C" {static PyObject *meth_wxCheckListBox_InitDialog(PyObject *, PyObject *);}
meth_wxCheckListBox_InitDialog(PyObject * sipSelf,PyObject * sipArgs)1349 static PyObject *meth_wxCheckListBox_InitDialog(PyObject *sipSelf, PyObject *sipArgs)
1350 {
1351 PyObject *sipParseErr = SIP_NULLPTR;
1352 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1353
1354 {
1355 ::wxCheckListBox *sipCpp;
1356
1357 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1358 {
1359 PyErr_Clear();
1360
1361 Py_BEGIN_ALLOW_THREADS
1362 (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::InitDialog() : sipCpp->InitDialog());
1363 Py_END_ALLOW_THREADS
1364
1365 if (PyErr_Occurred())
1366 return 0;
1367
1368 Py_INCREF(Py_None);
1369 return Py_None;
1370 }
1371 }
1372
1373 /* Raise an exception if the arguments couldn't be parsed. */
1374 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_InitDialog, doc_wxCheckListBox_InitDialog);
1375
1376 return SIP_NULLPTR;
1377 }
1378
1379
1380 PyDoc_STRVAR(doc_wxCheckListBox_AcceptsFocus, "AcceptsFocus(self) -> bool");
1381
1382 extern "C" {static PyObject *meth_wxCheckListBox_AcceptsFocus(PyObject *, PyObject *);}
meth_wxCheckListBox_AcceptsFocus(PyObject * sipSelf,PyObject * sipArgs)1383 static PyObject *meth_wxCheckListBox_AcceptsFocus(PyObject *sipSelf, PyObject *sipArgs)
1384 {
1385 PyObject *sipParseErr = SIP_NULLPTR;
1386 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1387
1388 {
1389 const ::wxCheckListBox *sipCpp;
1390
1391 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1392 {
1393 bool sipRes;
1394
1395 PyErr_Clear();
1396
1397 Py_BEGIN_ALLOW_THREADS
1398 sipRes = (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::AcceptsFocus() : sipCpp->AcceptsFocus());
1399 Py_END_ALLOW_THREADS
1400
1401 if (PyErr_Occurred())
1402 return 0;
1403
1404 return PyBool_FromLong(sipRes);
1405 }
1406 }
1407
1408 /* Raise an exception if the arguments couldn't be parsed. */
1409 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_AcceptsFocus, doc_wxCheckListBox_AcceptsFocus);
1410
1411 return SIP_NULLPTR;
1412 }
1413
1414
1415 PyDoc_STRVAR(doc_wxCheckListBox_AcceptsFocusRecursively, "AcceptsFocusRecursively(self) -> bool");
1416
1417 extern "C" {static PyObject *meth_wxCheckListBox_AcceptsFocusRecursively(PyObject *, PyObject *);}
meth_wxCheckListBox_AcceptsFocusRecursively(PyObject * sipSelf,PyObject * sipArgs)1418 static PyObject *meth_wxCheckListBox_AcceptsFocusRecursively(PyObject *sipSelf, PyObject *sipArgs)
1419 {
1420 PyObject *sipParseErr = SIP_NULLPTR;
1421 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1422
1423 {
1424 const ::wxCheckListBox *sipCpp;
1425
1426 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1427 {
1428 bool sipRes;
1429
1430 PyErr_Clear();
1431
1432 Py_BEGIN_ALLOW_THREADS
1433 sipRes = (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::AcceptsFocusRecursively() : sipCpp->AcceptsFocusRecursively());
1434 Py_END_ALLOW_THREADS
1435
1436 if (PyErr_Occurred())
1437 return 0;
1438
1439 return PyBool_FromLong(sipRes);
1440 }
1441 }
1442
1443 /* Raise an exception if the arguments couldn't be parsed. */
1444 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_AcceptsFocusRecursively, doc_wxCheckListBox_AcceptsFocusRecursively);
1445
1446 return SIP_NULLPTR;
1447 }
1448
1449
1450 PyDoc_STRVAR(doc_wxCheckListBox_AcceptsFocusFromKeyboard, "AcceptsFocusFromKeyboard(self) -> bool");
1451
1452 extern "C" {static PyObject *meth_wxCheckListBox_AcceptsFocusFromKeyboard(PyObject *, PyObject *);}
meth_wxCheckListBox_AcceptsFocusFromKeyboard(PyObject * sipSelf,PyObject * sipArgs)1453 static PyObject *meth_wxCheckListBox_AcceptsFocusFromKeyboard(PyObject *sipSelf, PyObject *sipArgs)
1454 {
1455 PyObject *sipParseErr = SIP_NULLPTR;
1456 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1457
1458 {
1459 const ::wxCheckListBox *sipCpp;
1460
1461 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1462 {
1463 bool sipRes;
1464
1465 PyErr_Clear();
1466
1467 Py_BEGIN_ALLOW_THREADS
1468 sipRes = (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::AcceptsFocusFromKeyboard() : sipCpp->AcceptsFocusFromKeyboard());
1469 Py_END_ALLOW_THREADS
1470
1471 if (PyErr_Occurred())
1472 return 0;
1473
1474 return PyBool_FromLong(sipRes);
1475 }
1476 }
1477
1478 /* Raise an exception if the arguments couldn't be parsed. */
1479 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_AcceptsFocusFromKeyboard, doc_wxCheckListBox_AcceptsFocusFromKeyboard);
1480
1481 return SIP_NULLPTR;
1482 }
1483
1484
1485 PyDoc_STRVAR(doc_wxCheckListBox_AddChild, "AddChild(self, child: WindowBase)");
1486
1487 extern "C" {static PyObject *meth_wxCheckListBox_AddChild(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_AddChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1488 static PyObject *meth_wxCheckListBox_AddChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1489 {
1490 PyObject *sipParseErr = SIP_NULLPTR;
1491 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1492
1493 {
1494 ::wxWindowBase* child;
1495 ::wxCheckListBox *sipCpp;
1496
1497 static const char *sipKwdList[] = {
1498 sipName_child,
1499 };
1500
1501 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxCheckListBox, &sipCpp, sipType_wxWindowBase, &child))
1502 {
1503 PyErr_Clear();
1504
1505 Py_BEGIN_ALLOW_THREADS
1506 (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::AddChild(child) : sipCpp->AddChild(child));
1507 Py_END_ALLOW_THREADS
1508
1509 if (PyErr_Occurred())
1510 return 0;
1511
1512 Py_INCREF(Py_None);
1513 return Py_None;
1514 }
1515 }
1516
1517 /* Raise an exception if the arguments couldn't be parsed. */
1518 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_AddChild, doc_wxCheckListBox_AddChild);
1519
1520 return SIP_NULLPTR;
1521 }
1522
1523
1524 PyDoc_STRVAR(doc_wxCheckListBox_RemoveChild, "RemoveChild(self, child: WindowBase)");
1525
1526 extern "C" {static PyObject *meth_wxCheckListBox_RemoveChild(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_RemoveChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1527 static PyObject *meth_wxCheckListBox_RemoveChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1528 {
1529 PyObject *sipParseErr = SIP_NULLPTR;
1530 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1531
1532 {
1533 ::wxWindowBase* child;
1534 ::wxCheckListBox *sipCpp;
1535
1536 static const char *sipKwdList[] = {
1537 sipName_child,
1538 };
1539
1540 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxCheckListBox, &sipCpp, sipType_wxWindowBase, &child))
1541 {
1542 PyErr_Clear();
1543
1544 Py_BEGIN_ALLOW_THREADS
1545 (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::RemoveChild(child) : sipCpp->RemoveChild(child));
1546 Py_END_ALLOW_THREADS
1547
1548 if (PyErr_Occurred())
1549 return 0;
1550
1551 Py_INCREF(Py_None);
1552 return Py_None;
1553 }
1554 }
1555
1556 /* Raise an exception if the arguments couldn't be parsed. */
1557 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_RemoveChild, doc_wxCheckListBox_RemoveChild);
1558
1559 return SIP_NULLPTR;
1560 }
1561
1562
1563 PyDoc_STRVAR(doc_wxCheckListBox_InheritAttributes, "InheritAttributes(self)");
1564
1565 extern "C" {static PyObject *meth_wxCheckListBox_InheritAttributes(PyObject *, PyObject *);}
meth_wxCheckListBox_InheritAttributes(PyObject * sipSelf,PyObject * sipArgs)1566 static PyObject *meth_wxCheckListBox_InheritAttributes(PyObject *sipSelf, PyObject *sipArgs)
1567 {
1568 PyObject *sipParseErr = SIP_NULLPTR;
1569 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1570
1571 {
1572 ::wxCheckListBox *sipCpp;
1573
1574 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1575 {
1576 PyErr_Clear();
1577
1578 Py_BEGIN_ALLOW_THREADS
1579 (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::InheritAttributes() : sipCpp->InheritAttributes());
1580 Py_END_ALLOW_THREADS
1581
1582 if (PyErr_Occurred())
1583 return 0;
1584
1585 Py_INCREF(Py_None);
1586 return Py_None;
1587 }
1588 }
1589
1590 /* Raise an exception if the arguments couldn't be parsed. */
1591 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_InheritAttributes, doc_wxCheckListBox_InheritAttributes);
1592
1593 return SIP_NULLPTR;
1594 }
1595
1596
1597 PyDoc_STRVAR(doc_wxCheckListBox_ShouldInheritColours, "ShouldInheritColours(self) -> bool");
1598
1599 extern "C" {static PyObject *meth_wxCheckListBox_ShouldInheritColours(PyObject *, PyObject *);}
meth_wxCheckListBox_ShouldInheritColours(PyObject * sipSelf,PyObject * sipArgs)1600 static PyObject *meth_wxCheckListBox_ShouldInheritColours(PyObject *sipSelf, PyObject *sipArgs)
1601 {
1602 PyObject *sipParseErr = SIP_NULLPTR;
1603 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1604
1605 {
1606 const ::wxCheckListBox *sipCpp;
1607
1608 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1609 {
1610 bool sipRes;
1611
1612 PyErr_Clear();
1613
1614 Py_BEGIN_ALLOW_THREADS
1615 sipRes = (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::ShouldInheritColours() : sipCpp->ShouldInheritColours());
1616 Py_END_ALLOW_THREADS
1617
1618 if (PyErr_Occurred())
1619 return 0;
1620
1621 return PyBool_FromLong(sipRes);
1622 }
1623 }
1624
1625 /* Raise an exception if the arguments couldn't be parsed. */
1626 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_ShouldInheritColours, doc_wxCheckListBox_ShouldInheritColours);
1627
1628 return SIP_NULLPTR;
1629 }
1630
1631
1632 PyDoc_STRVAR(doc_wxCheckListBox_OnInternalIdle, "OnInternalIdle(self)");
1633
1634 extern "C" {static PyObject *meth_wxCheckListBox_OnInternalIdle(PyObject *, PyObject *);}
meth_wxCheckListBox_OnInternalIdle(PyObject * sipSelf,PyObject * sipArgs)1635 static PyObject *meth_wxCheckListBox_OnInternalIdle(PyObject *sipSelf, PyObject *sipArgs)
1636 {
1637 PyObject *sipParseErr = SIP_NULLPTR;
1638 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1639
1640 {
1641 ::wxCheckListBox *sipCpp;
1642
1643 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1644 {
1645 PyErr_Clear();
1646
1647 Py_BEGIN_ALLOW_THREADS
1648 (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::OnInternalIdle() : sipCpp->OnInternalIdle());
1649 Py_END_ALLOW_THREADS
1650
1651 if (PyErr_Occurred())
1652 return 0;
1653
1654 Py_INCREF(Py_None);
1655 return Py_None;
1656 }
1657 }
1658
1659 /* Raise an exception if the arguments couldn't be parsed. */
1660 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_OnInternalIdle, doc_wxCheckListBox_OnInternalIdle);
1661
1662 return SIP_NULLPTR;
1663 }
1664
1665
1666 PyDoc_STRVAR(doc_wxCheckListBox_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Window");
1667
1668 extern "C" {static PyObject *meth_wxCheckListBox_GetMainWindowOfCompositeControl(PyObject *, PyObject *);}
meth_wxCheckListBox_GetMainWindowOfCompositeControl(PyObject * sipSelf,PyObject * sipArgs)1669 static PyObject *meth_wxCheckListBox_GetMainWindowOfCompositeControl(PyObject *sipSelf, PyObject *sipArgs)
1670 {
1671 PyObject *sipParseErr = SIP_NULLPTR;
1672 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1673
1674 {
1675 ::wxCheckListBox *sipCpp;
1676
1677 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1678 {
1679 ::wxWindow*sipRes;
1680
1681 PyErr_Clear();
1682
1683 Py_BEGIN_ALLOW_THREADS
1684 sipRes = (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::GetMainWindowOfCompositeControl() : sipCpp->GetMainWindowOfCompositeControl());
1685 Py_END_ALLOW_THREADS
1686
1687 if (PyErr_Occurred())
1688 return 0;
1689
1690 return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
1691 }
1692 }
1693
1694 /* Raise an exception if the arguments couldn't be parsed. */
1695 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_GetMainWindowOfCompositeControl, doc_wxCheckListBox_GetMainWindowOfCompositeControl);
1696
1697 return SIP_NULLPTR;
1698 }
1699
1700
1701 PyDoc_STRVAR(doc_wxCheckListBox_InformFirstDirection, "InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool");
1702
1703 extern "C" {static PyObject *meth_wxCheckListBox_InformFirstDirection(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_InformFirstDirection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1704 static PyObject *meth_wxCheckListBox_InformFirstDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1705 {
1706 PyObject *sipParseErr = SIP_NULLPTR;
1707 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1708
1709 {
1710 int direction;
1711 int size;
1712 int availableOtherDir;
1713 ::wxCheckListBox *sipCpp;
1714
1715 static const char *sipKwdList[] = {
1716 sipName_direction,
1717 sipName_size,
1718 sipName_availableOtherDir,
1719 };
1720
1721 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxCheckListBox, &sipCpp, &direction, &size, &availableOtherDir))
1722 {
1723 bool sipRes;
1724
1725 PyErr_Clear();
1726
1727 Py_BEGIN_ALLOW_THREADS
1728 sipRes = (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::InformFirstDirection(direction,size,availableOtherDir) : sipCpp->InformFirstDirection(direction,size,availableOtherDir));
1729 Py_END_ALLOW_THREADS
1730
1731 if (PyErr_Occurred())
1732 return 0;
1733
1734 return PyBool_FromLong(sipRes);
1735 }
1736 }
1737
1738 /* Raise an exception if the arguments couldn't be parsed. */
1739 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_InformFirstDirection, doc_wxCheckListBox_InformFirstDirection);
1740
1741 return SIP_NULLPTR;
1742 }
1743
1744
1745 PyDoc_STRVAR(doc_wxCheckListBox_SetCanFocus, "SetCanFocus(self, canFocus: bool)");
1746
1747 extern "C" {static PyObject *meth_wxCheckListBox_SetCanFocus(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_SetCanFocus(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1748 static PyObject *meth_wxCheckListBox_SetCanFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1749 {
1750 PyObject *sipParseErr = SIP_NULLPTR;
1751 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1752
1753 {
1754 bool canFocus;
1755 ::wxCheckListBox *sipCpp;
1756
1757 static const char *sipKwdList[] = {
1758 sipName_canFocus,
1759 };
1760
1761 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxCheckListBox, &sipCpp, &canFocus))
1762 {
1763 PyErr_Clear();
1764
1765 Py_BEGIN_ALLOW_THREADS
1766 (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::SetCanFocus(canFocus) : sipCpp->SetCanFocus(canFocus));
1767 Py_END_ALLOW_THREADS
1768
1769 if (PyErr_Occurred())
1770 return 0;
1771
1772 Py_INCREF(Py_None);
1773 return Py_None;
1774 }
1775 }
1776
1777 /* Raise an exception if the arguments couldn't be parsed. */
1778 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_SetCanFocus, doc_wxCheckListBox_SetCanFocus);
1779
1780 return SIP_NULLPTR;
1781 }
1782
1783
1784 PyDoc_STRVAR(doc_wxCheckListBox_Destroy, "Destroy(self) -> bool");
1785
1786 extern "C" {static PyObject *meth_wxCheckListBox_Destroy(PyObject *, PyObject *);}
meth_wxCheckListBox_Destroy(PyObject * sipSelf,PyObject * sipArgs)1787 static PyObject *meth_wxCheckListBox_Destroy(PyObject *sipSelf, PyObject *sipArgs)
1788 {
1789 PyObject *sipParseErr = SIP_NULLPTR;
1790 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1791
1792 {
1793 ::wxCheckListBox *sipCpp;
1794
1795 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1796 {
1797 bool sipRes;
1798
1799 PyErr_Clear();
1800
1801 Py_BEGIN_ALLOW_THREADS
1802 sipRes = (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::Destroy() : sipCpp->Destroy());
1803 Py_END_ALLOW_THREADS
1804
1805 if (PyErr_Occurred())
1806 return 0;
1807
1808 return PyBool_FromLong(sipRes);
1809 }
1810 }
1811
1812 /* Raise an exception if the arguments couldn't be parsed. */
1813 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_Destroy, doc_wxCheckListBox_Destroy);
1814
1815 return SIP_NULLPTR;
1816 }
1817
1818
1819 PyDoc_STRVAR(doc_wxCheckListBox_SetValidator, "SetValidator(self, validator: Validator)");
1820
1821 extern "C" {static PyObject *meth_wxCheckListBox_SetValidator(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_SetValidator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1822 static PyObject *meth_wxCheckListBox_SetValidator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1823 {
1824 PyObject *sipParseErr = SIP_NULLPTR;
1825 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1826
1827 {
1828 const ::wxValidator* validator;
1829 ::wxCheckListBox *sipCpp;
1830
1831 static const char *sipKwdList[] = {
1832 sipName_validator,
1833 };
1834
1835 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxCheckListBox, &sipCpp, sipType_wxValidator, &validator))
1836 {
1837 PyErr_Clear();
1838
1839 Py_BEGIN_ALLOW_THREADS
1840 (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::SetValidator(*validator) : sipCpp->SetValidator(*validator));
1841 Py_END_ALLOW_THREADS
1842
1843 if (PyErr_Occurred())
1844 return 0;
1845
1846 Py_INCREF(Py_None);
1847 return Py_None;
1848 }
1849 }
1850
1851 /* Raise an exception if the arguments couldn't be parsed. */
1852 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_SetValidator, doc_wxCheckListBox_SetValidator);
1853
1854 return SIP_NULLPTR;
1855 }
1856
1857
1858 PyDoc_STRVAR(doc_wxCheckListBox_GetValidator, "GetValidator(self) -> Validator");
1859
1860 extern "C" {static PyObject *meth_wxCheckListBox_GetValidator(PyObject *, PyObject *);}
meth_wxCheckListBox_GetValidator(PyObject * sipSelf,PyObject * sipArgs)1861 static PyObject *meth_wxCheckListBox_GetValidator(PyObject *sipSelf, PyObject *sipArgs)
1862 {
1863 PyObject *sipParseErr = SIP_NULLPTR;
1864 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1865
1866 {
1867 ::wxCheckListBox *sipCpp;
1868
1869 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1870 {
1871 ::wxValidator*sipRes;
1872
1873 PyErr_Clear();
1874
1875 Py_BEGIN_ALLOW_THREADS
1876 sipRes = (sipSelfWasArg ? sipCpp-> ::wxCheckListBox::GetValidator() : sipCpp->GetValidator());
1877 Py_END_ALLOW_THREADS
1878
1879 if (PyErr_Occurred())
1880 return 0;
1881
1882 return sipConvertFromType(sipRes,sipType_wxValidator,SIP_NULLPTR);
1883 }
1884 }
1885
1886 /* Raise an exception if the arguments couldn't be parsed. */
1887 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_GetValidator, doc_wxCheckListBox_GetValidator);
1888
1889 return SIP_NULLPTR;
1890 }
1891
1892
1893 PyDoc_STRVAR(doc_wxCheckListBox_ProcessEvent, "ProcessEvent(self, event: Event) -> bool");
1894
1895 extern "C" {static PyObject *meth_wxCheckListBox_ProcessEvent(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_ProcessEvent(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1896 static PyObject *meth_wxCheckListBox_ProcessEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1897 {
1898 PyObject *sipParseErr = SIP_NULLPTR;
1899 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1900
1901 {
1902 ::wxEvent* event;
1903 sipwxCheckListBox *sipCpp;
1904
1905 static const char *sipKwdList[] = {
1906 sipName_event,
1907 };
1908
1909 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxCheckListBox, &sipCpp, sipType_wxEvent, &event))
1910 {
1911 bool sipRes;
1912
1913 PyErr_Clear();
1914
1915 Py_BEGIN_ALLOW_THREADS
1916 sipRes = sipCpp->sipProtectVirt_ProcessEvent(sipSelfWasArg,*event);
1917 Py_END_ALLOW_THREADS
1918
1919 if (PyErr_Occurred())
1920 return 0;
1921
1922 return PyBool_FromLong(sipRes);
1923 }
1924 }
1925
1926 /* Raise an exception if the arguments couldn't be parsed. */
1927 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_ProcessEvent, doc_wxCheckListBox_ProcessEvent);
1928
1929 return SIP_NULLPTR;
1930 }
1931
1932
1933 PyDoc_STRVAR(doc_wxCheckListBox_DoEnable, "DoEnable(self, enable: bool)");
1934
1935 extern "C" {static PyObject *meth_wxCheckListBox_DoEnable(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_DoEnable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1936 static PyObject *meth_wxCheckListBox_DoEnable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1937 {
1938 PyObject *sipParseErr = SIP_NULLPTR;
1939 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1940
1941 {
1942 bool enable;
1943 sipwxCheckListBox *sipCpp;
1944
1945 static const char *sipKwdList[] = {
1946 sipName_enable,
1947 };
1948
1949 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxCheckListBox, &sipCpp, &enable))
1950 {
1951 PyErr_Clear();
1952
1953 Py_BEGIN_ALLOW_THREADS
1954 sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg,enable);
1955 Py_END_ALLOW_THREADS
1956
1957 if (PyErr_Occurred())
1958 return 0;
1959
1960 Py_INCREF(Py_None);
1961 return Py_None;
1962 }
1963 }
1964
1965 /* Raise an exception if the arguments couldn't be parsed. */
1966 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoEnable, doc_wxCheckListBox_DoEnable);
1967
1968 return SIP_NULLPTR;
1969 }
1970
1971
1972 PyDoc_STRVAR(doc_wxCheckListBox_DoGetPosition, "DoGetPosition(self) -> Tuple[int, int]");
1973
1974 extern "C" {static PyObject *meth_wxCheckListBox_DoGetPosition(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_DoGetPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1975 static PyObject *meth_wxCheckListBox_DoGetPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1976 {
1977 PyObject *sipParseErr = SIP_NULLPTR;
1978 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1979
1980 {
1981 int x;
1982 int y;
1983 const sipwxCheckListBox *sipCpp;
1984
1985 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
1986 {
1987 PyErr_Clear();
1988
1989 Py_BEGIN_ALLOW_THREADS
1990 sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg,&x,&y);
1991 Py_END_ALLOW_THREADS
1992
1993 if (PyErr_Occurred())
1994 return 0;
1995
1996 return sipBuildResult(0,"(ii)",x,y);
1997 }
1998 }
1999
2000 /* Raise an exception if the arguments couldn't be parsed. */
2001 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoGetPosition, doc_wxCheckListBox_DoGetPosition);
2002
2003 return SIP_NULLPTR;
2004 }
2005
2006
2007 PyDoc_STRVAR(doc_wxCheckListBox_DoGetSize, "DoGetSize(self) -> Tuple[int, int]");
2008
2009 extern "C" {static PyObject *meth_wxCheckListBox_DoGetSize(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_DoGetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2010 static PyObject *meth_wxCheckListBox_DoGetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2011 {
2012 PyObject *sipParseErr = SIP_NULLPTR;
2013 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2014
2015 {
2016 int width;
2017 int height;
2018 const sipwxCheckListBox *sipCpp;
2019
2020 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
2021 {
2022 PyErr_Clear();
2023
2024 Py_BEGIN_ALLOW_THREADS
2025 sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg,&width,&height);
2026 Py_END_ALLOW_THREADS
2027
2028 if (PyErr_Occurred())
2029 return 0;
2030
2031 return sipBuildResult(0,"(ii)",width,height);
2032 }
2033 }
2034
2035 /* Raise an exception if the arguments couldn't be parsed. */
2036 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoGetSize, doc_wxCheckListBox_DoGetSize);
2037
2038 return SIP_NULLPTR;
2039 }
2040
2041
2042 PyDoc_STRVAR(doc_wxCheckListBox_DoGetClientSize, "DoGetClientSize(self) -> Tuple[int, int]");
2043
2044 extern "C" {static PyObject *meth_wxCheckListBox_DoGetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_DoGetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2045 static PyObject *meth_wxCheckListBox_DoGetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2046 {
2047 PyObject *sipParseErr = SIP_NULLPTR;
2048 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2049
2050 {
2051 int width;
2052 int height;
2053 const sipwxCheckListBox *sipCpp;
2054
2055 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
2056 {
2057 PyErr_Clear();
2058
2059 Py_BEGIN_ALLOW_THREADS
2060 sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg,&width,&height);
2061 Py_END_ALLOW_THREADS
2062
2063 if (PyErr_Occurred())
2064 return 0;
2065
2066 return sipBuildResult(0,"(ii)",width,height);
2067 }
2068 }
2069
2070 /* Raise an exception if the arguments couldn't be parsed. */
2071 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoGetClientSize, doc_wxCheckListBox_DoGetClientSize);
2072
2073 return SIP_NULLPTR;
2074 }
2075
2076
2077 PyDoc_STRVAR(doc_wxCheckListBox_DoGetBestSize, "DoGetBestSize(self) -> Size");
2078
2079 extern "C" {static PyObject *meth_wxCheckListBox_DoGetBestSize(PyObject *, PyObject *);}
meth_wxCheckListBox_DoGetBestSize(PyObject * sipSelf,PyObject * sipArgs)2080 static PyObject *meth_wxCheckListBox_DoGetBestSize(PyObject *sipSelf, PyObject *sipArgs)
2081 {
2082 PyObject *sipParseErr = SIP_NULLPTR;
2083 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2084
2085 {
2086 const sipwxCheckListBox *sipCpp;
2087
2088 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
2089 {
2090 ::wxSize*sipRes;
2091
2092 PyErr_Clear();
2093
2094 Py_BEGIN_ALLOW_THREADS
2095 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg));
2096 Py_END_ALLOW_THREADS
2097
2098 if (PyErr_Occurred())
2099 return 0;
2100
2101 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2102 }
2103 }
2104
2105 /* Raise an exception if the arguments couldn't be parsed. */
2106 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoGetBestSize, doc_wxCheckListBox_DoGetBestSize);
2107
2108 return SIP_NULLPTR;
2109 }
2110
2111
2112 PyDoc_STRVAR(doc_wxCheckListBox_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size");
2113
2114 extern "C" {static PyObject *meth_wxCheckListBox_DoGetBestClientSize(PyObject *, PyObject *);}
meth_wxCheckListBox_DoGetBestClientSize(PyObject * sipSelf,PyObject * sipArgs)2115 static PyObject *meth_wxCheckListBox_DoGetBestClientSize(PyObject *sipSelf, PyObject *sipArgs)
2116 {
2117 PyObject *sipParseErr = SIP_NULLPTR;
2118 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2119
2120 {
2121 const sipwxCheckListBox *sipCpp;
2122
2123 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
2124 {
2125 ::wxSize*sipRes;
2126
2127 PyErr_Clear();
2128
2129 Py_BEGIN_ALLOW_THREADS
2130 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg));
2131 Py_END_ALLOW_THREADS
2132
2133 if (PyErr_Occurred())
2134 return 0;
2135
2136 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2137 }
2138 }
2139
2140 /* Raise an exception if the arguments couldn't be parsed. */
2141 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoGetBestClientSize, doc_wxCheckListBox_DoGetBestClientSize);
2142
2143 return SIP_NULLPTR;
2144 }
2145
2146
2147 PyDoc_STRVAR(doc_wxCheckListBox_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)");
2148
2149 extern "C" {static PyObject *meth_wxCheckListBox_DoSetSize(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_DoSetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2150 static PyObject *meth_wxCheckListBox_DoSetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2151 {
2152 PyObject *sipParseErr = SIP_NULLPTR;
2153 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2154
2155 {
2156 int x;
2157 int y;
2158 int width;
2159 int height;
2160 int sizeFlags;
2161 sipwxCheckListBox *sipCpp;
2162
2163 static const char *sipKwdList[] = {
2164 sipName_x,
2165 sipName_y,
2166 sipName_width,
2167 sipName_height,
2168 sipName_sizeFlags,
2169 };
2170
2171 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType_wxCheckListBox, &sipCpp, &x, &y, &width, &height, &sizeFlags))
2172 {
2173 PyErr_Clear();
2174
2175 Py_BEGIN_ALLOW_THREADS
2176 sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg,x,y,width,height,sizeFlags);
2177 Py_END_ALLOW_THREADS
2178
2179 if (PyErr_Occurred())
2180 return 0;
2181
2182 Py_INCREF(Py_None);
2183 return Py_None;
2184 }
2185 }
2186
2187 /* Raise an exception if the arguments couldn't be parsed. */
2188 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoSetSize, doc_wxCheckListBox_DoSetSize);
2189
2190 return SIP_NULLPTR;
2191 }
2192
2193
2194 PyDoc_STRVAR(doc_wxCheckListBox_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)");
2195
2196 extern "C" {static PyObject *meth_wxCheckListBox_DoSetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_DoSetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2197 static PyObject *meth_wxCheckListBox_DoSetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2198 {
2199 PyObject *sipParseErr = SIP_NULLPTR;
2200 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2201
2202 {
2203 int width;
2204 int height;
2205 sipwxCheckListBox *sipCpp;
2206
2207 static const char *sipKwdList[] = {
2208 sipName_width,
2209 sipName_height,
2210 };
2211
2212 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxCheckListBox, &sipCpp, &width, &height))
2213 {
2214 PyErr_Clear();
2215
2216 Py_BEGIN_ALLOW_THREADS
2217 sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg,width,height);
2218 Py_END_ALLOW_THREADS
2219
2220 if (PyErr_Occurred())
2221 return 0;
2222
2223 Py_INCREF(Py_None);
2224 return Py_None;
2225 }
2226 }
2227
2228 /* Raise an exception if the arguments couldn't be parsed. */
2229 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoSetClientSize, doc_wxCheckListBox_DoSetClientSize);
2230
2231 return SIP_NULLPTR;
2232 }
2233
2234
2235 PyDoc_STRVAR(doc_wxCheckListBox_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)");
2236
2237 extern "C" {static PyObject *meth_wxCheckListBox_DoSetSizeHints(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_DoSetSizeHints(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2238 static PyObject *meth_wxCheckListBox_DoSetSizeHints(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2239 {
2240 PyObject *sipParseErr = SIP_NULLPTR;
2241 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2242
2243 {
2244 int minW;
2245 int minH;
2246 int maxW;
2247 int maxH;
2248 int incW;
2249 int incH;
2250 sipwxCheckListBox *sipCpp;
2251
2252 static const char *sipKwdList[] = {
2253 sipName_minW,
2254 sipName_minH,
2255 sipName_maxW,
2256 sipName_maxH,
2257 sipName_incW,
2258 sipName_incH,
2259 };
2260
2261 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType_wxCheckListBox, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH))
2262 {
2263 PyErr_Clear();
2264
2265 Py_BEGIN_ALLOW_THREADS
2266 sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg,minW,minH,maxW,maxH,incW,incH);
2267 Py_END_ALLOW_THREADS
2268
2269 if (PyErr_Occurred())
2270 return 0;
2271
2272 Py_INCREF(Py_None);
2273 return Py_None;
2274 }
2275 }
2276
2277 /* Raise an exception if the arguments couldn't be parsed. */
2278 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoSetSizeHints, doc_wxCheckListBox_DoSetSizeHints);
2279
2280 return SIP_NULLPTR;
2281 }
2282
2283
2284 PyDoc_STRVAR(doc_wxCheckListBox_DoGetBorderSize, "DoGetBorderSize(self) -> Size");
2285
2286 extern "C" {static PyObject *meth_wxCheckListBox_DoGetBorderSize(PyObject *, PyObject *);}
meth_wxCheckListBox_DoGetBorderSize(PyObject * sipSelf,PyObject * sipArgs)2287 static PyObject *meth_wxCheckListBox_DoGetBorderSize(PyObject *sipSelf, PyObject *sipArgs)
2288 {
2289 PyObject *sipParseErr = SIP_NULLPTR;
2290 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2291
2292 {
2293 const sipwxCheckListBox *sipCpp;
2294
2295 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
2296 {
2297 ::wxSize*sipRes;
2298
2299 PyErr_Clear();
2300
2301 Py_BEGIN_ALLOW_THREADS
2302 sipRes = new ::wxSize(sipCpp->sipProtectVirt_DoGetBorderSize(sipSelfWasArg));
2303 Py_END_ALLOW_THREADS
2304
2305 if (PyErr_Occurred())
2306 return 0;
2307
2308 return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2309 }
2310 }
2311
2312 /* Raise an exception if the arguments couldn't be parsed. */
2313 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoGetBorderSize, doc_wxCheckListBox_DoGetBorderSize);
2314
2315 return SIP_NULLPTR;
2316 }
2317
2318
2319 PyDoc_STRVAR(doc_wxCheckListBox_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)");
2320
2321 extern "C" {static PyObject *meth_wxCheckListBox_DoMoveWindow(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_DoMoveWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2322 static PyObject *meth_wxCheckListBox_DoMoveWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2323 {
2324 PyObject *sipParseErr = SIP_NULLPTR;
2325 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2326
2327 {
2328 int x;
2329 int y;
2330 int width;
2331 int height;
2332 sipwxCheckListBox *sipCpp;
2333
2334 static const char *sipKwdList[] = {
2335 sipName_x,
2336 sipName_y,
2337 sipName_width,
2338 sipName_height,
2339 };
2340
2341 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxCheckListBox, &sipCpp, &x, &y, &width, &height))
2342 {
2343 PyErr_Clear();
2344
2345 Py_BEGIN_ALLOW_THREADS
2346 sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg,x,y,width,height);
2347 Py_END_ALLOW_THREADS
2348
2349 if (PyErr_Occurred())
2350 return 0;
2351
2352 Py_INCREF(Py_None);
2353 return Py_None;
2354 }
2355 }
2356
2357 /* Raise an exception if the arguments couldn't be parsed. */
2358 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoMoveWindow, doc_wxCheckListBox_DoMoveWindow);
2359
2360 return SIP_NULLPTR;
2361 }
2362
2363
2364 PyDoc_STRVAR(doc_wxCheckListBox_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)");
2365
2366 extern "C" {static PyObject *meth_wxCheckListBox_DoSetWindowVariant(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_DoSetWindowVariant(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2367 static PyObject *meth_wxCheckListBox_DoSetWindowVariant(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2368 {
2369 PyObject *sipParseErr = SIP_NULLPTR;
2370 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2371
2372 {
2373 ::wxWindowVariant variant;
2374 sipwxCheckListBox *sipCpp;
2375
2376 static const char *sipKwdList[] = {
2377 sipName_variant,
2378 };
2379
2380 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxCheckListBox, &sipCpp, sipType_wxWindowVariant, &variant))
2381 {
2382 PyErr_Clear();
2383
2384 Py_BEGIN_ALLOW_THREADS
2385 sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg,variant);
2386 Py_END_ALLOW_THREADS
2387
2388 if (PyErr_Occurred())
2389 return 0;
2390
2391 Py_INCREF(Py_None);
2392 return Py_None;
2393 }
2394 }
2395
2396 /* Raise an exception if the arguments couldn't be parsed. */
2397 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoSetWindowVariant, doc_wxCheckListBox_DoSetWindowVariant);
2398
2399 return SIP_NULLPTR;
2400 }
2401
2402
2403 PyDoc_STRVAR(doc_wxCheckListBox_GetDefaultBorder, "GetDefaultBorder(self) -> Border");
2404
2405 extern "C" {static PyObject *meth_wxCheckListBox_GetDefaultBorder(PyObject *, PyObject *);}
meth_wxCheckListBox_GetDefaultBorder(PyObject * sipSelf,PyObject * sipArgs)2406 static PyObject *meth_wxCheckListBox_GetDefaultBorder(PyObject *sipSelf, PyObject *sipArgs)
2407 {
2408 PyObject *sipParseErr = SIP_NULLPTR;
2409 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2410
2411 {
2412 const sipwxCheckListBox *sipCpp;
2413
2414 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
2415 {
2416 ::wxBorder sipRes;
2417
2418 PyErr_Clear();
2419
2420 Py_BEGIN_ALLOW_THREADS
2421 sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg);
2422 Py_END_ALLOW_THREADS
2423
2424 if (PyErr_Occurred())
2425 return 0;
2426
2427 return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
2428 }
2429 }
2430
2431 /* Raise an exception if the arguments couldn't be parsed. */
2432 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_GetDefaultBorder, doc_wxCheckListBox_GetDefaultBorder);
2433
2434 return SIP_NULLPTR;
2435 }
2436
2437
2438 PyDoc_STRVAR(doc_wxCheckListBox_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border");
2439
2440 extern "C" {static PyObject *meth_wxCheckListBox_GetDefaultBorderForControl(PyObject *, PyObject *);}
meth_wxCheckListBox_GetDefaultBorderForControl(PyObject * sipSelf,PyObject * sipArgs)2441 static PyObject *meth_wxCheckListBox_GetDefaultBorderForControl(PyObject *sipSelf, PyObject *sipArgs)
2442 {
2443 PyObject *sipParseErr = SIP_NULLPTR;
2444 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2445
2446 {
2447 const sipwxCheckListBox *sipCpp;
2448
2449 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
2450 {
2451 ::wxBorder sipRes;
2452
2453 PyErr_Clear();
2454
2455 Py_BEGIN_ALLOW_THREADS
2456 sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg);
2457 Py_END_ALLOW_THREADS
2458
2459 if (PyErr_Occurred())
2460 return 0;
2461
2462 return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
2463 }
2464 }
2465
2466 /* Raise an exception if the arguments couldn't be parsed. */
2467 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_GetDefaultBorderForControl, doc_wxCheckListBox_GetDefaultBorderForControl);
2468
2469 return SIP_NULLPTR;
2470 }
2471
2472
2473 PyDoc_STRVAR(doc_wxCheckListBox_DoFreeze, "DoFreeze(self)");
2474
2475 extern "C" {static PyObject *meth_wxCheckListBox_DoFreeze(PyObject *, PyObject *);}
meth_wxCheckListBox_DoFreeze(PyObject * sipSelf,PyObject * sipArgs)2476 static PyObject *meth_wxCheckListBox_DoFreeze(PyObject *sipSelf, PyObject *sipArgs)
2477 {
2478 PyObject *sipParseErr = SIP_NULLPTR;
2479 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2480
2481 {
2482 sipwxCheckListBox *sipCpp;
2483
2484 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
2485 {
2486 PyErr_Clear();
2487
2488 Py_BEGIN_ALLOW_THREADS
2489 sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg);
2490 Py_END_ALLOW_THREADS
2491
2492 if (PyErr_Occurred())
2493 return 0;
2494
2495 Py_INCREF(Py_None);
2496 return Py_None;
2497 }
2498 }
2499
2500 /* Raise an exception if the arguments couldn't be parsed. */
2501 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoFreeze, doc_wxCheckListBox_DoFreeze);
2502
2503 return SIP_NULLPTR;
2504 }
2505
2506
2507 PyDoc_STRVAR(doc_wxCheckListBox_DoThaw, "DoThaw(self)");
2508
2509 extern "C" {static PyObject *meth_wxCheckListBox_DoThaw(PyObject *, PyObject *);}
meth_wxCheckListBox_DoThaw(PyObject * sipSelf,PyObject * sipArgs)2510 static PyObject *meth_wxCheckListBox_DoThaw(PyObject *sipSelf, PyObject *sipArgs)
2511 {
2512 PyObject *sipParseErr = SIP_NULLPTR;
2513 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2514
2515 {
2516 sipwxCheckListBox *sipCpp;
2517
2518 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
2519 {
2520 PyErr_Clear();
2521
2522 Py_BEGIN_ALLOW_THREADS
2523 sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg);
2524 Py_END_ALLOW_THREADS
2525
2526 if (PyErr_Occurred())
2527 return 0;
2528
2529 Py_INCREF(Py_None);
2530 return Py_None;
2531 }
2532 }
2533
2534 /* Raise an exception if the arguments couldn't be parsed. */
2535 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_DoThaw, doc_wxCheckListBox_DoThaw);
2536
2537 return SIP_NULLPTR;
2538 }
2539
2540
2541 PyDoc_STRVAR(doc_wxCheckListBox_HasTransparentBackground, "HasTransparentBackground(self) -> bool");
2542
2543 extern "C" {static PyObject *meth_wxCheckListBox_HasTransparentBackground(PyObject *, PyObject *);}
meth_wxCheckListBox_HasTransparentBackground(PyObject * sipSelf,PyObject * sipArgs)2544 static PyObject *meth_wxCheckListBox_HasTransparentBackground(PyObject *sipSelf, PyObject *sipArgs)
2545 {
2546 PyObject *sipParseErr = SIP_NULLPTR;
2547 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2548
2549 {
2550 sipwxCheckListBox *sipCpp;
2551
2552 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxCheckListBox, &sipCpp))
2553 {
2554 bool sipRes;
2555
2556 PyErr_Clear();
2557
2558 Py_BEGIN_ALLOW_THREADS
2559 sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg);
2560 Py_END_ALLOW_THREADS
2561
2562 if (PyErr_Occurred())
2563 return 0;
2564
2565 return PyBool_FromLong(sipRes);
2566 }
2567 }
2568
2569 /* Raise an exception if the arguments couldn't be parsed. */
2570 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_HasTransparentBackground, doc_wxCheckListBox_HasTransparentBackground);
2571
2572 return SIP_NULLPTR;
2573 }
2574
2575
2576 PyDoc_STRVAR(doc_wxCheckListBox_TryBefore, "TryBefore(self, event: Event) -> bool");
2577
2578 extern "C" {static PyObject *meth_wxCheckListBox_TryBefore(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_TryBefore(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2579 static PyObject *meth_wxCheckListBox_TryBefore(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2580 {
2581 PyObject *sipParseErr = SIP_NULLPTR;
2582 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2583
2584 {
2585 ::wxEvent* event;
2586 sipwxCheckListBox *sipCpp;
2587
2588 static const char *sipKwdList[] = {
2589 sipName_event,
2590 };
2591
2592 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxCheckListBox, &sipCpp, sipType_wxEvent, &event))
2593 {
2594 bool sipRes;
2595
2596 PyErr_Clear();
2597
2598 Py_BEGIN_ALLOW_THREADS
2599 sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg,*event);
2600 Py_END_ALLOW_THREADS
2601
2602 if (PyErr_Occurred())
2603 return 0;
2604
2605 return PyBool_FromLong(sipRes);
2606 }
2607 }
2608
2609 /* Raise an exception if the arguments couldn't be parsed. */
2610 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_TryBefore, doc_wxCheckListBox_TryBefore);
2611
2612 return SIP_NULLPTR;
2613 }
2614
2615
2616 PyDoc_STRVAR(doc_wxCheckListBox_TryAfter, "TryAfter(self, event: Event) -> bool");
2617
2618 extern "C" {static PyObject *meth_wxCheckListBox_TryAfter(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_TryAfter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2619 static PyObject *meth_wxCheckListBox_TryAfter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2620 {
2621 PyObject *sipParseErr = SIP_NULLPTR;
2622 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2623
2624 {
2625 ::wxEvent* event;
2626 sipwxCheckListBox *sipCpp;
2627
2628 static const char *sipKwdList[] = {
2629 sipName_event,
2630 };
2631
2632 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxCheckListBox, &sipCpp, sipType_wxEvent, &event))
2633 {
2634 bool sipRes;
2635
2636 PyErr_Clear();
2637
2638 Py_BEGIN_ALLOW_THREADS
2639 sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg,*event);
2640 Py_END_ALLOW_THREADS
2641
2642 if (PyErr_Occurred())
2643 return 0;
2644
2645 return PyBool_FromLong(sipRes);
2646 }
2647 }
2648
2649 /* Raise an exception if the arguments couldn't be parsed. */
2650 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_TryAfter, doc_wxCheckListBox_TryAfter);
2651
2652 return SIP_NULLPTR;
2653 }
2654
2655
2656 PyDoc_STRVAR(doc_wxCheckListBox_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes");
2657
2658 extern "C" {static PyObject *meth_wxCheckListBox_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);}
meth_wxCheckListBox_GetClassDefaultAttributes(PyObject *,PyObject * sipArgs,PyObject * sipKwds)2659 static PyObject *meth_wxCheckListBox_GetClassDefaultAttributes(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
2660 {
2661 PyObject *sipParseErr = SIP_NULLPTR;
2662
2663 {
2664 ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL;
2665
2666 static const char *sipKwdList[] = {
2667 sipName_variant,
2668 };
2669
2670 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant))
2671 {
2672 ::wxVisualAttributes*sipRes;
2673
2674 if (!wxPyCheckForApp()) return NULL;
2675
2676 PyErr_Clear();
2677
2678 Py_BEGIN_ALLOW_THREADS
2679 sipRes = new ::wxVisualAttributes( ::wxCheckListBox::GetClassDefaultAttributes(variant));
2680 Py_END_ALLOW_THREADS
2681
2682 if (PyErr_Occurred())
2683 return 0;
2684
2685 return sipConvertFromNewType(sipRes,sipType_wxVisualAttributes,SIP_NULLPTR);
2686 }
2687 }
2688
2689 /* Raise an exception if the arguments couldn't be parsed. */
2690 sipNoMethod(sipParseErr, sipName_CheckListBox, sipName_GetClassDefaultAttributes, SIP_NULLPTR);
2691
2692 return SIP_NULLPTR;
2693 }
2694
2695
2696 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
2697 extern "C" {static void *cast_wxCheckListBox(void *, const sipTypeDef *);}
cast_wxCheckListBox(void * sipCppV,const sipTypeDef * targetType)2698 static void *cast_wxCheckListBox(void *sipCppV, const sipTypeDef *targetType)
2699 {
2700 ::wxCheckListBox *sipCpp = reinterpret_cast< ::wxCheckListBox *>(sipCppV);
2701
2702 if (targetType == sipType_wxListBox)
2703 return static_cast< ::wxListBox *>(sipCpp);
2704
2705 if (targetType == sipType_wxControl)
2706 return static_cast< ::wxControl *>(sipCpp);
2707
2708 if (targetType == sipType_wxWindow)
2709 return static_cast< ::wxWindow *>(sipCpp);
2710
2711 if (targetType == sipType_wxWindowBase)
2712 return static_cast< ::wxWindowBase *>(sipCpp);
2713
2714 if (targetType == sipType_wxEvtHandler)
2715 return static_cast< ::wxEvtHandler *>(sipCpp);
2716
2717 if (targetType == sipType_wxObject)
2718 return static_cast< ::wxObject *>(sipCpp);
2719
2720 if (targetType == sipType_wxTrackable)
2721 return static_cast< ::wxTrackable *>(sipCpp);
2722
2723 if (targetType == sipType_wxItemContainer)
2724 return static_cast< ::wxItemContainer *>(sipCpp);
2725
2726 if (targetType == sipType_wxItemContainerImmutable)
2727 return static_cast< ::wxItemContainerImmutable *>(sipCpp);
2728
2729 return sipCppV;
2730 }
2731
2732
2733 /* Call the instance's destructor. */
2734 extern "C" {static void release_wxCheckListBox(void *, int);}
release_wxCheckListBox(void * sipCppV,int sipState)2735 static void release_wxCheckListBox(void *sipCppV, int sipState)
2736 {
2737 Py_BEGIN_ALLOW_THREADS
2738
2739 if (sipState & SIP_DERIVED_CLASS)
2740 delete reinterpret_cast<sipwxCheckListBox *>(sipCppV);
2741 else
2742 delete reinterpret_cast< ::wxCheckListBox *>(sipCppV);
2743
2744 Py_END_ALLOW_THREADS
2745 }
2746
2747
2748 extern "C" {static void dealloc_wxCheckListBox(sipSimpleWrapper *);}
dealloc_wxCheckListBox(sipSimpleWrapper * sipSelf)2749 static void dealloc_wxCheckListBox(sipSimpleWrapper *sipSelf)
2750 {
2751 if (sipIsDerivedClass(sipSelf))
2752 reinterpret_cast<sipwxCheckListBox *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
2753
2754 if (sipIsOwnedByPython(sipSelf))
2755 {
2756 release_wxCheckListBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
2757 }
2758 }
2759
2760
2761 extern "C" {static void *init_type_wxCheckListBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxCheckListBox(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject ** sipOwner,PyObject ** sipParseErr)2762 static void *init_type_wxCheckListBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
2763 {
2764 sipwxCheckListBox *sipCpp = SIP_NULLPTR;
2765
2766 {
2767 ::wxWindow* parent;
2768 ::wxWindowID id = wxID_ANY;
2769 const ::wxPoint& posdef = wxDefaultPosition;
2770 const ::wxPoint* pos = &posdef;
2771 int posState = 0;
2772 const ::wxSize& sizedef = wxDefaultSize;
2773 const ::wxSize* size = &sizedef;
2774 int sizeState = 0;
2775 const ::wxArrayString& choicesdef = wxArrayString();
2776 const ::wxArrayString* choices = &choicesdef;
2777 int choicesState = 0;
2778 long style = 0;
2779 const ::wxValidator& validatordef = wxDefaultValidator;
2780 const ::wxValidator* validator = &validatordef;
2781 const ::wxString& namedef = "listBox";
2782 const ::wxString* name = &namedef;
2783 int nameState = 0;
2784
2785 static const char *sipKwdList[] = {
2786 sipName_parent,
2787 sipName_id,
2788 sipName_pos,
2789 sipName_size,
2790 sipName_choices,
2791 sipName_style,
2792 sipName_validator,
2793 sipName_name,
2794 };
2795
2796 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|iJ1J1J1lJ9J1", sipType_wxWindow, &parent, sipOwner, &id, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, sipType_wxArrayString,&choices, &choicesState, &style, sipType_wxValidator, &validator, sipType_wxString,&name, &nameState))
2797 {
2798
2799 if (!wxPyCheckForApp()) return NULL;
2800
2801 PyErr_Clear();
2802
2803 Py_BEGIN_ALLOW_THREADS
2804 sipCpp = new sipwxCheckListBox(parent,id,*pos,*size,*choices,style,*validator,*name);
2805 Py_END_ALLOW_THREADS
2806 sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
2807 sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
2808 sipReleaseType(const_cast< ::wxArrayString *>(choices),sipType_wxArrayString,choicesState);
2809 sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
2810
2811 if (PyErr_Occurred())
2812 {
2813 delete sipCpp;
2814 return SIP_NULLPTR;
2815 }
2816
2817 sipCpp->sipPySelf = sipSelf;
2818
2819 return sipCpp;
2820 }
2821 }
2822
2823 {
2824 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
2825 {
2826
2827 if (!wxPyCheckForApp()) return NULL;
2828
2829 PyErr_Clear();
2830
2831 Py_BEGIN_ALLOW_THREADS
2832 sipCpp = new sipwxCheckListBox();
2833 Py_END_ALLOW_THREADS
2834
2835 if (PyErr_Occurred())
2836 {
2837 delete sipCpp;
2838 return SIP_NULLPTR;
2839 }
2840
2841 sipCpp->sipPySelf = sipSelf;
2842
2843 return sipCpp;
2844 }
2845 }
2846
2847 return SIP_NULLPTR;
2848 }
2849
2850
2851 /* Define this type's super-types. */
2852 static sipEncodedTypeDef supers_wxCheckListBox[] = {{286, 255, 1}};
2853
2854
2855 static PyMethodDef methods_wxCheckListBox[] = {
2856 {SIP_MLNAME_CAST(sipName_AcceptsFocus), meth_wxCheckListBox_AcceptsFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_AcceptsFocus)},
2857 {SIP_MLNAME_CAST(sipName_AcceptsFocusFromKeyboard), meth_wxCheckListBox_AcceptsFocusFromKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_AcceptsFocusFromKeyboard)},
2858 {SIP_MLNAME_CAST(sipName_AcceptsFocusRecursively), meth_wxCheckListBox_AcceptsFocusRecursively, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_AcceptsFocusRecursively)},
2859 {SIP_MLNAME_CAST(sipName_AddChild), SIP_MLMETH_CAST(meth_wxCheckListBox_AddChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_AddChild)},
2860 {SIP_MLNAME_CAST(sipName_Check), SIP_MLMETH_CAST(meth_wxCheckListBox_Check), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_Check)},
2861 {SIP_MLNAME_CAST(sipName_Create), SIP_MLMETH_CAST(meth_wxCheckListBox_Create), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_Create)},
2862 {SIP_MLNAME_CAST(sipName_Destroy), meth_wxCheckListBox_Destroy, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_Destroy)},
2863 {SIP_MLNAME_CAST(sipName_DoEnable), SIP_MLMETH_CAST(meth_wxCheckListBox_DoEnable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoEnable)},
2864 {SIP_MLNAME_CAST(sipName_DoFreeze), meth_wxCheckListBox_DoFreeze, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoFreeze)},
2865 {SIP_MLNAME_CAST(sipName_DoGetBestClientSize), meth_wxCheckListBox_DoGetBestClientSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoGetBestClientSize)},
2866 {SIP_MLNAME_CAST(sipName_DoGetBestSize), meth_wxCheckListBox_DoGetBestSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoGetBestSize)},
2867 {SIP_MLNAME_CAST(sipName_DoGetBorderSize), meth_wxCheckListBox_DoGetBorderSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoGetBorderSize)},
2868 {SIP_MLNAME_CAST(sipName_DoGetClientSize), SIP_MLMETH_CAST(meth_wxCheckListBox_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoGetClientSize)},
2869 {SIP_MLNAME_CAST(sipName_DoGetPosition), SIP_MLMETH_CAST(meth_wxCheckListBox_DoGetPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoGetPosition)},
2870 {SIP_MLNAME_CAST(sipName_DoGetSize), SIP_MLMETH_CAST(meth_wxCheckListBox_DoGetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoGetSize)},
2871 {SIP_MLNAME_CAST(sipName_DoMoveWindow), SIP_MLMETH_CAST(meth_wxCheckListBox_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoMoveWindow)},
2872 {SIP_MLNAME_CAST(sipName_DoSetClientSize), SIP_MLMETH_CAST(meth_wxCheckListBox_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoSetClientSize)},
2873 {SIP_MLNAME_CAST(sipName_DoSetSize), SIP_MLMETH_CAST(meth_wxCheckListBox_DoSetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoSetSize)},
2874 {SIP_MLNAME_CAST(sipName_DoSetSizeHints), SIP_MLMETH_CAST(meth_wxCheckListBox_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoSetSizeHints)},
2875 {SIP_MLNAME_CAST(sipName_DoSetWindowVariant), SIP_MLMETH_CAST(meth_wxCheckListBox_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoSetWindowVariant)},
2876 {SIP_MLNAME_CAST(sipName_DoThaw), meth_wxCheckListBox_DoThaw, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_DoThaw)},
2877 {SIP_MLNAME_CAST(sipName_GetClassDefaultAttributes), SIP_MLMETH_CAST(meth_wxCheckListBox_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_GetClassDefaultAttributes)},
2878 {SIP_MLNAME_CAST(sipName_GetClientAreaOrigin), meth_wxCheckListBox_GetClientAreaOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_GetClientAreaOrigin)},
2879 {SIP_MLNAME_CAST(sipName_GetDefaultBorder), meth_wxCheckListBox_GetDefaultBorder, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_GetDefaultBorder)},
2880 {SIP_MLNAME_CAST(sipName_GetDefaultBorderForControl), meth_wxCheckListBox_GetDefaultBorderForControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_GetDefaultBorderForControl)},
2881 {SIP_MLNAME_CAST(sipName_GetMainWindowOfCompositeControl), meth_wxCheckListBox_GetMainWindowOfCompositeControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_GetMainWindowOfCompositeControl)},
2882 {SIP_MLNAME_CAST(sipName_GetValidator), meth_wxCheckListBox_GetValidator, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_GetValidator)},
2883 {SIP_MLNAME_CAST(sipName_HasTransparentBackground), meth_wxCheckListBox_HasTransparentBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_HasTransparentBackground)},
2884 {SIP_MLNAME_CAST(sipName_InformFirstDirection), SIP_MLMETH_CAST(meth_wxCheckListBox_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_InformFirstDirection)},
2885 {SIP_MLNAME_CAST(sipName_InheritAttributes), meth_wxCheckListBox_InheritAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_InheritAttributes)},
2886 {SIP_MLNAME_CAST(sipName_InitDialog), meth_wxCheckListBox_InitDialog, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_InitDialog)},
2887 {SIP_MLNAME_CAST(sipName_IsChecked), SIP_MLMETH_CAST(meth_wxCheckListBox_IsChecked), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_IsChecked)},
2888 {SIP_MLNAME_CAST(sipName_OnInternalIdle), meth_wxCheckListBox_OnInternalIdle, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_OnInternalIdle)},
2889 {SIP_MLNAME_CAST(sipName_ProcessEvent), SIP_MLMETH_CAST(meth_wxCheckListBox_ProcessEvent), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_ProcessEvent)},
2890 {SIP_MLNAME_CAST(sipName_RemoveChild), SIP_MLMETH_CAST(meth_wxCheckListBox_RemoveChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_RemoveChild)},
2891 {SIP_MLNAME_CAST(sipName_SendDestroyEvent), meth_wxCheckListBox_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
2892 {SIP_MLNAME_CAST(sipName_SetCanFocus), SIP_MLMETH_CAST(meth_wxCheckListBox_SetCanFocus), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_SetCanFocus)},
2893 {SIP_MLNAME_CAST(sipName_SetValidator), SIP_MLMETH_CAST(meth_wxCheckListBox_SetValidator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_SetValidator)},
2894 {SIP_MLNAME_CAST(sipName_ShouldInheritColours), meth_wxCheckListBox_ShouldInheritColours, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_ShouldInheritColours)},
2895 {SIP_MLNAME_CAST(sipName_TransferDataFromWindow), meth_wxCheckListBox_TransferDataFromWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_TransferDataFromWindow)},
2896 {SIP_MLNAME_CAST(sipName_TransferDataToWindow), meth_wxCheckListBox_TransferDataToWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_TransferDataToWindow)},
2897 {SIP_MLNAME_CAST(sipName_TryAfter), SIP_MLMETH_CAST(meth_wxCheckListBox_TryAfter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_TryAfter)},
2898 {SIP_MLNAME_CAST(sipName_TryBefore), SIP_MLMETH_CAST(meth_wxCheckListBox_TryBefore), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxCheckListBox_TryBefore)},
2899 {SIP_MLNAME_CAST(sipName_Validate), meth_wxCheckListBox_Validate, METH_VARARGS, SIP_MLDOC_CAST(doc_wxCheckListBox_Validate)}
2900 };
2901
2902 PyDoc_STRVAR(doc_wxCheckListBox, "CheckListBox(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, choices=[], style=0, validator=DefaultValidator, name=\"listBox\")\n"
2903 "CheckListBox()\n"
2904 "\n"
2905 "A wxCheckListBox is like a wxListBox, but allows items to be checked\n"
2906 "or unchecked.");
2907
2908
2909 sipClassTypeDef sipTypeDef__core_wxCheckListBox = {
2910 {
2911 -1,
2912 SIP_NULLPTR,
2913 SIP_NULLPTR,
2914 SIP_TYPE_SCC|SIP_TYPE_CLASS,
2915 sipNameNr_wxCheckListBox,
2916 {SIP_NULLPTR},
2917 SIP_NULLPTR
2918 },
2919 {
2920 sipNameNr_CheckListBox,
2921 {0, 0, 1},
2922 44, methods_wxCheckListBox,
2923 0, SIP_NULLPTR,
2924 0, SIP_NULLPTR,
2925 {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
2926 },
2927 doc_wxCheckListBox,
2928 -1,
2929 -1,
2930 supers_wxCheckListBox,
2931 SIP_NULLPTR,
2932 init_type_wxCheckListBox,
2933 SIP_NULLPTR,
2934 SIP_NULLPTR,
2935 #if PY_MAJOR_VERSION >= 3
2936 SIP_NULLPTR,
2937 SIP_NULLPTR,
2938 #else
2939 SIP_NULLPTR,
2940 SIP_NULLPTR,
2941 SIP_NULLPTR,
2942 SIP_NULLPTR,
2943 #endif
2944 dealloc_wxCheckListBox,
2945 SIP_NULLPTR,
2946 SIP_NULLPTR,
2947 SIP_NULLPTR,
2948 release_wxCheckListBox,
2949 cast_wxCheckListBox,
2950 SIP_NULLPTR,
2951 SIP_NULLPTR,
2952 SIP_NULLPTR,
2953 SIP_NULLPTR,
2954 SIP_NULLPTR,
2955 SIP_NULLPTR
2956 };
2957