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/combo.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/gdicmn.h>
19         #include <wx/combo.h>
20         #include <wx/window.h>
21         #include <wx/event.h>
22         #include <wx/bitmap.h>
23         #include <wx/textctrl.h>
24         #include <wx/dc.h>
25         #include <wx/event.h>
26         #include <wx/event.h>
27         #include <wx/event.h>
28     #include <wx/setup.h>
29     #include <wxPython/wxpy_api.h>
30         #include <wx/event.h>
31         #include <wx/cursor.h>
32         #include <wx/caret.h>
33         #include <wx/layout.h>
34         #include <wx/sizer.h>
35         #include <wx/dnd.h>
36         #include <wx/access.h>
37         #include <wx/accel.h>
38         #include <wx/menu.h>
39         #include <wx/tooltip.h>
40         #include <wx/event.h>
41         #include <wx/event.h>
42         #include <wx/palette.h>
43         #include <wx/colour.h>
44         #include <wx/font.h>
45         #include <wx/region.h>
46 
47         #include <wx/eventfilter.h>
48         #include <wx/object.h>
49         #include <wx/object.h>
50         #include <wx/object.h>
51         #include <wx/textcompleter.h>
52 
53 
54 class sipwxComboCtrl : public  ::wxComboCtrl
55 {
56 public:
57     sipwxComboCtrl();
58     sipwxComboCtrl( ::wxWindow*, ::wxWindowID,const  ::wxString&,const  ::wxPoint&,const  ::wxSize&,long,const  ::wxValidator&,const  ::wxString&);
59     virtual ~sipwxComboCtrl();
60 
61     /*
62      * There is a public method for every protected method visible from
63      * this class.
64      */
65     void sipProtect_SendDestroyEvent();
66     bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&);
67     void sipProtectVirt_DoEnable(bool,bool);
68     void sipProtectVirt_DoGetPosition(bool,int*,int*) const;
69     void sipProtectVirt_DoGetSize(bool,int*,int*) const;
70     void sipProtectVirt_DoGetClientSize(bool,int*,int*) const;
71      ::wxSize sipProtectVirt_DoGetBestSize(bool) const;
72      ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const;
73     void sipProtectVirt_DoSetSize(bool,int,int,int,int,int);
74     void sipProtectVirt_DoSetClientSize(bool,int,int);
75     void sipProtectVirt_DoSetSizeHints(bool,int,int,int,int,int,int);
76      ::wxSize sipProtectVirt_DoGetBorderSize(bool) const;
77     void sipProtectVirt_DoMoveWindow(bool,int,int,int,int);
78     void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant);
79      ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const;
80      ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const;
81     void sipProtectVirt_DoFreeze(bool);
82     void sipProtectVirt_DoThaw(bool);
83     bool sipProtectVirt_HasTransparentBackground(bool);
84     bool sipProtectVirt_TryBefore(bool, ::wxEvent&);
85     bool sipProtectVirt_TryAfter(bool, ::wxEvent&);
86     bool sipProtectVirt_AnimateShow(bool,const  ::wxRect&,int);
87     void sipProtectVirt_DoSetPopupControl(bool, ::wxComboPopup*);
88     void sipProtectVirt_DoShowPopup(bool,const  ::wxRect&,int);
89 
90     /*
91      * There is a protected method for every virtual method visible from
92      * this class.
93      */
94 protected:
95     void DoShowPopup(const  ::wxRect&,int) SIP_OVERRIDE;
96     void DoSetPopupControl( ::wxComboPopup*) SIP_OVERRIDE;
97     bool AnimateShow(const  ::wxRect&,int) SIP_OVERRIDE;
98     void ShowPopup() SIP_OVERRIDE;
99     void OnButtonClick() SIP_OVERRIDE;
100     void HidePopup(bool) SIP_OVERRIDE;
101     bool IsKeyPopupToggle(const  ::wxKeyEvent&) const SIP_OVERRIDE;
102     void Dismiss() SIP_OVERRIDE;
103     bool CanCopy() const SIP_OVERRIDE;
104     bool CanCut() const SIP_OVERRIDE;
105     bool CanPaste() const SIP_OVERRIDE;
106     bool CanRedo() const SIP_OVERRIDE;
107     bool CanUndo() const SIP_OVERRIDE;
108     void Copy() SIP_OVERRIDE;
109     void Cut() SIP_OVERRIDE;
110     void Paste() SIP_OVERRIDE;
111     void Redo() SIP_OVERRIDE;
112     void Undo() SIP_OVERRIDE;
113      ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
114      ::wxSize DoGetBestSize() const SIP_OVERRIDE;
115     void DoThaw() SIP_OVERRIDE;
116     void DoFreeze() SIP_OVERRIDE;
117      ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
118      ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
119     void DoSetWindowVariant( ::wxWindowVariant) SIP_OVERRIDE;
120     void DoMoveWindow(int,int,int,int) SIP_OVERRIDE;
121      ::wxSize DoGetBorderSize() const SIP_OVERRIDE;
122     void DoSetSizeHints(int,int,int,int,int,int) SIP_OVERRIDE;
123     void DoSetClientSize(int,int) SIP_OVERRIDE;
124     void DoSetSize(int,int,int,int,int) SIP_OVERRIDE;
125     void DoGetClientSize(int*,int*) const SIP_OVERRIDE;
126     void DoGetSize(int*,int*) const SIP_OVERRIDE;
127     void DoGetPosition(int*,int*) const SIP_OVERRIDE;
128     void DoEnable(bool) SIP_OVERRIDE;
129      ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
130     void OnInternalIdle() SIP_OVERRIDE;
131     void InitDialog() SIP_OVERRIDE;
132     void InheritAttributes() SIP_OVERRIDE;
133     bool Destroy() SIP_OVERRIDE;
134     bool Validate() SIP_OVERRIDE;
135     bool TransferDataToWindow() SIP_OVERRIDE;
136     bool TransferDataFromWindow() SIP_OVERRIDE;
137     void SetValidator(const  ::wxValidator&) SIP_OVERRIDE;
138      ::wxValidator* GetValidator() SIP_OVERRIDE;
139     bool ShouldInheritColours() const SIP_OVERRIDE;
140     bool HasTransparentBackground() SIP_OVERRIDE;
141      ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
142     bool InformFirstDirection(int,int,int) SIP_OVERRIDE;
143     void SetCanFocus(bool) SIP_OVERRIDE;
144     bool AcceptsFocusRecursively() const SIP_OVERRIDE;
145     bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
146     bool AcceptsFocus() const SIP_OVERRIDE;
147     bool TryAfter( ::wxEvent&) SIP_OVERRIDE;
148     bool TryBefore( ::wxEvent&) SIP_OVERRIDE;
149     bool ProcessEvent( ::wxEvent&) SIP_OVERRIDE;
150     void AddChild( ::wxWindowBase*) SIP_OVERRIDE;
151     void RemoveChild( ::wxWindowBase*) SIP_OVERRIDE;
152 
153 public:
154     sipSimpleWrapper *sipPySelf;
155 
156 private:
157     sipwxComboCtrl(const sipwxComboCtrl &);
158     sipwxComboCtrl &operator = (const sipwxComboCtrl &);
159 
160     char sipPyMethods[57];
161 };
162 
sipwxComboCtrl()163 sipwxComboCtrl::sipwxComboCtrl():  ::wxComboCtrl(), sipPySelf(SIP_NULLPTR)
164 {
165     memset(sipPyMethods, 0, sizeof (sipPyMethods));
166 }
167 
sipwxComboCtrl(::wxWindow * parent,::wxWindowID id,const::wxString & value,const::wxPoint & pos,const::wxSize & size,long style,const::wxValidator & validator,const::wxString & name)168 sipwxComboCtrl::sipwxComboCtrl( ::wxWindow*parent, ::wxWindowID id,const  ::wxString& value,const  ::wxPoint& pos,const  ::wxSize& size,long style,const  ::wxValidator& validator,const  ::wxString& name):  ::wxComboCtrl(parent,id,value,pos,size,style,validator,name), sipPySelf(SIP_NULLPTR)
169 {
170     memset(sipPyMethods, 0, sizeof (sipPyMethods));
171 }
172 
~sipwxComboCtrl()173 sipwxComboCtrl::~sipwxComboCtrl()
174 {
175     sipInstanceDestroyedEx(&sipPySelf);
176 }
177 
DoShowPopup(const::wxRect & rect,int flags)178 void sipwxComboCtrl::DoShowPopup(const  ::wxRect& rect,int flags)
179 {
180     sip_gilstate_t sipGILState;
181     PyObject *sipMeth;
182 
183     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_DoShowPopup);
184 
185     if (!sipMeth)
186     {
187          ::wxComboCtrl::DoShowPopup(rect,flags);
188         return;
189     }
190 
191     extern void sipVH__core_171(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRect&,int);
192 
193     sipVH__core_171(sipGILState, 0, sipPySelf, sipMeth, rect, flags);
194 }
195 
DoSetPopupControl(::wxComboPopup * popup)196 void sipwxComboCtrl::DoSetPopupControl( ::wxComboPopup*popup)
197 {
198     sip_gilstate_t sipGILState;
199     PyObject *sipMeth;
200 
201     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,SIP_NULLPTR,sipName_DoSetPopupControl);
202 
203     if (!sipMeth)
204     {
205          ::wxComboCtrl::DoSetPopupControl(popup);
206         return;
207     }
208 
209     extern void sipVH__core_170(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxComboPopup*);
210 
211     sipVH__core_170(sipGILState, 0, sipPySelf, sipMeth, popup);
212 }
213 
AnimateShow(const::wxRect & rect,int flags)214 bool sipwxComboCtrl::AnimateShow(const  ::wxRect& rect,int flags)
215 {
216     sip_gilstate_t sipGILState;
217     PyObject *sipMeth;
218 
219     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_AnimateShow);
220 
221     if (!sipMeth)
222         return  ::wxComboCtrl::AnimateShow(rect,flags);
223 
224     extern bool sipVH__core_169(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxRect&,int);
225 
226     return sipVH__core_169(sipGILState, 0, sipPySelf, sipMeth, rect, flags);
227 }
228 
ShowPopup()229 void sipwxComboCtrl::ShowPopup()
230 {
231     sip_gilstate_t sipGILState;
232     PyObject *sipMeth;
233 
234     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_ShowPopup);
235 
236     if (!sipMeth)
237     {
238          ::wxComboCtrl::ShowPopup();
239         return;
240     }
241 
242     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
243 
244     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
245 }
246 
OnButtonClick()247 void sipwxComboCtrl::OnButtonClick()
248 {
249     sip_gilstate_t sipGILState;
250     PyObject *sipMeth;
251 
252     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_OnButtonClick);
253 
254     if (!sipMeth)
255     {
256          ::wxComboCtrl::OnButtonClick();
257         return;
258     }
259 
260     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
261 
262     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
263 }
264 
HidePopup(bool generateEvent)265 void sipwxComboCtrl::HidePopup(bool generateEvent)
266 {
267     sip_gilstate_t sipGILState;
268     PyObject *sipMeth;
269 
270     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,SIP_NULLPTR,sipName_HidePopup);
271 
272     if (!sipMeth)
273     {
274          ::wxComboCtrl::HidePopup(generateEvent);
275         return;
276     }
277 
278     extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
279 
280     sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, generateEvent);
281 }
282 
IsKeyPopupToggle(const::wxKeyEvent & event) const283 bool sipwxComboCtrl::IsKeyPopupToggle(const  ::wxKeyEvent& event) const
284 {
285     sip_gilstate_t sipGILState;
286     PyObject *sipMeth;
287 
288     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,SIP_NULLPTR,sipName_IsKeyPopupToggle);
289 
290     if (!sipMeth)
291         return  ::wxComboCtrl::IsKeyPopupToggle(event);
292 
293     extern bool sipVH__core_168(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxKeyEvent&);
294 
295     return sipVH__core_168(sipGILState, 0, sipPySelf, sipMeth, event);
296 }
297 
Dismiss()298 void sipwxComboCtrl::Dismiss()
299 {
300     sip_gilstate_t sipGILState;
301     PyObject *sipMeth;
302 
303     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,SIP_NULLPTR,sipName_Dismiss);
304 
305     if (!sipMeth)
306     {
307          ::wxComboCtrl::Dismiss();
308         return;
309     }
310 
311     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
312 
313     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
314 }
315 
CanCopy() const316 bool sipwxComboCtrl::CanCopy() const
317 {
318     sip_gilstate_t sipGILState;
319     PyObject *sipMeth;
320 
321     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),sipPySelf,SIP_NULLPTR,sipName_CanCopy);
322 
323     if (!sipMeth)
324         return  ::wxComboCtrl::CanCopy();
325 
326     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
327 
328     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
329 }
330 
CanCut() const331 bool sipwxComboCtrl::CanCut() const
332 {
333     sip_gilstate_t sipGILState;
334     PyObject *sipMeth;
335 
336     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,SIP_NULLPTR,sipName_CanCut);
337 
338     if (!sipMeth)
339         return  ::wxComboCtrl::CanCut();
340 
341     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
342 
343     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
344 }
345 
CanPaste() const346 bool sipwxComboCtrl::CanPaste() const
347 {
348     sip_gilstate_t sipGILState;
349     PyObject *sipMeth;
350 
351     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,SIP_NULLPTR,sipName_CanPaste);
352 
353     if (!sipMeth)
354         return  ::wxComboCtrl::CanPaste();
355 
356     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
357 
358     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
359 }
360 
CanRedo() const361 bool sipwxComboCtrl::CanRedo() const
362 {
363     sip_gilstate_t sipGILState;
364     PyObject *sipMeth;
365 
366     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,SIP_NULLPTR,sipName_CanRedo);
367 
368     if (!sipMeth)
369         return  ::wxComboCtrl::CanRedo();
370 
371     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
372 
373     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
374 }
375 
CanUndo() const376 bool sipwxComboCtrl::CanUndo() const
377 {
378     sip_gilstate_t sipGILState;
379     PyObject *sipMeth;
380 
381     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,SIP_NULLPTR,sipName_CanUndo);
382 
383     if (!sipMeth)
384         return  ::wxComboCtrl::CanUndo();
385 
386     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
387 
388     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
389 }
390 
Copy()391 void sipwxComboCtrl::Copy()
392 {
393     sip_gilstate_t sipGILState;
394     PyObject *sipMeth;
395 
396     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,SIP_NULLPTR,sipName_Copy);
397 
398     if (!sipMeth)
399     {
400          ::wxComboCtrl::Copy();
401         return;
402     }
403 
404     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
405 
406     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
407 }
408 
Cut()409 void sipwxComboCtrl::Cut()
410 {
411     sip_gilstate_t sipGILState;
412     PyObject *sipMeth;
413 
414     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,SIP_NULLPTR,sipName_Cut);
415 
416     if (!sipMeth)
417     {
418          ::wxComboCtrl::Cut();
419         return;
420     }
421 
422     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
423 
424     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
425 }
426 
Paste()427 void sipwxComboCtrl::Paste()
428 {
429     sip_gilstate_t sipGILState;
430     PyObject *sipMeth;
431 
432     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,SIP_NULLPTR,sipName_Paste);
433 
434     if (!sipMeth)
435     {
436          ::wxComboCtrl::Paste();
437         return;
438     }
439 
440     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
441 
442     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
443 }
444 
Redo()445 void sipwxComboCtrl::Redo()
446 {
447     sip_gilstate_t sipGILState;
448     PyObject *sipMeth;
449 
450     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,SIP_NULLPTR,sipName_Redo);
451 
452     if (!sipMeth)
453     {
454          ::wxComboCtrl::Redo();
455         return;
456     }
457 
458     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
459 
460     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
461 }
462 
Undo()463 void sipwxComboCtrl::Undo()
464 {
465     sip_gilstate_t sipGILState;
466     PyObject *sipMeth;
467 
468     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_Undo);
469 
470     if (!sipMeth)
471     {
472          ::wxComboCtrl::Undo();
473         return;
474     }
475 
476     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
477 
478     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
479 }
480 
DoGetBestClientSize() const481  ::wxSize sipwxComboCtrl::DoGetBestClientSize() const
482 {
483     sip_gilstate_t sipGILState;
484     PyObject *sipMeth;
485 
486     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestClientSize);
487 
488     if (!sipMeth)
489         return  ::wxComboCtrl::DoGetBestClientSize();
490 
491     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
492 
493     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
494 }
495 
DoGetBestSize() const496  ::wxSize sipwxComboCtrl::DoGetBestSize() const
497 {
498     sip_gilstate_t sipGILState;
499     PyObject *sipMeth;
500 
501     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[19]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestSize);
502 
503     if (!sipMeth)
504         return  ::wxComboCtrl::DoGetBestSize();
505 
506     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
507 
508     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
509 }
510 
DoThaw()511 void sipwxComboCtrl::DoThaw()
512 {
513     sip_gilstate_t sipGILState;
514     PyObject *sipMeth;
515 
516     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_DoThaw);
517 
518     if (!sipMeth)
519     {
520          ::wxComboCtrl::DoThaw();
521         return;
522     }
523 
524     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
525 
526     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
527 }
528 
DoFreeze()529 void sipwxComboCtrl::DoFreeze()
530 {
531     sip_gilstate_t sipGILState;
532     PyObject *sipMeth;
533 
534     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_DoFreeze);
535 
536     if (!sipMeth)
537     {
538          ::wxComboCtrl::DoFreeze();
539         return;
540     }
541 
542     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
543 
544     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
545 }
546 
GetDefaultBorderForControl() const547  ::wxBorder sipwxComboCtrl::GetDefaultBorderForControl() const
548 {
549     sip_gilstate_t sipGILState;
550     PyObject *sipMeth;
551 
552     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[22]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorderForControl);
553 
554     if (!sipMeth)
555         return  ::wxComboCtrl::GetDefaultBorderForControl();
556 
557     extern  ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
558 
559     return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
560 }
561 
GetDefaultBorder() const562  ::wxBorder sipwxComboCtrl::GetDefaultBorder() const
563 {
564     sip_gilstate_t sipGILState;
565     PyObject *sipMeth;
566 
567     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[23]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorder);
568 
569     if (!sipMeth)
570         return  ::wxComboCtrl::GetDefaultBorder();
571 
572     extern  ::wxBorder sipVH__core_122(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
573 
574     return sipVH__core_122(sipGILState, 0, sipPySelf, sipMeth);
575 }
576 
DoSetWindowVariant(::wxWindowVariant variant)577 void sipwxComboCtrl::DoSetWindowVariant( ::wxWindowVariant variant)
578 {
579     sip_gilstate_t sipGILState;
580     PyObject *sipMeth;
581 
582     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,SIP_NULLPTR,sipName_DoSetWindowVariant);
583 
584     if (!sipMeth)
585     {
586          ::wxComboCtrl::DoSetWindowVariant(variant);
587         return;
588     }
589 
590     extern void sipVH__core_121(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowVariant);
591 
592     sipVH__core_121(sipGILState, 0, sipPySelf, sipMeth, variant);
593 }
594 
DoMoveWindow(int x,int y,int width,int height)595 void sipwxComboCtrl::DoMoveWindow(int x,int y,int width,int height)
596 {
597     sip_gilstate_t sipGILState;
598     PyObject *sipMeth;
599 
600     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,SIP_NULLPTR,sipName_DoMoveWindow);
601 
602     if (!sipMeth)
603     {
604          ::wxComboCtrl::DoMoveWindow(x,y,width,height);
605         return;
606     }
607 
608     extern void sipVH__core_120(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
609 
610     sipVH__core_120(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height);
611 }
612 
DoGetBorderSize() const613  ::wxSize sipwxComboCtrl::DoGetBorderSize() const
614 {
615     sip_gilstate_t sipGILState;
616     PyObject *sipMeth;
617 
618     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,SIP_NULLPTR,sipName_DoGetBorderSize);
619 
620     if (!sipMeth)
621         return  ::wxComboCtrl::DoGetBorderSize();
622 
623     extern  ::wxSize sipVH__core_93(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
624 
625     return sipVH__core_93(sipGILState, 0, sipPySelf, sipMeth);
626 }
627 
DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)628 void sipwxComboCtrl::DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)
629 {
630     sip_gilstate_t sipGILState;
631     PyObject *sipMeth;
632 
633     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,SIP_NULLPTR,sipName_DoSetSizeHints);
634 
635     if (!sipMeth)
636     {
637          ::wxComboCtrl::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH);
638         return;
639     }
640 
641     extern void sipVH__core_119(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int,int);
642 
643     sipVH__core_119(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH);
644 }
645 
DoSetClientSize(int width,int height)646 void sipwxComboCtrl::DoSetClientSize(int width,int height)
647 {
648     sip_gilstate_t sipGILState;
649     PyObject *sipMeth;
650 
651     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,SIP_NULLPTR,sipName_DoSetClientSize);
652 
653     if (!sipMeth)
654     {
655          ::wxComboCtrl::DoSetClientSize(width,height);
656         return;
657     }
658 
659     extern void sipVH__core_118(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
660 
661     sipVH__core_118(sipGILState, 0, sipPySelf, sipMeth, width, height);
662 }
663 
DoSetSize(int x,int y,int width,int height,int sizeFlags)664 void sipwxComboCtrl::DoSetSize(int x,int y,int width,int height,int sizeFlags)
665 {
666     sip_gilstate_t sipGILState;
667     PyObject *sipMeth;
668 
669     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,SIP_NULLPTR,sipName_DoSetSize);
670 
671     if (!sipMeth)
672     {
673          ::wxComboCtrl::DoSetSize(x,y,width,height,sizeFlags);
674         return;
675     }
676 
677     extern void sipVH__core_117(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int);
678 
679     sipVH__core_117(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags);
680 }
681 
DoGetClientSize(int * width,int * height) const682 void sipwxComboCtrl::DoGetClientSize(int*width,int*height) const
683 {
684     sip_gilstate_t sipGILState;
685     PyObject *sipMeth;
686 
687     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,SIP_NULLPTR,sipName_DoGetClientSize);
688 
689     if (!sipMeth)
690     {
691          ::wxComboCtrl::DoGetClientSize(width,height);
692         return;
693     }
694 
695     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
696 
697     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
698 }
699 
DoGetSize(int * width,int * height) const700 void sipwxComboCtrl::DoGetSize(int*width,int*height) const
701 {
702     sip_gilstate_t sipGILState;
703     PyObject *sipMeth;
704 
705     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[31]),sipPySelf,SIP_NULLPTR,sipName_DoGetSize);
706 
707     if (!sipMeth)
708     {
709          ::wxComboCtrl::DoGetSize(width,height);
710         return;
711     }
712 
713     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
714 
715     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, width, height);
716 }
717 
DoGetPosition(int * x,int * y) const718 void sipwxComboCtrl::DoGetPosition(int*x,int*y) const
719 {
720     sip_gilstate_t sipGILState;
721     PyObject *sipMeth;
722 
723     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[32]),sipPySelf,SIP_NULLPTR,sipName_DoGetPosition);
724 
725     if (!sipMeth)
726     {
727          ::wxComboCtrl::DoGetPosition(x,y);
728         return;
729     }
730 
731     extern void sipVH__core_116(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
732 
733     sipVH__core_116(sipGILState, 0, sipPySelf, sipMeth, x, y);
734 }
735 
DoEnable(bool enable)736 void sipwxComboCtrl::DoEnable(bool enable)
737 {
738     sip_gilstate_t sipGILState;
739     PyObject *sipMeth;
740 
741     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[33],sipPySelf,SIP_NULLPTR,sipName_DoEnable);
742 
743     if (!sipMeth)
744     {
745          ::wxComboCtrl::DoEnable(enable);
746         return;
747     }
748 
749     extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
750 
751     sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, enable);
752 }
753 
GetMainWindowOfCompositeControl()754  ::wxWindow* sipwxComboCtrl::GetMainWindowOfCompositeControl()
755 {
756     sip_gilstate_t sipGILState;
757     PyObject *sipMeth;
758 
759     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[34],sipPySelf,SIP_NULLPTR,sipName_GetMainWindowOfCompositeControl);
760 
761     if (!sipMeth)
762         return  ::wxComboCtrl::GetMainWindowOfCompositeControl();
763 
764     extern  ::wxWindow* sipVH__core_115(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
765 
766     return sipVH__core_115(sipGILState, 0, sipPySelf, sipMeth);
767 }
768 
OnInternalIdle()769 void sipwxComboCtrl::OnInternalIdle()
770 {
771     sip_gilstate_t sipGILState;
772     PyObject *sipMeth;
773 
774     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,SIP_NULLPTR,sipName_OnInternalIdle);
775 
776     if (!sipMeth)
777     {
778          ::wxComboCtrl::OnInternalIdle();
779         return;
780     }
781 
782     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
783 
784     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
785 }
786 
InitDialog()787 void sipwxComboCtrl::InitDialog()
788 {
789     sip_gilstate_t sipGILState;
790     PyObject *sipMeth;
791 
792     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,SIP_NULLPTR,sipName_InitDialog);
793 
794     if (!sipMeth)
795     {
796          ::wxComboCtrl::InitDialog();
797         return;
798     }
799 
800     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
801 
802     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
803 }
804 
InheritAttributes()805 void sipwxComboCtrl::InheritAttributes()
806 {
807     sip_gilstate_t sipGILState;
808     PyObject *sipMeth;
809 
810     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[37],sipPySelf,SIP_NULLPTR,sipName_InheritAttributes);
811 
812     if (!sipMeth)
813     {
814          ::wxComboCtrl::InheritAttributes();
815         return;
816     }
817 
818     extern void sipVH__core_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
819 
820     sipVH__core_45(sipGILState, 0, sipPySelf, sipMeth);
821 }
822 
Destroy()823 bool sipwxComboCtrl::Destroy()
824 {
825     sip_gilstate_t sipGILState;
826     PyObject *sipMeth;
827 
828     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[38],sipPySelf,SIP_NULLPTR,sipName_Destroy);
829 
830     if (!sipMeth)
831         return  ::wxComboCtrl::Destroy();
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 
Validate()838 bool sipwxComboCtrl::Validate()
839 {
840     sip_gilstate_t sipGILState;
841     PyObject *sipMeth;
842 
843     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,SIP_NULLPTR,sipName_Validate);
844 
845     if (!sipMeth)
846         return  ::wxComboCtrl::Validate();
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 
TransferDataToWindow()853 bool sipwxComboCtrl::TransferDataToWindow()
854 {
855     sip_gilstate_t sipGILState;
856     PyObject *sipMeth;
857 
858     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[40],sipPySelf,SIP_NULLPTR,sipName_TransferDataToWindow);
859 
860     if (!sipMeth)
861         return  ::wxComboCtrl::TransferDataToWindow();
862 
863     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
864 
865     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
866 }
867 
TransferDataFromWindow()868 bool sipwxComboCtrl::TransferDataFromWindow()
869 {
870     sip_gilstate_t sipGILState;
871     PyObject *sipMeth;
872 
873     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,SIP_NULLPTR,sipName_TransferDataFromWindow);
874 
875     if (!sipMeth)
876         return  ::wxComboCtrl::TransferDataFromWindow();
877 
878     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
879 
880     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
881 }
882 
SetValidator(const::wxValidator & validator)883 void sipwxComboCtrl::SetValidator(const  ::wxValidator& validator)
884 {
885     sip_gilstate_t sipGILState;
886     PyObject *sipMeth;
887 
888     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[42],sipPySelf,SIP_NULLPTR,sipName_SetValidator);
889 
890     if (!sipMeth)
891     {
892          ::wxComboCtrl::SetValidator(validator);
893         return;
894     }
895 
896     extern void sipVH__core_114(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxValidator&);
897 
898     sipVH__core_114(sipGILState, 0, sipPySelf, sipMeth, validator);
899 }
900 
GetValidator()901  ::wxValidator* sipwxComboCtrl::GetValidator()
902 {
903     sip_gilstate_t sipGILState;
904     PyObject *sipMeth;
905 
906     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,SIP_NULLPTR,sipName_GetValidator);
907 
908     if (!sipMeth)
909         return  ::wxComboCtrl::GetValidator();
910 
911     extern  ::wxValidator* sipVH__core_113(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
912 
913     return sipVH__core_113(sipGILState, 0, sipPySelf, sipMeth);
914 }
915 
ShouldInheritColours() const916 bool sipwxComboCtrl::ShouldInheritColours() const
917 {
918     sip_gilstate_t sipGILState;
919     PyObject *sipMeth;
920 
921     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,SIP_NULLPTR,sipName_ShouldInheritColours);
922 
923     if (!sipMeth)
924         return  ::wxComboCtrl::ShouldInheritColours();
925 
926     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
927 
928     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
929 }
930 
HasTransparentBackground()931 bool sipwxComboCtrl::HasTransparentBackground()
932 {
933     sip_gilstate_t sipGILState;
934     PyObject *sipMeth;
935 
936     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,SIP_NULLPTR,sipName_HasTransparentBackground);
937 
938     if (!sipMeth)
939         return  ::wxComboCtrl::HasTransparentBackground();
940 
941     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
942 
943     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
944 }
945 
GetClientAreaOrigin() const946  ::wxPoint sipwxComboCtrl::GetClientAreaOrigin() const
947 {
948     sip_gilstate_t sipGILState;
949     PyObject *sipMeth;
950 
951     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[46]),sipPySelf,SIP_NULLPTR,sipName_GetClientAreaOrigin);
952 
953     if (!sipMeth)
954         return  ::wxComboCtrl::GetClientAreaOrigin();
955 
956     extern  ::wxPoint sipVH__core_112(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
957 
958     return sipVH__core_112(sipGILState, 0, sipPySelf, sipMeth);
959 }
960 
InformFirstDirection(int direction,int size,int availableOtherDir)961 bool sipwxComboCtrl::InformFirstDirection(int direction,int size,int availableOtherDir)
962 {
963     sip_gilstate_t sipGILState;
964     PyObject *sipMeth;
965 
966     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,SIP_NULLPTR,sipName_InformFirstDirection);
967 
968     if (!sipMeth)
969         return  ::wxComboCtrl::InformFirstDirection(direction,size,availableOtherDir);
970 
971     extern bool sipVH__core_111(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);
972 
973     return sipVH__core_111(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir);
974 }
975 
SetCanFocus(bool canFocus)976 void sipwxComboCtrl::SetCanFocus(bool canFocus)
977 {
978     sip_gilstate_t sipGILState;
979     PyObject *sipMeth;
980 
981     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,SIP_NULLPTR,sipName_SetCanFocus);
982 
983     if (!sipMeth)
984     {
985          ::wxComboCtrl::SetCanFocus(canFocus);
986         return;
987     }
988 
989     extern void sipVH__core_84(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
990 
991     sipVH__core_84(sipGILState, 0, sipPySelf, sipMeth, canFocus);
992 }
993 
AcceptsFocusRecursively() const994 bool sipwxComboCtrl::AcceptsFocusRecursively() const
995 {
996     sip_gilstate_t sipGILState;
997     PyObject *sipMeth;
998 
999     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[49]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusRecursively);
1000 
1001     if (!sipMeth)
1002         return  ::wxComboCtrl::AcceptsFocusRecursively();
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 
AcceptsFocusFromKeyboard() const1009 bool sipwxComboCtrl::AcceptsFocusFromKeyboard() const
1010 {
1011     sip_gilstate_t sipGILState;
1012     PyObject *sipMeth;
1013 
1014     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[50]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusFromKeyboard);
1015 
1016     if (!sipMeth)
1017         return  ::wxComboCtrl::AcceptsFocusFromKeyboard();
1018 
1019     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1020 
1021     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
1022 }
1023 
AcceptsFocus() const1024 bool sipwxComboCtrl::AcceptsFocus() const
1025 {
1026     sip_gilstate_t sipGILState;
1027     PyObject *sipMeth;
1028 
1029     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[51]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
1030 
1031     if (!sipMeth)
1032         return  ::wxComboCtrl::AcceptsFocus();
1033 
1034     extern bool sipVH__core_6(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1035 
1036     return sipVH__core_6(sipGILState, 0, sipPySelf, sipMeth);
1037 }
1038 
TryAfter(::wxEvent & event)1039 bool sipwxComboCtrl::TryAfter( ::wxEvent& event)
1040 {
1041     sip_gilstate_t sipGILState;
1042     PyObject *sipMeth;
1043 
1044     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[52],sipPySelf,SIP_NULLPTR,sipName_TryAfter);
1045 
1046     if (!sipMeth)
1047         return  ::wxComboCtrl::TryAfter(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 
TryBefore(::wxEvent & event)1054 bool sipwxComboCtrl::TryBefore( ::wxEvent& event)
1055 {
1056     sip_gilstate_t sipGILState;
1057     PyObject *sipMeth;
1058 
1059     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,SIP_NULLPTR,sipName_TryBefore);
1060 
1061     if (!sipMeth)
1062         return  ::wxComboCtrl::TryBefore(event);
1063 
1064     extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
1065 
1066     return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
1067 }
1068 
ProcessEvent(::wxEvent & event)1069 bool sipwxComboCtrl::ProcessEvent( ::wxEvent& event)
1070 {
1071     sip_gilstate_t sipGILState;
1072     PyObject *sipMeth;
1073 
1074     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[54],sipPySelf,SIP_NULLPTR,sipName_ProcessEvent);
1075 
1076     if (!sipMeth)
1077         return  ::wxComboCtrl::ProcessEvent(event);
1078 
1079     extern bool sipVH__core_90(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
1080 
1081     return sipVH__core_90(sipGILState, 0, sipPySelf, sipMeth, event);
1082 }
1083 
AddChild(::wxWindowBase * child)1084 void sipwxComboCtrl::AddChild( ::wxWindowBase*child)
1085 {
1086     sip_gilstate_t sipGILState;
1087     PyObject *sipMeth;
1088 
1089     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[55],sipPySelf,SIP_NULLPTR,sipName_AddChild);
1090 
1091     if (!sipMeth)
1092     {
1093          ::wxComboCtrl::AddChild(child);
1094         return;
1095     }
1096 
1097     extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
1098 
1099     sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
1100 }
1101 
RemoveChild(::wxWindowBase * child)1102 void sipwxComboCtrl::RemoveChild( ::wxWindowBase*child)
1103 {
1104     sip_gilstate_t sipGILState;
1105     PyObject *sipMeth;
1106 
1107     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[56],sipPySelf,SIP_NULLPTR,sipName_RemoveChild);
1108 
1109     if (!sipMeth)
1110     {
1111          ::wxComboCtrl::RemoveChild(child);
1112         return;
1113     }
1114 
1115     extern void sipVH__core_110(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
1116 
1117     sipVH__core_110(sipGILState, 0, sipPySelf, sipMeth, child);
1118 }
1119 
sipProtect_SendDestroyEvent()1120 void sipwxComboCtrl::sipProtect_SendDestroyEvent()
1121 {
1122      ::wxWindow::SendDestroyEvent();
1123 }
1124 
sipProtectVirt_ProcessEvent(bool sipSelfWasArg,::wxEvent & event)1125 bool sipwxComboCtrl::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event)
1126 {
1127     return (sipSelfWasArg ?  ::wxComboCtrl::ProcessEvent(event) : ProcessEvent(event));
1128 }
1129 
sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)1130 void sipwxComboCtrl::sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)
1131 {
1132     (sipSelfWasArg ?  ::wxComboCtrl::DoEnable(enable) : DoEnable(enable));
1133 }
1134 
sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int * x,int * y) const1135 void sipwxComboCtrl::sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int*x,int*y) const
1136 {
1137     (sipSelfWasArg ?  ::wxComboCtrl::DoGetPosition(x,y) : DoGetPosition(x,y));
1138 }
1139 
sipProtectVirt_DoGetSize(bool sipSelfWasArg,int * width,int * height) const1140 void sipwxComboCtrl::sipProtectVirt_DoGetSize(bool sipSelfWasArg,int*width,int*height) const
1141 {
1142     (sipSelfWasArg ?  ::wxComboCtrl::DoGetSize(width,height) : DoGetSize(width,height));
1143 }
1144 
sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int * width,int * height) const1145 void sipwxComboCtrl::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int*width,int*height) const
1146 {
1147     (sipSelfWasArg ?  ::wxComboCtrl::DoGetClientSize(width,height) : DoGetClientSize(width,height));
1148 }
1149 
sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const1150  ::wxSize sipwxComboCtrl::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
1151 {
1152     return (sipSelfWasArg ?  ::wxComboCtrl::DoGetBestSize() : DoGetBestSize());
1153 }
1154 
sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const1155  ::wxSize sipwxComboCtrl::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
1156 {
1157     return (sipSelfWasArg ?  ::wxComboCtrl::DoGetBestClientSize() : DoGetBestClientSize());
1158 }
1159 
sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)1160 void sipwxComboCtrl::sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)
1161 {
1162     (sipSelfWasArg ?  ::wxComboCtrl::DoSetSize(x,y,width,height,sizeFlags) : DoSetSize(x,y,width,height,sizeFlags));
1163 }
1164 
sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)1165 void sipwxComboCtrl::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)
1166 {
1167     (sipSelfWasArg ?  ::wxComboCtrl::DoSetClientSize(width,height) : DoSetClientSize(width,height));
1168 }
1169 
sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)1170 void sipwxComboCtrl::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)
1171 {
1172     (sipSelfWasArg ?  ::wxComboCtrl::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH) : DoSetSizeHints(minW,minH,maxW,maxH,incW,incH));
1173 }
1174 
sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const1175  ::wxSize sipwxComboCtrl::sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const
1176 {
1177     return (sipSelfWasArg ?  ::wxComboCtrl::DoGetBorderSize() : DoGetBorderSize());
1178 }
1179 
sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)1180 void sipwxComboCtrl::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)
1181 {
1182     (sipSelfWasArg ?  ::wxComboCtrl::DoMoveWindow(x,y,width,height) : DoMoveWindow(x,y,width,height));
1183 }
1184 
sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg,::wxWindowVariant variant)1185 void sipwxComboCtrl::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
1186 {
1187     (sipSelfWasArg ?  ::wxComboCtrl::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
1188 }
1189 
sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const1190  ::wxBorder sipwxComboCtrl::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
1191 {
1192     return (sipSelfWasArg ?  ::wxComboCtrl::GetDefaultBorder() : GetDefaultBorder());
1193 }
1194 
sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const1195  ::wxBorder sipwxComboCtrl::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
1196 {
1197     return (sipSelfWasArg ?  ::wxComboCtrl::GetDefaultBorderForControl() : GetDefaultBorderForControl());
1198 }
1199 
sipProtectVirt_DoFreeze(bool sipSelfWasArg)1200 void sipwxComboCtrl::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
1201 {
1202     (sipSelfWasArg ?  ::wxComboCtrl::DoFreeze() : DoFreeze());
1203 }
1204 
sipProtectVirt_DoThaw(bool sipSelfWasArg)1205 void sipwxComboCtrl::sipProtectVirt_DoThaw(bool sipSelfWasArg)
1206 {
1207     (sipSelfWasArg ?  ::wxComboCtrl::DoThaw() : DoThaw());
1208 }
1209 
sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)1210 bool sipwxComboCtrl::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
1211 {
1212     return (sipSelfWasArg ?  ::wxComboCtrl::HasTransparentBackground() : HasTransparentBackground());
1213 }
1214 
sipProtectVirt_TryBefore(bool sipSelfWasArg,::wxEvent & event)1215 bool sipwxComboCtrl::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event)
1216 {
1217     return (sipSelfWasArg ?  ::wxComboCtrl::TryBefore(event) : TryBefore(event));
1218 }
1219 
sipProtectVirt_TryAfter(bool sipSelfWasArg,::wxEvent & event)1220 bool sipwxComboCtrl::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event)
1221 {
1222     return (sipSelfWasArg ?  ::wxComboCtrl::TryAfter(event) : TryAfter(event));
1223 }
1224 
sipProtectVirt_AnimateShow(bool sipSelfWasArg,const::wxRect & rect,int flags)1225 bool sipwxComboCtrl::sipProtectVirt_AnimateShow(bool sipSelfWasArg,const  ::wxRect& rect,int flags)
1226 {
1227     return (sipSelfWasArg ?  ::wxComboCtrl::AnimateShow(rect,flags) : AnimateShow(rect,flags));
1228 }
1229 
sipProtectVirt_DoSetPopupControl(bool sipSelfWasArg,::wxComboPopup * popup)1230 void sipwxComboCtrl::sipProtectVirt_DoSetPopupControl(bool sipSelfWasArg, ::wxComboPopup*popup)
1231 {
1232     (sipSelfWasArg ?  ::wxComboCtrl::DoSetPopupControl(popup) : DoSetPopupControl(popup));
1233 }
1234 
sipProtectVirt_DoShowPopup(bool sipSelfWasArg,const::wxRect & rect,int flags)1235 void sipwxComboCtrl::sipProtectVirt_DoShowPopup(bool sipSelfWasArg,const  ::wxRect& rect,int flags)
1236 {
1237     (sipSelfWasArg ?  ::wxComboCtrl::DoShowPopup(rect,flags) : DoShowPopup(rect,flags));
1238 }
1239 
1240 
1241 PyDoc_STRVAR(doc_wxComboCtrl_SendDestroyEvent, "SendDestroyEvent()\n"
1242 "\n"
1243 "Generate wxWindowDestroyEvent for this window.");
1244 
1245 extern "C" {static PyObject *meth_wxComboCtrl_SendDestroyEvent(PyObject *, PyObject *);}
meth_wxComboCtrl_SendDestroyEvent(PyObject * sipSelf,PyObject * sipArgs)1246 static PyObject *meth_wxComboCtrl_SendDestroyEvent(PyObject *sipSelf, PyObject *sipArgs)
1247 {
1248     PyObject *sipParseErr = SIP_NULLPTR;
1249 
1250     {
1251         sipwxComboCtrl *sipCpp;
1252 
1253         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1254         {
1255             PyErr_Clear();
1256 
1257             Py_BEGIN_ALLOW_THREADS
1258             sipCpp->sipProtect_SendDestroyEvent();
1259             Py_END_ALLOW_THREADS
1260 
1261             if (PyErr_Occurred())
1262                 return 0;
1263 
1264             Py_INCREF(Py_None);
1265             return Py_None;
1266         }
1267     }
1268 
1269     /* Raise an exception if the arguments couldn't be parsed. */
1270     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SendDestroyEvent, SIP_NULLPTR);
1271 
1272     return SIP_NULLPTR;
1273 }
1274 
1275 
1276 PyDoc_STRVAR(doc_wxComboCtrl_SetMargins, "SetMargins(pt) -> bool\n"
1277 "SetMargins(left, top=-1) -> bool\n"
1278 "\n"
1279 "Attempts to set the control margins.\n"
1280 "");
1281 
1282 extern "C" {static PyObject *meth_wxComboCtrl_SetMargins(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetMargins(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1283 static PyObject *meth_wxComboCtrl_SetMargins(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1284 {
1285     PyObject *sipParseErr = SIP_NULLPTR;
1286 
1287     {
1288         const  ::wxPoint* pt;
1289         int ptState = 0;
1290          ::wxComboCtrl *sipCpp;
1291 
1292         static const char *sipKwdList[] = {
1293             sipName_pt,
1294         };
1295 
1296         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxPoint, &pt, &ptState))
1297         {
1298             bool sipRes;
1299 
1300             PyErr_Clear();
1301 
1302             Py_BEGIN_ALLOW_THREADS
1303             sipRes = sipCpp->SetMargins(*pt);
1304             Py_END_ALLOW_THREADS
1305             sipReleaseType(const_cast< ::wxPoint *>(pt),sipType_wxPoint,ptState);
1306 
1307             if (PyErr_Occurred())
1308                 return 0;
1309 
1310             return PyBool_FromLong(sipRes);
1311         }
1312     }
1313 
1314     {
1315          ::wxCoord left;
1316          ::wxCoord top = -1;
1317          ::wxComboCtrl *sipCpp;
1318 
1319         static const char *sipKwdList[] = {
1320             sipName_left,
1321             sipName_top,
1322         };
1323 
1324         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi|i", &sipSelf, sipType_wxComboCtrl, &sipCpp, &left, &top))
1325         {
1326             bool sipRes;
1327 
1328             PyErr_Clear();
1329 
1330             Py_BEGIN_ALLOW_THREADS
1331             sipRes = sipCpp->SetMargins(left,top);
1332             Py_END_ALLOW_THREADS
1333 
1334             if (PyErr_Occurred())
1335                 return 0;
1336 
1337             return PyBool_FromLong(sipRes);
1338         }
1339     }
1340 
1341     /* Raise an exception if the arguments couldn't be parsed. */
1342     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetMargins, SIP_NULLPTR);
1343 
1344     return SIP_NULLPTR;
1345 }
1346 
1347 
1348 PyDoc_STRVAR(doc_wxComboCtrl_Copy, "Copy()\n"
1349 "\n"
1350 "Copies the selected text to the clipboard.");
1351 
1352 extern "C" {static PyObject *meth_wxComboCtrl_Copy(PyObject *, PyObject *);}
meth_wxComboCtrl_Copy(PyObject * sipSelf,PyObject * sipArgs)1353 static PyObject *meth_wxComboCtrl_Copy(PyObject *sipSelf, PyObject *sipArgs)
1354 {
1355     PyObject *sipParseErr = SIP_NULLPTR;
1356     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1357 
1358     {
1359          ::wxComboCtrl *sipCpp;
1360 
1361         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1362         {
1363             PyErr_Clear();
1364 
1365             Py_BEGIN_ALLOW_THREADS
1366             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::Copy() : sipCpp->Copy());
1367             Py_END_ALLOW_THREADS
1368 
1369             if (PyErr_Occurred())
1370                 return 0;
1371 
1372             Py_INCREF(Py_None);
1373             return Py_None;
1374         }
1375     }
1376 
1377     /* Raise an exception if the arguments couldn't be parsed. */
1378     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_Copy, SIP_NULLPTR);
1379 
1380     return SIP_NULLPTR;
1381 }
1382 
1383 
1384 PyDoc_STRVAR(doc_wxComboCtrl_Create, "Create(parent, id=ID_ANY, value=EmptyString, pos=DefaultPosition, size=DefaultSize, style=0, validator=DefaultValidator, name=ComboBoxNameStr) -> bool\n"
1385 "\n"
1386 "Creates the combo control for two-step construction.");
1387 
1388 extern "C" {static PyObject *meth_wxComboCtrl_Create(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_Create(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1389 static PyObject *meth_wxComboCtrl_Create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1390 {
1391     PyObject *sipParseErr = SIP_NULLPTR;
1392 
1393     {
1394          ::wxWindow* parent;
1395          ::wxWindowID id = wxID_ANY;
1396         const  ::wxString& valuedef = wxEmptyString;
1397         const  ::wxString* value = &valuedef;
1398         int valueState = 0;
1399         const  ::wxPoint& posdef = wxDefaultPosition;
1400         const  ::wxPoint* pos = &posdef;
1401         int posState = 0;
1402         const  ::wxSize& sizedef = wxDefaultSize;
1403         const  ::wxSize* size = &sizedef;
1404         int sizeState = 0;
1405         long style = 0;
1406         const  ::wxValidator& validatordef = wxDefaultValidator;
1407         const  ::wxValidator* validator = &validatordef;
1408         const  ::wxString& namedef = wxComboBoxNameStr;
1409         const  ::wxString* name = &namedef;
1410         int nameState = 0;
1411         sipWrapper *sipOwner = SIP_NULLPTR;
1412          ::wxComboCtrl *sipCpp;
1413 
1414         static const char *sipKwdList[] = {
1415             sipName_parent,
1416             sipName_id,
1417             sipName_value,
1418             sipName_pos,
1419             sipName_size,
1420             sipName_style,
1421             sipName_validator,
1422             sipName_name,
1423         };
1424 
1425         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJH|iJ1J1J1lJ9J1", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxWindow, &parent, &sipOwner, &id, sipType_wxString,&value, &valueState, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style, sipType_wxValidator, &validator, sipType_wxString,&name, &nameState))
1426         {
1427             bool sipRes;
1428 
1429             PyErr_Clear();
1430 
1431             Py_BEGIN_ALLOW_THREADS
1432             sipRes = sipCpp->Create(parent,id,*value,*pos,*size,style,*validator,*name);
1433             Py_END_ALLOW_THREADS
1434 
1435             if (sipOwner)
1436                 sipTransferTo(sipSelf, (PyObject *)sipOwner);
1437             else
1438                 sipTransferBack(sipSelf);
1439             sipReleaseType(const_cast< ::wxString *>(value),sipType_wxString,valueState);
1440             sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
1441             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
1442             sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
1443 
1444             if (PyErr_Occurred())
1445                 return 0;
1446 
1447             return PyBool_FromLong(sipRes);
1448         }
1449     }
1450 
1451     /* Raise an exception if the arguments couldn't be parsed. */
1452     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_Create, SIP_NULLPTR);
1453 
1454     return SIP_NULLPTR;
1455 }
1456 
1457 
1458 PyDoc_STRVAR(doc_wxComboCtrl_Cut, "Cut()\n"
1459 "\n"
1460 "Copies the selected text to the clipboard and removes the selection.");
1461 
1462 extern "C" {static PyObject *meth_wxComboCtrl_Cut(PyObject *, PyObject *);}
meth_wxComboCtrl_Cut(PyObject * sipSelf,PyObject * sipArgs)1463 static PyObject *meth_wxComboCtrl_Cut(PyObject *sipSelf, PyObject *sipArgs)
1464 {
1465     PyObject *sipParseErr = SIP_NULLPTR;
1466     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1467 
1468     {
1469          ::wxComboCtrl *sipCpp;
1470 
1471         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1472         {
1473             PyErr_Clear();
1474 
1475             Py_BEGIN_ALLOW_THREADS
1476             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::Cut() : sipCpp->Cut());
1477             Py_END_ALLOW_THREADS
1478 
1479             if (PyErr_Occurred())
1480                 return 0;
1481 
1482             Py_INCREF(Py_None);
1483             return Py_None;
1484         }
1485     }
1486 
1487     /* Raise an exception if the arguments couldn't be parsed. */
1488     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_Cut, SIP_NULLPTR);
1489 
1490     return SIP_NULLPTR;
1491 }
1492 
1493 
1494 PyDoc_STRVAR(doc_wxComboCtrl_Dismiss, "Dismiss()\n"
1495 "\n"
1496 "Dismisses the popup window.");
1497 
1498 extern "C" {static PyObject *meth_wxComboCtrl_Dismiss(PyObject *, PyObject *);}
meth_wxComboCtrl_Dismiss(PyObject * sipSelf,PyObject * sipArgs)1499 static PyObject *meth_wxComboCtrl_Dismiss(PyObject *sipSelf, PyObject *sipArgs)
1500 {
1501     PyObject *sipParseErr = SIP_NULLPTR;
1502     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1503 
1504     {
1505          ::wxComboCtrl *sipCpp;
1506 
1507         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1508         {
1509             PyErr_Clear();
1510 
1511             Py_BEGIN_ALLOW_THREADS
1512             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::Dismiss() : sipCpp->Dismiss());
1513             Py_END_ALLOW_THREADS
1514 
1515             if (PyErr_Occurred())
1516                 return 0;
1517 
1518             Py_INCREF(Py_None);
1519             return Py_None;
1520         }
1521     }
1522 
1523     /* Raise an exception if the arguments couldn't be parsed. */
1524     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_Dismiss, SIP_NULLPTR);
1525 
1526     return SIP_NULLPTR;
1527 }
1528 
1529 
1530 PyDoc_STRVAR(doc_wxComboCtrl_EnablePopupAnimation, "EnablePopupAnimation(enable=True)\n"
1531 "\n"
1532 "Enables or disables popup animation, if any, depending on the value of\n"
1533 "the argument.");
1534 
1535 extern "C" {static PyObject *meth_wxComboCtrl_EnablePopupAnimation(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_EnablePopupAnimation(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1536 static PyObject *meth_wxComboCtrl_EnablePopupAnimation(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1537 {
1538     PyObject *sipParseErr = SIP_NULLPTR;
1539 
1540     {
1541         bool enable = 1;
1542          ::wxComboCtrl *sipCpp;
1543 
1544         static const char *sipKwdList[] = {
1545             sipName_enable,
1546         };
1547 
1548         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxComboCtrl, &sipCpp, &enable))
1549         {
1550             PyErr_Clear();
1551 
1552             Py_BEGIN_ALLOW_THREADS
1553             sipCpp->EnablePopupAnimation(enable);
1554             Py_END_ALLOW_THREADS
1555 
1556             if (PyErr_Occurred())
1557                 return 0;
1558 
1559             Py_INCREF(Py_None);
1560             return Py_None;
1561         }
1562     }
1563 
1564     /* Raise an exception if the arguments couldn't be parsed. */
1565     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_EnablePopupAnimation, SIP_NULLPTR);
1566 
1567     return SIP_NULLPTR;
1568 }
1569 
1570 
1571 PyDoc_STRVAR(doc_wxComboCtrl_IsKeyPopupToggle, "IsKeyPopupToggle(event) -> bool\n"
1572 "\n"
1573 "Returns true if given key combination should toggle the popup.");
1574 
1575 extern "C" {static PyObject *meth_wxComboCtrl_IsKeyPopupToggle(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_IsKeyPopupToggle(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1576 static PyObject *meth_wxComboCtrl_IsKeyPopupToggle(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1577 {
1578     PyObject *sipParseErr = SIP_NULLPTR;
1579     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1580 
1581     {
1582         const  ::wxKeyEvent* event;
1583         const  ::wxComboCtrl *sipCpp;
1584 
1585         static const char *sipKwdList[] = {
1586             sipName_event,
1587         };
1588 
1589         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxKeyEvent, &event))
1590         {
1591             bool sipRes;
1592 
1593             PyErr_Clear();
1594 
1595             Py_BEGIN_ALLOW_THREADS
1596             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::IsKeyPopupToggle(*event) : sipCpp->IsKeyPopupToggle(*event));
1597             Py_END_ALLOW_THREADS
1598 
1599             if (PyErr_Occurred())
1600                 return 0;
1601 
1602             return PyBool_FromLong(sipRes);
1603         }
1604     }
1605 
1606     /* Raise an exception if the arguments couldn't be parsed. */
1607     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_IsKeyPopupToggle, SIP_NULLPTR);
1608 
1609     return SIP_NULLPTR;
1610 }
1611 
1612 
1613 PyDoc_STRVAR(doc_wxComboCtrl_PrepareBackground, "PrepareBackground(dc, rect, flags)\n"
1614 "\n"
1615 "Prepare background of combo control or an item in a dropdown list in a\n"
1616 "way typical on platform.");
1617 
1618 extern "C" {static PyObject *meth_wxComboCtrl_PrepareBackground(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_PrepareBackground(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1619 static PyObject *meth_wxComboCtrl_PrepareBackground(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1620 {
1621     PyObject *sipParseErr = SIP_NULLPTR;
1622 
1623     {
1624          ::wxDC* dc;
1625         const  ::wxRect* rect;
1626         int rectState = 0;
1627         int flags;
1628         const  ::wxComboCtrl *sipCpp;
1629 
1630         static const char *sipKwdList[] = {
1631             sipName_dc,
1632             sipName_rect,
1633             sipName_flags,
1634         };
1635 
1636         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J1i", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxDC, &dc, sipType_wxRect, &rect, &rectState, &flags))
1637         {
1638             PyErr_Clear();
1639 
1640             Py_BEGIN_ALLOW_THREADS
1641             sipCpp->PrepareBackground(*dc,*rect,flags);
1642             Py_END_ALLOW_THREADS
1643             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
1644 
1645             if (PyErr_Occurred())
1646                 return 0;
1647 
1648             Py_INCREF(Py_None);
1649             return Py_None;
1650         }
1651     }
1652 
1653     /* Raise an exception if the arguments couldn't be parsed. */
1654     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_PrepareBackground, SIP_NULLPTR);
1655 
1656     return SIP_NULLPTR;
1657 }
1658 
1659 
1660 PyDoc_STRVAR(doc_wxComboCtrl_ShouldDrawFocus, "ShouldDrawFocus() -> bool\n"
1661 "\n"
1662 "Returns true if focus indicator should be drawn in the control.");
1663 
1664 extern "C" {static PyObject *meth_wxComboCtrl_ShouldDrawFocus(PyObject *, PyObject *);}
meth_wxComboCtrl_ShouldDrawFocus(PyObject * sipSelf,PyObject * sipArgs)1665 static PyObject *meth_wxComboCtrl_ShouldDrawFocus(PyObject *sipSelf, PyObject *sipArgs)
1666 {
1667     PyObject *sipParseErr = SIP_NULLPTR;
1668 
1669     {
1670         const  ::wxComboCtrl *sipCpp;
1671 
1672         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1673         {
1674             bool sipRes;
1675 
1676             PyErr_Clear();
1677 
1678             Py_BEGIN_ALLOW_THREADS
1679             sipRes = sipCpp->ShouldDrawFocus();
1680             Py_END_ALLOW_THREADS
1681 
1682             if (PyErr_Occurred())
1683                 return 0;
1684 
1685             return PyBool_FromLong(sipRes);
1686         }
1687     }
1688 
1689     /* Raise an exception if the arguments couldn't be parsed. */
1690     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_ShouldDrawFocus, SIP_NULLPTR);
1691 
1692     return SIP_NULLPTR;
1693 }
1694 
1695 
1696 PyDoc_STRVAR(doc_wxComboCtrl_GetBitmapDisabled, "GetBitmapDisabled() -> Bitmap\n"
1697 "\n"
1698 "Returns disabled button bitmap that has been set with\n"
1699 "SetButtonBitmaps().");
1700 
1701 extern "C" {static PyObject *meth_wxComboCtrl_GetBitmapDisabled(PyObject *, PyObject *);}
meth_wxComboCtrl_GetBitmapDisabled(PyObject * sipSelf,PyObject * sipArgs)1702 static PyObject *meth_wxComboCtrl_GetBitmapDisabled(PyObject *sipSelf, PyObject *sipArgs)
1703 {
1704     PyObject *sipParseErr = SIP_NULLPTR;
1705 
1706     {
1707         const  ::wxComboCtrl *sipCpp;
1708 
1709         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1710         {
1711              ::wxBitmap*sipRes;
1712 
1713             PyErr_Clear();
1714 
1715             Py_BEGIN_ALLOW_THREADS
1716             sipRes = new  ::wxBitmap(sipCpp->GetBitmapDisabled());
1717             Py_END_ALLOW_THREADS
1718 
1719             if (PyErr_Occurred())
1720                 return 0;
1721 
1722             return sipConvertFromNewType(sipRes,sipType_wxBitmap,SIP_NULLPTR);
1723         }
1724     }
1725 
1726     /* Raise an exception if the arguments couldn't be parsed. */
1727     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetBitmapDisabled, SIP_NULLPTR);
1728 
1729     return SIP_NULLPTR;
1730 }
1731 
1732 
1733 PyDoc_STRVAR(doc_wxComboCtrl_GetBitmapHover, "GetBitmapHover() -> Bitmap\n"
1734 "\n"
1735 "Returns button mouse hover bitmap that has been set with\n"
1736 "SetButtonBitmaps().");
1737 
1738 extern "C" {static PyObject *meth_wxComboCtrl_GetBitmapHover(PyObject *, PyObject *);}
meth_wxComboCtrl_GetBitmapHover(PyObject * sipSelf,PyObject * sipArgs)1739 static PyObject *meth_wxComboCtrl_GetBitmapHover(PyObject *sipSelf, PyObject *sipArgs)
1740 {
1741     PyObject *sipParseErr = SIP_NULLPTR;
1742 
1743     {
1744         const  ::wxComboCtrl *sipCpp;
1745 
1746         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1747         {
1748              ::wxBitmap*sipRes;
1749 
1750             PyErr_Clear();
1751 
1752             Py_BEGIN_ALLOW_THREADS
1753             sipRes = new  ::wxBitmap(sipCpp->GetBitmapHover());
1754             Py_END_ALLOW_THREADS
1755 
1756             if (PyErr_Occurred())
1757                 return 0;
1758 
1759             return sipConvertFromNewType(sipRes,sipType_wxBitmap,SIP_NULLPTR);
1760         }
1761     }
1762 
1763     /* Raise an exception if the arguments couldn't be parsed. */
1764     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetBitmapHover, SIP_NULLPTR);
1765 
1766     return SIP_NULLPTR;
1767 }
1768 
1769 
1770 PyDoc_STRVAR(doc_wxComboCtrl_GetBitmapNormal, "GetBitmapNormal() -> Bitmap\n"
1771 "\n"
1772 "Returns default button bitmap that has been set with\n"
1773 "SetButtonBitmaps().");
1774 
1775 extern "C" {static PyObject *meth_wxComboCtrl_GetBitmapNormal(PyObject *, PyObject *);}
meth_wxComboCtrl_GetBitmapNormal(PyObject * sipSelf,PyObject * sipArgs)1776 static PyObject *meth_wxComboCtrl_GetBitmapNormal(PyObject *sipSelf, PyObject *sipArgs)
1777 {
1778     PyObject *sipParseErr = SIP_NULLPTR;
1779 
1780     {
1781         const  ::wxComboCtrl *sipCpp;
1782 
1783         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1784         {
1785              ::wxBitmap*sipRes;
1786 
1787             PyErr_Clear();
1788 
1789             Py_BEGIN_ALLOW_THREADS
1790             sipRes = new  ::wxBitmap(sipCpp->GetBitmapNormal());
1791             Py_END_ALLOW_THREADS
1792 
1793             if (PyErr_Occurred())
1794                 return 0;
1795 
1796             return sipConvertFromNewType(sipRes,sipType_wxBitmap,SIP_NULLPTR);
1797         }
1798     }
1799 
1800     /* Raise an exception if the arguments couldn't be parsed. */
1801     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetBitmapNormal, SIP_NULLPTR);
1802 
1803     return SIP_NULLPTR;
1804 }
1805 
1806 
1807 PyDoc_STRVAR(doc_wxComboCtrl_GetBitmapPressed, "GetBitmapPressed() -> Bitmap\n"
1808 "\n"
1809 "Returns depressed button bitmap that has been set with\n"
1810 "SetButtonBitmaps().");
1811 
1812 extern "C" {static PyObject *meth_wxComboCtrl_GetBitmapPressed(PyObject *, PyObject *);}
meth_wxComboCtrl_GetBitmapPressed(PyObject * sipSelf,PyObject * sipArgs)1813 static PyObject *meth_wxComboCtrl_GetBitmapPressed(PyObject *sipSelf, PyObject *sipArgs)
1814 {
1815     PyObject *sipParseErr = SIP_NULLPTR;
1816 
1817     {
1818         const  ::wxComboCtrl *sipCpp;
1819 
1820         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1821         {
1822              ::wxBitmap*sipRes;
1823 
1824             PyErr_Clear();
1825 
1826             Py_BEGIN_ALLOW_THREADS
1827             sipRes = new  ::wxBitmap(sipCpp->GetBitmapPressed());
1828             Py_END_ALLOW_THREADS
1829 
1830             if (PyErr_Occurred())
1831                 return 0;
1832 
1833             return sipConvertFromNewType(sipRes,sipType_wxBitmap,SIP_NULLPTR);
1834         }
1835     }
1836 
1837     /* Raise an exception if the arguments couldn't be parsed. */
1838     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetBitmapPressed, SIP_NULLPTR);
1839 
1840     return SIP_NULLPTR;
1841 }
1842 
1843 
1844 PyDoc_STRVAR(doc_wxComboCtrl_GetButtonSize, "GetButtonSize() -> Size\n"
1845 "\n"
1846 "Returns current size of the dropdown button.");
1847 
1848 extern "C" {static PyObject *meth_wxComboCtrl_GetButtonSize(PyObject *, PyObject *);}
meth_wxComboCtrl_GetButtonSize(PyObject * sipSelf,PyObject * sipArgs)1849 static PyObject *meth_wxComboCtrl_GetButtonSize(PyObject *sipSelf, PyObject *sipArgs)
1850 {
1851     PyObject *sipParseErr = SIP_NULLPTR;
1852 
1853     {
1854          ::wxComboCtrl *sipCpp;
1855 
1856         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1857         {
1858              ::wxSize*sipRes;
1859 
1860             PyErr_Clear();
1861 
1862             Py_BEGIN_ALLOW_THREADS
1863             sipRes = new  ::wxSize(sipCpp->GetButtonSize());
1864             Py_END_ALLOW_THREADS
1865 
1866             if (PyErr_Occurred())
1867                 return 0;
1868 
1869             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
1870         }
1871     }
1872 
1873     /* Raise an exception if the arguments couldn't be parsed. */
1874     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetButtonSize, SIP_NULLPTR);
1875 
1876     return SIP_NULLPTR;
1877 }
1878 
1879 
1880 PyDoc_STRVAR(doc_wxComboCtrl_GetCustomPaintWidth, "GetCustomPaintWidth() -> int\n"
1881 "\n"
1882 "Returns custom painted area in control.");
1883 
1884 extern "C" {static PyObject *meth_wxComboCtrl_GetCustomPaintWidth(PyObject *, PyObject *);}
meth_wxComboCtrl_GetCustomPaintWidth(PyObject * sipSelf,PyObject * sipArgs)1885 static PyObject *meth_wxComboCtrl_GetCustomPaintWidth(PyObject *sipSelf, PyObject *sipArgs)
1886 {
1887     PyObject *sipParseErr = SIP_NULLPTR;
1888 
1889     {
1890         const  ::wxComboCtrl *sipCpp;
1891 
1892         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1893         {
1894             int sipRes;
1895 
1896             PyErr_Clear();
1897 
1898             Py_BEGIN_ALLOW_THREADS
1899             sipRes = sipCpp->GetCustomPaintWidth();
1900             Py_END_ALLOW_THREADS
1901 
1902             if (PyErr_Occurred())
1903                 return 0;
1904 
1905             return SIPLong_FromLong(sipRes);
1906         }
1907     }
1908 
1909     /* Raise an exception if the arguments couldn't be parsed. */
1910     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetCustomPaintWidth, SIP_NULLPTR);
1911 
1912     return SIP_NULLPTR;
1913 }
1914 
1915 
1916 PyDoc_STRVAR(doc_wxComboCtrl_GetHint, "GetHint() -> String\n"
1917 "\n"
1918 "Returns the current hint string.");
1919 
1920 extern "C" {static PyObject *meth_wxComboCtrl_GetHint(PyObject *, PyObject *);}
meth_wxComboCtrl_GetHint(PyObject * sipSelf,PyObject * sipArgs)1921 static PyObject *meth_wxComboCtrl_GetHint(PyObject *sipSelf, PyObject *sipArgs)
1922 {
1923     PyObject *sipParseErr = SIP_NULLPTR;
1924 
1925     {
1926         const  ::wxComboCtrl *sipCpp;
1927 
1928         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1929         {
1930              ::wxString*sipRes;
1931 
1932             PyErr_Clear();
1933 
1934             Py_BEGIN_ALLOW_THREADS
1935             sipRes = new  ::wxString(sipCpp->GetHint());
1936             Py_END_ALLOW_THREADS
1937 
1938             if (PyErr_Occurred())
1939                 return 0;
1940 
1941             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
1942         }
1943     }
1944 
1945     /* Raise an exception if the arguments couldn't be parsed. */
1946     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetHint, SIP_NULLPTR);
1947 
1948     return SIP_NULLPTR;
1949 }
1950 
1951 
1952 PyDoc_STRVAR(doc_wxComboCtrl_GetInsertionPoint, "GetInsertionPoint() -> long\n"
1953 "\n"
1954 "Returns the insertion point for the combo control's text field.");
1955 
1956 extern "C" {static PyObject *meth_wxComboCtrl_GetInsertionPoint(PyObject *, PyObject *);}
meth_wxComboCtrl_GetInsertionPoint(PyObject * sipSelf,PyObject * sipArgs)1957 static PyObject *meth_wxComboCtrl_GetInsertionPoint(PyObject *sipSelf, PyObject *sipArgs)
1958 {
1959     PyObject *sipParseErr = SIP_NULLPTR;
1960 
1961     {
1962         const  ::wxComboCtrl *sipCpp;
1963 
1964         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
1965         {
1966             long sipRes;
1967 
1968             PyErr_Clear();
1969 
1970             Py_BEGIN_ALLOW_THREADS
1971             sipRes = sipCpp->GetInsertionPoint();
1972             Py_END_ALLOW_THREADS
1973 
1974             if (PyErr_Occurred())
1975                 return 0;
1976 
1977             return PyLong_FromLong(sipRes);
1978         }
1979     }
1980 
1981     /* Raise an exception if the arguments couldn't be parsed. */
1982     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetInsertionPoint, SIP_NULLPTR);
1983 
1984     return SIP_NULLPTR;
1985 }
1986 
1987 
1988 PyDoc_STRVAR(doc_wxComboCtrl_GetLastPosition, "GetLastPosition() -> long\n"
1989 "\n"
1990 "Returns the last position in the combo control text field.");
1991 
1992 extern "C" {static PyObject *meth_wxComboCtrl_GetLastPosition(PyObject *, PyObject *);}
meth_wxComboCtrl_GetLastPosition(PyObject * sipSelf,PyObject * sipArgs)1993 static PyObject *meth_wxComboCtrl_GetLastPosition(PyObject *sipSelf, PyObject *sipArgs)
1994 {
1995     PyObject *sipParseErr = SIP_NULLPTR;
1996 
1997     {
1998         const  ::wxComboCtrl *sipCpp;
1999 
2000         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2001         {
2002             long sipRes;
2003 
2004             PyErr_Clear();
2005 
2006             Py_BEGIN_ALLOW_THREADS
2007             sipRes = sipCpp->GetLastPosition();
2008             Py_END_ALLOW_THREADS
2009 
2010             if (PyErr_Occurred())
2011                 return 0;
2012 
2013             return PyLong_FromLong(sipRes);
2014         }
2015     }
2016 
2017     /* Raise an exception if the arguments couldn't be parsed. */
2018     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetLastPosition, SIP_NULLPTR);
2019 
2020     return SIP_NULLPTR;
2021 }
2022 
2023 
2024 PyDoc_STRVAR(doc_wxComboCtrl_GetMargins, "GetMargins() -> Point\n"
2025 "\n"
2026 "Returns the margins used by the control.");
2027 
2028 extern "C" {static PyObject *meth_wxComboCtrl_GetMargins(PyObject *, PyObject *);}
meth_wxComboCtrl_GetMargins(PyObject * sipSelf,PyObject * sipArgs)2029 static PyObject *meth_wxComboCtrl_GetMargins(PyObject *sipSelf, PyObject *sipArgs)
2030 {
2031     PyObject *sipParseErr = SIP_NULLPTR;
2032 
2033     {
2034         const  ::wxComboCtrl *sipCpp;
2035 
2036         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2037         {
2038              ::wxPoint*sipRes;
2039 
2040             PyErr_Clear();
2041 
2042             Py_BEGIN_ALLOW_THREADS
2043             sipRes = new  ::wxPoint(sipCpp->GetMargins());
2044             Py_END_ALLOW_THREADS
2045 
2046             if (PyErr_Occurred())
2047                 return 0;
2048 
2049             return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
2050         }
2051     }
2052 
2053     /* Raise an exception if the arguments couldn't be parsed. */
2054     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetMargins, SIP_NULLPTR);
2055 
2056     return SIP_NULLPTR;
2057 }
2058 
2059 
2060 PyDoc_STRVAR(doc_wxComboCtrl_GetPopupControl, "GetPopupControl() -> ComboPopup\n"
2061 "\n"
2062 "Returns current popup interface that has been set with\n"
2063 "SetPopupControl().");
2064 
2065 extern "C" {static PyObject *meth_wxComboCtrl_GetPopupControl(PyObject *, PyObject *);}
meth_wxComboCtrl_GetPopupControl(PyObject * sipSelf,PyObject * sipArgs)2066 static PyObject *meth_wxComboCtrl_GetPopupControl(PyObject *sipSelf, PyObject *sipArgs)
2067 {
2068     PyObject *sipParseErr = SIP_NULLPTR;
2069 
2070     {
2071          ::wxComboCtrl *sipCpp;
2072 
2073         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2074         {
2075              ::wxComboPopup*sipRes;
2076 
2077             PyErr_Clear();
2078 
2079             Py_BEGIN_ALLOW_THREADS
2080             sipRes = sipCpp->GetPopupControl();
2081             Py_END_ALLOW_THREADS
2082 
2083             if (PyErr_Occurred())
2084                 return 0;
2085 
2086             return sipConvertFromType(sipRes,sipType_wxComboPopup,SIP_NULLPTR);
2087         }
2088     }
2089 
2090     /* Raise an exception if the arguments couldn't be parsed. */
2091     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetPopupControl, SIP_NULLPTR);
2092 
2093     return SIP_NULLPTR;
2094 }
2095 
2096 
2097 PyDoc_STRVAR(doc_wxComboCtrl_GetPopupWindow, "GetPopupWindow() -> Window\n"
2098 "\n"
2099 "Returns popup window containing the popup control.");
2100 
2101 extern "C" {static PyObject *meth_wxComboCtrl_GetPopupWindow(PyObject *, PyObject *);}
meth_wxComboCtrl_GetPopupWindow(PyObject * sipSelf,PyObject * sipArgs)2102 static PyObject *meth_wxComboCtrl_GetPopupWindow(PyObject *sipSelf, PyObject *sipArgs)
2103 {
2104     PyObject *sipParseErr = SIP_NULLPTR;
2105 
2106     {
2107         const  ::wxComboCtrl *sipCpp;
2108 
2109         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2110         {
2111              ::wxWindow*sipRes;
2112 
2113             PyErr_Clear();
2114 
2115             Py_BEGIN_ALLOW_THREADS
2116             sipRes = sipCpp->GetPopupWindow();
2117             Py_END_ALLOW_THREADS
2118 
2119             if (PyErr_Occurred())
2120                 return 0;
2121 
2122             return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
2123         }
2124     }
2125 
2126     /* Raise an exception if the arguments couldn't be parsed. */
2127     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetPopupWindow, SIP_NULLPTR);
2128 
2129     return SIP_NULLPTR;
2130 }
2131 
2132 
2133 PyDoc_STRVAR(doc_wxComboCtrl_GetTextCtrl, "GetTextCtrl() -> TextCtrl\n"
2134 "\n"
2135 "Get the text control which is part of the combo control.");
2136 
2137 extern "C" {static PyObject *meth_wxComboCtrl_GetTextCtrl(PyObject *, PyObject *);}
meth_wxComboCtrl_GetTextCtrl(PyObject * sipSelf,PyObject * sipArgs)2138 static PyObject *meth_wxComboCtrl_GetTextCtrl(PyObject *sipSelf, PyObject *sipArgs)
2139 {
2140     PyObject *sipParseErr = SIP_NULLPTR;
2141 
2142     {
2143         const  ::wxComboCtrl *sipCpp;
2144 
2145         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2146         {
2147              ::wxTextCtrl*sipRes;
2148 
2149             PyErr_Clear();
2150 
2151             Py_BEGIN_ALLOW_THREADS
2152             sipRes = sipCpp->GetTextCtrl();
2153             Py_END_ALLOW_THREADS
2154 
2155             if (PyErr_Occurred())
2156                 return 0;
2157 
2158             return sipConvertFromType(sipRes,sipType_wxTextCtrl,SIP_NULLPTR);
2159         }
2160     }
2161 
2162     /* Raise an exception if the arguments couldn't be parsed. */
2163     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetTextCtrl, SIP_NULLPTR);
2164 
2165     return SIP_NULLPTR;
2166 }
2167 
2168 
2169 PyDoc_STRVAR(doc_wxComboCtrl_GetTextIndent, "GetTextIndent() -> Coord\n"
2170 "\n"
2171 "Returns actual indentation in pixels.");
2172 
2173 extern "C" {static PyObject *meth_wxComboCtrl_GetTextIndent(PyObject *, PyObject *);}
meth_wxComboCtrl_GetTextIndent(PyObject * sipSelf,PyObject * sipArgs)2174 static PyObject *meth_wxComboCtrl_GetTextIndent(PyObject *sipSelf, PyObject *sipArgs)
2175 {
2176     PyObject *sipParseErr = SIP_NULLPTR;
2177 
2178     {
2179         const  ::wxComboCtrl *sipCpp;
2180 
2181         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2182         {
2183              ::wxCoord sipRes;
2184 
2185             if (sipDeprecated(sipName_ComboCtrl,sipName_GetTextIndent) < 0)
2186                 return SIP_NULLPTR;
2187 
2188             PyErr_Clear();
2189 
2190             Py_BEGIN_ALLOW_THREADS
2191             sipRes = sipCpp->GetTextIndent();
2192             Py_END_ALLOW_THREADS
2193 
2194             if (PyErr_Occurred())
2195                 return 0;
2196 
2197             return SIPLong_FromLong(sipRes);
2198         }
2199     }
2200 
2201     /* Raise an exception if the arguments couldn't be parsed. */
2202     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetTextIndent, SIP_NULLPTR);
2203 
2204     return SIP_NULLPTR;
2205 }
2206 
2207 
2208 PyDoc_STRVAR(doc_wxComboCtrl_GetTextRect, "GetTextRect() -> Rect\n"
2209 "\n"
2210 "Returns area covered by the text field (includes everything except\n"
2211 "borders and the dropdown button).");
2212 
2213 extern "C" {static PyObject *meth_wxComboCtrl_GetTextRect(PyObject *, PyObject *);}
meth_wxComboCtrl_GetTextRect(PyObject * sipSelf,PyObject * sipArgs)2214 static PyObject *meth_wxComboCtrl_GetTextRect(PyObject *sipSelf, PyObject *sipArgs)
2215 {
2216     PyObject *sipParseErr = SIP_NULLPTR;
2217 
2218     {
2219         const  ::wxComboCtrl *sipCpp;
2220 
2221         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2222         {
2223              ::wxRect*sipRes;
2224 
2225             PyErr_Clear();
2226 
2227             Py_BEGIN_ALLOW_THREADS
2228             sipRes = new  ::wxRect(sipCpp->GetTextRect());
2229             Py_END_ALLOW_THREADS
2230 
2231             if (PyErr_Occurred())
2232                 return 0;
2233 
2234             return sipConvertFromNewType(sipRes,sipType_wxRect,SIP_NULLPTR);
2235         }
2236     }
2237 
2238     /* Raise an exception if the arguments couldn't be parsed. */
2239     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetTextRect, SIP_NULLPTR);
2240 
2241     return SIP_NULLPTR;
2242 }
2243 
2244 
2245 PyDoc_STRVAR(doc_wxComboCtrl_GetValue, "GetValue() -> String\n"
2246 "\n"
2247 "Returns text representation of the current value.");
2248 
2249 extern "C" {static PyObject *meth_wxComboCtrl_GetValue(PyObject *, PyObject *);}
meth_wxComboCtrl_GetValue(PyObject * sipSelf,PyObject * sipArgs)2250 static PyObject *meth_wxComboCtrl_GetValue(PyObject *sipSelf, PyObject *sipArgs)
2251 {
2252     PyObject *sipParseErr = SIP_NULLPTR;
2253 
2254     {
2255         const  ::wxComboCtrl *sipCpp;
2256 
2257         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2258         {
2259              ::wxString*sipRes;
2260 
2261             PyErr_Clear();
2262 
2263             Py_BEGIN_ALLOW_THREADS
2264             sipRes = new  ::wxString(sipCpp->GetValue());
2265             Py_END_ALLOW_THREADS
2266 
2267             if (PyErr_Occurred())
2268                 return 0;
2269 
2270             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
2271         }
2272     }
2273 
2274     /* Raise an exception if the arguments couldn't be parsed. */
2275     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetValue, SIP_NULLPTR);
2276 
2277     return SIP_NULLPTR;
2278 }
2279 
2280 
2281 PyDoc_STRVAR(doc_wxComboCtrl_HidePopup, "HidePopup(generateEvent=False)\n"
2282 "\n"
2283 "Dismisses the popup window.");
2284 
2285 extern "C" {static PyObject *meth_wxComboCtrl_HidePopup(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_HidePopup(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2286 static PyObject *meth_wxComboCtrl_HidePopup(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2287 {
2288     PyObject *sipParseErr = SIP_NULLPTR;
2289     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2290 
2291     {
2292         bool generateEvent = 0;
2293          ::wxComboCtrl *sipCpp;
2294 
2295         static const char *sipKwdList[] = {
2296             sipName_generateEvent,
2297         };
2298 
2299         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxComboCtrl, &sipCpp, &generateEvent))
2300         {
2301             if (sipDeprecated(sipName_ComboCtrl,sipName_HidePopup) < 0)
2302                 return SIP_NULLPTR;
2303 
2304             PyErr_Clear();
2305 
2306             Py_BEGIN_ALLOW_THREADS
2307             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::HidePopup(generateEvent) : sipCpp->HidePopup(generateEvent));
2308             Py_END_ALLOW_THREADS
2309 
2310             if (PyErr_Occurred())
2311                 return 0;
2312 
2313             Py_INCREF(Py_None);
2314             return Py_None;
2315         }
2316     }
2317 
2318     /* Raise an exception if the arguments couldn't be parsed. */
2319     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_HidePopup, SIP_NULLPTR);
2320 
2321     return SIP_NULLPTR;
2322 }
2323 
2324 
2325 PyDoc_STRVAR(doc_wxComboCtrl_IsPopupShown, "IsPopupShown() -> bool\n"
2326 "\n"
2327 "Returns true if the popup is currently shown.");
2328 
2329 extern "C" {static PyObject *meth_wxComboCtrl_IsPopupShown(PyObject *, PyObject *);}
meth_wxComboCtrl_IsPopupShown(PyObject * sipSelf,PyObject * sipArgs)2330 static PyObject *meth_wxComboCtrl_IsPopupShown(PyObject *sipSelf, PyObject *sipArgs)
2331 {
2332     PyObject *sipParseErr = SIP_NULLPTR;
2333 
2334     {
2335         const  ::wxComboCtrl *sipCpp;
2336 
2337         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2338         {
2339             bool sipRes;
2340 
2341             PyErr_Clear();
2342 
2343             Py_BEGIN_ALLOW_THREADS
2344             sipRes = sipCpp->IsPopupShown();
2345             Py_END_ALLOW_THREADS
2346 
2347             if (PyErr_Occurred())
2348                 return 0;
2349 
2350             return PyBool_FromLong(sipRes);
2351         }
2352     }
2353 
2354     /* Raise an exception if the arguments couldn't be parsed. */
2355     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_IsPopupShown, SIP_NULLPTR);
2356 
2357     return SIP_NULLPTR;
2358 }
2359 
2360 
2361 PyDoc_STRVAR(doc_wxComboCtrl_IsPopupWindowState, "IsPopupWindowState(state) -> bool\n"
2362 "\n"
2363 "Returns true if the popup window is in the given state.");
2364 
2365 extern "C" {static PyObject *meth_wxComboCtrl_IsPopupWindowState(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_IsPopupWindowState(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2366 static PyObject *meth_wxComboCtrl_IsPopupWindowState(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2367 {
2368     PyObject *sipParseErr = SIP_NULLPTR;
2369 
2370     {
2371         int state;
2372         const  ::wxComboCtrl *sipCpp;
2373 
2374         static const char *sipKwdList[] = {
2375             sipName_state,
2376         };
2377 
2378         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxComboCtrl, &sipCpp, &state))
2379         {
2380             bool sipRes;
2381 
2382             PyErr_Clear();
2383 
2384             Py_BEGIN_ALLOW_THREADS
2385             sipRes = sipCpp->IsPopupWindowState(state);
2386             Py_END_ALLOW_THREADS
2387 
2388             if (PyErr_Occurred())
2389                 return 0;
2390 
2391             return PyBool_FromLong(sipRes);
2392         }
2393     }
2394 
2395     /* Raise an exception if the arguments couldn't be parsed. */
2396     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_IsPopupWindowState, SIP_NULLPTR);
2397 
2398     return SIP_NULLPTR;
2399 }
2400 
2401 
2402 PyDoc_STRVAR(doc_wxComboCtrl_OnButtonClick, "OnButtonClick()\n"
2403 "\n"
2404 "Implement in a derived class to define what happens on dropdown button\n"
2405 "click.");
2406 
2407 extern "C" {static PyObject *meth_wxComboCtrl_OnButtonClick(PyObject *, PyObject *);}
meth_wxComboCtrl_OnButtonClick(PyObject * sipSelf,PyObject * sipArgs)2408 static PyObject *meth_wxComboCtrl_OnButtonClick(PyObject *sipSelf, PyObject *sipArgs)
2409 {
2410     PyObject *sipParseErr = SIP_NULLPTR;
2411     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2412 
2413     {
2414          ::wxComboCtrl *sipCpp;
2415 
2416         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2417         {
2418             PyErr_Clear();
2419 
2420             Py_BEGIN_ALLOW_THREADS
2421             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::OnButtonClick() : sipCpp->OnButtonClick());
2422             Py_END_ALLOW_THREADS
2423 
2424             if (PyErr_Occurred())
2425                 return 0;
2426 
2427             Py_INCREF(Py_None);
2428             return Py_None;
2429         }
2430     }
2431 
2432     /* Raise an exception if the arguments couldn't be parsed. */
2433     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_OnButtonClick, SIP_NULLPTR);
2434 
2435     return SIP_NULLPTR;
2436 }
2437 
2438 
2439 PyDoc_STRVAR(doc_wxComboCtrl_Paste, "Paste()\n"
2440 "\n"
2441 "Pastes text from the clipboard to the text field.");
2442 
2443 extern "C" {static PyObject *meth_wxComboCtrl_Paste(PyObject *, PyObject *);}
meth_wxComboCtrl_Paste(PyObject * sipSelf,PyObject * sipArgs)2444 static PyObject *meth_wxComboCtrl_Paste(PyObject *sipSelf, PyObject *sipArgs)
2445 {
2446     PyObject *sipParseErr = SIP_NULLPTR;
2447     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2448 
2449     {
2450          ::wxComboCtrl *sipCpp;
2451 
2452         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2453         {
2454             PyErr_Clear();
2455 
2456             Py_BEGIN_ALLOW_THREADS
2457             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::Paste() : sipCpp->Paste());
2458             Py_END_ALLOW_THREADS
2459 
2460             if (PyErr_Occurred())
2461                 return 0;
2462 
2463             Py_INCREF(Py_None);
2464             return Py_None;
2465         }
2466     }
2467 
2468     /* Raise an exception if the arguments couldn't be parsed. */
2469     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_Paste, SIP_NULLPTR);
2470 
2471     return SIP_NULLPTR;
2472 }
2473 
2474 
2475 PyDoc_STRVAR(doc_wxComboCtrl_Popup, "Popup()\n"
2476 "\n"
2477 "Shows the popup portion of the combo control.");
2478 
2479 extern "C" {static PyObject *meth_wxComboCtrl_Popup(PyObject *, PyObject *);}
meth_wxComboCtrl_Popup(PyObject * sipSelf,PyObject * sipArgs)2480 static PyObject *meth_wxComboCtrl_Popup(PyObject *sipSelf, PyObject *sipArgs)
2481 {
2482     PyObject *sipParseErr = SIP_NULLPTR;
2483 
2484     {
2485          ::wxComboCtrl *sipCpp;
2486 
2487         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2488         {
2489             PyErr_Clear();
2490 
2491             Py_BEGIN_ALLOW_THREADS
2492             sipCpp->Popup();
2493             Py_END_ALLOW_THREADS
2494 
2495             if (PyErr_Occurred())
2496                 return 0;
2497 
2498             Py_INCREF(Py_None);
2499             return Py_None;
2500         }
2501     }
2502 
2503     /* Raise an exception if the arguments couldn't be parsed. */
2504     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_Popup, SIP_NULLPTR);
2505 
2506     return SIP_NULLPTR;
2507 }
2508 
2509 
2510 PyDoc_STRVAR(doc_wxComboCtrl_Remove, "Remove(frm, to)\n"
2511 "\n"
2512 "Removes the text between the two positions in the combo control text\n"
2513 "field.");
2514 
2515 extern "C" {static PyObject *meth_wxComboCtrl_Remove(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_Remove(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2516 static PyObject *meth_wxComboCtrl_Remove(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2517 {
2518     PyObject *sipParseErr = SIP_NULLPTR;
2519 
2520     {
2521         long frm;
2522         long to;
2523          ::wxComboCtrl *sipCpp;
2524 
2525         static const char *sipKwdList[] = {
2526             sipName_frm,
2527             sipName_to,
2528         };
2529 
2530         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bll", &sipSelf, sipType_wxComboCtrl, &sipCpp, &frm, &to))
2531         {
2532             PyErr_Clear();
2533 
2534             Py_BEGIN_ALLOW_THREADS
2535             sipCpp->Remove(frm,to);
2536             Py_END_ALLOW_THREADS
2537 
2538             if (PyErr_Occurred())
2539                 return 0;
2540 
2541             Py_INCREF(Py_None);
2542             return Py_None;
2543         }
2544     }
2545 
2546     /* Raise an exception if the arguments couldn't be parsed. */
2547     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_Remove, SIP_NULLPTR);
2548 
2549     return SIP_NULLPTR;
2550 }
2551 
2552 
2553 PyDoc_STRVAR(doc_wxComboCtrl_Replace, "Replace(frm, to, text)\n"
2554 "\n"
2555 "Replaces the text between two positions with the given text, in the\n"
2556 "combo control text field.");
2557 
2558 extern "C" {static PyObject *meth_wxComboCtrl_Replace(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_Replace(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2559 static PyObject *meth_wxComboCtrl_Replace(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2560 {
2561     PyObject *sipParseErr = SIP_NULLPTR;
2562 
2563     {
2564         long frm;
2565         long to;
2566         const  ::wxString* text;
2567         int textState = 0;
2568          ::wxComboCtrl *sipCpp;
2569 
2570         static const char *sipKwdList[] = {
2571             sipName_frm,
2572             sipName_to,
2573             sipName_text,
2574         };
2575 
2576         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BllJ1", &sipSelf, sipType_wxComboCtrl, &sipCpp, &frm, &to, sipType_wxString,&text, &textState))
2577         {
2578             PyErr_Clear();
2579 
2580             Py_BEGIN_ALLOW_THREADS
2581             sipCpp->Replace(frm,to,*text);
2582             Py_END_ALLOW_THREADS
2583             sipReleaseType(const_cast< ::wxString *>(text),sipType_wxString,textState);
2584 
2585             if (PyErr_Occurred())
2586                 return 0;
2587 
2588             Py_INCREF(Py_None);
2589             return Py_None;
2590         }
2591     }
2592 
2593     /* Raise an exception if the arguments couldn't be parsed. */
2594     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_Replace, SIP_NULLPTR);
2595 
2596     return SIP_NULLPTR;
2597 }
2598 
2599 
2600 PyDoc_STRVAR(doc_wxComboCtrl_SetButtonBitmaps, "SetButtonBitmaps(bmpNormal, pushButtonBg=False, bmpPressed=NullBitmap, bmpHover=NullBitmap, bmpDisabled=NullBitmap)\n"
2601 "\n"
2602 "Sets custom dropdown button graphics.");
2603 
2604 extern "C" {static PyObject *meth_wxComboCtrl_SetButtonBitmaps(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetButtonBitmaps(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2605 static PyObject *meth_wxComboCtrl_SetButtonBitmaps(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2606 {
2607     PyObject *sipParseErr = SIP_NULLPTR;
2608 
2609     {
2610         const  ::wxBitmap* bmpNormal;
2611         bool pushButtonBg = 0;
2612         const  ::wxBitmap& bmpPresseddef = wxNullBitmap;
2613         const  ::wxBitmap* bmpPressed = &bmpPresseddef;
2614         const  ::wxBitmap& bmpHoverdef = wxNullBitmap;
2615         const  ::wxBitmap* bmpHover = &bmpHoverdef;
2616         const  ::wxBitmap& bmpDisableddef = wxNullBitmap;
2617         const  ::wxBitmap* bmpDisabled = &bmpDisableddef;
2618          ::wxComboCtrl *sipCpp;
2619 
2620         static const char *sipKwdList[] = {
2621             sipName_bmpNormal,
2622             sipName_pushButtonBg,
2623             sipName_bmpPressed,
2624             sipName_bmpHover,
2625             sipName_bmpDisabled,
2626         };
2627 
2628         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9|bJ9J9J9", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxBitmap, &bmpNormal, &pushButtonBg, sipType_wxBitmap, &bmpPressed, sipType_wxBitmap, &bmpHover, sipType_wxBitmap, &bmpDisabled))
2629         {
2630             PyErr_Clear();
2631 
2632             Py_BEGIN_ALLOW_THREADS
2633             sipCpp->SetButtonBitmaps(*bmpNormal,pushButtonBg,*bmpPressed,*bmpHover,*bmpDisabled);
2634             Py_END_ALLOW_THREADS
2635 
2636             if (PyErr_Occurred())
2637                 return 0;
2638 
2639             Py_INCREF(Py_None);
2640             return Py_None;
2641         }
2642     }
2643 
2644     /* Raise an exception if the arguments couldn't be parsed. */
2645     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetButtonBitmaps, SIP_NULLPTR);
2646 
2647     return SIP_NULLPTR;
2648 }
2649 
2650 
2651 PyDoc_STRVAR(doc_wxComboCtrl_SetButtonPosition, "SetButtonPosition(width=-1, height=-1, side=RIGHT, spacingX=0)\n"
2652 "\n"
2653 "Sets size and position of dropdown button.");
2654 
2655 extern "C" {static PyObject *meth_wxComboCtrl_SetButtonPosition(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetButtonPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2656 static PyObject *meth_wxComboCtrl_SetButtonPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2657 {
2658     PyObject *sipParseErr = SIP_NULLPTR;
2659 
2660     {
2661         int width = -1;
2662         int height = -1;
2663         int side = wxRIGHT;
2664         int spacingX = 0;
2665          ::wxComboCtrl *sipCpp;
2666 
2667         static const char *sipKwdList[] = {
2668             sipName_width,
2669             sipName_height,
2670             sipName_side,
2671             sipName_spacingX,
2672         };
2673 
2674         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|iiii", &sipSelf, sipType_wxComboCtrl, &sipCpp, &width, &height, &side, &spacingX))
2675         {
2676             PyErr_Clear();
2677 
2678             Py_BEGIN_ALLOW_THREADS
2679             sipCpp->SetButtonPosition(width,height,side,spacingX);
2680             Py_END_ALLOW_THREADS
2681 
2682             if (PyErr_Occurred())
2683                 return 0;
2684 
2685             Py_INCREF(Py_None);
2686             return Py_None;
2687         }
2688     }
2689 
2690     /* Raise an exception if the arguments couldn't be parsed. */
2691     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetButtonPosition, SIP_NULLPTR);
2692 
2693     return SIP_NULLPTR;
2694 }
2695 
2696 
2697 PyDoc_STRVAR(doc_wxComboCtrl_SetCustomPaintWidth, "SetCustomPaintWidth(width)\n"
2698 "\n"
2699 "Set width, in pixels, of custom painted area in control without\n"
2700 "wxCB_READONLY style.");
2701 
2702 extern "C" {static PyObject *meth_wxComboCtrl_SetCustomPaintWidth(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetCustomPaintWidth(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2703 static PyObject *meth_wxComboCtrl_SetCustomPaintWidth(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2704 {
2705     PyObject *sipParseErr = SIP_NULLPTR;
2706 
2707     {
2708         int width;
2709          ::wxComboCtrl *sipCpp;
2710 
2711         static const char *sipKwdList[] = {
2712             sipName_width,
2713         };
2714 
2715         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxComboCtrl, &sipCpp, &width))
2716         {
2717             PyErr_Clear();
2718 
2719             Py_BEGIN_ALLOW_THREADS
2720             sipCpp->SetCustomPaintWidth(width);
2721             Py_END_ALLOW_THREADS
2722 
2723             if (PyErr_Occurred())
2724                 return 0;
2725 
2726             Py_INCREF(Py_None);
2727             return Py_None;
2728         }
2729     }
2730 
2731     /* Raise an exception if the arguments couldn't be parsed. */
2732     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetCustomPaintWidth, SIP_NULLPTR);
2733 
2734     return SIP_NULLPTR;
2735 }
2736 
2737 
2738 PyDoc_STRVAR(doc_wxComboCtrl_SetHint, "SetHint(hint) -> bool\n"
2739 "\n"
2740 "Sets a hint shown in an empty unfocused combo control.");
2741 
2742 extern "C" {static PyObject *meth_wxComboCtrl_SetHint(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetHint(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2743 static PyObject *meth_wxComboCtrl_SetHint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2744 {
2745     PyObject *sipParseErr = SIP_NULLPTR;
2746 
2747     {
2748         const  ::wxString* hint;
2749         int hintState = 0;
2750          ::wxComboCtrl *sipCpp;
2751 
2752         static const char *sipKwdList[] = {
2753             sipName_hint,
2754         };
2755 
2756         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxString,&hint, &hintState))
2757         {
2758             bool sipRes;
2759 
2760             PyErr_Clear();
2761 
2762             Py_BEGIN_ALLOW_THREADS
2763             sipRes = sipCpp->SetHint(*hint);
2764             Py_END_ALLOW_THREADS
2765             sipReleaseType(const_cast< ::wxString *>(hint),sipType_wxString,hintState);
2766 
2767             if (PyErr_Occurred())
2768                 return 0;
2769 
2770             return PyBool_FromLong(sipRes);
2771         }
2772     }
2773 
2774     /* Raise an exception if the arguments couldn't be parsed. */
2775     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetHint, SIP_NULLPTR);
2776 
2777     return SIP_NULLPTR;
2778 }
2779 
2780 
2781 PyDoc_STRVAR(doc_wxComboCtrl_SetInsertionPoint, "SetInsertionPoint(pos)\n"
2782 "\n"
2783 "Sets the insertion point in the text field.");
2784 
2785 extern "C" {static PyObject *meth_wxComboCtrl_SetInsertionPoint(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetInsertionPoint(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2786 static PyObject *meth_wxComboCtrl_SetInsertionPoint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2787 {
2788     PyObject *sipParseErr = SIP_NULLPTR;
2789 
2790     {
2791         long pos;
2792          ::wxComboCtrl *sipCpp;
2793 
2794         static const char *sipKwdList[] = {
2795             sipName_pos,
2796         };
2797 
2798         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bl", &sipSelf, sipType_wxComboCtrl, &sipCpp, &pos))
2799         {
2800             PyErr_Clear();
2801 
2802             Py_BEGIN_ALLOW_THREADS
2803             sipCpp->SetInsertionPoint(pos);
2804             Py_END_ALLOW_THREADS
2805 
2806             if (PyErr_Occurred())
2807                 return 0;
2808 
2809             Py_INCREF(Py_None);
2810             return Py_None;
2811         }
2812     }
2813 
2814     /* Raise an exception if the arguments couldn't be parsed. */
2815     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetInsertionPoint, SIP_NULLPTR);
2816 
2817     return SIP_NULLPTR;
2818 }
2819 
2820 
2821 PyDoc_STRVAR(doc_wxComboCtrl_SetInsertionPointEnd, "SetInsertionPointEnd()\n"
2822 "\n"
2823 "Sets the insertion point at the end of the combo control text field.");
2824 
2825 extern "C" {static PyObject *meth_wxComboCtrl_SetInsertionPointEnd(PyObject *, PyObject *);}
meth_wxComboCtrl_SetInsertionPointEnd(PyObject * sipSelf,PyObject * sipArgs)2826 static PyObject *meth_wxComboCtrl_SetInsertionPointEnd(PyObject *sipSelf, PyObject *sipArgs)
2827 {
2828     PyObject *sipParseErr = SIP_NULLPTR;
2829 
2830     {
2831          ::wxComboCtrl *sipCpp;
2832 
2833         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
2834         {
2835             PyErr_Clear();
2836 
2837             Py_BEGIN_ALLOW_THREADS
2838             sipCpp->SetInsertionPointEnd();
2839             Py_END_ALLOW_THREADS
2840 
2841             if (PyErr_Occurred())
2842                 return 0;
2843 
2844             Py_INCREF(Py_None);
2845             return Py_None;
2846         }
2847     }
2848 
2849     /* Raise an exception if the arguments couldn't be parsed. */
2850     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetInsertionPointEnd, SIP_NULLPTR);
2851 
2852     return SIP_NULLPTR;
2853 }
2854 
2855 
2856 PyDoc_STRVAR(doc_wxComboCtrl_SetPopupAnchor, "SetPopupAnchor(anchorSide)\n"
2857 "\n"
2858 "Set side of the control to which the popup will align itself.");
2859 
2860 extern "C" {static PyObject *meth_wxComboCtrl_SetPopupAnchor(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetPopupAnchor(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2861 static PyObject *meth_wxComboCtrl_SetPopupAnchor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2862 {
2863     PyObject *sipParseErr = SIP_NULLPTR;
2864 
2865     {
2866         int anchorSide;
2867          ::wxComboCtrl *sipCpp;
2868 
2869         static const char *sipKwdList[] = {
2870             sipName_anchorSide,
2871         };
2872 
2873         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxComboCtrl, &sipCpp, &anchorSide))
2874         {
2875             PyErr_Clear();
2876 
2877             Py_BEGIN_ALLOW_THREADS
2878             sipCpp->SetPopupAnchor(anchorSide);
2879             Py_END_ALLOW_THREADS
2880 
2881             if (PyErr_Occurred())
2882                 return 0;
2883 
2884             Py_INCREF(Py_None);
2885             return Py_None;
2886         }
2887     }
2888 
2889     /* Raise an exception if the arguments couldn't be parsed. */
2890     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetPopupAnchor, SIP_NULLPTR);
2891 
2892     return SIP_NULLPTR;
2893 }
2894 
2895 
2896 PyDoc_STRVAR(doc_wxComboCtrl_SetPopupControl, "SetPopupControl(popup)\n"
2897 "\n"
2898 "Set popup interface class derived from wxComboPopup.");
2899 
2900 extern "C" {static PyObject *meth_wxComboCtrl_SetPopupControl(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetPopupControl(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2901 static PyObject *meth_wxComboCtrl_SetPopupControl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2902 {
2903     PyObject *sipParseErr = SIP_NULLPTR;
2904 
2905     {
2906          ::wxComboPopup* popup;
2907          ::wxComboCtrl *sipCpp;
2908 
2909         static const char *sipKwdList[] = {
2910             sipName_popup,
2911         };
2912 
2913         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ:", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxComboPopup, &popup))
2914         {
2915             PyErr_Clear();
2916 
2917             Py_BEGIN_ALLOW_THREADS
2918             sipCpp->SetPopupControl(popup);
2919             Py_END_ALLOW_THREADS
2920 
2921             if (PyErr_Occurred())
2922                 return 0;
2923 
2924             Py_INCREF(Py_None);
2925             return Py_None;
2926         }
2927     }
2928 
2929     /* Raise an exception if the arguments couldn't be parsed. */
2930     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetPopupControl, SIP_NULLPTR);
2931 
2932     return SIP_NULLPTR;
2933 }
2934 
2935 
2936 PyDoc_STRVAR(doc_wxComboCtrl_SetPopupExtents, "SetPopupExtents(extLeft, extRight)\n"
2937 "\n"
2938 "Extends popup size horizontally, relative to the edges of the combo\n"
2939 "control.");
2940 
2941 extern "C" {static PyObject *meth_wxComboCtrl_SetPopupExtents(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetPopupExtents(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2942 static PyObject *meth_wxComboCtrl_SetPopupExtents(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2943 {
2944     PyObject *sipParseErr = SIP_NULLPTR;
2945 
2946     {
2947         int extLeft;
2948         int extRight;
2949          ::wxComboCtrl *sipCpp;
2950 
2951         static const char *sipKwdList[] = {
2952             sipName_extLeft,
2953             sipName_extRight,
2954         };
2955 
2956         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxComboCtrl, &sipCpp, &extLeft, &extRight))
2957         {
2958             PyErr_Clear();
2959 
2960             Py_BEGIN_ALLOW_THREADS
2961             sipCpp->SetPopupExtents(extLeft,extRight);
2962             Py_END_ALLOW_THREADS
2963 
2964             if (PyErr_Occurred())
2965                 return 0;
2966 
2967             Py_INCREF(Py_None);
2968             return Py_None;
2969         }
2970     }
2971 
2972     /* Raise an exception if the arguments couldn't be parsed. */
2973     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetPopupExtents, SIP_NULLPTR);
2974 
2975     return SIP_NULLPTR;
2976 }
2977 
2978 
2979 PyDoc_STRVAR(doc_wxComboCtrl_SetPopupMaxHeight, "SetPopupMaxHeight(height)\n"
2980 "\n"
2981 "Sets preferred maximum height of the popup.");
2982 
2983 extern "C" {static PyObject *meth_wxComboCtrl_SetPopupMaxHeight(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetPopupMaxHeight(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2984 static PyObject *meth_wxComboCtrl_SetPopupMaxHeight(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2985 {
2986     PyObject *sipParseErr = SIP_NULLPTR;
2987 
2988     {
2989         int height;
2990          ::wxComboCtrl *sipCpp;
2991 
2992         static const char *sipKwdList[] = {
2993             sipName_height,
2994         };
2995 
2996         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxComboCtrl, &sipCpp, &height))
2997         {
2998             PyErr_Clear();
2999 
3000             Py_BEGIN_ALLOW_THREADS
3001             sipCpp->SetPopupMaxHeight(height);
3002             Py_END_ALLOW_THREADS
3003 
3004             if (PyErr_Occurred())
3005                 return 0;
3006 
3007             Py_INCREF(Py_None);
3008             return Py_None;
3009         }
3010     }
3011 
3012     /* Raise an exception if the arguments couldn't be parsed. */
3013     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetPopupMaxHeight, SIP_NULLPTR);
3014 
3015     return SIP_NULLPTR;
3016 }
3017 
3018 
3019 PyDoc_STRVAR(doc_wxComboCtrl_SetPopupMinWidth, "SetPopupMinWidth(width)\n"
3020 "\n"
3021 "Sets minimum width of the popup.");
3022 
3023 extern "C" {static PyObject *meth_wxComboCtrl_SetPopupMinWidth(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetPopupMinWidth(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3024 static PyObject *meth_wxComboCtrl_SetPopupMinWidth(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3025 {
3026     PyObject *sipParseErr = SIP_NULLPTR;
3027 
3028     {
3029         int width;
3030          ::wxComboCtrl *sipCpp;
3031 
3032         static const char *sipKwdList[] = {
3033             sipName_width,
3034         };
3035 
3036         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxComboCtrl, &sipCpp, &width))
3037         {
3038             PyErr_Clear();
3039 
3040             Py_BEGIN_ALLOW_THREADS
3041             sipCpp->SetPopupMinWidth(width);
3042             Py_END_ALLOW_THREADS
3043 
3044             if (PyErr_Occurred())
3045                 return 0;
3046 
3047             Py_INCREF(Py_None);
3048             return Py_None;
3049         }
3050     }
3051 
3052     /* Raise an exception if the arguments couldn't be parsed. */
3053     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetPopupMinWidth, SIP_NULLPTR);
3054 
3055     return SIP_NULLPTR;
3056 }
3057 
3058 
3059 PyDoc_STRVAR(doc_wxComboCtrl_SetSelection, "SetSelection(frm, to)\n"
3060 "\n"
3061 "Selects the text between the two positions, in the combo control text\n"
3062 "field.");
3063 
3064 extern "C" {static PyObject *meth_wxComboCtrl_SetSelection(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetSelection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3065 static PyObject *meth_wxComboCtrl_SetSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3066 {
3067     PyObject *sipParseErr = SIP_NULLPTR;
3068 
3069     {
3070         long frm;
3071         long to;
3072          ::wxComboCtrl *sipCpp;
3073 
3074         static const char *sipKwdList[] = {
3075             sipName_frm,
3076             sipName_to,
3077         };
3078 
3079         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bll", &sipSelf, sipType_wxComboCtrl, &sipCpp, &frm, &to))
3080         {
3081             PyErr_Clear();
3082 
3083             Py_BEGIN_ALLOW_THREADS
3084             sipCpp->SetSelection(frm,to);
3085             Py_END_ALLOW_THREADS
3086 
3087             if (PyErr_Occurred())
3088                 return 0;
3089 
3090             Py_INCREF(Py_None);
3091             return Py_None;
3092         }
3093     }
3094 
3095     /* Raise an exception if the arguments couldn't be parsed. */
3096     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetSelection, SIP_NULLPTR);
3097 
3098     return SIP_NULLPTR;
3099 }
3100 
3101 
3102 PyDoc_STRVAR(doc_wxComboCtrl_SetText, "SetText(value)\n"
3103 "\n"
3104 "Sets the text for the text field without affecting the popup.");
3105 
3106 extern "C" {static PyObject *meth_wxComboCtrl_SetText(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetText(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3107 static PyObject *meth_wxComboCtrl_SetText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3108 {
3109     PyObject *sipParseErr = SIP_NULLPTR;
3110 
3111     {
3112         const  ::wxString* value;
3113         int valueState = 0;
3114          ::wxComboCtrl *sipCpp;
3115 
3116         static const char *sipKwdList[] = {
3117             sipName_value,
3118         };
3119 
3120         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxString,&value, &valueState))
3121         {
3122             PyErr_Clear();
3123 
3124             Py_BEGIN_ALLOW_THREADS
3125             sipCpp->SetText(*value);
3126             Py_END_ALLOW_THREADS
3127             sipReleaseType(const_cast< ::wxString *>(value),sipType_wxString,valueState);
3128 
3129             if (PyErr_Occurred())
3130                 return 0;
3131 
3132             Py_INCREF(Py_None);
3133             return Py_None;
3134         }
3135     }
3136 
3137     /* Raise an exception if the arguments couldn't be parsed. */
3138     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetText, SIP_NULLPTR);
3139 
3140     return SIP_NULLPTR;
3141 }
3142 
3143 
3144 PyDoc_STRVAR(doc_wxComboCtrl_SetTextCtrlStyle, "SetTextCtrlStyle(style)\n"
3145 "\n"
3146 "Set a custom window style for the embedded wxTextCtrl.");
3147 
3148 extern "C" {static PyObject *meth_wxComboCtrl_SetTextCtrlStyle(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetTextCtrlStyle(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3149 static PyObject *meth_wxComboCtrl_SetTextCtrlStyle(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3150 {
3151     PyObject *sipParseErr = SIP_NULLPTR;
3152 
3153     {
3154         int style;
3155          ::wxComboCtrl *sipCpp;
3156 
3157         static const char *sipKwdList[] = {
3158             sipName_style,
3159         };
3160 
3161         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxComboCtrl, &sipCpp, &style))
3162         {
3163             PyErr_Clear();
3164 
3165             Py_BEGIN_ALLOW_THREADS
3166             sipCpp->SetTextCtrlStyle(style);
3167             Py_END_ALLOW_THREADS
3168 
3169             if (PyErr_Occurred())
3170                 return 0;
3171 
3172             Py_INCREF(Py_None);
3173             return Py_None;
3174         }
3175     }
3176 
3177     /* Raise an exception if the arguments couldn't be parsed. */
3178     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetTextCtrlStyle, SIP_NULLPTR);
3179 
3180     return SIP_NULLPTR;
3181 }
3182 
3183 
3184 PyDoc_STRVAR(doc_wxComboCtrl_SetTextIndent, "SetTextIndent(indent)\n"
3185 "\n"
3186 "This will set the space in pixels between left edge of the control and\n"
3187 "the text, regardless whether control is read-only or not.");
3188 
3189 extern "C" {static PyObject *meth_wxComboCtrl_SetTextIndent(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetTextIndent(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3190 static PyObject *meth_wxComboCtrl_SetTextIndent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3191 {
3192     PyObject *sipParseErr = SIP_NULLPTR;
3193 
3194     {
3195         int indent;
3196          ::wxComboCtrl *sipCpp;
3197 
3198         static const char *sipKwdList[] = {
3199             sipName_indent,
3200         };
3201 
3202         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxComboCtrl, &sipCpp, &indent))
3203         {
3204             if (sipDeprecated(sipName_ComboCtrl,sipName_SetTextIndent) < 0)
3205                 return SIP_NULLPTR;
3206 
3207             PyErr_Clear();
3208 
3209             Py_BEGIN_ALLOW_THREADS
3210             sipCpp->SetTextIndent(indent);
3211             Py_END_ALLOW_THREADS
3212 
3213             if (PyErr_Occurred())
3214                 return 0;
3215 
3216             Py_INCREF(Py_None);
3217             return Py_None;
3218         }
3219     }
3220 
3221     /* Raise an exception if the arguments couldn't be parsed. */
3222     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetTextIndent, SIP_NULLPTR);
3223 
3224     return SIP_NULLPTR;
3225 }
3226 
3227 
3228 PyDoc_STRVAR(doc_wxComboCtrl_SetValue, "SetValue(value)\n"
3229 "\n"
3230 "Sets the text for the combo control text field.");
3231 
3232 extern "C" {static PyObject *meth_wxComboCtrl_SetValue(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetValue(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3233 static PyObject *meth_wxComboCtrl_SetValue(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3234 {
3235     PyObject *sipParseErr = SIP_NULLPTR;
3236 
3237     {
3238         const  ::wxString* value;
3239         int valueState = 0;
3240          ::wxComboCtrl *sipCpp;
3241 
3242         static const char *sipKwdList[] = {
3243             sipName_value,
3244         };
3245 
3246         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxString,&value, &valueState))
3247         {
3248             PyErr_Clear();
3249 
3250             Py_BEGIN_ALLOW_THREADS
3251             sipCpp->SetValue(*value);
3252             Py_END_ALLOW_THREADS
3253             sipReleaseType(const_cast< ::wxString *>(value),sipType_wxString,valueState);
3254 
3255             if (PyErr_Occurred())
3256                 return 0;
3257 
3258             Py_INCREF(Py_None);
3259             return Py_None;
3260         }
3261     }
3262 
3263     /* Raise an exception if the arguments couldn't be parsed. */
3264     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetValue, SIP_NULLPTR);
3265 
3266     return SIP_NULLPTR;
3267 }
3268 
3269 
3270 PyDoc_STRVAR(doc_wxComboCtrl_SetValueByUser, "SetValueByUser(value)\n"
3271 "\n"
3272 "Changes value of the control as if user had done it by selecting an\n"
3273 "item from a combo box drop-down list.");
3274 
3275 extern "C" {static PyObject *meth_wxComboCtrl_SetValueByUser(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetValueByUser(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3276 static PyObject *meth_wxComboCtrl_SetValueByUser(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3277 {
3278     PyObject *sipParseErr = SIP_NULLPTR;
3279 
3280     {
3281         const  ::wxString* value;
3282         int valueState = 0;
3283          ::wxComboCtrl *sipCpp;
3284 
3285         static const char *sipKwdList[] = {
3286             sipName_value,
3287         };
3288 
3289         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxString,&value, &valueState))
3290         {
3291             PyErr_Clear();
3292 
3293             Py_BEGIN_ALLOW_THREADS
3294             sipCpp->SetValueByUser(*value);
3295             Py_END_ALLOW_THREADS
3296             sipReleaseType(const_cast< ::wxString *>(value),sipType_wxString,valueState);
3297 
3298             if (PyErr_Occurred())
3299                 return 0;
3300 
3301             Py_INCREF(Py_None);
3302             return Py_None;
3303         }
3304     }
3305 
3306     /* Raise an exception if the arguments couldn't be parsed. */
3307     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetValueByUser, SIP_NULLPTR);
3308 
3309     return SIP_NULLPTR;
3310 }
3311 
3312 
3313 PyDoc_STRVAR(doc_wxComboCtrl_ShowPopup, "ShowPopup()\n"
3314 "\n"
3315 "Show the popup.");
3316 
3317 extern "C" {static PyObject *meth_wxComboCtrl_ShowPopup(PyObject *, PyObject *);}
meth_wxComboCtrl_ShowPopup(PyObject * sipSelf,PyObject * sipArgs)3318 static PyObject *meth_wxComboCtrl_ShowPopup(PyObject *sipSelf, PyObject *sipArgs)
3319 {
3320     PyObject *sipParseErr = SIP_NULLPTR;
3321     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3322 
3323     {
3324          ::wxComboCtrl *sipCpp;
3325 
3326         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3327         {
3328             if (sipDeprecated(sipName_ComboCtrl,sipName_ShowPopup) < 0)
3329                 return SIP_NULLPTR;
3330 
3331             PyErr_Clear();
3332 
3333             Py_BEGIN_ALLOW_THREADS
3334             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::ShowPopup() : sipCpp->ShowPopup());
3335             Py_END_ALLOW_THREADS
3336 
3337             if (PyErr_Occurred())
3338                 return 0;
3339 
3340             Py_INCREF(Py_None);
3341             return Py_None;
3342         }
3343     }
3344 
3345     /* Raise an exception if the arguments couldn't be parsed. */
3346     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_ShowPopup, SIP_NULLPTR);
3347 
3348     return SIP_NULLPTR;
3349 }
3350 
3351 
3352 PyDoc_STRVAR(doc_wxComboCtrl_Undo, "Undo()\n"
3353 "\n"
3354 "Undoes the last edit in the text field.");
3355 
3356 extern "C" {static PyObject *meth_wxComboCtrl_Undo(PyObject *, PyObject *);}
meth_wxComboCtrl_Undo(PyObject * sipSelf,PyObject * sipArgs)3357 static PyObject *meth_wxComboCtrl_Undo(PyObject *sipSelf, PyObject *sipArgs)
3358 {
3359     PyObject *sipParseErr = SIP_NULLPTR;
3360     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3361 
3362     {
3363          ::wxComboCtrl *sipCpp;
3364 
3365         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3366         {
3367             PyErr_Clear();
3368 
3369             Py_BEGIN_ALLOW_THREADS
3370             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::Undo() : sipCpp->Undo());
3371             Py_END_ALLOW_THREADS
3372 
3373             if (PyErr_Occurred())
3374                 return 0;
3375 
3376             Py_INCREF(Py_None);
3377             return Py_None;
3378         }
3379     }
3380 
3381     /* Raise an exception if the arguments couldn't be parsed. */
3382     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_Undo, SIP_NULLPTR);
3383 
3384     return SIP_NULLPTR;
3385 }
3386 
3387 
3388 PyDoc_STRVAR(doc_wxComboCtrl_UseAltPopupWindow, "UseAltPopupWindow(enable=True)\n"
3389 "\n"
3390 "Enable or disable usage of an alternative popup window, which\n"
3391 "guarantees ability to focus the popup control, and allows common\n"
3392 "native controls to function normally.");
3393 
3394 extern "C" {static PyObject *meth_wxComboCtrl_UseAltPopupWindow(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_UseAltPopupWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3395 static PyObject *meth_wxComboCtrl_UseAltPopupWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3396 {
3397     PyObject *sipParseErr = SIP_NULLPTR;
3398 
3399     {
3400         bool enable = 1;
3401          ::wxComboCtrl *sipCpp;
3402 
3403         static const char *sipKwdList[] = {
3404             sipName_enable,
3405         };
3406 
3407         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxComboCtrl, &sipCpp, &enable))
3408         {
3409             PyErr_Clear();
3410 
3411             Py_BEGIN_ALLOW_THREADS
3412             sipCpp->UseAltPopupWindow(enable);
3413             Py_END_ALLOW_THREADS
3414 
3415             if (PyErr_Occurred())
3416                 return 0;
3417 
3418             Py_INCREF(Py_None);
3419             return Py_None;
3420         }
3421     }
3422 
3423     /* Raise an exception if the arguments couldn't be parsed. */
3424     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_UseAltPopupWindow, SIP_NULLPTR);
3425 
3426     return SIP_NULLPTR;
3427 }
3428 
3429 
3430 PyDoc_STRVAR(doc_wxComboCtrl_GetFeatures, "GetFeatures() -> int\n"
3431 "\n"
3432 "Returns features supported by wxComboCtrl.");
3433 
3434 extern "C" {static PyObject *meth_wxComboCtrl_GetFeatures(PyObject *, PyObject *);}
meth_wxComboCtrl_GetFeatures(PyObject *,PyObject * sipArgs)3435 static PyObject *meth_wxComboCtrl_GetFeatures(PyObject *, PyObject *sipArgs)
3436 {
3437     PyObject *sipParseErr = SIP_NULLPTR;
3438 
3439     {
3440         if (sipParseArgs(&sipParseErr, sipArgs, ""))
3441         {
3442             int sipRes;
3443 
3444             PyErr_Clear();
3445 
3446             Py_BEGIN_ALLOW_THREADS
3447             sipRes =  ::wxComboCtrl::GetFeatures();
3448             Py_END_ALLOW_THREADS
3449 
3450             if (PyErr_Occurred())
3451                 return 0;
3452 
3453             return SIPLong_FromLong(sipRes);
3454         }
3455     }
3456 
3457     /* Raise an exception if the arguments couldn't be parsed. */
3458     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetFeatures, SIP_NULLPTR);
3459 
3460     return SIP_NULLPTR;
3461 }
3462 
3463 
3464 PyDoc_STRVAR(doc_wxComboCtrl_GetClientAreaOrigin, "GetClientAreaOrigin(self) -> Point");
3465 
3466 extern "C" {static PyObject *meth_wxComboCtrl_GetClientAreaOrigin(PyObject *, PyObject *);}
meth_wxComboCtrl_GetClientAreaOrigin(PyObject * sipSelf,PyObject * sipArgs)3467 static PyObject *meth_wxComboCtrl_GetClientAreaOrigin(PyObject *sipSelf, PyObject *sipArgs)
3468 {
3469     PyObject *sipParseErr = SIP_NULLPTR;
3470     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3471 
3472     {
3473         const  ::wxComboCtrl *sipCpp;
3474 
3475         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3476         {
3477              ::wxPoint*sipRes;
3478 
3479             PyErr_Clear();
3480 
3481             Py_BEGIN_ALLOW_THREADS
3482             sipRes = new  ::wxPoint((sipSelfWasArg ? sipCpp-> ::wxComboCtrl::GetClientAreaOrigin() : sipCpp->GetClientAreaOrigin()));
3483             Py_END_ALLOW_THREADS
3484 
3485             if (PyErr_Occurred())
3486                 return 0;
3487 
3488             return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
3489         }
3490     }
3491 
3492     /* Raise an exception if the arguments couldn't be parsed. */
3493     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetClientAreaOrigin, doc_wxComboCtrl_GetClientAreaOrigin);
3494 
3495     return SIP_NULLPTR;
3496 }
3497 
3498 
3499 PyDoc_STRVAR(doc_wxComboCtrl_Validate, "Validate(self) -> bool");
3500 
3501 extern "C" {static PyObject *meth_wxComboCtrl_Validate(PyObject *, PyObject *);}
meth_wxComboCtrl_Validate(PyObject * sipSelf,PyObject * sipArgs)3502 static PyObject *meth_wxComboCtrl_Validate(PyObject *sipSelf, PyObject *sipArgs)
3503 {
3504     PyObject *sipParseErr = SIP_NULLPTR;
3505     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3506 
3507     {
3508          ::wxComboCtrl *sipCpp;
3509 
3510         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3511         {
3512             bool sipRes;
3513 
3514             PyErr_Clear();
3515 
3516             Py_BEGIN_ALLOW_THREADS
3517             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::Validate() : sipCpp->Validate());
3518             Py_END_ALLOW_THREADS
3519 
3520             if (PyErr_Occurred())
3521                 return 0;
3522 
3523             return PyBool_FromLong(sipRes);
3524         }
3525     }
3526 
3527     /* Raise an exception if the arguments couldn't be parsed. */
3528     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_Validate, doc_wxComboCtrl_Validate);
3529 
3530     return SIP_NULLPTR;
3531 }
3532 
3533 
3534 PyDoc_STRVAR(doc_wxComboCtrl_TransferDataToWindow, "TransferDataToWindow(self) -> bool");
3535 
3536 extern "C" {static PyObject *meth_wxComboCtrl_TransferDataToWindow(PyObject *, PyObject *);}
meth_wxComboCtrl_TransferDataToWindow(PyObject * sipSelf,PyObject * sipArgs)3537 static PyObject *meth_wxComboCtrl_TransferDataToWindow(PyObject *sipSelf, PyObject *sipArgs)
3538 {
3539     PyObject *sipParseErr = SIP_NULLPTR;
3540     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3541 
3542     {
3543          ::wxComboCtrl *sipCpp;
3544 
3545         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3546         {
3547             bool sipRes;
3548 
3549             PyErr_Clear();
3550 
3551             Py_BEGIN_ALLOW_THREADS
3552             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::TransferDataToWindow() : sipCpp->TransferDataToWindow());
3553             Py_END_ALLOW_THREADS
3554 
3555             if (PyErr_Occurred())
3556                 return 0;
3557 
3558             return PyBool_FromLong(sipRes);
3559         }
3560     }
3561 
3562     /* Raise an exception if the arguments couldn't be parsed. */
3563     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_TransferDataToWindow, doc_wxComboCtrl_TransferDataToWindow);
3564 
3565     return SIP_NULLPTR;
3566 }
3567 
3568 
3569 PyDoc_STRVAR(doc_wxComboCtrl_TransferDataFromWindow, "TransferDataFromWindow(self) -> bool");
3570 
3571 extern "C" {static PyObject *meth_wxComboCtrl_TransferDataFromWindow(PyObject *, PyObject *);}
meth_wxComboCtrl_TransferDataFromWindow(PyObject * sipSelf,PyObject * sipArgs)3572 static PyObject *meth_wxComboCtrl_TransferDataFromWindow(PyObject *sipSelf, PyObject *sipArgs)
3573 {
3574     PyObject *sipParseErr = SIP_NULLPTR;
3575     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3576 
3577     {
3578          ::wxComboCtrl *sipCpp;
3579 
3580         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3581         {
3582             bool sipRes;
3583 
3584             PyErr_Clear();
3585 
3586             Py_BEGIN_ALLOW_THREADS
3587             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::TransferDataFromWindow() : sipCpp->TransferDataFromWindow());
3588             Py_END_ALLOW_THREADS
3589 
3590             if (PyErr_Occurred())
3591                 return 0;
3592 
3593             return PyBool_FromLong(sipRes);
3594         }
3595     }
3596 
3597     /* Raise an exception if the arguments couldn't be parsed. */
3598     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_TransferDataFromWindow, doc_wxComboCtrl_TransferDataFromWindow);
3599 
3600     return SIP_NULLPTR;
3601 }
3602 
3603 
3604 PyDoc_STRVAR(doc_wxComboCtrl_InitDialog, "InitDialog(self)");
3605 
3606 extern "C" {static PyObject *meth_wxComboCtrl_InitDialog(PyObject *, PyObject *);}
meth_wxComboCtrl_InitDialog(PyObject * sipSelf,PyObject * sipArgs)3607 static PyObject *meth_wxComboCtrl_InitDialog(PyObject *sipSelf, PyObject *sipArgs)
3608 {
3609     PyObject *sipParseErr = SIP_NULLPTR;
3610     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3611 
3612     {
3613          ::wxComboCtrl *sipCpp;
3614 
3615         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3616         {
3617             PyErr_Clear();
3618 
3619             Py_BEGIN_ALLOW_THREADS
3620             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::InitDialog() : sipCpp->InitDialog());
3621             Py_END_ALLOW_THREADS
3622 
3623             if (PyErr_Occurred())
3624                 return 0;
3625 
3626             Py_INCREF(Py_None);
3627             return Py_None;
3628         }
3629     }
3630 
3631     /* Raise an exception if the arguments couldn't be parsed. */
3632     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_InitDialog, doc_wxComboCtrl_InitDialog);
3633 
3634     return SIP_NULLPTR;
3635 }
3636 
3637 
3638 PyDoc_STRVAR(doc_wxComboCtrl_AcceptsFocus, "AcceptsFocus(self) -> bool");
3639 
3640 extern "C" {static PyObject *meth_wxComboCtrl_AcceptsFocus(PyObject *, PyObject *);}
meth_wxComboCtrl_AcceptsFocus(PyObject * sipSelf,PyObject * sipArgs)3641 static PyObject *meth_wxComboCtrl_AcceptsFocus(PyObject *sipSelf, PyObject *sipArgs)
3642 {
3643     PyObject *sipParseErr = SIP_NULLPTR;
3644     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3645 
3646     {
3647         const  ::wxComboCtrl *sipCpp;
3648 
3649         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3650         {
3651             bool sipRes;
3652 
3653             PyErr_Clear();
3654 
3655             Py_BEGIN_ALLOW_THREADS
3656             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::AcceptsFocus() : sipCpp->AcceptsFocus());
3657             Py_END_ALLOW_THREADS
3658 
3659             if (PyErr_Occurred())
3660                 return 0;
3661 
3662             return PyBool_FromLong(sipRes);
3663         }
3664     }
3665 
3666     /* Raise an exception if the arguments couldn't be parsed. */
3667     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_AcceptsFocus, doc_wxComboCtrl_AcceptsFocus);
3668 
3669     return SIP_NULLPTR;
3670 }
3671 
3672 
3673 PyDoc_STRVAR(doc_wxComboCtrl_AcceptsFocusRecursively, "AcceptsFocusRecursively(self) -> bool");
3674 
3675 extern "C" {static PyObject *meth_wxComboCtrl_AcceptsFocusRecursively(PyObject *, PyObject *);}
meth_wxComboCtrl_AcceptsFocusRecursively(PyObject * sipSelf,PyObject * sipArgs)3676 static PyObject *meth_wxComboCtrl_AcceptsFocusRecursively(PyObject *sipSelf, PyObject *sipArgs)
3677 {
3678     PyObject *sipParseErr = SIP_NULLPTR;
3679     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3680 
3681     {
3682         const  ::wxComboCtrl *sipCpp;
3683 
3684         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3685         {
3686             bool sipRes;
3687 
3688             PyErr_Clear();
3689 
3690             Py_BEGIN_ALLOW_THREADS
3691             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::AcceptsFocusRecursively() : sipCpp->AcceptsFocusRecursively());
3692             Py_END_ALLOW_THREADS
3693 
3694             if (PyErr_Occurred())
3695                 return 0;
3696 
3697             return PyBool_FromLong(sipRes);
3698         }
3699     }
3700 
3701     /* Raise an exception if the arguments couldn't be parsed. */
3702     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_AcceptsFocusRecursively, doc_wxComboCtrl_AcceptsFocusRecursively);
3703 
3704     return SIP_NULLPTR;
3705 }
3706 
3707 
3708 PyDoc_STRVAR(doc_wxComboCtrl_AcceptsFocusFromKeyboard, "AcceptsFocusFromKeyboard(self) -> bool");
3709 
3710 extern "C" {static PyObject *meth_wxComboCtrl_AcceptsFocusFromKeyboard(PyObject *, PyObject *);}
meth_wxComboCtrl_AcceptsFocusFromKeyboard(PyObject * sipSelf,PyObject * sipArgs)3711 static PyObject *meth_wxComboCtrl_AcceptsFocusFromKeyboard(PyObject *sipSelf, PyObject *sipArgs)
3712 {
3713     PyObject *sipParseErr = SIP_NULLPTR;
3714     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3715 
3716     {
3717         const  ::wxComboCtrl *sipCpp;
3718 
3719         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3720         {
3721             bool sipRes;
3722 
3723             PyErr_Clear();
3724 
3725             Py_BEGIN_ALLOW_THREADS
3726             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::AcceptsFocusFromKeyboard() : sipCpp->AcceptsFocusFromKeyboard());
3727             Py_END_ALLOW_THREADS
3728 
3729             if (PyErr_Occurred())
3730                 return 0;
3731 
3732             return PyBool_FromLong(sipRes);
3733         }
3734     }
3735 
3736     /* Raise an exception if the arguments couldn't be parsed. */
3737     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_AcceptsFocusFromKeyboard, doc_wxComboCtrl_AcceptsFocusFromKeyboard);
3738 
3739     return SIP_NULLPTR;
3740 }
3741 
3742 
3743 PyDoc_STRVAR(doc_wxComboCtrl_AddChild, "AddChild(self, child: WindowBase)");
3744 
3745 extern "C" {static PyObject *meth_wxComboCtrl_AddChild(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_AddChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3746 static PyObject *meth_wxComboCtrl_AddChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3747 {
3748     PyObject *sipParseErr = SIP_NULLPTR;
3749     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3750 
3751     {
3752          ::wxWindowBase* child;
3753          ::wxComboCtrl *sipCpp;
3754 
3755         static const char *sipKwdList[] = {
3756             sipName_child,
3757         };
3758 
3759         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxWindowBase, &child))
3760         {
3761             PyErr_Clear();
3762 
3763             Py_BEGIN_ALLOW_THREADS
3764             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::AddChild(child) : sipCpp->AddChild(child));
3765             Py_END_ALLOW_THREADS
3766 
3767             if (PyErr_Occurred())
3768                 return 0;
3769 
3770             Py_INCREF(Py_None);
3771             return Py_None;
3772         }
3773     }
3774 
3775     /* Raise an exception if the arguments couldn't be parsed. */
3776     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_AddChild, doc_wxComboCtrl_AddChild);
3777 
3778     return SIP_NULLPTR;
3779 }
3780 
3781 
3782 PyDoc_STRVAR(doc_wxComboCtrl_RemoveChild, "RemoveChild(self, child: WindowBase)");
3783 
3784 extern "C" {static PyObject *meth_wxComboCtrl_RemoveChild(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_RemoveChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3785 static PyObject *meth_wxComboCtrl_RemoveChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3786 {
3787     PyObject *sipParseErr = SIP_NULLPTR;
3788     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3789 
3790     {
3791          ::wxWindowBase* child;
3792          ::wxComboCtrl *sipCpp;
3793 
3794         static const char *sipKwdList[] = {
3795             sipName_child,
3796         };
3797 
3798         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxWindowBase, &child))
3799         {
3800             PyErr_Clear();
3801 
3802             Py_BEGIN_ALLOW_THREADS
3803             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::RemoveChild(child) : sipCpp->RemoveChild(child));
3804             Py_END_ALLOW_THREADS
3805 
3806             if (PyErr_Occurred())
3807                 return 0;
3808 
3809             Py_INCREF(Py_None);
3810             return Py_None;
3811         }
3812     }
3813 
3814     /* Raise an exception if the arguments couldn't be parsed. */
3815     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_RemoveChild, doc_wxComboCtrl_RemoveChild);
3816 
3817     return SIP_NULLPTR;
3818 }
3819 
3820 
3821 PyDoc_STRVAR(doc_wxComboCtrl_InheritAttributes, "InheritAttributes(self)");
3822 
3823 extern "C" {static PyObject *meth_wxComboCtrl_InheritAttributes(PyObject *, PyObject *);}
meth_wxComboCtrl_InheritAttributes(PyObject * sipSelf,PyObject * sipArgs)3824 static PyObject *meth_wxComboCtrl_InheritAttributes(PyObject *sipSelf, PyObject *sipArgs)
3825 {
3826     PyObject *sipParseErr = SIP_NULLPTR;
3827     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3828 
3829     {
3830          ::wxComboCtrl *sipCpp;
3831 
3832         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3833         {
3834             PyErr_Clear();
3835 
3836             Py_BEGIN_ALLOW_THREADS
3837             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::InheritAttributes() : sipCpp->InheritAttributes());
3838             Py_END_ALLOW_THREADS
3839 
3840             if (PyErr_Occurred())
3841                 return 0;
3842 
3843             Py_INCREF(Py_None);
3844             return Py_None;
3845         }
3846     }
3847 
3848     /* Raise an exception if the arguments couldn't be parsed. */
3849     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_InheritAttributes, doc_wxComboCtrl_InheritAttributes);
3850 
3851     return SIP_NULLPTR;
3852 }
3853 
3854 
3855 PyDoc_STRVAR(doc_wxComboCtrl_ShouldInheritColours, "ShouldInheritColours(self) -> bool");
3856 
3857 extern "C" {static PyObject *meth_wxComboCtrl_ShouldInheritColours(PyObject *, PyObject *);}
meth_wxComboCtrl_ShouldInheritColours(PyObject * sipSelf,PyObject * sipArgs)3858 static PyObject *meth_wxComboCtrl_ShouldInheritColours(PyObject *sipSelf, PyObject *sipArgs)
3859 {
3860     PyObject *sipParseErr = SIP_NULLPTR;
3861     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3862 
3863     {
3864         const  ::wxComboCtrl *sipCpp;
3865 
3866         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3867         {
3868             bool sipRes;
3869 
3870             PyErr_Clear();
3871 
3872             Py_BEGIN_ALLOW_THREADS
3873             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::ShouldInheritColours() : sipCpp->ShouldInheritColours());
3874             Py_END_ALLOW_THREADS
3875 
3876             if (PyErr_Occurred())
3877                 return 0;
3878 
3879             return PyBool_FromLong(sipRes);
3880         }
3881     }
3882 
3883     /* Raise an exception if the arguments couldn't be parsed. */
3884     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_ShouldInheritColours, doc_wxComboCtrl_ShouldInheritColours);
3885 
3886     return SIP_NULLPTR;
3887 }
3888 
3889 
3890 PyDoc_STRVAR(doc_wxComboCtrl_OnInternalIdle, "OnInternalIdle(self)");
3891 
3892 extern "C" {static PyObject *meth_wxComboCtrl_OnInternalIdle(PyObject *, PyObject *);}
meth_wxComboCtrl_OnInternalIdle(PyObject * sipSelf,PyObject * sipArgs)3893 static PyObject *meth_wxComboCtrl_OnInternalIdle(PyObject *sipSelf, PyObject *sipArgs)
3894 {
3895     PyObject *sipParseErr = SIP_NULLPTR;
3896     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3897 
3898     {
3899          ::wxComboCtrl *sipCpp;
3900 
3901         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3902         {
3903             PyErr_Clear();
3904 
3905             Py_BEGIN_ALLOW_THREADS
3906             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::OnInternalIdle() : sipCpp->OnInternalIdle());
3907             Py_END_ALLOW_THREADS
3908 
3909             if (PyErr_Occurred())
3910                 return 0;
3911 
3912             Py_INCREF(Py_None);
3913             return Py_None;
3914         }
3915     }
3916 
3917     /* Raise an exception if the arguments couldn't be parsed. */
3918     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_OnInternalIdle, doc_wxComboCtrl_OnInternalIdle);
3919 
3920     return SIP_NULLPTR;
3921 }
3922 
3923 
3924 PyDoc_STRVAR(doc_wxComboCtrl_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Window");
3925 
3926 extern "C" {static PyObject *meth_wxComboCtrl_GetMainWindowOfCompositeControl(PyObject *, PyObject *);}
meth_wxComboCtrl_GetMainWindowOfCompositeControl(PyObject * sipSelf,PyObject * sipArgs)3927 static PyObject *meth_wxComboCtrl_GetMainWindowOfCompositeControl(PyObject *sipSelf, PyObject *sipArgs)
3928 {
3929     PyObject *sipParseErr = SIP_NULLPTR;
3930     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3931 
3932     {
3933          ::wxComboCtrl *sipCpp;
3934 
3935         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
3936         {
3937              ::wxWindow*sipRes;
3938 
3939             PyErr_Clear();
3940 
3941             Py_BEGIN_ALLOW_THREADS
3942             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::GetMainWindowOfCompositeControl() : sipCpp->GetMainWindowOfCompositeControl());
3943             Py_END_ALLOW_THREADS
3944 
3945             if (PyErr_Occurred())
3946                 return 0;
3947 
3948             return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
3949         }
3950     }
3951 
3952     /* Raise an exception if the arguments couldn't be parsed. */
3953     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetMainWindowOfCompositeControl, doc_wxComboCtrl_GetMainWindowOfCompositeControl);
3954 
3955     return SIP_NULLPTR;
3956 }
3957 
3958 
3959 PyDoc_STRVAR(doc_wxComboCtrl_InformFirstDirection, "InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool");
3960 
3961 extern "C" {static PyObject *meth_wxComboCtrl_InformFirstDirection(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_InformFirstDirection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3962 static PyObject *meth_wxComboCtrl_InformFirstDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3963 {
3964     PyObject *sipParseErr = SIP_NULLPTR;
3965     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3966 
3967     {
3968         int direction;
3969         int size;
3970         int availableOtherDir;
3971          ::wxComboCtrl *sipCpp;
3972 
3973         static const char *sipKwdList[] = {
3974             sipName_direction,
3975             sipName_size,
3976             sipName_availableOtherDir,
3977         };
3978 
3979         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxComboCtrl, &sipCpp, &direction, &size, &availableOtherDir))
3980         {
3981             bool sipRes;
3982 
3983             PyErr_Clear();
3984 
3985             Py_BEGIN_ALLOW_THREADS
3986             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::InformFirstDirection(direction,size,availableOtherDir) : sipCpp->InformFirstDirection(direction,size,availableOtherDir));
3987             Py_END_ALLOW_THREADS
3988 
3989             if (PyErr_Occurred())
3990                 return 0;
3991 
3992             return PyBool_FromLong(sipRes);
3993         }
3994     }
3995 
3996     /* Raise an exception if the arguments couldn't be parsed. */
3997     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_InformFirstDirection, doc_wxComboCtrl_InformFirstDirection);
3998 
3999     return SIP_NULLPTR;
4000 }
4001 
4002 
4003 PyDoc_STRVAR(doc_wxComboCtrl_SetCanFocus, "SetCanFocus(self, canFocus: bool)");
4004 
4005 extern "C" {static PyObject *meth_wxComboCtrl_SetCanFocus(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetCanFocus(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4006 static PyObject *meth_wxComboCtrl_SetCanFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4007 {
4008     PyObject *sipParseErr = SIP_NULLPTR;
4009     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4010 
4011     {
4012         bool canFocus;
4013          ::wxComboCtrl *sipCpp;
4014 
4015         static const char *sipKwdList[] = {
4016             sipName_canFocus,
4017         };
4018 
4019         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxComboCtrl, &sipCpp, &canFocus))
4020         {
4021             PyErr_Clear();
4022 
4023             Py_BEGIN_ALLOW_THREADS
4024             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::SetCanFocus(canFocus) : sipCpp->SetCanFocus(canFocus));
4025             Py_END_ALLOW_THREADS
4026 
4027             if (PyErr_Occurred())
4028                 return 0;
4029 
4030             Py_INCREF(Py_None);
4031             return Py_None;
4032         }
4033     }
4034 
4035     /* Raise an exception if the arguments couldn't be parsed. */
4036     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetCanFocus, doc_wxComboCtrl_SetCanFocus);
4037 
4038     return SIP_NULLPTR;
4039 }
4040 
4041 
4042 PyDoc_STRVAR(doc_wxComboCtrl_Destroy, "Destroy(self) -> bool");
4043 
4044 extern "C" {static PyObject *meth_wxComboCtrl_Destroy(PyObject *, PyObject *);}
meth_wxComboCtrl_Destroy(PyObject * sipSelf,PyObject * sipArgs)4045 static PyObject *meth_wxComboCtrl_Destroy(PyObject *sipSelf, PyObject *sipArgs)
4046 {
4047     PyObject *sipParseErr = SIP_NULLPTR;
4048     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4049 
4050     {
4051          ::wxComboCtrl *sipCpp;
4052 
4053         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4054         {
4055             bool sipRes;
4056 
4057             PyErr_Clear();
4058 
4059             Py_BEGIN_ALLOW_THREADS
4060             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::Destroy() : sipCpp->Destroy());
4061             Py_END_ALLOW_THREADS
4062 
4063             if (PyErr_Occurred())
4064                 return 0;
4065 
4066             return PyBool_FromLong(sipRes);
4067         }
4068     }
4069 
4070     /* Raise an exception if the arguments couldn't be parsed. */
4071     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_Destroy, doc_wxComboCtrl_Destroy);
4072 
4073     return SIP_NULLPTR;
4074 }
4075 
4076 
4077 PyDoc_STRVAR(doc_wxComboCtrl_SetValidator, "SetValidator(self, validator: Validator)");
4078 
4079 extern "C" {static PyObject *meth_wxComboCtrl_SetValidator(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_SetValidator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4080 static PyObject *meth_wxComboCtrl_SetValidator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4081 {
4082     PyObject *sipParseErr = SIP_NULLPTR;
4083     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4084 
4085     {
4086         const  ::wxValidator* validator;
4087          ::wxComboCtrl *sipCpp;
4088 
4089         static const char *sipKwdList[] = {
4090             sipName_validator,
4091         };
4092 
4093         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxValidator, &validator))
4094         {
4095             PyErr_Clear();
4096 
4097             Py_BEGIN_ALLOW_THREADS
4098             (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::SetValidator(*validator) : sipCpp->SetValidator(*validator));
4099             Py_END_ALLOW_THREADS
4100 
4101             if (PyErr_Occurred())
4102                 return 0;
4103 
4104             Py_INCREF(Py_None);
4105             return Py_None;
4106         }
4107     }
4108 
4109     /* Raise an exception if the arguments couldn't be parsed. */
4110     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_SetValidator, doc_wxComboCtrl_SetValidator);
4111 
4112     return SIP_NULLPTR;
4113 }
4114 
4115 
4116 PyDoc_STRVAR(doc_wxComboCtrl_GetValidator, "GetValidator(self) -> Validator");
4117 
4118 extern "C" {static PyObject *meth_wxComboCtrl_GetValidator(PyObject *, PyObject *);}
meth_wxComboCtrl_GetValidator(PyObject * sipSelf,PyObject * sipArgs)4119 static PyObject *meth_wxComboCtrl_GetValidator(PyObject *sipSelf, PyObject *sipArgs)
4120 {
4121     PyObject *sipParseErr = SIP_NULLPTR;
4122     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4123 
4124     {
4125          ::wxComboCtrl *sipCpp;
4126 
4127         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4128         {
4129              ::wxValidator*sipRes;
4130 
4131             PyErr_Clear();
4132 
4133             Py_BEGIN_ALLOW_THREADS
4134             sipRes = (sipSelfWasArg ? sipCpp-> ::wxComboCtrl::GetValidator() : sipCpp->GetValidator());
4135             Py_END_ALLOW_THREADS
4136 
4137             if (PyErr_Occurred())
4138                 return 0;
4139 
4140             return sipConvertFromType(sipRes,sipType_wxValidator,SIP_NULLPTR);
4141         }
4142     }
4143 
4144     /* Raise an exception if the arguments couldn't be parsed. */
4145     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetValidator, doc_wxComboCtrl_GetValidator);
4146 
4147     return SIP_NULLPTR;
4148 }
4149 
4150 
4151 PyDoc_STRVAR(doc_wxComboCtrl_ProcessEvent, "ProcessEvent(self, event: Event) -> bool");
4152 
4153 extern "C" {static PyObject *meth_wxComboCtrl_ProcessEvent(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_ProcessEvent(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4154 static PyObject *meth_wxComboCtrl_ProcessEvent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4155 {
4156     PyObject *sipParseErr = SIP_NULLPTR;
4157     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4158 
4159     {
4160          ::wxEvent* event;
4161         sipwxComboCtrl *sipCpp;
4162 
4163         static const char *sipKwdList[] = {
4164             sipName_event,
4165         };
4166 
4167         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxEvent, &event))
4168         {
4169             bool sipRes;
4170 
4171             PyErr_Clear();
4172 
4173             Py_BEGIN_ALLOW_THREADS
4174             sipRes = sipCpp->sipProtectVirt_ProcessEvent(sipSelfWasArg,*event);
4175             Py_END_ALLOW_THREADS
4176 
4177             if (PyErr_Occurred())
4178                 return 0;
4179 
4180             return PyBool_FromLong(sipRes);
4181         }
4182     }
4183 
4184     /* Raise an exception if the arguments couldn't be parsed. */
4185     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_ProcessEvent, doc_wxComboCtrl_ProcessEvent);
4186 
4187     return SIP_NULLPTR;
4188 }
4189 
4190 
4191 PyDoc_STRVAR(doc_wxComboCtrl_DoEnable, "DoEnable(self, enable: bool)");
4192 
4193 extern "C" {static PyObject *meth_wxComboCtrl_DoEnable(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_DoEnable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4194 static PyObject *meth_wxComboCtrl_DoEnable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4195 {
4196     PyObject *sipParseErr = SIP_NULLPTR;
4197     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4198 
4199     {
4200         bool enable;
4201         sipwxComboCtrl *sipCpp;
4202 
4203         static const char *sipKwdList[] = {
4204             sipName_enable,
4205         };
4206 
4207         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxComboCtrl, &sipCpp, &enable))
4208         {
4209             PyErr_Clear();
4210 
4211             Py_BEGIN_ALLOW_THREADS
4212             sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg,enable);
4213             Py_END_ALLOW_THREADS
4214 
4215             if (PyErr_Occurred())
4216                 return 0;
4217 
4218             Py_INCREF(Py_None);
4219             return Py_None;
4220         }
4221     }
4222 
4223     /* Raise an exception if the arguments couldn't be parsed. */
4224     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoEnable, doc_wxComboCtrl_DoEnable);
4225 
4226     return SIP_NULLPTR;
4227 }
4228 
4229 
4230 PyDoc_STRVAR(doc_wxComboCtrl_DoGetPosition, "DoGetPosition(self) -> Tuple[int, int]");
4231 
4232 extern "C" {static PyObject *meth_wxComboCtrl_DoGetPosition(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_DoGetPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4233 static PyObject *meth_wxComboCtrl_DoGetPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4234 {
4235     PyObject *sipParseErr = SIP_NULLPTR;
4236     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4237 
4238     {
4239         int x;
4240         int y;
4241         const sipwxComboCtrl *sipCpp;
4242 
4243         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4244         {
4245             PyErr_Clear();
4246 
4247             Py_BEGIN_ALLOW_THREADS
4248             sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg,&x,&y);
4249             Py_END_ALLOW_THREADS
4250 
4251             if (PyErr_Occurred())
4252                 return 0;
4253 
4254             return sipBuildResult(0,"(ii)",x,y);
4255         }
4256     }
4257 
4258     /* Raise an exception if the arguments couldn't be parsed. */
4259     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoGetPosition, doc_wxComboCtrl_DoGetPosition);
4260 
4261     return SIP_NULLPTR;
4262 }
4263 
4264 
4265 PyDoc_STRVAR(doc_wxComboCtrl_DoGetSize, "DoGetSize(self) -> Tuple[int, int]");
4266 
4267 extern "C" {static PyObject *meth_wxComboCtrl_DoGetSize(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_DoGetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4268 static PyObject *meth_wxComboCtrl_DoGetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4269 {
4270     PyObject *sipParseErr = SIP_NULLPTR;
4271     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4272 
4273     {
4274         int width;
4275         int height;
4276         const sipwxComboCtrl *sipCpp;
4277 
4278         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4279         {
4280             PyErr_Clear();
4281 
4282             Py_BEGIN_ALLOW_THREADS
4283             sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg,&width,&height);
4284             Py_END_ALLOW_THREADS
4285 
4286             if (PyErr_Occurred())
4287                 return 0;
4288 
4289             return sipBuildResult(0,"(ii)",width,height);
4290         }
4291     }
4292 
4293     /* Raise an exception if the arguments couldn't be parsed. */
4294     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoGetSize, doc_wxComboCtrl_DoGetSize);
4295 
4296     return SIP_NULLPTR;
4297 }
4298 
4299 
4300 PyDoc_STRVAR(doc_wxComboCtrl_DoGetClientSize, "DoGetClientSize(self) -> Tuple[int, int]");
4301 
4302 extern "C" {static PyObject *meth_wxComboCtrl_DoGetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_DoGetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4303 static PyObject *meth_wxComboCtrl_DoGetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4304 {
4305     PyObject *sipParseErr = SIP_NULLPTR;
4306     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4307 
4308     {
4309         int width;
4310         int height;
4311         const sipwxComboCtrl *sipCpp;
4312 
4313         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4314         {
4315             PyErr_Clear();
4316 
4317             Py_BEGIN_ALLOW_THREADS
4318             sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg,&width,&height);
4319             Py_END_ALLOW_THREADS
4320 
4321             if (PyErr_Occurred())
4322                 return 0;
4323 
4324             return sipBuildResult(0,"(ii)",width,height);
4325         }
4326     }
4327 
4328     /* Raise an exception if the arguments couldn't be parsed. */
4329     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoGetClientSize, doc_wxComboCtrl_DoGetClientSize);
4330 
4331     return SIP_NULLPTR;
4332 }
4333 
4334 
4335 PyDoc_STRVAR(doc_wxComboCtrl_DoGetBestSize, "DoGetBestSize(self) -> Size");
4336 
4337 extern "C" {static PyObject *meth_wxComboCtrl_DoGetBestSize(PyObject *, PyObject *);}
meth_wxComboCtrl_DoGetBestSize(PyObject * sipSelf,PyObject * sipArgs)4338 static PyObject *meth_wxComboCtrl_DoGetBestSize(PyObject *sipSelf, PyObject *sipArgs)
4339 {
4340     PyObject *sipParseErr = SIP_NULLPTR;
4341     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4342 
4343     {
4344         const sipwxComboCtrl *sipCpp;
4345 
4346         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4347         {
4348              ::wxSize*sipRes;
4349 
4350             PyErr_Clear();
4351 
4352             Py_BEGIN_ALLOW_THREADS
4353             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg));
4354             Py_END_ALLOW_THREADS
4355 
4356             if (PyErr_Occurred())
4357                 return 0;
4358 
4359             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
4360         }
4361     }
4362 
4363     /* Raise an exception if the arguments couldn't be parsed. */
4364     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoGetBestSize, doc_wxComboCtrl_DoGetBestSize);
4365 
4366     return SIP_NULLPTR;
4367 }
4368 
4369 
4370 PyDoc_STRVAR(doc_wxComboCtrl_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size");
4371 
4372 extern "C" {static PyObject *meth_wxComboCtrl_DoGetBestClientSize(PyObject *, PyObject *);}
meth_wxComboCtrl_DoGetBestClientSize(PyObject * sipSelf,PyObject * sipArgs)4373 static PyObject *meth_wxComboCtrl_DoGetBestClientSize(PyObject *sipSelf, PyObject *sipArgs)
4374 {
4375     PyObject *sipParseErr = SIP_NULLPTR;
4376     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4377 
4378     {
4379         const sipwxComboCtrl *sipCpp;
4380 
4381         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4382         {
4383              ::wxSize*sipRes;
4384 
4385             PyErr_Clear();
4386 
4387             Py_BEGIN_ALLOW_THREADS
4388             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg));
4389             Py_END_ALLOW_THREADS
4390 
4391             if (PyErr_Occurred())
4392                 return 0;
4393 
4394             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
4395         }
4396     }
4397 
4398     /* Raise an exception if the arguments couldn't be parsed. */
4399     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoGetBestClientSize, doc_wxComboCtrl_DoGetBestClientSize);
4400 
4401     return SIP_NULLPTR;
4402 }
4403 
4404 
4405 PyDoc_STRVAR(doc_wxComboCtrl_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)");
4406 
4407 extern "C" {static PyObject *meth_wxComboCtrl_DoSetSize(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_DoSetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4408 static PyObject *meth_wxComboCtrl_DoSetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4409 {
4410     PyObject *sipParseErr = SIP_NULLPTR;
4411     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4412 
4413     {
4414         int x;
4415         int y;
4416         int width;
4417         int height;
4418         int sizeFlags;
4419         sipwxComboCtrl *sipCpp;
4420 
4421         static const char *sipKwdList[] = {
4422             sipName_x,
4423             sipName_y,
4424             sipName_width,
4425             sipName_height,
4426             sipName_sizeFlags,
4427         };
4428 
4429         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType_wxComboCtrl, &sipCpp, &x, &y, &width, &height, &sizeFlags))
4430         {
4431             PyErr_Clear();
4432 
4433             Py_BEGIN_ALLOW_THREADS
4434             sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg,x,y,width,height,sizeFlags);
4435             Py_END_ALLOW_THREADS
4436 
4437             if (PyErr_Occurred())
4438                 return 0;
4439 
4440             Py_INCREF(Py_None);
4441             return Py_None;
4442         }
4443     }
4444 
4445     /* Raise an exception if the arguments couldn't be parsed. */
4446     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoSetSize, doc_wxComboCtrl_DoSetSize);
4447 
4448     return SIP_NULLPTR;
4449 }
4450 
4451 
4452 PyDoc_STRVAR(doc_wxComboCtrl_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)");
4453 
4454 extern "C" {static PyObject *meth_wxComboCtrl_DoSetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_DoSetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4455 static PyObject *meth_wxComboCtrl_DoSetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4456 {
4457     PyObject *sipParseErr = SIP_NULLPTR;
4458     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4459 
4460     {
4461         int width;
4462         int height;
4463         sipwxComboCtrl *sipCpp;
4464 
4465         static const char *sipKwdList[] = {
4466             sipName_width,
4467             sipName_height,
4468         };
4469 
4470         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxComboCtrl, &sipCpp, &width, &height))
4471         {
4472             PyErr_Clear();
4473 
4474             Py_BEGIN_ALLOW_THREADS
4475             sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg,width,height);
4476             Py_END_ALLOW_THREADS
4477 
4478             if (PyErr_Occurred())
4479                 return 0;
4480 
4481             Py_INCREF(Py_None);
4482             return Py_None;
4483         }
4484     }
4485 
4486     /* Raise an exception if the arguments couldn't be parsed. */
4487     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoSetClientSize, doc_wxComboCtrl_DoSetClientSize);
4488 
4489     return SIP_NULLPTR;
4490 }
4491 
4492 
4493 PyDoc_STRVAR(doc_wxComboCtrl_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)");
4494 
4495 extern "C" {static PyObject *meth_wxComboCtrl_DoSetSizeHints(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_DoSetSizeHints(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4496 static PyObject *meth_wxComboCtrl_DoSetSizeHints(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4497 {
4498     PyObject *sipParseErr = SIP_NULLPTR;
4499     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4500 
4501     {
4502         int minW;
4503         int minH;
4504         int maxW;
4505         int maxH;
4506         int incW;
4507         int incH;
4508         sipwxComboCtrl *sipCpp;
4509 
4510         static const char *sipKwdList[] = {
4511             sipName_minW,
4512             sipName_minH,
4513             sipName_maxW,
4514             sipName_maxH,
4515             sipName_incW,
4516             sipName_incH,
4517         };
4518 
4519         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType_wxComboCtrl, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH))
4520         {
4521             PyErr_Clear();
4522 
4523             Py_BEGIN_ALLOW_THREADS
4524             sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg,minW,minH,maxW,maxH,incW,incH);
4525             Py_END_ALLOW_THREADS
4526 
4527             if (PyErr_Occurred())
4528                 return 0;
4529 
4530             Py_INCREF(Py_None);
4531             return Py_None;
4532         }
4533     }
4534 
4535     /* Raise an exception if the arguments couldn't be parsed. */
4536     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoSetSizeHints, doc_wxComboCtrl_DoSetSizeHints);
4537 
4538     return SIP_NULLPTR;
4539 }
4540 
4541 
4542 PyDoc_STRVAR(doc_wxComboCtrl_DoGetBorderSize, "DoGetBorderSize(self) -> Size");
4543 
4544 extern "C" {static PyObject *meth_wxComboCtrl_DoGetBorderSize(PyObject *, PyObject *);}
meth_wxComboCtrl_DoGetBorderSize(PyObject * sipSelf,PyObject * sipArgs)4545 static PyObject *meth_wxComboCtrl_DoGetBorderSize(PyObject *sipSelf, PyObject *sipArgs)
4546 {
4547     PyObject *sipParseErr = SIP_NULLPTR;
4548     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4549 
4550     {
4551         const sipwxComboCtrl *sipCpp;
4552 
4553         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4554         {
4555              ::wxSize*sipRes;
4556 
4557             PyErr_Clear();
4558 
4559             Py_BEGIN_ALLOW_THREADS
4560             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBorderSize(sipSelfWasArg));
4561             Py_END_ALLOW_THREADS
4562 
4563             if (PyErr_Occurred())
4564                 return 0;
4565 
4566             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
4567         }
4568     }
4569 
4570     /* Raise an exception if the arguments couldn't be parsed. */
4571     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoGetBorderSize, doc_wxComboCtrl_DoGetBorderSize);
4572 
4573     return SIP_NULLPTR;
4574 }
4575 
4576 
4577 PyDoc_STRVAR(doc_wxComboCtrl_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)");
4578 
4579 extern "C" {static PyObject *meth_wxComboCtrl_DoMoveWindow(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_DoMoveWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4580 static PyObject *meth_wxComboCtrl_DoMoveWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4581 {
4582     PyObject *sipParseErr = SIP_NULLPTR;
4583     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4584 
4585     {
4586         int x;
4587         int y;
4588         int width;
4589         int height;
4590         sipwxComboCtrl *sipCpp;
4591 
4592         static const char *sipKwdList[] = {
4593             sipName_x,
4594             sipName_y,
4595             sipName_width,
4596             sipName_height,
4597         };
4598 
4599         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxComboCtrl, &sipCpp, &x, &y, &width, &height))
4600         {
4601             PyErr_Clear();
4602 
4603             Py_BEGIN_ALLOW_THREADS
4604             sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg,x,y,width,height);
4605             Py_END_ALLOW_THREADS
4606 
4607             if (PyErr_Occurred())
4608                 return 0;
4609 
4610             Py_INCREF(Py_None);
4611             return Py_None;
4612         }
4613     }
4614 
4615     /* Raise an exception if the arguments couldn't be parsed. */
4616     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoMoveWindow, doc_wxComboCtrl_DoMoveWindow);
4617 
4618     return SIP_NULLPTR;
4619 }
4620 
4621 
4622 PyDoc_STRVAR(doc_wxComboCtrl_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)");
4623 
4624 extern "C" {static PyObject *meth_wxComboCtrl_DoSetWindowVariant(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_DoSetWindowVariant(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4625 static PyObject *meth_wxComboCtrl_DoSetWindowVariant(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4626 {
4627     PyObject *sipParseErr = SIP_NULLPTR;
4628     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4629 
4630     {
4631          ::wxWindowVariant variant;
4632         sipwxComboCtrl *sipCpp;
4633 
4634         static const char *sipKwdList[] = {
4635             sipName_variant,
4636         };
4637 
4638         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxWindowVariant, &variant))
4639         {
4640             PyErr_Clear();
4641 
4642             Py_BEGIN_ALLOW_THREADS
4643             sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg,variant);
4644             Py_END_ALLOW_THREADS
4645 
4646             if (PyErr_Occurred())
4647                 return 0;
4648 
4649             Py_INCREF(Py_None);
4650             return Py_None;
4651         }
4652     }
4653 
4654     /* Raise an exception if the arguments couldn't be parsed. */
4655     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoSetWindowVariant, doc_wxComboCtrl_DoSetWindowVariant);
4656 
4657     return SIP_NULLPTR;
4658 }
4659 
4660 
4661 PyDoc_STRVAR(doc_wxComboCtrl_GetDefaultBorder, "GetDefaultBorder(self) -> Border");
4662 
4663 extern "C" {static PyObject *meth_wxComboCtrl_GetDefaultBorder(PyObject *, PyObject *);}
meth_wxComboCtrl_GetDefaultBorder(PyObject * sipSelf,PyObject * sipArgs)4664 static PyObject *meth_wxComboCtrl_GetDefaultBorder(PyObject *sipSelf, PyObject *sipArgs)
4665 {
4666     PyObject *sipParseErr = SIP_NULLPTR;
4667     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4668 
4669     {
4670         const sipwxComboCtrl *sipCpp;
4671 
4672         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4673         {
4674              ::wxBorder sipRes;
4675 
4676             PyErr_Clear();
4677 
4678             Py_BEGIN_ALLOW_THREADS
4679             sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg);
4680             Py_END_ALLOW_THREADS
4681 
4682             if (PyErr_Occurred())
4683                 return 0;
4684 
4685             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
4686         }
4687     }
4688 
4689     /* Raise an exception if the arguments couldn't be parsed. */
4690     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetDefaultBorder, doc_wxComboCtrl_GetDefaultBorder);
4691 
4692     return SIP_NULLPTR;
4693 }
4694 
4695 
4696 PyDoc_STRVAR(doc_wxComboCtrl_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border");
4697 
4698 extern "C" {static PyObject *meth_wxComboCtrl_GetDefaultBorderForControl(PyObject *, PyObject *);}
meth_wxComboCtrl_GetDefaultBorderForControl(PyObject * sipSelf,PyObject * sipArgs)4699 static PyObject *meth_wxComboCtrl_GetDefaultBorderForControl(PyObject *sipSelf, PyObject *sipArgs)
4700 {
4701     PyObject *sipParseErr = SIP_NULLPTR;
4702     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4703 
4704     {
4705         const sipwxComboCtrl *sipCpp;
4706 
4707         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4708         {
4709              ::wxBorder sipRes;
4710 
4711             PyErr_Clear();
4712 
4713             Py_BEGIN_ALLOW_THREADS
4714             sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg);
4715             Py_END_ALLOW_THREADS
4716 
4717             if (PyErr_Occurred())
4718                 return 0;
4719 
4720             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
4721         }
4722     }
4723 
4724     /* Raise an exception if the arguments couldn't be parsed. */
4725     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetDefaultBorderForControl, doc_wxComboCtrl_GetDefaultBorderForControl);
4726 
4727     return SIP_NULLPTR;
4728 }
4729 
4730 
4731 PyDoc_STRVAR(doc_wxComboCtrl_DoFreeze, "DoFreeze(self)");
4732 
4733 extern "C" {static PyObject *meth_wxComboCtrl_DoFreeze(PyObject *, PyObject *);}
meth_wxComboCtrl_DoFreeze(PyObject * sipSelf,PyObject * sipArgs)4734 static PyObject *meth_wxComboCtrl_DoFreeze(PyObject *sipSelf, PyObject *sipArgs)
4735 {
4736     PyObject *sipParseErr = SIP_NULLPTR;
4737     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4738 
4739     {
4740         sipwxComboCtrl *sipCpp;
4741 
4742         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4743         {
4744             PyErr_Clear();
4745 
4746             Py_BEGIN_ALLOW_THREADS
4747             sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg);
4748             Py_END_ALLOW_THREADS
4749 
4750             if (PyErr_Occurred())
4751                 return 0;
4752 
4753             Py_INCREF(Py_None);
4754             return Py_None;
4755         }
4756     }
4757 
4758     /* Raise an exception if the arguments couldn't be parsed. */
4759     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoFreeze, doc_wxComboCtrl_DoFreeze);
4760 
4761     return SIP_NULLPTR;
4762 }
4763 
4764 
4765 PyDoc_STRVAR(doc_wxComboCtrl_DoThaw, "DoThaw(self)");
4766 
4767 extern "C" {static PyObject *meth_wxComboCtrl_DoThaw(PyObject *, PyObject *);}
meth_wxComboCtrl_DoThaw(PyObject * sipSelf,PyObject * sipArgs)4768 static PyObject *meth_wxComboCtrl_DoThaw(PyObject *sipSelf, PyObject *sipArgs)
4769 {
4770     PyObject *sipParseErr = SIP_NULLPTR;
4771     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4772 
4773     {
4774         sipwxComboCtrl *sipCpp;
4775 
4776         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4777         {
4778             PyErr_Clear();
4779 
4780             Py_BEGIN_ALLOW_THREADS
4781             sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg);
4782             Py_END_ALLOW_THREADS
4783 
4784             if (PyErr_Occurred())
4785                 return 0;
4786 
4787             Py_INCREF(Py_None);
4788             return Py_None;
4789         }
4790     }
4791 
4792     /* Raise an exception if the arguments couldn't be parsed. */
4793     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoThaw, doc_wxComboCtrl_DoThaw);
4794 
4795     return SIP_NULLPTR;
4796 }
4797 
4798 
4799 PyDoc_STRVAR(doc_wxComboCtrl_HasTransparentBackground, "HasTransparentBackground(self) -> bool");
4800 
4801 extern "C" {static PyObject *meth_wxComboCtrl_HasTransparentBackground(PyObject *, PyObject *);}
meth_wxComboCtrl_HasTransparentBackground(PyObject * sipSelf,PyObject * sipArgs)4802 static PyObject *meth_wxComboCtrl_HasTransparentBackground(PyObject *sipSelf, PyObject *sipArgs)
4803 {
4804     PyObject *sipParseErr = SIP_NULLPTR;
4805     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4806 
4807     {
4808         sipwxComboCtrl *sipCpp;
4809 
4810         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxComboCtrl, &sipCpp))
4811         {
4812             bool sipRes;
4813 
4814             PyErr_Clear();
4815 
4816             Py_BEGIN_ALLOW_THREADS
4817             sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg);
4818             Py_END_ALLOW_THREADS
4819 
4820             if (PyErr_Occurred())
4821                 return 0;
4822 
4823             return PyBool_FromLong(sipRes);
4824         }
4825     }
4826 
4827     /* Raise an exception if the arguments couldn't be parsed. */
4828     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_HasTransparentBackground, doc_wxComboCtrl_HasTransparentBackground);
4829 
4830     return SIP_NULLPTR;
4831 }
4832 
4833 
4834 PyDoc_STRVAR(doc_wxComboCtrl_TryBefore, "TryBefore(self, event: Event) -> bool");
4835 
4836 extern "C" {static PyObject *meth_wxComboCtrl_TryBefore(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_TryBefore(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4837 static PyObject *meth_wxComboCtrl_TryBefore(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4838 {
4839     PyObject *sipParseErr = SIP_NULLPTR;
4840     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4841 
4842     {
4843          ::wxEvent* event;
4844         sipwxComboCtrl *sipCpp;
4845 
4846         static const char *sipKwdList[] = {
4847             sipName_event,
4848         };
4849 
4850         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxEvent, &event))
4851         {
4852             bool sipRes;
4853 
4854             PyErr_Clear();
4855 
4856             Py_BEGIN_ALLOW_THREADS
4857             sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg,*event);
4858             Py_END_ALLOW_THREADS
4859 
4860             if (PyErr_Occurred())
4861                 return 0;
4862 
4863             return PyBool_FromLong(sipRes);
4864         }
4865     }
4866 
4867     /* Raise an exception if the arguments couldn't be parsed. */
4868     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_TryBefore, doc_wxComboCtrl_TryBefore);
4869 
4870     return SIP_NULLPTR;
4871 }
4872 
4873 
4874 PyDoc_STRVAR(doc_wxComboCtrl_TryAfter, "TryAfter(self, event: Event) -> bool");
4875 
4876 extern "C" {static PyObject *meth_wxComboCtrl_TryAfter(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_TryAfter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4877 static PyObject *meth_wxComboCtrl_TryAfter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4878 {
4879     PyObject *sipParseErr = SIP_NULLPTR;
4880     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4881 
4882     {
4883          ::wxEvent* event;
4884         sipwxComboCtrl *sipCpp;
4885 
4886         static const char *sipKwdList[] = {
4887             sipName_event,
4888         };
4889 
4890         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxEvent, &event))
4891         {
4892             bool sipRes;
4893 
4894             PyErr_Clear();
4895 
4896             Py_BEGIN_ALLOW_THREADS
4897             sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg,*event);
4898             Py_END_ALLOW_THREADS
4899 
4900             if (PyErr_Occurred())
4901                 return 0;
4902 
4903             return PyBool_FromLong(sipRes);
4904         }
4905     }
4906 
4907     /* Raise an exception if the arguments couldn't be parsed. */
4908     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_TryAfter, doc_wxComboCtrl_TryAfter);
4909 
4910     return SIP_NULLPTR;
4911 }
4912 
4913 
4914 PyDoc_STRVAR(doc_wxComboCtrl_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes");
4915 
4916 extern "C" {static PyObject *meth_wxComboCtrl_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_GetClassDefaultAttributes(PyObject *,PyObject * sipArgs,PyObject * sipKwds)4917 static PyObject *meth_wxComboCtrl_GetClassDefaultAttributes(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
4918 {
4919     PyObject *sipParseErr = SIP_NULLPTR;
4920 
4921     {
4922          ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL;
4923 
4924         static const char *sipKwdList[] = {
4925             sipName_variant,
4926         };
4927 
4928         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant))
4929         {
4930              ::wxVisualAttributes*sipRes;
4931 
4932         if (!wxPyCheckForApp()) return NULL;
4933 
4934             PyErr_Clear();
4935 
4936             Py_BEGIN_ALLOW_THREADS
4937             sipRes = new  ::wxVisualAttributes( ::wxComboCtrl::GetClassDefaultAttributes(variant));
4938             Py_END_ALLOW_THREADS
4939 
4940             if (PyErr_Occurred())
4941                 return 0;
4942 
4943             return sipConvertFromNewType(sipRes,sipType_wxVisualAttributes,SIP_NULLPTR);
4944         }
4945     }
4946 
4947     /* Raise an exception if the arguments couldn't be parsed. */
4948     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_GetClassDefaultAttributes, SIP_NULLPTR);
4949 
4950     return SIP_NULLPTR;
4951 }
4952 
4953 
4954 PyDoc_STRVAR(doc_wxComboCtrl_AnimateShow, "AnimateShow(rect, flags) -> bool\n"
4955 "\n"
4956 "This member function is not normally called in application code.");
4957 
4958 extern "C" {static PyObject *meth_wxComboCtrl_AnimateShow(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_AnimateShow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4959 static PyObject *meth_wxComboCtrl_AnimateShow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4960 {
4961     PyObject *sipParseErr = SIP_NULLPTR;
4962     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4963 
4964     {
4965         const  ::wxRect* rect;
4966         int rectState = 0;
4967         int flags;
4968         sipwxComboCtrl *sipCpp;
4969 
4970         static const char *sipKwdList[] = {
4971             sipName_rect,
4972             sipName_flags,
4973         };
4974 
4975         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1i", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxRect, &rect, &rectState, &flags))
4976         {
4977             bool sipRes;
4978 
4979             PyErr_Clear();
4980 
4981             Py_BEGIN_ALLOW_THREADS
4982             sipRes = sipCpp->sipProtectVirt_AnimateShow(sipSelfWasArg,*rect,flags);
4983             Py_END_ALLOW_THREADS
4984             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
4985 
4986             if (PyErr_Occurred())
4987                 return 0;
4988 
4989             return PyBool_FromLong(sipRes);
4990         }
4991     }
4992 
4993     /* Raise an exception if the arguments couldn't be parsed. */
4994     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_AnimateShow, SIP_NULLPTR);
4995 
4996     return SIP_NULLPTR;
4997 }
4998 
4999 
5000 PyDoc_STRVAR(doc_wxComboCtrl_DoSetPopupControl, "DoSetPopupControl(popup)\n"
5001 "\n"
5002 "This member function is not normally called in application code.");
5003 
5004 extern "C" {static PyObject *meth_wxComboCtrl_DoSetPopupControl(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_DoSetPopupControl(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5005 static PyObject *meth_wxComboCtrl_DoSetPopupControl(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5006 {
5007     PyObject *sipParseErr = SIP_NULLPTR;
5008     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5009 
5010     {
5011          ::wxComboPopup* popup;
5012         sipwxComboCtrl *sipCpp;
5013 
5014         static const char *sipKwdList[] = {
5015             sipName_popup,
5016         };
5017 
5018         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxComboPopup, &popup))
5019         {
5020             PyErr_Clear();
5021 
5022             Py_BEGIN_ALLOW_THREADS
5023             sipCpp->sipProtectVirt_DoSetPopupControl(sipSelfWasArg,popup);
5024             Py_END_ALLOW_THREADS
5025 
5026             if (PyErr_Occurred())
5027                 return 0;
5028 
5029             Py_INCREF(Py_None);
5030             return Py_None;
5031         }
5032     }
5033 
5034     /* Raise an exception if the arguments couldn't be parsed. */
5035     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoSetPopupControl, SIP_NULLPTR);
5036 
5037     return SIP_NULLPTR;
5038 }
5039 
5040 
5041 PyDoc_STRVAR(doc_wxComboCtrl_DoShowPopup, "DoShowPopup(rect, flags)\n"
5042 "\n"
5043 "This member function is not normally called in application code.");
5044 
5045 extern "C" {static PyObject *meth_wxComboCtrl_DoShowPopup(PyObject *, PyObject *, PyObject *);}
meth_wxComboCtrl_DoShowPopup(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)5046 static PyObject *meth_wxComboCtrl_DoShowPopup(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
5047 {
5048     PyObject *sipParseErr = SIP_NULLPTR;
5049     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
5050 
5051     {
5052         const  ::wxRect* rect;
5053         int rectState = 0;
5054         int flags;
5055         sipwxComboCtrl *sipCpp;
5056 
5057         static const char *sipKwdList[] = {
5058             sipName_rect,
5059             sipName_flags,
5060         };
5061 
5062         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1i", &sipSelf, sipType_wxComboCtrl, &sipCpp, sipType_wxRect, &rect, &rectState, &flags))
5063         {
5064             PyErr_Clear();
5065 
5066             Py_BEGIN_ALLOW_THREADS
5067             sipCpp->sipProtectVirt_DoShowPopup(sipSelfWasArg,*rect,flags);
5068             Py_END_ALLOW_THREADS
5069             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
5070 
5071             if (PyErr_Occurred())
5072                 return 0;
5073 
5074             Py_INCREF(Py_None);
5075             return Py_None;
5076         }
5077     }
5078 
5079     /* Raise an exception if the arguments couldn't be parsed. */
5080     sipNoMethod(sipParseErr, sipName_ComboCtrl, sipName_DoShowPopup, SIP_NULLPTR);
5081 
5082     return SIP_NULLPTR;
5083 }
5084 
5085 
5086 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
5087 extern "C" {static void *cast_wxComboCtrl(void *, const sipTypeDef *);}
cast_wxComboCtrl(void * sipCppV,const sipTypeDef * targetType)5088 static void *cast_wxComboCtrl(void *sipCppV, const sipTypeDef *targetType)
5089 {
5090      ::wxComboCtrl *sipCpp = reinterpret_cast< ::wxComboCtrl *>(sipCppV);
5091 
5092     if (targetType == sipType_wxControl)
5093         return static_cast< ::wxControl *>(sipCpp);
5094 
5095     if (targetType == sipType_wxWindow)
5096         return static_cast< ::wxWindow *>(sipCpp);
5097 
5098     if (targetType == sipType_wxWindowBase)
5099         return static_cast< ::wxWindowBase *>(sipCpp);
5100 
5101     if (targetType == sipType_wxEvtHandler)
5102         return static_cast< ::wxEvtHandler *>(sipCpp);
5103 
5104     if (targetType == sipType_wxObject)
5105         return static_cast< ::wxObject *>(sipCpp);
5106 
5107     if (targetType == sipType_wxTrackable)
5108         return static_cast< ::wxTrackable *>(sipCpp);
5109 
5110     if (targetType == sipType_wxTextEntry)
5111         return static_cast< ::wxTextEntry *>(sipCpp);
5112 
5113     return sipCppV;
5114 }
5115 
5116 
5117 /* Call the instance's destructor. */
5118 extern "C" {static void release_wxComboCtrl(void *, int);}
release_wxComboCtrl(void * sipCppV,int sipState)5119 static void release_wxComboCtrl(void *sipCppV, int sipState)
5120 {
5121     Py_BEGIN_ALLOW_THREADS
5122 
5123     if (sipState & SIP_DERIVED_CLASS)
5124         delete reinterpret_cast<sipwxComboCtrl *>(sipCppV);
5125     else
5126         delete reinterpret_cast< ::wxComboCtrl *>(sipCppV);
5127 
5128     Py_END_ALLOW_THREADS
5129 }
5130 
5131 
5132 extern "C" {static void dealloc_wxComboCtrl(sipSimpleWrapper *);}
dealloc_wxComboCtrl(sipSimpleWrapper * sipSelf)5133 static void dealloc_wxComboCtrl(sipSimpleWrapper *sipSelf)
5134 {
5135     if (sipIsDerivedClass(sipSelf))
5136         reinterpret_cast<sipwxComboCtrl *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
5137 
5138     if (sipIsOwnedByPython(sipSelf))
5139     {
5140         release_wxComboCtrl(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
5141     }
5142 }
5143 
5144 
5145 extern "C" {static void *init_type_wxComboCtrl(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxComboCtrl(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject ** sipOwner,PyObject ** sipParseErr)5146 static void *init_type_wxComboCtrl(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
5147 {
5148     sipwxComboCtrl *sipCpp = SIP_NULLPTR;
5149 
5150     {
5151         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
5152         {
5153 
5154         if (!wxPyCheckForApp()) return NULL;
5155 
5156             PyErr_Clear();
5157 
5158             Py_BEGIN_ALLOW_THREADS
5159             sipCpp = new sipwxComboCtrl();
5160             Py_END_ALLOW_THREADS
5161 
5162             if (PyErr_Occurred())
5163             {
5164                 delete sipCpp;
5165                 return SIP_NULLPTR;
5166             }
5167 
5168             sipCpp->sipPySelf = sipSelf;
5169 
5170             return sipCpp;
5171         }
5172     }
5173 
5174     {
5175          ::wxWindow* parent;
5176          ::wxWindowID id = wxID_ANY;
5177         const  ::wxString& valuedef = wxEmptyString;
5178         const  ::wxString* value = &valuedef;
5179         int valueState = 0;
5180         const  ::wxPoint& posdef = wxDefaultPosition;
5181         const  ::wxPoint* pos = &posdef;
5182         int posState = 0;
5183         const  ::wxSize& sizedef = wxDefaultSize;
5184         const  ::wxSize* size = &sizedef;
5185         int sizeState = 0;
5186         long style = 0;
5187         const  ::wxValidator& validatordef = wxDefaultValidator;
5188         const  ::wxValidator* validator = &validatordef;
5189         const  ::wxString& namedef = wxComboBoxNameStr;
5190         const  ::wxString* name = &namedef;
5191         int nameState = 0;
5192 
5193         static const char *sipKwdList[] = {
5194             sipName_parent,
5195             sipName_id,
5196             sipName_value,
5197             sipName_pos,
5198             sipName_size,
5199             sipName_style,
5200             sipName_validator,
5201             sipName_name,
5202         };
5203 
5204         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|iJ1J1J1lJ9J1", sipType_wxWindow, &parent, sipOwner, &id, sipType_wxString,&value, &valueState, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style, sipType_wxValidator, &validator, sipType_wxString,&name, &nameState))
5205         {
5206 
5207         if (!wxPyCheckForApp()) return NULL;
5208 
5209             PyErr_Clear();
5210 
5211             Py_BEGIN_ALLOW_THREADS
5212             sipCpp = new sipwxComboCtrl(parent,id,*value,*pos,*size,style,*validator,*name);
5213             Py_END_ALLOW_THREADS
5214             sipReleaseType(const_cast< ::wxString *>(value),sipType_wxString,valueState);
5215             sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
5216             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
5217             sipReleaseType(const_cast< ::wxString *>(name),sipType_wxString,nameState);
5218 
5219             if (PyErr_Occurred())
5220             {
5221                 delete sipCpp;
5222                 return SIP_NULLPTR;
5223             }
5224 
5225             sipCpp->sipPySelf = sipSelf;
5226 
5227             return sipCpp;
5228         }
5229     }
5230 
5231     return SIP_NULLPTR;
5232 }
5233 
5234 
5235 /* Define this type's super-types. */
5236 static sipEncodedTypeDef supers_wxComboCtrl[] = {{89, 255, 0}, {525, 255, 1}};
5237 
5238 
5239 static PyMethodDef methods_wxComboCtrl[] = {
5240     {SIP_MLNAME_CAST(sipName_AcceptsFocus), meth_wxComboCtrl_AcceptsFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_AcceptsFocus)},
5241     {SIP_MLNAME_CAST(sipName_AcceptsFocusFromKeyboard), meth_wxComboCtrl_AcceptsFocusFromKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_AcceptsFocusFromKeyboard)},
5242     {SIP_MLNAME_CAST(sipName_AcceptsFocusRecursively), meth_wxComboCtrl_AcceptsFocusRecursively, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_AcceptsFocusRecursively)},
5243     {SIP_MLNAME_CAST(sipName_AddChild), SIP_MLMETH_CAST(meth_wxComboCtrl_AddChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_AddChild)},
5244     {SIP_MLNAME_CAST(sipName_AnimateShow), SIP_MLMETH_CAST(meth_wxComboCtrl_AnimateShow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_AnimateShow)},
5245     {SIP_MLNAME_CAST(sipName_Copy), meth_wxComboCtrl_Copy, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_Copy)},
5246     {SIP_MLNAME_CAST(sipName_Create), SIP_MLMETH_CAST(meth_wxComboCtrl_Create), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_Create)},
5247     {SIP_MLNAME_CAST(sipName_Cut), meth_wxComboCtrl_Cut, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_Cut)},
5248     {SIP_MLNAME_CAST(sipName_Destroy), meth_wxComboCtrl_Destroy, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_Destroy)},
5249     {SIP_MLNAME_CAST(sipName_Dismiss), meth_wxComboCtrl_Dismiss, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_Dismiss)},
5250     {SIP_MLNAME_CAST(sipName_DoEnable), SIP_MLMETH_CAST(meth_wxComboCtrl_DoEnable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoEnable)},
5251     {SIP_MLNAME_CAST(sipName_DoFreeze), meth_wxComboCtrl_DoFreeze, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoFreeze)},
5252     {SIP_MLNAME_CAST(sipName_DoGetBestClientSize), meth_wxComboCtrl_DoGetBestClientSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoGetBestClientSize)},
5253     {SIP_MLNAME_CAST(sipName_DoGetBestSize), meth_wxComboCtrl_DoGetBestSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoGetBestSize)},
5254     {SIP_MLNAME_CAST(sipName_DoGetBorderSize), meth_wxComboCtrl_DoGetBorderSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoGetBorderSize)},
5255     {SIP_MLNAME_CAST(sipName_DoGetClientSize), SIP_MLMETH_CAST(meth_wxComboCtrl_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoGetClientSize)},
5256     {SIP_MLNAME_CAST(sipName_DoGetPosition), SIP_MLMETH_CAST(meth_wxComboCtrl_DoGetPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoGetPosition)},
5257     {SIP_MLNAME_CAST(sipName_DoGetSize), SIP_MLMETH_CAST(meth_wxComboCtrl_DoGetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoGetSize)},
5258     {SIP_MLNAME_CAST(sipName_DoMoveWindow), SIP_MLMETH_CAST(meth_wxComboCtrl_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoMoveWindow)},
5259     {SIP_MLNAME_CAST(sipName_DoSetClientSize), SIP_MLMETH_CAST(meth_wxComboCtrl_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoSetClientSize)},
5260     {SIP_MLNAME_CAST(sipName_DoSetPopupControl), SIP_MLMETH_CAST(meth_wxComboCtrl_DoSetPopupControl), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoSetPopupControl)},
5261     {SIP_MLNAME_CAST(sipName_DoSetSize), SIP_MLMETH_CAST(meth_wxComboCtrl_DoSetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoSetSize)},
5262     {SIP_MLNAME_CAST(sipName_DoSetSizeHints), SIP_MLMETH_CAST(meth_wxComboCtrl_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoSetSizeHints)},
5263     {SIP_MLNAME_CAST(sipName_DoSetWindowVariant), SIP_MLMETH_CAST(meth_wxComboCtrl_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoSetWindowVariant)},
5264     {SIP_MLNAME_CAST(sipName_DoShowPopup), SIP_MLMETH_CAST(meth_wxComboCtrl_DoShowPopup), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoShowPopup)},
5265     {SIP_MLNAME_CAST(sipName_DoThaw), meth_wxComboCtrl_DoThaw, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_DoThaw)},
5266     {SIP_MLNAME_CAST(sipName_EnablePopupAnimation), SIP_MLMETH_CAST(meth_wxComboCtrl_EnablePopupAnimation), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_EnablePopupAnimation)},
5267     {SIP_MLNAME_CAST(sipName_GetBitmapDisabled), meth_wxComboCtrl_GetBitmapDisabled, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetBitmapDisabled)},
5268     {SIP_MLNAME_CAST(sipName_GetBitmapHover), meth_wxComboCtrl_GetBitmapHover, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetBitmapHover)},
5269     {SIP_MLNAME_CAST(sipName_GetBitmapNormal), meth_wxComboCtrl_GetBitmapNormal, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetBitmapNormal)},
5270     {SIP_MLNAME_CAST(sipName_GetBitmapPressed), meth_wxComboCtrl_GetBitmapPressed, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetBitmapPressed)},
5271     {SIP_MLNAME_CAST(sipName_GetButtonSize), meth_wxComboCtrl_GetButtonSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetButtonSize)},
5272     {SIP_MLNAME_CAST(sipName_GetClassDefaultAttributes), SIP_MLMETH_CAST(meth_wxComboCtrl_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetClassDefaultAttributes)},
5273     {SIP_MLNAME_CAST(sipName_GetClientAreaOrigin), meth_wxComboCtrl_GetClientAreaOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetClientAreaOrigin)},
5274     {SIP_MLNAME_CAST(sipName_GetCustomPaintWidth), meth_wxComboCtrl_GetCustomPaintWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetCustomPaintWidth)},
5275     {SIP_MLNAME_CAST(sipName_GetDefaultBorder), meth_wxComboCtrl_GetDefaultBorder, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetDefaultBorder)},
5276     {SIP_MLNAME_CAST(sipName_GetDefaultBorderForControl), meth_wxComboCtrl_GetDefaultBorderForControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetDefaultBorderForControl)},
5277     {SIP_MLNAME_CAST(sipName_GetFeatures), meth_wxComboCtrl_GetFeatures, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetFeatures)},
5278     {SIP_MLNAME_CAST(sipName_GetHint), meth_wxComboCtrl_GetHint, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetHint)},
5279     {SIP_MLNAME_CAST(sipName_GetInsertionPoint), meth_wxComboCtrl_GetInsertionPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetInsertionPoint)},
5280     {SIP_MLNAME_CAST(sipName_GetLastPosition), meth_wxComboCtrl_GetLastPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetLastPosition)},
5281     {SIP_MLNAME_CAST(sipName_GetMainWindowOfCompositeControl), meth_wxComboCtrl_GetMainWindowOfCompositeControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetMainWindowOfCompositeControl)},
5282     {SIP_MLNAME_CAST(sipName_GetMargins), meth_wxComboCtrl_GetMargins, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetMargins)},
5283     {SIP_MLNAME_CAST(sipName_GetPopupControl), meth_wxComboCtrl_GetPopupControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetPopupControl)},
5284     {SIP_MLNAME_CAST(sipName_GetPopupWindow), meth_wxComboCtrl_GetPopupWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetPopupWindow)},
5285     {SIP_MLNAME_CAST(sipName_GetTextCtrl), meth_wxComboCtrl_GetTextCtrl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetTextCtrl)},
5286     {SIP_MLNAME_CAST(sipName_GetTextIndent), meth_wxComboCtrl_GetTextIndent, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetTextIndent)},
5287     {SIP_MLNAME_CAST(sipName_GetTextRect), meth_wxComboCtrl_GetTextRect, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetTextRect)},
5288     {SIP_MLNAME_CAST(sipName_GetValidator), meth_wxComboCtrl_GetValidator, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetValidator)},
5289     {SIP_MLNAME_CAST(sipName_GetValue), meth_wxComboCtrl_GetValue, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_GetValue)},
5290     {SIP_MLNAME_CAST(sipName_HasTransparentBackground), meth_wxComboCtrl_HasTransparentBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_HasTransparentBackground)},
5291     {SIP_MLNAME_CAST(sipName_HidePopup), SIP_MLMETH_CAST(meth_wxComboCtrl_HidePopup), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_HidePopup)},
5292     {SIP_MLNAME_CAST(sipName_InformFirstDirection), SIP_MLMETH_CAST(meth_wxComboCtrl_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_InformFirstDirection)},
5293     {SIP_MLNAME_CAST(sipName_InheritAttributes), meth_wxComboCtrl_InheritAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_InheritAttributes)},
5294     {SIP_MLNAME_CAST(sipName_InitDialog), meth_wxComboCtrl_InitDialog, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_InitDialog)},
5295     {SIP_MLNAME_CAST(sipName_IsKeyPopupToggle), SIP_MLMETH_CAST(meth_wxComboCtrl_IsKeyPopupToggle), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_IsKeyPopupToggle)},
5296     {SIP_MLNAME_CAST(sipName_IsPopupShown), meth_wxComboCtrl_IsPopupShown, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_IsPopupShown)},
5297     {SIP_MLNAME_CAST(sipName_IsPopupWindowState), SIP_MLMETH_CAST(meth_wxComboCtrl_IsPopupWindowState), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_IsPopupWindowState)},
5298     {SIP_MLNAME_CAST(sipName_OnButtonClick), meth_wxComboCtrl_OnButtonClick, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_OnButtonClick)},
5299     {SIP_MLNAME_CAST(sipName_OnInternalIdle), meth_wxComboCtrl_OnInternalIdle, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_OnInternalIdle)},
5300     {SIP_MLNAME_CAST(sipName_Paste), meth_wxComboCtrl_Paste, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_Paste)},
5301     {SIP_MLNAME_CAST(sipName_Popup), meth_wxComboCtrl_Popup, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_Popup)},
5302     {SIP_MLNAME_CAST(sipName_PrepareBackground), SIP_MLMETH_CAST(meth_wxComboCtrl_PrepareBackground), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_PrepareBackground)},
5303     {SIP_MLNAME_CAST(sipName_ProcessEvent), SIP_MLMETH_CAST(meth_wxComboCtrl_ProcessEvent), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_ProcessEvent)},
5304     {SIP_MLNAME_CAST(sipName_Remove), SIP_MLMETH_CAST(meth_wxComboCtrl_Remove), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_Remove)},
5305     {SIP_MLNAME_CAST(sipName_RemoveChild), SIP_MLMETH_CAST(meth_wxComboCtrl_RemoveChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_RemoveChild)},
5306     {SIP_MLNAME_CAST(sipName_Replace), SIP_MLMETH_CAST(meth_wxComboCtrl_Replace), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_Replace)},
5307     {SIP_MLNAME_CAST(sipName_SendDestroyEvent), meth_wxComboCtrl_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
5308     {SIP_MLNAME_CAST(sipName_SetButtonBitmaps), SIP_MLMETH_CAST(meth_wxComboCtrl_SetButtonBitmaps), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetButtonBitmaps)},
5309     {SIP_MLNAME_CAST(sipName_SetButtonPosition), SIP_MLMETH_CAST(meth_wxComboCtrl_SetButtonPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetButtonPosition)},
5310     {SIP_MLNAME_CAST(sipName_SetCanFocus), SIP_MLMETH_CAST(meth_wxComboCtrl_SetCanFocus), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetCanFocus)},
5311     {SIP_MLNAME_CAST(sipName_SetCustomPaintWidth), SIP_MLMETH_CAST(meth_wxComboCtrl_SetCustomPaintWidth), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetCustomPaintWidth)},
5312     {SIP_MLNAME_CAST(sipName_SetHint), SIP_MLMETH_CAST(meth_wxComboCtrl_SetHint), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetHint)},
5313     {SIP_MLNAME_CAST(sipName_SetInsertionPoint), SIP_MLMETH_CAST(meth_wxComboCtrl_SetInsertionPoint), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetInsertionPoint)},
5314     {SIP_MLNAME_CAST(sipName_SetInsertionPointEnd), meth_wxComboCtrl_SetInsertionPointEnd, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetInsertionPointEnd)},
5315     {SIP_MLNAME_CAST(sipName_SetMargins), SIP_MLMETH_CAST(meth_wxComboCtrl_SetMargins), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetMargins)},
5316     {SIP_MLNAME_CAST(sipName_SetPopupAnchor), SIP_MLMETH_CAST(meth_wxComboCtrl_SetPopupAnchor), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetPopupAnchor)},
5317     {SIP_MLNAME_CAST(sipName_SetPopupControl), SIP_MLMETH_CAST(meth_wxComboCtrl_SetPopupControl), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetPopupControl)},
5318     {SIP_MLNAME_CAST(sipName_SetPopupExtents), SIP_MLMETH_CAST(meth_wxComboCtrl_SetPopupExtents), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetPopupExtents)},
5319     {SIP_MLNAME_CAST(sipName_SetPopupMaxHeight), SIP_MLMETH_CAST(meth_wxComboCtrl_SetPopupMaxHeight), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetPopupMaxHeight)},
5320     {SIP_MLNAME_CAST(sipName_SetPopupMinWidth), SIP_MLMETH_CAST(meth_wxComboCtrl_SetPopupMinWidth), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetPopupMinWidth)},
5321     {SIP_MLNAME_CAST(sipName_SetSelection), SIP_MLMETH_CAST(meth_wxComboCtrl_SetSelection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetSelection)},
5322     {SIP_MLNAME_CAST(sipName_SetText), SIP_MLMETH_CAST(meth_wxComboCtrl_SetText), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetText)},
5323     {SIP_MLNAME_CAST(sipName_SetTextCtrlStyle), SIP_MLMETH_CAST(meth_wxComboCtrl_SetTextCtrlStyle), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetTextCtrlStyle)},
5324     {SIP_MLNAME_CAST(sipName_SetTextIndent), SIP_MLMETH_CAST(meth_wxComboCtrl_SetTextIndent), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetTextIndent)},
5325     {SIP_MLNAME_CAST(sipName_SetValidator), SIP_MLMETH_CAST(meth_wxComboCtrl_SetValidator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetValidator)},
5326     {SIP_MLNAME_CAST(sipName_SetValue), SIP_MLMETH_CAST(meth_wxComboCtrl_SetValue), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetValue)},
5327     {SIP_MLNAME_CAST(sipName_SetValueByUser), SIP_MLMETH_CAST(meth_wxComboCtrl_SetValueByUser), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_SetValueByUser)},
5328     {SIP_MLNAME_CAST(sipName_ShouldDrawFocus), meth_wxComboCtrl_ShouldDrawFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_ShouldDrawFocus)},
5329     {SIP_MLNAME_CAST(sipName_ShouldInheritColours), meth_wxComboCtrl_ShouldInheritColours, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_ShouldInheritColours)},
5330     {SIP_MLNAME_CAST(sipName_ShowPopup), meth_wxComboCtrl_ShowPopup, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_ShowPopup)},
5331     {SIP_MLNAME_CAST(sipName_TransferDataFromWindow), meth_wxComboCtrl_TransferDataFromWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_TransferDataFromWindow)},
5332     {SIP_MLNAME_CAST(sipName_TransferDataToWindow), meth_wxComboCtrl_TransferDataToWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_TransferDataToWindow)},
5333     {SIP_MLNAME_CAST(sipName_TryAfter), SIP_MLMETH_CAST(meth_wxComboCtrl_TryAfter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_TryAfter)},
5334     {SIP_MLNAME_CAST(sipName_TryBefore), SIP_MLMETH_CAST(meth_wxComboCtrl_TryBefore), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_TryBefore)},
5335     {SIP_MLNAME_CAST(sipName_Undo), meth_wxComboCtrl_Undo, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_Undo)},
5336     {SIP_MLNAME_CAST(sipName_UseAltPopupWindow), SIP_MLMETH_CAST(meth_wxComboCtrl_UseAltPopupWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxComboCtrl_UseAltPopupWindow)},
5337     {SIP_MLNAME_CAST(sipName_Validate), meth_wxComboCtrl_Validate, METH_VARARGS, SIP_MLDOC_CAST(doc_wxComboCtrl_Validate)}
5338 };
5339 
5340 sipVariableDef variables_wxComboCtrl[] = {
5341     {PropertyVariable, sipName_Value, &methods_wxComboCtrl[49], &methods_wxComboCtrl[86], SIP_NULLPTR, SIP_NULLPTR},
5342     {PropertyVariable, sipName_TextRect, &methods_wxComboCtrl[47], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
5343     {PropertyVariable, sipName_TextIndent, &methods_wxComboCtrl[46], &methods_wxComboCtrl[84], SIP_NULLPTR, SIP_NULLPTR},
5344     {PropertyVariable, sipName_TextCtrl, &methods_wxComboCtrl[45], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
5345     {PropertyVariable, sipName_PopupWindow, &methods_wxComboCtrl[44], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
5346     {PropertyVariable, sipName_PopupControl, &methods_wxComboCtrl[43], &methods_wxComboCtrl[77], SIP_NULLPTR, SIP_NULLPTR},
5347     {PropertyVariable, sipName_Margins, &methods_wxComboCtrl[42], &methods_wxComboCtrl[75], SIP_NULLPTR, SIP_NULLPTR},
5348     {PropertyVariable, sipName_LastPosition, &methods_wxComboCtrl[40], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
5349     {PropertyVariable, sipName_InsertionPoint, &methods_wxComboCtrl[39], &methods_wxComboCtrl[73], SIP_NULLPTR, SIP_NULLPTR},
5350     {PropertyVariable, sipName_Hint, &methods_wxComboCtrl[38], &methods_wxComboCtrl[72], SIP_NULLPTR, SIP_NULLPTR},
5351     {PropertyVariable, sipName_CustomPaintWidth, &methods_wxComboCtrl[34], &methods_wxComboCtrl[71], SIP_NULLPTR, SIP_NULLPTR},
5352     {PropertyVariable, sipName_ButtonSize, &methods_wxComboCtrl[31], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
5353     {PropertyVariable, sipName_BitmapPressed, &methods_wxComboCtrl[30], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
5354     {PropertyVariable, sipName_BitmapNormal, &methods_wxComboCtrl[29], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
5355     {PropertyVariable, sipName_BitmapHover, &methods_wxComboCtrl[28], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
5356     {PropertyVariable, sipName_BitmapDisabled, &methods_wxComboCtrl[27], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
5357 };
5358 
5359 PyDoc_STRVAR(doc_wxComboCtrl, "ComboCtrl()\n"
5360 "ComboCtrl(parent, id=ID_ANY, value=EmptyString, pos=DefaultPosition, size=DefaultSize, style=0, validator=DefaultValidator, name=ComboBoxNameStr)\n"
5361 "\n"
5362 "A combo control is a generic combobox that allows totally custom\n"
5363 "popup.");
5364 
5365 
5366 sipClassTypeDef sipTypeDef__core_wxComboCtrl = {
5367     {
5368         -1,
5369         SIP_NULLPTR,
5370         SIP_NULLPTR,
5371         SIP_TYPE_SCC|SIP_TYPE_CLASS,
5372         sipNameNr_wxComboCtrl,
5373         {SIP_NULLPTR},
5374         SIP_NULLPTR
5375     },
5376     {
5377         sipNameNr_ComboCtrl,
5378         {0, 0, 1},
5379         98, methods_wxComboCtrl,
5380         0, SIP_NULLPTR,
5381         16, variables_wxComboCtrl,
5382         {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
5383     },
5384     doc_wxComboCtrl,
5385     -1,
5386     -1,
5387     supers_wxComboCtrl,
5388     SIP_NULLPTR,
5389     init_type_wxComboCtrl,
5390     SIP_NULLPTR,
5391     SIP_NULLPTR,
5392 #if PY_MAJOR_VERSION >= 3
5393     SIP_NULLPTR,
5394     SIP_NULLPTR,
5395 #else
5396     SIP_NULLPTR,
5397     SIP_NULLPTR,
5398     SIP_NULLPTR,
5399     SIP_NULLPTR,
5400 #endif
5401     dealloc_wxComboCtrl,
5402     SIP_NULLPTR,
5403     SIP_NULLPTR,
5404     SIP_NULLPTR,
5405     release_wxComboCtrl,
5406     cast_wxComboCtrl,
5407     SIP_NULLPTR,
5408     SIP_NULLPTR,
5409     SIP_NULLPTR,
5410     SIP_NULLPTR,
5411     SIP_NULLPTR,
5412     SIP_NULLPTR
5413 };
5414