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