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