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_aui.h"
11 
12         #include <wx/aui/auibook.h>
13 
14         #include <wx/window.h>
15         #include <wx/gdicmn.h>
16         #include <wx/gdicmn.h>
17         #include <wx/window.h>
18         #include <wx/event.h>
19         #include <wx/validate.h>
20         #include <wx/font.h>
21         #include <wx/bitmap.h>
22         #include <wx/aui/auibook.h>
23         #include <wx/dc.h>
24         #include <wx/event.h>
25         #include <wx/event.h>
26     #include <wx/setup.h>
27     #include <wxPython/wxpy_api.h>
28         #include <wx/event.h>
29         #include <wx/cursor.h>
30         #include <wx/caret.h>
31         #include <wx/layout.h>
32         #include <wx/sizer.h>
33         #include <wx/dnd.h>
34         #include <wx/access.h>
35         #include <wx/accel.h>
36         #include <wx/menu.h>
37         #include <wx/tooltip.h>
38         #include <wx/event.h>
39         #include <wx/gdicmn.h>
40         #include <wx/event.h>
41         #include <wx/event.h>
42         #include <wx/palette.h>
43         #include <wx/colour.h>
44         #include <wx/region.h>
45 
46         #include <wx/eventfilter.h>
47         #include <wx/object.h>
48         #include <wx/object.h>
49         #include <wx/object.h>
50         #include <wx/imaglist.h>
51 
52 
53 class sipwxAuiNotebook : public  ::wxAuiNotebook
54 {
55 public:
56     sipwxAuiNotebook();
57     sipwxAuiNotebook( ::wxWindow*, ::wxWindowID,const  ::wxPoint&,const  ::wxSize&,long);
58     virtual ~sipwxAuiNotebook();
59 
60     /*
61      * There is a public method for every protected method visible from
62      * this class.
63      */
64     void sipProtect_SendDestroyEvent();
65     bool sipProtectVirt_ProcessEvent(bool, ::wxEvent&);
66     void sipProtectVirt_DoEnable(bool,bool);
67     void sipProtectVirt_DoGetPosition(bool,int*,int*) const;
68     void sipProtectVirt_DoGetSize(bool,int*,int*) const;
69     void sipProtectVirt_DoGetClientSize(bool,int*,int*) const;
70      ::wxSize sipProtectVirt_DoGetBestSize(bool) const;
71      ::wxSize sipProtectVirt_DoGetBestClientSize(bool) const;
72     void sipProtectVirt_DoSetSize(bool,int,int,int,int,int);
73     void sipProtectVirt_DoSetClientSize(bool,int,int);
74     void sipProtectVirt_DoSetSizeHints(bool,int,int,int,int,int,int);
75      ::wxSize sipProtectVirt_DoGetBorderSize(bool) const;
76     void sipProtectVirt_DoMoveWindow(bool,int,int,int,int);
77     void sipProtectVirt_DoSetWindowVariant(bool, ::wxWindowVariant);
78      ::wxBorder sipProtectVirt_GetDefaultBorder(bool) const;
79      ::wxBorder sipProtectVirt_GetDefaultBorderForControl(bool) const;
80     void sipProtectVirt_DoFreeze(bool);
81     void sipProtectVirt_DoThaw(bool);
82     bool sipProtectVirt_HasTransparentBackground(bool);
83     bool sipProtectVirt_TryBefore(bool, ::wxEvent&);
84     bool sipProtectVirt_TryAfter(bool, ::wxEvent&);
85 
86     /*
87      * There is a protected method for every virtual method visible from
88      * this class.
89      */
90 protected:
91     void RemoveChild( ::wxWindowBase*) SIP_OVERRIDE;
92     void AddChild( ::wxWindowBase*) SIP_OVERRIDE;
93     bool ProcessEvent( ::wxEvent&) SIP_OVERRIDE;
94     bool TryBefore( ::wxEvent&) SIP_OVERRIDE;
95     bool TryAfter( ::wxEvent&) SIP_OVERRIDE;
96     bool AcceptsFocus() const SIP_OVERRIDE;
97     bool AcceptsFocusFromKeyboard() const SIP_OVERRIDE;
98     bool AcceptsFocusRecursively() const SIP_OVERRIDE;
99     void SetCanFocus(bool) SIP_OVERRIDE;
100     bool InformFirstDirection(int,int,int) SIP_OVERRIDE;
101      ::wxPoint GetClientAreaOrigin() const SIP_OVERRIDE;
102     bool HasTransparentBackground() SIP_OVERRIDE;
103     bool ShouldInheritColours() const SIP_OVERRIDE;
104      ::wxValidator* GetValidator() SIP_OVERRIDE;
105     void SetValidator(const  ::wxValidator&) SIP_OVERRIDE;
106     bool TransferDataFromWindow() SIP_OVERRIDE;
107     bool TransferDataToWindow() SIP_OVERRIDE;
108     bool Validate() SIP_OVERRIDE;
109     bool Destroy() SIP_OVERRIDE;
110     void InheritAttributes() SIP_OVERRIDE;
111     void InitDialog() SIP_OVERRIDE;
112     void OnInternalIdle() SIP_OVERRIDE;
113      ::wxWindow* GetMainWindowOfCompositeControl() SIP_OVERRIDE;
114     void DoEnable(bool) SIP_OVERRIDE;
115     void DoGetPosition(int*,int*) const SIP_OVERRIDE;
116     void DoGetSize(int*,int*) const SIP_OVERRIDE;
117     void DoGetClientSize(int*,int*) const SIP_OVERRIDE;
118     void DoSetSize(int,int,int,int,int) SIP_OVERRIDE;
119     void DoSetClientSize(int,int) SIP_OVERRIDE;
120     void DoSetSizeHints(int,int,int,int,int,int) SIP_OVERRIDE;
121      ::wxSize DoGetBorderSize() const SIP_OVERRIDE;
122     void DoMoveWindow(int,int,int,int) SIP_OVERRIDE;
123     void DoSetWindowVariant( ::wxWindowVariant) SIP_OVERRIDE;
124      ::wxBorder GetDefaultBorder() const SIP_OVERRIDE;
125      ::wxBorder GetDefaultBorderForControl() const SIP_OVERRIDE;
126     void DoFreeze() SIP_OVERRIDE;
127     void DoThaw() SIP_OVERRIDE;
128      ::wxSize DoGetBestSize() const SIP_OVERRIDE;
129      ::wxSize DoGetBestClientSize() const SIP_OVERRIDE;
130     void SetImageList( ::wxImageList*) SIP_OVERRIDE;
131     int GetPageImage(size_t) const SIP_OVERRIDE;
132     bool SetPageImage(size_t,int) SIP_OVERRIDE;
133      ::wxString GetPageText(size_t) const SIP_OVERRIDE;
134     bool SetPageText(size_t,const  ::wxString&) SIP_OVERRIDE;
135     int GetSelection() const SIP_OVERRIDE;
136     int SetSelection(size_t) SIP_OVERRIDE;
137     int ChangeSelection(size_t) SIP_OVERRIDE;
138     bool AddPage( ::wxWindow*,const  ::wxString&,bool,int) SIP_OVERRIDE;
139     bool DeleteAllPages() SIP_OVERRIDE;
140     bool DeletePage(size_t) SIP_OVERRIDE;
141     bool InsertPage(size_t, ::wxWindow*,const  ::wxString&,bool,int) SIP_OVERRIDE;
142     bool RemovePage(size_t) SIP_OVERRIDE;
143     size_t GetPageCount() const SIP_OVERRIDE;
144     void SetPageSize(const  ::wxSize&) SIP_OVERRIDE;
145     int HitTest(const  ::wxPoint&,long*) const SIP_OVERRIDE;
146 
147 public:
148     sipSimpleWrapper *sipPySelf;
149 
150 private:
151     sipwxAuiNotebook(const sipwxAuiNotebook &);
152     sipwxAuiNotebook &operator = (const sipwxAuiNotebook &);
153 
154     char sipPyMethods[55];
155 };
156 
sipwxAuiNotebook()157 sipwxAuiNotebook::sipwxAuiNotebook():  ::wxAuiNotebook(), sipPySelf(SIP_NULLPTR)
158 {
159     memset(sipPyMethods, 0, sizeof (sipPyMethods));
160 }
161 
sipwxAuiNotebook(::wxWindow * parent,::wxWindowID id,const::wxPoint & pos,const::wxSize & size,long style)162 sipwxAuiNotebook::sipwxAuiNotebook( ::wxWindow*parent, ::wxWindowID id,const  ::wxPoint& pos,const  ::wxSize& size,long style):  ::wxAuiNotebook(parent,id,pos,size,style), sipPySelf(SIP_NULLPTR)
163 {
164     memset(sipPyMethods, 0, sizeof (sipPyMethods));
165 }
166 
~sipwxAuiNotebook()167 sipwxAuiNotebook::~sipwxAuiNotebook()
168 {
169     sipInstanceDestroyedEx(&sipPySelf);
170 }
171 
RemoveChild(::wxWindowBase * child)172 void sipwxAuiNotebook::RemoveChild( ::wxWindowBase*child)
173 {
174     sip_gilstate_t sipGILState;
175     PyObject *sipMeth;
176 
177     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_RemoveChild);
178 
179     if (!sipMeth)
180     {
181          ::wxAuiNotebook::RemoveChild(child);
182         return;
183     }
184 
185     extern void sipVH__aui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
186 
187     sipVH__aui_28(sipGILState, 0, sipPySelf, sipMeth, child);
188 }
189 
AddChild(::wxWindowBase * child)190 void sipwxAuiNotebook::AddChild( ::wxWindowBase*child)
191 {
192     sip_gilstate_t sipGILState;
193     PyObject *sipMeth;
194 
195     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,SIP_NULLPTR,sipName_AddChild);
196 
197     if (!sipMeth)
198     {
199          ::wxAuiNotebook::AddChild(child);
200         return;
201     }
202 
203     extern void sipVH__aui_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowBase*);
204 
205     sipVH__aui_28(sipGILState, 0, sipPySelf, sipMeth, child);
206 }
207 
ProcessEvent(::wxEvent & event)208 bool sipwxAuiNotebook::ProcessEvent( ::wxEvent& event)
209 {
210     sip_gilstate_t sipGILState;
211     PyObject *sipMeth;
212 
213     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_ProcessEvent);
214 
215     if (!sipMeth)
216         return  ::wxAuiNotebook::ProcessEvent(event);
217 
218     extern bool sipVH__aui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
219 
220     return sipVH__aui_0(sipGILState, 0, sipPySelf, sipMeth, event);
221 }
222 
TryBefore(::wxEvent & event)223 bool sipwxAuiNotebook::TryBefore( ::wxEvent& event)
224 {
225     sip_gilstate_t sipGILState;
226     PyObject *sipMeth;
227 
228     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_TryBefore);
229 
230     if (!sipMeth)
231         return  ::wxAuiNotebook::TryBefore(event);
232 
233     extern bool sipVH__aui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
234 
235     return sipVH__aui_0(sipGILState, 0, sipPySelf, sipMeth, event);
236 }
237 
TryAfter(::wxEvent & event)238 bool sipwxAuiNotebook::TryAfter( ::wxEvent& event)
239 {
240     sip_gilstate_t sipGILState;
241     PyObject *sipMeth;
242 
243     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_TryAfter);
244 
245     if (!sipMeth)
246         return  ::wxAuiNotebook::TryAfter(event);
247 
248     extern bool sipVH__aui_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxEvent&);
249 
250     return sipVH__aui_0(sipGILState, 0, sipPySelf, sipMeth, event);
251 }
252 
AcceptsFocus() const253 bool sipwxAuiNotebook::AcceptsFocus() const
254 {
255     sip_gilstate_t sipGILState;
256     PyObject *sipMeth;
257 
258     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocus);
259 
260     if (!sipMeth)
261         return  ::wxAuiNotebook::AcceptsFocus();
262 
263     extern bool sipVH__aui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
264 
265     return sipVH__aui_29(sipGILState, 0, sipPySelf, sipMeth);
266 }
267 
AcceptsFocusFromKeyboard() const268 bool sipwxAuiNotebook::AcceptsFocusFromKeyboard() const
269 {
270     sip_gilstate_t sipGILState;
271     PyObject *sipMeth;
272 
273     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[6]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusFromKeyboard);
274 
275     if (!sipMeth)
276         return  ::wxAuiNotebook::AcceptsFocusFromKeyboard();
277 
278     extern bool sipVH__aui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
279 
280     return sipVH__aui_29(sipGILState, 0, sipPySelf, sipMeth);
281 }
282 
AcceptsFocusRecursively() const283 bool sipwxAuiNotebook::AcceptsFocusRecursively() const
284 {
285     sip_gilstate_t sipGILState;
286     PyObject *sipMeth;
287 
288     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,SIP_NULLPTR,sipName_AcceptsFocusRecursively);
289 
290     if (!sipMeth)
291         return  ::wxAuiNotebook::AcceptsFocusRecursively();
292 
293     extern bool sipVH__aui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
294 
295     return sipVH__aui_29(sipGILState, 0, sipPySelf, sipMeth);
296 }
297 
SetCanFocus(bool canFocus)298 void sipwxAuiNotebook::SetCanFocus(bool canFocus)
299 {
300     sip_gilstate_t sipGILState;
301     PyObject *sipMeth;
302 
303     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,SIP_NULLPTR,sipName_SetCanFocus);
304 
305     if (!sipMeth)
306     {
307          ::wxAuiNotebook::SetCanFocus(canFocus);
308         return;
309     }
310 
311     extern void sipVH__aui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
312 
313     sipVH__aui_30(sipGILState, 0, sipPySelf, sipMeth, canFocus);
314 }
315 
InformFirstDirection(int direction,int size,int availableOtherDir)316 bool sipwxAuiNotebook::InformFirstDirection(int direction,int size,int availableOtherDir)
317 {
318     sip_gilstate_t sipGILState;
319     PyObject *sipMeth;
320 
321     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,SIP_NULLPTR,sipName_InformFirstDirection);
322 
323     if (!sipMeth)
324         return  ::wxAuiNotebook::InformFirstDirection(direction,size,availableOtherDir);
325 
326     extern bool sipVH__aui_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int);
327 
328     return sipVH__aui_31(sipGILState, 0, sipPySelf, sipMeth, direction, size, availableOtherDir);
329 }
330 
GetClientAreaOrigin() const331  ::wxPoint sipwxAuiNotebook::GetClientAreaOrigin() const
332 {
333     sip_gilstate_t sipGILState;
334     PyObject *sipMeth;
335 
336     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[10]),sipPySelf,SIP_NULLPTR,sipName_GetClientAreaOrigin);
337 
338     if (!sipMeth)
339         return  ::wxAuiNotebook::GetClientAreaOrigin();
340 
341     extern  ::wxPoint sipVH__aui_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
342 
343     return sipVH__aui_32(sipGILState, 0, sipPySelf, sipMeth);
344 }
345 
HasTransparentBackground()346 bool sipwxAuiNotebook::HasTransparentBackground()
347 {
348     sip_gilstate_t sipGILState;
349     PyObject *sipMeth;
350 
351     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,SIP_NULLPTR,sipName_HasTransparentBackground);
352 
353     if (!sipMeth)
354         return  ::wxAuiNotebook::HasTransparentBackground();
355 
356     extern bool sipVH__aui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
357 
358     return sipVH__aui_29(sipGILState, 0, sipPySelf, sipMeth);
359 }
360 
ShouldInheritColours() const361 bool sipwxAuiNotebook::ShouldInheritColours() const
362 {
363     sip_gilstate_t sipGILState;
364     PyObject *sipMeth;
365 
366     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[12]),sipPySelf,SIP_NULLPTR,sipName_ShouldInheritColours);
367 
368     if (!sipMeth)
369         return  ::wxAuiNotebook::ShouldInheritColours();
370 
371     extern bool sipVH__aui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
372 
373     return sipVH__aui_29(sipGILState, 0, sipPySelf, sipMeth);
374 }
375 
GetValidator()376  ::wxValidator* sipwxAuiNotebook::GetValidator()
377 {
378     sip_gilstate_t sipGILState;
379     PyObject *sipMeth;
380 
381     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,SIP_NULLPTR,sipName_GetValidator);
382 
383     if (!sipMeth)
384         return  ::wxAuiNotebook::GetValidator();
385 
386     extern  ::wxValidator* sipVH__aui_33(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
387 
388     return sipVH__aui_33(sipGILState, 0, sipPySelf, sipMeth);
389 }
390 
SetValidator(const::wxValidator & validator)391 void sipwxAuiNotebook::SetValidator(const  ::wxValidator& validator)
392 {
393     sip_gilstate_t sipGILState;
394     PyObject *sipMeth;
395 
396     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,SIP_NULLPTR,sipName_SetValidator);
397 
398     if (!sipMeth)
399     {
400          ::wxAuiNotebook::SetValidator(validator);
401         return;
402     }
403 
404     extern void sipVH__aui_34(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxValidator&);
405 
406     sipVH__aui_34(sipGILState, 0, sipPySelf, sipMeth, validator);
407 }
408 
TransferDataFromWindow()409 bool sipwxAuiNotebook::TransferDataFromWindow()
410 {
411     sip_gilstate_t sipGILState;
412     PyObject *sipMeth;
413 
414     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,SIP_NULLPTR,sipName_TransferDataFromWindow);
415 
416     if (!sipMeth)
417         return  ::wxAuiNotebook::TransferDataFromWindow();
418 
419     extern bool sipVH__aui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
420 
421     return sipVH__aui_29(sipGILState, 0, sipPySelf, sipMeth);
422 }
423 
TransferDataToWindow()424 bool sipwxAuiNotebook::TransferDataToWindow()
425 {
426     sip_gilstate_t sipGILState;
427     PyObject *sipMeth;
428 
429     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,SIP_NULLPTR,sipName_TransferDataToWindow);
430 
431     if (!sipMeth)
432         return  ::wxAuiNotebook::TransferDataToWindow();
433 
434     extern bool sipVH__aui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
435 
436     return sipVH__aui_29(sipGILState, 0, sipPySelf, sipMeth);
437 }
438 
Validate()439 bool sipwxAuiNotebook::Validate()
440 {
441     sip_gilstate_t sipGILState;
442     PyObject *sipMeth;
443 
444     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_Validate);
445 
446     if (!sipMeth)
447         return  ::wxAuiNotebook::Validate();
448 
449     extern bool sipVH__aui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
450 
451     return sipVH__aui_29(sipGILState, 0, sipPySelf, sipMeth);
452 }
453 
Destroy()454 bool sipwxAuiNotebook::Destroy()
455 {
456     sip_gilstate_t sipGILState;
457     PyObject *sipMeth;
458 
459     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,SIP_NULLPTR,sipName_Destroy);
460 
461     if (!sipMeth)
462         return  ::wxAuiNotebook::Destroy();
463 
464     extern bool sipVH__aui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
465 
466     return sipVH__aui_29(sipGILState, 0, sipPySelf, sipMeth);
467 }
468 
InheritAttributes()469 void sipwxAuiNotebook::InheritAttributes()
470 {
471     sip_gilstate_t sipGILState;
472     PyObject *sipMeth;
473 
474     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_InheritAttributes);
475 
476     if (!sipMeth)
477     {
478          ::wxAuiNotebook::InheritAttributes();
479         return;
480     }
481 
482     extern void sipVH__aui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
483 
484     sipVH__aui_1(sipGILState, 0, sipPySelf, sipMeth);
485 }
486 
InitDialog()487 void sipwxAuiNotebook::InitDialog()
488 {
489     sip_gilstate_t sipGILState;
490     PyObject *sipMeth;
491 
492     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_InitDialog);
493 
494     if (!sipMeth)
495     {
496          ::wxAuiNotebook::InitDialog();
497         return;
498     }
499 
500     extern void sipVH__aui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
501 
502     sipVH__aui_1(sipGILState, 0, sipPySelf, sipMeth);
503 }
504 
OnInternalIdle()505 void sipwxAuiNotebook::OnInternalIdle()
506 {
507     sip_gilstate_t sipGILState;
508     PyObject *sipMeth;
509 
510     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,SIP_NULLPTR,sipName_OnInternalIdle);
511 
512     if (!sipMeth)
513     {
514          ::wxAuiNotebook::OnInternalIdle();
515         return;
516     }
517 
518     extern void sipVH__aui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
519 
520     sipVH__aui_1(sipGILState, 0, sipPySelf, sipMeth);
521 }
522 
GetMainWindowOfCompositeControl()523  ::wxWindow* sipwxAuiNotebook::GetMainWindowOfCompositeControl()
524 {
525     sip_gilstate_t sipGILState;
526     PyObject *sipMeth;
527 
528     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,SIP_NULLPTR,sipName_GetMainWindowOfCompositeControl);
529 
530     if (!sipMeth)
531         return  ::wxAuiNotebook::GetMainWindowOfCompositeControl();
532 
533     extern  ::wxWindow* sipVH__aui_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
534 
535     return sipVH__aui_35(sipGILState, 0, sipPySelf, sipMeth);
536 }
537 
DoEnable(bool enable)538 void sipwxAuiNotebook::DoEnable(bool enable)
539 {
540     sip_gilstate_t sipGILState;
541     PyObject *sipMeth;
542 
543     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,SIP_NULLPTR,sipName_DoEnable);
544 
545     if (!sipMeth)
546     {
547          ::wxAuiNotebook::DoEnable(enable);
548         return;
549     }
550 
551     extern void sipVH__aui_30(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);
552 
553     sipVH__aui_30(sipGILState, 0, sipPySelf, sipMeth, enable);
554 }
555 
DoGetPosition(int * x,int * y) const556 void sipwxAuiNotebook::DoGetPosition(int*x,int*y) const
557 {
558     sip_gilstate_t sipGILState;
559     PyObject *sipMeth;
560 
561     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[24]),sipPySelf,SIP_NULLPTR,sipName_DoGetPosition);
562 
563     if (!sipMeth)
564     {
565          ::wxAuiNotebook::DoGetPosition(x,y);
566         return;
567     }
568 
569     extern void sipVH__aui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
570 
571     sipVH__aui_36(sipGILState, 0, sipPySelf, sipMeth, x, y);
572 }
573 
DoGetSize(int * width,int * height) const574 void sipwxAuiNotebook::DoGetSize(int*width,int*height) const
575 {
576     sip_gilstate_t sipGILState;
577     PyObject *sipMeth;
578 
579     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[25]),sipPySelf,SIP_NULLPTR,sipName_DoGetSize);
580 
581     if (!sipMeth)
582     {
583          ::wxAuiNotebook::DoGetSize(width,height);
584         return;
585     }
586 
587     extern void sipVH__aui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
588 
589     sipVH__aui_36(sipGILState, 0, sipPySelf, sipMeth, width, height);
590 }
591 
DoGetClientSize(int * width,int * height) const592 void sipwxAuiNotebook::DoGetClientSize(int*width,int*height) const
593 {
594     sip_gilstate_t sipGILState;
595     PyObject *sipMeth;
596 
597     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[26]),sipPySelf,SIP_NULLPTR,sipName_DoGetClientSize);
598 
599     if (!sipMeth)
600     {
601          ::wxAuiNotebook::DoGetClientSize(width,height);
602         return;
603     }
604 
605     extern void sipVH__aui_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*,int*);
606 
607     sipVH__aui_36(sipGILState, 0, sipPySelf, sipMeth, width, height);
608 }
609 
DoSetSize(int x,int y,int width,int height,int sizeFlags)610 void sipwxAuiNotebook::DoSetSize(int x,int y,int width,int height,int sizeFlags)
611 {
612     sip_gilstate_t sipGILState;
613     PyObject *sipMeth;
614 
615     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,SIP_NULLPTR,sipName_DoSetSize);
616 
617     if (!sipMeth)
618     {
619          ::wxAuiNotebook::DoSetSize(x,y,width,height,sizeFlags);
620         return;
621     }
622 
623     extern void sipVH__aui_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int);
624 
625     sipVH__aui_37(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height, sizeFlags);
626 }
627 
DoSetClientSize(int width,int height)628 void sipwxAuiNotebook::DoSetClientSize(int width,int height)
629 {
630     sip_gilstate_t sipGILState;
631     PyObject *sipMeth;
632 
633     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[28],sipPySelf,SIP_NULLPTR,sipName_DoSetClientSize);
634 
635     if (!sipMeth)
636     {
637          ::wxAuiNotebook::DoSetClientSize(width,height);
638         return;
639     }
640 
641     extern void sipVH__aui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
642 
643     sipVH__aui_15(sipGILState, 0, sipPySelf, sipMeth, width, height);
644 }
645 
DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)646 void sipwxAuiNotebook::DoSetSizeHints(int minW,int minH,int maxW,int maxH,int incW,int incH)
647 {
648     sip_gilstate_t sipGILState;
649     PyObject *sipMeth;
650 
651     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[29],sipPySelf,SIP_NULLPTR,sipName_DoSetSizeHints);
652 
653     if (!sipMeth)
654     {
655          ::wxAuiNotebook::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH);
656         return;
657     }
658 
659     extern void sipVH__aui_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int,int,int);
660 
661     sipVH__aui_38(sipGILState, 0, sipPySelf, sipMeth, minW, minH, maxW, maxH, incW, incH);
662 }
663 
DoGetBorderSize() const664  ::wxSize sipwxAuiNotebook::DoGetBorderSize() const
665 {
666     sip_gilstate_t sipGILState;
667     PyObject *sipMeth;
668 
669     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[30]),sipPySelf,SIP_NULLPTR,sipName_DoGetBorderSize);
670 
671     if (!sipMeth)
672         return  ::wxAuiNotebook::DoGetBorderSize();
673 
674     extern  ::wxSize sipVH__aui_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
675 
676     return sipVH__aui_39(sipGILState, 0, sipPySelf, sipMeth);
677 }
678 
DoMoveWindow(int x,int y,int width,int height)679 void sipwxAuiNotebook::DoMoveWindow(int x,int y,int width,int height)
680 {
681     sip_gilstate_t sipGILState;
682     PyObject *sipMeth;
683 
684     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[31],sipPySelf,SIP_NULLPTR,sipName_DoMoveWindow);
685 
686     if (!sipMeth)
687     {
688          ::wxAuiNotebook::DoMoveWindow(x,y,width,height);
689         return;
690     }
691 
692     extern void sipVH__aui_40(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int,int,int);
693 
694     sipVH__aui_40(sipGILState, 0, sipPySelf, sipMeth, x, y, width, height);
695 }
696 
DoSetWindowVariant(::wxWindowVariant variant)697 void sipwxAuiNotebook::DoSetWindowVariant( ::wxWindowVariant variant)
698 {
699     sip_gilstate_t sipGILState;
700     PyObject *sipMeth;
701 
702     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[32],sipPySelf,SIP_NULLPTR,sipName_DoSetWindowVariant);
703 
704     if (!sipMeth)
705     {
706          ::wxAuiNotebook::DoSetWindowVariant(variant);
707         return;
708     }
709 
710     extern void sipVH__aui_41(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindowVariant);
711 
712     sipVH__aui_41(sipGILState, 0, sipPySelf, sipMeth, variant);
713 }
714 
GetDefaultBorder() const715  ::wxBorder sipwxAuiNotebook::GetDefaultBorder() const
716 {
717     sip_gilstate_t sipGILState;
718     PyObject *sipMeth;
719 
720     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[33]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorder);
721 
722     if (!sipMeth)
723         return  ::wxAuiNotebook::GetDefaultBorder();
724 
725     extern  ::wxBorder sipVH__aui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
726 
727     return sipVH__aui_42(sipGILState, 0, sipPySelf, sipMeth);
728 }
729 
GetDefaultBorderForControl() const730  ::wxBorder sipwxAuiNotebook::GetDefaultBorderForControl() const
731 {
732     sip_gilstate_t sipGILState;
733     PyObject *sipMeth;
734 
735     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[34]),sipPySelf,SIP_NULLPTR,sipName_GetDefaultBorderForControl);
736 
737     if (!sipMeth)
738         return  ::wxAuiNotebook::GetDefaultBorderForControl();
739 
740     extern  ::wxBorder sipVH__aui_42(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
741 
742     return sipVH__aui_42(sipGILState, 0, sipPySelf, sipMeth);
743 }
744 
DoFreeze()745 void sipwxAuiNotebook::DoFreeze()
746 {
747     sip_gilstate_t sipGILState;
748     PyObject *sipMeth;
749 
750     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[35],sipPySelf,SIP_NULLPTR,sipName_DoFreeze);
751 
752     if (!sipMeth)
753     {
754          ::wxAuiNotebook::DoFreeze();
755         return;
756     }
757 
758     extern void sipVH__aui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
759 
760     sipVH__aui_1(sipGILState, 0, sipPySelf, sipMeth);
761 }
762 
DoThaw()763 void sipwxAuiNotebook::DoThaw()
764 {
765     sip_gilstate_t sipGILState;
766     PyObject *sipMeth;
767 
768     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[36],sipPySelf,SIP_NULLPTR,sipName_DoThaw);
769 
770     if (!sipMeth)
771     {
772          ::wxAuiNotebook::DoThaw();
773         return;
774     }
775 
776     extern void sipVH__aui_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
777 
778     sipVH__aui_1(sipGILState, 0, sipPySelf, sipMeth);
779 }
780 
DoGetBestSize() const781  ::wxSize sipwxAuiNotebook::DoGetBestSize() const
782 {
783     sip_gilstate_t sipGILState;
784     PyObject *sipMeth;
785 
786     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[37]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestSize);
787 
788     if (!sipMeth)
789         return  ::wxAuiNotebook::DoGetBestSize();
790 
791     extern  ::wxSize sipVH__aui_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
792 
793     return sipVH__aui_39(sipGILState, 0, sipPySelf, sipMeth);
794 }
795 
DoGetBestClientSize() const796  ::wxSize sipwxAuiNotebook::DoGetBestClientSize() const
797 {
798     sip_gilstate_t sipGILState;
799     PyObject *sipMeth;
800 
801     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[38]),sipPySelf,SIP_NULLPTR,sipName_DoGetBestClientSize);
802 
803     if (!sipMeth)
804         return  ::wxAuiNotebook::DoGetBestClientSize();
805 
806     extern  ::wxSize sipVH__aui_39(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
807 
808     return sipVH__aui_39(sipGILState, 0, sipPySelf, sipMeth);
809 }
810 
SetImageList(::wxImageList * imageList)811 void sipwxAuiNotebook::SetImageList( ::wxImageList*imageList)
812 {
813     sip_gilstate_t sipGILState;
814     PyObject *sipMeth;
815 
816     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[39],sipPySelf,SIP_NULLPTR,sipName_SetImageList);
817 
818     if (!sipMeth)
819     {
820          ::wxAuiNotebook::SetImageList(imageList);
821         return;
822     }
823 
824     extern void sipVH__aui_53(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxImageList*);
825 
826     sipVH__aui_53(sipGILState, 0, sipPySelf, sipMeth, imageList);
827 }
828 
GetPageImage(size_t nPage) const829 int sipwxAuiNotebook::GetPageImage(size_t nPage) const
830 {
831     sip_gilstate_t sipGILState;
832     PyObject *sipMeth;
833 
834     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[40]),sipPySelf,SIP_NULLPTR,sipName_GetPageImage);
835 
836     if (!sipMeth)
837         return  ::wxAuiNotebook::GetPageImage(nPage);
838 
839     extern int sipVH__aui_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t);
840 
841     return sipVH__aui_49(sipGILState, 0, sipPySelf, sipMeth, nPage);
842 }
843 
SetPageImage(size_t n,int imageId)844 bool sipwxAuiNotebook::SetPageImage(size_t n,int imageId)
845 {
846     sip_gilstate_t sipGILState;
847     PyObject *sipMeth;
848 
849     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[41],sipPySelf,SIP_NULLPTR,sipName_SetPageImage);
850 
851     if (!sipMeth)
852         return  ::wxAuiNotebook::SetPageImage(n,imageId);
853 
854     extern bool sipVH__aui_52(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t,int);
855 
856     return sipVH__aui_52(sipGILState, 0, sipPySelf, sipMeth, n, imageId);
857 }
858 
GetPageText(size_t page) const859  ::wxString sipwxAuiNotebook::GetPageText(size_t page) const
860 {
861     sip_gilstate_t sipGILState;
862     PyObject *sipMeth;
863 
864     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[42]),sipPySelf,SIP_NULLPTR,sipName_GetPageText);
865 
866     if (!sipMeth)
867         return  ::wxAuiNotebook::GetPageText(page);
868 
869     extern  ::wxString sipVH__aui_51(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t);
870 
871     return sipVH__aui_51(sipGILState, 0, sipPySelf, sipMeth, page);
872 }
873 
SetPageText(size_t page,const::wxString & text)874 bool sipwxAuiNotebook::SetPageText(size_t page,const  ::wxString& text)
875 {
876     sip_gilstate_t sipGILState;
877     PyObject *sipMeth;
878 
879     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[43],sipPySelf,SIP_NULLPTR,sipName_SetPageText);
880 
881     if (!sipMeth)
882         return  ::wxAuiNotebook::SetPageText(page,text);
883 
884     extern bool sipVH__aui_50(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t,const  ::wxString&);
885 
886     return sipVH__aui_50(sipGILState, 0, sipPySelf, sipMeth, page, text);
887 }
888 
GetSelection() const889 int sipwxAuiNotebook::GetSelection() const
890 {
891     sip_gilstate_t sipGILState;
892     PyObject *sipMeth;
893 
894     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[44]),sipPySelf,SIP_NULLPTR,sipName_GetSelection);
895 
896     if (!sipMeth)
897         return  ::wxAuiNotebook::GetSelection();
898 
899     extern int sipVH__aui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
900 
901     return sipVH__aui_22(sipGILState, 0, sipPySelf, sipMeth);
902 }
903 
SetSelection(size_t new_page)904 int sipwxAuiNotebook::SetSelection(size_t new_page)
905 {
906     sip_gilstate_t sipGILState;
907     PyObject *sipMeth;
908 
909     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[45],sipPySelf,SIP_NULLPTR,sipName_SetSelection);
910 
911     if (!sipMeth)
912         return  ::wxAuiNotebook::SetSelection(new_page);
913 
914     extern int sipVH__aui_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t);
915 
916     return sipVH__aui_49(sipGILState, 0, sipPySelf, sipMeth, new_page);
917 }
918 
ChangeSelection(size_t n)919 int sipwxAuiNotebook::ChangeSelection(size_t n)
920 {
921     sip_gilstate_t sipGILState;
922     PyObject *sipMeth;
923 
924     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[46],sipPySelf,SIP_NULLPTR,sipName_ChangeSelection);
925 
926     if (!sipMeth)
927         return  ::wxAuiNotebook::ChangeSelection(n);
928 
929     extern int sipVH__aui_49(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t);
930 
931     return sipVH__aui_49(sipGILState, 0, sipPySelf, sipMeth, n);
932 }
933 
AddPage(::wxWindow * page,const::wxString & text,bool select,int imageId)934 bool sipwxAuiNotebook::AddPage( ::wxWindow*page,const  ::wxString& text,bool select,int imageId)
935 {
936     sip_gilstate_t sipGILState;
937     PyObject *sipMeth;
938 
939     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[47],sipPySelf,SIP_NULLPTR,sipName_AddPage);
940 
941     if (!sipMeth)
942         return  ::wxAuiNotebook::AddPage(page,text,select,imageId);
943 
944     extern bool sipVH__aui_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindow*,const  ::wxString&,bool,int);
945 
946     return sipVH__aui_48(sipGILState, 0, sipPySelf, sipMeth, page, text, select, imageId);
947 }
948 
DeleteAllPages()949 bool sipwxAuiNotebook::DeleteAllPages()
950 {
951     sip_gilstate_t sipGILState;
952     PyObject *sipMeth;
953 
954     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[48],sipPySelf,SIP_NULLPTR,sipName_DeleteAllPages);
955 
956     if (!sipMeth)
957         return  ::wxAuiNotebook::DeleteAllPages();
958 
959     extern bool sipVH__aui_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
960 
961     return sipVH__aui_29(sipGILState, 0, sipPySelf, sipMeth);
962 }
963 
DeletePage(size_t page)964 bool sipwxAuiNotebook::DeletePage(size_t page)
965 {
966     sip_gilstate_t sipGILState;
967     PyObject *sipMeth;
968 
969     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[49],sipPySelf,SIP_NULLPTR,sipName_DeletePage);
970 
971     if (!sipMeth)
972         return  ::wxAuiNotebook::DeletePage(page);
973 
974     extern bool sipVH__aui_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t);
975 
976     return sipVH__aui_46(sipGILState, 0, sipPySelf, sipMeth, page);
977 }
978 
InsertPage(size_t index,::wxWindow * page,const::wxString & text,bool select,int imageId)979 bool sipwxAuiNotebook::InsertPage(size_t index, ::wxWindow*page,const  ::wxString& text,bool select,int imageId)
980 {
981     sip_gilstate_t sipGILState;
982     PyObject *sipMeth;
983 
984     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[50],sipPySelf,SIP_NULLPTR,sipName_InsertPage);
985 
986     if (!sipMeth)
987         return  ::wxAuiNotebook::InsertPage(index,page,text,select,imageId);
988 
989     extern bool sipVH__aui_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t, ::wxWindow*,const  ::wxString&,bool,int);
990 
991     return sipVH__aui_47(sipGILState, 0, sipPySelf, sipMeth, index, page, text, select, imageId);
992 }
993 
RemovePage(size_t page)994 bool sipwxAuiNotebook::RemovePage(size_t page)
995 {
996     sip_gilstate_t sipGILState;
997     PyObject *sipMeth;
998 
999     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[51],sipPySelf,SIP_NULLPTR,sipName_RemovePage);
1000 
1001     if (!sipMeth)
1002         return  ::wxAuiNotebook::RemovePage(page);
1003 
1004     extern bool sipVH__aui_46(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, size_t);
1005 
1006     return sipVH__aui_46(sipGILState, 0, sipPySelf, sipMeth, page);
1007 }
1008 
GetPageCount() const1009 size_t sipwxAuiNotebook::GetPageCount() const
1010 {
1011     sip_gilstate_t sipGILState;
1012     PyObject *sipMeth;
1013 
1014     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[52]),sipPySelf,SIP_NULLPTR,sipName_GetPageCount);
1015 
1016     if (!sipMeth)
1017         return  ::wxAuiNotebook::GetPageCount();
1018 
1019     extern size_t sipVH__aui_45(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
1020 
1021     return sipVH__aui_45(sipGILState, 0, sipPySelf, sipMeth);
1022 }
1023 
SetPageSize(const::wxSize & size)1024 void sipwxAuiNotebook::SetPageSize(const  ::wxSize& size)
1025 {
1026     sip_gilstate_t sipGILState;
1027     PyObject *sipMeth;
1028 
1029     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[53],sipPySelf,SIP_NULLPTR,sipName_SetPageSize);
1030 
1031     if (!sipMeth)
1032     {
1033          ::wxAuiNotebook::SetPageSize(size);
1034         return;
1035     }
1036 
1037     extern void sipVH__aui_44(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxSize&);
1038 
1039     sipVH__aui_44(sipGILState, 0, sipPySelf, sipMeth, size);
1040 }
1041 
HitTest(const::wxPoint & pt,long * flags) const1042 int sipwxAuiNotebook::HitTest(const  ::wxPoint& pt,long*flags) const
1043 {
1044     sip_gilstate_t sipGILState;
1045     PyObject *sipMeth;
1046 
1047     sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[54]),sipPySelf,SIP_NULLPTR,sipName_HitTest);
1048 
1049     if (!sipMeth)
1050         return  ::wxAuiNotebook::HitTest(pt,flags);
1051 
1052     extern int sipVH__aui_43(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxPoint&,long*);
1053 
1054     return sipVH__aui_43(sipGILState, 0, sipPySelf, sipMeth, pt, flags);
1055 }
1056 
sipProtect_SendDestroyEvent()1057 void sipwxAuiNotebook::sipProtect_SendDestroyEvent()
1058 {
1059      ::wxWindow::SendDestroyEvent();
1060 }
1061 
sipProtectVirt_ProcessEvent(bool sipSelfWasArg,::wxEvent & event)1062 bool sipwxAuiNotebook::sipProtectVirt_ProcessEvent(bool sipSelfWasArg, ::wxEvent& event)
1063 {
1064     return (sipSelfWasArg ?  ::wxAuiNotebook::ProcessEvent(event) : ProcessEvent(event));
1065 }
1066 
sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)1067 void sipwxAuiNotebook::sipProtectVirt_DoEnable(bool sipSelfWasArg,bool enable)
1068 {
1069     (sipSelfWasArg ?  ::wxAuiNotebook::DoEnable(enable) : DoEnable(enable));
1070 }
1071 
sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int * x,int * y) const1072 void sipwxAuiNotebook::sipProtectVirt_DoGetPosition(bool sipSelfWasArg,int*x,int*y) const
1073 {
1074     (sipSelfWasArg ?  ::wxAuiNotebook::DoGetPosition(x,y) : DoGetPosition(x,y));
1075 }
1076 
sipProtectVirt_DoGetSize(bool sipSelfWasArg,int * width,int * height) const1077 void sipwxAuiNotebook::sipProtectVirt_DoGetSize(bool sipSelfWasArg,int*width,int*height) const
1078 {
1079     (sipSelfWasArg ?  ::wxAuiNotebook::DoGetSize(width,height) : DoGetSize(width,height));
1080 }
1081 
sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int * width,int * height) const1082 void sipwxAuiNotebook::sipProtectVirt_DoGetClientSize(bool sipSelfWasArg,int*width,int*height) const
1083 {
1084     (sipSelfWasArg ?  ::wxAuiNotebook::DoGetClientSize(width,height) : DoGetClientSize(width,height));
1085 }
1086 
sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const1087  ::wxSize sipwxAuiNotebook::sipProtectVirt_DoGetBestSize(bool sipSelfWasArg) const
1088 {
1089     return (sipSelfWasArg ?  ::wxAuiNotebook::DoGetBestSize() : DoGetBestSize());
1090 }
1091 
sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const1092  ::wxSize sipwxAuiNotebook::sipProtectVirt_DoGetBestClientSize(bool sipSelfWasArg) const
1093 {
1094     return (sipSelfWasArg ?  ::wxAuiNotebook::DoGetBestClientSize() : DoGetBestClientSize());
1095 }
1096 
sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)1097 void sipwxAuiNotebook::sipProtectVirt_DoSetSize(bool sipSelfWasArg,int x,int y,int width,int height,int sizeFlags)
1098 {
1099     (sipSelfWasArg ?  ::wxAuiNotebook::DoSetSize(x,y,width,height,sizeFlags) : DoSetSize(x,y,width,height,sizeFlags));
1100 }
1101 
sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)1102 void sipwxAuiNotebook::sipProtectVirt_DoSetClientSize(bool sipSelfWasArg,int width,int height)
1103 {
1104     (sipSelfWasArg ?  ::wxAuiNotebook::DoSetClientSize(width,height) : DoSetClientSize(width,height));
1105 }
1106 
sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)1107 void sipwxAuiNotebook::sipProtectVirt_DoSetSizeHints(bool sipSelfWasArg,int minW,int minH,int maxW,int maxH,int incW,int incH)
1108 {
1109     (sipSelfWasArg ?  ::wxAuiNotebook::DoSetSizeHints(minW,minH,maxW,maxH,incW,incH) : DoSetSizeHints(minW,minH,maxW,maxH,incW,incH));
1110 }
1111 
sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const1112  ::wxSize sipwxAuiNotebook::sipProtectVirt_DoGetBorderSize(bool sipSelfWasArg) const
1113 {
1114     return (sipSelfWasArg ?  ::wxAuiNotebook::DoGetBorderSize() : DoGetBorderSize());
1115 }
1116 
sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)1117 void sipwxAuiNotebook::sipProtectVirt_DoMoveWindow(bool sipSelfWasArg,int x,int y,int width,int height)
1118 {
1119     (sipSelfWasArg ?  ::wxAuiNotebook::DoMoveWindow(x,y,width,height) : DoMoveWindow(x,y,width,height));
1120 }
1121 
sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg,::wxWindowVariant variant)1122 void sipwxAuiNotebook::sipProtectVirt_DoSetWindowVariant(bool sipSelfWasArg, ::wxWindowVariant variant)
1123 {
1124     (sipSelfWasArg ?  ::wxAuiNotebook::DoSetWindowVariant(variant) : DoSetWindowVariant(variant));
1125 }
1126 
sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const1127  ::wxBorder sipwxAuiNotebook::sipProtectVirt_GetDefaultBorder(bool sipSelfWasArg) const
1128 {
1129     return (sipSelfWasArg ?  ::wxAuiNotebook::GetDefaultBorder() : GetDefaultBorder());
1130 }
1131 
sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const1132  ::wxBorder sipwxAuiNotebook::sipProtectVirt_GetDefaultBorderForControl(bool sipSelfWasArg) const
1133 {
1134     return (sipSelfWasArg ?  ::wxAuiNotebook::GetDefaultBorderForControl() : GetDefaultBorderForControl());
1135 }
1136 
sipProtectVirt_DoFreeze(bool sipSelfWasArg)1137 void sipwxAuiNotebook::sipProtectVirt_DoFreeze(bool sipSelfWasArg)
1138 {
1139     (sipSelfWasArg ?  ::wxAuiNotebook::DoFreeze() : DoFreeze());
1140 }
1141 
sipProtectVirt_DoThaw(bool sipSelfWasArg)1142 void sipwxAuiNotebook::sipProtectVirt_DoThaw(bool sipSelfWasArg)
1143 {
1144     (sipSelfWasArg ?  ::wxAuiNotebook::DoThaw() : DoThaw());
1145 }
1146 
sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)1147 bool sipwxAuiNotebook::sipProtectVirt_HasTransparentBackground(bool sipSelfWasArg)
1148 {
1149     return (sipSelfWasArg ?  ::wxAuiNotebook::HasTransparentBackground() : HasTransparentBackground());
1150 }
1151 
sipProtectVirt_TryBefore(bool sipSelfWasArg,::wxEvent & event)1152 bool sipwxAuiNotebook::sipProtectVirt_TryBefore(bool sipSelfWasArg, ::wxEvent& event)
1153 {
1154     return (sipSelfWasArg ?  ::wxAuiNotebook::TryBefore(event) : TryBefore(event));
1155 }
1156 
sipProtectVirt_TryAfter(bool sipSelfWasArg,::wxEvent & event)1157 bool sipwxAuiNotebook::sipProtectVirt_TryAfter(bool sipSelfWasArg, ::wxEvent& event)
1158 {
1159     return (sipSelfWasArg ?  ::wxAuiNotebook::TryAfter(event) : TryAfter(event));
1160 }
1161 
1162 
1163 PyDoc_STRVAR(doc_wxAuiNotebook_SendDestroyEvent, "SendDestroyEvent()\n"
1164 "\n"
1165 "Generate wxWindowDestroyEvent for this window.");
1166 
1167 extern "C" {static PyObject *meth_wxAuiNotebook_SendDestroyEvent(PyObject *, PyObject *);}
meth_wxAuiNotebook_SendDestroyEvent(PyObject * sipSelf,PyObject * sipArgs)1168 static PyObject *meth_wxAuiNotebook_SendDestroyEvent(PyObject *sipSelf, PyObject *sipArgs)
1169 {
1170     PyObject *sipParseErr = SIP_NULLPTR;
1171 
1172     {
1173         sipwxAuiNotebook *sipCpp;
1174 
1175         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
1176         {
1177             PyErr_Clear();
1178 
1179             Py_BEGIN_ALLOW_THREADS
1180             sipCpp->sipProtect_SendDestroyEvent();
1181             Py_END_ALLOW_THREADS
1182 
1183             if (PyErr_Occurred())
1184                 return 0;
1185 
1186             Py_INCREF(Py_None);
1187             return Py_None;
1188         }
1189     }
1190 
1191     /* Raise an exception if the arguments couldn't be parsed. */
1192     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SendDestroyEvent, SIP_NULLPTR);
1193 
1194     return SIP_NULLPTR;
1195 }
1196 
1197 
1198 PyDoc_STRVAR(doc_wxAuiNotebook_AddPage, "AddPage(page, caption, select=False, bitmap=wx.NullBitmap) -> bool\n"
1199 "AddPage(page, text, select, imageId) -> bool\n"
1200 "\n"
1201 "Adds a page.\n"
1202 "");
1203 
1204 extern "C" {static PyObject *meth_wxAuiNotebook_AddPage(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_AddPage(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1205 static PyObject *meth_wxAuiNotebook_AddPage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1206 {
1207     PyObject *sipParseErr = SIP_NULLPTR;
1208     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1209 
1210     {
1211          ::wxWindow* page;
1212         const  ::wxString* caption;
1213         int captionState = 0;
1214         bool select = 0;
1215         const  ::wxBitmap& bitmapdef = wxNullBitmap;
1216         const  ::wxBitmap* bitmap = &bitmapdef;
1217          ::wxAuiNotebook *sipCpp;
1218 
1219         static const char *sipKwdList[] = {
1220             sipName_page,
1221             sipName_caption,
1222             sipName_select,
1223             sipName_bitmap,
1224         };
1225 
1226         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J1|bJ9", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxWindow, &page, sipType_wxString,&caption, &captionState, &select, sipType_wxBitmap, &bitmap))
1227         {
1228             bool sipRes;
1229 
1230             PyErr_Clear();
1231 
1232             Py_BEGIN_ALLOW_THREADS
1233             sipRes = sipCpp->AddPage(page,*caption,select,*bitmap);
1234             Py_END_ALLOW_THREADS
1235             sipReleaseType(const_cast< ::wxString *>(caption),sipType_wxString,captionState);
1236 
1237             if (PyErr_Occurred())
1238                 return 0;
1239 
1240             return PyBool_FromLong(sipRes);
1241         }
1242     }
1243 
1244     {
1245          ::wxWindow* page;
1246         const  ::wxString* text;
1247         int textState = 0;
1248         bool select;
1249         int imageId;
1250          ::wxAuiNotebook *sipCpp;
1251 
1252         static const char *sipKwdList[] = {
1253             sipName_page,
1254             sipName_text,
1255             sipName_select,
1256             sipName_imageId,
1257         };
1258 
1259         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J1bi", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxWindow, &page, sipType_wxString,&text, &textState, &select, &imageId))
1260         {
1261             bool sipRes;
1262 
1263             PyErr_Clear();
1264 
1265             Py_BEGIN_ALLOW_THREADS
1266             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::AddPage(page,*text,select,imageId) : sipCpp->AddPage(page,*text,select,imageId));
1267             Py_END_ALLOW_THREADS
1268             sipReleaseType(const_cast< ::wxString *>(text),sipType_wxString,textState);
1269 
1270             if (PyErr_Occurred())
1271                 return 0;
1272 
1273             return PyBool_FromLong(sipRes);
1274         }
1275     }
1276 
1277     /* Raise an exception if the arguments couldn't be parsed. */
1278     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_AddPage, SIP_NULLPTR);
1279 
1280     return SIP_NULLPTR;
1281 }
1282 
1283 
1284 PyDoc_STRVAR(doc_wxAuiNotebook_AdvanceSelection, "AdvanceSelection(forward=True)\n"
1285 "\n"
1286 "Sets the selection to the next or previous page.");
1287 
1288 extern "C" {static PyObject *meth_wxAuiNotebook_AdvanceSelection(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_AdvanceSelection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1289 static PyObject *meth_wxAuiNotebook_AdvanceSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1290 {
1291     PyObject *sipParseErr = SIP_NULLPTR;
1292 
1293     {
1294         bool forward = 1;
1295          ::wxAuiNotebook *sipCpp;
1296 
1297         static const char *sipKwdList[] = {
1298             sipName_forward,
1299         };
1300 
1301         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &forward))
1302         {
1303             PyErr_Clear();
1304 
1305             Py_BEGIN_ALLOW_THREADS
1306             sipCpp->AdvanceSelection(forward);
1307             Py_END_ALLOW_THREADS
1308 
1309             if (PyErr_Occurred())
1310                 return 0;
1311 
1312             Py_INCREF(Py_None);
1313             return Py_None;
1314         }
1315     }
1316 
1317     /* Raise an exception if the arguments couldn't be parsed. */
1318     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_AdvanceSelection, SIP_NULLPTR);
1319 
1320     return SIP_NULLPTR;
1321 }
1322 
1323 
1324 PyDoc_STRVAR(doc_wxAuiNotebook_ChangeSelection, "ChangeSelection(n) -> int\n"
1325 "\n"
1326 "Changes the selection for the given page, returning the previous\n"
1327 "selection.");
1328 
1329 extern "C" {static PyObject *meth_wxAuiNotebook_ChangeSelection(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_ChangeSelection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1330 static PyObject *meth_wxAuiNotebook_ChangeSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1331 {
1332     PyObject *sipParseErr = SIP_NULLPTR;
1333     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1334 
1335     {
1336         size_t n;
1337          ::wxAuiNotebook *sipCpp;
1338 
1339         static const char *sipKwdList[] = {
1340             sipName_n,
1341         };
1342 
1343         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &n))
1344         {
1345             int sipRes;
1346 
1347             PyErr_Clear();
1348 
1349             Py_BEGIN_ALLOW_THREADS
1350             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::ChangeSelection(n) : sipCpp->ChangeSelection(n));
1351             Py_END_ALLOW_THREADS
1352 
1353             if (PyErr_Occurred())
1354                 return 0;
1355 
1356             return SIPLong_FromLong(sipRes);
1357         }
1358     }
1359 
1360     /* Raise an exception if the arguments couldn't be parsed. */
1361     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_ChangeSelection, SIP_NULLPTR);
1362 
1363     return SIP_NULLPTR;
1364 }
1365 
1366 
1367 PyDoc_STRVAR(doc_wxAuiNotebook_Create, "Create(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=0) -> bool\n"
1368 "\n"
1369 "Creates the notebook window.");
1370 
1371 extern "C" {static PyObject *meth_wxAuiNotebook_Create(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_Create(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1372 static PyObject *meth_wxAuiNotebook_Create(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1373 {
1374     PyObject *sipParseErr = SIP_NULLPTR;
1375 
1376     {
1377          ::wxWindow* parent;
1378          ::wxWindowID id = wxID_ANY;
1379         const  ::wxPoint& posdef = wxDefaultPosition;
1380         const  ::wxPoint* pos = &posdef;
1381         int posState = 0;
1382         const  ::wxSize& sizedef = wxDefaultSize;
1383         const  ::wxSize* size = &sizedef;
1384         int sizeState = 0;
1385         long style = 0;
1386         sipWrapper *sipOwner = SIP_NULLPTR;
1387          ::wxAuiNotebook *sipCpp;
1388 
1389         static const char *sipKwdList[] = {
1390             sipName_parent,
1391             sipName_id,
1392             sipName_pos,
1393             sipName_size,
1394             sipName_style,
1395         };
1396 
1397         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJH|iJ1J1l", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxWindow, &parent, &sipOwner, &id, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style))
1398         {
1399             bool sipRes;
1400 
1401             PyErr_Clear();
1402 
1403             Py_BEGIN_ALLOW_THREADS
1404             sipRes = sipCpp->Create(parent,id,*pos,*size,style);
1405             Py_END_ALLOW_THREADS
1406 
1407             if (sipOwner)
1408                 sipTransferTo(sipSelf, (PyObject *)sipOwner);
1409             else
1410                 sipTransferBack(sipSelf);
1411             sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
1412             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
1413 
1414             if (PyErr_Occurred())
1415                 return 0;
1416 
1417             return PyBool_FromLong(sipRes);
1418         }
1419     }
1420 
1421     /* Raise an exception if the arguments couldn't be parsed. */
1422     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_Create, SIP_NULLPTR);
1423 
1424     return SIP_NULLPTR;
1425 }
1426 
1427 
1428 PyDoc_STRVAR(doc_wxAuiNotebook_DeleteAllPages, "DeleteAllPages() -> bool\n"
1429 "\n"
1430 "Deletes all pages.");
1431 
1432 extern "C" {static PyObject *meth_wxAuiNotebook_DeleteAllPages(PyObject *, PyObject *);}
meth_wxAuiNotebook_DeleteAllPages(PyObject * sipSelf,PyObject * sipArgs)1433 static PyObject *meth_wxAuiNotebook_DeleteAllPages(PyObject *sipSelf, PyObject *sipArgs)
1434 {
1435     PyObject *sipParseErr = SIP_NULLPTR;
1436     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1437 
1438     {
1439          ::wxAuiNotebook *sipCpp;
1440 
1441         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
1442         {
1443             bool sipRes;
1444 
1445             PyErr_Clear();
1446 
1447             Py_BEGIN_ALLOW_THREADS
1448             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::DeleteAllPages() : sipCpp->DeleteAllPages());
1449             Py_END_ALLOW_THREADS
1450 
1451             if (PyErr_Occurred())
1452                 return 0;
1453 
1454             return PyBool_FromLong(sipRes);
1455         }
1456     }
1457 
1458     /* Raise an exception if the arguments couldn't be parsed. */
1459     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DeleteAllPages, SIP_NULLPTR);
1460 
1461     return SIP_NULLPTR;
1462 }
1463 
1464 
1465 PyDoc_STRVAR(doc_wxAuiNotebook_DeletePage, "DeletePage(page) -> bool\n"
1466 "\n"
1467 "Deletes a page at the given index.");
1468 
1469 extern "C" {static PyObject *meth_wxAuiNotebook_DeletePage(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_DeletePage(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1470 static PyObject *meth_wxAuiNotebook_DeletePage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1471 {
1472     PyObject *sipParseErr = SIP_NULLPTR;
1473     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1474 
1475     {
1476         size_t page;
1477          ::wxAuiNotebook *sipCpp;
1478 
1479         static const char *sipKwdList[] = {
1480             sipName_page,
1481         };
1482 
1483         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &page))
1484         {
1485             bool sipRes;
1486 
1487             PyErr_Clear();
1488 
1489             Py_BEGIN_ALLOW_THREADS
1490             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::DeletePage(page) : sipCpp->DeletePage(page));
1491             Py_END_ALLOW_THREADS
1492 
1493             if (PyErr_Occurred())
1494                 return 0;
1495 
1496             return PyBool_FromLong(sipRes);
1497         }
1498     }
1499 
1500     /* Raise an exception if the arguments couldn't be parsed. */
1501     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DeletePage, SIP_NULLPTR);
1502 
1503     return SIP_NULLPTR;
1504 }
1505 
1506 
1507 PyDoc_STRVAR(doc_wxAuiNotebook_GetArtProvider, "GetArtProvider() -> AuiTabArt\n"
1508 "\n"
1509 "Returns the associated art provider.");
1510 
1511 extern "C" {static PyObject *meth_wxAuiNotebook_GetArtProvider(PyObject *, PyObject *);}
meth_wxAuiNotebook_GetArtProvider(PyObject * sipSelf,PyObject * sipArgs)1512 static PyObject *meth_wxAuiNotebook_GetArtProvider(PyObject *sipSelf, PyObject *sipArgs)
1513 {
1514     PyObject *sipParseErr = SIP_NULLPTR;
1515 
1516     {
1517         const  ::wxAuiNotebook *sipCpp;
1518 
1519         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
1520         {
1521              ::wxAuiTabArt*sipRes;
1522 
1523             PyErr_Clear();
1524 
1525             Py_BEGIN_ALLOW_THREADS
1526             sipRes = sipCpp->GetArtProvider();
1527             Py_END_ALLOW_THREADS
1528 
1529             if (PyErr_Occurred())
1530                 return 0;
1531 
1532             return sipConvertFromType(sipRes,sipType_wxAuiTabArt,SIP_NULLPTR);
1533         }
1534     }
1535 
1536     /* Raise an exception if the arguments couldn't be parsed. */
1537     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetArtProvider, SIP_NULLPTR);
1538 
1539     return SIP_NULLPTR;
1540 }
1541 
1542 
1543 PyDoc_STRVAR(doc_wxAuiNotebook_GetCurrentPage, "GetCurrentPage() -> wx.Window\n"
1544 "\n"
1545 "Returns the currently selected page or NULL.");
1546 
1547 extern "C" {static PyObject *meth_wxAuiNotebook_GetCurrentPage(PyObject *, PyObject *);}
meth_wxAuiNotebook_GetCurrentPage(PyObject * sipSelf,PyObject * sipArgs)1548 static PyObject *meth_wxAuiNotebook_GetCurrentPage(PyObject *sipSelf, PyObject *sipArgs)
1549 {
1550     PyObject *sipParseErr = SIP_NULLPTR;
1551 
1552     {
1553         const  ::wxAuiNotebook *sipCpp;
1554 
1555         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
1556         {
1557              ::wxWindow*sipRes;
1558 
1559             PyErr_Clear();
1560 
1561             Py_BEGIN_ALLOW_THREADS
1562             sipRes = sipCpp->GetCurrentPage();
1563             Py_END_ALLOW_THREADS
1564 
1565             if (PyErr_Occurred())
1566                 return 0;
1567 
1568             return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
1569         }
1570     }
1571 
1572     /* Raise an exception if the arguments couldn't be parsed. */
1573     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetCurrentPage, SIP_NULLPTR);
1574 
1575     return SIP_NULLPTR;
1576 }
1577 
1578 
1579 PyDoc_STRVAR(doc_wxAuiNotebook_GetHeightForPageHeight, "GetHeightForPageHeight(pageHeight) -> int\n"
1580 "\n"
1581 "Returns the desired height of the notebook for the given page height.");
1582 
1583 extern "C" {static PyObject *meth_wxAuiNotebook_GetHeightForPageHeight(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_GetHeightForPageHeight(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1584 static PyObject *meth_wxAuiNotebook_GetHeightForPageHeight(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1585 {
1586     PyObject *sipParseErr = SIP_NULLPTR;
1587 
1588     {
1589         int pageHeight;
1590          ::wxAuiNotebook *sipCpp;
1591 
1592         static const char *sipKwdList[] = {
1593             sipName_pageHeight,
1594         };
1595 
1596         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &pageHeight))
1597         {
1598             int sipRes;
1599 
1600             PyErr_Clear();
1601 
1602             Py_BEGIN_ALLOW_THREADS
1603             sipRes = sipCpp->GetHeightForPageHeight(pageHeight);
1604             Py_END_ALLOW_THREADS
1605 
1606             if (PyErr_Occurred())
1607                 return 0;
1608 
1609             return SIPLong_FromLong(sipRes);
1610         }
1611     }
1612 
1613     /* Raise an exception if the arguments couldn't be parsed. */
1614     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetHeightForPageHeight, SIP_NULLPTR);
1615 
1616     return SIP_NULLPTR;
1617 }
1618 
1619 
1620 PyDoc_STRVAR(doc_wxAuiNotebook_GetPage, "GetPage(page_idx) -> wx.Window\n"
1621 "\n"
1622 "Returns the page specified by the given index.");
1623 
1624 extern "C" {static PyObject *meth_wxAuiNotebook_GetPage(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_GetPage(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1625 static PyObject *meth_wxAuiNotebook_GetPage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1626 {
1627     PyObject *sipParseErr = SIP_NULLPTR;
1628 
1629     {
1630         size_t page_idx;
1631         const  ::wxAuiNotebook *sipCpp;
1632 
1633         static const char *sipKwdList[] = {
1634             sipName_page_idx,
1635         };
1636 
1637         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &page_idx))
1638         {
1639              ::wxWindow*sipRes;
1640 
1641             PyErr_Clear();
1642 
1643             Py_BEGIN_ALLOW_THREADS
1644             sipRes = sipCpp->GetPage(page_idx);
1645             Py_END_ALLOW_THREADS
1646 
1647             if (PyErr_Occurred())
1648                 return 0;
1649 
1650             return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
1651         }
1652     }
1653 
1654     /* Raise an exception if the arguments couldn't be parsed. */
1655     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetPage, SIP_NULLPTR);
1656 
1657     return SIP_NULLPTR;
1658 }
1659 
1660 
1661 PyDoc_STRVAR(doc_wxAuiNotebook_GetPageBitmap, "GetPageBitmap(page) -> wx.Bitmap\n"
1662 "\n"
1663 "Returns the tab bitmap for the page.");
1664 
1665 extern "C" {static PyObject *meth_wxAuiNotebook_GetPageBitmap(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_GetPageBitmap(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1666 static PyObject *meth_wxAuiNotebook_GetPageBitmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1667 {
1668     PyObject *sipParseErr = SIP_NULLPTR;
1669 
1670     {
1671         size_t page;
1672         const  ::wxAuiNotebook *sipCpp;
1673 
1674         static const char *sipKwdList[] = {
1675             sipName_page,
1676         };
1677 
1678         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &page))
1679         {
1680              ::wxBitmap*sipRes;
1681 
1682             PyErr_Clear();
1683 
1684             Py_BEGIN_ALLOW_THREADS
1685             sipRes = new  ::wxBitmap(sipCpp->GetPageBitmap(page));
1686             Py_END_ALLOW_THREADS
1687 
1688             if (PyErr_Occurred())
1689                 return 0;
1690 
1691             return sipConvertFromNewType(sipRes,sipType_wxBitmap,SIP_NULLPTR);
1692         }
1693     }
1694 
1695     /* Raise an exception if the arguments couldn't be parsed. */
1696     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetPageBitmap, SIP_NULLPTR);
1697 
1698     return SIP_NULLPTR;
1699 }
1700 
1701 
1702 PyDoc_STRVAR(doc_wxAuiNotebook_GetPageCount, "GetPageCount() -> size_t\n"
1703 "\n"
1704 "Returns the number of pages in the notebook.");
1705 
1706 extern "C" {static PyObject *meth_wxAuiNotebook_GetPageCount(PyObject *, PyObject *);}
meth_wxAuiNotebook_GetPageCount(PyObject * sipSelf,PyObject * sipArgs)1707 static PyObject *meth_wxAuiNotebook_GetPageCount(PyObject *sipSelf, PyObject *sipArgs)
1708 {
1709     PyObject *sipParseErr = SIP_NULLPTR;
1710     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1711 
1712     {
1713         const  ::wxAuiNotebook *sipCpp;
1714 
1715         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
1716         {
1717             size_t sipRes;
1718 
1719             PyErr_Clear();
1720 
1721             Py_BEGIN_ALLOW_THREADS
1722             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::GetPageCount() : sipCpp->GetPageCount());
1723             Py_END_ALLOW_THREADS
1724 
1725             if (PyErr_Occurred())
1726                 return 0;
1727 
1728             return PyLong_FromUnsignedLong(sipRes);
1729         }
1730     }
1731 
1732     /* Raise an exception if the arguments couldn't be parsed. */
1733     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetPageCount, SIP_NULLPTR);
1734 
1735     return SIP_NULLPTR;
1736 }
1737 
1738 
1739 PyDoc_STRVAR(doc_wxAuiNotebook_GetPageIndex, "GetPageIndex(page_wnd) -> int\n"
1740 "\n"
1741 "Returns the page index for the specified window.");
1742 
1743 extern "C" {static PyObject *meth_wxAuiNotebook_GetPageIndex(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_GetPageIndex(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1744 static PyObject *meth_wxAuiNotebook_GetPageIndex(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1745 {
1746     PyObject *sipParseErr = SIP_NULLPTR;
1747 
1748     {
1749          ::wxWindow* page_wnd;
1750         const  ::wxAuiNotebook *sipCpp;
1751 
1752         static const char *sipKwdList[] = {
1753             sipName_page_wnd,
1754         };
1755 
1756         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxWindow, &page_wnd))
1757         {
1758             int sipRes;
1759 
1760             PyErr_Clear();
1761 
1762             Py_BEGIN_ALLOW_THREADS
1763             sipRes = sipCpp->GetPageIndex(page_wnd);
1764             Py_END_ALLOW_THREADS
1765 
1766             if (PyErr_Occurred())
1767                 return 0;
1768 
1769             return SIPLong_FromLong(sipRes);
1770         }
1771     }
1772 
1773     /* Raise an exception if the arguments couldn't be parsed. */
1774     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetPageIndex, SIP_NULLPTR);
1775 
1776     return SIP_NULLPTR;
1777 }
1778 
1779 
1780 PyDoc_STRVAR(doc_wxAuiNotebook_GetPageText, "GetPageText(page) -> String\n"
1781 "\n"
1782 "Returns the tab label for the page.");
1783 
1784 extern "C" {static PyObject *meth_wxAuiNotebook_GetPageText(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_GetPageText(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1785 static PyObject *meth_wxAuiNotebook_GetPageText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1786 {
1787     PyObject *sipParseErr = SIP_NULLPTR;
1788     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1789 
1790     {
1791         size_t page;
1792         const  ::wxAuiNotebook *sipCpp;
1793 
1794         static const char *sipKwdList[] = {
1795             sipName_page,
1796         };
1797 
1798         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &page))
1799         {
1800              ::wxString*sipRes;
1801 
1802             PyErr_Clear();
1803 
1804             Py_BEGIN_ALLOW_THREADS
1805             sipRes = new  ::wxString((sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::GetPageText(page) : sipCpp->GetPageText(page)));
1806             Py_END_ALLOW_THREADS
1807 
1808             if (PyErr_Occurred())
1809                 return 0;
1810 
1811             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
1812         }
1813     }
1814 
1815     /* Raise an exception if the arguments couldn't be parsed. */
1816     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetPageText, SIP_NULLPTR);
1817 
1818     return SIP_NULLPTR;
1819 }
1820 
1821 
1822 PyDoc_STRVAR(doc_wxAuiNotebook_GetPageToolTip, "GetPageToolTip(pageIdx) -> String\n"
1823 "\n"
1824 "Returns the tooltip for the tab label of the page.");
1825 
1826 extern "C" {static PyObject *meth_wxAuiNotebook_GetPageToolTip(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_GetPageToolTip(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1827 static PyObject *meth_wxAuiNotebook_GetPageToolTip(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1828 {
1829     PyObject *sipParseErr = SIP_NULLPTR;
1830 
1831     {
1832         size_t pageIdx;
1833         const  ::wxAuiNotebook *sipCpp;
1834 
1835         static const char *sipKwdList[] = {
1836             sipName_pageIdx,
1837         };
1838 
1839         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &pageIdx))
1840         {
1841              ::wxString*sipRes;
1842 
1843             PyErr_Clear();
1844 
1845             Py_BEGIN_ALLOW_THREADS
1846             sipRes = new  ::wxString(sipCpp->GetPageToolTip(pageIdx));
1847             Py_END_ALLOW_THREADS
1848 
1849             if (PyErr_Occurred())
1850                 return 0;
1851 
1852             return sipConvertFromNewType(sipRes,sipType_wxString,SIP_NULLPTR);
1853         }
1854     }
1855 
1856     /* Raise an exception if the arguments couldn't be parsed. */
1857     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetPageToolTip, SIP_NULLPTR);
1858 
1859     return SIP_NULLPTR;
1860 }
1861 
1862 
1863 PyDoc_STRVAR(doc_wxAuiNotebook_GetSelection, "GetSelection() -> int\n"
1864 "\n"
1865 "Returns the currently selected page.");
1866 
1867 extern "C" {static PyObject *meth_wxAuiNotebook_GetSelection(PyObject *, PyObject *);}
meth_wxAuiNotebook_GetSelection(PyObject * sipSelf,PyObject * sipArgs)1868 static PyObject *meth_wxAuiNotebook_GetSelection(PyObject *sipSelf, PyObject *sipArgs)
1869 {
1870     PyObject *sipParseErr = SIP_NULLPTR;
1871     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1872 
1873     {
1874         const  ::wxAuiNotebook *sipCpp;
1875 
1876         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
1877         {
1878             int sipRes;
1879 
1880             PyErr_Clear();
1881 
1882             Py_BEGIN_ALLOW_THREADS
1883             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::GetSelection() : sipCpp->GetSelection());
1884             Py_END_ALLOW_THREADS
1885 
1886             if (PyErr_Occurred())
1887                 return 0;
1888 
1889             return SIPLong_FromLong(sipRes);
1890         }
1891     }
1892 
1893     /* Raise an exception if the arguments couldn't be parsed. */
1894     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetSelection, SIP_NULLPTR);
1895 
1896     return SIP_NULLPTR;
1897 }
1898 
1899 
1900 PyDoc_STRVAR(doc_wxAuiNotebook_GetTabCtrlHeight, "GetTabCtrlHeight() -> int\n"
1901 "\n"
1902 "Returns the height of the tab control.");
1903 
1904 extern "C" {static PyObject *meth_wxAuiNotebook_GetTabCtrlHeight(PyObject *, PyObject *);}
meth_wxAuiNotebook_GetTabCtrlHeight(PyObject * sipSelf,PyObject * sipArgs)1905 static PyObject *meth_wxAuiNotebook_GetTabCtrlHeight(PyObject *sipSelf, PyObject *sipArgs)
1906 {
1907     PyObject *sipParseErr = SIP_NULLPTR;
1908 
1909     {
1910         const  ::wxAuiNotebook *sipCpp;
1911 
1912         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
1913         {
1914             int sipRes;
1915 
1916             PyErr_Clear();
1917 
1918             Py_BEGIN_ALLOW_THREADS
1919             sipRes = sipCpp->GetTabCtrlHeight();
1920             Py_END_ALLOW_THREADS
1921 
1922             if (PyErr_Occurred())
1923                 return 0;
1924 
1925             return SIPLong_FromLong(sipRes);
1926         }
1927     }
1928 
1929     /* Raise an exception if the arguments couldn't be parsed. */
1930     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetTabCtrlHeight, SIP_NULLPTR);
1931 
1932     return SIP_NULLPTR;
1933 }
1934 
1935 
1936 PyDoc_STRVAR(doc_wxAuiNotebook_InsertPage, "InsertPage(page_idx, page, caption, select=False, bitmap=wx.NullBitmap) -> bool\n"
1937 "InsertPage(index, page, text, select, imageId) -> bool\n"
1938 "\n"
1939 "InsertPage() is similar to AddPage, but allows the ability to specify\n"
1940 "the insert location.\n"
1941 "");
1942 
1943 extern "C" {static PyObject *meth_wxAuiNotebook_InsertPage(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_InsertPage(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1944 static PyObject *meth_wxAuiNotebook_InsertPage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1945 {
1946     PyObject *sipParseErr = SIP_NULLPTR;
1947     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1948 
1949     {
1950         size_t page_idx;
1951          ::wxWindow* page;
1952         const  ::wxString* caption;
1953         int captionState = 0;
1954         bool select = 0;
1955         const  ::wxBitmap& bitmapdef = wxNullBitmap;
1956         const  ::wxBitmap* bitmap = &bitmapdef;
1957          ::wxAuiNotebook *sipCpp;
1958 
1959         static const char *sipKwdList[] = {
1960             sipName_page_idx,
1961             sipName_page,
1962             sipName_caption,
1963             sipName_select,
1964             sipName_bitmap,
1965         };
1966 
1967         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=J8J1|bJ9", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &page_idx, sipType_wxWindow, &page, sipType_wxString,&caption, &captionState, &select, sipType_wxBitmap, &bitmap))
1968         {
1969             bool sipRes;
1970 
1971             PyErr_Clear();
1972 
1973             Py_BEGIN_ALLOW_THREADS
1974             sipRes = sipCpp->InsertPage(page_idx,page,*caption,select,*bitmap);
1975             Py_END_ALLOW_THREADS
1976             sipReleaseType(const_cast< ::wxString *>(caption),sipType_wxString,captionState);
1977 
1978             if (PyErr_Occurred())
1979                 return 0;
1980 
1981             return PyBool_FromLong(sipRes);
1982         }
1983     }
1984 
1985     {
1986         size_t index;
1987          ::wxWindow* page;
1988         const  ::wxString* text;
1989         int textState = 0;
1990         bool select;
1991         int imageId;
1992          ::wxAuiNotebook *sipCpp;
1993 
1994         static const char *sipKwdList[] = {
1995             sipName_index,
1996             sipName_page,
1997             sipName_text,
1998             sipName_select,
1999             sipName_imageId,
2000         };
2001 
2002         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=J8J1bi", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &index, sipType_wxWindow, &page, sipType_wxString,&text, &textState, &select, &imageId))
2003         {
2004             bool sipRes;
2005 
2006             PyErr_Clear();
2007 
2008             Py_BEGIN_ALLOW_THREADS
2009             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::InsertPage(index,page,*text,select,imageId) : sipCpp->InsertPage(index,page,*text,select,imageId));
2010             Py_END_ALLOW_THREADS
2011             sipReleaseType(const_cast< ::wxString *>(text),sipType_wxString,textState);
2012 
2013             if (PyErr_Occurred())
2014                 return 0;
2015 
2016             return PyBool_FromLong(sipRes);
2017         }
2018     }
2019 
2020     /* Raise an exception if the arguments couldn't be parsed. */
2021     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_InsertPage, SIP_NULLPTR);
2022 
2023     return SIP_NULLPTR;
2024 }
2025 
2026 
2027 PyDoc_STRVAR(doc_wxAuiNotebook_RemovePage, "RemovePage(page) -> bool\n"
2028 "\n"
2029 "Removes a page, without deleting the window pointer.");
2030 
2031 extern "C" {static PyObject *meth_wxAuiNotebook_RemovePage(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_RemovePage(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2032 static PyObject *meth_wxAuiNotebook_RemovePage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2033 {
2034     PyObject *sipParseErr = SIP_NULLPTR;
2035     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2036 
2037     {
2038         size_t page;
2039          ::wxAuiNotebook *sipCpp;
2040 
2041         static const char *sipKwdList[] = {
2042             sipName_page,
2043         };
2044 
2045         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &page))
2046         {
2047             bool sipRes;
2048 
2049             PyErr_Clear();
2050 
2051             Py_BEGIN_ALLOW_THREADS
2052             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::RemovePage(page) : sipCpp->RemovePage(page));
2053             Py_END_ALLOW_THREADS
2054 
2055             if (PyErr_Occurred())
2056                 return 0;
2057 
2058             return PyBool_FromLong(sipRes);
2059         }
2060     }
2061 
2062     /* Raise an exception if the arguments couldn't be parsed. */
2063     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_RemovePage, SIP_NULLPTR);
2064 
2065     return SIP_NULLPTR;
2066 }
2067 
2068 
2069 PyDoc_STRVAR(doc_wxAuiNotebook_SetArtProvider, "SetArtProvider(art)\n"
2070 "\n"
2071 "Sets the art provider to be used by the notebook.");
2072 
2073 extern "C" {static PyObject *meth_wxAuiNotebook_SetArtProvider(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetArtProvider(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2074 static PyObject *meth_wxAuiNotebook_SetArtProvider(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2075 {
2076     PyObject *sipParseErr = SIP_NULLPTR;
2077 
2078     {
2079          ::wxAuiTabArt* art;
2080          ::wxAuiNotebook *sipCpp;
2081 
2082         static const char *sipKwdList[] = {
2083             sipName_art,
2084         };
2085 
2086         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ:", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxAuiTabArt, &art))
2087         {
2088             PyErr_Clear();
2089 
2090             Py_BEGIN_ALLOW_THREADS
2091             sipCpp->SetArtProvider(art);
2092             Py_END_ALLOW_THREADS
2093 
2094             if (PyErr_Occurred())
2095                 return 0;
2096 
2097             Py_INCREF(Py_None);
2098             return Py_None;
2099         }
2100     }
2101 
2102     /* Raise an exception if the arguments couldn't be parsed. */
2103     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetArtProvider, SIP_NULLPTR);
2104 
2105     return SIP_NULLPTR;
2106 }
2107 
2108 
2109 PyDoc_STRVAR(doc_wxAuiNotebook_SetFont, "SetFont(font) -> bool\n"
2110 "\n"
2111 "Sets the font for drawing the tab labels, using a bold version of the\n"
2112 "font for selected tab labels.");
2113 
2114 extern "C" {static PyObject *meth_wxAuiNotebook_SetFont(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetFont(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2115 static PyObject *meth_wxAuiNotebook_SetFont(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2116 {
2117     PyObject *sipParseErr = SIP_NULLPTR;
2118 
2119     {
2120         const  ::wxFont* font;
2121          ::wxAuiNotebook *sipCpp;
2122 
2123         static const char *sipKwdList[] = {
2124             sipName_font,
2125         };
2126 
2127         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxFont, &font))
2128         {
2129             bool sipRes;
2130 
2131             PyErr_Clear();
2132 
2133             Py_BEGIN_ALLOW_THREADS
2134             sipRes = sipCpp->SetFont(*font);
2135             Py_END_ALLOW_THREADS
2136 
2137             if (PyErr_Occurred())
2138                 return 0;
2139 
2140             return PyBool_FromLong(sipRes);
2141         }
2142     }
2143 
2144     /* Raise an exception if the arguments couldn't be parsed. */
2145     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetFont, SIP_NULLPTR);
2146 
2147     return SIP_NULLPTR;
2148 }
2149 
2150 
2151 PyDoc_STRVAR(doc_wxAuiNotebook_SetMeasuringFont, "SetMeasuringFont(font)\n"
2152 "\n"
2153 "Sets the font for measuring tab labels.");
2154 
2155 extern "C" {static PyObject *meth_wxAuiNotebook_SetMeasuringFont(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetMeasuringFont(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2156 static PyObject *meth_wxAuiNotebook_SetMeasuringFont(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2157 {
2158     PyObject *sipParseErr = SIP_NULLPTR;
2159 
2160     {
2161         const  ::wxFont* font;
2162          ::wxAuiNotebook *sipCpp;
2163 
2164         static const char *sipKwdList[] = {
2165             sipName_font,
2166         };
2167 
2168         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxFont, &font))
2169         {
2170             PyErr_Clear();
2171 
2172             Py_BEGIN_ALLOW_THREADS
2173             sipCpp->SetMeasuringFont(*font);
2174             Py_END_ALLOW_THREADS
2175 
2176             if (PyErr_Occurred())
2177                 return 0;
2178 
2179             Py_INCREF(Py_None);
2180             return Py_None;
2181         }
2182     }
2183 
2184     /* Raise an exception if the arguments couldn't be parsed. */
2185     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetMeasuringFont, SIP_NULLPTR);
2186 
2187     return SIP_NULLPTR;
2188 }
2189 
2190 
2191 PyDoc_STRVAR(doc_wxAuiNotebook_SetNormalFont, "SetNormalFont(font)\n"
2192 "\n"
2193 "Sets the font for drawing unselected tab labels.");
2194 
2195 extern "C" {static PyObject *meth_wxAuiNotebook_SetNormalFont(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetNormalFont(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2196 static PyObject *meth_wxAuiNotebook_SetNormalFont(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2197 {
2198     PyObject *sipParseErr = SIP_NULLPTR;
2199 
2200     {
2201         const  ::wxFont* font;
2202          ::wxAuiNotebook *sipCpp;
2203 
2204         static const char *sipKwdList[] = {
2205             sipName_font,
2206         };
2207 
2208         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxFont, &font))
2209         {
2210             PyErr_Clear();
2211 
2212             Py_BEGIN_ALLOW_THREADS
2213             sipCpp->SetNormalFont(*font);
2214             Py_END_ALLOW_THREADS
2215 
2216             if (PyErr_Occurred())
2217                 return 0;
2218 
2219             Py_INCREF(Py_None);
2220             return Py_None;
2221         }
2222     }
2223 
2224     /* Raise an exception if the arguments couldn't be parsed. */
2225     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetNormalFont, SIP_NULLPTR);
2226 
2227     return SIP_NULLPTR;
2228 }
2229 
2230 
2231 PyDoc_STRVAR(doc_wxAuiNotebook_SetPageBitmap, "SetPageBitmap(page, bitmap) -> bool\n"
2232 "\n"
2233 "Sets the bitmap for the page.");
2234 
2235 extern "C" {static PyObject *meth_wxAuiNotebook_SetPageBitmap(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetPageBitmap(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2236 static PyObject *meth_wxAuiNotebook_SetPageBitmap(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2237 {
2238     PyObject *sipParseErr = SIP_NULLPTR;
2239 
2240     {
2241         size_t page;
2242         const  ::wxBitmap* bitmap;
2243          ::wxAuiNotebook *sipCpp;
2244 
2245         static const char *sipKwdList[] = {
2246             sipName_page,
2247             sipName_bitmap,
2248         };
2249 
2250         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=J9", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &page, sipType_wxBitmap, &bitmap))
2251         {
2252             bool sipRes;
2253 
2254             PyErr_Clear();
2255 
2256             Py_BEGIN_ALLOW_THREADS
2257             sipRes = sipCpp->SetPageBitmap(page,*bitmap);
2258             Py_END_ALLOW_THREADS
2259 
2260             if (PyErr_Occurred())
2261                 return 0;
2262 
2263             return PyBool_FromLong(sipRes);
2264         }
2265     }
2266 
2267     /* Raise an exception if the arguments couldn't be parsed. */
2268     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetPageBitmap, SIP_NULLPTR);
2269 
2270     return SIP_NULLPTR;
2271 }
2272 
2273 
2274 PyDoc_STRVAR(doc_wxAuiNotebook_SetPageImage, "SetPageImage(n, imageId) -> bool\n"
2275 "\n"
2276 "Sets the image index for the given page.");
2277 
2278 extern "C" {static PyObject *meth_wxAuiNotebook_SetPageImage(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetPageImage(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2279 static PyObject *meth_wxAuiNotebook_SetPageImage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2280 {
2281     PyObject *sipParseErr = SIP_NULLPTR;
2282     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2283 
2284     {
2285         size_t n;
2286         int imageId;
2287          ::wxAuiNotebook *sipCpp;
2288 
2289         static const char *sipKwdList[] = {
2290             sipName_n,
2291             sipName_imageId,
2292         };
2293 
2294         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=i", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &n, &imageId))
2295         {
2296             bool sipRes;
2297 
2298             PyErr_Clear();
2299 
2300             Py_BEGIN_ALLOW_THREADS
2301             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::SetPageImage(n,imageId) : sipCpp->SetPageImage(n,imageId));
2302             Py_END_ALLOW_THREADS
2303 
2304             if (PyErr_Occurred())
2305                 return 0;
2306 
2307             return PyBool_FromLong(sipRes);
2308         }
2309     }
2310 
2311     /* Raise an exception if the arguments couldn't be parsed. */
2312     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetPageImage, SIP_NULLPTR);
2313 
2314     return SIP_NULLPTR;
2315 }
2316 
2317 
2318 PyDoc_STRVAR(doc_wxAuiNotebook_SetPageText, "SetPageText(page, text) -> bool\n"
2319 "\n"
2320 "Sets the tab label for the page.");
2321 
2322 extern "C" {static PyObject *meth_wxAuiNotebook_SetPageText(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetPageText(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2323 static PyObject *meth_wxAuiNotebook_SetPageText(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2324 {
2325     PyObject *sipParseErr = SIP_NULLPTR;
2326     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2327 
2328     {
2329         size_t page;
2330         const  ::wxString* text;
2331         int textState = 0;
2332          ::wxAuiNotebook *sipCpp;
2333 
2334         static const char *sipKwdList[] = {
2335             sipName_page,
2336             sipName_text,
2337         };
2338 
2339         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=J1", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &page, sipType_wxString,&text, &textState))
2340         {
2341             bool sipRes;
2342 
2343             PyErr_Clear();
2344 
2345             Py_BEGIN_ALLOW_THREADS
2346             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::SetPageText(page,*text) : sipCpp->SetPageText(page,*text));
2347             Py_END_ALLOW_THREADS
2348             sipReleaseType(const_cast< ::wxString *>(text),sipType_wxString,textState);
2349 
2350             if (PyErr_Occurred())
2351                 return 0;
2352 
2353             return PyBool_FromLong(sipRes);
2354         }
2355     }
2356 
2357     /* Raise an exception if the arguments couldn't be parsed. */
2358     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetPageText, SIP_NULLPTR);
2359 
2360     return SIP_NULLPTR;
2361 }
2362 
2363 
2364 PyDoc_STRVAR(doc_wxAuiNotebook_SetPageToolTip, "SetPageToolTip(page, text) -> bool\n"
2365 "\n"
2366 "Sets the tooltip displayed when hovering over the tab label of the\n"
2367 "page.");
2368 
2369 extern "C" {static PyObject *meth_wxAuiNotebook_SetPageToolTip(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetPageToolTip(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2370 static PyObject *meth_wxAuiNotebook_SetPageToolTip(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2371 {
2372     PyObject *sipParseErr = SIP_NULLPTR;
2373 
2374     {
2375         size_t page;
2376         const  ::wxString* text;
2377         int textState = 0;
2378          ::wxAuiNotebook *sipCpp;
2379 
2380         static const char *sipKwdList[] = {
2381             sipName_page,
2382             sipName_text,
2383         };
2384 
2385         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=J1", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &page, sipType_wxString,&text, &textState))
2386         {
2387             bool sipRes;
2388 
2389             PyErr_Clear();
2390 
2391             Py_BEGIN_ALLOW_THREADS
2392             sipRes = sipCpp->SetPageToolTip(page,*text);
2393             Py_END_ALLOW_THREADS
2394             sipReleaseType(const_cast< ::wxString *>(text),sipType_wxString,textState);
2395 
2396             if (PyErr_Occurred())
2397                 return 0;
2398 
2399             return PyBool_FromLong(sipRes);
2400         }
2401     }
2402 
2403     /* Raise an exception if the arguments couldn't be parsed. */
2404     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetPageToolTip, SIP_NULLPTR);
2405 
2406     return SIP_NULLPTR;
2407 }
2408 
2409 
2410 PyDoc_STRVAR(doc_wxAuiNotebook_SetSelectedFont, "SetSelectedFont(font)\n"
2411 "\n"
2412 "Sets the font for drawing selected tab labels.");
2413 
2414 extern "C" {static PyObject *meth_wxAuiNotebook_SetSelectedFont(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetSelectedFont(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2415 static PyObject *meth_wxAuiNotebook_SetSelectedFont(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2416 {
2417     PyObject *sipParseErr = SIP_NULLPTR;
2418 
2419     {
2420         const  ::wxFont* font;
2421          ::wxAuiNotebook *sipCpp;
2422 
2423         static const char *sipKwdList[] = {
2424             sipName_font,
2425         };
2426 
2427         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxFont, &font))
2428         {
2429             PyErr_Clear();
2430 
2431             Py_BEGIN_ALLOW_THREADS
2432             sipCpp->SetSelectedFont(*font);
2433             Py_END_ALLOW_THREADS
2434 
2435             if (PyErr_Occurred())
2436                 return 0;
2437 
2438             Py_INCREF(Py_None);
2439             return Py_None;
2440         }
2441     }
2442 
2443     /* Raise an exception if the arguments couldn't be parsed. */
2444     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetSelectedFont, SIP_NULLPTR);
2445 
2446     return SIP_NULLPTR;
2447 }
2448 
2449 
2450 PyDoc_STRVAR(doc_wxAuiNotebook_SetSelection, "SetSelection(new_page) -> int\n"
2451 "\n"
2452 "Sets the page selection.");
2453 
2454 extern "C" {static PyObject *meth_wxAuiNotebook_SetSelection(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetSelection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2455 static PyObject *meth_wxAuiNotebook_SetSelection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2456 {
2457     PyObject *sipParseErr = SIP_NULLPTR;
2458     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2459 
2460     {
2461         size_t new_page;
2462          ::wxAuiNotebook *sipCpp;
2463 
2464         static const char *sipKwdList[] = {
2465             sipName_new_page,
2466         };
2467 
2468         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &new_page))
2469         {
2470             int sipRes;
2471 
2472             PyErr_Clear();
2473 
2474             Py_BEGIN_ALLOW_THREADS
2475             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::SetSelection(new_page) : sipCpp->SetSelection(new_page));
2476             Py_END_ALLOW_THREADS
2477 
2478             if (PyErr_Occurred())
2479                 return 0;
2480 
2481             return SIPLong_FromLong(sipRes);
2482         }
2483     }
2484 
2485     /* Raise an exception if the arguments couldn't be parsed. */
2486     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetSelection, SIP_NULLPTR);
2487 
2488     return SIP_NULLPTR;
2489 }
2490 
2491 
2492 PyDoc_STRVAR(doc_wxAuiNotebook_SetTabCtrlHeight, "SetTabCtrlHeight(height)\n"
2493 "\n"
2494 "Sets the tab height.");
2495 
2496 extern "C" {static PyObject *meth_wxAuiNotebook_SetTabCtrlHeight(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetTabCtrlHeight(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2497 static PyObject *meth_wxAuiNotebook_SetTabCtrlHeight(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2498 {
2499     PyObject *sipParseErr = SIP_NULLPTR;
2500 
2501     {
2502         int height;
2503          ::wxAuiNotebook *sipCpp;
2504 
2505         static const char *sipKwdList[] = {
2506             sipName_height,
2507         };
2508 
2509         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &height))
2510         {
2511             PyErr_Clear();
2512 
2513             Py_BEGIN_ALLOW_THREADS
2514             sipCpp->SetTabCtrlHeight(height);
2515             Py_END_ALLOW_THREADS
2516 
2517             if (PyErr_Occurred())
2518                 return 0;
2519 
2520             Py_INCREF(Py_None);
2521             return Py_None;
2522         }
2523     }
2524 
2525     /* Raise an exception if the arguments couldn't be parsed. */
2526     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetTabCtrlHeight, SIP_NULLPTR);
2527 
2528     return SIP_NULLPTR;
2529 }
2530 
2531 
2532 PyDoc_STRVAR(doc_wxAuiNotebook_SetUniformBitmapSize, "SetUniformBitmapSize(size)\n"
2533 "\n"
2534 "Ensure that all tabs have the same height, even if some of them don't\n"
2535 "have bitmaps.");
2536 
2537 extern "C" {static PyObject *meth_wxAuiNotebook_SetUniformBitmapSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetUniformBitmapSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2538 static PyObject *meth_wxAuiNotebook_SetUniformBitmapSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2539 {
2540     PyObject *sipParseErr = SIP_NULLPTR;
2541 
2542     {
2543         const  ::wxSize* size;
2544         int sizeState = 0;
2545          ::wxAuiNotebook *sipCpp;
2546 
2547         static const char *sipKwdList[] = {
2548             sipName_size,
2549         };
2550 
2551         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxSize, &size, &sizeState))
2552         {
2553             PyErr_Clear();
2554 
2555             Py_BEGIN_ALLOW_THREADS
2556             sipCpp->SetUniformBitmapSize(*size);
2557             Py_END_ALLOW_THREADS
2558             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
2559 
2560             if (PyErr_Occurred())
2561                 return 0;
2562 
2563             Py_INCREF(Py_None);
2564             return Py_None;
2565         }
2566     }
2567 
2568     /* Raise an exception if the arguments couldn't be parsed. */
2569     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetUniformBitmapSize, SIP_NULLPTR);
2570 
2571     return SIP_NULLPTR;
2572 }
2573 
2574 
2575 PyDoc_STRVAR(doc_wxAuiNotebook_Split, "Split(page, direction)\n"
2576 "\n"
2577 "Split performs a split operation programmatically.");
2578 
2579 extern "C" {static PyObject *meth_wxAuiNotebook_Split(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_Split(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2580 static PyObject *meth_wxAuiNotebook_Split(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2581 {
2582     PyObject *sipParseErr = SIP_NULLPTR;
2583 
2584     {
2585         size_t page;
2586         int direction;
2587          ::wxAuiNotebook *sipCpp;
2588 
2589         static const char *sipKwdList[] = {
2590             sipName_page,
2591             sipName_direction,
2592         };
2593 
2594         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=i", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &page, &direction))
2595         {
2596             PyErr_Clear();
2597 
2598             Py_BEGIN_ALLOW_THREADS
2599             sipCpp->Split(page,direction);
2600             Py_END_ALLOW_THREADS
2601 
2602             if (PyErr_Occurred())
2603                 return 0;
2604 
2605             Py_INCREF(Py_None);
2606             return Py_None;
2607         }
2608     }
2609 
2610     /* Raise an exception if the arguments couldn't be parsed. */
2611     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_Split, SIP_NULLPTR);
2612 
2613     return SIP_NULLPTR;
2614 }
2615 
2616 
2617 PyDoc_STRVAR(doc_wxAuiNotebook_ShowWindowMenu, "ShowWindowMenu() -> bool\n"
2618 "\n"
2619 "Shows the window menu for the active tab control associated with this\n"
2620 "notebook, and returns true if a selection was made.");
2621 
2622 extern "C" {static PyObject *meth_wxAuiNotebook_ShowWindowMenu(PyObject *, PyObject *);}
meth_wxAuiNotebook_ShowWindowMenu(PyObject * sipSelf,PyObject * sipArgs)2623 static PyObject *meth_wxAuiNotebook_ShowWindowMenu(PyObject *sipSelf, PyObject *sipArgs)
2624 {
2625     PyObject *sipParseErr = SIP_NULLPTR;
2626 
2627     {
2628          ::wxAuiNotebook *sipCpp;
2629 
2630         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
2631         {
2632             bool sipRes;
2633 
2634             PyErr_Clear();
2635 
2636             Py_BEGIN_ALLOW_THREADS
2637             sipRes = sipCpp->ShowWindowMenu();
2638             Py_END_ALLOW_THREADS
2639 
2640             if (PyErr_Occurred())
2641                 return 0;
2642 
2643             return PyBool_FromLong(sipRes);
2644         }
2645     }
2646 
2647     /* Raise an exception if the arguments couldn't be parsed. */
2648     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_ShowWindowMenu, SIP_NULLPTR);
2649 
2650     return SIP_NULLPTR;
2651 }
2652 
2653 
2654 PyDoc_STRVAR(doc_wxAuiNotebook_GetPageImage, "GetPageImage(nPage) -> int\n"
2655 "\n"
2656 "Returns the image index for the given page.");
2657 
2658 extern "C" {static PyObject *meth_wxAuiNotebook_GetPageImage(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_GetPageImage(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2659 static PyObject *meth_wxAuiNotebook_GetPageImage(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2660 {
2661     PyObject *sipParseErr = SIP_NULLPTR;
2662     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2663 
2664     {
2665         size_t nPage;
2666         const  ::wxAuiNotebook *sipCpp;
2667 
2668         static const char *sipKwdList[] = {
2669             sipName_nPage,
2670         };
2671 
2672         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B=", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &nPage))
2673         {
2674             int sipRes;
2675 
2676             PyErr_Clear();
2677 
2678             Py_BEGIN_ALLOW_THREADS
2679             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::GetPageImage(nPage) : sipCpp->GetPageImage(nPage));
2680             Py_END_ALLOW_THREADS
2681 
2682             if (PyErr_Occurred())
2683                 return 0;
2684 
2685             return SIPLong_FromLong(sipRes);
2686         }
2687     }
2688 
2689     /* Raise an exception if the arguments couldn't be parsed. */
2690     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetPageImage, SIP_NULLPTR);
2691 
2692     return SIP_NULLPTR;
2693 }
2694 
2695 
2696 PyDoc_STRVAR(doc_wxAuiNotebook_GetClientAreaOrigin, "GetClientAreaOrigin(self) -> Point");
2697 
2698 extern "C" {static PyObject *meth_wxAuiNotebook_GetClientAreaOrigin(PyObject *, PyObject *);}
meth_wxAuiNotebook_GetClientAreaOrigin(PyObject * sipSelf,PyObject * sipArgs)2699 static PyObject *meth_wxAuiNotebook_GetClientAreaOrigin(PyObject *sipSelf, PyObject *sipArgs)
2700 {
2701     PyObject *sipParseErr = SIP_NULLPTR;
2702     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2703 
2704     {
2705         const  ::wxAuiNotebook *sipCpp;
2706 
2707         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
2708         {
2709              ::wxPoint*sipRes;
2710 
2711             PyErr_Clear();
2712 
2713             Py_BEGIN_ALLOW_THREADS
2714             sipRes = new  ::wxPoint((sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::GetClientAreaOrigin() : sipCpp->GetClientAreaOrigin()));
2715             Py_END_ALLOW_THREADS
2716 
2717             if (PyErr_Occurred())
2718                 return 0;
2719 
2720             return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
2721         }
2722     }
2723 
2724     /* Raise an exception if the arguments couldn't be parsed. */
2725     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetClientAreaOrigin, doc_wxAuiNotebook_GetClientAreaOrigin);
2726 
2727     return SIP_NULLPTR;
2728 }
2729 
2730 
2731 PyDoc_STRVAR(doc_wxAuiNotebook_Validate, "Validate(self) -> bool");
2732 
2733 extern "C" {static PyObject *meth_wxAuiNotebook_Validate(PyObject *, PyObject *);}
meth_wxAuiNotebook_Validate(PyObject * sipSelf,PyObject * sipArgs)2734 static PyObject *meth_wxAuiNotebook_Validate(PyObject *sipSelf, PyObject *sipArgs)
2735 {
2736     PyObject *sipParseErr = SIP_NULLPTR;
2737     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2738 
2739     {
2740          ::wxAuiNotebook *sipCpp;
2741 
2742         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
2743         {
2744             bool sipRes;
2745 
2746             PyErr_Clear();
2747 
2748             Py_BEGIN_ALLOW_THREADS
2749             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::Validate() : sipCpp->Validate());
2750             Py_END_ALLOW_THREADS
2751 
2752             if (PyErr_Occurred())
2753                 return 0;
2754 
2755             return PyBool_FromLong(sipRes);
2756         }
2757     }
2758 
2759     /* Raise an exception if the arguments couldn't be parsed. */
2760     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_Validate, doc_wxAuiNotebook_Validate);
2761 
2762     return SIP_NULLPTR;
2763 }
2764 
2765 
2766 PyDoc_STRVAR(doc_wxAuiNotebook_TransferDataToWindow, "TransferDataToWindow(self) -> bool");
2767 
2768 extern "C" {static PyObject *meth_wxAuiNotebook_TransferDataToWindow(PyObject *, PyObject *);}
meth_wxAuiNotebook_TransferDataToWindow(PyObject * sipSelf,PyObject * sipArgs)2769 static PyObject *meth_wxAuiNotebook_TransferDataToWindow(PyObject *sipSelf, PyObject *sipArgs)
2770 {
2771     PyObject *sipParseErr = SIP_NULLPTR;
2772     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2773 
2774     {
2775          ::wxAuiNotebook *sipCpp;
2776 
2777         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
2778         {
2779             bool sipRes;
2780 
2781             PyErr_Clear();
2782 
2783             Py_BEGIN_ALLOW_THREADS
2784             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::TransferDataToWindow() : sipCpp->TransferDataToWindow());
2785             Py_END_ALLOW_THREADS
2786 
2787             if (PyErr_Occurred())
2788                 return 0;
2789 
2790             return PyBool_FromLong(sipRes);
2791         }
2792     }
2793 
2794     /* Raise an exception if the arguments couldn't be parsed. */
2795     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_TransferDataToWindow, doc_wxAuiNotebook_TransferDataToWindow);
2796 
2797     return SIP_NULLPTR;
2798 }
2799 
2800 
2801 PyDoc_STRVAR(doc_wxAuiNotebook_TransferDataFromWindow, "TransferDataFromWindow(self) -> bool");
2802 
2803 extern "C" {static PyObject *meth_wxAuiNotebook_TransferDataFromWindow(PyObject *, PyObject *);}
meth_wxAuiNotebook_TransferDataFromWindow(PyObject * sipSelf,PyObject * sipArgs)2804 static PyObject *meth_wxAuiNotebook_TransferDataFromWindow(PyObject *sipSelf, PyObject *sipArgs)
2805 {
2806     PyObject *sipParseErr = SIP_NULLPTR;
2807     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2808 
2809     {
2810          ::wxAuiNotebook *sipCpp;
2811 
2812         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
2813         {
2814             bool sipRes;
2815 
2816             PyErr_Clear();
2817 
2818             Py_BEGIN_ALLOW_THREADS
2819             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::TransferDataFromWindow() : sipCpp->TransferDataFromWindow());
2820             Py_END_ALLOW_THREADS
2821 
2822             if (PyErr_Occurred())
2823                 return 0;
2824 
2825             return PyBool_FromLong(sipRes);
2826         }
2827     }
2828 
2829     /* Raise an exception if the arguments couldn't be parsed. */
2830     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_TransferDataFromWindow, doc_wxAuiNotebook_TransferDataFromWindow);
2831 
2832     return SIP_NULLPTR;
2833 }
2834 
2835 
2836 PyDoc_STRVAR(doc_wxAuiNotebook_InitDialog, "InitDialog(self)");
2837 
2838 extern "C" {static PyObject *meth_wxAuiNotebook_InitDialog(PyObject *, PyObject *);}
meth_wxAuiNotebook_InitDialog(PyObject * sipSelf,PyObject * sipArgs)2839 static PyObject *meth_wxAuiNotebook_InitDialog(PyObject *sipSelf, PyObject *sipArgs)
2840 {
2841     PyObject *sipParseErr = SIP_NULLPTR;
2842     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2843 
2844     {
2845          ::wxAuiNotebook *sipCpp;
2846 
2847         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
2848         {
2849             PyErr_Clear();
2850 
2851             Py_BEGIN_ALLOW_THREADS
2852             (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::InitDialog() : sipCpp->InitDialog());
2853             Py_END_ALLOW_THREADS
2854 
2855             if (PyErr_Occurred())
2856                 return 0;
2857 
2858             Py_INCREF(Py_None);
2859             return Py_None;
2860         }
2861     }
2862 
2863     /* Raise an exception if the arguments couldn't be parsed. */
2864     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_InitDialog, doc_wxAuiNotebook_InitDialog);
2865 
2866     return SIP_NULLPTR;
2867 }
2868 
2869 
2870 PyDoc_STRVAR(doc_wxAuiNotebook_AcceptsFocus, "AcceptsFocus(self) -> bool");
2871 
2872 extern "C" {static PyObject *meth_wxAuiNotebook_AcceptsFocus(PyObject *, PyObject *);}
meth_wxAuiNotebook_AcceptsFocus(PyObject * sipSelf,PyObject * sipArgs)2873 static PyObject *meth_wxAuiNotebook_AcceptsFocus(PyObject *sipSelf, PyObject *sipArgs)
2874 {
2875     PyObject *sipParseErr = SIP_NULLPTR;
2876     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2877 
2878     {
2879         const  ::wxAuiNotebook *sipCpp;
2880 
2881         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
2882         {
2883             bool sipRes;
2884 
2885             PyErr_Clear();
2886 
2887             Py_BEGIN_ALLOW_THREADS
2888             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::AcceptsFocus() : sipCpp->AcceptsFocus());
2889             Py_END_ALLOW_THREADS
2890 
2891             if (PyErr_Occurred())
2892                 return 0;
2893 
2894             return PyBool_FromLong(sipRes);
2895         }
2896     }
2897 
2898     /* Raise an exception if the arguments couldn't be parsed. */
2899     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_AcceptsFocus, doc_wxAuiNotebook_AcceptsFocus);
2900 
2901     return SIP_NULLPTR;
2902 }
2903 
2904 
2905 PyDoc_STRVAR(doc_wxAuiNotebook_AcceptsFocusRecursively, "AcceptsFocusRecursively(self) -> bool");
2906 
2907 extern "C" {static PyObject *meth_wxAuiNotebook_AcceptsFocusRecursively(PyObject *, PyObject *);}
meth_wxAuiNotebook_AcceptsFocusRecursively(PyObject * sipSelf,PyObject * sipArgs)2908 static PyObject *meth_wxAuiNotebook_AcceptsFocusRecursively(PyObject *sipSelf, PyObject *sipArgs)
2909 {
2910     PyObject *sipParseErr = SIP_NULLPTR;
2911     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2912 
2913     {
2914         const  ::wxAuiNotebook *sipCpp;
2915 
2916         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
2917         {
2918             bool sipRes;
2919 
2920             PyErr_Clear();
2921 
2922             Py_BEGIN_ALLOW_THREADS
2923             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::AcceptsFocusRecursively() : sipCpp->AcceptsFocusRecursively());
2924             Py_END_ALLOW_THREADS
2925 
2926             if (PyErr_Occurred())
2927                 return 0;
2928 
2929             return PyBool_FromLong(sipRes);
2930         }
2931     }
2932 
2933     /* Raise an exception if the arguments couldn't be parsed. */
2934     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_AcceptsFocusRecursively, doc_wxAuiNotebook_AcceptsFocusRecursively);
2935 
2936     return SIP_NULLPTR;
2937 }
2938 
2939 
2940 PyDoc_STRVAR(doc_wxAuiNotebook_AcceptsFocusFromKeyboard, "AcceptsFocusFromKeyboard(self) -> bool");
2941 
2942 extern "C" {static PyObject *meth_wxAuiNotebook_AcceptsFocusFromKeyboard(PyObject *, PyObject *);}
meth_wxAuiNotebook_AcceptsFocusFromKeyboard(PyObject * sipSelf,PyObject * sipArgs)2943 static PyObject *meth_wxAuiNotebook_AcceptsFocusFromKeyboard(PyObject *sipSelf, PyObject *sipArgs)
2944 {
2945     PyObject *sipParseErr = SIP_NULLPTR;
2946     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2947 
2948     {
2949         const  ::wxAuiNotebook *sipCpp;
2950 
2951         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
2952         {
2953             bool sipRes;
2954 
2955             PyErr_Clear();
2956 
2957             Py_BEGIN_ALLOW_THREADS
2958             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::AcceptsFocusFromKeyboard() : sipCpp->AcceptsFocusFromKeyboard());
2959             Py_END_ALLOW_THREADS
2960 
2961             if (PyErr_Occurred())
2962                 return 0;
2963 
2964             return PyBool_FromLong(sipRes);
2965         }
2966     }
2967 
2968     /* Raise an exception if the arguments couldn't be parsed. */
2969     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_AcceptsFocusFromKeyboard, doc_wxAuiNotebook_AcceptsFocusFromKeyboard);
2970 
2971     return SIP_NULLPTR;
2972 }
2973 
2974 
2975 PyDoc_STRVAR(doc_wxAuiNotebook_AddChild, "AddChild(self, child: WindowBase)");
2976 
2977 extern "C" {static PyObject *meth_wxAuiNotebook_AddChild(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_AddChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)2978 static PyObject *meth_wxAuiNotebook_AddChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
2979 {
2980     PyObject *sipParseErr = SIP_NULLPTR;
2981     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
2982 
2983     {
2984          ::wxWindowBase* child;
2985          ::wxAuiNotebook *sipCpp;
2986 
2987         static const char *sipKwdList[] = {
2988             sipName_child,
2989         };
2990 
2991         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxWindowBase, &child))
2992         {
2993             PyErr_Clear();
2994 
2995             Py_BEGIN_ALLOW_THREADS
2996             (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::AddChild(child) : sipCpp->AddChild(child));
2997             Py_END_ALLOW_THREADS
2998 
2999             if (PyErr_Occurred())
3000                 return 0;
3001 
3002             Py_INCREF(Py_None);
3003             return Py_None;
3004         }
3005     }
3006 
3007     /* Raise an exception if the arguments couldn't be parsed. */
3008     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_AddChild, doc_wxAuiNotebook_AddChild);
3009 
3010     return SIP_NULLPTR;
3011 }
3012 
3013 
3014 PyDoc_STRVAR(doc_wxAuiNotebook_RemoveChild, "RemoveChild(self, child: WindowBase)");
3015 
3016 extern "C" {static PyObject *meth_wxAuiNotebook_RemoveChild(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_RemoveChild(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3017 static PyObject *meth_wxAuiNotebook_RemoveChild(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3018 {
3019     PyObject *sipParseErr = SIP_NULLPTR;
3020     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3021 
3022     {
3023          ::wxWindowBase* child;
3024          ::wxAuiNotebook *sipCpp;
3025 
3026         static const char *sipKwdList[] = {
3027             sipName_child,
3028         };
3029 
3030         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxWindowBase, &child))
3031         {
3032             PyErr_Clear();
3033 
3034             Py_BEGIN_ALLOW_THREADS
3035             (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::RemoveChild(child) : sipCpp->RemoveChild(child));
3036             Py_END_ALLOW_THREADS
3037 
3038             if (PyErr_Occurred())
3039                 return 0;
3040 
3041             Py_INCREF(Py_None);
3042             return Py_None;
3043         }
3044     }
3045 
3046     /* Raise an exception if the arguments couldn't be parsed. */
3047     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_RemoveChild, doc_wxAuiNotebook_RemoveChild);
3048 
3049     return SIP_NULLPTR;
3050 }
3051 
3052 
3053 PyDoc_STRVAR(doc_wxAuiNotebook_InheritAttributes, "InheritAttributes(self)");
3054 
3055 extern "C" {static PyObject *meth_wxAuiNotebook_InheritAttributes(PyObject *, PyObject *);}
meth_wxAuiNotebook_InheritAttributes(PyObject * sipSelf,PyObject * sipArgs)3056 static PyObject *meth_wxAuiNotebook_InheritAttributes(PyObject *sipSelf, PyObject *sipArgs)
3057 {
3058     PyObject *sipParseErr = SIP_NULLPTR;
3059     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3060 
3061     {
3062          ::wxAuiNotebook *sipCpp;
3063 
3064         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3065         {
3066             PyErr_Clear();
3067 
3068             Py_BEGIN_ALLOW_THREADS
3069             (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::InheritAttributes() : sipCpp->InheritAttributes());
3070             Py_END_ALLOW_THREADS
3071 
3072             if (PyErr_Occurred())
3073                 return 0;
3074 
3075             Py_INCREF(Py_None);
3076             return Py_None;
3077         }
3078     }
3079 
3080     /* Raise an exception if the arguments couldn't be parsed. */
3081     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_InheritAttributes, doc_wxAuiNotebook_InheritAttributes);
3082 
3083     return SIP_NULLPTR;
3084 }
3085 
3086 
3087 PyDoc_STRVAR(doc_wxAuiNotebook_ShouldInheritColours, "ShouldInheritColours(self) -> bool");
3088 
3089 extern "C" {static PyObject *meth_wxAuiNotebook_ShouldInheritColours(PyObject *, PyObject *);}
meth_wxAuiNotebook_ShouldInheritColours(PyObject * sipSelf,PyObject * sipArgs)3090 static PyObject *meth_wxAuiNotebook_ShouldInheritColours(PyObject *sipSelf, PyObject *sipArgs)
3091 {
3092     PyObject *sipParseErr = SIP_NULLPTR;
3093     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3094 
3095     {
3096         const  ::wxAuiNotebook *sipCpp;
3097 
3098         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3099         {
3100             bool sipRes;
3101 
3102             PyErr_Clear();
3103 
3104             Py_BEGIN_ALLOW_THREADS
3105             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::ShouldInheritColours() : sipCpp->ShouldInheritColours());
3106             Py_END_ALLOW_THREADS
3107 
3108             if (PyErr_Occurred())
3109                 return 0;
3110 
3111             return PyBool_FromLong(sipRes);
3112         }
3113     }
3114 
3115     /* Raise an exception if the arguments couldn't be parsed. */
3116     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_ShouldInheritColours, doc_wxAuiNotebook_ShouldInheritColours);
3117 
3118     return SIP_NULLPTR;
3119 }
3120 
3121 
3122 PyDoc_STRVAR(doc_wxAuiNotebook_OnInternalIdle, "OnInternalIdle(self)");
3123 
3124 extern "C" {static PyObject *meth_wxAuiNotebook_OnInternalIdle(PyObject *, PyObject *);}
meth_wxAuiNotebook_OnInternalIdle(PyObject * sipSelf,PyObject * sipArgs)3125 static PyObject *meth_wxAuiNotebook_OnInternalIdle(PyObject *sipSelf, PyObject *sipArgs)
3126 {
3127     PyObject *sipParseErr = SIP_NULLPTR;
3128     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3129 
3130     {
3131          ::wxAuiNotebook *sipCpp;
3132 
3133         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3134         {
3135             PyErr_Clear();
3136 
3137             Py_BEGIN_ALLOW_THREADS
3138             (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::OnInternalIdle() : sipCpp->OnInternalIdle());
3139             Py_END_ALLOW_THREADS
3140 
3141             if (PyErr_Occurred())
3142                 return 0;
3143 
3144             Py_INCREF(Py_None);
3145             return Py_None;
3146         }
3147     }
3148 
3149     /* Raise an exception if the arguments couldn't be parsed. */
3150     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_OnInternalIdle, doc_wxAuiNotebook_OnInternalIdle);
3151 
3152     return SIP_NULLPTR;
3153 }
3154 
3155 
3156 PyDoc_STRVAR(doc_wxAuiNotebook_GetMainWindowOfCompositeControl, "GetMainWindowOfCompositeControl(self) -> Window");
3157 
3158 extern "C" {static PyObject *meth_wxAuiNotebook_GetMainWindowOfCompositeControl(PyObject *, PyObject *);}
meth_wxAuiNotebook_GetMainWindowOfCompositeControl(PyObject * sipSelf,PyObject * sipArgs)3159 static PyObject *meth_wxAuiNotebook_GetMainWindowOfCompositeControl(PyObject *sipSelf, PyObject *sipArgs)
3160 {
3161     PyObject *sipParseErr = SIP_NULLPTR;
3162     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3163 
3164     {
3165          ::wxAuiNotebook *sipCpp;
3166 
3167         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3168         {
3169              ::wxWindow*sipRes;
3170 
3171             PyErr_Clear();
3172 
3173             Py_BEGIN_ALLOW_THREADS
3174             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::GetMainWindowOfCompositeControl() : sipCpp->GetMainWindowOfCompositeControl());
3175             Py_END_ALLOW_THREADS
3176 
3177             if (PyErr_Occurred())
3178                 return 0;
3179 
3180             return sipConvertFromType(sipRes,sipType_wxWindow,SIP_NULLPTR);
3181         }
3182     }
3183 
3184     /* Raise an exception if the arguments couldn't be parsed. */
3185     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetMainWindowOfCompositeControl, doc_wxAuiNotebook_GetMainWindowOfCompositeControl);
3186 
3187     return SIP_NULLPTR;
3188 }
3189 
3190 
3191 PyDoc_STRVAR(doc_wxAuiNotebook_InformFirstDirection, "InformFirstDirection(self, direction: int, size: int, availableOtherDir: int) -> bool");
3192 
3193 extern "C" {static PyObject *meth_wxAuiNotebook_InformFirstDirection(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_InformFirstDirection(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3194 static PyObject *meth_wxAuiNotebook_InformFirstDirection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3195 {
3196     PyObject *sipParseErr = SIP_NULLPTR;
3197     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3198 
3199     {
3200         int direction;
3201         int size;
3202         int availableOtherDir;
3203          ::wxAuiNotebook *sipCpp;
3204 
3205         static const char *sipKwdList[] = {
3206             sipName_direction,
3207             sipName_size,
3208             sipName_availableOtherDir,
3209         };
3210 
3211         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biii", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &direction, &size, &availableOtherDir))
3212         {
3213             bool sipRes;
3214 
3215             PyErr_Clear();
3216 
3217             Py_BEGIN_ALLOW_THREADS
3218             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::InformFirstDirection(direction,size,availableOtherDir) : sipCpp->InformFirstDirection(direction,size,availableOtherDir));
3219             Py_END_ALLOW_THREADS
3220 
3221             if (PyErr_Occurred())
3222                 return 0;
3223 
3224             return PyBool_FromLong(sipRes);
3225         }
3226     }
3227 
3228     /* Raise an exception if the arguments couldn't be parsed. */
3229     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_InformFirstDirection, doc_wxAuiNotebook_InformFirstDirection);
3230 
3231     return SIP_NULLPTR;
3232 }
3233 
3234 
3235 PyDoc_STRVAR(doc_wxAuiNotebook_SetCanFocus, "SetCanFocus(self, canFocus: bool)");
3236 
3237 extern "C" {static PyObject *meth_wxAuiNotebook_SetCanFocus(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetCanFocus(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3238 static PyObject *meth_wxAuiNotebook_SetCanFocus(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3239 {
3240     PyObject *sipParseErr = SIP_NULLPTR;
3241     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3242 
3243     {
3244         bool canFocus;
3245          ::wxAuiNotebook *sipCpp;
3246 
3247         static const char *sipKwdList[] = {
3248             sipName_canFocus,
3249         };
3250 
3251         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &canFocus))
3252         {
3253             PyErr_Clear();
3254 
3255             Py_BEGIN_ALLOW_THREADS
3256             (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::SetCanFocus(canFocus) : sipCpp->SetCanFocus(canFocus));
3257             Py_END_ALLOW_THREADS
3258 
3259             if (PyErr_Occurred())
3260                 return 0;
3261 
3262             Py_INCREF(Py_None);
3263             return Py_None;
3264         }
3265     }
3266 
3267     /* Raise an exception if the arguments couldn't be parsed. */
3268     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_SetCanFocus, doc_wxAuiNotebook_SetCanFocus);
3269 
3270     return SIP_NULLPTR;
3271 }
3272 
3273 
3274 PyDoc_STRVAR(doc_wxAuiNotebook_Destroy, "Destroy(self) -> bool");
3275 
3276 extern "C" {static PyObject *meth_wxAuiNotebook_Destroy(PyObject *, PyObject *);}
meth_wxAuiNotebook_Destroy(PyObject * sipSelf,PyObject * sipArgs)3277 static PyObject *meth_wxAuiNotebook_Destroy(PyObject *sipSelf, PyObject *sipArgs)
3278 {
3279     PyObject *sipParseErr = SIP_NULLPTR;
3280     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3281 
3282     {
3283          ::wxAuiNotebook *sipCpp;
3284 
3285         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3286         {
3287             bool sipRes;
3288 
3289             PyErr_Clear();
3290 
3291             Py_BEGIN_ALLOW_THREADS
3292             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::Destroy() : sipCpp->Destroy());
3293             Py_END_ALLOW_THREADS
3294 
3295             if (PyErr_Occurred())
3296                 return 0;
3297 
3298             return PyBool_FromLong(sipRes);
3299         }
3300     }
3301 
3302     /* Raise an exception if the arguments couldn't be parsed. */
3303     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_Destroy, doc_wxAuiNotebook_Destroy);
3304 
3305     return SIP_NULLPTR;
3306 }
3307 
3308 
3309 PyDoc_STRVAR(doc_wxAuiNotebook_SetValidator, "SetValidator(self, validator: Validator)");
3310 
3311 extern "C" {static PyObject *meth_wxAuiNotebook_SetValidator(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_SetValidator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3312 static PyObject *meth_wxAuiNotebook_SetValidator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3313 {
3314     PyObject *sipParseErr = SIP_NULLPTR;
3315     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3316 
3317     {
3318         const  ::wxValidator* validator;
3319          ::wxAuiNotebook *sipCpp;
3320 
3321         static const char *sipKwdList[] = {
3322             sipName_validator,
3323         };
3324 
3325         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxValidator, &validator))
3326         {
3327             PyErr_Clear();
3328 
3329             Py_BEGIN_ALLOW_THREADS
3330             (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::SetValidator(*validator) : sipCpp->SetValidator(*validator));
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_AuiNotebook, sipName_SetValidator, doc_wxAuiNotebook_SetValidator);
3343 
3344     return SIP_NULLPTR;
3345 }
3346 
3347 
3348 PyDoc_STRVAR(doc_wxAuiNotebook_GetValidator, "GetValidator(self) -> Validator");
3349 
3350 extern "C" {static PyObject *meth_wxAuiNotebook_GetValidator(PyObject *, PyObject *);}
meth_wxAuiNotebook_GetValidator(PyObject * sipSelf,PyObject * sipArgs)3351 static PyObject *meth_wxAuiNotebook_GetValidator(PyObject *sipSelf, PyObject *sipArgs)
3352 {
3353     PyObject *sipParseErr = SIP_NULLPTR;
3354     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3355 
3356     {
3357          ::wxAuiNotebook *sipCpp;
3358 
3359         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3360         {
3361              ::wxValidator*sipRes;
3362 
3363             PyErr_Clear();
3364 
3365             Py_BEGIN_ALLOW_THREADS
3366             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::GetValidator() : sipCpp->GetValidator());
3367             Py_END_ALLOW_THREADS
3368 
3369             if (PyErr_Occurred())
3370                 return 0;
3371 
3372             return sipConvertFromType(sipRes,sipType_wxValidator,SIP_NULLPTR);
3373         }
3374     }
3375 
3376     /* Raise an exception if the arguments couldn't be parsed. */
3377     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetValidator, doc_wxAuiNotebook_GetValidator);
3378 
3379     return SIP_NULLPTR;
3380 }
3381 
3382 
3383 PyDoc_STRVAR(doc_wxAuiNotebook_ProcessEvent, "ProcessEvent(self, event: Event) -> bool");
3384 
3385 extern "C" {static PyObject *meth_wxAuiNotebook_ProcessEvent(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_ProcessEvent(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3386 static PyObject *meth_wxAuiNotebook_ProcessEvent(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         sipwxAuiNotebook *sipCpp;
3394 
3395         static const char *sipKwdList[] = {
3396             sipName_event,
3397         };
3398 
3399         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxEvent, &event))
3400         {
3401             bool sipRes;
3402 
3403             PyErr_Clear();
3404 
3405             Py_BEGIN_ALLOW_THREADS
3406             sipRes = sipCpp->sipProtectVirt_ProcessEvent(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_AuiNotebook, sipName_ProcessEvent, doc_wxAuiNotebook_ProcessEvent);
3418 
3419     return SIP_NULLPTR;
3420 }
3421 
3422 
3423 PyDoc_STRVAR(doc_wxAuiNotebook_DoEnable, "DoEnable(self, enable: bool)");
3424 
3425 extern "C" {static PyObject *meth_wxAuiNotebook_DoEnable(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_DoEnable(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3426 static PyObject *meth_wxAuiNotebook_DoEnable(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3427 {
3428     PyObject *sipParseErr = SIP_NULLPTR;
3429     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3430 
3431     {
3432         bool enable;
3433         sipwxAuiNotebook *sipCpp;
3434 
3435         static const char *sipKwdList[] = {
3436             sipName_enable,
3437         };
3438 
3439         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &enable))
3440         {
3441             PyErr_Clear();
3442 
3443             Py_BEGIN_ALLOW_THREADS
3444             sipCpp->sipProtectVirt_DoEnable(sipSelfWasArg,enable);
3445             Py_END_ALLOW_THREADS
3446 
3447             if (PyErr_Occurred())
3448                 return 0;
3449 
3450             Py_INCREF(Py_None);
3451             return Py_None;
3452         }
3453     }
3454 
3455     /* Raise an exception if the arguments couldn't be parsed. */
3456     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoEnable, doc_wxAuiNotebook_DoEnable);
3457 
3458     return SIP_NULLPTR;
3459 }
3460 
3461 
3462 PyDoc_STRVAR(doc_wxAuiNotebook_DoGetPosition, "DoGetPosition(self) -> Tuple[int, int]");
3463 
3464 extern "C" {static PyObject *meth_wxAuiNotebook_DoGetPosition(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_DoGetPosition(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3465 static PyObject *meth_wxAuiNotebook_DoGetPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3466 {
3467     PyObject *sipParseErr = SIP_NULLPTR;
3468     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3469 
3470     {
3471         int x;
3472         int y;
3473         const sipwxAuiNotebook *sipCpp;
3474 
3475         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3476         {
3477             PyErr_Clear();
3478 
3479             Py_BEGIN_ALLOW_THREADS
3480             sipCpp->sipProtectVirt_DoGetPosition(sipSelfWasArg,&x,&y);
3481             Py_END_ALLOW_THREADS
3482 
3483             if (PyErr_Occurred())
3484                 return 0;
3485 
3486             return sipBuildResult(0,"(ii)",x,y);
3487         }
3488     }
3489 
3490     /* Raise an exception if the arguments couldn't be parsed. */
3491     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoGetPosition, doc_wxAuiNotebook_DoGetPosition);
3492 
3493     return SIP_NULLPTR;
3494 }
3495 
3496 
3497 PyDoc_STRVAR(doc_wxAuiNotebook_DoGetSize, "DoGetSize(self) -> Tuple[int, int]");
3498 
3499 extern "C" {static PyObject *meth_wxAuiNotebook_DoGetSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_DoGetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3500 static PyObject *meth_wxAuiNotebook_DoGetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3501 {
3502     PyObject *sipParseErr = SIP_NULLPTR;
3503     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3504 
3505     {
3506         int width;
3507         int height;
3508         const sipwxAuiNotebook *sipCpp;
3509 
3510         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3511         {
3512             PyErr_Clear();
3513 
3514             Py_BEGIN_ALLOW_THREADS
3515             sipCpp->sipProtectVirt_DoGetSize(sipSelfWasArg,&width,&height);
3516             Py_END_ALLOW_THREADS
3517 
3518             if (PyErr_Occurred())
3519                 return 0;
3520 
3521             return sipBuildResult(0,"(ii)",width,height);
3522         }
3523     }
3524 
3525     /* Raise an exception if the arguments couldn't be parsed. */
3526     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoGetSize, doc_wxAuiNotebook_DoGetSize);
3527 
3528     return SIP_NULLPTR;
3529 }
3530 
3531 
3532 PyDoc_STRVAR(doc_wxAuiNotebook_DoGetClientSize, "DoGetClientSize(self) -> Tuple[int, int]");
3533 
3534 extern "C" {static PyObject *meth_wxAuiNotebook_DoGetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_DoGetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3535 static PyObject *meth_wxAuiNotebook_DoGetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3536 {
3537     PyObject *sipParseErr = SIP_NULLPTR;
3538     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3539 
3540     {
3541         int width;
3542         int height;
3543         const sipwxAuiNotebook *sipCpp;
3544 
3545         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, SIP_NULLPTR, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3546         {
3547             PyErr_Clear();
3548 
3549             Py_BEGIN_ALLOW_THREADS
3550             sipCpp->sipProtectVirt_DoGetClientSize(sipSelfWasArg,&width,&height);
3551             Py_END_ALLOW_THREADS
3552 
3553             if (PyErr_Occurred())
3554                 return 0;
3555 
3556             return sipBuildResult(0,"(ii)",width,height);
3557         }
3558     }
3559 
3560     /* Raise an exception if the arguments couldn't be parsed. */
3561     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoGetClientSize, doc_wxAuiNotebook_DoGetClientSize);
3562 
3563     return SIP_NULLPTR;
3564 }
3565 
3566 
3567 PyDoc_STRVAR(doc_wxAuiNotebook_DoGetBestSize, "DoGetBestSize(self) -> Size");
3568 
3569 extern "C" {static PyObject *meth_wxAuiNotebook_DoGetBestSize(PyObject *, PyObject *);}
meth_wxAuiNotebook_DoGetBestSize(PyObject * sipSelf,PyObject * sipArgs)3570 static PyObject *meth_wxAuiNotebook_DoGetBestSize(PyObject *sipSelf, PyObject *sipArgs)
3571 {
3572     PyObject *sipParseErr = SIP_NULLPTR;
3573     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3574 
3575     {
3576         const sipwxAuiNotebook *sipCpp;
3577 
3578         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3579         {
3580              ::wxSize*sipRes;
3581 
3582             PyErr_Clear();
3583 
3584             Py_BEGIN_ALLOW_THREADS
3585             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestSize(sipSelfWasArg));
3586             Py_END_ALLOW_THREADS
3587 
3588             if (PyErr_Occurred())
3589                 return 0;
3590 
3591             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
3592         }
3593     }
3594 
3595     /* Raise an exception if the arguments couldn't be parsed. */
3596     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoGetBestSize, doc_wxAuiNotebook_DoGetBestSize);
3597 
3598     return SIP_NULLPTR;
3599 }
3600 
3601 
3602 PyDoc_STRVAR(doc_wxAuiNotebook_DoGetBestClientSize, "DoGetBestClientSize(self) -> Size");
3603 
3604 extern "C" {static PyObject *meth_wxAuiNotebook_DoGetBestClientSize(PyObject *, PyObject *);}
meth_wxAuiNotebook_DoGetBestClientSize(PyObject * sipSelf,PyObject * sipArgs)3605 static PyObject *meth_wxAuiNotebook_DoGetBestClientSize(PyObject *sipSelf, PyObject *sipArgs)
3606 {
3607     PyObject *sipParseErr = SIP_NULLPTR;
3608     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3609 
3610     {
3611         const sipwxAuiNotebook *sipCpp;
3612 
3613         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3614         {
3615              ::wxSize*sipRes;
3616 
3617             PyErr_Clear();
3618 
3619             Py_BEGIN_ALLOW_THREADS
3620             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBestClientSize(sipSelfWasArg));
3621             Py_END_ALLOW_THREADS
3622 
3623             if (PyErr_Occurred())
3624                 return 0;
3625 
3626             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
3627         }
3628     }
3629 
3630     /* Raise an exception if the arguments couldn't be parsed. */
3631     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoGetBestClientSize, doc_wxAuiNotebook_DoGetBestClientSize);
3632 
3633     return SIP_NULLPTR;
3634 }
3635 
3636 
3637 PyDoc_STRVAR(doc_wxAuiNotebook_DoSetSize, "DoSetSize(self, x: int, y: int, width: int, height: int, sizeFlags: int)");
3638 
3639 extern "C" {static PyObject *meth_wxAuiNotebook_DoSetSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_DoSetSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3640 static PyObject *meth_wxAuiNotebook_DoSetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3641 {
3642     PyObject *sipParseErr = SIP_NULLPTR;
3643     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3644 
3645     {
3646         int x;
3647         int y;
3648         int width;
3649         int height;
3650         int sizeFlags;
3651         sipwxAuiNotebook *sipCpp;
3652 
3653         static const char *sipKwdList[] = {
3654             sipName_x,
3655             sipName_y,
3656             sipName_width,
3657             sipName_height,
3658             sipName_sizeFlags,
3659         };
3660 
3661         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiii", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &x, &y, &width, &height, &sizeFlags))
3662         {
3663             PyErr_Clear();
3664 
3665             Py_BEGIN_ALLOW_THREADS
3666             sipCpp->sipProtectVirt_DoSetSize(sipSelfWasArg,x,y,width,height,sizeFlags);
3667             Py_END_ALLOW_THREADS
3668 
3669             if (PyErr_Occurred())
3670                 return 0;
3671 
3672             Py_INCREF(Py_None);
3673             return Py_None;
3674         }
3675     }
3676 
3677     /* Raise an exception if the arguments couldn't be parsed. */
3678     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoSetSize, doc_wxAuiNotebook_DoSetSize);
3679 
3680     return SIP_NULLPTR;
3681 }
3682 
3683 
3684 PyDoc_STRVAR(doc_wxAuiNotebook_DoSetClientSize, "DoSetClientSize(self, width: int, height: int)");
3685 
3686 extern "C" {static PyObject *meth_wxAuiNotebook_DoSetClientSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_DoSetClientSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3687 static PyObject *meth_wxAuiNotebook_DoSetClientSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3688 {
3689     PyObject *sipParseErr = SIP_NULLPTR;
3690     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3691 
3692     {
3693         int width;
3694         int height;
3695         sipwxAuiNotebook *sipCpp;
3696 
3697         static const char *sipKwdList[] = {
3698             sipName_width,
3699             sipName_height,
3700         };
3701 
3702         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &width, &height))
3703         {
3704             PyErr_Clear();
3705 
3706             Py_BEGIN_ALLOW_THREADS
3707             sipCpp->sipProtectVirt_DoSetClientSize(sipSelfWasArg,width,height);
3708             Py_END_ALLOW_THREADS
3709 
3710             if (PyErr_Occurred())
3711                 return 0;
3712 
3713             Py_INCREF(Py_None);
3714             return Py_None;
3715         }
3716     }
3717 
3718     /* Raise an exception if the arguments couldn't be parsed. */
3719     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoSetClientSize, doc_wxAuiNotebook_DoSetClientSize);
3720 
3721     return SIP_NULLPTR;
3722 }
3723 
3724 
3725 PyDoc_STRVAR(doc_wxAuiNotebook_DoSetSizeHints, "DoSetSizeHints(self, minW: int, minH: int, maxW: int, maxH: int, incW: int, incH: int)");
3726 
3727 extern "C" {static PyObject *meth_wxAuiNotebook_DoSetSizeHints(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_DoSetSizeHints(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3728 static PyObject *meth_wxAuiNotebook_DoSetSizeHints(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3729 {
3730     PyObject *sipParseErr = SIP_NULLPTR;
3731     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3732 
3733     {
3734         int minW;
3735         int minH;
3736         int maxW;
3737         int maxH;
3738         int incW;
3739         int incH;
3740         sipwxAuiNotebook *sipCpp;
3741 
3742         static const char *sipKwdList[] = {
3743             sipName_minW,
3744             sipName_minH,
3745             sipName_maxW,
3746             sipName_maxH,
3747             sipName_incW,
3748             sipName_incH,
3749         };
3750 
3751         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiiiii", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &minW, &minH, &maxW, &maxH, &incW, &incH))
3752         {
3753             PyErr_Clear();
3754 
3755             Py_BEGIN_ALLOW_THREADS
3756             sipCpp->sipProtectVirt_DoSetSizeHints(sipSelfWasArg,minW,minH,maxW,maxH,incW,incH);
3757             Py_END_ALLOW_THREADS
3758 
3759             if (PyErr_Occurred())
3760                 return 0;
3761 
3762             Py_INCREF(Py_None);
3763             return Py_None;
3764         }
3765     }
3766 
3767     /* Raise an exception if the arguments couldn't be parsed. */
3768     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoSetSizeHints, doc_wxAuiNotebook_DoSetSizeHints);
3769 
3770     return SIP_NULLPTR;
3771 }
3772 
3773 
3774 PyDoc_STRVAR(doc_wxAuiNotebook_DoGetBorderSize, "DoGetBorderSize(self) -> Size");
3775 
3776 extern "C" {static PyObject *meth_wxAuiNotebook_DoGetBorderSize(PyObject *, PyObject *);}
meth_wxAuiNotebook_DoGetBorderSize(PyObject * sipSelf,PyObject * sipArgs)3777 static PyObject *meth_wxAuiNotebook_DoGetBorderSize(PyObject *sipSelf, PyObject *sipArgs)
3778 {
3779     PyObject *sipParseErr = SIP_NULLPTR;
3780     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3781 
3782     {
3783         const sipwxAuiNotebook *sipCpp;
3784 
3785         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3786         {
3787              ::wxSize*sipRes;
3788 
3789             PyErr_Clear();
3790 
3791             Py_BEGIN_ALLOW_THREADS
3792             sipRes = new  ::wxSize(sipCpp->sipProtectVirt_DoGetBorderSize(sipSelfWasArg));
3793             Py_END_ALLOW_THREADS
3794 
3795             if (PyErr_Occurred())
3796                 return 0;
3797 
3798             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
3799         }
3800     }
3801 
3802     /* Raise an exception if the arguments couldn't be parsed. */
3803     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoGetBorderSize, doc_wxAuiNotebook_DoGetBorderSize);
3804 
3805     return SIP_NULLPTR;
3806 }
3807 
3808 
3809 PyDoc_STRVAR(doc_wxAuiNotebook_DoMoveWindow, "DoMoveWindow(self, x: int, y: int, width: int, height: int)");
3810 
3811 extern "C" {static PyObject *meth_wxAuiNotebook_DoMoveWindow(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_DoMoveWindow(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3812 static PyObject *meth_wxAuiNotebook_DoMoveWindow(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3813 {
3814     PyObject *sipParseErr = SIP_NULLPTR;
3815     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3816 
3817     {
3818         int x;
3819         int y;
3820         int width;
3821         int height;
3822         sipwxAuiNotebook *sipCpp;
3823 
3824         static const char *sipKwdList[] = {
3825             sipName_x,
3826             sipName_y,
3827             sipName_width,
3828             sipName_height,
3829         };
3830 
3831         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Biiii", &sipSelf, sipType_wxAuiNotebook, &sipCpp, &x, &y, &width, &height))
3832         {
3833             PyErr_Clear();
3834 
3835             Py_BEGIN_ALLOW_THREADS
3836             sipCpp->sipProtectVirt_DoMoveWindow(sipSelfWasArg,x,y,width,height);
3837             Py_END_ALLOW_THREADS
3838 
3839             if (PyErr_Occurred())
3840                 return 0;
3841 
3842             Py_INCREF(Py_None);
3843             return Py_None;
3844         }
3845     }
3846 
3847     /* Raise an exception if the arguments couldn't be parsed. */
3848     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoMoveWindow, doc_wxAuiNotebook_DoMoveWindow);
3849 
3850     return SIP_NULLPTR;
3851 }
3852 
3853 
3854 PyDoc_STRVAR(doc_wxAuiNotebook_DoSetWindowVariant, "DoSetWindowVariant(self, variant: WindowVariant)");
3855 
3856 extern "C" {static PyObject *meth_wxAuiNotebook_DoSetWindowVariant(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_DoSetWindowVariant(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)3857 static PyObject *meth_wxAuiNotebook_DoSetWindowVariant(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
3858 {
3859     PyObject *sipParseErr = SIP_NULLPTR;
3860     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3861 
3862     {
3863          ::wxWindowVariant variant;
3864         sipwxAuiNotebook *sipCpp;
3865 
3866         static const char *sipKwdList[] = {
3867             sipName_variant,
3868         };
3869 
3870         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BE", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxWindowVariant, &variant))
3871         {
3872             PyErr_Clear();
3873 
3874             Py_BEGIN_ALLOW_THREADS
3875             sipCpp->sipProtectVirt_DoSetWindowVariant(sipSelfWasArg,variant);
3876             Py_END_ALLOW_THREADS
3877 
3878             if (PyErr_Occurred())
3879                 return 0;
3880 
3881             Py_INCREF(Py_None);
3882             return Py_None;
3883         }
3884     }
3885 
3886     /* Raise an exception if the arguments couldn't be parsed. */
3887     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoSetWindowVariant, doc_wxAuiNotebook_DoSetWindowVariant);
3888 
3889     return SIP_NULLPTR;
3890 }
3891 
3892 
3893 PyDoc_STRVAR(doc_wxAuiNotebook_GetDefaultBorder, "GetDefaultBorder(self) -> Border");
3894 
3895 extern "C" {static PyObject *meth_wxAuiNotebook_GetDefaultBorder(PyObject *, PyObject *);}
meth_wxAuiNotebook_GetDefaultBorder(PyObject * sipSelf,PyObject * sipArgs)3896 static PyObject *meth_wxAuiNotebook_GetDefaultBorder(PyObject *sipSelf, PyObject *sipArgs)
3897 {
3898     PyObject *sipParseErr = SIP_NULLPTR;
3899     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3900 
3901     {
3902         const sipwxAuiNotebook *sipCpp;
3903 
3904         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3905         {
3906              ::wxBorder sipRes;
3907 
3908             PyErr_Clear();
3909 
3910             Py_BEGIN_ALLOW_THREADS
3911             sipRes = sipCpp->sipProtectVirt_GetDefaultBorder(sipSelfWasArg);
3912             Py_END_ALLOW_THREADS
3913 
3914             if (PyErr_Occurred())
3915                 return 0;
3916 
3917             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
3918         }
3919     }
3920 
3921     /* Raise an exception if the arguments couldn't be parsed. */
3922     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetDefaultBorder, doc_wxAuiNotebook_GetDefaultBorder);
3923 
3924     return SIP_NULLPTR;
3925 }
3926 
3927 
3928 PyDoc_STRVAR(doc_wxAuiNotebook_GetDefaultBorderForControl, "GetDefaultBorderForControl(self) -> Border");
3929 
3930 extern "C" {static PyObject *meth_wxAuiNotebook_GetDefaultBorderForControl(PyObject *, PyObject *);}
meth_wxAuiNotebook_GetDefaultBorderForControl(PyObject * sipSelf,PyObject * sipArgs)3931 static PyObject *meth_wxAuiNotebook_GetDefaultBorderForControl(PyObject *sipSelf, PyObject *sipArgs)
3932 {
3933     PyObject *sipParseErr = SIP_NULLPTR;
3934     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3935 
3936     {
3937         const sipwxAuiNotebook *sipCpp;
3938 
3939         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3940         {
3941              ::wxBorder sipRes;
3942 
3943             PyErr_Clear();
3944 
3945             Py_BEGIN_ALLOW_THREADS
3946             sipRes = sipCpp->sipProtectVirt_GetDefaultBorderForControl(sipSelfWasArg);
3947             Py_END_ALLOW_THREADS
3948 
3949             if (PyErr_Occurred())
3950                 return 0;
3951 
3952             return sipConvertFromEnum(static_cast<int>(sipRes), sipType_wxBorder);
3953         }
3954     }
3955 
3956     /* Raise an exception if the arguments couldn't be parsed. */
3957     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetDefaultBorderForControl, doc_wxAuiNotebook_GetDefaultBorderForControl);
3958 
3959     return SIP_NULLPTR;
3960 }
3961 
3962 
3963 PyDoc_STRVAR(doc_wxAuiNotebook_DoFreeze, "DoFreeze(self)");
3964 
3965 extern "C" {static PyObject *meth_wxAuiNotebook_DoFreeze(PyObject *, PyObject *);}
meth_wxAuiNotebook_DoFreeze(PyObject * sipSelf,PyObject * sipArgs)3966 static PyObject *meth_wxAuiNotebook_DoFreeze(PyObject *sipSelf, PyObject *sipArgs)
3967 {
3968     PyObject *sipParseErr = SIP_NULLPTR;
3969     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
3970 
3971     {
3972         sipwxAuiNotebook *sipCpp;
3973 
3974         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
3975         {
3976             PyErr_Clear();
3977 
3978             Py_BEGIN_ALLOW_THREADS
3979             sipCpp->sipProtectVirt_DoFreeze(sipSelfWasArg);
3980             Py_END_ALLOW_THREADS
3981 
3982             if (PyErr_Occurred())
3983                 return 0;
3984 
3985             Py_INCREF(Py_None);
3986             return Py_None;
3987         }
3988     }
3989 
3990     /* Raise an exception if the arguments couldn't be parsed. */
3991     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoFreeze, doc_wxAuiNotebook_DoFreeze);
3992 
3993     return SIP_NULLPTR;
3994 }
3995 
3996 
3997 PyDoc_STRVAR(doc_wxAuiNotebook_DoThaw, "DoThaw(self)");
3998 
3999 extern "C" {static PyObject *meth_wxAuiNotebook_DoThaw(PyObject *, PyObject *);}
meth_wxAuiNotebook_DoThaw(PyObject * sipSelf,PyObject * sipArgs)4000 static PyObject *meth_wxAuiNotebook_DoThaw(PyObject *sipSelf, PyObject *sipArgs)
4001 {
4002     PyObject *sipParseErr = SIP_NULLPTR;
4003     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4004 
4005     {
4006         sipwxAuiNotebook *sipCpp;
4007 
4008         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
4009         {
4010             PyErr_Clear();
4011 
4012             Py_BEGIN_ALLOW_THREADS
4013             sipCpp->sipProtectVirt_DoThaw(sipSelfWasArg);
4014             Py_END_ALLOW_THREADS
4015 
4016             if (PyErr_Occurred())
4017                 return 0;
4018 
4019             Py_INCREF(Py_None);
4020             return Py_None;
4021         }
4022     }
4023 
4024     /* Raise an exception if the arguments couldn't be parsed. */
4025     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_DoThaw, doc_wxAuiNotebook_DoThaw);
4026 
4027     return SIP_NULLPTR;
4028 }
4029 
4030 
4031 PyDoc_STRVAR(doc_wxAuiNotebook_HasTransparentBackground, "HasTransparentBackground(self) -> bool");
4032 
4033 extern "C" {static PyObject *meth_wxAuiNotebook_HasTransparentBackground(PyObject *, PyObject *);}
meth_wxAuiNotebook_HasTransparentBackground(PyObject * sipSelf,PyObject * sipArgs)4034 static PyObject *meth_wxAuiNotebook_HasTransparentBackground(PyObject *sipSelf, PyObject *sipArgs)
4035 {
4036     PyObject *sipParseErr = SIP_NULLPTR;
4037     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4038 
4039     {
4040         sipwxAuiNotebook *sipCpp;
4041 
4042         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiNotebook, &sipCpp))
4043         {
4044             bool sipRes;
4045 
4046             PyErr_Clear();
4047 
4048             Py_BEGIN_ALLOW_THREADS
4049             sipRes = sipCpp->sipProtectVirt_HasTransparentBackground(sipSelfWasArg);
4050             Py_END_ALLOW_THREADS
4051 
4052             if (PyErr_Occurred())
4053                 return 0;
4054 
4055             return PyBool_FromLong(sipRes);
4056         }
4057     }
4058 
4059     /* Raise an exception if the arguments couldn't be parsed. */
4060     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_HasTransparentBackground, doc_wxAuiNotebook_HasTransparentBackground);
4061 
4062     return SIP_NULLPTR;
4063 }
4064 
4065 
4066 PyDoc_STRVAR(doc_wxAuiNotebook_TryBefore, "TryBefore(self, event: Event) -> bool");
4067 
4068 extern "C" {static PyObject *meth_wxAuiNotebook_TryBefore(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_TryBefore(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4069 static PyObject *meth_wxAuiNotebook_TryBefore(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4070 {
4071     PyObject *sipParseErr = SIP_NULLPTR;
4072     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4073 
4074     {
4075          ::wxEvent* event;
4076         sipwxAuiNotebook *sipCpp;
4077 
4078         static const char *sipKwdList[] = {
4079             sipName_event,
4080         };
4081 
4082         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxEvent, &event))
4083         {
4084             bool sipRes;
4085 
4086             PyErr_Clear();
4087 
4088             Py_BEGIN_ALLOW_THREADS
4089             sipRes = sipCpp->sipProtectVirt_TryBefore(sipSelfWasArg,*event);
4090             Py_END_ALLOW_THREADS
4091 
4092             if (PyErr_Occurred())
4093                 return 0;
4094 
4095             return PyBool_FromLong(sipRes);
4096         }
4097     }
4098 
4099     /* Raise an exception if the arguments couldn't be parsed. */
4100     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_TryBefore, doc_wxAuiNotebook_TryBefore);
4101 
4102     return SIP_NULLPTR;
4103 }
4104 
4105 
4106 PyDoc_STRVAR(doc_wxAuiNotebook_TryAfter, "TryAfter(self, event: Event) -> bool");
4107 
4108 extern "C" {static PyObject *meth_wxAuiNotebook_TryAfter(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_TryAfter(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4109 static PyObject *meth_wxAuiNotebook_TryAfter(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4110 {
4111     PyObject *sipParseErr = SIP_NULLPTR;
4112     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4113 
4114     {
4115          ::wxEvent* event;
4116         sipwxAuiNotebook *sipCpp;
4117 
4118         static const char *sipKwdList[] = {
4119             sipName_event,
4120         };
4121 
4122         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxEvent, &event))
4123         {
4124             bool sipRes;
4125 
4126             PyErr_Clear();
4127 
4128             Py_BEGIN_ALLOW_THREADS
4129             sipRes = sipCpp->sipProtectVirt_TryAfter(sipSelfWasArg,*event);
4130             Py_END_ALLOW_THREADS
4131 
4132             if (PyErr_Occurred())
4133                 return 0;
4134 
4135             return PyBool_FromLong(sipRes);
4136         }
4137     }
4138 
4139     /* Raise an exception if the arguments couldn't be parsed. */
4140     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_TryAfter, doc_wxAuiNotebook_TryAfter);
4141 
4142     return SIP_NULLPTR;
4143 }
4144 
4145 
4146 PyDoc_STRVAR(doc_wxAuiNotebook_GetClassDefaultAttributes, "GetClassDefaultAttributes(variant=wx.WINDOW_VARIANT_NORMAL) -> wx.VisualAttributes");
4147 
4148 extern "C" {static PyObject *meth_wxAuiNotebook_GetClassDefaultAttributes(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_GetClassDefaultAttributes(PyObject *,PyObject * sipArgs,PyObject * sipKwds)4149 static PyObject *meth_wxAuiNotebook_GetClassDefaultAttributes(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
4150 {
4151     PyObject *sipParseErr = SIP_NULLPTR;
4152 
4153     {
4154          ::wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL;
4155 
4156         static const char *sipKwdList[] = {
4157             sipName_variant,
4158         };
4159 
4160         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "|E", sipType_wxWindowVariant, &variant))
4161         {
4162              ::wxVisualAttributes*sipRes;
4163 
4164         if (!wxPyCheckForApp()) return NULL;
4165 
4166             PyErr_Clear();
4167 
4168             Py_BEGIN_ALLOW_THREADS
4169             sipRes = new  ::wxVisualAttributes( ::wxAuiNotebook::GetClassDefaultAttributes(variant));
4170             Py_END_ALLOW_THREADS
4171 
4172             if (PyErr_Occurred())
4173                 return 0;
4174 
4175             return sipConvertFromNewType(sipRes,sipType_wxVisualAttributes,SIP_NULLPTR);
4176         }
4177     }
4178 
4179     /* Raise an exception if the arguments couldn't be parsed. */
4180     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_GetClassDefaultAttributes, SIP_NULLPTR);
4181 
4182     return SIP_NULLPTR;
4183 }
4184 
4185 
4186 PyDoc_STRVAR(doc_wxAuiNotebook_HitTest, "HitTest(self, pt: Point) -> Tuple[int, int]");
4187 
4188 extern "C" {static PyObject *meth_wxAuiNotebook_HitTest(PyObject *, PyObject *, PyObject *);}
meth_wxAuiNotebook_HitTest(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)4189 static PyObject *meth_wxAuiNotebook_HitTest(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
4190 {
4191     PyObject *sipParseErr = SIP_NULLPTR;
4192     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
4193 
4194     {
4195         const  ::wxPoint* pt;
4196         int ptState = 0;
4197         long flags;
4198         const  ::wxAuiNotebook *sipCpp;
4199 
4200         static const char *sipKwdList[] = {
4201             sipName_pt,
4202         };
4203 
4204         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAuiNotebook, &sipCpp, sipType_wxPoint, &pt, &ptState))
4205         {
4206             int sipRes;
4207 
4208             PyErr_Clear();
4209 
4210             Py_BEGIN_ALLOW_THREADS
4211             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiNotebook::HitTest(*pt,&flags) : sipCpp->HitTest(*pt,&flags));
4212             Py_END_ALLOW_THREADS
4213             sipReleaseType(const_cast< ::wxPoint *>(pt),sipType_wxPoint,ptState);
4214 
4215             if (PyErr_Occurred())
4216                 return 0;
4217 
4218             return sipBuildResult(0,"(il)",sipRes,flags);
4219         }
4220     }
4221 
4222     /* Raise an exception if the arguments couldn't be parsed. */
4223     sipNoMethod(sipParseErr, sipName_AuiNotebook, sipName_HitTest, doc_wxAuiNotebook_HitTest);
4224 
4225     return SIP_NULLPTR;
4226 }
4227 
4228 
4229 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
4230 extern "C" {static void *cast_wxAuiNotebook(void *, const sipTypeDef *);}
cast_wxAuiNotebook(void * sipCppV,const sipTypeDef * targetType)4231 static void *cast_wxAuiNotebook(void *sipCppV, const sipTypeDef *targetType)
4232 {
4233      ::wxAuiNotebook *sipCpp = reinterpret_cast< ::wxAuiNotebook *>(sipCppV);
4234 
4235     if (targetType == sipType_wxBookCtrlBase)
4236         return static_cast< ::wxBookCtrlBase *>(sipCpp);
4237 
4238     if (targetType == sipType_wxControl)
4239         return static_cast< ::wxControl *>(sipCpp);
4240 
4241     if (targetType == sipType_wxWindow)
4242         return static_cast< ::wxWindow *>(sipCpp);
4243 
4244     if (targetType == sipType_wxWindowBase)
4245         return static_cast< ::wxWindowBase *>(sipCpp);
4246 
4247     if (targetType == sipType_wxEvtHandler)
4248         return static_cast< ::wxEvtHandler *>(sipCpp);
4249 
4250     if (targetType == sipType_wxObject)
4251         return static_cast< ::wxObject *>(sipCpp);
4252 
4253     if (targetType == sipType_wxTrackable)
4254         return static_cast< ::wxTrackable *>(sipCpp);
4255 
4256     if (targetType == sipType_wxWithImages)
4257         return static_cast< ::wxWithImages *>(sipCpp);
4258 
4259     return sipCppV;
4260 }
4261 
4262 
4263 /* Call the instance's destructor. */
4264 extern "C" {static void release_wxAuiNotebook(void *, int);}
release_wxAuiNotebook(void * sipCppV,int sipState)4265 static void release_wxAuiNotebook(void *sipCppV, int sipState)
4266 {
4267     Py_BEGIN_ALLOW_THREADS
4268 
4269     if (sipState & SIP_DERIVED_CLASS)
4270         delete reinterpret_cast<sipwxAuiNotebook *>(sipCppV);
4271     else
4272         delete reinterpret_cast< ::wxAuiNotebook *>(sipCppV);
4273 
4274     Py_END_ALLOW_THREADS
4275 }
4276 
4277 
4278 extern "C" {static void dealloc_wxAuiNotebook(sipSimpleWrapper *);}
dealloc_wxAuiNotebook(sipSimpleWrapper * sipSelf)4279 static void dealloc_wxAuiNotebook(sipSimpleWrapper *sipSelf)
4280 {
4281     if (sipIsDerivedClass(sipSelf))
4282         reinterpret_cast<sipwxAuiNotebook *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
4283 
4284     if (sipIsOwnedByPython(sipSelf))
4285     {
4286         release_wxAuiNotebook(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
4287     }
4288 }
4289 
4290 
4291 extern "C" {static void *init_type_wxAuiNotebook(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxAuiNotebook(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject ** sipOwner,PyObject ** sipParseErr)4292 static void *init_type_wxAuiNotebook(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
4293 {
4294     sipwxAuiNotebook *sipCpp = SIP_NULLPTR;
4295 
4296     {
4297         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
4298         {
4299 
4300         if (!wxPyCheckForApp()) return NULL;
4301 
4302             PyErr_Clear();
4303 
4304             Py_BEGIN_ALLOW_THREADS
4305             sipCpp = new sipwxAuiNotebook();
4306             Py_END_ALLOW_THREADS
4307 
4308             if (PyErr_Occurred())
4309             {
4310                 delete sipCpp;
4311                 return SIP_NULLPTR;
4312             }
4313 
4314             sipCpp->sipPySelf = sipSelf;
4315 
4316             return sipCpp;
4317         }
4318     }
4319 
4320     {
4321          ::wxWindow* parent;
4322          ::wxWindowID id = wxID_ANY;
4323         const  ::wxPoint& posdef = wxDefaultPosition;
4324         const  ::wxPoint* pos = &posdef;
4325         int posState = 0;
4326         const  ::wxSize& sizedef = wxDefaultSize;
4327         const  ::wxSize* size = &sizedef;
4328         int sizeState = 0;
4329         long style = wxAUI_NB_DEFAULT_STYLE;
4330 
4331         static const char *sipKwdList[] = {
4332             sipName_parent,
4333             sipName_id,
4334             sipName_pos,
4335             sipName_size,
4336             sipName_style,
4337         };
4338 
4339         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "JH|iJ1J1l", sipType_wxWindow, &parent, sipOwner, &id, sipType_wxPoint, &pos, &posState, sipType_wxSize, &size, &sizeState, &style))
4340         {
4341 
4342         if (!wxPyCheckForApp()) return NULL;
4343 
4344             PyErr_Clear();
4345 
4346             Py_BEGIN_ALLOW_THREADS
4347             sipCpp = new sipwxAuiNotebook(parent,id,*pos,*size,style);
4348             Py_END_ALLOW_THREADS
4349             sipReleaseType(const_cast< ::wxPoint *>(pos),sipType_wxPoint,posState);
4350             sipReleaseType(const_cast< ::wxSize *>(size),sipType_wxSize,sizeState);
4351 
4352             if (PyErr_Occurred())
4353             {
4354                 delete sipCpp;
4355                 return SIP_NULLPTR;
4356             }
4357 
4358             sipCpp->sipPySelf = sipSelf;
4359 
4360             return sipCpp;
4361         }
4362     }
4363 
4364     return SIP_NULLPTR;
4365 }
4366 
4367 
4368 /* Define this type's super-types. */
4369 static sipEncodedTypeDef supers_wxAuiNotebook[] = {{2, 0, 1}};
4370 
4371 
4372 static PyMethodDef methods_wxAuiNotebook[] = {
4373     {SIP_MLNAME_CAST(sipName_AcceptsFocus), meth_wxAuiNotebook_AcceptsFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_AcceptsFocus)},
4374     {SIP_MLNAME_CAST(sipName_AcceptsFocusFromKeyboard), meth_wxAuiNotebook_AcceptsFocusFromKeyboard, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_AcceptsFocusFromKeyboard)},
4375     {SIP_MLNAME_CAST(sipName_AcceptsFocusRecursively), meth_wxAuiNotebook_AcceptsFocusRecursively, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_AcceptsFocusRecursively)},
4376     {SIP_MLNAME_CAST(sipName_AddChild), SIP_MLMETH_CAST(meth_wxAuiNotebook_AddChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_AddChild)},
4377     {SIP_MLNAME_CAST(sipName_AddPage), SIP_MLMETH_CAST(meth_wxAuiNotebook_AddPage), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_AddPage)},
4378     {SIP_MLNAME_CAST(sipName_AdvanceSelection), SIP_MLMETH_CAST(meth_wxAuiNotebook_AdvanceSelection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_AdvanceSelection)},
4379     {SIP_MLNAME_CAST(sipName_ChangeSelection), SIP_MLMETH_CAST(meth_wxAuiNotebook_ChangeSelection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_ChangeSelection)},
4380     {SIP_MLNAME_CAST(sipName_Create), SIP_MLMETH_CAST(meth_wxAuiNotebook_Create), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_Create)},
4381     {SIP_MLNAME_CAST(sipName_DeleteAllPages), meth_wxAuiNotebook_DeleteAllPages, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DeleteAllPages)},
4382     {SIP_MLNAME_CAST(sipName_DeletePage), SIP_MLMETH_CAST(meth_wxAuiNotebook_DeletePage), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DeletePage)},
4383     {SIP_MLNAME_CAST(sipName_Destroy), meth_wxAuiNotebook_Destroy, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_Destroy)},
4384     {SIP_MLNAME_CAST(sipName_DoEnable), SIP_MLMETH_CAST(meth_wxAuiNotebook_DoEnable), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoEnable)},
4385     {SIP_MLNAME_CAST(sipName_DoFreeze), meth_wxAuiNotebook_DoFreeze, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoFreeze)},
4386     {SIP_MLNAME_CAST(sipName_DoGetBestClientSize), meth_wxAuiNotebook_DoGetBestClientSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoGetBestClientSize)},
4387     {SIP_MLNAME_CAST(sipName_DoGetBestSize), meth_wxAuiNotebook_DoGetBestSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoGetBestSize)},
4388     {SIP_MLNAME_CAST(sipName_DoGetBorderSize), meth_wxAuiNotebook_DoGetBorderSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoGetBorderSize)},
4389     {SIP_MLNAME_CAST(sipName_DoGetClientSize), SIP_MLMETH_CAST(meth_wxAuiNotebook_DoGetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoGetClientSize)},
4390     {SIP_MLNAME_CAST(sipName_DoGetPosition), SIP_MLMETH_CAST(meth_wxAuiNotebook_DoGetPosition), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoGetPosition)},
4391     {SIP_MLNAME_CAST(sipName_DoGetSize), SIP_MLMETH_CAST(meth_wxAuiNotebook_DoGetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoGetSize)},
4392     {SIP_MLNAME_CAST(sipName_DoMoveWindow), SIP_MLMETH_CAST(meth_wxAuiNotebook_DoMoveWindow), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoMoveWindow)},
4393     {SIP_MLNAME_CAST(sipName_DoSetClientSize), SIP_MLMETH_CAST(meth_wxAuiNotebook_DoSetClientSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoSetClientSize)},
4394     {SIP_MLNAME_CAST(sipName_DoSetSize), SIP_MLMETH_CAST(meth_wxAuiNotebook_DoSetSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoSetSize)},
4395     {SIP_MLNAME_CAST(sipName_DoSetSizeHints), SIP_MLMETH_CAST(meth_wxAuiNotebook_DoSetSizeHints), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoSetSizeHints)},
4396     {SIP_MLNAME_CAST(sipName_DoSetWindowVariant), SIP_MLMETH_CAST(meth_wxAuiNotebook_DoSetWindowVariant), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoSetWindowVariant)},
4397     {SIP_MLNAME_CAST(sipName_DoThaw), meth_wxAuiNotebook_DoThaw, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_DoThaw)},
4398     {SIP_MLNAME_CAST(sipName_GetArtProvider), meth_wxAuiNotebook_GetArtProvider, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetArtProvider)},
4399     {SIP_MLNAME_CAST(sipName_GetClassDefaultAttributes), SIP_MLMETH_CAST(meth_wxAuiNotebook_GetClassDefaultAttributes), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetClassDefaultAttributes)},
4400     {SIP_MLNAME_CAST(sipName_GetClientAreaOrigin), meth_wxAuiNotebook_GetClientAreaOrigin, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetClientAreaOrigin)},
4401     {SIP_MLNAME_CAST(sipName_GetCurrentPage), meth_wxAuiNotebook_GetCurrentPage, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetCurrentPage)},
4402     {SIP_MLNAME_CAST(sipName_GetDefaultBorder), meth_wxAuiNotebook_GetDefaultBorder, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetDefaultBorder)},
4403     {SIP_MLNAME_CAST(sipName_GetDefaultBorderForControl), meth_wxAuiNotebook_GetDefaultBorderForControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetDefaultBorderForControl)},
4404     {SIP_MLNAME_CAST(sipName_GetHeightForPageHeight), SIP_MLMETH_CAST(meth_wxAuiNotebook_GetHeightForPageHeight), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetHeightForPageHeight)},
4405     {SIP_MLNAME_CAST(sipName_GetMainWindowOfCompositeControl), meth_wxAuiNotebook_GetMainWindowOfCompositeControl, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetMainWindowOfCompositeControl)},
4406     {SIP_MLNAME_CAST(sipName_GetPage), SIP_MLMETH_CAST(meth_wxAuiNotebook_GetPage), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetPage)},
4407     {SIP_MLNAME_CAST(sipName_GetPageBitmap), SIP_MLMETH_CAST(meth_wxAuiNotebook_GetPageBitmap), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetPageBitmap)},
4408     {SIP_MLNAME_CAST(sipName_GetPageCount), meth_wxAuiNotebook_GetPageCount, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetPageCount)},
4409     {SIP_MLNAME_CAST(sipName_GetPageImage), SIP_MLMETH_CAST(meth_wxAuiNotebook_GetPageImage), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetPageImage)},
4410     {SIP_MLNAME_CAST(sipName_GetPageIndex), SIP_MLMETH_CAST(meth_wxAuiNotebook_GetPageIndex), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetPageIndex)},
4411     {SIP_MLNAME_CAST(sipName_GetPageText), SIP_MLMETH_CAST(meth_wxAuiNotebook_GetPageText), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetPageText)},
4412     {SIP_MLNAME_CAST(sipName_GetPageToolTip), SIP_MLMETH_CAST(meth_wxAuiNotebook_GetPageToolTip), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetPageToolTip)},
4413     {SIP_MLNAME_CAST(sipName_GetSelection), meth_wxAuiNotebook_GetSelection, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetSelection)},
4414     {SIP_MLNAME_CAST(sipName_GetTabCtrlHeight), meth_wxAuiNotebook_GetTabCtrlHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetTabCtrlHeight)},
4415     {SIP_MLNAME_CAST(sipName_GetValidator), meth_wxAuiNotebook_GetValidator, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_GetValidator)},
4416     {SIP_MLNAME_CAST(sipName_HasTransparentBackground), meth_wxAuiNotebook_HasTransparentBackground, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_HasTransparentBackground)},
4417     {SIP_MLNAME_CAST(sipName_HitTest), SIP_MLMETH_CAST(meth_wxAuiNotebook_HitTest), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_HitTest)},
4418     {SIP_MLNAME_CAST(sipName_InformFirstDirection), SIP_MLMETH_CAST(meth_wxAuiNotebook_InformFirstDirection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_InformFirstDirection)},
4419     {SIP_MLNAME_CAST(sipName_InheritAttributes), meth_wxAuiNotebook_InheritAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_InheritAttributes)},
4420     {SIP_MLNAME_CAST(sipName_InitDialog), meth_wxAuiNotebook_InitDialog, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_InitDialog)},
4421     {SIP_MLNAME_CAST(sipName_InsertPage), SIP_MLMETH_CAST(meth_wxAuiNotebook_InsertPage), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_InsertPage)},
4422     {SIP_MLNAME_CAST(sipName_OnInternalIdle), meth_wxAuiNotebook_OnInternalIdle, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_OnInternalIdle)},
4423     {SIP_MLNAME_CAST(sipName_ProcessEvent), SIP_MLMETH_CAST(meth_wxAuiNotebook_ProcessEvent), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_ProcessEvent)},
4424     {SIP_MLNAME_CAST(sipName_RemoveChild), SIP_MLMETH_CAST(meth_wxAuiNotebook_RemoveChild), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_RemoveChild)},
4425     {SIP_MLNAME_CAST(sipName_RemovePage), SIP_MLMETH_CAST(meth_wxAuiNotebook_RemovePage), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_RemovePage)},
4426     {SIP_MLNAME_CAST(sipName_SendDestroyEvent), meth_wxAuiNotebook_SendDestroyEvent, METH_VARARGS, SIP_NULLPTR},
4427     {SIP_MLNAME_CAST(sipName_SetArtProvider), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetArtProvider), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetArtProvider)},
4428     {SIP_MLNAME_CAST(sipName_SetCanFocus), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetCanFocus), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetCanFocus)},
4429     {SIP_MLNAME_CAST(sipName_SetFont), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetFont), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetFont)},
4430     {SIP_MLNAME_CAST(sipName_SetMeasuringFont), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetMeasuringFont), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetMeasuringFont)},
4431     {SIP_MLNAME_CAST(sipName_SetNormalFont), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetNormalFont), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetNormalFont)},
4432     {SIP_MLNAME_CAST(sipName_SetPageBitmap), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetPageBitmap), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetPageBitmap)},
4433     {SIP_MLNAME_CAST(sipName_SetPageImage), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetPageImage), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetPageImage)},
4434     {SIP_MLNAME_CAST(sipName_SetPageText), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetPageText), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetPageText)},
4435     {SIP_MLNAME_CAST(sipName_SetPageToolTip), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetPageToolTip), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetPageToolTip)},
4436     {SIP_MLNAME_CAST(sipName_SetSelectedFont), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetSelectedFont), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetSelectedFont)},
4437     {SIP_MLNAME_CAST(sipName_SetSelection), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetSelection), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetSelection)},
4438     {SIP_MLNAME_CAST(sipName_SetTabCtrlHeight), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetTabCtrlHeight), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetTabCtrlHeight)},
4439     {SIP_MLNAME_CAST(sipName_SetUniformBitmapSize), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetUniformBitmapSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetUniformBitmapSize)},
4440     {SIP_MLNAME_CAST(sipName_SetValidator), SIP_MLMETH_CAST(meth_wxAuiNotebook_SetValidator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_SetValidator)},
4441     {SIP_MLNAME_CAST(sipName_ShouldInheritColours), meth_wxAuiNotebook_ShouldInheritColours, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_ShouldInheritColours)},
4442     {SIP_MLNAME_CAST(sipName_ShowWindowMenu), meth_wxAuiNotebook_ShowWindowMenu, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_ShowWindowMenu)},
4443     {SIP_MLNAME_CAST(sipName_Split), SIP_MLMETH_CAST(meth_wxAuiNotebook_Split), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_Split)},
4444     {SIP_MLNAME_CAST(sipName_TransferDataFromWindow), meth_wxAuiNotebook_TransferDataFromWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_TransferDataFromWindow)},
4445     {SIP_MLNAME_CAST(sipName_TransferDataToWindow), meth_wxAuiNotebook_TransferDataToWindow, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_TransferDataToWindow)},
4446     {SIP_MLNAME_CAST(sipName_TryAfter), SIP_MLMETH_CAST(meth_wxAuiNotebook_TryAfter), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_TryAfter)},
4447     {SIP_MLNAME_CAST(sipName_TryBefore), SIP_MLMETH_CAST(meth_wxAuiNotebook_TryBefore), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiNotebook_TryBefore)},
4448     {SIP_MLNAME_CAST(sipName_Validate), meth_wxAuiNotebook_Validate, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiNotebook_Validate)}
4449 };
4450 
4451 sipVariableDef variables_wxAuiNotebook[] = {
4452     {PropertyVariable, sipName_TabCtrlHeight, &methods_wxAuiNotebook[41], &methods_wxAuiNotebook[65], SIP_NULLPTR, SIP_NULLPTR},
4453     {PropertyVariable, sipName_Selection, &methods_wxAuiNotebook[40], &methods_wxAuiNotebook[64], SIP_NULLPTR, SIP_NULLPTR},
4454     {PropertyVariable, sipName_PageCount, &methods_wxAuiNotebook[35], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
4455     {PropertyVariable, sipName_CurrentPage, &methods_wxAuiNotebook[28], SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
4456     {PropertyVariable, sipName_ArtProvider, &methods_wxAuiNotebook[25], &methods_wxAuiNotebook[54], SIP_NULLPTR, SIP_NULLPTR},
4457 };
4458 
4459 PyDoc_STRVAR(doc_wxAuiNotebook, "AuiNotebook()\n"
4460 "AuiNotebook(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=AUI_NB_DEFAULT_STYLE)\n"
4461 "\n"
4462 "wxAuiNotebook is part of the wxAUI class framework, which represents a\n"
4463 "notebook control, managing multiple windows with associated tabs.");
4464 
4465 
4466 sipClassTypeDef sipTypeDef__aui_wxAuiNotebook = {
4467     {
4468         -1,
4469         SIP_NULLPTR,
4470         SIP_NULLPTR,
4471         SIP_TYPE_SCC|SIP_TYPE_CLASS,
4472         sipNameNr_wxAuiNotebook,
4473         {SIP_NULLPTR},
4474         SIP_NULLPTR
4475     },
4476     {
4477         sipNameNr_AuiNotebook,
4478         {0, 0, 1},
4479         76, methods_wxAuiNotebook,
4480         0, SIP_NULLPTR,
4481         5, variables_wxAuiNotebook,
4482         {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
4483     },
4484     doc_wxAuiNotebook,
4485     -1,
4486     -1,
4487     supers_wxAuiNotebook,
4488     SIP_NULLPTR,
4489     init_type_wxAuiNotebook,
4490     SIP_NULLPTR,
4491     SIP_NULLPTR,
4492 #if PY_MAJOR_VERSION >= 3
4493     SIP_NULLPTR,
4494     SIP_NULLPTR,
4495 #else
4496     SIP_NULLPTR,
4497     SIP_NULLPTR,
4498     SIP_NULLPTR,
4499     SIP_NULLPTR,
4500 #endif
4501     dealloc_wxAuiNotebook,
4502     SIP_NULLPTR,
4503     SIP_NULLPTR,
4504     SIP_NULLPTR,
4505     release_wxAuiNotebook,
4506     cast_wxAuiNotebook,
4507     SIP_NULLPTR,
4508     SIP_NULLPTR,
4509     SIP_NULLPTR,
4510     SIP_NULLPTR,
4511     SIP_NULLPTR,
4512     SIP_NULLPTR
4513 };
4514