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/combobox.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/dc.h>
21         #include <wx/event.h>
22         #include <wx/event.h>
23     #include <wx/setup.h>
24     #include <wxPython/wxpy_api.h>
25         #include <wx/event.h>
26         #include <wx/cursor.h>
27         #include <wx/caret.h>
28         #include <wx/layout.h>
29         #include <wx/sizer.h>
30         #include <wx/dnd.h>
31         #include <wx/access.h>
32         #include <wx/accel.h>
33         #include <wx/menu.h>
34         #include <wx/tooltip.h>
35         #include <wx/event.h>
36         #include <wx/gdicmn.h>
37         #include <wx/event.h>
38         #include <wx/event.h>
39         #include <wx/palette.h>
40         #include <wx/colour.h>
41         #include <wx/font.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         #include <wx/textcompleter.h>
_wxComboBox_SetTextSelection(wxComboBox * self,long from_,long to_)49     void _wxComboBox_SetTextSelection(wxComboBox* self, long from_, long to_)
50     {
51         self->SetSelection(from_, to_);
52     }
53 
54 
55 class sipwxComboBox : public  ::wxComboBox
56 {
57 public:
58     sipwxComboBox();
59     sipwxComboBox( ::wxWindow*, ::wxWindowID,const  ::wxString&,const  ::wxPoint&,const  ::wxSize&,const  ::wxArrayString&,long,const  ::wxValidator&,const  ::wxString&);
60     virtual ~sipwxComboBox();
61 
62     /*
63      * There is a public method for every protected method visible from
64      * this class.
65      */
66     void sipProtect_SendDestroyEvent();
67     bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&);
68     void sipProtectVirt_DoEnable(bool,bool);
69     void sipProtectVirt_DoGetPosition(bool,int*,int*) const;
70     void sipProtectVirt_DoGetSize(bool,int*,int*) const;
71     void sipProtectVirt_DoGetClientSize(bool,int*,int*) const;
72      ::wxSize sipProtectVirt_DoGetBestSize(bool) const;
73      ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const;
74     void sipProtectVirt_DoSetSize(bool,int,int,int,int,int);
75     void sipProtectVirt_DoSetClientSize(bool,int,int);
76     void sipProtectVirt_DoSetSizeHints(bool,int,int,int,int,int,int);
77      ::wxSize sipProtectVirt_DoGetBorderSize(bool) const;
78     void sipProtectVirt_DoMoveWindow(bool,int,int,int,int);
79     void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant);
80      ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const;
81      ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const;
82     void sipProtectVirt_DoFreeze(bool);
83     void sipProtectVirt_DoThaw(bool);
84     bool sipProtectVirt_HasTransparentBackground(bool);
85     bool sipProtectVirt_TryBefore(bool, ::wxEvent&);
86     bool sipProtectVirt_TryAfter(bool, ::wxEvent&);
87 
88     /*
89      * There is a protected method for every virtual method visible from
90      * this class.
91      */
92 protected:
93     bool CanCopy() const SIP_OVERRIDE;
94     bool CanCut() const SIP_OVERRIDE;
95     bool CanPaste() const SIP_OVERRIDE;
96     bool CanRedo() const SIP_OVERRIDE;
97     bool CanUndo() const SIP_OVERRIDE;
98     void Copy() SIP_OVERRIDE;
99     void Cut() SIP_OVERRIDE;
100     void Paste() SIP_OVERRIDE;
101     void Redo() SIP_OVERRIDE;
102     void Undo() SIP_OVERRIDE;
103      ::wxString GetStringSelection() const SIP_OVERRIDE;
104     int GetSelection() const SIP_OVERRIDE;
105     void SetSelection(int) SIP_OVERRIDE;
106     int FindString(const  ::wxString&,bool) const SIP_OVERRIDE;
107     void SetString(uint,const  ::wxString&) SIP_OVERRIDE;
108      ::wxString GetString(uint) const SIP_OVERRIDE;
109     uint GetCount() const SIP_OVERRIDE;
110      ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
111      ::wxSize DoGetBestSize() const SIP_OVERRIDE;
112     void DoThaw() SIP_OVERRIDE;
113     void DoFreeze() SIP_OVERRIDE;
114      ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
115      ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
116     void DoSetWindowVariant( ::wxWindowVariant) SIP_OVERRIDE;
117     void DoMoveWindow(int,int,int,int) SIP_OVERRIDE;
118      ::wxSize DoGetBorderSize() const SIP_OVERRIDE;
119     void DoSetSizeHints(int,int,int,int,int,int) SIP_OVERRIDE;
120     void DoSetClientSize(int,int) SIP_OVERRIDE;
121     void DoSetSize(int,int,int,int,int) SIP_OVERRIDE;
122     void DoGetClientSize(int*,int*) const SIP_OVERRIDE;
123     void DoGetSize(int*,int*) const SIP_OVERRIDE;
124     void DoGetPosition(int*,int*) const SIP_OVERRIDE;
125     void DoEnable(bool) SIP_OVERRIDE;
126      ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
127     void OnInternalIdle() SIP_OVERRIDE;
128     void InitDialog() SIP_OVERRIDE;
129     void InheritAttributes() SIP_OVERRIDE;
130     bool Destroy() SIP_OVERRIDE;
131     bool Validate() SIP_OVERRIDE;
132     bool TransferDataToWindow() SIP_OVERRIDE;
133     bool TransferDataFromWindow() SIP_OVERRIDE;
134     void SetValidator(const  ::wxValidator&) SIP_OVERRIDE;
135      ::wxValidator* GetValidator() SIP_OVERRIDE;
136     bool ShouldInheritColours() const SIP_OVERRIDE;
137     bool HasTransparentBackground() SIP_OVERRIDE;
138      ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
139     bool InformFirstDirection(int,int,int) SIP_OVERRIDE;
140     void SetCanFocus(bool) SIP_OVERRIDE;
141     bool AcceptsFocusRecursively() const SIP_OVERRIDE;
142     bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
143     bool AcceptsFocus() const SIP_OVERRIDE;
144     bool TryAfter( ::wxEvent&) SIP_OVERRIDE;
145     bool TryBefore( ::wxEvent&) SIP_OVERRIDE;
146     bool ProcessEvent( ::wxEvent&) SIP_OVERRIDE;
147     void AddChild( ::wxWindowBase*) SIP_OVERRIDE;
148     void RemoveChild( ::wxWindowBase*) SIP_OVERRIDE;
149 
150 public:
151     sipSimpleWrapper *sipPySelf;
152 
153 private:
154     sipwxComboBox(const sipwxComboBox &);
155     sipwxComboBox &operator = (const sipwxComboBox &);
156 
157     char sipPyMethods[56];
158 };
159 
sipwxComboBox()160 sipwxComboBox::sipwxComboBox():  ::wxComboBox(), sipPySelf(SIP_NULLPTR)
161 {
162     memset(sipPyMethods, 0, sizeof (sipPyMethods));
163 }
164 
sipwxComboBox(::wxWindow * parent,::wxWindowID id,const::wxString & value,const::wxPoint & pos,const::wxSize & size,const::wxArrayString & choices,long style,const::wxValidator & validator,const::wxString & name)165 sipwxComboBox::sipwxComboBox( ::wxWindow*parent, ::wxWindowID id,const  ::wxString& value,const  ::wxPoint& pos,const  ::wxSize& size,const  ::wxArrayString& choices,long style,const  ::wxValidator& validator,const  ::wxString& name):  ::wxComboBox(parent,id,value,pos,size,choices,style,validator,name), sipPySelf(SIP_NULLPTR)
166 {
167     memset(sipPyMethods, 0, sizeof (sipPyMethods));
168 }
169 
~sipwxComboBox()170 sipwxComboBox::~sipwxComboBox()
171 {
172     sipInstanceDestroyedEx(&sipPySelf);
173 }
174 
CanCopy() const175 bool sipwxComboBox::CanCopy() const
176 {
177     sip_gilstate_t sipGILState;
178     PyObject *sipMeth;
179 
180     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,SIP_NULLPTR,sipName_CanCopy);
181 
182     if (!sipMeth)
183         return  ::wxComboBox::CanCopy();
184 
185     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
186 
187     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
188 }
189 
CanCut() const190 bool sipwxComboBox::CanCut() const
191 {
192     sip_gilstate_t sipGILState;
193     PyObject *sipMeth;
194 
195     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,SIP_NULLPTR,sipName_CanCut);
196 
197     if (!sipMeth)
198         return  ::wxComboBox::CanCut();
199 
200     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
201 
202     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
203 }
204 
CanPaste() const205 bool sipwxComboBox::CanPaste() const
206 {
207     sip_gilstate_t sipGILState;
208     PyObject *sipMeth;
209 
210     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,SIP_NULLPTR,sipName_CanPaste);
211 
212     if (!sipMeth)
213         return  ::wxComboBox::CanPaste();
214 
215     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
216 
217     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
218 }
219 
CanRedo() const220 bool sipwxComboBox::CanRedo() const
221 {
222     sip_gilstate_t sipGILState;
223     PyObject *sipMeth;
224 
225     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,SIP_NULLPTR,sipName_CanRedo);
226 
227     if (!sipMeth)
228         return  ::wxComboBox::CanRedo();
229 
230     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
231 
232     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
233 }
234 
CanUndo() const235 bool sipwxComboBox::CanUndo() const
236 {
237     sip_gilstate_t sipGILState;
238     PyObject *sipMeth;
239 
240     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,SIP_NULLPTR,sipName_CanUndo);
241 
242     if (!sipMeth)
243         return  ::wxComboBox::CanUndo();
244 
245     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
246 
247     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
248 }
249 
Copy()250 void sipwxComboBox::Copy()
251 {
252     sip_gilstate_t sipGILState;
253     PyObject *sipMeth;
254 
255     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,SIP_NULLPTR,sipName_Copy);
256 
257     if (!sipMeth)
258     {
259          ::wxComboBox::Copy();
260         return;
261     }
262 
263     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
264 
265     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
266 }
267 
Cut()268 void sipwxComboBox::Cut()
269 {
270     sip_gilstate_t sipGILState;
271     PyObject *sipMeth;
272 
273     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,SIP_NULLPTR,sipName_Cut);
274 
275     if (!sipMeth)
276     {
277          ::wxComboBox::Cut();
278         return;
279     }
280 
281     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
282 
283     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
284 }
285 
Paste()286 void sipwxComboBox::Paste()
287 {
288     sip_gilstate_t sipGILState;
289     PyObject *sipMeth;
290 
291     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,SIP_NULLPTR,sipName_Paste);
292 
293     if (!sipMeth)
294     {
295          ::wxComboBox::Paste();
296         return;
297     }
298 
299     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
300 
301     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
302 }
303 
Redo()304 void sipwxComboBox::Redo()
305 {
306     sip_gilstate_t sipGILState;
307     PyObject *sipMeth;
308 
309     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,SIP_NULLPTR,sipName_Redo);
310 
311     if (!sipMeth)
312     {
313          ::wxComboBox::Redo();
314         return;
315     }
316 
317     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
318 
319     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
320 }
321 
Undo()322 void sipwxComboBox::Undo()
323 {
324     sip_gilstate_t sipGILState;
325     PyObject *sipMeth;
326 
327     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,SIP_NULLPTR,sipName_Undo);
328 
329     if (!sipMeth)
330     {
331          ::wxComboBox::Undo();
332         return;
333     }
334 
335     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
336 
337     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
338 }
339 
GetStringSelection() const340  ::wxString sipwxComboBox::GetStringSelection() const
341 {
342     sip_gilstate_t sipGILState;
343     PyObject *sipMeth;
344 
345     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,SIP_NULLPTR,sipName_GetStringSelection);
346 
347     if (!sipMeth)
348         return  ::wxComboBox::GetStringSelection();
349 
350     extern  ::wxString sipVH__core_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
351 
352     return sipVH__core_11(sipGILState, 0, sipPySelf, sipMeth);
353 }
354 
GetSelection() const355 int sipwxComboBox::GetSelection() const
356 {
357     sip_gilstate_t sipGILState;
358     PyObject *sipMeth;
359 
360     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,SIP_NULLPTR,sipName_GetSelection);
361 
362     if (!sipMeth)
363         return  ::wxComboBox::GetSelection();
364 
365     extern int sipVH__core_97(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
366 
367     return sipVH__core_97(sipGILState, 0, sipPySelf, sipMeth);
368 }
369 
SetSelection(int n)370 void sipwxComboBox::SetSelection(int n)
371 {
372     sip_gilstate_t sipGILState;
373     PyObject *sipMeth;
374 
375     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,SIP_NULLPTR,sipName_SetSelection);
376 
377     if (!sipMeth)
378     {
379          ::wxComboBox::SetSelection(n);
380         return;
381     }
382 
383     extern void sipVH__core_98(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
384 
385     sipVH__core_98(sipGILState, 0, sipPySelf, sipMeth, n);
386 }
387 
FindString(const::wxString & string,bool caseSensitive) const388 int sipwxComboBox::FindString(const  ::wxString& string,bool caseSensitive) const
389 {
390     sip_gilstate_t sipGILState;
391     PyObject *sipMeth;
392 
393     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,SIP_NULLPTR,sipName_FindString);
394 
395     if (!sipMeth)
396         return  ::wxComboBox::FindString(string,caseSensitive);
397 
398     extern int sipVH__core_139(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxString&,bool);
399 
400     return sipVH__core_139(sipGILState, 0, sipPySelf, sipMeth, string, caseSensitive);
401 }
402 
SetString(uint n,const::wxString & text)403 void sipwxComboBox::SetString(uint n,const  ::wxString& text)
404 {
405     sip_gilstate_t sipGILState;
406     PyObject *sipMeth;
407 
408     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,SIP_NULLPTR,sipName_SetString);
409 
410     if (!sipMeth)
411     {
412          ::wxComboBox::SetString(n,text);
413         return;
414     }
415 
416     extern void sipVH__core_138(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint,const  ::wxString&);
417 
418     sipVH__core_138(sipGILState, 0, sipPySelf, sipMeth, n, text);
419 }
420 
GetString(uint n) const421  ::wxString sipwxComboBox::GetString(uint n) const
422 {
423     sip_gilstate_t sipGILState;
424     PyObject *sipMeth;
425 
426     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,SIP_NULLPTR,sipName_GetString);
427 
428     if (!sipMeth)
429         return  ::wxComboBox::GetString(n);
430 
431     extern  ::wxString sipVH__core_137(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint);
432 
433     return sipVH__core_137(sipGILState, 0, sipPySelf, sipMeth, n);
434 }
435 
GetCount() const436 uint sipwxComboBox::GetCount() const
437 {
438     sip_gilstate_t sipGILState;
439     PyObject *sipMeth;
440 
441     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[16]),sipPySelf,SIP_NULLPTR,sipName_GetCount);
442 
443     if (!sipMeth)
444         return  ::wxComboBox::GetCount();
445 
446     extern uint sipVH__core_136(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
447 
448     return sipVH__core_136(sipGILState, 0, sipPySelf, sipMeth);
449 }
450 
DoGetBestClientSize() const451  ::wxSize sipwxComboBox::DoGetBestClientSize() const
452 {
453     sip_gilstate_t sipGILState;
454     PyObject *sipMeth;
455 
456     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestClientSize);
457 
458     if (!sipMeth)
459         return  ::wxComboBox::DoGetBestClientSize();
460 
461     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
462 
463     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
464 }
465 
DoGetBestSize() const466  ::wxSize sipwxComboBox::DoGetBestSize() const
467 {
468     sip_gilstate_t sipGILState;
469     PyObject *sipMeth;
470 
471     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestSize);
472 
473     if (!sipMeth)
474         return  ::wxComboBox::DoGetBestSize();
475 
476     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
477 
478     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
479 }
480 
DoThaw()481 void sipwxComboBox::DoThaw()
482 {
483     sip_gilstate_t sipGILState;
484     PyObject *sipMeth;
485 
486     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_DoThaw);
487 
488     if (!sipMeth)
489     {
490          ::wxComboBox::DoThaw();
491         return;
492     }
493 
494     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
495 
496     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
497 }
498 
DoFreeze()499 void sipwxComboBox::DoFreeze()
500 {
501     sip_gilstate_t sipGILState;
502     PyObject *sipMeth;
503 
504     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_DoFreeze);
505 
506     if (!sipMeth)
507     {
508          ::wxComboBox::DoFreeze();
509         return;
510     }
511 
512     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
513 
514     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
515 }
516 
GetDefaultBorderForControl() const517  ::wxBorder sipwxComboBox::GetDefaultBorderForControl() const
518 {
519     sip_gilstate_t sipGILState;
520     PyObject *sipMeth;
521 
522     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[21]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorderForControl);
523 
524     if (!sipMeth)
525         return  ::wxComboBox::GetDefaultBorderForControl();
526 
527     extern  ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
528 
529     return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
530 }
531 
GetDefaultBorder() const532  ::wxBorder sipwxComboBox::GetDefaultBorder() const
533 {
534     sip_gilstate_t sipGILState;
535     PyObject *sipMeth;
536 
537     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorder);
538 
539     if (!sipMeth)
540         return  ::wxComboBox::GetDefaultBorder();
541 
542     extern  ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
543 
544     return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
545 }
546 
DoSetWindowVariant(::wxWindowVariant variant)547 void sipwxComboBox::DoSetWindowVariant( ::wxWindowVariant variant)
548 {
549     sip_gilstate_t sipGILState;
550     PyObject *sipMeth;
551 
552     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,SIP_NULLPTR,sipName_DoSetWindowVariant);
553 
554     if (!sipMeth)
555     {
556          ::wxComboBox::DoSetWindowVariant(variant);
557         return;
558     }
559 
560     extern void sipVH__core_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowVariant);
561 
562     sipVH__core_121(sipGILState, 0, sipPySelf, sipMeth, variant);
563 }
564 
DoMoveWindow(int x,int y,int width,int height)565 void sipwxComboBox::DoMoveWindow(int x,int y,int width,int height)
566 {
567     sip_gilstate_t sipGILState;
568     PyObject *sipMeth;
569 
570     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,SIP_NULLPTR,sipName_DoMoveWindow);
571 
572     if (!sipMeth)
573     {
574          ::wxComboBox::DoMoveWindow(x,y,width,height);
575         return;
576     }
577 
578     extern void sipVH__core_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
579 
580     sipVH__core_120(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height);
581 }
582 
DoGetBorderSize() const583  ::wxSize sipwxComboBox::DoGetBorderSize() const
584 {
585     sip_gilstate_t sipGILState;
586     PyObject *sipMeth;
587 
588     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,SIP_NULLPTR,sipName_DoGetBorderSize);
589 
590     if (!sipMeth)
591         return  ::wxComboBox::DoGetBorderSize();
592 
593     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
594 
595     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
596 }
597 
DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)598 void sipwxComboBox::DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)
599 {
600     sip_gilstate_t sipGILState;
601     PyObject *sipMeth;
602 
603     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,SIP_NULLPTR,sipName_DoSetSizeHints);
604 
605     if (!sipMeth)
606     {
607          ::wxComboBox::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH);
608         return;
609     }
610 
611     extern void sipVH__core_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int,int);
612 
613     sipVH__core_119(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH);
614 }
615 
DoSetClientSize(int width,int height)616 void sipwxComboBox::DoSetClientSize(int width,int height)
617 {
618     sip_gilstate_t sipGILState;
619     PyObject *sipMeth;
620 
621     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,SIP_NULLPTR,sipName_DoSetClientSize);
622 
623     if (!sipMeth)
624     {
625          ::wxComboBox::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 
DoSetSize(int x,int y,int width,int height,int sizeFlags)634 void sipwxComboBox::DoSetSize(int x,int y,int width,int height,int sizeFlags)
635 {
636     sip_gilstate_t sipGILState;
637     PyObject *sipMeth;
638 
639     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,SIP_NULLPTR,sipName_DoSetSize);
640 
641     if (!sipMeth)
642     {
643          ::wxComboBox::DoSetSize(x,y,width,height,sizeFlags);
644         return;
645     }
646 
647     extern void sipVH__core_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int);
648 
649     sipVH__core_117(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags);
650 }
651 
DoGetClientSize(int * width,int * height) const652 void sipwxComboBox::DoGetClientSize(int*width,int*height) const
653 {
654     sip_gilstate_t sipGILState;
655     PyObject *sipMeth;
656 
657     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[29]),sipPySelf,SIP_NULLPTR,sipName_DoGetClientSize);
658 
659     if (!sipMeth)
660     {
661          ::wxComboBox::DoGetClientSize(width,height);
662         return;
663     }
664 
665     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
666 
667     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
668 }
669 
DoGetSize(int * width,int * height) const670 void sipwxComboBox::DoGetSize(int*width,int*height) const
671 {
672     sip_gilstate_t sipGILState;
673     PyObject *sipMeth;
674 
675     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,SIP_NULLPTR,sipName_DoGetSize);
676 
677     if (!sipMeth)
678     {
679          ::wxComboBox::DoGetSize(width,height);
680         return;
681     }
682 
683     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
684 
685     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
686 }
687 
DoGetPosition(int * x,int * y) const688 void sipwxComboBox::DoGetPosition(int*x,int*y) const
689 {
690     sip_gilstate_t sipGILState;
691     PyObject *sipMeth;
692 
693     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,SIP_NULLPTR,sipName_DoGetPosition);
694 
695     if (!sipMeth)
696     {
697          ::wxComboBox::DoGetPosition(x,y);
698         return;
699     }
700 
701     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
702 
703     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, x, y);
704 }
705 
DoEnable(bool enable)706 void sipwxComboBox::DoEnable(bool enable)
707 {
708     sip_gilstate_t sipGILState;
709     PyObject *sipMeth;
710 
711     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,SIP_NULLPTR,sipName_DoEnable);
712 
713     if (!sipMeth)
714     {
715          ::wxComboBox::DoEnable(enable);
716         return;
717     }
718 
719     extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
720 
721     sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, enable);
722 }
723 
GetMainWindowOfCompositeControl()724  ::wxWindow* sipwxComboBox::GetMainWindowOfCompositeControl()
725 {
726     sip_gilstate_t sipGILState;
727     PyObject *sipMeth;
728 
729     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,SIP_NULLPTR,sipName_GetMainWindowOfCompositeControl);
730 
731     if (!sipMeth)
732         return  ::wxComboBox::GetMainWindowOfCompositeControl();
733 
734     extern  ::wxWindow* sipVH__core_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
735 
736     return sipVH__core_115(sipGILState, 0, sipPySelf, sipMeth);
737 }
738 
OnInternalIdle()739 void sipwxComboBox::OnInternalIdle()
740 {
741     sip_gilstate_t sipGILState;
742     PyObject *sipMeth;
743 
744     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,SIP_NULLPTR,sipName_OnInternalIdle);
745 
746     if (!sipMeth)
747     {
748          ::wxComboBox::OnInternalIdle();
749         return;
750     }
751 
752     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
753 
754     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
755 }
756 
InitDialog()757 void sipwxComboBox::InitDialog()
758 {
759     sip_gilstate_t sipGILState;
760     PyObject *sipMeth;
761 
762     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,SIP_NULLPTR,sipName_InitDialog);
763 
764     if (!sipMeth)
765     {
766          ::wxComboBox::InitDialog();
767         return;
768     }
769 
770     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
771 
772     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
773 }
774 
InheritAttributes()775 void sipwxComboBox::InheritAttributes()
776 {
777     sip_gilstate_t sipGILState;
778     PyObject *sipMeth;
779 
780     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,SIP_NULLPTR,sipName_InheritAttributes);
781 
782     if (!sipMeth)
783     {
784          ::wxComboBox::InheritAttributes();
785         return;
786     }
787 
788     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
789 
790     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
791 }
792 
Destroy()793 bool sipwxComboBox::Destroy()
794 {
795     sip_gilstate_t sipGILState;
796     PyObject *sipMeth;
797 
798     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,SIP_NULLPTR,sipName_Destroy);
799 
800     if (!sipMeth)
801         return  ::wxComboBox::Destroy();
802 
803     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
804 
805     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
806 }
807 
Validate()808 bool sipwxComboBox::Validate()
809 {
810     sip_gilstate_t sipGILState;
811     PyObject *sipMeth;
812 
813     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,SIP_NULLPTR,sipName_Validate);
814 
815     if (!sipMeth)
816         return  ::wxComboBox::Validate();
817 
818     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
819 
820     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
821 }
822 
TransferDataToWindow()823 bool sipwxComboBox::TransferDataToWindow()
824 {
825     sip_gilstate_t sipGILState;
826     PyObject *sipMeth;
827 
828     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,SIP_NULLPTR,sipName_TransferDataToWindow);
829 
830     if (!sipMeth)
831         return  ::wxComboBox::TransferDataToWindow();
832 
833     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
834 
835     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
836 }
837 
TransferDataFromWindow()838 bool sipwxComboBox::TransferDataFromWindow()
839 {
840     sip_gilstate_t sipGILState;
841     PyObject *sipMeth;
842 
843     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,SIP_NULLPTR,sipName_TransferDataFromWindow);
844 
845     if (!sipMeth)
846         return  ::wxComboBox::TransferDataFromWindow();
847 
848     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
849 
850     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
851 }
852 
SetValidator(const::wxValidator & validator)853 void sipwxComboBox::SetValidator(const  ::wxValidator& validator)
854 {
855     sip_gilstate_t sipGILState;
856     PyObject *sipMeth;
857 
858     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,SIP_NULLPTR,sipName_SetValidator);
859 
860     if (!sipMeth)
861     {
862          ::wxComboBox::SetValidator(validator);
863         return;
864     }
865 
866     extern void sipVH__core_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxValidator&);
867 
868     sipVH__core_114(sipGILState, 0, sipPySelf, sipMeth, validator);
869 }
870 
GetValidator()871  ::wxValidator* sipwxComboBox::GetValidator()
872 {
873     sip_gilstate_t sipGILState;
874     PyObject *sipMeth;
875 
876     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,SIP_NULLPTR,sipName_GetValidator);
877 
878     if (!sipMeth)
879         return  ::wxComboBox::GetValidator();
880 
881     extern  ::wxValidator* sipVH__core_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
882 
883     return sipVH__core_113(sipGILState, 0, sipPySelf, sipMeth);
884 }
885 
ShouldInheritColours() const886 bool sipwxComboBox::ShouldInheritColours() const
887 {
888     sip_gilstate_t sipGILState;
889     PyObject *sipMeth;
890 
891     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[43]),sipPySelf,SIP_NULLPTR,sipName_ShouldInheritColours);
892 
893     if (!sipMeth)
894         return  ::wxComboBox::ShouldInheritColours();
895 
896     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
897 
898     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
899 }
900 
HasTransparentBackground()901 bool sipwxComboBox::HasTransparentBackground()
902 {
903     sip_gilstate_t sipGILState;
904     PyObject *sipMeth;
905 
906     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[44],sipPySelf,SIP_NULLPTR,sipName_HasTransparentBackground);
907 
908     if (!sipMeth)
909         return  ::wxComboBox::HasTransparentBackground();
910 
911     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
912 
913     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
914 }
915 
GetClientAreaOrigin() const916  ::wxPoint sipwxComboBox::GetClientAreaOrigin() const
917 {
918     sip_gilstate_t sipGILState;
919     PyObject *sipMeth;
920 
921     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[45]),sipPySelf,SIP_NULLPTR,sipName_GetClientAreaOrigin);
922 
923     if (!sipMeth)
924         return  ::wxComboBox::GetClientAreaOrigin();
925 
926     extern  ::wxPoint sipVH__core_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
927 
928     return sipVH__core_112(sipGILState, 0, sipPySelf, sipMeth);
929 }
930 
InformFirstDirection(int direction,int size,int availableOtherDir)931 bool sipwxComboBox::InformFirstDirection(int direction,int size,int availableOtherDir)
932 {
933     sip_gilstate_t sipGILState;
934     PyObject *sipMeth;
935 
936     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,SIP_NULLPTR,sipName_InformFirstDirection);
937 
938     if (!sipMeth)
939         return  ::wxComboBox::InformFirstDirection(direction,size,availableOtherDir);
940 
941     extern bool sipVH__core_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);
942 
943     return sipVH__core_111(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir);
944 }
945 
SetCanFocus(bool canFocus)946 void sipwxComboBox::SetCanFocus(bool canFocus)
947 {
948     sip_gilstate_t sipGILState;
949     PyObject *sipMeth;
950 
951     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,SIP_NULLPTR,sipName_SetCanFocus);
952 
953     if (!sipMeth)
954     {
955          ::wxComboBox::SetCanFocus(canFocus);
956         return;
957     }
958 
959     extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
960 
961     sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, canFocus);
962 }
963 
AcceptsFocusRecursively() const964 bool sipwxComboBox::AcceptsFocusRecursively() const
965 {
966     sip_gilstate_t sipGILState;
967     PyObject *sipMeth;
968 
969     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[48]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusRecursively);
970 
971     if (!sipMeth)
972         return  ::wxComboBox::AcceptsFocusRecursively();
973 
974     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
975 
976     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
977 }
978 
AcceptsFocusFromKeyboard() const979 bool sipwxComboBox::AcceptsFocusFromKeyboard() const
980 {
981     sip_gilstate_t sipGILState;
982     PyObject *sipMeth;
983 
984     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusFromKeyboard);
985 
986     if (!sipMeth)
987         return  ::wxComboBox::AcceptsFocusFromKeyboard();
988 
989     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
990 
991     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
992 }
993 
AcceptsFocus() const994 bool sipwxComboBox::AcceptsFocus() const
995 {
996     sip_gilstate_t sipGILState;
997     PyObject *sipMeth;
998 
999     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
1000 
1001     if (!sipMeth)
1002         return  ::wxComboBox::AcceptsFocus();
1003 
1004     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1005 
1006     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
1007 }
1008 
TryAfter(::wxEvent & event)1009 bool sipwxComboBox::TryAfter( ::wxEvent& event)
1010 {
1011     sip_gilstate_t sipGILState;
1012     PyObject *sipMeth;
1013 
1014     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,SIP_NULLPTR,sipName_TryAfter);
1015 
1016     if (!sipMeth)
1017         return  ::wxComboBox::TryAfter(event);
1018 
1019     extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
1020 
1021     return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
1022 }
1023 
TryBefore(::wxEvent & event)1024 bool sipwxComboBox::TryBefore( ::wxEvent& event)
1025 {
1026     sip_gilstate_t sipGILState;
1027     PyObject *sipMeth;
1028 
1029     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,SIP_NULLPTR,sipName_TryBefore);
1030 
1031     if (!sipMeth)
1032         return  ::wxComboBox::TryBefore(event);
1033 
1034     extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
1035 
1036     return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
1037 }
1038 
ProcessEvent(::wxEvent & event)1039 bool sipwxComboBox::ProcessEvent( ::wxEvent& event)
1040 {
1041     sip_gilstate_t sipGILState;
1042     PyObject *sipMeth;
1043 
1044     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,SIP_NULLPTR,sipName_ProcessEvent);
1045 
1046     if (!sipMeth)
1047         return  ::wxComboBox::ProcessEvent(event);
1048 
1049     extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
1050 
1051     return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
1052 }
1053 
AddChild(::wxWindowBase * child)1054 void sipwxComboBox::AddChild( ::wxWindowBase*child)
1055 {
1056     sip_gilstate_t sipGILState;
1057     PyObject *sipMeth;
1058 
1059     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,SIP_NULLPTR,sipName_AddChild);
1060 
1061     if (!sipMeth)
1062     {
1063          ::wxComboBox::AddChild(child);
1064         return;
1065     }
1066 
1067     extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
1068 
1069     sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
1070 }
1071 
RemoveChild(::wxWindowBase * child)1072 void sipwxComboBox::RemoveChild( ::wxWindowBase*child)
1073 {
1074     sip_gilstate_t sipGILState;
1075     PyObject *sipMeth;
1076 
1077     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,SIP_NULLPTR,sipName_RemoveChild);
1078 
1079     if (!sipMeth)
1080     {
1081          ::wxComboBox::RemoveChild(child);
1082         return;
1083     }
1084 
1085     extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
1086 
1087     sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
1088 }
1089 
sipProtect_SendDestroyEvent()1090 void sipwxComboBox::sipProtect_SendDestroyEvent()
1091 {
1092      ::wxWindow::SendDestroyEvent();
1093 }
1094 
sipProtectVirt_ProcessEvent(bool sipSelfWasArg,::wxEvent & event)1095 bool sipwxComboBox::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event)
1096 {
1097     return (sipSelfWasArg ?  ::wxComboBox::ProcessEvent(event) : ProcessEvent(event));
1098 }
1099 
sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)1100 void sipwxComboBox::sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)
1101 {
1102     (sipSelfWasArg ?  ::wxComboBox::DoEnable(enable) : DoEnable(enable));
1103 }
1104 
sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int * x,int * y) const1105 void sipwxComboBox::sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int*x,int*y) const
1106 {
1107     (sipSelfWasArg ?  ::wxComboBox::DoGetPosition(x,y) : DoGetPosition(x,y));
1108 }
1109 
sipProtectVirt_DoGetSize(bool sipSelfWasArg,int * width,int * height) const1110 void sipwxComboBox::sipProtectVirt_DoGetSize(bool sipSelfWasArg,int*width,int*height) const
1111 {
1112     (sipSelfWasArg ?  ::wxComboBox::DoGetSize(width,height) : DoGetSize(width,height));
1113 }
1114 
sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int * width,int * height) const1115 void sipwxComboBox::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int*width,int*height) const
1116 {
1117     (sipSelfWasArg ?  ::wxComboBox::DoGetClientSize(width,height) : DoGetClientSize(width,height));
1118 }
1119 
sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const1120  ::wxSize sipwxComboBox::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
1121 {
1122     return (sipSelfWasArg ?  ::wxComboBox::DoGetBestSize() : DoGetBestSize());
1123 }
1124 
sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const1125  ::wxSize sipwxComboBox::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
1126 {
1127     return (sipSelfWasArg ?  ::wxComboBox::DoGetBestClientSize() : DoGetBestClientSize());
1128 }
1129 
sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)1130 void sipwxComboBox::sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)
1131 {
1132     (sipSelfWasArg ?  ::wxComboBox::DoSetSize(x,y,width,height,sizeFlags) : DoSetSize(x,y,width,height,sizeFlags));
1133 }
1134 
sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)1135 void sipwxComboBox::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)
1136 {
1137     (sipSelfWasArg ?  ::wxComboBox::DoSetClientSize(width,height) : DoSetClientSize(width,height));
1138 }
1139 
sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)1140 void sipwxComboBox::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)
1141 {
1142     (sipSelfWasArg ?  ::wxComboBox::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH) : DoSetSizeHints(minW,minH,maxW,maxH,incW,incH));
1143 }
1144 
sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const1145  ::wxSize sipwxComboBox::sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const
1146 {
1147     return (sipSelfWasArg ?  ::wxComboBox::DoGetBorderSize() : DoGetBorderSize());
1148 }
1149 
sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)1150 void sipwxComboBox::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)
1151 {
1152     (sipSelfWasArg ?  ::wxComboBox::DoMoveWindow(x,y,width,height) : DoMoveWindow(x,y,width,height));
1153 }
1154 
sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg,::wxWindowVariant variant)1155 void sipwxComboBox::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
1156 {
1157     (sipSelfWasArg ?  ::wxComboBox::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
1158 }
1159 
sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const1160  ::wxBorder sipwxComboBox::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
1161 {
1162     return (sipSelfWasArg ?  ::wxComboBox::GetDefaultBorder() : GetDefaultBorder());
1163 }
1164 
sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const1165  ::wxBorder sipwxComboBox::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
1166 {
1167     return (sipSelfWasArg ?  ::wxComboBox::GetDefaultBorderForControl() : GetDefaultBorderForControl());
1168 }
1169 
sipProtectVirt_DoFreeze(bool sipSelfWasArg)1170 void sipwxComboBox::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
1171 {
1172     (sipSelfWasArg ?  ::wxComboBox::DoFreeze() : DoFreeze());
1173 }
1174 
sipProtectVirt_DoThaw(bool sipSelfWasArg)1175 void sipwxComboBox::sipProtectVirt_DoThaw(bool sipSelfWasArg)
1176 {
1177     (sipSelfWasArg ?  ::wxComboBox::DoThaw() : DoThaw());
1178 }
1179 
sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)1180 bool sipwxComboBox::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
1181 {
1182     return (sipSelfWasArg ?  ::wxComboBox::HasTransparentBackground() : HasTransparentBackground());
1183 }
1184 
sipProtectVirt_TryBefore(bool sipSelfWasArg,::wxEvent & event)1185 bool sipwxComboBox::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event)
1186 {
1187     return (sipSelfWasArg ?  ::wxComboBox::TryBefore(event) : TryBefore(event));
1188 }
1189 
sipProtectVirt_TryAfter(bool sipSelfWasArg,::wxEvent & event)1190 bool sipwxComboBox::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event)
1191 {
1192     return (sipSelfWasArg ?  ::wxComboBox::TryAfter(event) : TryAfter(event));
1193 }
1194 
1195 
1196 PyDoc_STRVAR(doc_wxComboBox_SendDestroyEvent, "SendDestroyEvent()\n"
1197 "\n"
1198 "Generate wxWindowDestroyEvent for this window.");
1199 
1200 extern "C" {static PyObject *meth_wxComboBox_SendDestroyEvent(PyObject *, PyObject *);}
meth_wxComboBox_SendDestroyEvent(PyObject * sipSelf,PyObject * sipArgs)1201 static PyObject *meth_wxComboBox_SendDestroyEvent(PyObject *sipSelf, PyObject *sipArgs)
1202 {
1203     PyObject *sipParseErr = SIP_NULLPTR;
1204 
1205     {
1206         sipwxComboBox *sipCpp;
1207 
1208         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1209         {
1210             PyErr_Clear();
1211 
1212             Py_BEGIN_ALLOW_THREADS
1213             sipCpp->sipProtect_SendDestroyEvent();
1214             Py_END_ALLOW_THREADS
1215 
1216             if (PyErr_Occurred())
1217                 return 0;
1218 
1219             Py_INCREF(Py_None);
1220             return Py_None;
1221         }
1222     }
1223 
1224     /* Raise an exception if the arguments couldn't be parsed. */
1225     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_SendDestroyEvent, SIP_NULLPTR);
1226 
1227     return SIP_NULLPTR;
1228 }
1229 
1230 
1231 PyDoc_STRVAR(doc_wxComboBox_Create, "Create(parent, id=ID_ANY, value=EmptyString, pos=DefaultPosition, size=DefaultSize, choices=[], style=0, validator=DefaultValidator, name=ComboBoxNameStr) -> bool\n"
1232 "\n"
1233 "Creates the combobox for two-step construction.");
1234 
1235 extern "C" {static PyObject *meth_wxComboBox_Create(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_Create(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1236 static PyObject *meth_wxComboBox_Create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1237 {
1238     PyObject *sipParseErr = SIP_NULLPTR;
1239 
1240     {
1241          ::wxWindow* parent;
1242          ::wxWindowID id = wxID_ANY;
1243         const  ::wxString& valuedef = wxEmptyString;
1244         const  ::wxString* value = &valuedef;
1245         int valueState = 0;
1246         const  ::wxPoint& posdef = wxDefaultPosition;
1247         const  ::wxPoint* pos = &posdef;
1248         int posState = 0;
1249         const  ::wxSize& sizedef = wxDefaultSize;
1250         const  ::wxSize* size = &sizedef;
1251         int sizeState = 0;
1252         const  ::wxArrayString& choicesdef = wxArrayString();
1253         const  ::wxArrayString* choices = &choicesdef;
1254         int choicesState = 0;
1255         long style = 0;
1256         const  ::wxValidator& validatordef = wxDefaultValidator;
1257         const  ::wxValidator* validator = &validatordef;
1258         const  ::wxString& namedef = wxComboBoxNameStr;
1259         const  ::wxString* name = &namedef;
1260         int nameState = 0;
1261         sipWrapper *sipOwner = SIP_NULLPTR;
1262          ::wxComboBox *sipCpp;
1263 
1264         static const char *sipKwdList[] = {
1265             sipName_parent,
1266             sipName_id,
1267             sipName_value,
1268             sipName_pos,
1269             sipName_size,
1270             sipName_choices,
1271             sipName_style,
1272             sipName_validator,
1273             sipName_name,
1274         };
1275 
1276         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJH|iJ1J1J1J1lJ9J1", &sipSelf, sipType_wxComboBox, &sipCpp, sipType_wxWindow, &parent, &sipOwner, &id, sipType_wxString,&value, &valueState, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, sipType_wxArrayString,&choices, &choicesState, &style, sipType_wxValidator, &validator, sipType_wxString,&name, &nameState))
1277         {
1278             bool sipRes;
1279 
1280             PyErr_Clear();
1281 
1282             Py_BEGIN_ALLOW_THREADS
1283             sipRes = sipCpp->Create(parent,id,*value,*pos,*size,*choices,style,*validator,*name);
1284             Py_END_ALLOW_THREADS
1285 
1286             if (sipOwner)
1287                 sipTransferTo(sipSelf, (PyObject *)sipOwner);
1288             else
1289                 sipTransferBack(sipSelf);
1290             sipReleaseType(const_cast< ::wxString *>(value),sipType_wxString,valueState);
1291             sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
1292             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
1293             sipReleaseType(const_cast< ::wxArrayString *>(choices),sipType_wxArrayString,choicesState);
1294             sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
1295 
1296             if (PyErr_Occurred())
1297                 return 0;
1298 
1299             return PyBool_FromLong(sipRes);
1300         }
1301     }
1302 
1303     /* Raise an exception if the arguments couldn't be parsed. */
1304     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_Create, SIP_NULLPTR);
1305 
1306     return SIP_NULLPTR;
1307 }
1308 
1309 
1310 PyDoc_STRVAR(doc_wxComboBox_GetCurrentSelection, "GetCurrentSelection() -> int\n"
1311 "\n"
1312 "Returns the item being selected right now.");
1313 
1314 extern "C" {static PyObject *meth_wxComboBox_GetCurrentSelection(PyObject *, PyObject *);}
meth_wxComboBox_GetCurrentSelection(PyObject * sipSelf,PyObject * sipArgs)1315 static PyObject *meth_wxComboBox_GetCurrentSelection(PyObject *sipSelf, PyObject *sipArgs)
1316 {
1317     PyObject *sipParseErr = SIP_NULLPTR;
1318 
1319     {
1320         const  ::wxComboBox *sipCpp;
1321 
1322         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1323         {
1324             int sipRes;
1325 
1326             PyErr_Clear();
1327 
1328             Py_BEGIN_ALLOW_THREADS
1329             sipRes = sipCpp->GetCurrentSelection();
1330             Py_END_ALLOW_THREADS
1331 
1332             if (PyErr_Occurred())
1333                 return 0;
1334 
1335             return SIPLong_FromLong(sipRes);
1336         }
1337     }
1338 
1339     /* Raise an exception if the arguments couldn't be parsed. */
1340     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetCurrentSelection, SIP_NULLPTR);
1341 
1342     return SIP_NULLPTR;
1343 }
1344 
1345 
1346 PyDoc_STRVAR(doc_wxComboBox_GetInsertionPoint, "GetInsertionPoint() -> long\n"
1347 "\n"
1348 "Same as wxTextEntry::GetInsertionPoint().");
1349 
1350 extern "C" {static PyObject *meth_wxComboBox_GetInsertionPoint(PyObject *, PyObject *);}
meth_wxComboBox_GetInsertionPoint(PyObject * sipSelf,PyObject * sipArgs)1351 static PyObject *meth_wxComboBox_GetInsertionPoint(PyObject *sipSelf, PyObject *sipArgs)
1352 {
1353     PyObject *sipParseErr = SIP_NULLPTR;
1354 
1355     {
1356         const  ::wxComboBox *sipCpp;
1357 
1358         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1359         {
1360             long sipRes;
1361 
1362             PyErr_Clear();
1363 
1364             Py_BEGIN_ALLOW_THREADS
1365             sipRes = sipCpp->GetInsertionPoint();
1366             Py_END_ALLOW_THREADS
1367 
1368             if (PyErr_Occurred())
1369                 return 0;
1370 
1371             return PyLong_FromLong(sipRes);
1372         }
1373     }
1374 
1375     /* Raise an exception if the arguments couldn't be parsed. */
1376     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetInsertionPoint, SIP_NULLPTR);
1377 
1378     return SIP_NULLPTR;
1379 }
1380 
1381 
1382 PyDoc_STRVAR(doc_wxComboBox_IsListEmpty, "IsListEmpty() -> bool\n"
1383 "\n"
1384 "Returns true if the list of combobox choices is empty.");
1385 
1386 extern "C" {static PyObject *meth_wxComboBox_IsListEmpty(PyObject *, PyObject *);}
meth_wxComboBox_IsListEmpty(PyObject * sipSelf,PyObject * sipArgs)1387 static PyObject *meth_wxComboBox_IsListEmpty(PyObject *sipSelf, PyObject *sipArgs)
1388 {
1389     PyObject *sipParseErr = SIP_NULLPTR;
1390 
1391     {
1392         const  ::wxComboBox *sipCpp;
1393 
1394         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1395         {
1396             bool sipRes;
1397 
1398             PyErr_Clear();
1399 
1400             Py_BEGIN_ALLOW_THREADS
1401             sipRes = sipCpp->IsListEmpty();
1402             Py_END_ALLOW_THREADS
1403 
1404             if (PyErr_Occurred())
1405                 return 0;
1406 
1407             return PyBool_FromLong(sipRes);
1408         }
1409     }
1410 
1411     /* Raise an exception if the arguments couldn't be parsed. */
1412     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_IsListEmpty, SIP_NULLPTR);
1413 
1414     return SIP_NULLPTR;
1415 }
1416 
1417 
1418 PyDoc_STRVAR(doc_wxComboBox_IsTextEmpty, "IsTextEmpty() -> bool\n"
1419 "\n"
1420 "Returns true if the text of the combobox is empty.");
1421 
1422 extern "C" {static PyObject *meth_wxComboBox_IsTextEmpty(PyObject *, PyObject *);}
meth_wxComboBox_IsTextEmpty(PyObject * sipSelf,PyObject * sipArgs)1423 static PyObject *meth_wxComboBox_IsTextEmpty(PyObject *sipSelf, PyObject *sipArgs)
1424 {
1425     PyObject *sipParseErr = SIP_NULLPTR;
1426 
1427     {
1428         const  ::wxComboBox *sipCpp;
1429 
1430         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1431         {
1432             bool sipRes;
1433 
1434             PyErr_Clear();
1435 
1436             Py_BEGIN_ALLOW_THREADS
1437             sipRes = sipCpp->IsTextEmpty();
1438             Py_END_ALLOW_THREADS
1439 
1440             if (PyErr_Occurred())
1441                 return 0;
1442 
1443             return PyBool_FromLong(sipRes);
1444         }
1445     }
1446 
1447     /* Raise an exception if the arguments couldn't be parsed. */
1448     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_IsTextEmpty, SIP_NULLPTR);
1449 
1450     return SIP_NULLPTR;
1451 }
1452 
1453 
1454 PyDoc_STRVAR(doc_wxComboBox_SetSelection, "SetSelection(from_, to_)\n"
1455 "SetSelection(n)\n"
1456 "\n"
1457 "Same as wxTextEntry::SetSelection().\n"
1458 "");
1459 
1460 extern "C" {static PyObject *meth_wxComboBox_SetSelection(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_SetSelection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1461 static PyObject *meth_wxComboBox_SetSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1462 {
1463     PyObject *sipParseErr = SIP_NULLPTR;
1464     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1465 
1466     {
1467         long from_;
1468         long to_;
1469          ::wxComboBox *sipCpp;
1470 
1471         static const char *sipKwdList[] = {
1472             sipName_from_,
1473             sipName_to_,
1474         };
1475 
1476         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bll", &sipSelf, sipType_wxComboBox, &sipCpp, &from_, &to_))
1477         {
1478             PyErr_Clear();
1479 
1480             Py_BEGIN_ALLOW_THREADS
1481             sipCpp->SetSelection(from_,to_);
1482             Py_END_ALLOW_THREADS
1483 
1484             if (PyErr_Occurred())
1485                 return 0;
1486 
1487             Py_INCREF(Py_None);
1488             return Py_None;
1489         }
1490     }
1491 
1492     {
1493         int n;
1494          ::wxComboBox *sipCpp;
1495 
1496         static const char *sipKwdList[] = {
1497             sipName_n,
1498         };
1499 
1500         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxComboBox, &sipCpp, &n))
1501         {
1502             PyErr_Clear();
1503 
1504             Py_BEGIN_ALLOW_THREADS
1505             (sipSelfWasArg ? sipCpp-> ::wxComboBox::SetSelection(n) : sipCpp->SetSelection(n));
1506             Py_END_ALLOW_THREADS
1507 
1508             if (PyErr_Occurred())
1509                 return 0;
1510 
1511             Py_INCREF(Py_None);
1512             return Py_None;
1513         }
1514     }
1515 
1516     /* Raise an exception if the arguments couldn't be parsed. */
1517     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_SetSelection, SIP_NULLPTR);
1518 
1519     return SIP_NULLPTR;
1520 }
1521 
1522 
1523 PyDoc_STRVAR(doc_wxComboBox_SetTextSelection, "SetTextSelection(from_, to_)\n"
1524 "\n"
1525 "Same as wxTextEntry::SetSelection().");
1526 
1527 extern "C" {static PyObject *meth_wxComboBox_SetTextSelection(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_SetTextSelection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1528 static PyObject *meth_wxComboBox_SetTextSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1529 {
1530     PyObject *sipParseErr = SIP_NULLPTR;
1531 
1532     {
1533         long from_;
1534         long to_;
1535          ::wxComboBox *sipCpp;
1536 
1537         static const char *sipKwdList[] = {
1538             sipName_from_,
1539             sipName_to_,
1540         };
1541 
1542         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bll", &sipSelf, sipType_wxComboBox, &sipCpp, &from_, &to_))
1543         {
1544             int sipIsErr = 0;
1545 
1546         PyErr_Clear();
1547         Py_BEGIN_ALLOW_THREADS
1548         _wxComboBox_SetTextSelection(sipCpp, from_, to_);
1549         Py_END_ALLOW_THREADS
1550         if (PyErr_Occurred()) sipIsErr = 1;
1551 
1552             if (sipIsErr)
1553                 return 0;
1554 
1555             Py_INCREF(Py_None);
1556             return Py_None;
1557         }
1558     }
1559 
1560     /* Raise an exception if the arguments couldn't be parsed. */
1561     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_SetTextSelection, SIP_NULLPTR);
1562 
1563     return SIP_NULLPTR;
1564 }
1565 
1566 
1567 PyDoc_STRVAR(doc_wxComboBox_SetValue, "SetValue(text)\n"
1568 "\n"
1569 "Sets the text for the combobox text field.");
1570 
1571 extern "C" {static PyObject *meth_wxComboBox_SetValue(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_SetValue(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1572 static PyObject *meth_wxComboBox_SetValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1573 {
1574     PyObject *sipParseErr = SIP_NULLPTR;
1575 
1576     {
1577         const  ::wxString* text;
1578         int textState = 0;
1579          ::wxComboBox *sipCpp;
1580 
1581         static const char *sipKwdList[] = {
1582             sipName_text,
1583         };
1584 
1585         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxComboBox, &sipCpp, sipType_wxString,&text, &textState))
1586         {
1587             PyErr_Clear();
1588 
1589             Py_BEGIN_ALLOW_THREADS
1590             sipCpp->SetValue(*text);
1591             Py_END_ALLOW_THREADS
1592             sipReleaseType(const_cast< ::wxString *>(text),sipType_wxString,textState);
1593 
1594             if (PyErr_Occurred())
1595                 return 0;
1596 
1597             Py_INCREF(Py_None);
1598             return Py_None;
1599         }
1600     }
1601 
1602     /* Raise an exception if the arguments couldn't be parsed. */
1603     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_SetValue, SIP_NULLPTR);
1604 
1605     return SIP_NULLPTR;
1606 }
1607 
1608 
1609 PyDoc_STRVAR(doc_wxComboBox_Popup, "Popup()\n"
1610 "\n"
1611 "Shows the list box portion of the combo box.");
1612 
1613 extern "C" {static PyObject *meth_wxComboBox_Popup(PyObject *, PyObject *);}
meth_wxComboBox_Popup(PyObject * sipSelf,PyObject * sipArgs)1614 static PyObject *meth_wxComboBox_Popup(PyObject *sipSelf, PyObject *sipArgs)
1615 {
1616     PyObject *sipParseErr = SIP_NULLPTR;
1617 
1618     {
1619          ::wxComboBox *sipCpp;
1620 
1621         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1622         {
1623             PyErr_Clear();
1624 
1625             Py_BEGIN_ALLOW_THREADS
1626             sipCpp->Popup();
1627             Py_END_ALLOW_THREADS
1628 
1629             if (PyErr_Occurred())
1630                 return 0;
1631 
1632             Py_INCREF(Py_None);
1633             return Py_None;
1634         }
1635     }
1636 
1637     /* Raise an exception if the arguments couldn't be parsed. */
1638     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_Popup, SIP_NULLPTR);
1639 
1640     return SIP_NULLPTR;
1641 }
1642 
1643 
1644 PyDoc_STRVAR(doc_wxComboBox_Dismiss, "Dismiss()\n"
1645 "\n"
1646 "Hides the list box portion of the combo box.");
1647 
1648 extern "C" {static PyObject *meth_wxComboBox_Dismiss(PyObject *, PyObject *);}
meth_wxComboBox_Dismiss(PyObject * sipSelf,PyObject * sipArgs)1649 static PyObject *meth_wxComboBox_Dismiss(PyObject *sipSelf, PyObject *sipArgs)
1650 {
1651     PyObject *sipParseErr = SIP_NULLPTR;
1652 
1653     {
1654          ::wxComboBox *sipCpp;
1655 
1656         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1657         {
1658             PyErr_Clear();
1659 
1660             Py_BEGIN_ALLOW_THREADS
1661             sipCpp->Dismiss();
1662             Py_END_ALLOW_THREADS
1663 
1664             if (PyErr_Occurred())
1665                 return 0;
1666 
1667             Py_INCREF(Py_None);
1668             return Py_None;
1669         }
1670     }
1671 
1672     /* Raise an exception if the arguments couldn't be parsed. */
1673     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_Dismiss, SIP_NULLPTR);
1674 
1675     return SIP_NULLPTR;
1676 }
1677 
1678 
1679 PyDoc_STRVAR(doc_wxComboBox_GetSelection, "GetSelection() -> int\n"
1680 "\n"
1681 "Returns the index of the selected item or wxNOT_FOUND if no item is\n"
1682 "selected.");
1683 
1684 extern "C" {static PyObject *meth_wxComboBox_GetSelection(PyObject *, PyObject *);}
meth_wxComboBox_GetSelection(PyObject * sipSelf,PyObject * sipArgs)1685 static PyObject *meth_wxComboBox_GetSelection(PyObject *sipSelf, PyObject *sipArgs)
1686 {
1687     PyObject *sipParseErr = SIP_NULLPTR;
1688     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1689 
1690     {
1691         const  ::wxComboBox *sipCpp;
1692 
1693         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1694         {
1695             int sipRes;
1696 
1697             PyErr_Clear();
1698 
1699             Py_BEGIN_ALLOW_THREADS
1700             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::GetSelection() : sipCpp->GetSelection());
1701             Py_END_ALLOW_THREADS
1702 
1703             if (PyErr_Occurred())
1704                 return 0;
1705 
1706             return SIPLong_FromLong(sipRes);
1707         }
1708     }
1709 
1710     /* Raise an exception if the arguments couldn't be parsed. */
1711     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetSelection, SIP_NULLPTR);
1712 
1713     return SIP_NULLPTR;
1714 }
1715 
1716 
1717 PyDoc_STRVAR(doc_wxComboBox_GetTextSelection, "GetTextSelection() -> (from, to)\n"
1718 "\n"
1719 "Gets the current selection span.");
1720 
1721 extern "C" {static PyObject *meth_wxComboBox_GetTextSelection(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_GetTextSelection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1722 static PyObject *meth_wxComboBox_GetTextSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1723 {
1724     PyObject *sipParseErr = SIP_NULLPTR;
1725 
1726     {
1727         long from;
1728         long to;
1729         const  ::wxComboBox *sipCpp;
1730 
1731         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1732         {
1733             PyErr_Clear();
1734 
1735             Py_BEGIN_ALLOW_THREADS
1736             sipCpp->GetSelection(&from,&to);
1737             Py_END_ALLOW_THREADS
1738 
1739             if (PyErr_Occurred())
1740                 return 0;
1741 
1742             return sipBuildResult(0,"(ll)",from,to);
1743         }
1744     }
1745 
1746     /* Raise an exception if the arguments couldn't be parsed. */
1747     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetTextSelection, SIP_NULLPTR);
1748 
1749     return SIP_NULLPTR;
1750 }
1751 
1752 
1753 PyDoc_STRVAR(doc_wxComboBox_FindString, "FindString(string, caseSensitive=False) -> int\n"
1754 "\n"
1755 "Finds an item whose label matches the given string.");
1756 
1757 extern "C" {static PyObject *meth_wxComboBox_FindString(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_FindString(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1758 static PyObject *meth_wxComboBox_FindString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1759 {
1760     PyObject *sipParseErr = SIP_NULLPTR;
1761     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1762 
1763     {
1764         const  ::wxString* string;
1765         int stringState = 0;
1766         bool caseSensitive = 0;
1767         const  ::wxComboBox *sipCpp;
1768 
1769         static const char *sipKwdList[] = {
1770             sipName_string,
1771             sipName_caseSensitive,
1772         };
1773 
1774         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1|b", &sipSelf, sipType_wxComboBox, &sipCpp, sipType_wxString,&string, &stringState, &caseSensitive))
1775         {
1776             int sipRes;
1777 
1778             PyErr_Clear();
1779 
1780             Py_BEGIN_ALLOW_THREADS
1781             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::FindString(*string,caseSensitive) : sipCpp->FindString(*string,caseSensitive));
1782             Py_END_ALLOW_THREADS
1783             sipReleaseType(const_cast< ::wxString *>(string),sipType_wxString,stringState);
1784 
1785             if (PyErr_Occurred())
1786                 return 0;
1787 
1788             return SIPLong_FromLong(sipRes);
1789         }
1790     }
1791 
1792     /* Raise an exception if the arguments couldn't be parsed. */
1793     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_FindString, SIP_NULLPTR);
1794 
1795     return SIP_NULLPTR;
1796 }
1797 
1798 
1799 PyDoc_STRVAR(doc_wxComboBox_GetString, "GetString(n) -> String\n"
1800 "\n"
1801 "Returns the label of the item with the given index.");
1802 
1803 extern "C" {static PyObject *meth_wxComboBox_GetString(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_GetString(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1804 static PyObject *meth_wxComboBox_GetString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1805 {
1806     PyObject *sipParseErr = SIP_NULLPTR;
1807     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1808 
1809     {
1810         uint n;
1811         const  ::wxComboBox *sipCpp;
1812 
1813         static const char *sipKwdList[] = {
1814             sipName_n,
1815         };
1816 
1817         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxComboBox, &sipCpp, &n))
1818         {
1819              ::wxString*sipRes;
1820 
1821             PyErr_Clear();
1822 
1823             Py_BEGIN_ALLOW_THREADS
1824             sipRes = new  ::wxString((sipSelfWasArg ? sipCpp-> ::wxComboBox::GetString(n) : sipCpp->GetString(n)));
1825             Py_END_ALLOW_THREADS
1826 
1827             if (PyErr_Occurred())
1828                 return 0;
1829 
1830             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
1831         }
1832     }
1833 
1834     /* Raise an exception if the arguments couldn't be parsed. */
1835     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetString, SIP_NULLPTR);
1836 
1837     return SIP_NULLPTR;
1838 }
1839 
1840 
1841 PyDoc_STRVAR(doc_wxComboBox_GetStringSelection, "GetStringSelection() -> String\n"
1842 "\n"
1843 "Gets the text currently selected in the control.");
1844 
1845 extern "C" {static PyObject *meth_wxComboBox_GetStringSelection(PyObject *, PyObject *);}
meth_wxComboBox_GetStringSelection(PyObject * sipSelf,PyObject * sipArgs)1846 static PyObject *meth_wxComboBox_GetStringSelection(PyObject *sipSelf, PyObject *sipArgs)
1847 {
1848     PyObject *sipParseErr = SIP_NULLPTR;
1849     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1850 
1851     {
1852         const  ::wxComboBox *sipCpp;
1853 
1854         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1855         {
1856              ::wxString*sipRes;
1857 
1858             PyErr_Clear();
1859 
1860             Py_BEGIN_ALLOW_THREADS
1861             sipRes = new  ::wxString((sipSelfWasArg ? sipCpp-> ::wxComboBox::GetStringSelection() : sipCpp->GetStringSelection()));
1862             Py_END_ALLOW_THREADS
1863 
1864             if (PyErr_Occurred())
1865                 return 0;
1866 
1867             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
1868         }
1869     }
1870 
1871     /* Raise an exception if the arguments couldn't be parsed. */
1872     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetStringSelection, SIP_NULLPTR);
1873 
1874     return SIP_NULLPTR;
1875 }
1876 
1877 
1878 PyDoc_STRVAR(doc_wxComboBox_SetString, "SetString(n, text)\n"
1879 "\n"
1880 "Changes the text of the specified combobox item.");
1881 
1882 extern "C" {static PyObject *meth_wxComboBox_SetString(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_SetString(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1883 static PyObject *meth_wxComboBox_SetString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1884 {
1885     PyObject *sipParseErr = SIP_NULLPTR;
1886     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1887 
1888     {
1889         uint n;
1890         const  ::wxString* text;
1891         int textState = 0;
1892          ::wxComboBox *sipCpp;
1893 
1894         static const char *sipKwdList[] = {
1895             sipName_n,
1896             sipName_text,
1897         };
1898 
1899         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BuJ1", &sipSelf, sipType_wxComboBox, &sipCpp, &n, sipType_wxString,&text, &textState))
1900         {
1901             PyErr_Clear();
1902 
1903             Py_BEGIN_ALLOW_THREADS
1904             (sipSelfWasArg ? sipCpp-> ::wxComboBox::SetString(n,*text) : sipCpp->SetString(n,*text));
1905             Py_END_ALLOW_THREADS
1906             sipReleaseType(const_cast< ::wxString *>(text),sipType_wxString,textState);
1907 
1908             if (PyErr_Occurred())
1909                 return 0;
1910 
1911             Py_INCREF(Py_None);
1912             return Py_None;
1913         }
1914     }
1915 
1916     /* Raise an exception if the arguments couldn't be parsed. */
1917     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_SetString, SIP_NULLPTR);
1918 
1919     return SIP_NULLPTR;
1920 }
1921 
1922 
1923 PyDoc_STRVAR(doc_wxComboBox_GetCount, "GetCount() -> unsignedint\n"
1924 "\n"
1925 "Returns the number of items in the control.");
1926 
1927 extern "C" {static PyObject *meth_wxComboBox_GetCount(PyObject *, PyObject *);}
meth_wxComboBox_GetCount(PyObject * sipSelf,PyObject * sipArgs)1928 static PyObject *meth_wxComboBox_GetCount(PyObject *sipSelf, PyObject *sipArgs)
1929 {
1930     PyObject *sipParseErr = SIP_NULLPTR;
1931     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1932 
1933     {
1934         const  ::wxComboBox *sipCpp;
1935 
1936         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1937         {
1938             uint sipRes;
1939 
1940             PyErr_Clear();
1941 
1942             Py_BEGIN_ALLOW_THREADS
1943             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::GetCount() : sipCpp->GetCount());
1944             Py_END_ALLOW_THREADS
1945 
1946             if (PyErr_Occurred())
1947                 return 0;
1948 
1949             return PyLong_FromUnsignedLong(sipRes);
1950         }
1951     }
1952 
1953     /* Raise an exception if the arguments couldn't be parsed. */
1954     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetCount, SIP_NULLPTR);
1955 
1956     return SIP_NULLPTR;
1957 }
1958 
1959 
1960 PyDoc_STRVAR(doc_wxComboBox_GetClientAreaOrigin, "GetClientAreaOrigin(self) -> Point");
1961 
1962 extern "C" {static PyObject *meth_wxComboBox_GetClientAreaOrigin(PyObject *, PyObject *);}
meth_wxComboBox_GetClientAreaOrigin(PyObject * sipSelf,PyObject * sipArgs)1963 static PyObject *meth_wxComboBox_GetClientAreaOrigin(PyObject *sipSelf, PyObject *sipArgs)
1964 {
1965     PyObject *sipParseErr = SIP_NULLPTR;
1966     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1967 
1968     {
1969         const  ::wxComboBox *sipCpp;
1970 
1971         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
1972         {
1973              ::wxPoint*sipRes;
1974 
1975             PyErr_Clear();
1976 
1977             Py_BEGIN_ALLOW_THREADS
1978             sipRes = new  ::wxPoint((sipSelfWasArg ? sipCpp-> ::wxComboBox::GetClientAreaOrigin() : sipCpp->GetClientAreaOrigin()));
1979             Py_END_ALLOW_THREADS
1980 
1981             if (PyErr_Occurred())
1982                 return 0;
1983 
1984             return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
1985         }
1986     }
1987 
1988     /* Raise an exception if the arguments couldn't be parsed. */
1989     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetClientAreaOrigin, doc_wxComboBox_GetClientAreaOrigin);
1990 
1991     return SIP_NULLPTR;
1992 }
1993 
1994 
1995 PyDoc_STRVAR(doc_wxComboBox_Validate, "Validate(self) -> bool");
1996 
1997 extern "C" {static PyObject *meth_wxComboBox_Validate(PyObject *, PyObject *);}
meth_wxComboBox_Validate(PyObject * sipSelf,PyObject * sipArgs)1998 static PyObject *meth_wxComboBox_Validate(PyObject *sipSelf, PyObject *sipArgs)
1999 {
2000     PyObject *sipParseErr = SIP_NULLPTR;
2001     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2002 
2003     {
2004          ::wxComboBox *sipCpp;
2005 
2006         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2007         {
2008             bool sipRes;
2009 
2010             PyErr_Clear();
2011 
2012             Py_BEGIN_ALLOW_THREADS
2013             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::Validate() : sipCpp->Validate());
2014             Py_END_ALLOW_THREADS
2015 
2016             if (PyErr_Occurred())
2017                 return 0;
2018 
2019             return PyBool_FromLong(sipRes);
2020         }
2021     }
2022 
2023     /* Raise an exception if the arguments couldn't be parsed. */
2024     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_Validate, doc_wxComboBox_Validate);
2025 
2026     return SIP_NULLPTR;
2027 }
2028 
2029 
2030 PyDoc_STRVAR(doc_wxComboBox_TransferDataToWindow, "TransferDataToWindow(self) -> bool");
2031 
2032 extern "C" {static PyObject *meth_wxComboBox_TransferDataToWindow(PyObject *, PyObject *);}
meth_wxComboBox_TransferDataToWindow(PyObject * sipSelf,PyObject * sipArgs)2033 static PyObject *meth_wxComboBox_TransferDataToWindow(PyObject *sipSelf, PyObject *sipArgs)
2034 {
2035     PyObject *sipParseErr = SIP_NULLPTR;
2036     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2037 
2038     {
2039          ::wxComboBox *sipCpp;
2040 
2041         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2042         {
2043             bool sipRes;
2044 
2045             PyErr_Clear();
2046 
2047             Py_BEGIN_ALLOW_THREADS
2048             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::TransferDataToWindow() : sipCpp->TransferDataToWindow());
2049             Py_END_ALLOW_THREADS
2050 
2051             if (PyErr_Occurred())
2052                 return 0;
2053 
2054             return PyBool_FromLong(sipRes);
2055         }
2056     }
2057 
2058     /* Raise an exception if the arguments couldn't be parsed. */
2059     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_TransferDataToWindow, doc_wxComboBox_TransferDataToWindow);
2060 
2061     return SIP_NULLPTR;
2062 }
2063 
2064 
2065 PyDoc_STRVAR(doc_wxComboBox_TransferDataFromWindow, "TransferDataFromWindow(self) -> bool");
2066 
2067 extern "C" {static PyObject *meth_wxComboBox_TransferDataFromWindow(PyObject *, PyObject *);}
meth_wxComboBox_TransferDataFromWindow(PyObject * sipSelf,PyObject * sipArgs)2068 static PyObject *meth_wxComboBox_TransferDataFromWindow(PyObject *sipSelf, PyObject *sipArgs)
2069 {
2070     PyObject *sipParseErr = SIP_NULLPTR;
2071     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2072 
2073     {
2074          ::wxComboBox *sipCpp;
2075 
2076         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2077         {
2078             bool sipRes;
2079 
2080             PyErr_Clear();
2081 
2082             Py_BEGIN_ALLOW_THREADS
2083             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::TransferDataFromWindow() : sipCpp->TransferDataFromWindow());
2084             Py_END_ALLOW_THREADS
2085 
2086             if (PyErr_Occurred())
2087                 return 0;
2088 
2089             return PyBool_FromLong(sipRes);
2090         }
2091     }
2092 
2093     /* Raise an exception if the arguments couldn't be parsed. */
2094     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_TransferDataFromWindow, doc_wxComboBox_TransferDataFromWindow);
2095 
2096     return SIP_NULLPTR;
2097 }
2098 
2099 
2100 PyDoc_STRVAR(doc_wxComboBox_InitDialog, "InitDialog(self)");
2101 
2102 extern "C" {static PyObject *meth_wxComboBox_InitDialog(PyObject *, PyObject *);}
meth_wxComboBox_InitDialog(PyObject * sipSelf,PyObject * sipArgs)2103 static PyObject *meth_wxComboBox_InitDialog(PyObject *sipSelf, PyObject *sipArgs)
2104 {
2105     PyObject *sipParseErr = SIP_NULLPTR;
2106     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2107 
2108     {
2109          ::wxComboBox *sipCpp;
2110 
2111         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2112         {
2113             PyErr_Clear();
2114 
2115             Py_BEGIN_ALLOW_THREADS
2116             (sipSelfWasArg ? sipCpp-> ::wxComboBox::InitDialog() : sipCpp->InitDialog());
2117             Py_END_ALLOW_THREADS
2118 
2119             if (PyErr_Occurred())
2120                 return 0;
2121 
2122             Py_INCREF(Py_None);
2123             return Py_None;
2124         }
2125     }
2126 
2127     /* Raise an exception if the arguments couldn't be parsed. */
2128     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_InitDialog, doc_wxComboBox_InitDialog);
2129 
2130     return SIP_NULLPTR;
2131 }
2132 
2133 
2134 PyDoc_STRVAR(doc_wxComboBox_AcceptsFocus, "AcceptsFocus(self) -> bool");
2135 
2136 extern "C" {static PyObject *meth_wxComboBox_AcceptsFocus(PyObject *, PyObject *);}
meth_wxComboBox_AcceptsFocus(PyObject * sipSelf,PyObject * sipArgs)2137 static PyObject *meth_wxComboBox_AcceptsFocus(PyObject *sipSelf, PyObject *sipArgs)
2138 {
2139     PyObject *sipParseErr = SIP_NULLPTR;
2140     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2141 
2142     {
2143         const  ::wxComboBox *sipCpp;
2144 
2145         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2146         {
2147             bool sipRes;
2148 
2149             PyErr_Clear();
2150 
2151             Py_BEGIN_ALLOW_THREADS
2152             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::AcceptsFocus() : sipCpp->AcceptsFocus());
2153             Py_END_ALLOW_THREADS
2154 
2155             if (PyErr_Occurred())
2156                 return 0;
2157 
2158             return PyBool_FromLong(sipRes);
2159         }
2160     }
2161 
2162     /* Raise an exception if the arguments couldn't be parsed. */
2163     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_AcceptsFocus, doc_wxComboBox_AcceptsFocus);
2164 
2165     return SIP_NULLPTR;
2166 }
2167 
2168 
2169 PyDoc_STRVAR(doc_wxComboBox_AcceptsFocusRecursively, "AcceptsFocusRecursively(self) -> bool");
2170 
2171 extern "C" {static PyObject *meth_wxComboBox_AcceptsFocusRecursively(PyObject *, PyObject *);}
meth_wxComboBox_AcceptsFocusRecursively(PyObject * sipSelf,PyObject * sipArgs)2172 static PyObject *meth_wxComboBox_AcceptsFocusRecursively(PyObject *sipSelf, PyObject *sipArgs)
2173 {
2174     PyObject *sipParseErr = SIP_NULLPTR;
2175     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2176 
2177     {
2178         const  ::wxComboBox *sipCpp;
2179 
2180         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2181         {
2182             bool sipRes;
2183 
2184             PyErr_Clear();
2185 
2186             Py_BEGIN_ALLOW_THREADS
2187             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::AcceptsFocusRecursively() : sipCpp->AcceptsFocusRecursively());
2188             Py_END_ALLOW_THREADS
2189 
2190             if (PyErr_Occurred())
2191                 return 0;
2192 
2193             return PyBool_FromLong(sipRes);
2194         }
2195     }
2196 
2197     /* Raise an exception if the arguments couldn't be parsed. */
2198     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_AcceptsFocusRecursively, doc_wxComboBox_AcceptsFocusRecursively);
2199 
2200     return SIP_NULLPTR;
2201 }
2202 
2203 
2204 PyDoc_STRVAR(doc_wxComboBox_AcceptsFocusFromKeyboard, "AcceptsFocusFromKeyboard(self) -> bool");
2205 
2206 extern "C" {static PyObject *meth_wxComboBox_AcceptsFocusFromKeyboard(PyObject *, PyObject *);}
meth_wxComboBox_AcceptsFocusFromKeyboard(PyObject * sipSelf,PyObject * sipArgs)2207 static PyObject *meth_wxComboBox_AcceptsFocusFromKeyboard(PyObject *sipSelf, PyObject *sipArgs)
2208 {
2209     PyObject *sipParseErr = SIP_NULLPTR;
2210     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2211 
2212     {
2213         const  ::wxComboBox *sipCpp;
2214 
2215         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2216         {
2217             bool sipRes;
2218 
2219             PyErr_Clear();
2220 
2221             Py_BEGIN_ALLOW_THREADS
2222             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::AcceptsFocusFromKeyboard() : sipCpp->AcceptsFocusFromKeyboard());
2223             Py_END_ALLOW_THREADS
2224 
2225             if (PyErr_Occurred())
2226                 return 0;
2227 
2228             return PyBool_FromLong(sipRes);
2229         }
2230     }
2231 
2232     /* Raise an exception if the arguments couldn't be parsed. */
2233     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_AcceptsFocusFromKeyboard, doc_wxComboBox_AcceptsFocusFromKeyboard);
2234 
2235     return SIP_NULLPTR;
2236 }
2237 
2238 
2239 PyDoc_STRVAR(doc_wxComboBox_AddChild, "AddChild(self, child: WindowBase)");
2240 
2241 extern "C" {static PyObject *meth_wxComboBox_AddChild(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_AddChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2242 static PyObject *meth_wxComboBox_AddChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2243 {
2244     PyObject *sipParseErr = SIP_NULLPTR;
2245     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2246 
2247     {
2248          ::wxWindowBase* child;
2249          ::wxComboBox *sipCpp;
2250 
2251         static const char *sipKwdList[] = {
2252             sipName_child,
2253         };
2254 
2255         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxComboBox, &sipCpp, sipType_wxWindowBase, &child))
2256         {
2257             PyErr_Clear();
2258 
2259             Py_BEGIN_ALLOW_THREADS
2260             (sipSelfWasArg ? sipCpp-> ::wxComboBox::AddChild(child) : sipCpp->AddChild(child));
2261             Py_END_ALLOW_THREADS
2262 
2263             if (PyErr_Occurred())
2264                 return 0;
2265 
2266             Py_INCREF(Py_None);
2267             return Py_None;
2268         }
2269     }
2270 
2271     /* Raise an exception if the arguments couldn't be parsed. */
2272     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_AddChild, doc_wxComboBox_AddChild);
2273 
2274     return SIP_NULLPTR;
2275 }
2276 
2277 
2278 PyDoc_STRVAR(doc_wxComboBox_RemoveChild, "RemoveChild(self, child: WindowBase)");
2279 
2280 extern "C" {static PyObject *meth_wxComboBox_RemoveChild(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_RemoveChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2281 static PyObject *meth_wxComboBox_RemoveChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2282 {
2283     PyObject *sipParseErr = SIP_NULLPTR;
2284     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2285 
2286     {
2287          ::wxWindowBase* child;
2288          ::wxComboBox *sipCpp;
2289 
2290         static const char *sipKwdList[] = {
2291             sipName_child,
2292         };
2293 
2294         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxComboBox, &sipCpp, sipType_wxWindowBase, &child))
2295         {
2296             PyErr_Clear();
2297 
2298             Py_BEGIN_ALLOW_THREADS
2299             (sipSelfWasArg ? sipCpp-> ::wxComboBox::RemoveChild(child) : sipCpp->RemoveChild(child));
2300             Py_END_ALLOW_THREADS
2301 
2302             if (PyErr_Occurred())
2303                 return 0;
2304 
2305             Py_INCREF(Py_None);
2306             return Py_None;
2307         }
2308     }
2309 
2310     /* Raise an exception if the arguments couldn't be parsed. */
2311     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_RemoveChild, doc_wxComboBox_RemoveChild);
2312 
2313     return SIP_NULLPTR;
2314 }
2315 
2316 
2317 PyDoc_STRVAR(doc_wxComboBox_InheritAttributes, "InheritAttributes(self)");
2318 
2319 extern "C" {static PyObject *meth_wxComboBox_InheritAttributes(PyObject *, PyObject *);}
meth_wxComboBox_InheritAttributes(PyObject * sipSelf,PyObject * sipArgs)2320 static PyObject *meth_wxComboBox_InheritAttributes(PyObject *sipSelf, PyObject *sipArgs)
2321 {
2322     PyObject *sipParseErr = SIP_NULLPTR;
2323     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2324 
2325     {
2326          ::wxComboBox *sipCpp;
2327 
2328         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2329         {
2330             PyErr_Clear();
2331 
2332             Py_BEGIN_ALLOW_THREADS
2333             (sipSelfWasArg ? sipCpp-> ::wxComboBox::InheritAttributes() : sipCpp->InheritAttributes());
2334             Py_END_ALLOW_THREADS
2335 
2336             if (PyErr_Occurred())
2337                 return 0;
2338 
2339             Py_INCREF(Py_None);
2340             return Py_None;
2341         }
2342     }
2343 
2344     /* Raise an exception if the arguments couldn't be parsed. */
2345     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_InheritAttributes, doc_wxComboBox_InheritAttributes);
2346 
2347     return SIP_NULLPTR;
2348 }
2349 
2350 
2351 PyDoc_STRVAR(doc_wxComboBox_ShouldInheritColours, "ShouldInheritColours(self) -> bool");
2352 
2353 extern "C" {static PyObject *meth_wxComboBox_ShouldInheritColours(PyObject *, PyObject *);}
meth_wxComboBox_ShouldInheritColours(PyObject * sipSelf,PyObject * sipArgs)2354 static PyObject *meth_wxComboBox_ShouldInheritColours(PyObject *sipSelf, PyObject *sipArgs)
2355 {
2356     PyObject *sipParseErr = SIP_NULLPTR;
2357     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2358 
2359     {
2360         const  ::wxComboBox *sipCpp;
2361 
2362         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2363         {
2364             bool sipRes;
2365 
2366             PyErr_Clear();
2367 
2368             Py_BEGIN_ALLOW_THREADS
2369             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::ShouldInheritColours() : sipCpp->ShouldInheritColours());
2370             Py_END_ALLOW_THREADS
2371 
2372             if (PyErr_Occurred())
2373                 return 0;
2374 
2375             return PyBool_FromLong(sipRes);
2376         }
2377     }
2378 
2379     /* Raise an exception if the arguments couldn't be parsed. */
2380     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_ShouldInheritColours, doc_wxComboBox_ShouldInheritColours);
2381 
2382     return SIP_NULLPTR;
2383 }
2384 
2385 
2386 PyDoc_STRVAR(doc_wxComboBox_OnInternalIdle, "OnInternalIdle(self)");
2387 
2388 extern "C" {static PyObject *meth_wxComboBox_OnInternalIdle(PyObject *, PyObject *);}
meth_wxComboBox_OnInternalIdle(PyObject * sipSelf,PyObject * sipArgs)2389 static PyObject *meth_wxComboBox_OnInternalIdle(PyObject *sipSelf, PyObject *sipArgs)
2390 {
2391     PyObject *sipParseErr = SIP_NULLPTR;
2392     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2393 
2394     {
2395          ::wxComboBox *sipCpp;
2396 
2397         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2398         {
2399             PyErr_Clear();
2400 
2401             Py_BEGIN_ALLOW_THREADS
2402             (sipSelfWasArg ? sipCpp-> ::wxComboBox::OnInternalIdle() : sipCpp->OnInternalIdle());
2403             Py_END_ALLOW_THREADS
2404 
2405             if (PyErr_Occurred())
2406                 return 0;
2407 
2408             Py_INCREF(Py_None);
2409             return Py_None;
2410         }
2411     }
2412 
2413     /* Raise an exception if the arguments couldn't be parsed. */
2414     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_OnInternalIdle, doc_wxComboBox_OnInternalIdle);
2415 
2416     return SIP_NULLPTR;
2417 }
2418 
2419 
2420 PyDoc_STRVAR(doc_wxComboBox_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Window");
2421 
2422 extern "C" {static PyObject *meth_wxComboBox_GetMainWindowOfCompositeControl(PyObject *, PyObject *);}
meth_wxComboBox_GetMainWindowOfCompositeControl(PyObject * sipSelf,PyObject * sipArgs)2423 static PyObject *meth_wxComboBox_GetMainWindowOfCompositeControl(PyObject *sipSelf, PyObject *sipArgs)
2424 {
2425     PyObject *sipParseErr = SIP_NULLPTR;
2426     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2427 
2428     {
2429          ::wxComboBox *sipCpp;
2430 
2431         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2432         {
2433              ::wxWindow*sipRes;
2434 
2435             PyErr_Clear();
2436 
2437             Py_BEGIN_ALLOW_THREADS
2438             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::GetMainWindowOfCompositeControl() : sipCpp->GetMainWindowOfCompositeControl());
2439             Py_END_ALLOW_THREADS
2440 
2441             if (PyErr_Occurred())
2442                 return 0;
2443 
2444             return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
2445         }
2446     }
2447 
2448     /* Raise an exception if the arguments couldn't be parsed. */
2449     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetMainWindowOfCompositeControl, doc_wxComboBox_GetMainWindowOfCompositeControl);
2450 
2451     return SIP_NULLPTR;
2452 }
2453 
2454 
2455 PyDoc_STRVAR(doc_wxComboBox_InformFirstDirection, "InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool");
2456 
2457 extern "C" {static PyObject *meth_wxComboBox_InformFirstDirection(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_InformFirstDirection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2458 static PyObject *meth_wxComboBox_InformFirstDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2459 {
2460     PyObject *sipParseErr = SIP_NULLPTR;
2461     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2462 
2463     {
2464         int direction;
2465         int size;
2466         int availableOtherDir;
2467          ::wxComboBox *sipCpp;
2468 
2469         static const char *sipKwdList[] = {
2470             sipName_direction,
2471             sipName_size,
2472             sipName_availableOtherDir,
2473         };
2474 
2475         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxComboBox, &sipCpp, &direction, &size, &availableOtherDir))
2476         {
2477             bool sipRes;
2478 
2479             PyErr_Clear();
2480 
2481             Py_BEGIN_ALLOW_THREADS
2482             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::InformFirstDirection(direction,size,availableOtherDir) : sipCpp->InformFirstDirection(direction,size,availableOtherDir));
2483             Py_END_ALLOW_THREADS
2484 
2485             if (PyErr_Occurred())
2486                 return 0;
2487 
2488             return PyBool_FromLong(sipRes);
2489         }
2490     }
2491 
2492     /* Raise an exception if the arguments couldn't be parsed. */
2493     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_InformFirstDirection, doc_wxComboBox_InformFirstDirection);
2494 
2495     return SIP_NULLPTR;
2496 }
2497 
2498 
2499 PyDoc_STRVAR(doc_wxComboBox_SetCanFocus, "SetCanFocus(self, canFocus: bool)");
2500 
2501 extern "C" {static PyObject *meth_wxComboBox_SetCanFocus(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_SetCanFocus(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2502 static PyObject *meth_wxComboBox_SetCanFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2503 {
2504     PyObject *sipParseErr = SIP_NULLPTR;
2505     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2506 
2507     {
2508         bool canFocus;
2509          ::wxComboBox *sipCpp;
2510 
2511         static const char *sipKwdList[] = {
2512             sipName_canFocus,
2513         };
2514 
2515         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxComboBox, &sipCpp, &canFocus))
2516         {
2517             PyErr_Clear();
2518 
2519             Py_BEGIN_ALLOW_THREADS
2520             (sipSelfWasArg ? sipCpp-> ::wxComboBox::SetCanFocus(canFocus) : sipCpp->SetCanFocus(canFocus));
2521             Py_END_ALLOW_THREADS
2522 
2523             if (PyErr_Occurred())
2524                 return 0;
2525 
2526             Py_INCREF(Py_None);
2527             return Py_None;
2528         }
2529     }
2530 
2531     /* Raise an exception if the arguments couldn't be parsed. */
2532     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_SetCanFocus, doc_wxComboBox_SetCanFocus);
2533 
2534     return SIP_NULLPTR;
2535 }
2536 
2537 
2538 PyDoc_STRVAR(doc_wxComboBox_Destroy, "Destroy(self) -> bool");
2539 
2540 extern "C" {static PyObject *meth_wxComboBox_Destroy(PyObject *, PyObject *);}
meth_wxComboBox_Destroy(PyObject * sipSelf,PyObject * sipArgs)2541 static PyObject *meth_wxComboBox_Destroy(PyObject *sipSelf, PyObject *sipArgs)
2542 {
2543     PyObject *sipParseErr = SIP_NULLPTR;
2544     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2545 
2546     {
2547          ::wxComboBox *sipCpp;
2548 
2549         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2550         {
2551             bool sipRes;
2552 
2553             PyErr_Clear();
2554 
2555             Py_BEGIN_ALLOW_THREADS
2556             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::Destroy() : sipCpp->Destroy());
2557             Py_END_ALLOW_THREADS
2558 
2559             if (PyErr_Occurred())
2560                 return 0;
2561 
2562             return PyBool_FromLong(sipRes);
2563         }
2564     }
2565 
2566     /* Raise an exception if the arguments couldn't be parsed. */
2567     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_Destroy, doc_wxComboBox_Destroy);
2568 
2569     return SIP_NULLPTR;
2570 }
2571 
2572 
2573 PyDoc_STRVAR(doc_wxComboBox_SetValidator, "SetValidator(self, validator: Validator)");
2574 
2575 extern "C" {static PyObject *meth_wxComboBox_SetValidator(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_SetValidator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2576 static PyObject *meth_wxComboBox_SetValidator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2577 {
2578     PyObject *sipParseErr = SIP_NULLPTR;
2579     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2580 
2581     {
2582         const  ::wxValidator* validator;
2583          ::wxComboBox *sipCpp;
2584 
2585         static const char *sipKwdList[] = {
2586             sipName_validator,
2587         };
2588 
2589         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxComboBox, &sipCpp, sipType_wxValidator, &validator))
2590         {
2591             PyErr_Clear();
2592 
2593             Py_BEGIN_ALLOW_THREADS
2594             (sipSelfWasArg ? sipCpp-> ::wxComboBox::SetValidator(*validator) : sipCpp->SetValidator(*validator));
2595             Py_END_ALLOW_THREADS
2596 
2597             if (PyErr_Occurred())
2598                 return 0;
2599 
2600             Py_INCREF(Py_None);
2601             return Py_None;
2602         }
2603     }
2604 
2605     /* Raise an exception if the arguments couldn't be parsed. */
2606     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_SetValidator, doc_wxComboBox_SetValidator);
2607 
2608     return SIP_NULLPTR;
2609 }
2610 
2611 
2612 PyDoc_STRVAR(doc_wxComboBox_GetValidator, "GetValidator(self) -> Validator");
2613 
2614 extern "C" {static PyObject *meth_wxComboBox_GetValidator(PyObject *, PyObject *);}
meth_wxComboBox_GetValidator(PyObject * sipSelf,PyObject * sipArgs)2615 static PyObject *meth_wxComboBox_GetValidator(PyObject *sipSelf, PyObject *sipArgs)
2616 {
2617     PyObject *sipParseErr = SIP_NULLPTR;
2618     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2619 
2620     {
2621          ::wxComboBox *sipCpp;
2622 
2623         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2624         {
2625              ::wxValidator*sipRes;
2626 
2627             PyErr_Clear();
2628 
2629             Py_BEGIN_ALLOW_THREADS
2630             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboBox::GetValidator() : sipCpp->GetValidator());
2631             Py_END_ALLOW_THREADS
2632 
2633             if (PyErr_Occurred())
2634                 return 0;
2635 
2636             return sipConvertFromType(sipRes,sipType_wxValidator,SIP_NULLPTR);
2637         }
2638     }
2639 
2640     /* Raise an exception if the arguments couldn't be parsed. */
2641     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetValidator, doc_wxComboBox_GetValidator);
2642 
2643     return SIP_NULLPTR;
2644 }
2645 
2646 
2647 PyDoc_STRVAR(doc_wxComboBox_ProcessEvent, "ProcessEvent(self, event: Event) -> bool");
2648 
2649 extern "C" {static PyObject *meth_wxComboBox_ProcessEvent(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_ProcessEvent(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2650 static PyObject *meth_wxComboBox_ProcessEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2651 {
2652     PyObject *sipParseErr = SIP_NULLPTR;
2653     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2654 
2655     {
2656          ::wxEvent* event;
2657         sipwxComboBox *sipCpp;
2658 
2659         static const char *sipKwdList[] = {
2660             sipName_event,
2661         };
2662 
2663         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxComboBox, &sipCpp, sipType_wxEvent, &event))
2664         {
2665             bool sipRes;
2666 
2667             PyErr_Clear();
2668 
2669             Py_BEGIN_ALLOW_THREADS
2670             sipRes = sipCpp->sipProtectVirt_ProcessEvent(sipSelfWasArg,*event);
2671             Py_END_ALLOW_THREADS
2672 
2673             if (PyErr_Occurred())
2674                 return 0;
2675 
2676             return PyBool_FromLong(sipRes);
2677         }
2678     }
2679 
2680     /* Raise an exception if the arguments couldn't be parsed. */
2681     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_ProcessEvent, doc_wxComboBox_ProcessEvent);
2682 
2683     return SIP_NULLPTR;
2684 }
2685 
2686 
2687 PyDoc_STRVAR(doc_wxComboBox_DoEnable, "DoEnable(self, enable: bool)");
2688 
2689 extern "C" {static PyObject *meth_wxComboBox_DoEnable(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_DoEnable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2690 static PyObject *meth_wxComboBox_DoEnable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2691 {
2692     PyObject *sipParseErr = SIP_NULLPTR;
2693     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2694 
2695     {
2696         bool enable;
2697         sipwxComboBox *sipCpp;
2698 
2699         static const char *sipKwdList[] = {
2700             sipName_enable,
2701         };
2702 
2703         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxComboBox, &sipCpp, &enable))
2704         {
2705             PyErr_Clear();
2706 
2707             Py_BEGIN_ALLOW_THREADS
2708             sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg,enable);
2709             Py_END_ALLOW_THREADS
2710 
2711             if (PyErr_Occurred())
2712                 return 0;
2713 
2714             Py_INCREF(Py_None);
2715             return Py_None;
2716         }
2717     }
2718 
2719     /* Raise an exception if the arguments couldn't be parsed. */
2720     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoEnable, doc_wxComboBox_DoEnable);
2721 
2722     return SIP_NULLPTR;
2723 }
2724 
2725 
2726 PyDoc_STRVAR(doc_wxComboBox_DoGetPosition, "DoGetPosition(self) -> Tuple[int, int]");
2727 
2728 extern "C" {static PyObject *meth_wxComboBox_DoGetPosition(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_DoGetPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2729 static PyObject *meth_wxComboBox_DoGetPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2730 {
2731     PyObject *sipParseErr = SIP_NULLPTR;
2732     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2733 
2734     {
2735         int x;
2736         int y;
2737         const sipwxComboBox *sipCpp;
2738 
2739         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2740         {
2741             PyErr_Clear();
2742 
2743             Py_BEGIN_ALLOW_THREADS
2744             sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg,&x,&y);
2745             Py_END_ALLOW_THREADS
2746 
2747             if (PyErr_Occurred())
2748                 return 0;
2749 
2750             return sipBuildResult(0,"(ii)",x,y);
2751         }
2752     }
2753 
2754     /* Raise an exception if the arguments couldn't be parsed. */
2755     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoGetPosition, doc_wxComboBox_DoGetPosition);
2756 
2757     return SIP_NULLPTR;
2758 }
2759 
2760 
2761 PyDoc_STRVAR(doc_wxComboBox_DoGetSize, "DoGetSize(self) -> Tuple[int, int]");
2762 
2763 extern "C" {static PyObject *meth_wxComboBox_DoGetSize(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_DoGetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2764 static PyObject *meth_wxComboBox_DoGetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2765 {
2766     PyObject *sipParseErr = SIP_NULLPTR;
2767     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2768 
2769     {
2770         int width;
2771         int height;
2772         const sipwxComboBox *sipCpp;
2773 
2774         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2775         {
2776             PyErr_Clear();
2777 
2778             Py_BEGIN_ALLOW_THREADS
2779             sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg,&width,&height);
2780             Py_END_ALLOW_THREADS
2781 
2782             if (PyErr_Occurred())
2783                 return 0;
2784 
2785             return sipBuildResult(0,"(ii)",width,height);
2786         }
2787     }
2788 
2789     /* Raise an exception if the arguments couldn't be parsed. */
2790     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoGetSize, doc_wxComboBox_DoGetSize);
2791 
2792     return SIP_NULLPTR;
2793 }
2794 
2795 
2796 PyDoc_STRVAR(doc_wxComboBox_DoGetClientSize, "DoGetClientSize(self) -> Tuple[int, int]");
2797 
2798 extern "C" {static PyObject *meth_wxComboBox_DoGetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_DoGetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2799 static PyObject *meth_wxComboBox_DoGetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2800 {
2801     PyObject *sipParseErr = SIP_NULLPTR;
2802     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2803 
2804     {
2805         int width;
2806         int height;
2807         const sipwxComboBox *sipCpp;
2808 
2809         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2810         {
2811             PyErr_Clear();
2812 
2813             Py_BEGIN_ALLOW_THREADS
2814             sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg,&width,&height);
2815             Py_END_ALLOW_THREADS
2816 
2817             if (PyErr_Occurred())
2818                 return 0;
2819 
2820             return sipBuildResult(0,"(ii)",width,height);
2821         }
2822     }
2823 
2824     /* Raise an exception if the arguments couldn't be parsed. */
2825     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoGetClientSize, doc_wxComboBox_DoGetClientSize);
2826 
2827     return SIP_NULLPTR;
2828 }
2829 
2830 
2831 PyDoc_STRVAR(doc_wxComboBox_DoGetBestSize, "DoGetBestSize(self) -> Size");
2832 
2833 extern "C" {static PyObject *meth_wxComboBox_DoGetBestSize(PyObject *, PyObject *);}
meth_wxComboBox_DoGetBestSize(PyObject * sipSelf,PyObject * sipArgs)2834 static PyObject *meth_wxComboBox_DoGetBestSize(PyObject *sipSelf, PyObject *sipArgs)
2835 {
2836     PyObject *sipParseErr = SIP_NULLPTR;
2837     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2838 
2839     {
2840         const sipwxComboBox *sipCpp;
2841 
2842         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2843         {
2844              ::wxSize*sipRes;
2845 
2846             PyErr_Clear();
2847 
2848             Py_BEGIN_ALLOW_THREADS
2849             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg));
2850             Py_END_ALLOW_THREADS
2851 
2852             if (PyErr_Occurred())
2853                 return 0;
2854 
2855             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2856         }
2857     }
2858 
2859     /* Raise an exception if the arguments couldn't be parsed. */
2860     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoGetBestSize, doc_wxComboBox_DoGetBestSize);
2861 
2862     return SIP_NULLPTR;
2863 }
2864 
2865 
2866 PyDoc_STRVAR(doc_wxComboBox_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size");
2867 
2868 extern "C" {static PyObject *meth_wxComboBox_DoGetBestClientSize(PyObject *, PyObject *);}
meth_wxComboBox_DoGetBestClientSize(PyObject * sipSelf,PyObject * sipArgs)2869 static PyObject *meth_wxComboBox_DoGetBestClientSize(PyObject *sipSelf, PyObject *sipArgs)
2870 {
2871     PyObject *sipParseErr = SIP_NULLPTR;
2872     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2873 
2874     {
2875         const sipwxComboBox *sipCpp;
2876 
2877         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
2878         {
2879              ::wxSize*sipRes;
2880 
2881             PyErr_Clear();
2882 
2883             Py_BEGIN_ALLOW_THREADS
2884             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg));
2885             Py_END_ALLOW_THREADS
2886 
2887             if (PyErr_Occurred())
2888                 return 0;
2889 
2890             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
2891         }
2892     }
2893 
2894     /* Raise an exception if the arguments couldn't be parsed. */
2895     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoGetBestClientSize, doc_wxComboBox_DoGetBestClientSize);
2896 
2897     return SIP_NULLPTR;
2898 }
2899 
2900 
2901 PyDoc_STRVAR(doc_wxComboBox_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)");
2902 
2903 extern "C" {static PyObject *meth_wxComboBox_DoSetSize(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_DoSetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2904 static PyObject *meth_wxComboBox_DoSetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2905 {
2906     PyObject *sipParseErr = SIP_NULLPTR;
2907     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2908 
2909     {
2910         int x;
2911         int y;
2912         int width;
2913         int height;
2914         int sizeFlags;
2915         sipwxComboBox *sipCpp;
2916 
2917         static const char *sipKwdList[] = {
2918             sipName_x,
2919             sipName_y,
2920             sipName_width,
2921             sipName_height,
2922             sipName_sizeFlags,
2923         };
2924 
2925         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType_wxComboBox, &sipCpp, &x, &y, &width, &height, &sizeFlags))
2926         {
2927             PyErr_Clear();
2928 
2929             Py_BEGIN_ALLOW_THREADS
2930             sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg,x,y,width,height,sizeFlags);
2931             Py_END_ALLOW_THREADS
2932 
2933             if (PyErr_Occurred())
2934                 return 0;
2935 
2936             Py_INCREF(Py_None);
2937             return Py_None;
2938         }
2939     }
2940 
2941     /* Raise an exception if the arguments couldn't be parsed. */
2942     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoSetSize, doc_wxComboBox_DoSetSize);
2943 
2944     return SIP_NULLPTR;
2945 }
2946 
2947 
2948 PyDoc_STRVAR(doc_wxComboBox_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)");
2949 
2950 extern "C" {static PyObject *meth_wxComboBox_DoSetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_DoSetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2951 static PyObject *meth_wxComboBox_DoSetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2952 {
2953     PyObject *sipParseErr = SIP_NULLPTR;
2954     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2955 
2956     {
2957         int width;
2958         int height;
2959         sipwxComboBox *sipCpp;
2960 
2961         static const char *sipKwdList[] = {
2962             sipName_width,
2963             sipName_height,
2964         };
2965 
2966         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxComboBox, &sipCpp, &width, &height))
2967         {
2968             PyErr_Clear();
2969 
2970             Py_BEGIN_ALLOW_THREADS
2971             sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg,width,height);
2972             Py_END_ALLOW_THREADS
2973 
2974             if (PyErr_Occurred())
2975                 return 0;
2976 
2977             Py_INCREF(Py_None);
2978             return Py_None;
2979         }
2980     }
2981 
2982     /* Raise an exception if the arguments couldn't be parsed. */
2983     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoSetClientSize, doc_wxComboBox_DoSetClientSize);
2984 
2985     return SIP_NULLPTR;
2986 }
2987 
2988 
2989 PyDoc_STRVAR(doc_wxComboBox_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)");
2990 
2991 extern "C" {static PyObject *meth_wxComboBox_DoSetSizeHints(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_DoSetSizeHints(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2992 static PyObject *meth_wxComboBox_DoSetSizeHints(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2993 {
2994     PyObject *sipParseErr = SIP_NULLPTR;
2995     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2996 
2997     {
2998         int minW;
2999         int minH;
3000         int maxW;
3001         int maxH;
3002         int incW;
3003         int incH;
3004         sipwxComboBox *sipCpp;
3005 
3006         static const char *sipKwdList[] = {
3007             sipName_minW,
3008             sipName_minH,
3009             sipName_maxW,
3010             sipName_maxH,
3011             sipName_incW,
3012             sipName_incH,
3013         };
3014 
3015         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType_wxComboBox, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH))
3016         {
3017             PyErr_Clear();
3018 
3019             Py_BEGIN_ALLOW_THREADS
3020             sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg,minW,minH,maxW,maxH,incW,incH);
3021             Py_END_ALLOW_THREADS
3022 
3023             if (PyErr_Occurred())
3024                 return 0;
3025 
3026             Py_INCREF(Py_None);
3027             return Py_None;
3028         }
3029     }
3030 
3031     /* Raise an exception if the arguments couldn't be parsed. */
3032     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoSetSizeHints, doc_wxComboBox_DoSetSizeHints);
3033 
3034     return SIP_NULLPTR;
3035 }
3036 
3037 
3038 PyDoc_STRVAR(doc_wxComboBox_DoGetBorderSize, "DoGetBorderSize(self) -> Size");
3039 
3040 extern "C" {static PyObject *meth_wxComboBox_DoGetBorderSize(PyObject *, PyObject *);}
meth_wxComboBox_DoGetBorderSize(PyObject * sipSelf,PyObject * sipArgs)3041 static PyObject *meth_wxComboBox_DoGetBorderSize(PyObject *sipSelf, PyObject *sipArgs)
3042 {
3043     PyObject *sipParseErr = SIP_NULLPTR;
3044     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3045 
3046     {
3047         const sipwxComboBox *sipCpp;
3048 
3049         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
3050         {
3051              ::wxSize*sipRes;
3052 
3053             PyErr_Clear();
3054 
3055             Py_BEGIN_ALLOW_THREADS
3056             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBorderSize(sipSelfWasArg));
3057             Py_END_ALLOW_THREADS
3058 
3059             if (PyErr_Occurred())
3060                 return 0;
3061 
3062             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
3063         }
3064     }
3065 
3066     /* Raise an exception if the arguments couldn't be parsed. */
3067     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoGetBorderSize, doc_wxComboBox_DoGetBorderSize);
3068 
3069     return SIP_NULLPTR;
3070 }
3071 
3072 
3073 PyDoc_STRVAR(doc_wxComboBox_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)");
3074 
3075 extern "C" {static PyObject *meth_wxComboBox_DoMoveWindow(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_DoMoveWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3076 static PyObject *meth_wxComboBox_DoMoveWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3077 {
3078     PyObject *sipParseErr = SIP_NULLPTR;
3079     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3080 
3081     {
3082         int x;
3083         int y;
3084         int width;
3085         int height;
3086         sipwxComboBox *sipCpp;
3087 
3088         static const char *sipKwdList[] = {
3089             sipName_x,
3090             sipName_y,
3091             sipName_width,
3092             sipName_height,
3093         };
3094 
3095         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxComboBox, &sipCpp, &x, &y, &width, &height))
3096         {
3097             PyErr_Clear();
3098 
3099             Py_BEGIN_ALLOW_THREADS
3100             sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg,x,y,width,height);
3101             Py_END_ALLOW_THREADS
3102 
3103             if (PyErr_Occurred())
3104                 return 0;
3105 
3106             Py_INCREF(Py_None);
3107             return Py_None;
3108         }
3109     }
3110 
3111     /* Raise an exception if the arguments couldn't be parsed. */
3112     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoMoveWindow, doc_wxComboBox_DoMoveWindow);
3113 
3114     return SIP_NULLPTR;
3115 }
3116 
3117 
3118 PyDoc_STRVAR(doc_wxComboBox_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)");
3119 
3120 extern "C" {static PyObject *meth_wxComboBox_DoSetWindowVariant(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_DoSetWindowVariant(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3121 static PyObject *meth_wxComboBox_DoSetWindowVariant(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3122 {
3123     PyObject *sipParseErr = SIP_NULLPTR;
3124     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3125 
3126     {
3127          ::wxWindowVariant variant;
3128         sipwxComboBox *sipCpp;
3129 
3130         static const char *sipKwdList[] = {
3131             sipName_variant,
3132         };
3133 
3134         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxComboBox, &sipCpp, sipType_wxWindowVariant, &variant))
3135         {
3136             PyErr_Clear();
3137 
3138             Py_BEGIN_ALLOW_THREADS
3139             sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg,variant);
3140             Py_END_ALLOW_THREADS
3141 
3142             if (PyErr_Occurred())
3143                 return 0;
3144 
3145             Py_INCREF(Py_None);
3146             return Py_None;
3147         }
3148     }
3149 
3150     /* Raise an exception if the arguments couldn't be parsed. */
3151     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoSetWindowVariant, doc_wxComboBox_DoSetWindowVariant);
3152 
3153     return SIP_NULLPTR;
3154 }
3155 
3156 
3157 PyDoc_STRVAR(doc_wxComboBox_GetDefaultBorder, "GetDefaultBorder(self) -> Border");
3158 
3159 extern "C" {static PyObject *meth_wxComboBox_GetDefaultBorder(PyObject *, PyObject *);}
meth_wxComboBox_GetDefaultBorder(PyObject * sipSelf,PyObject * sipArgs)3160 static PyObject *meth_wxComboBox_GetDefaultBorder(PyObject *sipSelf, PyObject *sipArgs)
3161 {
3162     PyObject *sipParseErr = SIP_NULLPTR;
3163     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3164 
3165     {
3166         const sipwxComboBox *sipCpp;
3167 
3168         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
3169         {
3170              ::wxBorder sipRes;
3171 
3172             PyErr_Clear();
3173 
3174             Py_BEGIN_ALLOW_THREADS
3175             sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg);
3176             Py_END_ALLOW_THREADS
3177 
3178             if (PyErr_Occurred())
3179                 return 0;
3180 
3181             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
3182         }
3183     }
3184 
3185     /* Raise an exception if the arguments couldn't be parsed. */
3186     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetDefaultBorder, doc_wxComboBox_GetDefaultBorder);
3187 
3188     return SIP_NULLPTR;
3189 }
3190 
3191 
3192 PyDoc_STRVAR(doc_wxComboBox_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border");
3193 
3194 extern "C" {static PyObject *meth_wxComboBox_GetDefaultBorderForControl(PyObject *, PyObject *);}
meth_wxComboBox_GetDefaultBorderForControl(PyObject * sipSelf,PyObject * sipArgs)3195 static PyObject *meth_wxComboBox_GetDefaultBorderForControl(PyObject *sipSelf, PyObject *sipArgs)
3196 {
3197     PyObject *sipParseErr = SIP_NULLPTR;
3198     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3199 
3200     {
3201         const sipwxComboBox *sipCpp;
3202 
3203         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
3204         {
3205              ::wxBorder sipRes;
3206 
3207             PyErr_Clear();
3208 
3209             Py_BEGIN_ALLOW_THREADS
3210             sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg);
3211             Py_END_ALLOW_THREADS
3212 
3213             if (PyErr_Occurred())
3214                 return 0;
3215 
3216             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
3217         }
3218     }
3219 
3220     /* Raise an exception if the arguments couldn't be parsed. */
3221     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetDefaultBorderForControl, doc_wxComboBox_GetDefaultBorderForControl);
3222 
3223     return SIP_NULLPTR;
3224 }
3225 
3226 
3227 PyDoc_STRVAR(doc_wxComboBox_DoFreeze, "DoFreeze(self)");
3228 
3229 extern "C" {static PyObject *meth_wxComboBox_DoFreeze(PyObject *, PyObject *);}
meth_wxComboBox_DoFreeze(PyObject * sipSelf,PyObject * sipArgs)3230 static PyObject *meth_wxComboBox_DoFreeze(PyObject *sipSelf, PyObject *sipArgs)
3231 {
3232     PyObject *sipParseErr = SIP_NULLPTR;
3233     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3234 
3235     {
3236         sipwxComboBox *sipCpp;
3237 
3238         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
3239         {
3240             PyErr_Clear();
3241 
3242             Py_BEGIN_ALLOW_THREADS
3243             sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg);
3244             Py_END_ALLOW_THREADS
3245 
3246             if (PyErr_Occurred())
3247                 return 0;
3248 
3249             Py_INCREF(Py_None);
3250             return Py_None;
3251         }
3252     }
3253 
3254     /* Raise an exception if the arguments couldn't be parsed. */
3255     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoFreeze, doc_wxComboBox_DoFreeze);
3256 
3257     return SIP_NULLPTR;
3258 }
3259 
3260 
3261 PyDoc_STRVAR(doc_wxComboBox_DoThaw, "DoThaw(self)");
3262 
3263 extern "C" {static PyObject *meth_wxComboBox_DoThaw(PyObject *, PyObject *);}
meth_wxComboBox_DoThaw(PyObject * sipSelf,PyObject * sipArgs)3264 static PyObject *meth_wxComboBox_DoThaw(PyObject *sipSelf, PyObject *sipArgs)
3265 {
3266     PyObject *sipParseErr = SIP_NULLPTR;
3267     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3268 
3269     {
3270         sipwxComboBox *sipCpp;
3271 
3272         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
3273         {
3274             PyErr_Clear();
3275 
3276             Py_BEGIN_ALLOW_THREADS
3277             sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg);
3278             Py_END_ALLOW_THREADS
3279 
3280             if (PyErr_Occurred())
3281                 return 0;
3282 
3283             Py_INCREF(Py_None);
3284             return Py_None;
3285         }
3286     }
3287 
3288     /* Raise an exception if the arguments couldn't be parsed. */
3289     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_DoThaw, doc_wxComboBox_DoThaw);
3290 
3291     return SIP_NULLPTR;
3292 }
3293 
3294 
3295 PyDoc_STRVAR(doc_wxComboBox_HasTransparentBackground, "HasTransparentBackground(self) -> bool");
3296 
3297 extern "C" {static PyObject *meth_wxComboBox_HasTransparentBackground(PyObject *, PyObject *);}
meth_wxComboBox_HasTransparentBackground(PyObject * sipSelf,PyObject * sipArgs)3298 static PyObject *meth_wxComboBox_HasTransparentBackground(PyObject *sipSelf, PyObject *sipArgs)
3299 {
3300     PyObject *sipParseErr = SIP_NULLPTR;
3301     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3302 
3303     {
3304         sipwxComboBox *sipCpp;
3305 
3306         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboBox, &sipCpp))
3307         {
3308             bool sipRes;
3309 
3310             PyErr_Clear();
3311 
3312             Py_BEGIN_ALLOW_THREADS
3313             sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg);
3314             Py_END_ALLOW_THREADS
3315 
3316             if (PyErr_Occurred())
3317                 return 0;
3318 
3319             return PyBool_FromLong(sipRes);
3320         }
3321     }
3322 
3323     /* Raise an exception if the arguments couldn't be parsed. */
3324     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_HasTransparentBackground, doc_wxComboBox_HasTransparentBackground);
3325 
3326     return SIP_NULLPTR;
3327 }
3328 
3329 
3330 PyDoc_STRVAR(doc_wxComboBox_TryBefore, "TryBefore(self, event: Event) -> bool");
3331 
3332 extern "C" {static PyObject *meth_wxComboBox_TryBefore(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_TryBefore(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3333 static PyObject *meth_wxComboBox_TryBefore(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3334 {
3335     PyObject *sipParseErr = SIP_NULLPTR;
3336     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3337 
3338     {
3339          ::wxEvent* event;
3340         sipwxComboBox *sipCpp;
3341 
3342         static const char *sipKwdList[] = {
3343             sipName_event,
3344         };
3345 
3346         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxComboBox, &sipCpp, sipType_wxEvent, &event))
3347         {
3348             bool sipRes;
3349 
3350             PyErr_Clear();
3351 
3352             Py_BEGIN_ALLOW_THREADS
3353             sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg,*event);
3354             Py_END_ALLOW_THREADS
3355 
3356             if (PyErr_Occurred())
3357                 return 0;
3358 
3359             return PyBool_FromLong(sipRes);
3360         }
3361     }
3362 
3363     /* Raise an exception if the arguments couldn't be parsed. */
3364     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_TryBefore, doc_wxComboBox_TryBefore);
3365 
3366     return SIP_NULLPTR;
3367 }
3368 
3369 
3370 PyDoc_STRVAR(doc_wxComboBox_TryAfter, "TryAfter(self, event: Event) -> bool");
3371 
3372 extern "C" {static PyObject *meth_wxComboBox_TryAfter(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_TryAfter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3373 static PyObject *meth_wxComboBox_TryAfter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3374 {
3375     PyObject *sipParseErr = SIP_NULLPTR;
3376     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3377 
3378     {
3379          ::wxEvent* event;
3380         sipwxComboBox *sipCpp;
3381 
3382         static const char *sipKwdList[] = {
3383             sipName_event,
3384         };
3385 
3386         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxComboBox, &sipCpp, sipType_wxEvent, &event))
3387         {
3388             bool sipRes;
3389 
3390             PyErr_Clear();
3391 
3392             Py_BEGIN_ALLOW_THREADS
3393             sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg,*event);
3394             Py_END_ALLOW_THREADS
3395 
3396             if (PyErr_Occurred())
3397                 return 0;
3398 
3399             return PyBool_FromLong(sipRes);
3400         }
3401     }
3402 
3403     /* Raise an exception if the arguments couldn't be parsed. */
3404     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_TryAfter, doc_wxComboBox_TryAfter);
3405 
3406     return SIP_NULLPTR;
3407 }
3408 
3409 
3410 PyDoc_STRVAR(doc_wxComboBox_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes");
3411 
3412 extern "C" {static PyObject *meth_wxComboBox_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);}
meth_wxComboBox_GetClassDefaultAttributes(PyObject *,PyObject * sipArgs,PyObject * sipKwds)3413 static PyObject *meth_wxComboBox_GetClassDefaultAttributes(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
3414 {
3415     PyObject *sipParseErr = SIP_NULLPTR;
3416 
3417     {
3418          ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL;
3419 
3420         static const char *sipKwdList[] = {
3421             sipName_variant,
3422         };
3423 
3424         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant))
3425         {
3426              ::wxVisualAttributes*sipRes;
3427 
3428         if (!wxPyCheckForApp()) return NULL;
3429 
3430             PyErr_Clear();
3431 
3432             Py_BEGIN_ALLOW_THREADS
3433             sipRes = new  ::wxVisualAttributes( ::wxComboBox::GetClassDefaultAttributes(variant));
3434             Py_END_ALLOW_THREADS
3435 
3436             if (PyErr_Occurred())
3437                 return 0;
3438 
3439             return sipConvertFromNewType(sipRes,sipType_wxVisualAttributes,SIP_NULLPTR);
3440         }
3441     }
3442 
3443     /* Raise an exception if the arguments couldn't be parsed. */
3444     sipNoMethod(sipParseErr, sipName_ComboBox, sipName_GetClassDefaultAttributes, SIP_NULLPTR);
3445 
3446     return SIP_NULLPTR;
3447 }
3448 
3449 
3450 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
3451 extern "C" {static void *cast_wxComboBox(void *, const sipTypeDef *);}
cast_wxComboBox(void * sipCppV,const sipTypeDef * targetType)3452 static void *cast_wxComboBox(void *sipCppV, const sipTypeDef *targetType)
3453 {
3454      ::wxComboBox *sipCpp = reinterpret_cast< ::wxComboBox *>(sipCppV);
3455 
3456     if (targetType == sipType_wxControl)
3457         return static_cast< ::wxControl *>(sipCpp);
3458 
3459     if (targetType == sipType_wxWindow)
3460         return static_cast< ::wxWindow *>(sipCpp);
3461 
3462     if (targetType == sipType_wxWindowBase)
3463         return static_cast< ::wxWindowBase *>(sipCpp);
3464 
3465     if (targetType == sipType_wxEvtHandler)
3466         return static_cast< ::wxEvtHandler *>(sipCpp);
3467 
3468     if (targetType == sipType_wxObject)
3469         return static_cast< ::wxObject *>(sipCpp);
3470 
3471     if (targetType == sipType_wxTrackable)
3472         return static_cast< ::wxTrackable *>(sipCpp);
3473 
3474     if (targetType == sipType_wxItemContainer)
3475         return static_cast< ::wxItemContainer *>(sipCpp);
3476 
3477     if (targetType == sipType_wxItemContainerImmutable)
3478         return static_cast< ::wxItemContainerImmutable *>(sipCpp);
3479 
3480     if (targetType == sipType_wxTextEntry)
3481         return static_cast< ::wxTextEntry *>(sipCpp);
3482 
3483     return sipCppV;
3484 }
3485 
3486 
3487 /* Call the instance's destructor. */
3488 extern "C" {static void release_wxComboBox(void *, int);}
release_wxComboBox(void * sipCppV,int sipState)3489 static void release_wxComboBox(void *sipCppV, int sipState)
3490 {
3491     Py_BEGIN_ALLOW_THREADS
3492 
3493     if (sipState & SIP_DERIVED_CLASS)
3494         delete reinterpret_cast<sipwxComboBox *>(sipCppV);
3495     else
3496         delete reinterpret_cast< ::wxComboBox *>(sipCppV);
3497 
3498     Py_END_ALLOW_THREADS
3499 }
3500 
3501 
3502 extern "C" {static void dealloc_wxComboBox(sipSimpleWrapper *);}
dealloc_wxComboBox(sipSimpleWrapper * sipSelf)3503 static void dealloc_wxComboBox(sipSimpleWrapper *sipSelf)
3504 {
3505     if (sipIsDerivedClass(sipSelf))
3506         reinterpret_cast<sipwxComboBox *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
3507 
3508     if (sipIsOwnedByPython(sipSelf))
3509     {
3510         release_wxComboBox(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
3511     }
3512 }
3513 
3514 
3515 extern "C" {static void *init_type_wxComboBox(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxComboBox(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject ** sipOwner,PyObject ** sipParseErr)3516 static void *init_type_wxComboBox(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
3517 {
3518     sipwxComboBox *sipCpp = SIP_NULLPTR;
3519 
3520     {
3521         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
3522         {
3523 
3524         if (!wxPyCheckForApp()) return NULL;
3525 
3526             PyErr_Clear();
3527 
3528             Py_BEGIN_ALLOW_THREADS
3529             sipCpp = new sipwxComboBox();
3530             Py_END_ALLOW_THREADS
3531 
3532             if (PyErr_Occurred())
3533             {
3534                 delete sipCpp;
3535                 return SIP_NULLPTR;
3536             }
3537 
3538             sipCpp->sipPySelf = sipSelf;
3539 
3540             return sipCpp;
3541         }
3542     }
3543 
3544     {
3545          ::wxWindow* parent;
3546          ::wxWindowID id = wxID_ANY;
3547         const  ::wxString& valuedef = wxEmptyString;
3548         const  ::wxString* value = &valuedef;
3549         int valueState = 0;
3550         const  ::wxPoint& posdef = wxDefaultPosition;
3551         const  ::wxPoint* pos = &posdef;
3552         int posState = 0;
3553         const  ::wxSize& sizedef = wxDefaultSize;
3554         const  ::wxSize* size = &sizedef;
3555         int sizeState = 0;
3556         const  ::wxArrayString& choicesdef = wxArrayString();
3557         const  ::wxArrayString* choices = &choicesdef;
3558         int choicesState = 0;
3559         long style = 0;
3560         const  ::wxValidator& validatordef = wxDefaultValidator;
3561         const  ::wxValidator* validator = &validatordef;
3562         const  ::wxString& namedef = wxComboBoxNameStr;
3563         const  ::wxString* name = &namedef;
3564         int nameState = 0;
3565 
3566         static const char *sipKwdList[] = {
3567             sipName_parent,
3568             sipName_id,
3569             sipName_value,
3570             sipName_pos,
3571             sipName_size,
3572             sipName_choices,
3573             sipName_style,
3574             sipName_validator,
3575             sipName_name,
3576         };
3577 
3578         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|iJ1J1J1J1lJ9J1", sipType_wxWindow, &parent, sipOwner, &id, sipType_wxString,&value, &valueState, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, sipType_wxArrayString,&choices, &choicesState, &style, sipType_wxValidator, &validator, sipType_wxString,&name, &nameState))
3579         {
3580 
3581         if (!wxPyCheckForApp()) return NULL;
3582 
3583             PyErr_Clear();
3584 
3585             Py_BEGIN_ALLOW_THREADS
3586             sipCpp = new sipwxComboBox(parent,id,*value,*pos,*size,*choices,style,*validator,*name);
3587             Py_END_ALLOW_THREADS
3588             sipReleaseType(const_cast< ::wxString *>(value),sipType_wxString,valueState);
3589             sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
3590             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
3591             sipReleaseType(const_cast< ::wxArrayString *>(choices),sipType_wxArrayString,choicesState);
3592             sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
3593 
3594             if (PyErr_Occurred())
3595             {
3596                 delete sipCpp;
3597                 return SIP_NULLPTR;
3598             }
3599 
3600             sipCpp->sipPySelf = sipSelf;
3601 
3602             return sipCpp;
3603         }
3604     }
3605 
3606     return SIP_NULLPTR;
3607 }
3608 
3609 
3610 /* Define this type's super-types. */
3611 static sipEncodedTypeDef supers_wxComboBox[] = {{89, 255, 0}, {269, 255, 0}, {525, 255, 1}};
3612 
3613 
3614 static PyMethodDef methods_wxComboBox[] = {
3615     {SIP_MLNAME_CAST(sipName_AcceptsFocus), meth_wxComboBox_AcceptsFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_AcceptsFocus)},
3616     {SIP_MLNAME_CAST(sipName_AcceptsFocusFromKeyboard), meth_wxComboBox_AcceptsFocusFromKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_AcceptsFocusFromKeyboard)},
3617     {SIP_MLNAME_CAST(sipName_AcceptsFocusRecursively), meth_wxComboBox_AcceptsFocusRecursively, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_AcceptsFocusRecursively)},
3618     {SIP_MLNAME_CAST(sipName_AddChild), SIP_MLMETH_CAST(meth_wxComboBox_AddChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_AddChild)},
3619     {SIP_MLNAME_CAST(sipName_Create), SIP_MLMETH_CAST(meth_wxComboBox_Create), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_Create)},
3620     {SIP_MLNAME_CAST(sipName_Destroy), meth_wxComboBox_Destroy, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_Destroy)},
3621     {SIP_MLNAME_CAST(sipName_Dismiss), meth_wxComboBox_Dismiss, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_Dismiss)},
3622     {SIP_MLNAME_CAST(sipName_DoEnable), SIP_MLMETH_CAST(meth_wxComboBox_DoEnable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_DoEnable)},
3623     {SIP_MLNAME_CAST(sipName_DoFreeze), meth_wxComboBox_DoFreeze, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_DoFreeze)},
3624     {SIP_MLNAME_CAST(sipName_DoGetBestClientSize), meth_wxComboBox_DoGetBestClientSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_DoGetBestClientSize)},
3625     {SIP_MLNAME_CAST(sipName_DoGetBestSize), meth_wxComboBox_DoGetBestSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_DoGetBestSize)},
3626     {SIP_MLNAME_CAST(sipName_DoGetBorderSize), meth_wxComboBox_DoGetBorderSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_DoGetBorderSize)},
3627     {SIP_MLNAME_CAST(sipName_DoGetClientSize), SIP_MLMETH_CAST(meth_wxComboBox_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_DoGetClientSize)},
3628     {SIP_MLNAME_CAST(sipName_DoGetPosition), SIP_MLMETH_CAST(meth_wxComboBox_DoGetPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_DoGetPosition)},
3629     {SIP_MLNAME_CAST(sipName_DoGetSize), SIP_MLMETH_CAST(meth_wxComboBox_DoGetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_DoGetSize)},
3630     {SIP_MLNAME_CAST(sipName_DoMoveWindow), SIP_MLMETH_CAST(meth_wxComboBox_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_DoMoveWindow)},
3631     {SIP_MLNAME_CAST(sipName_DoSetClientSize), SIP_MLMETH_CAST(meth_wxComboBox_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_DoSetClientSize)},
3632     {SIP_MLNAME_CAST(sipName_DoSetSize), SIP_MLMETH_CAST(meth_wxComboBox_DoSetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_DoSetSize)},
3633     {SIP_MLNAME_CAST(sipName_DoSetSizeHints), SIP_MLMETH_CAST(meth_wxComboBox_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_DoSetSizeHints)},
3634     {SIP_MLNAME_CAST(sipName_DoSetWindowVariant), SIP_MLMETH_CAST(meth_wxComboBox_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_DoSetWindowVariant)},
3635     {SIP_MLNAME_CAST(sipName_DoThaw), meth_wxComboBox_DoThaw, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_DoThaw)},
3636     {SIP_MLNAME_CAST(sipName_FindString), SIP_MLMETH_CAST(meth_wxComboBox_FindString), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_FindString)},
3637     {SIP_MLNAME_CAST(sipName_GetClassDefaultAttributes), SIP_MLMETH_CAST(meth_wxComboBox_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_GetClassDefaultAttributes)},
3638     {SIP_MLNAME_CAST(sipName_GetClientAreaOrigin), meth_wxComboBox_GetClientAreaOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_GetClientAreaOrigin)},
3639     {SIP_MLNAME_CAST(sipName_GetCount), meth_wxComboBox_GetCount, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_GetCount)},
3640     {SIP_MLNAME_CAST(sipName_GetCurrentSelection), meth_wxComboBox_GetCurrentSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_GetCurrentSelection)},
3641     {SIP_MLNAME_CAST(sipName_GetDefaultBorder), meth_wxComboBox_GetDefaultBorder, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_GetDefaultBorder)},
3642     {SIP_MLNAME_CAST(sipName_GetDefaultBorderForControl), meth_wxComboBox_GetDefaultBorderForControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_GetDefaultBorderForControl)},
3643     {SIP_MLNAME_CAST(sipName_GetInsertionPoint), meth_wxComboBox_GetInsertionPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_GetInsertionPoint)},
3644     {SIP_MLNAME_CAST(sipName_GetMainWindowOfCompositeControl), meth_wxComboBox_GetMainWindowOfCompositeControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_GetMainWindowOfCompositeControl)},
3645     {SIP_MLNAME_CAST(sipName_GetSelection), meth_wxComboBox_GetSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_GetSelection)},
3646     {SIP_MLNAME_CAST(sipName_GetString), SIP_MLMETH_CAST(meth_wxComboBox_GetString), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_GetString)},
3647     {SIP_MLNAME_CAST(sipName_GetStringSelection), meth_wxComboBox_GetStringSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_GetStringSelection)},
3648     {SIP_MLNAME_CAST(sipName_GetTextSelection), SIP_MLMETH_CAST(meth_wxComboBox_GetTextSelection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_GetTextSelection)},
3649     {SIP_MLNAME_CAST(sipName_GetValidator), meth_wxComboBox_GetValidator, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_GetValidator)},
3650     {SIP_MLNAME_CAST(sipName_HasTransparentBackground), meth_wxComboBox_HasTransparentBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_HasTransparentBackground)},
3651     {SIP_MLNAME_CAST(sipName_InformFirstDirection), SIP_MLMETH_CAST(meth_wxComboBox_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_InformFirstDirection)},
3652     {SIP_MLNAME_CAST(sipName_InheritAttributes), meth_wxComboBox_InheritAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_InheritAttributes)},
3653     {SIP_MLNAME_CAST(sipName_InitDialog), meth_wxComboBox_InitDialog, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_InitDialog)},
3654     {SIP_MLNAME_CAST(sipName_IsListEmpty), meth_wxComboBox_IsListEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_IsListEmpty)},
3655     {SIP_MLNAME_CAST(sipName_IsTextEmpty), meth_wxComboBox_IsTextEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_IsTextEmpty)},
3656     {SIP_MLNAME_CAST(sipName_OnInternalIdle), meth_wxComboBox_OnInternalIdle, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_OnInternalIdle)},
3657     {SIP_MLNAME_CAST(sipName_Popup), meth_wxComboBox_Popup, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_Popup)},
3658     {SIP_MLNAME_CAST(sipName_ProcessEvent), SIP_MLMETH_CAST(meth_wxComboBox_ProcessEvent), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_ProcessEvent)},
3659     {SIP_MLNAME_CAST(sipName_RemoveChild), SIP_MLMETH_CAST(meth_wxComboBox_RemoveChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_RemoveChild)},
3660     {SIP_MLNAME_CAST(sipName_SendDestroyEvent), meth_wxComboBox_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
3661     {SIP_MLNAME_CAST(sipName_SetCanFocus), SIP_MLMETH_CAST(meth_wxComboBox_SetCanFocus), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_SetCanFocus)},
3662     {SIP_MLNAME_CAST(sipName_SetSelection), SIP_MLMETH_CAST(meth_wxComboBox_SetSelection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_SetSelection)},
3663     {SIP_MLNAME_CAST(sipName_SetString), SIP_MLMETH_CAST(meth_wxComboBox_SetString), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_SetString)},
3664     {SIP_MLNAME_CAST(sipName_SetTextSelection), SIP_MLMETH_CAST(meth_wxComboBox_SetTextSelection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_SetTextSelection)},
3665     {SIP_MLNAME_CAST(sipName_SetValidator), SIP_MLMETH_CAST(meth_wxComboBox_SetValidator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_SetValidator)},
3666     {SIP_MLNAME_CAST(sipName_SetValue), SIP_MLMETH_CAST(meth_wxComboBox_SetValue), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_SetValue)},
3667     {SIP_MLNAME_CAST(sipName_ShouldInheritColours), meth_wxComboBox_ShouldInheritColours, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_ShouldInheritColours)},
3668     {SIP_MLNAME_CAST(sipName_TransferDataFromWindow), meth_wxComboBox_TransferDataFromWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_TransferDataFromWindow)},
3669     {SIP_MLNAME_CAST(sipName_TransferDataToWindow), meth_wxComboBox_TransferDataToWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_TransferDataToWindow)},
3670     {SIP_MLNAME_CAST(sipName_TryAfter), SIP_MLMETH_CAST(meth_wxComboBox_TryAfter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_TryAfter)},
3671     {SIP_MLNAME_CAST(sipName_TryBefore), SIP_MLMETH_CAST(meth_wxComboBox_TryBefore), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboBox_TryBefore)},
3672     {SIP_MLNAME_CAST(sipName_Validate), meth_wxComboBox_Validate, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboBox_Validate)}
3673 };
3674 
3675 sipVariableDef variables_wxComboBox[] = {
3676     {PropertyVariable, sipName_StringSelection, &methods_wxComboBox[32], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3677     {PropertyVariable, sipName_Selection, &methods_wxComboBox[30], &methods_wxComboBox[47], SIP_NULLPTR, SIP_NULLPTR},
3678     {PropertyVariable, sipName_InsertionPoint, &methods_wxComboBox[28], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3679     {PropertyVariable, sipName_CurrentSelection, &methods_wxComboBox[25], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3680     {PropertyVariable, sipName_Count, &methods_wxComboBox[24], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3681 };
3682 
3683 PyDoc_STRVAR(doc_wxComboBox, "ComboBox()\n"
3684 "ComboBox(parent, id=ID_ANY, value=EmptyString, pos=DefaultPosition, size=DefaultSize, choices=[], style=0, validator=DefaultValidator, name=ComboBoxNameStr)\n"
3685 "\n"
3686 "A combobox is like a combination of an edit control and a listbox.");
3687 
3688 
3689 sipClassTypeDef sipTypeDef__core_wxComboBox = {
3690     {
3691         -1,
3692         SIP_NULLPTR,
3693         SIP_NULLPTR,
3694         SIP_TYPE_SCC|SIP_TYPE_CLASS,
3695         sipNameNr_wxComboBox,
3696         {SIP_NULLPTR},
3697         SIP_NULLPTR
3698     },
3699     {
3700         sipNameNr_ComboBox,
3701         {0, 0, 1},
3702         58, methods_wxComboBox,
3703         0, SIP_NULLPTR,
3704         5, variables_wxComboBox,
3705         {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
3706     },
3707     doc_wxComboBox,
3708     -1,
3709     -1,
3710     supers_wxComboBox,
3711     SIP_NULLPTR,
3712     init_type_wxComboBox,
3713     SIP_NULLPTR,
3714     SIP_NULLPTR,
3715 #if PY_MAJOR_VERSION >= 3
3716     SIP_NULLPTR,
3717     SIP_NULLPTR,
3718 #else
3719     SIP_NULLPTR,
3720     SIP_NULLPTR,
3721     SIP_NULLPTR,
3722     SIP_NULLPTR,
3723 #endif
3724     dealloc_wxComboBox,
3725     SIP_NULLPTR,
3726     SIP_NULLPTR,
3727     SIP_NULLPTR,
3728     release_wxComboBox,
3729     cast_wxComboBox,
3730     SIP_NULLPTR,
3731     SIP_NULLPTR,
3732     SIP_NULLPTR,
3733     SIP_NULLPTR,
3734     SIP_NULLPTR,
3735     SIP_NULLPTR
3736 };
3737