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/event.h>
15 #include <wx/gdicmn.h>
16 #include <wx/gdicmn.h>
17 #include <wx/object.h>
18 #include <wx/object.h>
19 #include <wx/object.h>
20
21
22 class sipwxAuiToolBarEvent : public ::wxAuiToolBarEvent
23 {
24 public:
25 sipwxAuiToolBarEvent( ::wxEventType,int);
26 sipwxAuiToolBarEvent(const ::wxAuiToolBarEvent&);
27 virtual ~sipwxAuiToolBarEvent();
28
29 /*
30 * There is a protected method for every virtual method visible from
31 * this class.
32 */
33 protected:
34 ::wxEvent* Clone() const SIP_OVERRIDE;
35 ::wxEventCategory GetEventCategory() const SIP_OVERRIDE;
36
37 public:
38 sipSimpleWrapper *sipPySelf;
39
40 private:
41 sipwxAuiToolBarEvent(const sipwxAuiToolBarEvent &);
42 sipwxAuiToolBarEvent &operator = (const sipwxAuiToolBarEvent &);
43
44 char sipPyMethods[2];
45 };
46
sipwxAuiToolBarEvent(::wxEventType commandType,int winId)47 sipwxAuiToolBarEvent::sipwxAuiToolBarEvent( ::wxEventType commandType,int winId): ::wxAuiToolBarEvent(commandType,winId), sipPySelf(SIP_NULLPTR)
48 {
49 memset(sipPyMethods, 0, sizeof (sipPyMethods));
50 }
51
sipwxAuiToolBarEvent(const::wxAuiToolBarEvent & c)52 sipwxAuiToolBarEvent::sipwxAuiToolBarEvent(const ::wxAuiToolBarEvent& c): ::wxAuiToolBarEvent(c), sipPySelf(SIP_NULLPTR)
53 {
54 memset(sipPyMethods, 0, sizeof (sipPyMethods));
55 }
56
~sipwxAuiToolBarEvent()57 sipwxAuiToolBarEvent::~sipwxAuiToolBarEvent()
58 {
59 sipInstanceDestroyedEx(&sipPySelf);
60 }
61
Clone() const62 ::wxEvent* sipwxAuiToolBarEvent::Clone() const
63 {
64 sip_gilstate_t sipGILState;
65 PyObject *sipMeth;
66
67 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,SIP_NULLPTR,sipName_Clone);
68
69 if (!sipMeth)
70 return ::wxAuiToolBarEvent::Clone();
71
72 extern ::wxEvent* sipVH__aui_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
73
74 return sipVH__aui_5(sipGILState, 0, sipPySelf, sipMeth);
75 }
76
GetEventCategory() const77 ::wxEventCategory sipwxAuiToolBarEvent::GetEventCategory() const
78 {
79 sip_gilstate_t sipGILState;
80 PyObject *sipMeth;
81
82 sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,SIP_NULLPTR,sipName_GetEventCategory);
83
84 if (!sipMeth)
85 return ::wxAuiToolBarEvent::GetEventCategory();
86
87 extern ::wxEventCategory sipVH__aui_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);
88
89 return sipVH__aui_4(sipGILState, 0, sipPySelf, sipMeth);
90 }
91
92
93 PyDoc_STRVAR(doc_wxAuiToolBarEvent_IsDropDownClicked, "IsDropDownClicked() -> bool\n"
94 "\n"
95 "Returns whether the drop down menu has been clicked.");
96
97 extern "C" {static PyObject *meth_wxAuiToolBarEvent_IsDropDownClicked(PyObject *, PyObject *);}
meth_wxAuiToolBarEvent_IsDropDownClicked(PyObject * sipSelf,PyObject * sipArgs)98 static PyObject *meth_wxAuiToolBarEvent_IsDropDownClicked(PyObject *sipSelf, PyObject *sipArgs)
99 {
100 PyObject *sipParseErr = SIP_NULLPTR;
101
102 {
103 const ::wxAuiToolBarEvent *sipCpp;
104
105 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiToolBarEvent, &sipCpp))
106 {
107 bool sipRes;
108
109 PyErr_Clear();
110
111 Py_BEGIN_ALLOW_THREADS
112 sipRes = sipCpp->IsDropDownClicked();
113 Py_END_ALLOW_THREADS
114
115 if (PyErr_Occurred())
116 return 0;
117
118 return PyBool_FromLong(sipRes);
119 }
120 }
121
122 /* Raise an exception if the arguments couldn't be parsed. */
123 sipNoMethod(sipParseErr, sipName_AuiToolBarEvent, sipName_IsDropDownClicked, SIP_NULLPTR);
124
125 return SIP_NULLPTR;
126 }
127
128
129 PyDoc_STRVAR(doc_wxAuiToolBarEvent_GetClickPoint, "GetClickPoint() -> wx.Point\n"
130 "\n"
131 "Returns the point where the user clicked with the mouse.");
132
133 extern "C" {static PyObject *meth_wxAuiToolBarEvent_GetClickPoint(PyObject *, PyObject *);}
meth_wxAuiToolBarEvent_GetClickPoint(PyObject * sipSelf,PyObject * sipArgs)134 static PyObject *meth_wxAuiToolBarEvent_GetClickPoint(PyObject *sipSelf, PyObject *sipArgs)
135 {
136 PyObject *sipParseErr = SIP_NULLPTR;
137
138 {
139 const ::wxAuiToolBarEvent *sipCpp;
140
141 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiToolBarEvent, &sipCpp))
142 {
143 ::wxPoint*sipRes;
144
145 PyErr_Clear();
146
147 Py_BEGIN_ALLOW_THREADS
148 sipRes = new ::wxPoint(sipCpp->GetClickPoint());
149 Py_END_ALLOW_THREADS
150
151 if (PyErr_Occurred())
152 return 0;
153
154 return sipConvertFromNewType(sipRes,sipType_wxPoint,SIP_NULLPTR);
155 }
156 }
157
158 /* Raise an exception if the arguments couldn't be parsed. */
159 sipNoMethod(sipParseErr, sipName_AuiToolBarEvent, sipName_GetClickPoint, SIP_NULLPTR);
160
161 return SIP_NULLPTR;
162 }
163
164
165 PyDoc_STRVAR(doc_wxAuiToolBarEvent_GetItemRect, "GetItemRect() -> wx.Rect\n"
166 "\n"
167 "Returns the wxAuiToolBarItem rectangle bounding the mouse click point.");
168
169 extern "C" {static PyObject *meth_wxAuiToolBarEvent_GetItemRect(PyObject *, PyObject *);}
meth_wxAuiToolBarEvent_GetItemRect(PyObject * sipSelf,PyObject * sipArgs)170 static PyObject *meth_wxAuiToolBarEvent_GetItemRect(PyObject *sipSelf, PyObject *sipArgs)
171 {
172 PyObject *sipParseErr = SIP_NULLPTR;
173
174 {
175 const ::wxAuiToolBarEvent *sipCpp;
176
177 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiToolBarEvent, &sipCpp))
178 {
179 ::wxRect*sipRes;
180
181 PyErr_Clear();
182
183 Py_BEGIN_ALLOW_THREADS
184 sipRes = new ::wxRect(sipCpp->GetItemRect());
185 Py_END_ALLOW_THREADS
186
187 if (PyErr_Occurred())
188 return 0;
189
190 return sipConvertFromNewType(sipRes,sipType_wxRect,SIP_NULLPTR);
191 }
192 }
193
194 /* Raise an exception if the arguments couldn't be parsed. */
195 sipNoMethod(sipParseErr, sipName_AuiToolBarEvent, sipName_GetItemRect, SIP_NULLPTR);
196
197 return SIP_NULLPTR;
198 }
199
200
201 PyDoc_STRVAR(doc_wxAuiToolBarEvent_GetToolId, "GetToolId() -> int\n"
202 "\n"
203 "Returns the wxAuiToolBarItem identifier.");
204
205 extern "C" {static PyObject *meth_wxAuiToolBarEvent_GetToolId(PyObject *, PyObject *);}
meth_wxAuiToolBarEvent_GetToolId(PyObject * sipSelf,PyObject * sipArgs)206 static PyObject *meth_wxAuiToolBarEvent_GetToolId(PyObject *sipSelf, PyObject *sipArgs)
207 {
208 PyObject *sipParseErr = SIP_NULLPTR;
209
210 {
211 const ::wxAuiToolBarEvent *sipCpp;
212
213 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiToolBarEvent, &sipCpp))
214 {
215 int sipRes;
216
217 PyErr_Clear();
218
219 Py_BEGIN_ALLOW_THREADS
220 sipRes = sipCpp->GetToolId();
221 Py_END_ALLOW_THREADS
222
223 if (PyErr_Occurred())
224 return 0;
225
226 return SIPLong_FromLong(sipRes);
227 }
228 }
229
230 /* Raise an exception if the arguments couldn't be parsed. */
231 sipNoMethod(sipParseErr, sipName_AuiToolBarEvent, sipName_GetToolId, SIP_NULLPTR);
232
233 return SIP_NULLPTR;
234 }
235
236
237 PyDoc_STRVAR(doc_wxAuiToolBarEvent_SetDropDownClicked, "SetDropDownClicked(c)");
238
239 extern "C" {static PyObject *meth_wxAuiToolBarEvent_SetDropDownClicked(PyObject *, PyObject *, PyObject *);}
meth_wxAuiToolBarEvent_SetDropDownClicked(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)240 static PyObject *meth_wxAuiToolBarEvent_SetDropDownClicked(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
241 {
242 PyObject *sipParseErr = SIP_NULLPTR;
243
244 {
245 bool c;
246 ::wxAuiToolBarEvent *sipCpp;
247
248 static const char *sipKwdList[] = {
249 sipName_c,
250 };
251
252 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bb", &sipSelf, sipType_wxAuiToolBarEvent, &sipCpp, &c))
253 {
254 PyErr_Clear();
255
256 Py_BEGIN_ALLOW_THREADS
257 sipCpp->SetDropDownClicked(c);
258 Py_END_ALLOW_THREADS
259
260 if (PyErr_Occurred())
261 return 0;
262
263 Py_INCREF(Py_None);
264 return Py_None;
265 }
266 }
267
268 /* Raise an exception if the arguments couldn't be parsed. */
269 sipNoMethod(sipParseErr, sipName_AuiToolBarEvent, sipName_SetDropDownClicked, SIP_NULLPTR);
270
271 return SIP_NULLPTR;
272 }
273
274
275 PyDoc_STRVAR(doc_wxAuiToolBarEvent_SetClickPoint, "SetClickPoint(p)");
276
277 extern "C" {static PyObject *meth_wxAuiToolBarEvent_SetClickPoint(PyObject *, PyObject *, PyObject *);}
meth_wxAuiToolBarEvent_SetClickPoint(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)278 static PyObject *meth_wxAuiToolBarEvent_SetClickPoint(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
279 {
280 PyObject *sipParseErr = SIP_NULLPTR;
281
282 {
283 const ::wxPoint* p;
284 int pState = 0;
285 ::wxAuiToolBarEvent *sipCpp;
286
287 static const char *sipKwdList[] = {
288 sipName_p,
289 };
290
291 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAuiToolBarEvent, &sipCpp, sipType_wxPoint, &p, &pState))
292 {
293 PyErr_Clear();
294
295 Py_BEGIN_ALLOW_THREADS
296 sipCpp->SetClickPoint(*p);
297 Py_END_ALLOW_THREADS
298 sipReleaseType(const_cast< ::wxPoint *>(p),sipType_wxPoint,pState);
299
300 if (PyErr_Occurred())
301 return 0;
302
303 Py_INCREF(Py_None);
304 return Py_None;
305 }
306 }
307
308 /* Raise an exception if the arguments couldn't be parsed. */
309 sipNoMethod(sipParseErr, sipName_AuiToolBarEvent, sipName_SetClickPoint, SIP_NULLPTR);
310
311 return SIP_NULLPTR;
312 }
313
314
315 PyDoc_STRVAR(doc_wxAuiToolBarEvent_SetItemRect, "SetItemRect(r)");
316
317 extern "C" {static PyObject *meth_wxAuiToolBarEvent_SetItemRect(PyObject *, PyObject *, PyObject *);}
meth_wxAuiToolBarEvent_SetItemRect(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)318 static PyObject *meth_wxAuiToolBarEvent_SetItemRect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
319 {
320 PyObject *sipParseErr = SIP_NULLPTR;
321
322 {
323 const ::wxRect* r;
324 int rState = 0;
325 ::wxAuiToolBarEvent *sipCpp;
326
327 static const char *sipKwdList[] = {
328 sipName_r,
329 };
330
331 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_wxAuiToolBarEvent, &sipCpp, sipType_wxRect, &r, &rState))
332 {
333 PyErr_Clear();
334
335 Py_BEGIN_ALLOW_THREADS
336 sipCpp->SetItemRect(*r);
337 Py_END_ALLOW_THREADS
338 sipReleaseType(const_cast< ::wxRect *>(r),sipType_wxRect,rState);
339
340 if (PyErr_Occurred())
341 return 0;
342
343 Py_INCREF(Py_None);
344 return Py_None;
345 }
346 }
347
348 /* Raise an exception if the arguments couldn't be parsed. */
349 sipNoMethod(sipParseErr, sipName_AuiToolBarEvent, sipName_SetItemRect, SIP_NULLPTR);
350
351 return SIP_NULLPTR;
352 }
353
354
355 PyDoc_STRVAR(doc_wxAuiToolBarEvent_SetToolId, "SetToolId(toolId)");
356
357 extern "C" {static PyObject *meth_wxAuiToolBarEvent_SetToolId(PyObject *, PyObject *, PyObject *);}
meth_wxAuiToolBarEvent_SetToolId(PyObject * sipSelf,PyObject * sipArgs,PyObject * sipKwds)358 static PyObject *meth_wxAuiToolBarEvent_SetToolId(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
359 {
360 PyObject *sipParseErr = SIP_NULLPTR;
361
362 {
363 int toolId;
364 ::wxAuiToolBarEvent *sipCpp;
365
366 static const char *sipKwdList[] = {
367 sipName_toolId,
368 };
369
370 if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "Bi", &sipSelf, sipType_wxAuiToolBarEvent, &sipCpp, &toolId))
371 {
372 PyErr_Clear();
373
374 Py_BEGIN_ALLOW_THREADS
375 sipCpp->SetToolId(toolId);
376 Py_END_ALLOW_THREADS
377
378 if (PyErr_Occurred())
379 return 0;
380
381 Py_INCREF(Py_None);
382 return Py_None;
383 }
384 }
385
386 /* Raise an exception if the arguments couldn't be parsed. */
387 sipNoMethod(sipParseErr, sipName_AuiToolBarEvent, sipName_SetToolId, SIP_NULLPTR);
388
389 return SIP_NULLPTR;
390 }
391
392
393 PyDoc_STRVAR(doc_wxAuiToolBarEvent_Clone, "Clone(self) -> Event");
394
395 extern "C" {static PyObject *meth_wxAuiToolBarEvent_Clone(PyObject *, PyObject *);}
meth_wxAuiToolBarEvent_Clone(PyObject * sipSelf,PyObject * sipArgs)396 static PyObject *meth_wxAuiToolBarEvent_Clone(PyObject *sipSelf, PyObject *sipArgs)
397 {
398 PyObject *sipParseErr = SIP_NULLPTR;
399 bool sipSelfWasArg = (!sipSelf || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));
400
401 {
402 const ::wxAuiToolBarEvent *sipCpp;
403
404 if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxAuiToolBarEvent, &sipCpp))
405 {
406 ::wxEvent*sipRes;
407
408 PyErr_Clear();
409
410 Py_BEGIN_ALLOW_THREADS
411 sipRes = (sipSelfWasArg ? sipCpp-> ::wxAuiToolBarEvent::Clone() : sipCpp->Clone());
412 Py_END_ALLOW_THREADS
413
414 if (PyErr_Occurred())
415 return 0;
416
417 return sipConvertFromNewType(sipRes,sipType_wxEvent,SIP_NULLPTR);
418 }
419 }
420
421 /* Raise an exception if the arguments couldn't be parsed. */
422 sipNoMethod(sipParseErr, sipName_AuiToolBarEvent, sipName_Clone, doc_wxAuiToolBarEvent_Clone);
423
424 return SIP_NULLPTR;
425 }
426
427
428 /* Cast a pointer to a type somewhere in its inheritance hierarchy. */
429 extern "C" {static void *cast_wxAuiToolBarEvent(void *, const sipTypeDef *);}
cast_wxAuiToolBarEvent(void * sipCppV,const sipTypeDef * targetType)430 static void *cast_wxAuiToolBarEvent(void *sipCppV, const sipTypeDef *targetType)
431 {
432 ::wxAuiToolBarEvent *sipCpp = reinterpret_cast< ::wxAuiToolBarEvent *>(sipCppV);
433
434 if (targetType == sipType_wxNotifyEvent)
435 return static_cast< ::wxNotifyEvent *>(sipCpp);
436
437 if (targetType == sipType_wxCommandEvent)
438 return static_cast< ::wxCommandEvent *>(sipCpp);
439
440 if (targetType == sipType_wxEvent)
441 return static_cast< ::wxEvent *>(sipCpp);
442
443 if (targetType == sipType_wxObject)
444 return static_cast< ::wxObject *>(sipCpp);
445
446 return sipCppV;
447 }
448
449
450 /* Call the instance's destructor. */
451 extern "C" {static void release_wxAuiToolBarEvent(void *, int);}
release_wxAuiToolBarEvent(void * sipCppV,int sipState)452 static void release_wxAuiToolBarEvent(void *sipCppV, int sipState)
453 {
454 Py_BEGIN_ALLOW_THREADS
455
456 if (sipState & SIP_DERIVED_CLASS)
457 delete reinterpret_cast<sipwxAuiToolBarEvent *>(sipCppV);
458 else
459 delete reinterpret_cast< ::wxAuiToolBarEvent *>(sipCppV);
460
461 Py_END_ALLOW_THREADS
462 }
463
464
465 extern "C" {static void dealloc_wxAuiToolBarEvent(sipSimpleWrapper *);}
dealloc_wxAuiToolBarEvent(sipSimpleWrapper * sipSelf)466 static void dealloc_wxAuiToolBarEvent(sipSimpleWrapper *sipSelf)
467 {
468 if (sipIsDerivedClass(sipSelf))
469 reinterpret_cast<sipwxAuiToolBarEvent *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;
470
471 if (sipIsOwnedByPython(sipSelf))
472 {
473 release_wxAuiToolBarEvent(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
474 }
475 }
476
477
478 extern "C" {static void *init_type_wxAuiToolBarEvent(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
init_type_wxAuiToolBarEvent(sipSimpleWrapper * sipSelf,PyObject * sipArgs,PyObject * sipKwds,PyObject ** sipUnused,PyObject **,PyObject ** sipParseErr)479 static void *init_type_wxAuiToolBarEvent(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
480 {
481 sipwxAuiToolBarEvent *sipCpp = SIP_NULLPTR;
482
483 {
484 ::wxEventType commandType = wxEVT_NULL;
485 int winId = 0;
486
487 static const char *sipKwdList[] = {
488 sipName_commandType,
489 sipName_winId,
490 };
491
492 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|ii", &commandType, &winId))
493 {
494 PyErr_Clear();
495
496 Py_BEGIN_ALLOW_THREADS
497 sipCpp = new sipwxAuiToolBarEvent(commandType,winId);
498 Py_END_ALLOW_THREADS
499
500 if (PyErr_Occurred())
501 {
502 delete sipCpp;
503 return SIP_NULLPTR;
504 }
505
506 sipCpp->sipPySelf = sipSelf;
507
508 return sipCpp;
509 }
510 }
511
512 {
513 const ::wxAuiToolBarEvent* c;
514
515 static const char *sipKwdList[] = {
516 sipName_c,
517 };
518
519 if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9", sipType_wxAuiToolBarEvent, &c))
520 {
521 PyErr_Clear();
522
523 Py_BEGIN_ALLOW_THREADS
524 sipCpp = new sipwxAuiToolBarEvent(*c);
525 Py_END_ALLOW_THREADS
526
527 if (PyErr_Occurred())
528 {
529 delete sipCpp;
530 return SIP_NULLPTR;
531 }
532
533 sipCpp->sipPySelf = sipSelf;
534
535 return sipCpp;
536 }
537 }
538
539 return SIP_NULLPTR;
540 }
541
542
543 /* Define this type's super-types. */
544 static sipEncodedTypeDef supers_wxAuiToolBarEvent[] = {{21, 0, 1}};
545
546
547 static PyMethodDef methods_wxAuiToolBarEvent[] = {
548 {SIP_MLNAME_CAST(sipName_Clone), meth_wxAuiToolBarEvent_Clone, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiToolBarEvent_Clone)},
549 {SIP_MLNAME_CAST(sipName_GetClickPoint), meth_wxAuiToolBarEvent_GetClickPoint, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiToolBarEvent_GetClickPoint)},
550 {SIP_MLNAME_CAST(sipName_GetItemRect), meth_wxAuiToolBarEvent_GetItemRect, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiToolBarEvent_GetItemRect)},
551 {SIP_MLNAME_CAST(sipName_GetToolId), meth_wxAuiToolBarEvent_GetToolId, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiToolBarEvent_GetToolId)},
552 {SIP_MLNAME_CAST(sipName_IsDropDownClicked), meth_wxAuiToolBarEvent_IsDropDownClicked, METH_VARARGS, SIP_MLDOC_CAST(doc_wxAuiToolBarEvent_IsDropDownClicked)},
553 {SIP_MLNAME_CAST(sipName_SetClickPoint), SIP_MLMETH_CAST(meth_wxAuiToolBarEvent_SetClickPoint), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiToolBarEvent_SetClickPoint)},
554 {SIP_MLNAME_CAST(sipName_SetDropDownClicked), SIP_MLMETH_CAST(meth_wxAuiToolBarEvent_SetDropDownClicked), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiToolBarEvent_SetDropDownClicked)},
555 {SIP_MLNAME_CAST(sipName_SetItemRect), SIP_MLMETH_CAST(meth_wxAuiToolBarEvent_SetItemRect), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiToolBarEvent_SetItemRect)},
556 {SIP_MLNAME_CAST(sipName_SetToolId), SIP_MLMETH_CAST(meth_wxAuiToolBarEvent_SetToolId), METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxAuiToolBarEvent_SetToolId)}
557 };
558
559 sipVariableDef variables_wxAuiToolBarEvent[] = {
560 {PropertyVariable, sipName_ToolId, &methods_wxAuiToolBarEvent[3], &methods_wxAuiToolBarEvent[8], SIP_NULLPTR, SIP_NULLPTR},
561 {PropertyVariable, sipName_ItemRect, &methods_wxAuiToolBarEvent[2], &methods_wxAuiToolBarEvent[7], SIP_NULLPTR, SIP_NULLPTR},
562 {PropertyVariable, sipName_ClickPoint, &methods_wxAuiToolBarEvent[1], &methods_wxAuiToolBarEvent[5], SIP_NULLPTR, SIP_NULLPTR},
563 };
564
565 PyDoc_STRVAR(doc_wxAuiToolBarEvent, "AuiToolBarEvent(commandType=wx.wxEVT_NULL, winId=0)\n"
566 "AuiToolBarEvent(c)\n"
567 "\n"
568 "wxAuiToolBarEvent is used for the events generated by wxAuiToolBar.");
569
570
571 sipClassTypeDef sipTypeDef__aui_wxAuiToolBarEvent = {
572 {
573 -1,
574 SIP_NULLPTR,
575 SIP_NULLPTR,
576 SIP_TYPE_SCC|SIP_TYPE_CLASS,
577 sipNameNr_wxAuiToolBarEvent,
578 {SIP_NULLPTR},
579 SIP_NULLPTR
580 },
581 {
582 sipNameNr_AuiToolBarEvent,
583 {0, 0, 1},
584 9, methods_wxAuiToolBarEvent,
585 0, SIP_NULLPTR,
586 3, variables_wxAuiToolBarEvent,
587 {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
588 },
589 doc_wxAuiToolBarEvent,
590 -1,
591 -1,
592 supers_wxAuiToolBarEvent,
593 SIP_NULLPTR,
594 init_type_wxAuiToolBarEvent,
595 SIP_NULLPTR,
596 SIP_NULLPTR,
597 #if PY_MAJOR_VERSION >= 3
598 SIP_NULLPTR,
599 SIP_NULLPTR,
600 #else
601 SIP_NULLPTR,
602 SIP_NULLPTR,
603 SIP_NULLPTR,
604 SIP_NULLPTR,
605 #endif
606 dealloc_wxAuiToolBarEvent,
607 SIP_NULLPTR,
608 SIP_NULLPTR,
609 SIP_NULLPTR,
610 release_wxAuiToolBarEvent,
611 cast_wxAuiToolBarEvent,
612 SIP_NULLPTR,
613 SIP_NULLPTR,
614 SIP_NULLPTR,
615 SIP_NULLPTR,
616 SIP_NULLPTR,
617 SIP_NULLPTR
618 };
619