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/auibar.h>
13 
14         #include <wx/window.h>
15         #include <wx/gdicmn.h>
16         #include <wx/dc.h>
17         #include <wx/aui/auibar.h>
18         #include <wx/gdicmn.h>
19         #include <wx/font.h>
20         #include <wx/aui/auibar.h>
21 
22 
23 class sipwxAuiDefaultToolBarArt : public  ::wxAuiDefaultToolBarArt
24 {
25 public:
26     sipwxAuiDefaultToolBarArt();
27     sipwxAuiDefaultToolBarArt(const  ::wxAuiDefaultToolBarArt&);
28     virtual ~sipwxAuiDefaultToolBarArt();
29 
30     /*
31      * There is a protected method for every virtual method visible from
32      * this class.
33      */
34 protected:
35      ::wxAuiToolBarArt* Clone() SIP_OVERRIDE;
36     void SetFlags(uint) SIP_OVERRIDE;
37     uint GetFlags() SIP_OVERRIDE;
38     void SetFont(const  ::wxFont&) SIP_OVERRIDE;
39      ::wxFont GetFont() SIP_OVERRIDE;
40     void SetTextOrientation(int) SIP_OVERRIDE;
41     int GetTextOrientation() SIP_OVERRIDE;
42     void DrawBackground( ::wxDC&, ::wxWindow*,const  ::wxRect&) SIP_OVERRIDE;
43     void DrawPlainBackground( ::wxDC&, ::wxWindow*,const  ::wxRect&) SIP_OVERRIDE;
44     void DrawLabel( ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&,const  ::wxRect&) SIP_OVERRIDE;
45     void DrawButton( ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&,const  ::wxRect&) SIP_OVERRIDE;
46     void DrawDropDownButton( ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&,const  ::wxRect&) SIP_OVERRIDE;
47     void DrawControlLabel( ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&,const  ::wxRect&) SIP_OVERRIDE;
48     void DrawSeparator( ::wxDC&, ::wxWindow*,const  ::wxRect&) SIP_OVERRIDE;
49     void DrawGripper( ::wxDC&, ::wxWindow*,const  ::wxRect&) SIP_OVERRIDE;
50     void DrawOverflowButton( ::wxDC&, ::wxWindow*,const  ::wxRect&,int) SIP_OVERRIDE;
51      ::wxSize GetLabelSize( ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&) SIP_OVERRIDE;
52      ::wxSize GetToolSize( ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&) SIP_OVERRIDE;
53     int GetElementSize(int) SIP_OVERRIDE;
54     void SetElementSize(int,int) SIP_OVERRIDE;
55     int ShowDropDown( ::wxWindow*,const  ::wxAuiToolBarItemArray&) SIP_OVERRIDE;
56 
57 public:
58     sipSimpleWrapper *sipPySelf;
59 
60 private:
61     sipwxAuiDefaultToolBarArt(const sipwxAuiDefaultToolBarArt &);
62     sipwxAuiDefaultToolBarArt &operator = (const sipwxAuiDefaultToolBarArt &);
63 
64     char sipPyMethods[21];
65 };
66 
sipwxAuiDefaultToolBarArt()67 sipwxAuiDefaultToolBarArt::sipwxAuiDefaultToolBarArt():  ::wxAuiDefaultToolBarArt(), sipPySelf(SIP_NULLPTR)
68 {
69     memset(sipPyMethods, 0, sizeof (sipPyMethods));
70 }
71 
sipwxAuiDefaultToolBarArt(const::wxAuiDefaultToolBarArt & a0)72 sipwxAuiDefaultToolBarArt::sipwxAuiDefaultToolBarArt(const  ::wxAuiDefaultToolBarArt& a0):  ::wxAuiDefaultToolBarArt(a0), sipPySelf(SIP_NULLPTR)
73 {
74     memset(sipPyMethods, 0, sizeof (sipPyMethods));
75 }
76 
~sipwxAuiDefaultToolBarArt()77 sipwxAuiDefaultToolBarArt::~sipwxAuiDefaultToolBarArt()
78 {
79     sipInstanceDestroyedEx(&sipPySelf);
80 }
81 
Clone()82  ::wxAuiToolBarArt* sipwxAuiDefaultToolBarArt::Clone()
83 {
84     sip_gilstate_t sipGILState;
85     PyObject *sipMeth;
86 
87     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,SIP_NULLPTR,sipName_Clone);
88 
89     if (!sipMeth)
90         return  ::wxAuiDefaultToolBarArt::Clone();
91 
92     extern  ::wxAuiToolBarArt* sipVH__aui_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
93 
94     return sipVH__aui_16(sipGILState, 0, sipPySelf, sipMeth);
95 }
96 
SetFlags(uint flags)97 void sipwxAuiDefaultToolBarArt::SetFlags(uint flags)
98 {
99     sip_gilstate_t sipGILState;
100     PyObject *sipMeth;
101 
102     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,SIP_NULLPTR,sipName_SetFlags);
103 
104     if (!sipMeth)
105     {
106          ::wxAuiDefaultToolBarArt::SetFlags(flags);
107         return;
108     }
109 
110     extern void sipVH__aui_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, uint);
111 
112     sipVH__aui_17(sipGILState, 0, sipPySelf, sipMeth, flags);
113 }
114 
GetFlags()115 uint sipwxAuiDefaultToolBarArt::GetFlags()
116 {
117     sip_gilstate_t sipGILState;
118     PyObject *sipMeth;
119 
120     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,SIP_NULLPTR,sipName_GetFlags);
121 
122     if (!sipMeth)
123         return  ::wxAuiDefaultToolBarArt::GetFlags();
124 
125     extern uint sipVH__aui_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
126 
127     return sipVH__aui_18(sipGILState, 0, sipPySelf, sipMeth);
128 }
129 
SetFont(const::wxFont & font)130 void sipwxAuiDefaultToolBarArt::SetFont(const  ::wxFont& font)
131 {
132     sip_gilstate_t sipGILState;
133     PyObject *sipMeth;
134 
135     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,SIP_NULLPTR,sipName_SetFont);
136 
137     if (!sipMeth)
138     {
139          ::wxAuiDefaultToolBarArt::SetFont(font);
140         return;
141     }
142 
143     extern void sipVH__aui_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::wxFont&);
144 
145     sipVH__aui_19(sipGILState, 0, sipPySelf, sipMeth, font);
146 }
147 
GetFont()148  ::wxFont sipwxAuiDefaultToolBarArt::GetFont()
149 {
150     sip_gilstate_t sipGILState;
151     PyObject *sipMeth;
152 
153     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,SIP_NULLPTR,sipName_GetFont);
154 
155     if (!sipMeth)
156         return  ::wxAuiDefaultToolBarArt::GetFont();
157 
158     extern  ::wxFont sipVH__aui_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
159 
160     return sipVH__aui_20(sipGILState, 0, sipPySelf, sipMeth);
161 }
162 
SetTextOrientation(int orientation)163 void sipwxAuiDefaultToolBarArt::SetTextOrientation(int orientation)
164 {
165     sip_gilstate_t sipGILState;
166     PyObject *sipMeth;
167 
168     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,SIP_NULLPTR,sipName_SetTextOrientation);
169 
170     if (!sipMeth)
171     {
172          ::wxAuiDefaultToolBarArt::SetTextOrientation(orientation);
173         return;
174     }
175 
176     extern void sipVH__aui_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
177 
178     sipVH__aui_21(sipGILState, 0, sipPySelf, sipMeth, orientation);
179 }
180 
GetTextOrientation()181 int sipwxAuiDefaultToolBarArt::GetTextOrientation()
182 {
183     sip_gilstate_t sipGILState;
184     PyObject *sipMeth;
185 
186     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,SIP_NULLPTR,sipName_GetTextOrientation);
187 
188     if (!sipMeth)
189         return  ::wxAuiDefaultToolBarArt::GetTextOrientation();
190 
191     extern int sipVH__aui_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
192 
193     return sipVH__aui_22(sipGILState, 0, sipPySelf, sipMeth);
194 }
195 
DrawBackground(::wxDC & dc,::wxWindow * wnd,const::wxRect & rect)196 void sipwxAuiDefaultToolBarArt::DrawBackground( ::wxDC& dc, ::wxWindow*wnd,const  ::wxRect& rect)
197 {
198     sip_gilstate_t sipGILState;
199     PyObject *sipMeth;
200 
201     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,SIP_NULLPTR,sipName_DrawBackground);
202 
203     if (!sipMeth)
204     {
205          ::wxAuiDefaultToolBarArt::DrawBackground(dc,wnd,rect);
206         return;
207     }
208 
209     extern void sipVH__aui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxRect&);
210 
211     sipVH__aui_23(sipGILState, 0, sipPySelf, sipMeth, dc, wnd, rect);
212 }
213 
DrawPlainBackground(::wxDC & dc,::wxWindow * wnd,const::wxRect & rect)214 void sipwxAuiDefaultToolBarArt::DrawPlainBackground( ::wxDC& dc, ::wxWindow*wnd,const  ::wxRect& rect)
215 {
216     sip_gilstate_t sipGILState;
217     PyObject *sipMeth;
218 
219     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,SIP_NULLPTR,sipName_DrawPlainBackground);
220 
221     if (!sipMeth)
222     {
223          ::wxAuiDefaultToolBarArt::DrawPlainBackground(dc,wnd,rect);
224         return;
225     }
226 
227     extern void sipVH__aui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxRect&);
228 
229     sipVH__aui_23(sipGILState, 0, sipPySelf, sipMeth, dc, wnd, rect);
230 }
231 
DrawLabel(::wxDC & dc,::wxWindow * wnd,const::wxAuiToolBarItem & item,const::wxRect & rect)232 void sipwxAuiDefaultToolBarArt::DrawLabel( ::wxDC& dc, ::wxWindow*wnd,const  ::wxAuiToolBarItem& item,const  ::wxRect& rect)
233 {
234     sip_gilstate_t sipGILState;
235     PyObject *sipMeth;
236 
237     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,SIP_NULLPTR,sipName_DrawLabel);
238 
239     if (!sipMeth)
240     {
241          ::wxAuiDefaultToolBarArt::DrawLabel(dc,wnd,item,rect);
242         return;
243     }
244 
245     extern void sipVH__aui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&,const  ::wxRect&);
246 
247     sipVH__aui_24(sipGILState, 0, sipPySelf, sipMeth, dc, wnd, item, rect);
248 }
249 
DrawButton(::wxDC & dc,::wxWindow * wnd,const::wxAuiToolBarItem & item,const::wxRect & rect)250 void sipwxAuiDefaultToolBarArt::DrawButton( ::wxDC& dc, ::wxWindow*wnd,const  ::wxAuiToolBarItem& item,const  ::wxRect& rect)
251 {
252     sip_gilstate_t sipGILState;
253     PyObject *sipMeth;
254 
255     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,SIP_NULLPTR,sipName_DrawButton);
256 
257     if (!sipMeth)
258     {
259          ::wxAuiDefaultToolBarArt::DrawButton(dc,wnd,item,rect);
260         return;
261     }
262 
263     extern void sipVH__aui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&,const  ::wxRect&);
264 
265     sipVH__aui_24(sipGILState, 0, sipPySelf, sipMeth, dc, wnd, item, rect);
266 }
267 
DrawDropDownButton(::wxDC & dc,::wxWindow * wnd,const::wxAuiToolBarItem & item,const::wxRect & rect)268 void sipwxAuiDefaultToolBarArt::DrawDropDownButton( ::wxDC& dc, ::wxWindow*wnd,const  ::wxAuiToolBarItem& item,const  ::wxRect& rect)
269 {
270     sip_gilstate_t sipGILState;
271     PyObject *sipMeth;
272 
273     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,SIP_NULLPTR,sipName_DrawDropDownButton);
274 
275     if (!sipMeth)
276     {
277          ::wxAuiDefaultToolBarArt::DrawDropDownButton(dc,wnd,item,rect);
278         return;
279     }
280 
281     extern void sipVH__aui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&,const  ::wxRect&);
282 
283     sipVH__aui_24(sipGILState, 0, sipPySelf, sipMeth, dc, wnd, item, rect);
284 }
285 
DrawControlLabel(::wxDC & dc,::wxWindow * wnd,const::wxAuiToolBarItem & item,const::wxRect & rect)286 void sipwxAuiDefaultToolBarArt::DrawControlLabel( ::wxDC& dc, ::wxWindow*wnd,const  ::wxAuiToolBarItem& item,const  ::wxRect& rect)
287 {
288     sip_gilstate_t sipGILState;
289     PyObject *sipMeth;
290 
291     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,SIP_NULLPTR,sipName_DrawControlLabel);
292 
293     if (!sipMeth)
294     {
295          ::wxAuiDefaultToolBarArt::DrawControlLabel(dc,wnd,item,rect);
296         return;
297     }
298 
299     extern void sipVH__aui_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&,const  ::wxRect&);
300 
301     sipVH__aui_24(sipGILState, 0, sipPySelf, sipMeth, dc, wnd, item, rect);
302 }
303 
DrawSeparator(::wxDC & dc,::wxWindow * wnd,const::wxRect & rect)304 void sipwxAuiDefaultToolBarArt::DrawSeparator( ::wxDC& dc, ::wxWindow*wnd,const  ::wxRect& rect)
305 {
306     sip_gilstate_t sipGILState;
307     PyObject *sipMeth;
308 
309     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,SIP_NULLPTR,sipName_DrawSeparator);
310 
311     if (!sipMeth)
312     {
313          ::wxAuiDefaultToolBarArt::DrawSeparator(dc,wnd,rect);
314         return;
315     }
316 
317     extern void sipVH__aui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxRect&);
318 
319     sipVH__aui_23(sipGILState, 0, sipPySelf, sipMeth, dc, wnd, rect);
320 }
321 
DrawGripper(::wxDC & dc,::wxWindow * wnd,const::wxRect & rect)322 void sipwxAuiDefaultToolBarArt::DrawGripper( ::wxDC& dc, ::wxWindow*wnd,const  ::wxRect& rect)
323 {
324     sip_gilstate_t sipGILState;
325     PyObject *sipMeth;
326 
327     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,SIP_NULLPTR,sipName_DrawGripper);
328 
329     if (!sipMeth)
330     {
331          ::wxAuiDefaultToolBarArt::DrawGripper(dc,wnd,rect);
332         return;
333     }
334 
335     extern void sipVH__aui_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxRect&);
336 
337     sipVH__aui_23(sipGILState, 0, sipPySelf, sipMeth, dc, wnd, rect);
338 }
339 
DrawOverflowButton(::wxDC & dc,::wxWindow * wnd,const::wxRect & rect,int state)340 void sipwxAuiDefaultToolBarArt::DrawOverflowButton( ::wxDC& dc, ::wxWindow*wnd,const  ::wxRect& rect,int state)
341 {
342     sip_gilstate_t sipGILState;
343     PyObject *sipMeth;
344 
345     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,SIP_NULLPTR,sipName_DrawOverflowButton);
346 
347     if (!sipMeth)
348     {
349          ::wxAuiDefaultToolBarArt::DrawOverflowButton(dc,wnd,rect,state);
350         return;
351     }
352 
353     extern void sipVH__aui_25(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxRect&,int);
354 
355     sipVH__aui_25(sipGILState, 0, sipPySelf, sipMeth, dc, wnd, rect, state);
356 }
357 
GetLabelSize(::wxDC & dc,::wxWindow * wnd,const::wxAuiToolBarItem & item)358  ::wxSize sipwxAuiDefaultToolBarArt::GetLabelSize( ::wxDC& dc, ::wxWindow*wnd,const  ::wxAuiToolBarItem& item)
359 {
360     sip_gilstate_t sipGILState;
361     PyObject *sipMeth;
362 
363     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,SIP_NULLPTR,sipName_GetLabelSize);
364 
365     if (!sipMeth)
366         return  ::wxAuiDefaultToolBarArt::GetLabelSize(dc,wnd,item);
367 
368     extern  ::wxSize sipVH__aui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&);
369 
370     return sipVH__aui_26(sipGILState, 0, sipPySelf, sipMeth, dc, wnd, item);
371 }
372 
GetToolSize(::wxDC & dc,::wxWindow * wnd,const::wxAuiToolBarItem & item)373  ::wxSize sipwxAuiDefaultToolBarArt::GetToolSize( ::wxDC& dc, ::wxWindow*wnd,const  ::wxAuiToolBarItem& item)
374 {
375     sip_gilstate_t sipGILState;
376     PyObject *sipMeth;
377 
378     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,SIP_NULLPTR,sipName_GetToolSize);
379 
380     if (!sipMeth)
381         return  ::wxAuiDefaultToolBarArt::GetToolSize(dc,wnd,item);
382 
383     extern  ::wxSize sipVH__aui_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxDC&, ::wxWindow*,const  ::wxAuiToolBarItem&);
384 
385     return sipVH__aui_26(sipGILState, 0, sipPySelf, sipMeth, dc, wnd, item);
386 }
387 
GetElementSize(int element)388 int sipwxAuiDefaultToolBarArt::GetElementSize(int element)
389 {
390     sip_gilstate_t sipGILState;
391     PyObject *sipMeth;
392 
393     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,SIP_NULLPTR,sipName_GetElementSize);
394 
395     if (!sipMeth)
396         return  ::wxAuiDefaultToolBarArt::GetElementSize(element);
397 
398     extern int sipVH__aui_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);
399 
400     return sipVH__aui_12(sipGILState, 0, sipPySelf, sipMeth, element);
401 }
402 
SetElementSize(int element_id,int size)403 void sipwxAuiDefaultToolBarArt::SetElementSize(int element_id,int size)
404 {
405     sip_gilstate_t sipGILState;
406     PyObject *sipMeth;
407 
408     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,SIP_NULLPTR,sipName_SetElementSize);
409 
410     if (!sipMeth)
411     {
412          ::wxAuiDefaultToolBarArt::SetElementSize(element_id,size);
413         return;
414     }
415 
416     extern void sipVH__aui_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int,int);
417 
418     sipVH__aui_15(sipGILState, 0, sipPySelf, sipMeth, element_id, size);
419 }
420 
ShowDropDown(::wxWindow * wnd,const::wxAuiToolBarItemArray & items)421 int sipwxAuiDefaultToolBarArt::ShowDropDown( ::wxWindow*wnd,const  ::wxAuiToolBarItemArray& items)
422 {
423     sip_gilstate_t sipGILState;
424     PyObject *sipMeth;
425 
426     sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,SIP_NULLPTR,sipName_ShowDropDown);
427 
428     if (!sipMeth)
429         return  ::wxAuiDefaultToolBarArt::ShowDropDown(wnd,items);
430 
431     extern int sipVH__aui_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::wxWindow*,const  ::wxAuiToolBarItemArray&);
432 
433     return sipVH__aui_27(sipGILState, 0, sipPySelf, sipMeth, wnd, items);
434 }
435 
436 
437 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_Clone, "Clone() -> AuiToolBarArt");
438 
439 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_Clone(PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_Clone(PyObject * sipSelf,PyObject * sipArgs)440 static PyObject *meth_wxAuiDefaultToolBarArt_Clone(PyObject *sipSelf, PyObject *sipArgs)
441 {
442     PyObject *sipParseErr = SIP_NULLPTR;
443     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
444 
445     {
446          ::wxAuiDefaultToolBarArt *sipCpp;
447 
448         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp))
449         {
450              ::wxAuiToolBarArt*sipRes;
451 
452             PyErr_Clear();
453 
454             Py_BEGIN_ALLOW_THREADS
455             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::Clone() : sipCpp->Clone());
456             Py_END_ALLOW_THREADS
457 
458             if (PyErr_Occurred())
459                 return 0;
460 
461             return sipConvertFromType(sipRes,sipType_wxAuiToolBarArt,SIP_NULLPTR);
462         }
463     }
464 
465     /* Raise an exception if the arguments couldn't be parsed. */
466     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_Clone, SIP_NULLPTR);
467 
468     return SIP_NULLPTR;
469 }
470 
471 
472 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_SetFlags, "SetFlags(flags)");
473 
474 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_SetFlags(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_SetFlags(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)475 static PyObject *meth_wxAuiDefaultToolBarArt_SetFlags(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
476 {
477     PyObject *sipParseErr = SIP_NULLPTR;
478     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
479 
480     {
481         uint flags;
482          ::wxAuiDefaultToolBarArt *sipCpp;
483 
484         static const char *sipKwdList[] = {
485             sipName_flags,
486         };
487 
488         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bu", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, &flags))
489         {
490             PyErr_Clear();
491 
492             Py_BEGIN_ALLOW_THREADS
493             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::SetFlags(flags) : sipCpp->SetFlags(flags));
494             Py_END_ALLOW_THREADS
495 
496             if (PyErr_Occurred())
497                 return 0;
498 
499             Py_INCREF(Py_None);
500             return Py_None;
501         }
502     }
503 
504     /* Raise an exception if the arguments couldn't be parsed. */
505     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_SetFlags, SIP_NULLPTR);
506 
507     return SIP_NULLPTR;
508 }
509 
510 
511 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_GetFlags, "GetFlags() -> unsignedint");
512 
513 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_GetFlags(PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_GetFlags(PyObject * sipSelf,PyObject * sipArgs)514 static PyObject *meth_wxAuiDefaultToolBarArt_GetFlags(PyObject *sipSelf, PyObject *sipArgs)
515 {
516     PyObject *sipParseErr = SIP_NULLPTR;
517     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
518 
519     {
520          ::wxAuiDefaultToolBarArt *sipCpp;
521 
522         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp))
523         {
524             uint sipRes;
525 
526             PyErr_Clear();
527 
528             Py_BEGIN_ALLOW_THREADS
529             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::GetFlags() : sipCpp->GetFlags());
530             Py_END_ALLOW_THREADS
531 
532             if (PyErr_Occurred())
533                 return 0;
534 
535             return PyLong_FromUnsignedLong(sipRes);
536         }
537     }
538 
539     /* Raise an exception if the arguments couldn't be parsed. */
540     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_GetFlags, SIP_NULLPTR);
541 
542     return SIP_NULLPTR;
543 }
544 
545 
546 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_SetFont, "SetFont(font)");
547 
548 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_SetFont(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_SetFont(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)549 static PyObject *meth_wxAuiDefaultToolBarArt_SetFont(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
550 {
551     PyObject *sipParseErr = SIP_NULLPTR;
552     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
553 
554     {
555         const  ::wxFont* font;
556          ::wxAuiDefaultToolBarArt *sipCpp;
557 
558         static const char *sipKwdList[] = {
559             sipName_font,
560         };
561 
562         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxFont, &font))
563         {
564             PyErr_Clear();
565 
566             Py_BEGIN_ALLOW_THREADS
567             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::SetFont(*font) : sipCpp->SetFont(*font));
568             Py_END_ALLOW_THREADS
569 
570             if (PyErr_Occurred())
571                 return 0;
572 
573             Py_INCREF(Py_None);
574             return Py_None;
575         }
576     }
577 
578     /* Raise an exception if the arguments couldn't be parsed. */
579     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_SetFont, SIP_NULLPTR);
580 
581     return SIP_NULLPTR;
582 }
583 
584 
585 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_GetFont, "GetFont() -> wx.Font");
586 
587 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_GetFont(PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_GetFont(PyObject * sipSelf,PyObject * sipArgs)588 static PyObject *meth_wxAuiDefaultToolBarArt_GetFont(PyObject *sipSelf, PyObject *sipArgs)
589 {
590     PyObject *sipParseErr = SIP_NULLPTR;
591     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
592 
593     {
594          ::wxAuiDefaultToolBarArt *sipCpp;
595 
596         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp))
597         {
598              ::wxFont*sipRes;
599 
600             PyErr_Clear();
601 
602             Py_BEGIN_ALLOW_THREADS
603             sipRes = new  ::wxFont((sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::GetFont() : sipCpp->GetFont()));
604             Py_END_ALLOW_THREADS
605 
606             if (PyErr_Occurred())
607                 return 0;
608 
609             return sipConvertFromNewType(sipRes,sipType_wxFont,SIP_NULLPTR);
610         }
611     }
612 
613     /* Raise an exception if the arguments couldn't be parsed. */
614     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_GetFont, SIP_NULLPTR);
615 
616     return SIP_NULLPTR;
617 }
618 
619 
620 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_SetTextOrientation, "SetTextOrientation(orientation)");
621 
622 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_SetTextOrientation(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_SetTextOrientation(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)623 static PyObject *meth_wxAuiDefaultToolBarArt_SetTextOrientation(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
624 {
625     PyObject *sipParseErr = SIP_NULLPTR;
626     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
627 
628     {
629         int orientation;
630          ::wxAuiDefaultToolBarArt *sipCpp;
631 
632         static const char *sipKwdList[] = {
633             sipName_orientation,
634         };
635 
636         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, &orientation))
637         {
638             PyErr_Clear();
639 
640             Py_BEGIN_ALLOW_THREADS
641             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::SetTextOrientation(orientation) : sipCpp->SetTextOrientation(orientation));
642             Py_END_ALLOW_THREADS
643 
644             if (PyErr_Occurred())
645                 return 0;
646 
647             Py_INCREF(Py_None);
648             return Py_None;
649         }
650     }
651 
652     /* Raise an exception if the arguments couldn't be parsed. */
653     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_SetTextOrientation, SIP_NULLPTR);
654 
655     return SIP_NULLPTR;
656 }
657 
658 
659 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_GetTextOrientation, "GetTextOrientation() -> int");
660 
661 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_GetTextOrientation(PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_GetTextOrientation(PyObject * sipSelf,PyObject * sipArgs)662 static PyObject *meth_wxAuiDefaultToolBarArt_GetTextOrientation(PyObject *sipSelf, PyObject *sipArgs)
663 {
664     PyObject *sipParseErr = SIP_NULLPTR;
665     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
666 
667     {
668          ::wxAuiDefaultToolBarArt *sipCpp;
669 
670         if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp))
671         {
672             int sipRes;
673 
674             PyErr_Clear();
675 
676             Py_BEGIN_ALLOW_THREADS
677             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::GetTextOrientation() : sipCpp->GetTextOrientation());
678             Py_END_ALLOW_THREADS
679 
680             if (PyErr_Occurred())
681                 return 0;
682 
683             return SIPLong_FromLong(sipRes);
684         }
685     }
686 
687     /* Raise an exception if the arguments couldn't be parsed. */
688     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_GetTextOrientation, SIP_NULLPTR);
689 
690     return SIP_NULLPTR;
691 }
692 
693 
694 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_DrawBackground, "DrawBackground(dc, wnd, rect)");
695 
696 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_DrawBackground(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_DrawBackground(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)697 static PyObject *meth_wxAuiDefaultToolBarArt_DrawBackground(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
698 {
699     PyObject *sipParseErr = SIP_NULLPTR;
700     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
701 
702     {
703          ::wxDC* dc;
704          ::wxWindow* wnd;
705         const  ::wxRect* rect;
706         int rectState = 0;
707          ::wxAuiDefaultToolBarArt *sipCpp;
708 
709         static const char *sipKwdList[] = {
710             sipName_dc,
711             sipName_wnd,
712             sipName_rect,
713         };
714 
715         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J1", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &wnd, sipType_wxRect, &rect, &rectState))
716         {
717             PyErr_Clear();
718 
719             Py_BEGIN_ALLOW_THREADS
720             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::DrawBackground(*dc,wnd,*rect) : sipCpp->DrawBackground(*dc,wnd,*rect));
721             Py_END_ALLOW_THREADS
722             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
723 
724             if (PyErr_Occurred())
725                 return 0;
726 
727             Py_INCREF(Py_None);
728             return Py_None;
729         }
730     }
731 
732     /* Raise an exception if the arguments couldn't be parsed. */
733     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_DrawBackground, SIP_NULLPTR);
734 
735     return SIP_NULLPTR;
736 }
737 
738 
739 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_DrawPlainBackground, "DrawPlainBackground(dc, wnd, rect)");
740 
741 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_DrawPlainBackground(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_DrawPlainBackground(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)742 static PyObject *meth_wxAuiDefaultToolBarArt_DrawPlainBackground(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
743 {
744     PyObject *sipParseErr = SIP_NULLPTR;
745     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
746 
747     {
748          ::wxDC* dc;
749          ::wxWindow* wnd;
750         const  ::wxRect* rect;
751         int rectState = 0;
752          ::wxAuiDefaultToolBarArt *sipCpp;
753 
754         static const char *sipKwdList[] = {
755             sipName_dc,
756             sipName_wnd,
757             sipName_rect,
758         };
759 
760         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J1", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &wnd, sipType_wxRect, &rect, &rectState))
761         {
762             PyErr_Clear();
763 
764             Py_BEGIN_ALLOW_THREADS
765             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::DrawPlainBackground(*dc,wnd,*rect) : sipCpp->DrawPlainBackground(*dc,wnd,*rect));
766             Py_END_ALLOW_THREADS
767             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
768 
769             if (PyErr_Occurred())
770                 return 0;
771 
772             Py_INCREF(Py_None);
773             return Py_None;
774         }
775     }
776 
777     /* Raise an exception if the arguments couldn't be parsed. */
778     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_DrawPlainBackground, SIP_NULLPTR);
779 
780     return SIP_NULLPTR;
781 }
782 
783 
784 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_DrawLabel, "DrawLabel(dc, wnd, item, rect)");
785 
786 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_DrawLabel(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_DrawLabel(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)787 static PyObject *meth_wxAuiDefaultToolBarArt_DrawLabel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
788 {
789     PyObject *sipParseErr = SIP_NULLPTR;
790     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
791 
792     {
793          ::wxDC* dc;
794          ::wxWindow* wnd;
795         const  ::wxAuiToolBarItem* item;
796         const  ::wxRect* rect;
797         int rectState = 0;
798          ::wxAuiDefaultToolBarArt *sipCpp;
799 
800         static const char *sipKwdList[] = {
801             sipName_dc,
802             sipName_wnd,
803             sipName_item,
804             sipName_rect,
805         };
806 
807         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J9J1", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &wnd, sipType_wxAuiToolBarItem, &item, sipType_wxRect, &rect, &rectState))
808         {
809             PyErr_Clear();
810 
811             Py_BEGIN_ALLOW_THREADS
812             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::DrawLabel(*dc,wnd,*item,*rect) : sipCpp->DrawLabel(*dc,wnd,*item,*rect));
813             Py_END_ALLOW_THREADS
814             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
815 
816             if (PyErr_Occurred())
817                 return 0;
818 
819             Py_INCREF(Py_None);
820             return Py_None;
821         }
822     }
823 
824     /* Raise an exception if the arguments couldn't be parsed. */
825     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_DrawLabel, SIP_NULLPTR);
826 
827     return SIP_NULLPTR;
828 }
829 
830 
831 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_DrawButton, "DrawButton(dc, wnd, item, rect)");
832 
833 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_DrawButton(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_DrawButton(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)834 static PyObject *meth_wxAuiDefaultToolBarArt_DrawButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
835 {
836     PyObject *sipParseErr = SIP_NULLPTR;
837     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
838 
839     {
840          ::wxDC* dc;
841          ::wxWindow* wnd;
842         const  ::wxAuiToolBarItem* item;
843         const  ::wxRect* rect;
844         int rectState = 0;
845          ::wxAuiDefaultToolBarArt *sipCpp;
846 
847         static const char *sipKwdList[] = {
848             sipName_dc,
849             sipName_wnd,
850             sipName_item,
851             sipName_rect,
852         };
853 
854         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J9J1", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &wnd, sipType_wxAuiToolBarItem, &item, sipType_wxRect, &rect, &rectState))
855         {
856             PyErr_Clear();
857 
858             Py_BEGIN_ALLOW_THREADS
859             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::DrawButton(*dc,wnd,*item,*rect) : sipCpp->DrawButton(*dc,wnd,*item,*rect));
860             Py_END_ALLOW_THREADS
861             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
862 
863             if (PyErr_Occurred())
864                 return 0;
865 
866             Py_INCREF(Py_None);
867             return Py_None;
868         }
869     }
870 
871     /* Raise an exception if the arguments couldn't be parsed. */
872     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_DrawButton, SIP_NULLPTR);
873 
874     return SIP_NULLPTR;
875 }
876 
877 
878 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_DrawDropDownButton, "DrawDropDownButton(dc, wnd, item, rect)");
879 
880 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_DrawDropDownButton(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_DrawDropDownButton(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)881 static PyObject *meth_wxAuiDefaultToolBarArt_DrawDropDownButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
882 {
883     PyObject *sipParseErr = SIP_NULLPTR;
884     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
885 
886     {
887          ::wxDC* dc;
888          ::wxWindow* wnd;
889         const  ::wxAuiToolBarItem* item;
890         const  ::wxRect* rect;
891         int rectState = 0;
892          ::wxAuiDefaultToolBarArt *sipCpp;
893 
894         static const char *sipKwdList[] = {
895             sipName_dc,
896             sipName_wnd,
897             sipName_item,
898             sipName_rect,
899         };
900 
901         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J9J1", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &wnd, sipType_wxAuiToolBarItem, &item, sipType_wxRect, &rect, &rectState))
902         {
903             PyErr_Clear();
904 
905             Py_BEGIN_ALLOW_THREADS
906             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::DrawDropDownButton(*dc,wnd,*item,*rect) : sipCpp->DrawDropDownButton(*dc,wnd,*item,*rect));
907             Py_END_ALLOW_THREADS
908             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
909 
910             if (PyErr_Occurred())
911                 return 0;
912 
913             Py_INCREF(Py_None);
914             return Py_None;
915         }
916     }
917 
918     /* Raise an exception if the arguments couldn't be parsed. */
919     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_DrawDropDownButton, SIP_NULLPTR);
920 
921     return SIP_NULLPTR;
922 }
923 
924 
925 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_DrawControlLabel, "DrawControlLabel(dc, wnd, item, rect)");
926 
927 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_DrawControlLabel(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_DrawControlLabel(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)928 static PyObject *meth_wxAuiDefaultToolBarArt_DrawControlLabel(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
929 {
930     PyObject *sipParseErr = SIP_NULLPTR;
931     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
932 
933     {
934          ::wxDC* dc;
935          ::wxWindow* wnd;
936         const  ::wxAuiToolBarItem* item;
937         const  ::wxRect* rect;
938         int rectState = 0;
939          ::wxAuiDefaultToolBarArt *sipCpp;
940 
941         static const char *sipKwdList[] = {
942             sipName_dc,
943             sipName_wnd,
944             sipName_item,
945             sipName_rect,
946         };
947 
948         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J9J1", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &wnd, sipType_wxAuiToolBarItem, &item, sipType_wxRect, &rect, &rectState))
949         {
950             PyErr_Clear();
951 
952             Py_BEGIN_ALLOW_THREADS
953             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::DrawControlLabel(*dc,wnd,*item,*rect) : sipCpp->DrawControlLabel(*dc,wnd,*item,*rect));
954             Py_END_ALLOW_THREADS
955             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
956 
957             if (PyErr_Occurred())
958                 return 0;
959 
960             Py_INCREF(Py_None);
961             return Py_None;
962         }
963     }
964 
965     /* Raise an exception if the arguments couldn't be parsed. */
966     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_DrawControlLabel, SIP_NULLPTR);
967 
968     return SIP_NULLPTR;
969 }
970 
971 
972 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_DrawSeparator, "DrawSeparator(dc, wnd, rect)");
973 
974 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_DrawSeparator(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_DrawSeparator(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)975 static PyObject *meth_wxAuiDefaultToolBarArt_DrawSeparator(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
976 {
977     PyObject *sipParseErr = SIP_NULLPTR;
978     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
979 
980     {
981          ::wxDC* dc;
982          ::wxWindow* wnd;
983         const  ::wxRect* rect;
984         int rectState = 0;
985          ::wxAuiDefaultToolBarArt *sipCpp;
986 
987         static const char *sipKwdList[] = {
988             sipName_dc,
989             sipName_wnd,
990             sipName_rect,
991         };
992 
993         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J1", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &wnd, sipType_wxRect, &rect, &rectState))
994         {
995             PyErr_Clear();
996 
997             Py_BEGIN_ALLOW_THREADS
998             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::DrawSeparator(*dc,wnd,*rect) : sipCpp->DrawSeparator(*dc,wnd,*rect));
999             Py_END_ALLOW_THREADS
1000             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
1001 
1002             if (PyErr_Occurred())
1003                 return 0;
1004 
1005             Py_INCREF(Py_None);
1006             return Py_None;
1007         }
1008     }
1009 
1010     /* Raise an exception if the arguments couldn't be parsed. */
1011     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_DrawSeparator, SIP_NULLPTR);
1012 
1013     return SIP_NULLPTR;
1014 }
1015 
1016 
1017 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_DrawGripper, "DrawGripper(dc, wnd, rect)");
1018 
1019 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_DrawGripper(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_DrawGripper(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1020 static PyObject *meth_wxAuiDefaultToolBarArt_DrawGripper(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1021 {
1022     PyObject *sipParseErr = SIP_NULLPTR;
1023     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1024 
1025     {
1026          ::wxDC* dc;
1027          ::wxWindow* wnd;
1028         const  ::wxRect* rect;
1029         int rectState = 0;
1030          ::wxAuiDefaultToolBarArt *sipCpp;
1031 
1032         static const char *sipKwdList[] = {
1033             sipName_dc,
1034             sipName_wnd,
1035             sipName_rect,
1036         };
1037 
1038         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J1", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &wnd, sipType_wxRect, &rect, &rectState))
1039         {
1040             PyErr_Clear();
1041 
1042             Py_BEGIN_ALLOW_THREADS
1043             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::DrawGripper(*dc,wnd,*rect) : sipCpp->DrawGripper(*dc,wnd,*rect));
1044             Py_END_ALLOW_THREADS
1045             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
1046 
1047             if (PyErr_Occurred())
1048                 return 0;
1049 
1050             Py_INCREF(Py_None);
1051             return Py_None;
1052         }
1053     }
1054 
1055     /* Raise an exception if the arguments couldn't be parsed. */
1056     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_DrawGripper, SIP_NULLPTR);
1057 
1058     return SIP_NULLPTR;
1059 }
1060 
1061 
1062 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_DrawOverflowButton, "DrawOverflowButton(dc, wnd, rect, state)");
1063 
1064 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_DrawOverflowButton(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_DrawOverflowButton(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1065 static PyObject *meth_wxAuiDefaultToolBarArt_DrawOverflowButton(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1066 {
1067     PyObject *sipParseErr = SIP_NULLPTR;
1068     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1069 
1070     {
1071          ::wxDC* dc;
1072          ::wxWindow* wnd;
1073         const  ::wxRect* rect;
1074         int rectState = 0;
1075         int state;
1076          ::wxAuiDefaultToolBarArt *sipCpp;
1077 
1078         static const char *sipKwdList[] = {
1079             sipName_dc,
1080             sipName_wnd,
1081             sipName_rect,
1082             sipName_state,
1083         };
1084 
1085         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J1i", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &wnd, sipType_wxRect, &rect, &rectState, &state))
1086         {
1087             PyErr_Clear();
1088 
1089             Py_BEGIN_ALLOW_THREADS
1090             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::DrawOverflowButton(*dc,wnd,*rect,state) : sipCpp->DrawOverflowButton(*dc,wnd,*rect,state));
1091             Py_END_ALLOW_THREADS
1092             sipReleaseType(const_cast< ::wxRect *>(rect),sipType_wxRect,rectState);
1093 
1094             if (PyErr_Occurred())
1095                 return 0;
1096 
1097             Py_INCREF(Py_None);
1098             return Py_None;
1099         }
1100     }
1101 
1102     /* Raise an exception if the arguments couldn't be parsed. */
1103     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_DrawOverflowButton, SIP_NULLPTR);
1104 
1105     return SIP_NULLPTR;
1106 }
1107 
1108 
1109 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_GetLabelSize, "GetLabelSize(dc, wnd, item) -> wx.Size");
1110 
1111 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_GetLabelSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_GetLabelSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1112 static PyObject *meth_wxAuiDefaultToolBarArt_GetLabelSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1113 {
1114     PyObject *sipParseErr = SIP_NULLPTR;
1115     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1116 
1117     {
1118          ::wxDC* dc;
1119          ::wxWindow* wnd;
1120         const  ::wxAuiToolBarItem* item;
1121          ::wxAuiDefaultToolBarArt *sipCpp;
1122 
1123         static const char *sipKwdList[] = {
1124             sipName_dc,
1125             sipName_wnd,
1126             sipName_item,
1127         };
1128 
1129         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J9", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &wnd, sipType_wxAuiToolBarItem, &item))
1130         {
1131              ::wxSize*sipRes;
1132 
1133             PyErr_Clear();
1134 
1135             Py_BEGIN_ALLOW_THREADS
1136             sipRes = new  ::wxSize((sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::GetLabelSize(*dc,wnd,*item) : sipCpp->GetLabelSize(*dc,wnd,*item)));
1137             Py_END_ALLOW_THREADS
1138 
1139             if (PyErr_Occurred())
1140                 return 0;
1141 
1142             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
1143         }
1144     }
1145 
1146     /* Raise an exception if the arguments couldn't be parsed. */
1147     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_GetLabelSize, SIP_NULLPTR);
1148 
1149     return SIP_NULLPTR;
1150 }
1151 
1152 
1153 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_GetToolSize, "GetToolSize(dc, wnd, item) -> wx.Size");
1154 
1155 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_GetToolSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_GetToolSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1156 static PyObject *meth_wxAuiDefaultToolBarArt_GetToolSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1157 {
1158     PyObject *sipParseErr = SIP_NULLPTR;
1159     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1160 
1161     {
1162          ::wxDC* dc;
1163          ::wxWindow* wnd;
1164         const  ::wxAuiToolBarItem* item;
1165          ::wxAuiDefaultToolBarArt *sipCpp;
1166 
1167         static const char *sipKwdList[] = {
1168             sipName_dc,
1169             sipName_wnd,
1170             sipName_item,
1171         };
1172 
1173         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ9J8J9", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxDC, &dc, sipType_wxWindow, &wnd, sipType_wxAuiToolBarItem, &item))
1174         {
1175              ::wxSize*sipRes;
1176 
1177             PyErr_Clear();
1178 
1179             Py_BEGIN_ALLOW_THREADS
1180             sipRes = new  ::wxSize((sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::GetToolSize(*dc,wnd,*item) : sipCpp->GetToolSize(*dc,wnd,*item)));
1181             Py_END_ALLOW_THREADS
1182 
1183             if (PyErr_Occurred())
1184                 return 0;
1185 
1186             return sipConvertFromNewType(sipRes,sipType_wxSize,SIP_NULLPTR);
1187         }
1188     }
1189 
1190     /* Raise an exception if the arguments couldn't be parsed. */
1191     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_GetToolSize, SIP_NULLPTR);
1192 
1193     return SIP_NULLPTR;
1194 }
1195 
1196 
1197 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_GetElementSize, "GetElementSize(element) -> int");
1198 
1199 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_GetElementSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_GetElementSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1200 static PyObject *meth_wxAuiDefaultToolBarArt_GetElementSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1201 {
1202     PyObject *sipParseErr = SIP_NULLPTR;
1203     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1204 
1205     {
1206         int element;
1207          ::wxAuiDefaultToolBarArt *sipCpp;
1208 
1209         static const char *sipKwdList[] = {
1210             sipName_element,
1211         };
1212 
1213         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, &element))
1214         {
1215             int sipRes;
1216 
1217             PyErr_Clear();
1218 
1219             Py_BEGIN_ALLOW_THREADS
1220             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::GetElementSize(element) : sipCpp->GetElementSize(element));
1221             Py_END_ALLOW_THREADS
1222 
1223             if (PyErr_Occurred())
1224                 return 0;
1225 
1226             return SIPLong_FromLong(sipRes);
1227         }
1228     }
1229 
1230     /* Raise an exception if the arguments couldn't be parsed. */
1231     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_GetElementSize, SIP_NULLPTR);
1232 
1233     return SIP_NULLPTR;
1234 }
1235 
1236 
1237 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_SetElementSize, "SetElementSize(element_id, size)");
1238 
1239 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_SetElementSize(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_SetElementSize(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1240 static PyObject *meth_wxAuiDefaultToolBarArt_SetElementSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1241 {
1242     PyObject *sipParseErr = SIP_NULLPTR;
1243     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1244 
1245     {
1246         int element_id;
1247         int size;
1248          ::wxAuiDefaultToolBarArt *sipCpp;
1249 
1250         static const char *sipKwdList[] = {
1251             sipName_element_id,
1252             sipName_size,
1253         };
1254 
1255         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bii", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, &element_id, &size))
1256         {
1257             PyErr_Clear();
1258 
1259             Py_BEGIN_ALLOW_THREADS
1260             (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::SetElementSize(element_id,size) : sipCpp->SetElementSize(element_id,size));
1261             Py_END_ALLOW_THREADS
1262 
1263             if (PyErr_Occurred())
1264                 return 0;
1265 
1266             Py_INCREF(Py_None);
1267             return Py_None;
1268         }
1269     }
1270 
1271     /* Raise an exception if the arguments couldn't be parsed. */
1272     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_SetElementSize, SIP_NULLPTR);
1273 
1274     return SIP_NULLPTR;
1275 }
1276 
1277 
1278 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt_ShowDropDown, "ShowDropDown(wnd, items) -> int");
1279 
1280 extern "C" {static PyObject *meth_wxAuiDefaultToolBarArt_ShowDropDown(PyObject *, PyObject *, PyObject *);}
meth_wxAuiDefaultToolBarArt_ShowDropDown(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)1281 static PyObject *meth_wxAuiDefaultToolBarArt_ShowDropDown(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
1282 {
1283     PyObject *sipParseErr = SIP_NULLPTR;
1284     bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
1285 
1286     {
1287          ::wxWindow* wnd;
1288         const  ::wxAuiToolBarItemArray* items;
1289          ::wxAuiDefaultToolBarArt *sipCpp;
1290 
1291         static const char *sipKwdList[] = {
1292             sipName_wnd,
1293             sipName_items,
1294         };
1295 
1296         if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ8J9", &sipSelf, sipType_wxAuiDefaultToolBarArt, &sipCpp, sipType_wxWindow, &wnd, sipType_wxAuiToolBarItemArray, &items))
1297         {
1298             int sipRes;
1299 
1300             PyErr_Clear();
1301 
1302             Py_BEGIN_ALLOW_THREADS
1303             sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiDefaultToolBarArt::ShowDropDown(wnd,*items) : sipCpp->ShowDropDown(wnd,*items));
1304             Py_END_ALLOW_THREADS
1305 
1306             if (PyErr_Occurred())
1307                 return 0;
1308 
1309             return SIPLong_FromLong(sipRes);
1310         }
1311     }
1312 
1313     /* Raise an exception if the arguments couldn't be parsed. */
1314     sipNoMethod(sipParseErr, sipName_AuiDefaultToolBarArt, sipName_ShowDropDown, SIP_NULLPTR);
1315 
1316     return SIP_NULLPTR;
1317 }
1318 
1319 
1320 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
1321 extern "C" {static void *cast_wxAuiDefaultToolBarArt(void *, const sipTypeDef *);}
cast_wxAuiDefaultToolBarArt(void * sipCppV,const sipTypeDef * targetType)1322 static void *cast_wxAuiDefaultToolBarArt(void *sipCppV, const sipTypeDef *targetType)
1323 {
1324      ::wxAuiDefaultToolBarArt *sipCpp = reinterpret_cast< ::wxAuiDefaultToolBarArt *>(sipCppV);
1325 
1326     if (targetType == sipType_wxAuiToolBarArt)
1327         return static_cast< ::wxAuiToolBarArt *>(sipCpp);
1328 
1329     return sipCppV;
1330 }
1331 
1332 
1333 /* Call the instance's destructor. */
1334 extern "C" {static void release_wxAuiDefaultToolBarArt(void *, int);}
release_wxAuiDefaultToolBarArt(void * sipCppV,int sipState)1335 static void release_wxAuiDefaultToolBarArt(void *sipCppV, int sipState)
1336 {
1337     Py_BEGIN_ALLOW_THREADS
1338 
1339     if (sipState & SIP_DERIVED_CLASS)
1340         delete reinterpret_cast<sipwxAuiDefaultToolBarArt *>(sipCppV);
1341     else
1342         delete reinterpret_cast< ::wxAuiDefaultToolBarArt *>(sipCppV);
1343 
1344     Py_END_ALLOW_THREADS
1345 }
1346 
1347 
1348 extern "C" {static void assign_wxAuiDefaultToolBarArt(void *, SIP_SSIZE_T, void *);}
assign_wxAuiDefaultToolBarArt(void * sipDst,SIP_SSIZE_T sipDstIdx,void * sipSrc)1349 static void assign_wxAuiDefaultToolBarArt(void *sipDst, SIP_SSIZE_T sipDstIdx, void *sipSrc)
1350 {
1351     reinterpret_cast< ::wxAuiDefaultToolBarArt *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::wxAuiDefaultToolBarArt *>(sipSrc);
1352 }
1353 
1354 
1355 extern "C" {static void *array_wxAuiDefaultToolBarArt(SIP_SSIZE_T);}
array_wxAuiDefaultToolBarArt(SIP_SSIZE_T sipNrElem)1356 static void *array_wxAuiDefaultToolBarArt(SIP_SSIZE_T sipNrElem)
1357 {
1358     return new  ::wxAuiDefaultToolBarArt[sipNrElem];
1359 }
1360 
1361 
1362 extern "C" {static void *copy_wxAuiDefaultToolBarArt(const void *, SIP_SSIZE_T);}
copy_wxAuiDefaultToolBarArt(const void * sipSrc,SIP_SSIZE_T sipSrcIdx)1363 static void *copy_wxAuiDefaultToolBarArt(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
1364 {
1365     return new  ::wxAuiDefaultToolBarArt(reinterpret_cast<const  ::wxAuiDefaultToolBarArt *>(sipSrc)[sipSrcIdx]);
1366 }
1367 
1368 
1369 extern "C" {static void dealloc_wxAuiDefaultToolBarArt(sipSimpleWrapper *);}
dealloc_wxAuiDefaultToolBarArt(sipSimpleWrapper * sipSelf)1370 static void dealloc_wxAuiDefaultToolBarArt(sipSimpleWrapper *sipSelf)
1371 {
1372     if (sipIsDerivedClass(sipSelf))
1373         reinterpret_cast<sipwxAuiDefaultToolBarArt *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
1374 
1375     if (sipIsOwnedByPython(sipSelf))
1376     {
1377         release_wxAuiDefaultToolBarArt(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
1378     }
1379 }
1380 
1381 
1382 extern "C" {static void *init_type_wxAuiDefaultToolBarArt(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxAuiDefaultToolBarArt(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject **,PyObject ** sipParseErr)1383 static void *init_type_wxAuiDefaultToolBarArt(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
1384 {
1385     sipwxAuiDefaultToolBarArt *sipCpp = SIP_NULLPTR;
1386 
1387     {
1388         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
1389         {
1390             PyErr_Clear();
1391 
1392             Py_BEGIN_ALLOW_THREADS
1393             sipCpp = new sipwxAuiDefaultToolBarArt();
1394             Py_END_ALLOW_THREADS
1395 
1396             if (PyErr_Occurred())
1397             {
1398                 delete sipCpp;
1399                 return SIP_NULLPTR;
1400             }
1401 
1402             sipCpp->sipPySelf = sipSelf;
1403 
1404             return sipCpp;
1405         }
1406     }
1407 
1408     {
1409         const  ::wxAuiDefaultToolBarArt* a0;
1410 
1411         if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "J9", sipType_wxAuiDefaultToolBarArt, &a0))
1412         {
1413             Py_BEGIN_ALLOW_THREADS
1414             sipCpp = new sipwxAuiDefaultToolBarArt(*a0);
1415             Py_END_ALLOW_THREADS
1416 
1417             sipCpp->sipPySelf = sipSelf;
1418 
1419             return sipCpp;
1420         }
1421     }
1422 
1423     return SIP_NULLPTR;
1424 }
1425 
1426 
1427 /* Define this type's super-types. */
1428 static sipEncodedTypeDef supers_wxAuiDefaultToolBarArt[] = {{37, 255, 1}};
1429 
1430 
1431 static PyMethodDef methods_wxAuiDefaultToolBarArt[] = {
1432     {SIP_MLNAME_CAST(sipName_Clone), meth_wxAuiDefaultToolBarArt_Clone, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_Clone)},
1433     {SIP_MLNAME_CAST(sipName_DrawBackground), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_DrawBackground), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_DrawBackground)},
1434     {SIP_MLNAME_CAST(sipName_DrawButton), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_DrawButton), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_DrawButton)},
1435     {SIP_MLNAME_CAST(sipName_DrawControlLabel), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_DrawControlLabel), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_DrawControlLabel)},
1436     {SIP_MLNAME_CAST(sipName_DrawDropDownButton), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_DrawDropDownButton), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_DrawDropDownButton)},
1437     {SIP_MLNAME_CAST(sipName_DrawGripper), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_DrawGripper), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_DrawGripper)},
1438     {SIP_MLNAME_CAST(sipName_DrawLabel), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_DrawLabel), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_DrawLabel)},
1439     {SIP_MLNAME_CAST(sipName_DrawOverflowButton), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_DrawOverflowButton), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_DrawOverflowButton)},
1440     {SIP_MLNAME_CAST(sipName_DrawPlainBackground), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_DrawPlainBackground), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_DrawPlainBackground)},
1441     {SIP_MLNAME_CAST(sipName_DrawSeparator), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_DrawSeparator), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_DrawSeparator)},
1442     {SIP_MLNAME_CAST(sipName_GetElementSize), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_GetElementSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_GetElementSize)},
1443     {SIP_MLNAME_CAST(sipName_GetFlags), meth_wxAuiDefaultToolBarArt_GetFlags, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_GetFlags)},
1444     {SIP_MLNAME_CAST(sipName_GetFont), meth_wxAuiDefaultToolBarArt_GetFont, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_GetFont)},
1445     {SIP_MLNAME_CAST(sipName_GetLabelSize), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_GetLabelSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_GetLabelSize)},
1446     {SIP_MLNAME_CAST(sipName_GetTextOrientation), meth_wxAuiDefaultToolBarArt_GetTextOrientation, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_GetTextOrientation)},
1447     {SIP_MLNAME_CAST(sipName_GetToolSize), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_GetToolSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_GetToolSize)},
1448     {SIP_MLNAME_CAST(sipName_SetElementSize), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_SetElementSize), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_SetElementSize)},
1449     {SIP_MLNAME_CAST(sipName_SetFlags), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_SetFlags), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_SetFlags)},
1450     {SIP_MLNAME_CAST(sipName_SetFont), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_SetFont), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_SetFont)},
1451     {SIP_MLNAME_CAST(sipName_SetTextOrientation), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_SetTextOrientation), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_SetTextOrientation)},
1452     {SIP_MLNAME_CAST(sipName_ShowDropDown), SIP_MLMETH_CAST(meth_wxAuiDefaultToolBarArt_ShowDropDown), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiDefaultToolBarArt_ShowDropDown)}
1453 };
1454 
1455 sipVariableDef variables_wxAuiDefaultToolBarArt[] = {
1456     {PropertyVariable, sipName_TextOrientation, &methods_wxAuiDefaultToolBarArt[14], &methods_wxAuiDefaultToolBarArt[19], SIP_NULLPTR, SIP_NULLPTR},
1457     {PropertyVariable, sipName_Font, &methods_wxAuiDefaultToolBarArt[12], &methods_wxAuiDefaultToolBarArt[18], SIP_NULLPTR, SIP_NULLPTR},
1458     {PropertyVariable, sipName_Flags, &methods_wxAuiDefaultToolBarArt[11], &methods_wxAuiDefaultToolBarArt[17], SIP_NULLPTR, SIP_NULLPTR},
1459 };
1460 
1461 PyDoc_STRVAR(doc_wxAuiDefaultToolBarArt, "AuiDefaultToolBarArt()\n"
1462 "\n"
1463 "wxAuiDefaultToolBarArt is part of the wxAUI class framework.");
1464 
1465 
1466 sipClassTypeDef sipTypeDef__aui_wxAuiDefaultToolBarArt = {
1467     {
1468         -1,
1469         SIP_NULLPTR,
1470         SIP_NULLPTR,
1471         SIP_TYPE_CLASS,
1472         sipNameNr_wxAuiDefaultToolBarArt,
1473         {SIP_NULLPTR},
1474         SIP_NULLPTR
1475     },
1476     {
1477         sipNameNr_AuiDefaultToolBarArt,
1478         {0, 0, 1},
1479         21, methods_wxAuiDefaultToolBarArt,
1480         0, SIP_NULLPTR,
1481         3, variables_wxAuiDefaultToolBarArt,
1482         {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
1483     },
1484     doc_wxAuiDefaultToolBarArt,
1485     -1,
1486     -1,
1487     supers_wxAuiDefaultToolBarArt,
1488     SIP_NULLPTR,
1489     init_type_wxAuiDefaultToolBarArt,
1490     SIP_NULLPTR,
1491     SIP_NULLPTR,
1492 #if PY_MAJOR_VERSION >= 3
1493     SIP_NULLPTR,
1494     SIP_NULLPTR,
1495 #else
1496     SIP_NULLPTR,
1497     SIP_NULLPTR,
1498     SIP_NULLPTR,
1499     SIP_NULLPTR,
1500 #endif
1501     dealloc_wxAuiDefaultToolBarArt,
1502     assign_wxAuiDefaultToolBarArt,
1503     array_wxAuiDefaultToolBarArt,
1504     copy_wxAuiDefaultToolBarArt,
1505     release_wxAuiDefaultToolBarArt,
1506     cast_wxAuiDefaultToolBarArt,
1507     SIP_NULLPTR,
1508     SIP_NULLPTR,
1509     SIP_NULLPTR,
1510     SIP_NULLPTR,
1511     SIP_NULLPTR,
1512     SIP_NULLPTR
1513 };
1514