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