]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/stattool.cpp
*** empty log message ***
[wxWidgets.git] / wxPython / src / gtk / stattool.cpp
CommitLineData
b26e2dc4 1/*
c368d904 2 * FILE : src/gtk/stattool.cpp
b26e2dc4
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
b26e2dc4
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
2d091820 27# define SWIGEXPORT(a) __declspec(dllexport) a
b26e2dc4
RD
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
b26e2dc4 31# else
c368d904 32# define SWIGEXPORT(a) a
b26e2dc4
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
b26e2dc4
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
b26e2dc4
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
2cd2fac8 44
b26e2dc4
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
b26e2dc4
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
b26e2dc4
RD
54#define SWIG_init initstattoolc
55
56#define SWIG_name "stattoolc"
57
58#include "helpers.h"
59#include <wx/toolbar.h>
60#include <wx/tbarsmpl.h>
61
62static PyObject* l_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
2cd2fac8 64 if (!target) {
b26e2dc4 65 target = o;
2cd2fac8 66 } else if (target == Py_None) {
b26e2dc4
RD
67 Py_DECREF(Py_None);
68 target = o;
2cd2fac8 69 } else {
b26e2dc4
RD
70 if (!PyList_Check(target)) {
71 o2 = target;
72 target = PyList_New(0);
73 PyList_Append(target, o2);
74 Py_XDECREF(o2);
75 }
76 PyList_Append(target,o);
77 Py_XDECREF(o);
78 }
79 return target;
80}
81
82static PyObject* t_output_helper(PyObject* target, PyObject* o) {
83 PyObject* o2;
84 PyObject* o3;
85
2cd2fac8 86 if (!target) {
b26e2dc4 87 target = o;
2cd2fac8 88 } else if (target == Py_None) {
b26e2dc4
RD
89 Py_DECREF(Py_None);
90 target = o;
2cd2fac8 91 } else {
b26e2dc4
RD
92 if (!PyTuple_Check(target)) {
93 o2 = target;
94 target = PyTuple_New(1);
95 PyTuple_SetItem(target, 0, o2);
96 }
2cd2fac8
RD
97 o3 = PyTuple_New(1);
98 PyTuple_SetItem(o3, 0, o);
b26e2dc4
RD
99
100 o2 = target;
2cd2fac8
RD
101 target = PySequence_Concat(o2, o3);
102 Py_DECREF(o2);
b26e2dc4
RD
103 Py_DECREF(o3);
104 }
105 return target;
106}
107
b26e2dc4 108static char* wxStringErrorMsg = "string type is required for parameter";
2d091820
RD
109#ifdef __cplusplus
110extern "C" {
111#endif
b26e2dc4
RD
112static void *SwigwxStatusBarTowxWindow(void *ptr) {
113 wxStatusBar *src;
114 wxWindow *dest;
115 src = (wxStatusBar *) ptr;
116 dest = (wxWindow *) src;
117 return (void *) dest;
118}
119
120static void *SwigwxStatusBarTowxEvtHandler(void *ptr) {
121 wxStatusBar *src;
122 wxEvtHandler *dest;
123 src = (wxStatusBar *) ptr;
124 dest = (wxEvtHandler *) src;
125 return (void *) dest;
126}
127
128#define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 129static PyObject *_wrap_new_wxStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
130 PyObject * _resultobj;
131 wxStatusBar * _result;
132 wxWindow * _arg0;
133 wxWindowID _arg1;
2d091820
RD
134 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
135 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
136 long _arg4 = (long ) wxST_SIZEGRIP;
137 char * _arg5 = (char *) "statusBar";
138 PyObject * _argo0 = 0;
37f6a977
RD
139 wxPoint temp;
140 PyObject * _obj2 = 0;
141 wxSize temp0;
142 PyObject * _obj3 = 0;
107e4716 143 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
b26e2dc4
RD
144 char _ptemp[128];
145
146 self = self;
37f6a977 147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStatusBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
b26e2dc4 148 return NULL;
2d091820
RD
149 if (_argo0) {
150 if (_argo0 == Py_None) { _arg0 = NULL; }
151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b26e2dc4
RD
152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
153 return NULL;
154 }
155 }
37f6a977
RD
156 if (_obj2)
157{
158 _arg2 = &temp;
159 if (! wxPoint_helper(_obj2, &_arg2))
b26e2dc4 160 return NULL;
37f6a977
RD
161}
162 if (_obj3)
163{
164 _arg3 = &temp0;
165 if (! wxSize_helper(_obj3, &_arg3))
b26e2dc4 166 return NULL;
37f6a977 167}
ab9bc19b
RD
168{
169 wxPy_BEGIN_ALLOW_THREADS;
170 _result = (wxStatusBar *)new_wxStatusBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
171
172 wxPy_END_ALLOW_THREADS;
2d091820
RD
173} if (_result) {
174 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
175 _resultobj = Py_BuildValue("s",_ptemp);
176 } else {
177 Py_INCREF(Py_None);
178 _resultobj = Py_None;
179 }
b26e2dc4
RD
180 return _resultobj;
181}
182
183static wxRect * wxStatusBar_GetFieldRect(wxStatusBar *self,long item) {
184 wxRect* rect= new wxRect;
185 self->GetFieldRect(item, *rect);
186 return rect;
187 }
107e4716 188static PyObject *_wrap_wxStatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
189 PyObject * _resultobj;
190 wxRect * _result;
191 wxStatusBar * _arg0;
192 long _arg1;
2d091820 193 PyObject * _argo0 = 0;
107e4716 194 char *_kwnames[] = { "self","item", NULL };
b26e2dc4
RD
195 char _ptemp[128];
196
197 self = self;
107e4716 198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxStatusBar_GetFieldRect",_kwnames,&_argo0,&_arg1))
b26e2dc4 199 return NULL;
2d091820
RD
200 if (_argo0) {
201 if (_argo0 == Py_None) { _arg0 = NULL; }
202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
204 return NULL;
205 }
206 }
ab9bc19b
RD
207{
208 wxPy_BEGIN_ALLOW_THREADS;
209 _result = (wxRect *)wxStatusBar_GetFieldRect(_arg0,_arg1);
210
211 wxPy_END_ALLOW_THREADS;
2d091820
RD
212} if (_result) {
213 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
214 _resultobj = Py_BuildValue("s",_ptemp);
215 } else {
216 Py_INCREF(Py_None);
217 _resultobj = Py_None;
218 }
b26e2dc4
RD
219 return _resultobj;
220}
221
222#define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
107e4716 223static PyObject *_wrap_wxStatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
224 PyObject * _resultobj;
225 int _result;
226 wxStatusBar * _arg0;
2d091820 227 PyObject * _argo0 = 0;
107e4716 228 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
229
230 self = self;
107e4716 231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStatusBar_GetFieldsCount",_kwnames,&_argo0))
b26e2dc4 232 return NULL;
2d091820
RD
233 if (_argo0) {
234 if (_argo0 == Py_None) { _arg0 = NULL; }
235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
237 return NULL;
238 }
239 }
ab9bc19b
RD
240{
241 wxPy_BEGIN_ALLOW_THREADS;
242 _result = (int )wxStatusBar_GetFieldsCount(_arg0);
243
244 wxPy_END_ALLOW_THREADS;
245} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
246 return _resultobj;
247}
248
249#define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
107e4716 250static PyObject *_wrap_wxStatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
251 PyObject * _resultobj;
252 wxString * _result;
253 wxStatusBar * _arg0;
2d091820
RD
254 int _arg1 = (int ) 0;
255 PyObject * _argo0 = 0;
107e4716 256 char *_kwnames[] = { "self","ir", NULL };
b26e2dc4
RD
257
258 self = self;
107e4716 259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxStatusBar_GetStatusText",_kwnames,&_argo0,&_arg1))
b26e2dc4 260 return NULL;
2d091820
RD
261 if (_argo0) {
262 if (_argo0 == Py_None) { _arg0 = NULL; }
263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
265 return NULL;
266 }
267 }
b26e2dc4 268{
ab9bc19b
RD
269 wxPy_BEGIN_ALLOW_THREADS;
270 _result = new wxString (wxStatusBar_GetStatusText(_arg0,_arg1));
271
272 wxPy_END_ALLOW_THREADS;
273}{
e02c03a4 274 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
b26e2dc4
RD
275}
276{
277 delete _result;
278}
279 return _resultobj;
280}
281
2fc99549
RD
282#define wxStatusBar_GetBorderX(_swigobj) (_swigobj->GetBorderX())
283static PyObject *_wrap_wxStatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 284 PyObject * _resultobj;
2fc99549 285 int _result;
b26e2dc4 286 wxStatusBar * _arg0;
2d091820 287 PyObject * _argo0 = 0;
2fc99549 288 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
289
290 self = self;
2fc99549 291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStatusBar_GetBorderX",_kwnames,&_argo0))
b26e2dc4 292 return NULL;
2d091820
RD
293 if (_argo0) {
294 if (_argo0 == Py_None) { _arg0 = NULL; }
295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
2fc99549 296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetBorderX. Expected _wxStatusBar_p.");
b26e2dc4
RD
297 return NULL;
298 }
299 }
ab9bc19b
RD
300{
301 wxPy_BEGIN_ALLOW_THREADS;
2fc99549 302 _result = (int )wxStatusBar_GetBorderX(_arg0);
ab9bc19b
RD
303
304 wxPy_END_ALLOW_THREADS;
2fc99549 305} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
306 return _resultobj;
307}
308
2fc99549
RD
309#define wxStatusBar_GetBorderY(_swigobj) (_swigobj->GetBorderY())
310static PyObject *_wrap_wxStatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 311 PyObject * _resultobj;
2fc99549 312 int _result;
b26e2dc4 313 wxStatusBar * _arg0;
2d091820 314 PyObject * _argo0 = 0;
107e4716 315 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
316
317 self = self;
2fc99549 318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStatusBar_GetBorderY",_kwnames,&_argo0))
b26e2dc4 319 return NULL;
2d091820
RD
320 if (_argo0) {
321 if (_argo0 == Py_None) { _arg0 = NULL; }
322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
2fc99549 323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetBorderY. Expected _wxStatusBar_p.");
b26e2dc4
RD
324 return NULL;
325 }
326 }
ab9bc19b
RD
327{
328 wxPy_BEGIN_ALLOW_THREADS;
2fc99549 329 _result = (int )wxStatusBar_GetBorderY(_arg0);
ab9bc19b
RD
330
331 wxPy_END_ALLOW_THREADS;
2fc99549 332} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
333 return _resultobj;
334}
335
336#define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
107e4716 337static PyObject *_wrap_wxStatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
338 PyObject * _resultobj;
339 wxStatusBar * _arg0;
2d091820
RD
340 int _arg1 = (int ) 1;
341 PyObject * _argo0 = 0;
107e4716 342 char *_kwnames[] = { "self","number", NULL };
b26e2dc4
RD
343
344 self = self;
107e4716 345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxStatusBar_SetFieldsCount",_kwnames,&_argo0,&_arg1))
b26e2dc4 346 return NULL;
2d091820
RD
347 if (_argo0) {
348 if (_argo0 == Py_None) { _arg0 = NULL; }
349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
351 return NULL;
352 }
353 }
ab9bc19b
RD
354{
355 wxPy_BEGIN_ALLOW_THREADS;
356 wxStatusBar_SetFieldsCount(_arg0,_arg1);
357
358 wxPy_END_ALLOW_THREADS;
359} Py_INCREF(Py_None);
b26e2dc4
RD
360 _resultobj = Py_None;
361 return _resultobj;
362}
363
364#define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
107e4716 365static PyObject *_wrap_wxStatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
366 PyObject * _resultobj;
367 wxStatusBar * _arg0;
368 wxString * _arg1;
2d091820
RD
369 int _arg2 = (int ) 0;
370 PyObject * _argo0 = 0;
b26e2dc4 371 PyObject * _obj1 = 0;
107e4716 372 char *_kwnames[] = { "self","text","i", NULL };
b26e2dc4
RD
373
374 self = self;
107e4716 375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxStatusBar_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2))
b26e2dc4 376 return NULL;
2d091820
RD
377 if (_argo0) {
378 if (_argo0 == Py_None) { _arg0 = NULL; }
379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
381 return NULL;
382 }
383 }
384{
2cd2fac8
RD
385#if PYTHON_API_VERSION >= 1009
386 char* tmpPtr; int tmpSize;
387 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
388 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
389 return NULL;
390 }
391 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
392 return NULL;
393 _arg1 = new wxString(tmpPtr, tmpSize);
394#else
b26e2dc4
RD
395 if (!PyString_Check(_obj1)) {
396 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
397 return NULL;
398 }
2cd2fac8
RD
399 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
400#endif
b26e2dc4 401}
ab9bc19b
RD
402{
403 wxPy_BEGIN_ALLOW_THREADS;
404 wxStatusBar_SetStatusText(_arg0,*_arg1,_arg2);
405
406 wxPy_END_ALLOW_THREADS;
407} Py_INCREF(Py_None);
b26e2dc4
RD
408 _resultobj = Py_None;
409{
410 if (_obj1)
411 delete _arg1;
412}
413 return _resultobj;
414}
415
416#define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
107e4716 417static PyObject *_wrap_wxStatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
418 PyObject * _resultobj;
419 wxStatusBar * _arg0;
420 int _arg1;
421 int * _arg2;
2d091820 422 PyObject * _argo0 = 0;
b26e2dc4 423 PyObject * _obj2 = 0;
e02c03a4 424 char *_kwnames[] = { "self","choices", NULL };
b26e2dc4
RD
425
426 self = self;
107e4716 427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStatusBar_SetStatusWidths",_kwnames,&_argo0,&_obj2))
b26e2dc4 428 return NULL;
2d091820
RD
429 if (_argo0) {
430 if (_argo0 == Py_None) { _arg0 = NULL; }
431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
433 return NULL;
434 }
435 }
436 if (_obj2)
437{
438 _arg2 = int_LIST_helper(_obj2);
439 if (_arg2 == NULL) {
440 return NULL;
441 }
442}
443{
ab9bc19b
RD
444 if (_obj2) {
445 _arg1 = PyList_Size(_obj2);
446 }
447 else {
448 _arg1 = 0;
449 }
b26e2dc4 450}
ab9bc19b
RD
451{
452 wxPy_BEGIN_ALLOW_THREADS;
453 wxStatusBar_SetStatusWidths(_arg0,_arg1,_arg2);
454
455 wxPy_END_ALLOW_THREADS;
456} Py_INCREF(Py_None);
b26e2dc4
RD
457 _resultobj = Py_None;
458{
459 delete [] _arg2;
460}
461 return _resultobj;
462}
463
2fc99549
RD
464#define wxStatusBar_SetMinHeight(_swigobj,_swigarg0) (_swigobj->SetMinHeight(_swigarg0))
465static PyObject *_wrap_wxStatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
466 PyObject * _resultobj;
467 wxStatusBar * _arg0;
468 int _arg1;
469 PyObject * _argo0 = 0;
470 char *_kwnames[] = { "self","height", NULL };
471
472 self = self;
473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStatusBar_SetMinHeight",_kwnames,&_argo0,&_arg1))
474 return NULL;
475 if (_argo0) {
476 if (_argo0 == Py_None) { _arg0 = NULL; }
477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetMinHeight. Expected _wxStatusBar_p.");
479 return NULL;
480 }
481 }
482{
483 wxPy_BEGIN_ALLOW_THREADS;
484 wxStatusBar_SetMinHeight(_arg0,_arg1);
485
486 wxPy_END_ALLOW_THREADS;
487} Py_INCREF(Py_None);
488 _resultobj = Py_None;
489 return _resultobj;
490}
491
ab2208b5
RD
492static void wxToolBarToolBase_Destroy(wxToolBarToolBase *self) { delete self; }
493static PyObject *_wrap_wxToolBarToolBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 494 PyObject * _resultobj;
ab2208b5 495 wxToolBarToolBase * _arg0;
2d091820 496 PyObject * _argo0 = 0;
107e4716 497 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
498
499 self = self;
ab2208b5 500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_Destroy",_kwnames,&_argo0))
56f5d962
RD
501 return NULL;
502 if (_argo0) {
503 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Destroy. Expected _wxToolBarToolBase_p.");
56f5d962
RD
506 return NULL;
507 }
508 }
509{
510 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 511 wxToolBarToolBase_Destroy(_arg0);
56f5d962
RD
512
513 wxPy_END_ALLOW_THREADS;
514} Py_INCREF(Py_None);
515 _resultobj = Py_None;
516 return _resultobj;
517}
518
ab2208b5
RD
519#define wxToolBarToolBase_GetId(_swigobj) (_swigobj->GetId())
520static PyObject *_wrap_wxToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 521 PyObject * _resultobj;
ab2208b5
RD
522 int _result;
523 wxToolBarToolBase * _arg0;
56f5d962
RD
524 PyObject * _argo0 = 0;
525 char *_kwnames[] = { "self", NULL };
526
527 self = self;
ab2208b5 528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetId",_kwnames,&_argo0))
56f5d962
RD
529 return NULL;
530 if (_argo0) {
531 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetId. Expected _wxToolBarToolBase_p.");
56f5d962
RD
534 return NULL;
535 }
536 }
537{
538 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 539 _result = (int )wxToolBarToolBase_GetId(_arg0);
56f5d962
RD
540
541 wxPy_END_ALLOW_THREADS;
ab2208b5 542} _resultobj = Py_BuildValue("i",_result);
56f5d962
RD
543 return _resultobj;
544}
545
ab2208b5
RD
546#define wxToolBarToolBase_GetControl(_swigobj) (_swigobj->GetControl())
547static PyObject *_wrap_wxToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 548 PyObject * _resultobj;
ab2208b5
RD
549 wxControl * _result;
550 wxToolBarToolBase * _arg0;
56f5d962
RD
551 PyObject * _argo0 = 0;
552 char *_kwnames[] = { "self", NULL };
ab2208b5 553 char _ptemp[128];
56f5d962
RD
554
555 self = self;
ab2208b5 556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetControl",_kwnames,&_argo0))
56f5d962
RD
557 return NULL;
558 if (_argo0) {
559 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetControl. Expected _wxToolBarToolBase_p.");
56f5d962
RD
562 return NULL;
563 }
564 }
565{
566 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 567 _result = (wxControl *)wxToolBarToolBase_GetControl(_arg0);
56f5d962
RD
568
569 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
570} if (_result) {
571 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
572 _resultobj = Py_BuildValue("s",_ptemp);
573 } else {
574 Py_INCREF(Py_None);
575 _resultobj = Py_None;
576 }
56f5d962
RD
577 return _resultobj;
578}
579
ab2208b5
RD
580#define wxToolBarToolBase_GetToolBar(_swigobj) (_swigobj->GetToolBar())
581static PyObject *_wrap_wxToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 582 PyObject * _resultobj;
ab2208b5
RD
583 wxToolBarBase * _result;
584 wxToolBarToolBase * _arg0;
56f5d962
RD
585 PyObject * _argo0 = 0;
586 char *_kwnames[] = { "self", NULL };
587 char _ptemp[128];
588
589 self = self;
ab2208b5 590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetToolBar",_kwnames,&_argo0))
56f5d962
RD
591 return NULL;
592 if (_argo0) {
593 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetToolBar. Expected _wxToolBarToolBase_p.");
56f5d962
RD
596 return NULL;
597 }
598 }
599{
600 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 601 _result = (wxToolBarBase *)wxToolBarToolBase_GetToolBar(_arg0);
56f5d962
RD
602
603 wxPy_END_ALLOW_THREADS;
604} if (_result) {
ab2208b5 605 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarBase_p");
56f5d962
RD
606 _resultobj = Py_BuildValue("s",_ptemp);
607 } else {
608 Py_INCREF(Py_None);
609 _resultobj = Py_None;
610 }
611 return _resultobj;
612}
613
ab2208b5
RD
614#define wxToolBarToolBase_IsButton(_swigobj) (_swigobj->IsButton())
615static PyObject *_wrap_wxToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
616 PyObject * _resultobj;
617 int _result;
ab2208b5 618 wxToolBarToolBase * _arg0;
2d091820 619 PyObject * _argo0 = 0;
ab2208b5 620 char *_kwnames[] = { "self", NULL };
21f8d7ea
RD
621
622 self = self;
ab2208b5 623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsButton",_kwnames,&_argo0))
21f8d7ea 624 return NULL;
2d091820
RD
625 if (_argo0) {
626 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_IsButton. Expected _wxToolBarToolBase_p.");
21f8d7ea
RD
629 return NULL;
630 }
631 }
ab9bc19b
RD
632{
633 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 634 _result = (int )wxToolBarToolBase_IsButton(_arg0);
ab9bc19b
RD
635
636 wxPy_END_ALLOW_THREADS;
637} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
638 return _resultobj;
639}
640
ab2208b5
RD
641#define wxToolBarToolBase_IsControl(_swigobj) (_swigobj->IsControl())
642static PyObject *_wrap_wxToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
643 PyObject * _resultobj;
644 int _result;
ab2208b5 645 wxToolBarToolBase * _arg0;
2d091820 646 PyObject * _argo0 = 0;
107e4716 647 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
648
649 self = self;
ab2208b5 650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsControl",_kwnames,&_argo0))
b26e2dc4 651 return NULL;
2d091820
RD
652 if (_argo0) {
653 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_IsControl. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
656 return NULL;
657 }
658 }
ab9bc19b
RD
659{
660 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 661 _result = (int )wxToolBarToolBase_IsControl(_arg0);
ab9bc19b
RD
662
663 wxPy_END_ALLOW_THREADS;
664} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
665 return _resultobj;
666}
667
ab2208b5
RD
668#define wxToolBarToolBase_IsSeparator(_swigobj) (_swigobj->IsSeparator())
669static PyObject *_wrap_wxToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 670 PyObject * _resultobj;
ab2208b5
RD
671 int _result;
672 wxToolBarToolBase * _arg0;
2d091820 673 PyObject * _argo0 = 0;
107e4716 674 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
675
676 self = self;
ab2208b5 677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsSeparator",_kwnames,&_argo0))
b26e2dc4 678 return NULL;
2d091820
RD
679 if (_argo0) {
680 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_IsSeparator. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
683 return NULL;
684 }
685 }
ab9bc19b
RD
686{
687 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 688 _result = (int )wxToolBarToolBase_IsSeparator(_arg0);
ab9bc19b
RD
689
690 wxPy_END_ALLOW_THREADS;
ab2208b5 691} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
692 return _resultobj;
693}
694
ab2208b5
RD
695#define wxToolBarToolBase_GetStyle(_swigobj) (_swigobj->GetStyle())
696static PyObject *_wrap_wxToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
697 PyObject * _resultobj;
698 int _result;
ab2208b5 699 wxToolBarToolBase * _arg0;
2d091820 700 PyObject * _argo0 = 0;
ab2208b5 701 char *_kwnames[] = { "self", NULL };
21f8d7ea
RD
702
703 self = self;
ab2208b5 704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetStyle",_kwnames,&_argo0))
21f8d7ea 705 return NULL;
2d091820
RD
706 if (_argo0) {
707 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetStyle. Expected _wxToolBarToolBase_p.");
21f8d7ea
RD
710 return NULL;
711 }
712 }
ab9bc19b
RD
713{
714 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 715 _result = (int )wxToolBarToolBase_GetStyle(_arg0);
ab9bc19b
RD
716
717 wxPy_END_ALLOW_THREADS;
718} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
719 return _resultobj;
720}
721
ab2208b5
RD
722#define wxToolBarToolBase_IsEnabled(_swigobj) (_swigobj->IsEnabled())
723static PyObject *_wrap_wxToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 724 PyObject * _resultobj;
ab2208b5
RD
725 bool _result;
726 wxToolBarToolBase * _arg0;
2d091820 727 PyObject * _argo0 = 0;
107e4716 728 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
729
730 self = self;
ab2208b5 731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsEnabled",_kwnames,&_argo0))
b26e2dc4 732 return NULL;
2d091820
RD
733 if (_argo0) {
734 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_IsEnabled. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
737 return NULL;
738 }
739 }
ab9bc19b
RD
740{
741 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 742 _result = (bool )wxToolBarToolBase_IsEnabled(_arg0);
ab9bc19b
RD
743
744 wxPy_END_ALLOW_THREADS;
745} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
746 return _resultobj;
747}
748
ab2208b5
RD
749#define wxToolBarToolBase_IsToggled(_swigobj) (_swigobj->IsToggled())
750static PyObject *_wrap_wxToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 751 PyObject * _resultobj;
ab2208b5
RD
752 bool _result;
753 wxToolBarToolBase * _arg0;
56f5d962 754 PyObject * _argo0 = 0;
ab2208b5 755 char *_kwnames[] = { "self", NULL };
56f5d962
RD
756
757 self = self;
ab2208b5 758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsToggled",_kwnames,&_argo0))
56f5d962
RD
759 return NULL;
760 if (_argo0) {
761 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_IsToggled. Expected _wxToolBarToolBase_p.");
56f5d962
RD
764 return NULL;
765 }
766 }
767{
768 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 769 _result = (bool )wxToolBarToolBase_IsToggled(_arg0);
56f5d962
RD
770
771 wxPy_END_ALLOW_THREADS;
ab2208b5 772} _resultobj = Py_BuildValue("i",_result);
56f5d962
RD
773 return _resultobj;
774}
775
ab2208b5
RD
776#define wxToolBarToolBase_CanBeToggled(_swigobj) (_swigobj->CanBeToggled())
777static PyObject *_wrap_wxToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 778 PyObject * _resultobj;
ab2208b5
RD
779 bool _result;
780 wxToolBarToolBase * _arg0;
56f5d962
RD
781 PyObject * _argo0 = 0;
782 char *_kwnames[] = { "self", NULL };
783
784 self = self;
ab2208b5 785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_CanBeToggled",_kwnames,&_argo0))
56f5d962
RD
786 return NULL;
787 if (_argo0) {
788 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_CanBeToggled. Expected _wxToolBarToolBase_p.");
56f5d962
RD
791 return NULL;
792 }
793 }
794{
795 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 796 _result = (bool )wxToolBarToolBase_CanBeToggled(_arg0);
56f5d962
RD
797
798 wxPy_END_ALLOW_THREADS;
ab2208b5 799} _resultobj = Py_BuildValue("i",_result);
56f5d962
RD
800 return _resultobj;
801}
802
ab2208b5
RD
803#define wxToolBarToolBase_GetBitmap1(_swigobj) (_swigobj->GetBitmap1())
804static PyObject *_wrap_wxToolBarToolBase_GetBitmap1(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 805 PyObject * _resultobj;
ab2208b5
RD
806 wxBitmap * _result;
807 wxToolBarToolBase * _arg0;
56f5d962 808 PyObject * _argo0 = 0;
ab2208b5
RD
809 char *_kwnames[] = { "self", NULL };
810 char _ptemp[128];
56f5d962
RD
811
812 self = self;
ab2208b5 813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetBitmap1",_kwnames,&_argo0))
56f5d962
RD
814 return NULL;
815 if (_argo0) {
816 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetBitmap1. Expected _wxToolBarToolBase_p.");
56f5d962
RD
819 return NULL;
820 }
821 }
822{
823 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5
RD
824 const wxBitmap & _result_ref = wxToolBarToolBase_GetBitmap1(_arg0);
825 _result = (wxBitmap *) &_result_ref;
56f5d962
RD
826
827 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
828} if (_result) {
829 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
830 _resultobj = Py_BuildValue("s",_ptemp);
831 } else {
832 Py_INCREF(Py_None);
833 _resultobj = Py_None;
834 }
56f5d962
RD
835 return _resultobj;
836}
837
ab2208b5
RD
838#define wxToolBarToolBase_GetBitmap2(_swigobj) (_swigobj->GetBitmap2())
839static PyObject *_wrap_wxToolBarToolBase_GetBitmap2(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 840 PyObject * _resultobj;
ab2208b5
RD
841 wxBitmap * _result;
842 wxToolBarToolBase * _arg0;
56f5d962
RD
843 PyObject * _argo0 = 0;
844 char *_kwnames[] = { "self", NULL };
ab2208b5 845 char _ptemp[128];
56f5d962
RD
846
847 self = self;
ab2208b5 848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetBitmap2",_kwnames,&_argo0))
56f5d962
RD
849 return NULL;
850 if (_argo0) {
851 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetBitmap2. Expected _wxToolBarToolBase_p.");
56f5d962
RD
854 return NULL;
855 }
856 }
857{
858 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5
RD
859 const wxBitmap & _result_ref = wxToolBarToolBase_GetBitmap2(_arg0);
860 _result = (wxBitmap *) &_result_ref;
56f5d962
RD
861
862 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
863} if (_result) {
864 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
865 _resultobj = Py_BuildValue("s",_ptemp);
866 } else {
867 Py_INCREF(Py_None);
868 _resultobj = Py_None;
869 }
56f5d962
RD
870 return _resultobj;
871}
872
ab2208b5
RD
873#define wxToolBarToolBase_GetBitmap(_swigobj) (_swigobj->GetBitmap())
874static PyObject *_wrap_wxToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 875 PyObject * _resultobj;
ab2208b5
RD
876 wxBitmap * _result;
877 wxToolBarToolBase * _arg0;
56f5d962 878 PyObject * _argo0 = 0;
ab2208b5
RD
879 char *_kwnames[] = { "self", NULL };
880 char _ptemp[128];
56f5d962
RD
881
882 self = self;
ab2208b5 883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetBitmap",_kwnames,&_argo0))
56f5d962
RD
884 return NULL;
885 if (_argo0) {
886 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetBitmap. Expected _wxToolBarToolBase_p.");
56f5d962
RD
889 return NULL;
890 }
891 }
892{
893 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5
RD
894 const wxBitmap & _result_ref = wxToolBarToolBase_GetBitmap(_arg0);
895 _result = (wxBitmap *) &_result_ref;
56f5d962
RD
896
897 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
898} if (_result) {
899 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
900 _resultobj = Py_BuildValue("s",_ptemp);
901 } else {
902 Py_INCREF(Py_None);
903 _resultobj = Py_None;
904 }
56f5d962
RD
905 return _resultobj;
906}
907
ab2208b5
RD
908#define wxToolBarToolBase_GetShortHelp(_swigobj) (_swigobj->GetShortHelp())
909static PyObject *_wrap_wxToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 910 PyObject * _resultobj;
ab2208b5
RD
911 wxString * _result;
912 wxToolBarToolBase * _arg0;
56f5d962
RD
913 PyObject * _argo0 = 0;
914 char *_kwnames[] = { "self", NULL };
915
916 self = self;
ab2208b5 917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetShortHelp",_kwnames,&_argo0))
56f5d962
RD
918 return NULL;
919 if (_argo0) {
920 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetShortHelp. Expected _wxToolBarToolBase_p.");
56f5d962
RD
923 return NULL;
924 }
925 }
926{
927 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 928 _result = new wxString (wxToolBarToolBase_GetShortHelp(_arg0));
56f5d962
RD
929
930 wxPy_END_ALLOW_THREADS;
ab2208b5 931}{
e02c03a4 932 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
56f5d962 933}
56f5d962 934{
ab2208b5
RD
935 delete _result;
936}
56f5d962
RD
937 return _resultobj;
938}
939
ab2208b5
RD
940#define wxToolBarToolBase_GetLongHelp(_swigobj) (_swigobj->GetLongHelp())
941static PyObject *_wrap_wxToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 942 PyObject * _resultobj;
ab2208b5
RD
943 wxString * _result;
944 wxToolBarToolBase * _arg0;
56f5d962
RD
945 PyObject * _argo0 = 0;
946 char *_kwnames[] = { "self", NULL };
947
948 self = self;
ab2208b5 949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetLongHelp",_kwnames,&_argo0))
56f5d962
RD
950 return NULL;
951 if (_argo0) {
952 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetLongHelp. Expected _wxToolBarToolBase_p.");
56f5d962
RD
955 return NULL;
956 }
957 }
958{
959 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 960 _result = new wxString (wxToolBarToolBase_GetLongHelp(_arg0));
56f5d962
RD
961
962 wxPy_END_ALLOW_THREADS;
ab2208b5 963}{
e02c03a4 964 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
ab2208b5
RD
965}
966{
967 delete _result;
968}
56f5d962
RD
969 return _resultobj;
970}
971
ab2208b5
RD
972#define wxToolBarToolBase_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
973static PyObject *_wrap_wxToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
974 PyObject * _resultobj;
975 bool _result;
ab2208b5 976 wxToolBarToolBase * _arg0;
21f8d7ea 977 bool _arg1;
2d091820 978 PyObject * _argo0 = 0;
21f8d7ea 979 int tempbool1;
ab2208b5 980 char *_kwnames[] = { "self","enable", NULL };
21f8d7ea
RD
981
982 self = self;
ab2208b5 983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarToolBase_Enable",_kwnames,&_argo0,&tempbool1))
21f8d7ea 984 return NULL;
2d091820
RD
985 if (_argo0) {
986 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Enable. Expected _wxToolBarToolBase_p.");
21f8d7ea
RD
989 return NULL;
990 }
991 }
992 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
993{
994 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 995 _result = (bool )wxToolBarToolBase_Enable(_arg0,_arg1);
ab9bc19b
RD
996
997 wxPy_END_ALLOW_THREADS;
998} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
999 return _resultobj;
1000}
1001
ab2208b5
RD
1002#define wxToolBarToolBase_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
1003static PyObject *_wrap_wxToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1004 PyObject * _resultobj;
1005 bool _result;
ab2208b5
RD
1006 wxToolBarToolBase * _arg0;
1007 bool _arg1;
2d091820 1008 PyObject * _argo0 = 0;
ab2208b5
RD
1009 int tempbool1;
1010 char *_kwnames[] = { "self","toggle", NULL };
b26e2dc4
RD
1011
1012 self = self;
ab2208b5 1013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarToolBase_Toggle",_kwnames,&_argo0,&tempbool1))
b26e2dc4 1014 return NULL;
2d091820
RD
1015 if (_argo0) {
1016 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Toggle. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
1019 return NULL;
1020 }
1021 }
ab2208b5 1022 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
1023{
1024 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1025 _result = (bool )wxToolBarToolBase_Toggle(_arg0,_arg1);
ab9bc19b
RD
1026
1027 wxPy_END_ALLOW_THREADS;
1028} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
1029 return _resultobj;
1030}
1031
ab2208b5
RD
1032#define wxToolBarToolBase_SetToggle(_swigobj,_swigarg0) (_swigobj->SetToggle(_swigarg0))
1033static PyObject *_wrap_wxToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
1034 PyObject * _resultobj;
1035 bool _result;
ab2208b5 1036 wxToolBarToolBase * _arg0;
21f8d7ea 1037 bool _arg1;
2d091820 1038 PyObject * _argo0 = 0;
21f8d7ea 1039 int tempbool1;
ab2208b5 1040 char *_kwnames[] = { "self","toggle", NULL };
21f8d7ea
RD
1041
1042 self = self;
ab2208b5 1043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarToolBase_SetToggle",_kwnames,&_argo0,&tempbool1))
21f8d7ea 1044 return NULL;
2d091820
RD
1045 if (_argo0) {
1046 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetToggle. Expected _wxToolBarToolBase_p.");
21f8d7ea
RD
1049 return NULL;
1050 }
1051 }
1052 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
1053{
1054 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1055 _result = (bool )wxToolBarToolBase_SetToggle(_arg0,_arg1);
ab9bc19b
RD
1056
1057 wxPy_END_ALLOW_THREADS;
1058} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
1059 return _resultobj;
1060}
1061
ab2208b5
RD
1062#define wxToolBarToolBase_SetShortHelp(_swigobj,_swigarg0) (_swigobj->SetShortHelp(_swigarg0))
1063static PyObject *_wrap_wxToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1064 PyObject * _resultobj;
1065 bool _result;
ab2208b5
RD
1066 wxToolBarToolBase * _arg0;
1067 wxString * _arg1;
2d091820 1068 PyObject * _argo0 = 0;
ab2208b5
RD
1069 PyObject * _obj1 = 0;
1070 char *_kwnames[] = { "self","help", NULL };
b26e2dc4
RD
1071
1072 self = self;
ab2208b5 1073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetShortHelp",_kwnames,&_argo0,&_obj1))
b26e2dc4 1074 return NULL;
2d091820
RD
1075 if (_argo0) {
1076 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetShortHelp. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
1079 return NULL;
1080 }
1081 }
ab2208b5 1082{
2cd2fac8
RD
1083#if PYTHON_API_VERSION >= 1009
1084 char* tmpPtr; int tmpSize;
1085 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1086 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1087 return NULL;
1088 }
1089 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1090 return NULL;
1091 _arg1 = new wxString(tmpPtr, tmpSize);
1092#else
ab2208b5
RD
1093 if (!PyString_Check(_obj1)) {
1094 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1095 return NULL;
1096 }
2cd2fac8
RD
1097 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1098#endif
ab2208b5 1099}
ab9bc19b
RD
1100{
1101 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1102 _result = (bool )wxToolBarToolBase_SetShortHelp(_arg0,*_arg1);
ab9bc19b
RD
1103
1104 wxPy_END_ALLOW_THREADS;
1105} _resultobj = Py_BuildValue("i",_result);
ab2208b5
RD
1106{
1107 if (_obj1)
1108 delete _arg1;
1109}
b26e2dc4
RD
1110 return _resultobj;
1111}
1112
ab2208b5
RD
1113#define wxToolBarToolBase_SetLongHelp(_swigobj,_swigarg0) (_swigobj->SetLongHelp(_swigarg0))
1114static PyObject *_wrap_wxToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
1115 PyObject * _resultobj;
1116 bool _result;
ab2208b5
RD
1117 wxToolBarToolBase * _arg0;
1118 wxString * _arg1;
2d091820 1119 PyObject * _argo0 = 0;
ab2208b5
RD
1120 PyObject * _obj1 = 0;
1121 char *_kwnames[] = { "self","help", NULL };
21f8d7ea
RD
1122
1123 self = self;
ab2208b5 1124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetLongHelp",_kwnames,&_argo0,&_obj1))
21f8d7ea 1125 return NULL;
2d091820
RD
1126 if (_argo0) {
1127 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetLongHelp. Expected _wxToolBarToolBase_p.");
21f8d7ea
RD
1130 return NULL;
1131 }
1132 }
ab2208b5 1133{
2cd2fac8
RD
1134#if PYTHON_API_VERSION >= 1009
1135 char* tmpPtr; int tmpSize;
1136 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1137 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1138 return NULL;
1139 }
1140 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1141 return NULL;
1142 _arg1 = new wxString(tmpPtr, tmpSize);
1143#else
ab2208b5
RD
1144 if (!PyString_Check(_obj1)) {
1145 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1146 return NULL;
1147 }
2cd2fac8
RD
1148 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1149#endif
ab2208b5 1150}
ab9bc19b
RD
1151{
1152 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1153 _result = (bool )wxToolBarToolBase_SetLongHelp(_arg0,*_arg1);
ab9bc19b
RD
1154
1155 wxPy_END_ALLOW_THREADS;
1156} _resultobj = Py_BuildValue("i",_result);
ab2208b5
RD
1157{
1158 if (_obj1)
1159 delete _arg1;
1160}
21f8d7ea
RD
1161 return _resultobj;
1162}
1163
ab2208b5
RD
1164#define wxToolBarToolBase_SetBitmap1(_swigobj,_swigarg0) (_swigobj->SetBitmap1(_swigarg0))
1165static PyObject *_wrap_wxToolBarToolBase_SetBitmap1(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1166 PyObject * _resultobj;
ab2208b5
RD
1167 wxToolBarToolBase * _arg0;
1168 wxBitmap * _arg1;
2d091820 1169 PyObject * _argo0 = 0;
ab2208b5
RD
1170 PyObject * _argo1 = 0;
1171 char *_kwnames[] = { "self","bmp", NULL };
b26e2dc4
RD
1172
1173 self = self;
ab2208b5 1174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetBitmap1",_kwnames,&_argo0,&_argo1))
b26e2dc4 1175 return NULL;
2d091820
RD
1176 if (_argo0) {
1177 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetBitmap1. Expected _wxToolBarToolBase_p.");
1180 return NULL;
1181 }
1182 }
1183 if (_argo1) {
1184 if (_argo1 == Py_None) { _arg1 = NULL; }
1185 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1186 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarToolBase_SetBitmap1. Expected _wxBitmap_p.");
b26e2dc4
RD
1187 return NULL;
1188 }
1189 }
ab9bc19b
RD
1190{
1191 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1192 wxToolBarToolBase_SetBitmap1(_arg0,*_arg1);
ab9bc19b
RD
1193
1194 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
1195} Py_INCREF(Py_None);
1196 _resultobj = Py_None;
b26e2dc4
RD
1197 return _resultobj;
1198}
1199
ab2208b5
RD
1200#define wxToolBarToolBase_SetBitmap2(_swigobj,_swigarg0) (_swigobj->SetBitmap2(_swigarg0))
1201static PyObject *_wrap_wxToolBarToolBase_SetBitmap2(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 1202 PyObject * _resultobj;
ab2208b5
RD
1203 wxToolBarToolBase * _arg0;
1204 wxBitmap * _arg1;
2d091820 1205 PyObject * _argo0 = 0;
ab2208b5
RD
1206 PyObject * _argo1 = 0;
1207 char *_kwnames[] = { "self","bmp", NULL };
21f8d7ea
RD
1208
1209 self = self;
ab2208b5 1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetBitmap2",_kwnames,&_argo0,&_argo1))
21f8d7ea 1211 return NULL;
2d091820
RD
1212 if (_argo0) {
1213 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetBitmap2. Expected _wxToolBarToolBase_p.");
1216 return NULL;
1217 }
1218 }
1219 if (_argo1) {
1220 if (_argo1 == Py_None) { _arg1 = NULL; }
1221 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1222 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarToolBase_SetBitmap2. Expected _wxBitmap_p.");
21f8d7ea
RD
1223 return NULL;
1224 }
1225 }
ab9bc19b
RD
1226{
1227 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1228 wxToolBarToolBase_SetBitmap2(_arg0,*_arg1);
ab9bc19b
RD
1229
1230 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
1231} Py_INCREF(Py_None);
1232 _resultobj = Py_None;
21f8d7ea
RD
1233 return _resultobj;
1234}
1235
ab2208b5
RD
1236#define wxToolBarToolBase_Detach(_swigobj) (_swigobj->Detach())
1237static PyObject *_wrap_wxToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1238 PyObject * _resultobj;
ab2208b5 1239 wxToolBarToolBase * _arg0;
2d091820 1240 PyObject * _argo0 = 0;
107e4716 1241 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1242
1243 self = self;
ab2208b5 1244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_Detach",_kwnames,&_argo0))
b26e2dc4 1245 return NULL;
2d091820
RD
1246 if (_argo0) {
1247 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Detach. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
1250 return NULL;
1251 }
1252 }
ab9bc19b
RD
1253{
1254 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1255 wxToolBarToolBase_Detach(_arg0);
ab9bc19b
RD
1256
1257 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
1258} Py_INCREF(Py_None);
1259 _resultobj = Py_None;
b26e2dc4
RD
1260 return _resultobj;
1261}
1262
ab2208b5
RD
1263#define wxToolBarToolBase_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
1264static PyObject *_wrap_wxToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 1265 PyObject * _resultobj;
ab2208b5
RD
1266 wxToolBarToolBase * _arg0;
1267 wxToolBarBase * _arg1;
2d091820
RD
1268 PyObject * _argo0 = 0;
1269 PyObject * _argo1 = 0;
ab2208b5 1270 char *_kwnames[] = { "self","tbar", NULL };
21f8d7ea
RD
1271
1272 self = self;
ab2208b5 1273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_Attach",_kwnames,&_argo0,&_argo1))
21f8d7ea 1274 return NULL;
2d091820
RD
1275 if (_argo0) {
1276 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Attach. Expected _wxToolBarToolBase_p.");
21f8d7ea
RD
1279 return NULL;
1280 }
1281 }
2d091820
RD
1282 if (_argo1) {
1283 if (_argo1 == Py_None) { _arg1 = NULL; }
ab2208b5
RD
1284 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBarBase_p")) {
1285 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarToolBase_Attach. Expected _wxToolBarBase_p.");
21f8d7ea
RD
1286 return NULL;
1287 }
1288 }
ab9bc19b
RD
1289{
1290 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1291 wxToolBarToolBase_Attach(_arg0,_arg1);
ab9bc19b
RD
1292
1293 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
1294} Py_INCREF(Py_None);
1295 _resultobj = Py_None;
21f8d7ea
RD
1296 return _resultobj;
1297}
1298
ab2208b5
RD
1299static PyObject * wxToolBarToolBase_GetClientData(wxToolBarToolBase *self) {
1300 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1301 if (udata) {
1302 Py_INCREF(udata->m_obj);
1303 return udata->m_obj;
1304 } else {
1305 Py_INCREF(Py_None);
1306 return Py_None;
1307 }
1308 }
1309static PyObject *_wrap_wxToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1310 PyObject * _resultobj;
ab2208b5
RD
1311 PyObject * _result;
1312 wxToolBarToolBase * _arg0;
2d091820 1313 PyObject * _argo0 = 0;
107e4716 1314 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1315
1316 self = self;
ab2208b5 1317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetClientData",_kwnames,&_argo0))
b26e2dc4 1318 return NULL;
2d091820
RD
1319 if (_argo0) {
1320 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetClientData. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
1323 return NULL;
1324 }
1325 }
ab9bc19b
RD
1326{
1327 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1328 _result = (PyObject *)wxToolBarToolBase_GetClientData(_arg0);
ab9bc19b
RD
1329
1330 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
1331}{
1332 _resultobj = _result;
1333}
b26e2dc4
RD
1334 return _resultobj;
1335}
1336
ab2208b5
RD
1337static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject * clientData) {
1338 self->SetClientData(new wxPyUserData(clientData));
1339 }
1340static PyObject *_wrap_wxToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 1341 PyObject * _resultobj;
ab2208b5
RD
1342 wxToolBarToolBase * _arg0;
1343 PyObject * _arg1;
2d091820 1344 PyObject * _argo0 = 0;
ab2208b5
RD
1345 PyObject * _obj1 = 0;
1346 char *_kwnames[] = { "self","clientData", NULL };
1347
1348 self = self;
1349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetClientData",_kwnames,&_argo0,&_obj1))
1350 return NULL;
1351 if (_argo0) {
1352 if (_argo0 == Py_None) { _arg0 = NULL; }
1353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetClientData. Expected _wxToolBarToolBase_p.");
1355 return NULL;
1356 }
1357 }
1358{
1359 _arg1 = _obj1;
1360}
1361{
1362 wxPy_BEGIN_ALLOW_THREADS;
1363 wxToolBarToolBase_SetClientData(_arg0,_arg1);
1364
1365 wxPy_END_ALLOW_THREADS;
1366} Py_INCREF(Py_None);
1367 _resultobj = Py_None;
1368 return _resultobj;
1369}
1370
1371static void *SwigwxToolBarBaseTowxControl(void *ptr) {
1372 wxToolBarBase *src;
1373 wxControl *dest;
1374 src = (wxToolBarBase *) ptr;
1375 dest = (wxControl *) src;
1376 return (void *) dest;
1377}
1378
1379static void *SwigwxToolBarBaseTowxWindow(void *ptr) {
1380 wxToolBarBase *src;
1381 wxWindow *dest;
1382 src = (wxToolBarBase *) ptr;
1383 dest = (wxWindow *) src;
1384 return (void *) dest;
1385}
1386
1387static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr) {
1388 wxToolBarBase *src;
1389 wxEvtHandler *dest;
1390 src = (wxToolBarBase *) ptr;
1391 dest = (wxEvtHandler *) src;
1392 return (void *) dest;
1393}
1394
c368d904 1395static wxToolBarToolBase * wxToolBarBase_AddTool(wxToolBarBase *self,int id,const wxBitmap & bitmap,const wxBitmap & pushedBitmap,int isToggle,PyObject * clientData,const wxString & shortHelpString,const wxString & longHelpString) {
ab2208b5
RD
1396 wxPyUserData* udata = NULL;
1397 if (clientData)
1398 udata = new wxPyUserData(clientData);
c368d904 1399 return self->AddTool(id, bitmap, pushedBitmap, (bool)isToggle,
ab2208b5
RD
1400 udata, shortHelpString, longHelpString);
1401 }
1402static PyObject *_wrap_wxToolBarBase_AddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1403 PyObject * _resultobj;
1404 wxToolBarToolBase * _result;
1405 wxToolBarBase * _arg0;
1406 int _arg1;
1407 wxBitmap * _arg2;
1408 wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap;
1409 int _arg4 = (int ) FALSE;
1410 PyObject * _arg5 = (PyObject *) NULL;
1411 wxString * _arg6 = (wxString *) &wxPyEmptyStr;
1412 wxString * _arg7 = (wxString *) &wxPyEmptyStr;
1413 PyObject * _argo0 = 0;
1414 PyObject * _argo2 = 0;
1415 PyObject * _argo3 = 0;
1416 PyObject * _obj5 = 0;
1417 PyObject * _obj6 = 0;
1418 PyObject * _obj7 = 0;
c368d904 1419 char *_kwnames[] = { "self","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL };
21f8d7ea
RD
1420 char _ptemp[128];
1421
1422 self = self;
ab2208b5 1423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OiOOO:wxToolBarBase_AddTool",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_obj5,&_obj6,&_obj7))
21f8d7ea 1424 return NULL;
2d091820
RD
1425 if (_argo0) {
1426 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddTool. Expected _wxToolBarBase_p.");
21f8d7ea
RD
1429 return NULL;
1430 }
1431 }
ab2208b5
RD
1432 if (_argo2) {
1433 if (_argo2 == Py_None) { _arg2 = NULL; }
1434 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
1435 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
21f8d7ea
RD
1436 return NULL;
1437 }
1438 }
ab2208b5
RD
1439 if (_argo3) {
1440 if (_argo3 == Py_None) { _arg3 = NULL; }
1441 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1442 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1443 return NULL;
1444 }
1445 }
1446 if (_obj5)
1447{
1448 _arg5 = _obj5;
1449}
1450 if (_obj6)
1451{
2cd2fac8
RD
1452#if PYTHON_API_VERSION >= 1009
1453 char* tmpPtr; int tmpSize;
1454 if (!PyString_Check(_obj6) && !PyUnicode_Check(_obj6)) {
1455 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1456 return NULL;
1457 }
1458 if (PyString_AsStringAndSize(_obj6, &tmpPtr, &tmpSize) == -1)
1459 return NULL;
1460 _arg6 = new wxString(tmpPtr, tmpSize);
1461#else
ab2208b5
RD
1462 if (!PyString_Check(_obj6)) {
1463 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1464 return NULL;
1465 }
2cd2fac8
RD
1466 _arg6 = new wxString(PyString_AS_STRING(_obj6), PyString_GET_SIZE(_obj6));
1467#endif
ab2208b5
RD
1468}
1469 if (_obj7)
1470{
2cd2fac8
RD
1471#if PYTHON_API_VERSION >= 1009
1472 char* tmpPtr; int tmpSize;
1473 if (!PyString_Check(_obj7) && !PyUnicode_Check(_obj7)) {
1474 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1475 return NULL;
1476 }
1477 if (PyString_AsStringAndSize(_obj7, &tmpPtr, &tmpSize) == -1)
1478 return NULL;
1479 _arg7 = new wxString(tmpPtr, tmpSize);
1480#else
ab2208b5
RD
1481 if (!PyString_Check(_obj7)) {
1482 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1483 return NULL;
1484 }
2cd2fac8
RD
1485 _arg7 = new wxString(PyString_AS_STRING(_obj7), PyString_GET_SIZE(_obj7));
1486#endif
ab2208b5 1487}
ab9bc19b
RD
1488{
1489 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1490 _result = (wxToolBarToolBase *)wxToolBarBase_AddTool(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,*_arg6,*_arg7);
ab9bc19b
RD
1491
1492 wxPy_END_ALLOW_THREADS;
2d091820 1493} if (_result) {
ab2208b5 1494 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p");
2d091820
RD
1495 _resultobj = Py_BuildValue("s",_ptemp);
1496 } else {
1497 Py_INCREF(Py_None);
1498 _resultobj = Py_None;
1499 }
ab2208b5
RD
1500{
1501 if (_obj6)
1502 delete _arg6;
1503}
1504{
1505 if (_obj7)
1506 delete _arg7;
1507}
21f8d7ea
RD
1508 return _resultobj;
1509}
1510
c368d904
RD
1511static wxToolBarToolBase * wxToolBarBase_AddSimpleTool(wxToolBarBase *self,int id,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString,int isToggle) {
1512 return self->AddTool(id, bitmap, wxNullBitmap, isToggle, NULL,
ab2208b5
RD
1513 shortHelpString, longHelpString);
1514 }
1515static PyObject *_wrap_wxToolBarBase_AddSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1516 PyObject * _resultobj;
ab2208b5
RD
1517 wxToolBarToolBase * _result;
1518 wxToolBarBase * _arg0;
1519 int _arg1;
1520 wxBitmap * _arg2;
1521 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
1522 wxString * _arg4 = (wxString *) &wxPyEmptyStr;
1523 int _arg5 = (int ) FALSE;
2d091820 1524 PyObject * _argo0 = 0;
ab2208b5
RD
1525 PyObject * _argo2 = 0;
1526 PyObject * _obj3 = 0;
1527 PyObject * _obj4 = 0;
c368d904 1528 char *_kwnames[] = { "self","id","bitmap","shortHelpString","longHelpString","isToggle", NULL };
b26e2dc4
RD
1529 char _ptemp[128];
1530
1531 self = self;
ab2208b5 1532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOi:wxToolBarBase_AddSimpleTool",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5))
b26e2dc4 1533 return NULL;
2d091820
RD
1534 if (_argo0) {
1535 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddSimpleTool. Expected _wxToolBarBase_p.");
b26e2dc4
RD
1538 return NULL;
1539 }
1540 }
ab2208b5
RD
1541 if (_argo2) {
1542 if (_argo2 == Py_None) { _arg2 = NULL; }
1543 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
1544 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBarBase_AddSimpleTool. Expected _wxBitmap_p.");
1545 return NULL;
1546 }
1547 }
1548 if (_obj3)
1549{
2cd2fac8
RD
1550#if PYTHON_API_VERSION >= 1009
1551 char* tmpPtr; int tmpSize;
1552 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
1553 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1554 return NULL;
1555 }
1556 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
1557 return NULL;
1558 _arg3 = new wxString(tmpPtr, tmpSize);
1559#else
ab2208b5
RD
1560 if (!PyString_Check(_obj3)) {
1561 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1562 return NULL;
1563 }
2cd2fac8
RD
1564 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
1565#endif
ab2208b5
RD
1566}
1567 if (_obj4)
1568{
2cd2fac8
RD
1569#if PYTHON_API_VERSION >= 1009
1570 char* tmpPtr; int tmpSize;
1571 if (!PyString_Check(_obj4) && !PyUnicode_Check(_obj4)) {
1572 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1573 return NULL;
1574 }
1575 if (PyString_AsStringAndSize(_obj4, &tmpPtr, &tmpSize) == -1)
1576 return NULL;
1577 _arg4 = new wxString(tmpPtr, tmpSize);
1578#else
ab2208b5
RD
1579 if (!PyString_Check(_obj4)) {
1580 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1581 return NULL;
1582 }
2cd2fac8
RD
1583 _arg4 = new wxString(PyString_AS_STRING(_obj4), PyString_GET_SIZE(_obj4));
1584#endif
ab2208b5 1585}
ab9bc19b
RD
1586{
1587 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1588 _result = (wxToolBarToolBase *)wxToolBarBase_AddSimpleTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5);
ab9bc19b
RD
1589
1590 wxPy_END_ALLOW_THREADS;
2d091820 1591} if (_result) {
ab2208b5 1592 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p");
2d091820
RD
1593 _resultobj = Py_BuildValue("s",_ptemp);
1594 } else {
1595 Py_INCREF(Py_None);
1596 _resultobj = Py_None;
1597 }
ab2208b5
RD
1598{
1599 if (_obj3)
1600 delete _arg3;
1601}
1602{
1603 if (_obj4)
1604 delete _arg4;
1605}
b26e2dc4
RD
1606 return _resultobj;
1607}
1608
c368d904 1609static wxToolBarToolBase * wxToolBarBase_InsertTool(wxToolBarBase *self,size_t pos,int id,const wxBitmap & bitmap,const wxBitmap & pushedBitmap,int isToggle,PyObject * clientData,const wxString & shortHelpString,const wxString & longHelpString) {
ab2208b5
RD
1610 wxPyUserData* udata = NULL;
1611 if (clientData)
1612 udata = new wxPyUserData(clientData);
c368d904 1613 return self->InsertTool(pos, id, bitmap, pushedBitmap, (bool)isToggle,
ab2208b5
RD
1614 udata, shortHelpString, longHelpString);
1615 }
1616static PyObject *_wrap_wxToolBarBase_InsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 1617 PyObject * _resultobj;
ab2208b5
RD
1618 wxToolBarToolBase * _result;
1619 wxToolBarBase * _arg0;
1620 size_t _arg1;
1621 int _arg2;
1622 wxBitmap * _arg3;
1623 wxBitmap * _arg4 = (wxBitmap *) &wxNullBitmap;
1624 int _arg5 = (int ) FALSE;
1625 PyObject * _arg6 = (PyObject *) NULL;
1626 wxString * _arg7 = (wxString *) &wxPyEmptyStr;
1627 wxString * _arg8 = (wxString *) &wxPyEmptyStr;
2d091820 1628 PyObject * _argo0 = 0;
ab2208b5
RD
1629 PyObject * _argo3 = 0;
1630 PyObject * _argo4 = 0;
1631 PyObject * _obj6 = 0;
1632 PyObject * _obj7 = 0;
1633 PyObject * _obj8 = 0;
c368d904 1634 char *_kwnames[] = { "self","pos","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL };
ab2208b5 1635 char _ptemp[128];
21f8d7ea
RD
1636
1637 self = self;
ab2208b5 1638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|OiOOO:wxToolBarBase_InsertTool",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4,&_arg5,&_obj6,&_obj7,&_obj8))
21f8d7ea 1639 return NULL;
2d091820
RD
1640 if (_argo0) {
1641 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertTool. Expected _wxToolBarBase_p.");
21f8d7ea
RD
1644 return NULL;
1645 }
1646 }
ab2208b5
RD
1647 if (_argo3) {
1648 if (_argo3 == Py_None) { _arg3 = NULL; }
1649 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1650 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1651 return NULL;
1652 }
1653 }
1654 if (_argo4) {
1655 if (_argo4 == Py_None) { _arg4 = NULL; }
1656 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxBitmap_p")) {
1657 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1658 return NULL;
1659 }
1660 }
1661 if (_obj6)
1662{
1663 _arg6 = _obj6;
1664}
1665 if (_obj7)
1666{
2cd2fac8
RD
1667#if PYTHON_API_VERSION >= 1009
1668 char* tmpPtr; int tmpSize;
1669 if (!PyString_Check(_obj7) && !PyUnicode_Check(_obj7)) {
1670 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1671 return NULL;
1672 }
1673 if (PyString_AsStringAndSize(_obj7, &tmpPtr, &tmpSize) == -1)
1674 return NULL;
1675 _arg7 = new wxString(tmpPtr, tmpSize);
1676#else
ab2208b5
RD
1677 if (!PyString_Check(_obj7)) {
1678 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1679 return NULL;
1680 }
2cd2fac8
RD
1681 _arg7 = new wxString(PyString_AS_STRING(_obj7), PyString_GET_SIZE(_obj7));
1682#endif
ab2208b5
RD
1683}
1684 if (_obj8)
1685{
2cd2fac8
RD
1686#if PYTHON_API_VERSION >= 1009
1687 char* tmpPtr; int tmpSize;
1688 if (!PyString_Check(_obj8) && !PyUnicode_Check(_obj8)) {
1689 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1690 return NULL;
1691 }
1692 if (PyString_AsStringAndSize(_obj8, &tmpPtr, &tmpSize) == -1)
1693 return NULL;
1694 _arg8 = new wxString(tmpPtr, tmpSize);
1695#else
ab2208b5
RD
1696 if (!PyString_Check(_obj8)) {
1697 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1698 return NULL;
1699 }
2cd2fac8
RD
1700 _arg8 = new wxString(PyString_AS_STRING(_obj8), PyString_GET_SIZE(_obj8));
1701#endif
ab2208b5 1702}
ab9bc19b
RD
1703{
1704 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1705 _result = (wxToolBarToolBase *)wxToolBarBase_InsertTool(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,*_arg7,*_arg8);
ab9bc19b
RD
1706
1707 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
1708} if (_result) {
1709 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p");
1710 _resultobj = Py_BuildValue("s",_ptemp);
1711 } else {
1712 Py_INCREF(Py_None);
1713 _resultobj = Py_None;
1714 }
1715{
1716 if (_obj7)
1717 delete _arg7;
1718}
1719{
1720 if (_obj8)
1721 delete _arg8;
1722}
21f8d7ea
RD
1723 return _resultobj;
1724}
1725
c368d904
RD
1726static wxToolBarToolBase * wxToolBarBase_InsertSimpleTool(wxToolBarBase *self,size_t pos,int id,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString,int isToggle) {
1727 return self->InsertTool(pos, id, bitmap, wxNullBitmap, isToggle, NULL,
ab2208b5
RD
1728 shortHelpString, longHelpString);
1729 }
1730static PyObject *_wrap_wxToolBarBase_InsertSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1731 PyObject * _resultobj;
ab2208b5
RD
1732 wxToolBarToolBase * _result;
1733 wxToolBarBase * _arg0;
1734 size_t _arg1;
1735 int _arg2;
1736 wxBitmap * _arg3;
1737 wxString * _arg4 = (wxString *) &wxPyEmptyStr;
1738 wxString * _arg5 = (wxString *) &wxPyEmptyStr;
1739 int _arg6 = (int ) FALSE;
2d091820 1740 PyObject * _argo0 = 0;
ab2208b5
RD
1741 PyObject * _argo3 = 0;
1742 PyObject * _obj4 = 0;
1743 PyObject * _obj5 = 0;
c368d904 1744 char *_kwnames[] = { "self","pos","id","bitmap","shortHelpString","longHelpString","isToggle", NULL };
ab2208b5 1745 char _ptemp[128];
b26e2dc4
RD
1746
1747 self = self;
ab2208b5 1748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|OOi:wxToolBarBase_InsertSimpleTool",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6))
b26e2dc4 1749 return NULL;
2d091820
RD
1750 if (_argo0) {
1751 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertSimpleTool. Expected _wxToolBarBase_p.");
b26e2dc4
RD
1754 return NULL;
1755 }
1756 }
ab2208b5
RD
1757 if (_argo3) {
1758 if (_argo3 == Py_None) { _arg3 = NULL; }
1759 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1760 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBarBase_InsertSimpleTool. Expected _wxBitmap_p.");
1761 return NULL;
1762 }
1763 }
1764 if (_obj4)
1765{
2cd2fac8
RD
1766#if PYTHON_API_VERSION >= 1009
1767 char* tmpPtr; int tmpSize;
1768 if (!PyString_Check(_obj4) && !PyUnicode_Check(_obj4)) {
1769 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1770 return NULL;
1771 }
1772 if (PyString_AsStringAndSize(_obj4, &tmpPtr, &tmpSize) == -1)
1773 return NULL;
1774 _arg4 = new wxString(tmpPtr, tmpSize);
1775#else
ab2208b5
RD
1776 if (!PyString_Check(_obj4)) {
1777 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1778 return NULL;
1779 }
2cd2fac8
RD
1780 _arg4 = new wxString(PyString_AS_STRING(_obj4), PyString_GET_SIZE(_obj4));
1781#endif
ab2208b5
RD
1782}
1783 if (_obj5)
1784{
2cd2fac8
RD
1785#if PYTHON_API_VERSION >= 1009
1786 char* tmpPtr; int tmpSize;
1787 if (!PyString_Check(_obj5) && !PyUnicode_Check(_obj5)) {
1788 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
1789 return NULL;
1790 }
1791 if (PyString_AsStringAndSize(_obj5, &tmpPtr, &tmpSize) == -1)
1792 return NULL;
1793 _arg5 = new wxString(tmpPtr, tmpSize);
1794#else
ab2208b5
RD
1795 if (!PyString_Check(_obj5)) {
1796 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1797 return NULL;
1798 }
2cd2fac8
RD
1799 _arg5 = new wxString(PyString_AS_STRING(_obj5), PyString_GET_SIZE(_obj5));
1800#endif
ab2208b5 1801}
ab9bc19b
RD
1802{
1803 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1804 _result = (wxToolBarToolBase *)wxToolBarBase_InsertSimpleTool(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6);
ab9bc19b
RD
1805
1806 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
1807} if (_result) {
1808 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p");
1809 _resultobj = Py_BuildValue("s",_ptemp);
1810 } else {
1811 Py_INCREF(Py_None);
1812 _resultobj = Py_None;
1813 }
1814{
1815 if (_obj4)
1816 delete _arg4;
1817}
1818{
1819 if (_obj5)
1820 delete _arg5;
1821}
b26e2dc4
RD
1822 return _resultobj;
1823}
1824
ab2208b5
RD
1825#define wxToolBarBase_AddControl(_swigobj,_swigarg0) (_swigobj->AddControl(_swigarg0))
1826static PyObject *_wrap_wxToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 1827 PyObject * _resultobj;
ab2208b5
RD
1828 wxToolBarToolBase * _result;
1829 wxToolBarBase * _arg0;
1830 wxControl * _arg1;
2d091820 1831 PyObject * _argo0 = 0;
ab2208b5
RD
1832 PyObject * _argo1 = 0;
1833 char *_kwnames[] = { "self","control", NULL };
1834 char _ptemp[128];
21f8d7ea
RD
1835
1836 self = self;
ab2208b5 1837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarBase_AddControl",_kwnames,&_argo0,&_argo1))
21f8d7ea 1838 return NULL;
2d091820
RD
1839 if (_argo0) {
1840 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddControl. Expected _wxToolBarBase_p.");
21f8d7ea
RD
1843 return NULL;
1844 }
1845 }
ab2208b5
RD
1846 if (_argo1) {
1847 if (_argo1 == Py_None) { _arg1 = NULL; }
1848 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
1849 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarBase_AddControl. Expected _wxControl_p.");
21f8d7ea 1850 return NULL;
ab2208b5 1851 }
21f8d7ea 1852 }
21f8d7ea 1853{
ab9bc19b 1854 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1855 _result = (wxToolBarToolBase *)wxToolBarBase_AddControl(_arg0,_arg1);
ab9bc19b
RD
1856
1857 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
1858} if (_result) {
1859 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p");
1860 _resultobj = Py_BuildValue("s",_ptemp);
1861 } else {
1862 Py_INCREF(Py_None);
1863 _resultobj = Py_None;
1864 }
1865 return _resultobj;
21f8d7ea 1866}
ab2208b5
RD
1867
1868#define wxToolBarBase_InsertControl(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertControl(_swigarg0,_swigarg1))
1869static PyObject *_wrap_wxToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
1870 PyObject * _resultobj;
1871 wxToolBarToolBase * _result;
1872 wxToolBarBase * _arg0;
1873 size_t _arg1;
1874 wxControl * _arg2;
1875 PyObject * _argo0 = 0;
1876 PyObject * _argo2 = 0;
1877 char *_kwnames[] = { "self","pos","control", NULL };
1878 char _ptemp[128];
1879
1880 self = self;
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_InsertControl",_kwnames,&_argo0,&_arg1,&_argo2))
1882 return NULL;
1883 if (_argo0) {
1884 if (_argo0 == Py_None) { _arg0 = NULL; }
1885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertControl. Expected _wxToolBarBase_p.");
1887 return NULL;
1888 }
1889 }
1890 if (_argo2) {
1891 if (_argo2 == Py_None) { _arg2 = NULL; }
1892 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxControl_p")) {
1893 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBarBase_InsertControl. Expected _wxControl_p.");
1894 return NULL;
1895 }
1896 }
21f8d7ea 1897{
ab2208b5
RD
1898 wxPy_BEGIN_ALLOW_THREADS;
1899 _result = (wxToolBarToolBase *)wxToolBarBase_InsertControl(_arg0,_arg1,_arg2);
1900
1901 wxPy_END_ALLOW_THREADS;
1902} if (_result) {
1903 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p");
1904 _resultobj = Py_BuildValue("s",_ptemp);
1905 } else {
1906 Py_INCREF(Py_None);
1907 _resultobj = Py_None;
1908 }
21f8d7ea
RD
1909 return _resultobj;
1910}
1911
ab2208b5
RD
1912#define wxToolBarBase_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1913static PyObject *_wrap_wxToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1914 PyObject * _resultobj;
ab2208b5
RD
1915 wxToolBarToolBase * _result;
1916 wxToolBarBase * _arg0;
2d091820 1917 PyObject * _argo0 = 0;
107e4716 1918 char *_kwnames[] = { "self", NULL };
ab2208b5 1919 char _ptemp[128];
b26e2dc4
RD
1920
1921 self = self;
ab2208b5 1922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_AddSeparator",_kwnames,&_argo0))
b26e2dc4 1923 return NULL;
2d091820
RD
1924 if (_argo0) {
1925 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddSeparator. Expected _wxToolBarBase_p.");
b26e2dc4
RD
1928 return NULL;
1929 }
1930 }
b26e2dc4 1931{
ab9bc19b 1932 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 1933 _result = (wxToolBarToolBase *)wxToolBarBase_AddSeparator(_arg0);
ab9bc19b
RD
1934
1935 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
1936} if (_result) {
1937 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p");
1938 _resultobj = Py_BuildValue("s",_ptemp);
1939 } else {
1940 Py_INCREF(Py_None);
1941 _resultobj = Py_None;
1942 }
b26e2dc4
RD
1943 return _resultobj;
1944}
1945
ab2208b5
RD
1946#define wxToolBarBase_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
1947static PyObject *_wrap_wxToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 1948 PyObject * _resultobj;
ab2208b5
RD
1949 wxToolBarToolBase * _result;
1950 wxToolBarBase * _arg0;
1951 size_t _arg1;
2d091820 1952 PyObject * _argo0 = 0;
ab2208b5
RD
1953 char *_kwnames[] = { "self","pos", NULL };
1954 char _ptemp[128];
21f8d7ea
RD
1955
1956 self = self;
ab2208b5 1957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_InsertSeparator",_kwnames,&_argo0,&_arg1))
21f8d7ea 1958 return NULL;
2d091820
RD
1959 if (_argo0) {
1960 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertSeparator. Expected _wxToolBarBase_p.");
21f8d7ea
RD
1963 return NULL;
1964 }
1965 }
1966{
ab2208b5
RD
1967 wxPy_BEGIN_ALLOW_THREADS;
1968 _result = (wxToolBarToolBase *)wxToolBarBase_InsertSeparator(_arg0,_arg1);
1969
1970 wxPy_END_ALLOW_THREADS;
1971} if (_result) {
1972 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p");
1973 _resultobj = Py_BuildValue("s",_ptemp);
1974 } else {
1975 Py_INCREF(Py_None);
1976 _resultobj = Py_None;
1977 }
1978 return _resultobj;
1979}
1980
1981#define wxToolBarBase_RemoveTool(_swigobj,_swigarg0) (_swigobj->RemoveTool(_swigarg0))
1982static PyObject *_wrap_wxToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1983 PyObject * _resultobj;
1984 wxToolBarToolBase * _result;
1985 wxToolBarBase * _arg0;
1986 int _arg1;
1987 PyObject * _argo0 = 0;
1988 char *_kwnames[] = { "self","id", NULL };
1989 char _ptemp[128];
1990
1991 self = self;
1992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_RemoveTool",_kwnames,&_argo0,&_arg1))
21f8d7ea 1993 return NULL;
ab2208b5
RD
1994 if (_argo0) {
1995 if (_argo0 == Py_None) { _arg0 = NULL; }
1996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_RemoveTool. Expected _wxToolBarBase_p.");
1998 return NULL;
1999 }
21f8d7ea 2000 }
ab2208b5
RD
2001{
2002 wxPy_BEGIN_ALLOW_THREADS;
2003 _result = (wxToolBarToolBase *)wxToolBarBase_RemoveTool(_arg0,_arg1);
2004
2005 wxPy_END_ALLOW_THREADS;
2006} if (_result) {
2007 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p");
2008 _resultobj = Py_BuildValue("s",_ptemp);
2009 } else {
2010 Py_INCREF(Py_None);
2011 _resultobj = Py_None;
2012 }
2013 return _resultobj;
21f8d7ea 2014}
ab2208b5
RD
2015
2016#define wxToolBarBase_DeleteToolByPos(_swigobj,_swigarg0) (_swigobj->DeleteToolByPos(_swigarg0))
2017static PyObject *_wrap_wxToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2018 PyObject * _resultobj;
2019 bool _result;
2020 wxToolBarBase * _arg0;
2021 size_t _arg1;
2022 PyObject * _argo0 = 0;
2023 char *_kwnames[] = { "self","pos", NULL };
2024
2025 self = self;
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_DeleteToolByPos",_kwnames,&_argo0,&_arg1))
2027 return NULL;
2028 if (_argo0) {
2029 if (_argo0 == Py_None) { _arg0 = NULL; }
2030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_DeleteToolByPos. Expected _wxToolBarBase_p.");
2032 return NULL;
2033 }
2034 }
21f8d7ea 2035{
ab9bc19b 2036 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2037 _result = (bool )wxToolBarBase_DeleteToolByPos(_arg0,_arg1);
ab9bc19b
RD
2038
2039 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
2040} _resultobj = Py_BuildValue("i",_result);
2041 return _resultobj;
21f8d7ea 2042}
ab2208b5
RD
2043
2044#define wxToolBarBase_DeleteTool(_swigobj,_swigarg0) (_swigobj->DeleteTool(_swigarg0))
2045static PyObject *_wrap_wxToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
2046 PyObject * _resultobj;
2047 bool _result;
2048 wxToolBarBase * _arg0;
2049 int _arg1;
2050 PyObject * _argo0 = 0;
2051 char *_kwnames[] = { "self","id", NULL };
2052
2053 self = self;
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_DeleteTool",_kwnames,&_argo0,&_arg1))
2055 return NULL;
2056 if (_argo0) {
2057 if (_argo0 == Py_None) { _arg0 = NULL; }
2058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_DeleteTool. Expected _wxToolBarBase_p.");
2060 return NULL;
2061 }
2062 }
21f8d7ea 2063{
ab2208b5
RD
2064 wxPy_BEGIN_ALLOW_THREADS;
2065 _result = (bool )wxToolBarBase_DeleteTool(_arg0,_arg1);
2066
2067 wxPy_END_ALLOW_THREADS;
2068} _resultobj = Py_BuildValue("i",_result);
2069 return _resultobj;
21f8d7ea 2070}
ab2208b5
RD
2071
2072#define wxToolBarBase_ClearTools(_swigobj) (_swigobj->ClearTools())
2073static PyObject *_wrap_wxToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
2074 PyObject * _resultobj;
2075 wxToolBarBase * _arg0;
2076 PyObject * _argo0 = 0;
2077 char *_kwnames[] = { "self", NULL };
2078
2079 self = self;
2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_ClearTools",_kwnames,&_argo0))
2081 return NULL;
2082 if (_argo0) {
2083 if (_argo0 == Py_None) { _arg0 = NULL; }
2084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_ClearTools. Expected _wxToolBarBase_p.");
2086 return NULL;
2087 }
2088 }
2089{
2090 wxPy_BEGIN_ALLOW_THREADS;
2091 wxToolBarBase_ClearTools(_arg0);
2092
2093 wxPy_END_ALLOW_THREADS;
2094} Py_INCREF(Py_None);
2095 _resultobj = Py_None;
21f8d7ea
RD
2096 return _resultobj;
2097}
2098
ab2208b5
RD
2099#define wxToolBarBase_Realize(_swigobj) (_swigobj->Realize())
2100static PyObject *_wrap_wxToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2101 PyObject * _resultobj;
ab2208b5
RD
2102 bool _result;
2103 wxToolBarBase * _arg0;
2d091820 2104 PyObject * _argo0 = 0;
107e4716 2105 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
2106
2107 self = self;
ab2208b5 2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_Realize",_kwnames,&_argo0))
b26e2dc4 2109 return NULL;
2d091820
RD
2110 if (_argo0) {
2111 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_Realize. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2114 return NULL;
2115 }
2116 }
b26e2dc4 2117{
ab9bc19b 2118 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2119 _result = (bool )wxToolBarBase_Realize(_arg0);
ab9bc19b
RD
2120
2121 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
2122} _resultobj = Py_BuildValue("i",_result);
2123 return _resultobj;
b26e2dc4 2124}
ab2208b5
RD
2125
2126#define wxToolBarBase_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
2127static PyObject *_wrap_wxToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
2128 PyObject * _resultobj;
2129 wxToolBarBase * _arg0;
2130 int _arg1;
2131 bool _arg2;
2132 PyObject * _argo0 = 0;
2133 int tempbool2;
2134 char *_kwnames[] = { "self","id","enable", NULL };
2135
2136 self = self;
2137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_EnableTool",_kwnames,&_argo0,&_arg1,&tempbool2))
2138 return NULL;
2139 if (_argo0) {
2140 if (_argo0 == Py_None) { _arg0 = NULL; }
2141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_EnableTool. Expected _wxToolBarBase_p.");
2143 return NULL;
2144 }
2145 }
2146 _arg2 = (bool ) tempbool2;
2147{
2148 wxPy_BEGIN_ALLOW_THREADS;
2149 wxToolBarBase_EnableTool(_arg0,_arg1,_arg2);
2150
2151 wxPy_END_ALLOW_THREADS;
2152} Py_INCREF(Py_None);
2153 _resultobj = Py_None;
b26e2dc4
RD
2154 return _resultobj;
2155}
2156
ab2208b5
RD
2157#define wxToolBarBase_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2158static PyObject *_wrap_wxToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
2159 PyObject * _resultobj;
2160 wxToolBarBase * _arg0;
2161 int _arg1;
2162 bool _arg2;
2163 PyObject * _argo0 = 0;
2164 int tempbool2;
2165 char *_kwnames[] = { "self","id","toggle", NULL };
2166
2167 self = self;
2168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_ToggleTool",_kwnames,&_argo0,&_arg1,&tempbool2))
2169 return NULL;
2170 if (_argo0) {
2171 if (_argo0 == Py_None) { _arg0 = NULL; }
2172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_ToggleTool. Expected _wxToolBarBase_p.");
2174 return NULL;
2175 }
2176 }
2177 _arg2 = (bool ) tempbool2;
2178{
2179 wxPy_BEGIN_ALLOW_THREADS;
2180 wxToolBarBase_ToggleTool(_arg0,_arg1,_arg2);
2181
2182 wxPy_END_ALLOW_THREADS;
2183} Py_INCREF(Py_None);
2184 _resultobj = Py_None;
2185 return _resultobj;
b26e2dc4
RD
2186}
2187
ab2208b5
RD
2188#define wxToolBarBase_SetToggle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToggle(_swigarg0,_swigarg1))
2189static PyObject *_wrap_wxToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject * _resultobj;
2191 wxToolBarBase * _arg0;
2192 int _arg1;
2193 bool _arg2;
2194 PyObject * _argo0 = 0;
2195 int tempbool2;
2196 char *_kwnames[] = { "self","id","toggle", NULL };
2197
2198 self = self;
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_SetToggle",_kwnames,&_argo0,&_arg1,&tempbool2))
2200 return NULL;
2201 if (_argo0) {
2202 if (_argo0 == Py_None) { _arg0 = NULL; }
2203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToggle. Expected _wxToolBarBase_p.");
2205 return NULL;
2206 }
2207 }
2208 _arg2 = (bool ) tempbool2;
2209{
2210 wxPy_BEGIN_ALLOW_THREADS;
2211 wxToolBarBase_SetToggle(_arg0,_arg1,_arg2);
2212
2213 wxPy_END_ALLOW_THREADS;
2214} Py_INCREF(Py_None);
2215 _resultobj = Py_None;
2216 return _resultobj;
b26e2dc4
RD
2217}
2218
ab2208b5
RD
2219static PyObject * wxToolBarBase_GetToolClientData(wxToolBarBase *self,int index) {
2220 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(index);
2221 if (udata) {
2222 Py_INCREF(udata->m_obj);
2223 return udata->m_obj;
2224 } else {
2225 Py_INCREF(Py_None);
2226 return Py_None;
2227 }
2228 }
2229static PyObject *_wrap_wxToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
2230 PyObject * _resultobj;
2231 PyObject * _result;
2232 wxToolBarBase * _arg0;
2233 int _arg1;
2234 PyObject * _argo0 = 0;
2235 char *_kwnames[] = { "self","index", NULL };
2236
2237 self = self;
2238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolClientData",_kwnames,&_argo0,&_arg1))
2239 return NULL;
2240 if (_argo0) {
2241 if (_argo0 == Py_None) { _arg0 = NULL; }
2242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolClientData. Expected _wxToolBarBase_p.");
2244 return NULL;
2245 }
2246 }
2247{
2248 wxPy_BEGIN_ALLOW_THREADS;
2249 _result = (PyObject *)wxToolBarBase_GetToolClientData(_arg0,_arg1);
2250
2251 wxPy_END_ALLOW_THREADS;
2252}{
2253 _resultobj = _result;
2254}
2255 return _resultobj;
b26e2dc4
RD
2256}
2257
ab2208b5
RD
2258static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int index,PyObject * clientData) {
2259 self->SetToolClientData(index, new wxPyUserData(clientData));
2260 }
2261static PyObject *_wrap_wxToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2262 PyObject * _resultobj;
ab2208b5
RD
2263 wxToolBarBase * _arg0;
2264 int _arg1;
2265 PyObject * _arg2;
2d091820 2266 PyObject * _argo0 = 0;
37f6a977 2267 PyObject * _obj2 = 0;
ab2208b5 2268 char *_kwnames[] = { "self","index","clientData", NULL };
b26e2dc4
RD
2269
2270 self = self;
ab2208b5 2271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_SetToolClientData",_kwnames,&_argo0,&_arg1,&_obj2))
b26e2dc4 2272 return NULL;
2d091820
RD
2273 if (_argo0) {
2274 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolClientData. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2277 return NULL;
2278 }
2279 }
37f6a977 2280{
ab2208b5 2281 _arg2 = _obj2;
37f6a977 2282}
ab9bc19b
RD
2283{
2284 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2285 wxToolBarBase_SetToolClientData(_arg0,_arg1,_arg2);
ab9bc19b
RD
2286
2287 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
2288} Py_INCREF(Py_None);
2289 _resultobj = Py_None;
b26e2dc4
RD
2290 return _resultobj;
2291}
2292
ab2208b5
RD
2293#define wxToolBarBase_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2294static PyObject *_wrap_wxToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962
RD
2295 PyObject * _resultobj;
2296 bool _result;
ab2208b5
RD
2297 wxToolBarBase * _arg0;
2298 int _arg1;
56f5d962 2299 PyObject * _argo0 = 0;
ab2208b5 2300 char *_kwnames[] = { "self","id", NULL };
56f5d962
RD
2301
2302 self = self;
ab2208b5 2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolState",_kwnames,&_argo0,&_arg1))
56f5d962
RD
2304 return NULL;
2305 if (_argo0) {
2306 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolState. Expected _wxToolBarBase_p.");
56f5d962
RD
2309 return NULL;
2310 }
2311 }
2312{
2313 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2314 _result = (bool )wxToolBarBase_GetToolState(_arg0,_arg1);
56f5d962
RD
2315
2316 wxPy_END_ALLOW_THREADS;
2317} _resultobj = Py_BuildValue("i",_result);
2318 return _resultobj;
2319}
2320
ab2208b5
RD
2321#define wxToolBarBase_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2322static PyObject *_wrap_wxToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2323 PyObject * _resultobj;
ab2208b5
RD
2324 bool _result;
2325 wxToolBarBase * _arg0;
2326 int _arg1;
2d091820 2327 PyObject * _argo0 = 0;
ab2208b5 2328 char *_kwnames[] = { "self","id", NULL };
b26e2dc4
RD
2329
2330 self = self;
ab2208b5 2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolEnabled",_kwnames,&_argo0,&_arg1))
b26e2dc4 2332 return NULL;
2d091820
RD
2333 if (_argo0) {
2334 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolEnabled. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2337 return NULL;
2338 }
2339 }
ab9bc19b
RD
2340{
2341 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2342 _result = (bool )wxToolBarBase_GetToolEnabled(_arg0,_arg1);
ab9bc19b
RD
2343
2344 wxPy_END_ALLOW_THREADS;
ab2208b5 2345} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
2346 return _resultobj;
2347}
2348
ab2208b5
RD
2349#define wxToolBarBase_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2350static PyObject *_wrap_wxToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 2351 PyObject * _resultobj;
ab2208b5
RD
2352 wxToolBarBase * _arg0;
2353 int _arg1;
2354 wxString * _arg2;
56f5d962 2355 PyObject * _argo0 = 0;
ab2208b5
RD
2356 PyObject * _obj2 = 0;
2357 char *_kwnames[] = { "self","id","helpString", NULL };
56f5d962
RD
2358
2359 self = self;
ab2208b5 2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_SetToolShortHelp",_kwnames,&_argo0,&_arg1,&_obj2))
56f5d962
RD
2361 return NULL;
2362 if (_argo0) {
2363 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolShortHelp. Expected _wxToolBarBase_p.");
56f5d962
RD
2366 return NULL;
2367 }
2368 }
ab2208b5 2369{
2cd2fac8
RD
2370#if PYTHON_API_VERSION >= 1009
2371 char* tmpPtr; int tmpSize;
2372 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2373 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
2374 return NULL;
2375 }
2376 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2377 return NULL;
2378 _arg2 = new wxString(tmpPtr, tmpSize);
2379#else
ab2208b5
RD
2380 if (!PyString_Check(_obj2)) {
2381 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2382 return NULL;
2383 }
2cd2fac8
RD
2384 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2385#endif
ab2208b5 2386}
56f5d962
RD
2387{
2388 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2389 wxToolBarBase_SetToolShortHelp(_arg0,_arg1,*_arg2);
56f5d962
RD
2390
2391 wxPy_END_ALLOW_THREADS;
2392} Py_INCREF(Py_None);
2393 _resultobj = Py_None;
ab2208b5
RD
2394{
2395 if (_obj2)
2396 delete _arg2;
2397}
56f5d962
RD
2398 return _resultobj;
2399}
2400
ab2208b5
RD
2401#define wxToolBarBase_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2402static PyObject *_wrap_wxToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2403 PyObject * _resultobj;
ab2208b5
RD
2404 wxString * _result;
2405 wxToolBarBase * _arg0;
b26e2dc4 2406 int _arg1;
2d091820 2407 PyObject * _argo0 = 0;
ab2208b5 2408 char *_kwnames[] = { "self","id", NULL };
b26e2dc4
RD
2409
2410 self = self;
ab2208b5 2411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolShortHelp",_kwnames,&_argo0,&_arg1))
b26e2dc4 2412 return NULL;
2d091820
RD
2413 if (_argo0) {
2414 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolShortHelp. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2417 return NULL;
2418 }
2419 }
ab9bc19b
RD
2420{
2421 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2422 _result = new wxString (wxToolBarBase_GetToolShortHelp(_arg0,_arg1));
ab9bc19b
RD
2423
2424 wxPy_END_ALLOW_THREADS;
ab2208b5 2425}{
e02c03a4 2426 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
b26e2dc4
RD
2427}
2428{
ab2208b5 2429 delete _result;
b26e2dc4
RD
2430}
2431 return _resultobj;
2432}
2433
ab2208b5
RD
2434#define wxToolBarBase_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2435static PyObject *_wrap_wxToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
dd9a3de8 2436 PyObject * _resultobj;
ab2208b5 2437 wxToolBarBase * _arg0;
dd9a3de8 2438 int _arg1;
ab2208b5 2439 wxString * _arg2;
2d091820 2440 PyObject * _argo0 = 0;
ab2208b5
RD
2441 PyObject * _obj2 = 0;
2442 char *_kwnames[] = { "self","id","helpString", NULL };
dd9a3de8
RD
2443
2444 self = self;
ab2208b5 2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_SetToolLongHelp",_kwnames,&_argo0,&_arg1,&_obj2))
dd9a3de8 2446 return NULL;
2d091820
RD
2447 if (_argo0) {
2448 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolLongHelp. Expected _wxToolBarBase_p.");
dd9a3de8
RD
2451 return NULL;
2452 }
2453 }
dd9a3de8 2454{
2cd2fac8
RD
2455#if PYTHON_API_VERSION >= 1009
2456 char* tmpPtr; int tmpSize;
2457 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2458 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
2459 return NULL;
2460 }
2461 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2462 return NULL;
2463 _arg2 = new wxString(tmpPtr, tmpSize);
2464#else
ab2208b5 2465 if (!PyString_Check(_obj2)) {
dd9a3de8
RD
2466 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2467 return NULL;
2468 }
2cd2fac8
RD
2469 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2470#endif
dd9a3de8 2471}
dd9a3de8 2472{
ab2208b5
RD
2473 wxPy_BEGIN_ALLOW_THREADS;
2474 wxToolBarBase_SetToolLongHelp(_arg0,_arg1,*_arg2);
2475
2476 wxPy_END_ALLOW_THREADS;
2477} Py_INCREF(Py_None);
2478 _resultobj = Py_None;
2479{
2480 if (_obj2)
2481 delete _arg2;
2482}
2483 return _resultobj;
2484}
2485
2486#define wxToolBarBase_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2487static PyObject *_wrap_wxToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2488 PyObject * _resultobj;
2489 wxString * _result;
2490 wxToolBarBase * _arg0;
2491 int _arg1;
2492 PyObject * _argo0 = 0;
2493 char *_kwnames[] = { "self","id", NULL };
2494
2495 self = self;
2496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolLongHelp",_kwnames,&_argo0,&_arg1))
dd9a3de8 2497 return NULL;
ab2208b5
RD
2498 if (_argo0) {
2499 if (_argo0 == Py_None) { _arg0 = NULL; }
2500 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2501 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolLongHelp. Expected _wxToolBarBase_p.");
2502 return NULL;
2503 }
dd9a3de8 2504 }
ab9bc19b
RD
2505{
2506 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2507 _result = new wxString (wxToolBarBase_GetToolLongHelp(_arg0,_arg1));
ab9bc19b
RD
2508
2509 wxPy_END_ALLOW_THREADS;
ab2208b5 2510}{
e02c03a4 2511 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
dd9a3de8
RD
2512}
2513{
ab2208b5 2514 delete _result;
dd9a3de8
RD
2515}
2516 return _resultobj;
2517}
2518
ab2208b5
RD
2519#define wxToolBarBase_SetMarginsXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
2520static PyObject *_wrap_wxToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2521 PyObject * _resultobj;
ab2208b5 2522 wxToolBarBase * _arg0;
b26e2dc4 2523 int _arg1;
ab2208b5 2524 int _arg2;
2d091820 2525 PyObject * _argo0 = 0;
ab2208b5 2526 char *_kwnames[] = { "self","x","y", NULL };
b26e2dc4
RD
2527
2528 self = self;
ab2208b5 2529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_SetMarginsXY",_kwnames,&_argo0,&_arg1,&_arg2))
b26e2dc4 2530 return NULL;
2d091820
RD
2531 if (_argo0) {
2532 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetMarginsXY. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2535 return NULL;
2536 }
2537 }
ab9bc19b
RD
2538{
2539 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2540 wxToolBarBase_SetMarginsXY(_arg0,_arg1,_arg2);
ab9bc19b
RD
2541
2542 wxPy_END_ALLOW_THREADS;
2543} Py_INCREF(Py_None);
b26e2dc4
RD
2544 _resultobj = Py_None;
2545 return _resultobj;
2546}
2547
ab2208b5
RD
2548#define wxToolBarBase_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2549static PyObject *_wrap_wxToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 2550 PyObject * _resultobj;
ab2208b5
RD
2551 wxToolBarBase * _arg0;
2552 wxSize * _arg1;
56f5d962 2553 PyObject * _argo0 = 0;
ab2208b5
RD
2554 wxSize temp;
2555 PyObject * _obj1 = 0;
2556 char *_kwnames[] = { "self","size", NULL };
56f5d962
RD
2557
2558 self = self;
ab2208b5 2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarBase_SetMargins",_kwnames,&_argo0,&_obj1))
56f5d962
RD
2560 return NULL;
2561 if (_argo0) {
2562 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetMargins. Expected _wxToolBarBase_p.");
56f5d962
RD
2565 return NULL;
2566 }
2567 }
ab2208b5
RD
2568{
2569 _arg1 = &temp;
2570 if (! wxSize_helper(_obj1, &_arg1))
2571 return NULL;
2572}
56f5d962
RD
2573{
2574 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2575 wxToolBarBase_SetMargins(_arg0,*_arg1);
56f5d962
RD
2576
2577 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
2578} Py_INCREF(Py_None);
2579 _resultobj = Py_None;
56f5d962
RD
2580 return _resultobj;
2581}
2582
ab2208b5
RD
2583#define wxToolBarBase_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2584static PyObject *_wrap_wxToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2585 PyObject * _resultobj;
ab2208b5 2586 wxToolBarBase * _arg0;
b26e2dc4 2587 int _arg1;
2d091820 2588 PyObject * _argo0 = 0;
ab2208b5 2589 char *_kwnames[] = { "self","packing", NULL };
b26e2dc4
RD
2590
2591 self = self;
ab2208b5 2592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_SetToolPacking",_kwnames,&_argo0,&_arg1))
b26e2dc4 2593 return NULL;
2d091820
RD
2594 if (_argo0) {
2595 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolPacking. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2598 return NULL;
2599 }
2600 }
ab9bc19b
RD
2601{
2602 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2603 wxToolBarBase_SetToolPacking(_arg0,_arg1);
ab9bc19b
RD
2604
2605 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
2606} Py_INCREF(Py_None);
2607 _resultobj = Py_None;
b26e2dc4
RD
2608 return _resultobj;
2609}
2610
ab2208b5
RD
2611#define wxToolBarBase_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2612static PyObject *_wrap_wxToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8 2613 PyObject * _resultobj;
ab2208b5 2614 wxToolBarBase * _arg0;
c95e68d8 2615 int _arg1;
2d091820 2616 PyObject * _argo0 = 0;
ab2208b5 2617 char *_kwnames[] = { "self","separation", NULL };
c95e68d8
RD
2618
2619 self = self;
ab2208b5 2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_SetToolSeparation",_kwnames,&_argo0,&_arg1))
c95e68d8 2621 return NULL;
2d091820
RD
2622 if (_argo0) {
2623 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolSeparation. Expected _wxToolBarBase_p.");
c95e68d8
RD
2626 return NULL;
2627 }
2628 }
c95e68d8 2629{
ab9bc19b 2630 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2631 wxToolBarBase_SetToolSeparation(_arg0,_arg1);
ab9bc19b
RD
2632
2633 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
2634} Py_INCREF(Py_None);
2635 _resultobj = Py_None;
2636 return _resultobj;
c95e68d8 2637}
ab2208b5
RD
2638
2639#define wxToolBarBase_GetToolMargins(_swigobj) (_swigobj->GetToolMargins())
2640static PyObject *_wrap_wxToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
2641 PyObject * _resultobj;
2642 wxSize * _result;
2643 wxToolBarBase * _arg0;
2644 PyObject * _argo0 = 0;
2645 char *_kwnames[] = { "self", NULL };
2646 char _ptemp[128];
2647
2648 self = self;
2649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolMargins",_kwnames,&_argo0))
2650 return NULL;
2651 if (_argo0) {
2652 if (_argo0 == Py_None) { _arg0 = NULL; }
2653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolMargins. Expected _wxToolBarBase_p.");
2655 return NULL;
2656 }
2657 }
c95e68d8 2658{
ab2208b5
RD
2659 wxPy_BEGIN_ALLOW_THREADS;
2660 _result = new wxSize (wxToolBarBase_GetToolMargins(_arg0));
2661
2662 wxPy_END_ALLOW_THREADS;
2663} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2664 _resultobj = Py_BuildValue("s",_ptemp);
2665 return _resultobj;
c95e68d8 2666}
ab2208b5
RD
2667
2668#define wxToolBarBase_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2669static PyObject *_wrap_wxToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
2670 PyObject * _resultobj;
2671 int _result;
2672 wxToolBarBase * _arg0;
2673 PyObject * _argo0 = 0;
2674 char *_kwnames[] = { "self", NULL };
2675
2676 self = self;
2677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolPacking",_kwnames,&_argo0))
2678 return NULL;
2679 if (_argo0) {
2680 if (_argo0 == Py_None) { _arg0 = NULL; }
2681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolPacking. Expected _wxToolBarBase_p.");
2683 return NULL;
2684 }
2685 }
2686{
2687 wxPy_BEGIN_ALLOW_THREADS;
2688 _result = (int )wxToolBarBase_GetToolPacking(_arg0);
2689
2690 wxPy_END_ALLOW_THREADS;
2691} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
2692 return _resultobj;
2693}
2694
ab2208b5
RD
2695#define wxToolBarBase_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2696static PyObject *_wrap_wxToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
2697 PyObject * _resultobj;
2698 int _result;
ab2208b5 2699 wxToolBarBase * _arg0;
2d091820 2700 PyObject * _argo0 = 0;
107e4716 2701 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
2702
2703 self = self;
ab2208b5 2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolSeparation",_kwnames,&_argo0))
c95e68d8 2705 return NULL;
2d091820
RD
2706 if (_argo0) {
2707 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolSeparation. Expected _wxToolBarBase_p.");
c95e68d8
RD
2710 return NULL;
2711 }
2712 }
ab9bc19b
RD
2713{
2714 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2715 _result = (int )wxToolBarBase_GetToolSeparation(_arg0);
ab9bc19b
RD
2716
2717 wxPy_END_ALLOW_THREADS;
2718} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
2719 return _resultobj;
2720}
2721
ab2208b5
RD
2722#define wxToolBarBase_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2723static PyObject *_wrap_wxToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8 2724 PyObject * _resultobj;
ab2208b5
RD
2725 wxToolBarBase * _arg0;
2726 int _arg1;
2d091820 2727 PyObject * _argo0 = 0;
ab2208b5 2728 char *_kwnames[] = { "self","nRows", NULL };
c95e68d8
RD
2729
2730 self = self;
ab2208b5 2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_SetRows",_kwnames,&_argo0,&_arg1))
c95e68d8 2732 return NULL;
2d091820
RD
2733 if (_argo0) {
2734 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetRows. Expected _wxToolBarBase_p.");
c95e68d8
RD
2737 return NULL;
2738 }
2739 }
ab9bc19b
RD
2740{
2741 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2742 wxToolBarBase_SetRows(_arg0,_arg1);
ab9bc19b
RD
2743
2744 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
2745} Py_INCREF(Py_None);
2746 _resultobj = Py_None;
c95e68d8
RD
2747 return _resultobj;
2748}
2749
ab2208b5
RD
2750#define wxToolBarBase_SetMaxRowsCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMaxRowsCols(_swigarg0,_swigarg1))
2751static PyObject *_wrap_wxToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8 2752 PyObject * _resultobj;
ab2208b5 2753 wxToolBarBase * _arg0;
c95e68d8 2754 int _arg1;
ab2208b5 2755 int _arg2;
2d091820 2756 PyObject * _argo0 = 0;
ab2208b5 2757 char *_kwnames[] = { "self","rows","cols", NULL };
c95e68d8
RD
2758
2759 self = self;
ab2208b5 2760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_SetMaxRowsCols",_kwnames,&_argo0,&_arg1,&_arg2))
c95e68d8 2761 return NULL;
2d091820
RD
2762 if (_argo0) {
2763 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetMaxRowsCols. Expected _wxToolBarBase_p.");
c95e68d8
RD
2766 return NULL;
2767 }
2768 }
c95e68d8 2769{
ab9bc19b 2770 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2771 wxToolBarBase_SetMaxRowsCols(_arg0,_arg1,_arg2);
ab9bc19b
RD
2772
2773 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
2774} Py_INCREF(Py_None);
2775 _resultobj = Py_None;
c95e68d8
RD
2776 return _resultobj;
2777}
2778
ab2208b5
RD
2779#define wxToolBarBase_GetMaxRows(_swigobj) (_swigobj->GetMaxRows())
2780static PyObject *_wrap_wxToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2781 PyObject * _resultobj;
ab2208b5
RD
2782 int _result;
2783 wxToolBarBase * _arg0;
2d091820 2784 PyObject * _argo0 = 0;
ab2208b5 2785 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
2786
2787 self = self;
ab2208b5 2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetMaxRows",_kwnames,&_argo0))
b26e2dc4 2789 return NULL;
2d091820
RD
2790 if (_argo0) {
2791 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetMaxRows. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2794 return NULL;
2795 }
2796 }
ab9bc19b
RD
2797{
2798 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2799 _result = (int )wxToolBarBase_GetMaxRows(_arg0);
ab9bc19b
RD
2800
2801 wxPy_END_ALLOW_THREADS;
2802} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
2803 return _resultobj;
2804}
2805
ab2208b5
RD
2806#define wxToolBarBase_GetMaxCols(_swigobj) (_swigobj->GetMaxCols())
2807static PyObject *_wrap_wxToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2808 PyObject * _resultobj;
ab2208b5
RD
2809 int _result;
2810 wxToolBarBase * _arg0;
2d091820 2811 PyObject * _argo0 = 0;
107e4716 2812 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
2813
2814 self = self;
ab2208b5 2815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetMaxCols",_kwnames,&_argo0))
b26e2dc4 2816 return NULL;
2d091820
RD
2817 if (_argo0) {
2818 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetMaxCols. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2821 return NULL;
2822 }
2823 }
ab9bc19b
RD
2824{
2825 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2826 _result = (int )wxToolBarBase_GetMaxCols(_arg0);
ab9bc19b
RD
2827
2828 wxPy_END_ALLOW_THREADS;
2829} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
2830 return _resultobj;
2831}
2832
ab2208b5
RD
2833#define wxToolBarBase_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
2834static PyObject *_wrap_wxToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8 2835 PyObject * _resultobj;
ab2208b5
RD
2836 wxToolBarBase * _arg0;
2837 wxSize * _arg1;
2d091820 2838 PyObject * _argo0 = 0;
ab2208b5
RD
2839 wxSize temp;
2840 PyObject * _obj1 = 0;
2841 char *_kwnames[] = { "self","size", NULL };
c95e68d8
RD
2842
2843 self = self;
ab2208b5 2844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarBase_SetToolBitmapSize",_kwnames,&_argo0,&_obj1))
c95e68d8 2845 return NULL;
2d091820
RD
2846 if (_argo0) {
2847 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolBitmapSize. Expected _wxToolBarBase_p.");
c95e68d8
RD
2850 return NULL;
2851 }
2852 }
2853{
ab2208b5
RD
2854 _arg1 = &temp;
2855 if (! wxSize_helper(_obj1, &_arg1))
c95e68d8 2856 return NULL;
c95e68d8 2857}
ab9bc19b
RD
2858{
2859 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2860 wxToolBarBase_SetToolBitmapSize(_arg0,*_arg1);
ab9bc19b
RD
2861
2862 wxPy_END_ALLOW_THREADS;
2863} Py_INCREF(Py_None);
c95e68d8 2864 _resultobj = Py_None;
c95e68d8
RD
2865 return _resultobj;
2866}
2867
ab2208b5
RD
2868#define wxToolBarBase_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
2869static PyObject *_wrap_wxToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8 2870 PyObject * _resultobj;
ab2208b5
RD
2871 wxSize * _result;
2872 wxToolBarBase * _arg0;
2d091820 2873 PyObject * _argo0 = 0;
ab2208b5
RD
2874 char *_kwnames[] = { "self", NULL };
2875 char _ptemp[128];
c95e68d8
RD
2876
2877 self = self;
ab2208b5 2878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolBitmapSize",_kwnames,&_argo0))
c95e68d8 2879 return NULL;
2d091820
RD
2880 if (_argo0) {
2881 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolBitmapSize. Expected _wxToolBarBase_p.");
c95e68d8
RD
2884 return NULL;
2885 }
2886 }
2887{
ab2208b5
RD
2888 wxPy_BEGIN_ALLOW_THREADS;
2889 _result = new wxSize (wxToolBarBase_GetToolBitmapSize(_arg0));
2890
2891 wxPy_END_ALLOW_THREADS;
2892} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2893 _resultobj = Py_BuildValue("s",_ptemp);
2894 return _resultobj;
2895}
2896
2897#define wxToolBarBase_GetToolSize(_swigobj) (_swigobj->GetToolSize())
2898static PyObject *_wrap_wxToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2899 PyObject * _resultobj;
2900 wxSize * _result;
2901 wxToolBarBase * _arg0;
2902 PyObject * _argo0 = 0;
2903 char *_kwnames[] = { "self", NULL };
2904 char _ptemp[128];
2905
2906 self = self;
2907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolSize",_kwnames,&_argo0))
2908 return NULL;
2909 if (_argo0) {
2910 if (_argo0 == Py_None) { _arg0 = NULL; }
2911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolSize. Expected _wxToolBarBase_p.");
c95e68d8 2913 return NULL;
ab2208b5 2914 }
c95e68d8 2915 }
ab9bc19b
RD
2916{
2917 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 2918 _result = new wxSize (wxToolBarBase_GetToolSize(_arg0));
ab9bc19b
RD
2919
2920 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
2921} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2922 _resultobj = Py_BuildValue("s",_ptemp);
b26e2dc4
RD
2923 return _resultobj;
2924}
2925
ab2208b5
RD
2926static void *SwigwxToolBarTowxToolBarBase(void *ptr) {
2927 wxToolBar *src;
2928 wxToolBarBase *dest;
2929 src = (wxToolBar *) ptr;
2930 dest = (wxToolBarBase *) src;
2931 return (void *) dest;
2932}
2933
2934static void *SwigwxToolBarTowxControl(void *ptr) {
2935 wxToolBar *src;
2936 wxControl *dest;
2937 src = (wxToolBar *) ptr;
2938 dest = (wxControl *) src;
2939 return (void *) dest;
2940}
2941
2942static void *SwigwxToolBarTowxWindow(void *ptr) {
2943 wxToolBar *src;
2944 wxWindow *dest;
2945 src = (wxToolBar *) ptr;
2946 dest = (wxWindow *) src;
2947 return (void *) dest;
2948}
2949
2950static void *SwigwxToolBarTowxEvtHandler(void *ptr) {
2951 wxToolBar *src;
2952 wxEvtHandler *dest;
2953 src = (wxToolBar *) ptr;
2954 dest = (wxEvtHandler *) src;
2955 return (void *) dest;
2956}
2957
2958#define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2959static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2960 PyObject * _resultobj;
ab2208b5
RD
2961 wxToolBar * _result;
2962 wxWindow * _arg0;
2963 wxWindowID _arg1;
2964 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
2965 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
2966 long _arg4 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
8e425133 2967 char * _arg5 = (char *) wxToolBarNameStr;
2d091820 2968 PyObject * _argo0 = 0;
ab2208b5
RD
2969 wxPoint temp;
2970 PyObject * _obj2 = 0;
2971 wxSize temp0;
2972 PyObject * _obj3 = 0;
ab2208b5
RD
2973 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
2974 char _ptemp[128];
b26e2dc4
RD
2975
2976 self = self;
8e425133 2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxToolBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
b26e2dc4 2978 return NULL;
2d091820
RD
2979 if (_argo0) {
2980 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
b26e2dc4
RD
2983 return NULL;
2984 }
2985 }
ab2208b5 2986 if (_obj2)
37f6a977 2987{
ab2208b5
RD
2988 _arg2 = &temp;
2989 if (! wxPoint_helper(_obj2, &_arg2))
2990 return NULL;
2991}
2992 if (_obj3)
2993{
2994 _arg3 = &temp0;
2995 if (! wxSize_helper(_obj3, &_arg3))
2996 return NULL;
37f6a977 2997}
ab9bc19b
RD
2998{
2999 wxPy_BEGIN_ALLOW_THREADS;
8e425133 3000 _result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
ab9bc19b
RD
3001
3002 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
3003} if (_result) {
3004 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
3005 _resultobj = Py_BuildValue("s",_ptemp);
3006 } else {
3007 Py_INCREF(Py_None);
3008 _resultobj = Py_None;
3009 }
b26e2dc4
RD
3010 return _resultobj;
3011}
3012
ab2208b5
RD
3013#define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3014static PyObject *_wrap_wxToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 3015 PyObject * _resultobj;
ab2208b5 3016 wxToolBarToolBase * _result;
b26e2dc4 3017 wxToolBar * _arg0;
ab2208b5
RD
3018 wxCoord _arg1;
3019 wxCoord _arg2;
2d091820 3020 PyObject * _argo0 = 0;
ab2208b5
RD
3021 char *_kwnames[] = { "self","x","y", NULL };
3022 char _ptemp[128];
b26e2dc4
RD
3023
3024 self = self;
ab2208b5 3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBar_FindToolForPosition",_kwnames,&_argo0,&_arg1,&_arg2))
b26e2dc4 3026 return NULL;
2d091820
RD
3027 if (_argo0) {
3028 if (_argo0 == Py_None) { _arg0 = NULL; }
3029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
ab2208b5 3030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
b26e2dc4
RD
3031 return NULL;
3032 }
3033 }
ab9bc19b
RD
3034{
3035 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 3036 _result = (wxToolBarToolBase *)wxToolBar_FindToolForPosition(_arg0,_arg1,_arg2);
ab9bc19b
RD
3037
3038 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
3039} if (_result) {
3040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p");
3041 _resultobj = Py_BuildValue("s",_ptemp);
3042 } else {
3043 Py_INCREF(Py_None);
3044 _resultobj = Py_None;
3045 }
b26e2dc4
RD
3046 return _resultobj;
3047}
3048
ab2208b5
RD
3049static void *SwigwxToolBarSimpleTowxToolBarBase(void *ptr) {
3050 wxToolBarSimple *src;
3051 wxToolBarBase *dest;
3052 src = (wxToolBarSimple *) ptr;
3053 dest = (wxToolBarBase *) src;
3054 return (void *) dest;
3055}
3056
3057static void *SwigwxToolBarSimpleTowxControl(void *ptr) {
3058 wxToolBarSimple *src;
3059 wxControl *dest;
3060 src = (wxToolBarSimple *) ptr;
3061 dest = (wxControl *) src;
3062 return (void *) dest;
3063}
3064
3065static void *SwigwxToolBarSimpleTowxWindow(void *ptr) {
3066 wxToolBarSimple *src;
3067 wxWindow *dest;
3068 src = (wxToolBarSimple *) ptr;
3069 dest = (wxWindow *) src;
3070 return (void *) dest;
3071}
3072
3073static void *SwigwxToolBarSimpleTowxEvtHandler(void *ptr) {
3074 wxToolBarSimple *src;
3075 wxEvtHandler *dest;
3076 src = (wxToolBarSimple *) ptr;
3077 dest = (wxEvtHandler *) src;
3078 return (void *) dest;
3079}
3080
3081#define new_wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3082static PyObject *_wrap_new_wxToolBarSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 3083 PyObject * _resultobj;
ab2208b5
RD
3084 wxToolBarSimple * _result;
3085 wxWindow * _arg0;
3086 wxWindowID _arg1;
3087 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
3088 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
3089 long _arg4 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
e02c03a4 3090 char * _arg5 = (char *) wxToolBarNameStr;
2d091820 3091 PyObject * _argo0 = 0;
ab2208b5
RD
3092 wxPoint temp;
3093 PyObject * _obj2 = 0;
3094 wxSize temp0;
3095 PyObject * _obj3 = 0;
ab2208b5
RD
3096 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
3097 char _ptemp[128];
b26e2dc4
RD
3098
3099 self = self;
e02c03a4 3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxToolBarSimple",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
b26e2dc4 3101 return NULL;
2d091820
RD
3102 if (_argo0) {
3103 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
3104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBarSimple. Expected _wxWindow_p.");
b26e2dc4
RD
3106 return NULL;
3107 }
3108 }
ab2208b5
RD
3109 if (_obj2)
3110{
3111 _arg2 = &temp;
3112 if (! wxPoint_helper(_obj2, &_arg2))
3113 return NULL;
3114}
3115 if (_obj3)
3116{
3117 _arg3 = &temp0;
3118 if (! wxSize_helper(_obj3, &_arg3))
3119 return NULL;
ab2208b5 3120}
ab9bc19b
RD
3121{
3122 wxPy_BEGIN_ALLOW_THREADS;
e02c03a4 3123 _result = (wxToolBarSimple *)new_wxToolBarSimple(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
ab9bc19b
RD
3124
3125 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
3126} if (_result) {
3127 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarSimple_p");
3128 _resultobj = Py_BuildValue("s",_ptemp);
3129 } else {
3130 Py_INCREF(Py_None);
3131 _resultobj = Py_None;
3132 }
b26e2dc4
RD
3133 return _resultobj;
3134}
3135
ab2208b5
RD
3136#define wxToolBarSimple_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3137static PyObject *_wrap_wxToolBarSimple_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 3138 PyObject * _resultobj;
ab2208b5
RD
3139 wxToolBarToolBase * _result;
3140 wxToolBarSimple * _arg0;
3141 wxCoord _arg1;
3142 wxCoord _arg2;
2d091820 3143 PyObject * _argo0 = 0;
ab2208b5
RD
3144 char *_kwnames[] = { "self","x","y", NULL };
3145 char _ptemp[128];
b26e2dc4
RD
3146
3147 self = self;
ab2208b5 3148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarSimple_FindToolForPosition",_kwnames,&_argo0,&_arg1,&_arg2))
b26e2dc4 3149 return NULL;
2d091820
RD
3150 if (_argo0) {
3151 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
3152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarSimple_p")) {
3153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarSimple_FindToolForPosition. Expected _wxToolBarSimple_p.");
b26e2dc4
RD
3154 return NULL;
3155 }
3156 }
ab9bc19b
RD
3157{
3158 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 3159 _result = (wxToolBarToolBase *)wxToolBarSimple_FindToolForPosition(_arg0,_arg1,_arg2);
ab9bc19b
RD
3160
3161 wxPy_END_ALLOW_THREADS;
ab2208b5
RD
3162} if (_result) {
3163 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p");
3164 _resultobj = Py_BuildValue("s",_ptemp);
3165 } else {
3166 Py_INCREF(Py_None);
3167 _resultobj = Py_None;
3168 }
b26e2dc4
RD
3169 return _resultobj;
3170}
3171
3172static PyMethodDef stattoolcMethods[] = {
ab2208b5
RD
3173 { "wxToolBarSimple_FindToolForPosition", (PyCFunction) _wrap_wxToolBarSimple_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
3174 { "new_wxToolBarSimple", (PyCFunction) _wrap_new_wxToolBarSimple, METH_VARARGS | METH_KEYWORDS },
3175 { "wxToolBar_FindToolForPosition", (PyCFunction) _wrap_wxToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
107e4716 3176 { "new_wxToolBar", (PyCFunction) _wrap_new_wxToolBar, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
3177 { "wxToolBarBase_GetToolSize", (PyCFunction) _wrap_wxToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
3178 { "wxToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_wxToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
3179 { "wxToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_wxToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
3180 { "wxToolBarBase_GetMaxCols", (PyCFunction) _wrap_wxToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
3181 { "wxToolBarBase_GetMaxRows", (PyCFunction) _wrap_wxToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
3182 { "wxToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_wxToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
3183 { "wxToolBarBase_SetRows", (PyCFunction) _wrap_wxToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
3184 { "wxToolBarBase_GetToolSeparation", (PyCFunction) _wrap_wxToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
3185 { "wxToolBarBase_GetToolPacking", (PyCFunction) _wrap_wxToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
3186 { "wxToolBarBase_GetToolMargins", (PyCFunction) _wrap_wxToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
3187 { "wxToolBarBase_SetToolSeparation", (PyCFunction) _wrap_wxToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
3188 { "wxToolBarBase_SetToolPacking", (PyCFunction) _wrap_wxToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
3189 { "wxToolBarBase_SetMargins", (PyCFunction) _wrap_wxToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
3190 { "wxToolBarBase_SetMarginsXY", (PyCFunction) _wrap_wxToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
3191 { "wxToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_wxToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
3192 { "wxToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_wxToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
3193 { "wxToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_wxToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
3194 { "wxToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_wxToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
3195 { "wxToolBarBase_GetToolEnabled", (PyCFunction) _wrap_wxToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
3196 { "wxToolBarBase_GetToolState", (PyCFunction) _wrap_wxToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
3197 { "wxToolBarBase_SetToolClientData", (PyCFunction) _wrap_wxToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
3198 { "wxToolBarBase_GetToolClientData", (PyCFunction) _wrap_wxToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
3199 { "wxToolBarBase_SetToggle", (PyCFunction) _wrap_wxToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
3200 { "wxToolBarBase_ToggleTool", (PyCFunction) _wrap_wxToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
3201 { "wxToolBarBase_EnableTool", (PyCFunction) _wrap_wxToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
3202 { "wxToolBarBase_Realize", (PyCFunction) _wrap_wxToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
3203 { "wxToolBarBase_ClearTools", (PyCFunction) _wrap_wxToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
3204 { "wxToolBarBase_DeleteTool", (PyCFunction) _wrap_wxToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
3205 { "wxToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_wxToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
3206 { "wxToolBarBase_RemoveTool", (PyCFunction) _wrap_wxToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
3207 { "wxToolBarBase_InsertSeparator", (PyCFunction) _wrap_wxToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
3208 { "wxToolBarBase_AddSeparator", (PyCFunction) _wrap_wxToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
3209 { "wxToolBarBase_InsertControl", (PyCFunction) _wrap_wxToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
3210 { "wxToolBarBase_AddControl", (PyCFunction) _wrap_wxToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
3211 { "wxToolBarBase_InsertSimpleTool", (PyCFunction) _wrap_wxToolBarBase_InsertSimpleTool, METH_VARARGS | METH_KEYWORDS },
3212 { "wxToolBarBase_InsertTool", (PyCFunction) _wrap_wxToolBarBase_InsertTool, METH_VARARGS | METH_KEYWORDS },
3213 { "wxToolBarBase_AddSimpleTool", (PyCFunction) _wrap_wxToolBarBase_AddSimpleTool, METH_VARARGS | METH_KEYWORDS },
3214 { "wxToolBarBase_AddTool", (PyCFunction) _wrap_wxToolBarBase_AddTool, METH_VARARGS | METH_KEYWORDS },
3215 { "wxToolBarToolBase_SetClientData", (PyCFunction) _wrap_wxToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
3216 { "wxToolBarToolBase_GetClientData", (PyCFunction) _wrap_wxToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
3217 { "wxToolBarToolBase_Attach", (PyCFunction) _wrap_wxToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
3218 { "wxToolBarToolBase_Detach", (PyCFunction) _wrap_wxToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
3219 { "wxToolBarToolBase_SetBitmap2", (PyCFunction) _wrap_wxToolBarToolBase_SetBitmap2, METH_VARARGS | METH_KEYWORDS },
3220 { "wxToolBarToolBase_SetBitmap1", (PyCFunction) _wrap_wxToolBarToolBase_SetBitmap1, METH_VARARGS | METH_KEYWORDS },
3221 { "wxToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_wxToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
3222 { "wxToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_wxToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
3223 { "wxToolBarToolBase_SetToggle", (PyCFunction) _wrap_wxToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
3224 { "wxToolBarToolBase_Toggle", (PyCFunction) _wrap_wxToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
3225 { "wxToolBarToolBase_Enable", (PyCFunction) _wrap_wxToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
3226 { "wxToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_wxToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
3227 { "wxToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_wxToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
3228 { "wxToolBarToolBase_GetBitmap", (PyCFunction) _wrap_wxToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
3229 { "wxToolBarToolBase_GetBitmap2", (PyCFunction) _wrap_wxToolBarToolBase_GetBitmap2, METH_VARARGS | METH_KEYWORDS },
3230 { "wxToolBarToolBase_GetBitmap1", (PyCFunction) _wrap_wxToolBarToolBase_GetBitmap1, METH_VARARGS | METH_KEYWORDS },
3231 { "wxToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_wxToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
3232 { "wxToolBarToolBase_IsToggled", (PyCFunction) _wrap_wxToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
3233 { "wxToolBarToolBase_IsEnabled", (PyCFunction) _wrap_wxToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
3234 { "wxToolBarToolBase_GetStyle", (PyCFunction) _wrap_wxToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
3235 { "wxToolBarToolBase_IsSeparator", (PyCFunction) _wrap_wxToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
3236 { "wxToolBarToolBase_IsControl", (PyCFunction) _wrap_wxToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
3237 { "wxToolBarToolBase_IsButton", (PyCFunction) _wrap_wxToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
3238 { "wxToolBarToolBase_GetToolBar", (PyCFunction) _wrap_wxToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
3239 { "wxToolBarToolBase_GetControl", (PyCFunction) _wrap_wxToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
3240 { "wxToolBarToolBase_GetId", (PyCFunction) _wrap_wxToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
3241 { "wxToolBarToolBase_Destroy", (PyCFunction) _wrap_wxToolBarToolBase_Destroy, METH_VARARGS | METH_KEYWORDS },
2fc99549 3242 { "wxStatusBar_SetMinHeight", (PyCFunction) _wrap_wxStatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
3243 { "wxStatusBar_SetStatusWidths", (PyCFunction) _wrap_wxStatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
3244 { "wxStatusBar_SetStatusText", (PyCFunction) _wrap_wxStatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
3245 { "wxStatusBar_SetFieldsCount", (PyCFunction) _wrap_wxStatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
2fc99549
RD
3246 { "wxStatusBar_GetBorderY", (PyCFunction) _wrap_wxStatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
3247 { "wxStatusBar_GetBorderX", (PyCFunction) _wrap_wxStatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
3248 { "wxStatusBar_GetStatusText", (PyCFunction) _wrap_wxStatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
3249 { "wxStatusBar_GetFieldsCount", (PyCFunction) _wrap_wxStatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
3250 { "wxStatusBar_GetFieldRect", (PyCFunction) _wrap_wxStatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
3251 { "new_wxStatusBar", (PyCFunction) _wrap_new_wxStatusBar, METH_VARARGS | METH_KEYWORDS },
b26e2dc4
RD
3252 { NULL, NULL }
3253};
2d091820
RD
3254#ifdef __cplusplus
3255}
3256#endif
3257/*
3258 * This table is used by the pointer type-checker
3259 */
3260static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
3261 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3262 { "_wxEvent","_class_wxEvent",0},
3263 { "_class_wxActivateEvent","_wxActivateEvent",0},
3264 { "_signed_long","_long",0},
3265 { "_wxMenuEvent","_class_wxMenuEvent",0},
4120ef2b
RD
3266 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3267 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
37f6a977 3268 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
4120ef2b 3269 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
3270 { "_wxPrintQuality","_int",0},
3271 { "_wxPrintQuality","_signed_int",0},
3272 { "_wxPrintQuality","_unsigned_int",0},
3273 { "_wxPrintQuality","_wxWindowID",0},
3274 { "_wxPrintQuality","_uint",0},
3275 { "_wxPrintQuality","_EBool",0},
3276 { "_wxPrintQuality","_size_t",0},
c368d904 3277 { "_wxPrintQuality","_time_t",0},
4120ef2b 3278 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
c368d904 3279 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
2d091820 3280 { "_class_wxRegionIterator","_wxRegionIterator",0},
4120ef2b 3281 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2d091820 3282 { "_class_wxMenuBar","_wxMenuBar",0},
ab2208b5
RD
3283 { "_class_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler},
3284 { "_class_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler},
2d091820
RD
3285 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler},
3286 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler},
ab2208b5
RD
3287 { "_class_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler},
3288 { "_class_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler},
2d091820
RD
3289 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
3290 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
3291 { "_class_wxEvtHandler","_wxEvtHandler",0},
3292 { "_wxPaintEvent","_class_wxPaintEvent",0},
3293 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3294 { "_wxCursor","_class_wxCursor",0},
3295 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
ab2208b5
RD
3296 { "_class_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase},
3297 { "_class_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase},
3298 { "_class_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase},
3299 { "_class_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase},
3300 { "_class_wxToolBarBase","_wxToolBarBase",0},
2d091820
RD
3301 { "_wxMask","_class_wxMask",0},
3302 { "_wxPen","_class_wxPen",0},
3303 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3304 { "_byte","_unsigned_char",0},
4120ef2b 3305 { "_wxDataObject","_class_wxDataObject",0},
2d091820 3306 { "_wxStaticBox","_class_wxStaticBox",0},
4120ef2b
RD
3307 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3308 { "_wxPyDropSource","_class_wxPyDropSource",0},
2d091820
RD
3309 { "_wxChoice","_class_wxChoice",0},
3310 { "_wxSlider","_class_wxSlider",0},
2d091820
RD
3311 { "_long","_unsigned_long",0},
3312 { "_long","_signed_long",0},
3313 { "_wxImageList","_class_wxImageList",0},
4120ef2b 3314 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2d091820
RD
3315 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3316 { "_wxBitmapButton","_class_wxBitmapButton",0},
3317 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4120ef2b 3318 { "_class_wxClipboard","_wxClipboard",0},
2d091820
RD
3319 { "_class_wxGauge","_wxGauge",0},
3320 { "_wxDC","_class_wxDC",0},
4120ef2b 3321 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2d091820 3322 { "_wxSpinEvent","_class_wxSpinEvent",0},
4120ef2b 3323 { "_size_t","_wxCoord",0},
2d091820 3324 { "_size_t","_wxPrintQuality",0},
c368d904 3325 { "_size_t","_time_t",0},
2d091820
RD
3326 { "_size_t","_unsigned_int",0},
3327 { "_size_t","_int",0},
3328 { "_size_t","_wxWindowID",0},
3329 { "_size_t","_uint",0},
3330 { "_class_wxRealPoint","_wxRealPoint",0},
167b96c2
RD
3331 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
3332 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2d091820
RD
3333 { "_class_wxMenuItem","_wxMenuItem",0},
3334 { "_class_wxPaintEvent","_wxPaintEvent",0},
3335 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3336 { "_class_wxStatusBar","_wxStatusBar",0},
3337 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
3338 { "_wxPanel","_class_wxPanel",0},
3339 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3340 { "_wxCheckBox","_class_wxCheckBox",0},
3341 { "_wxPyEvent","_class_wxPyEvent",0},
3342 { "_wxTextCtrl","_class_wxTextCtrl",0},
3343 { "_class_wxMask","_wxMask",0},
4120ef2b 3344 { "_wxTextDataObject","_class_wxTextDataObject",0},
2d091820
RD
3345 { "_class_wxKeyEvent","_wxKeyEvent",0},
3346 { "_wxColour","_class_wxColour",0},
3347 { "_class_wxDialog","_wxDialog",0},
4120ef2b 3348 { "_class_wxFileDataObject","_wxFileDataObject",0},
2d091820
RD
3349 { "_wxIdleEvent","_class_wxIdleEvent",0},
3350 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3351 { "_wxToolBar","_class_wxToolBar",0},
4120ef2b 3352 { "_class_wxDataObject","_wxDataObject",0},
2d091820
RD
3353 { "_wxStaticLine","_class_wxStaticLine",0},
3354 { "_wxBrush","_class_wxBrush",0},
4120ef2b
RD
3355 { "_wxDataFormat","_class_wxDataFormat",0},
3356 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2d091820 3357 { "_wxShowEvent","_class_wxShowEvent",0},
4120ef2b 3358 { "_uint","_wxCoord",0},
2d091820 3359 { "_uint","_wxPrintQuality",0},
c368d904 3360 { "_uint","_time_t",0},
2d091820
RD
3361 { "_uint","_size_t",0},
3362 { "_uint","_unsigned_int",0},
3363 { "_uint","_int",0},
3364 { "_uint","_wxWindowID",0},
f6bcfd97 3365 { "_wxChar","_char",0},
37f6a977 3366 { "_wxPyValidator","_class_wxPyValidator",0},
2d091820
RD
3367 { "_class_wxEvent","_wxEvent",0},
3368 { "_wxCheckListBox","_class_wxCheckListBox",0},
3369 { "_wxRect","_class_wxRect",0},
3370 { "_wxCommandEvent","_class_wxCommandEvent",0},
3371 { "_wxSizeEvent","_class_wxSizeEvent",0},
3372 { "_wxPoint","_class_wxPoint",0},
3373 { "_class_wxButton","_wxButton",0},
3374 { "_wxRadioBox","_class_wxRadioBox",0},
c368d904 3375 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
f6bcfd97 3376 { "_char","_wxChar",0},
2d091820 3377 { "_wxBitmap","_class_wxBitmap",0},
2d091820 3378 { "_wxWindowDC","_class_wxWindowDC",0},
f6bcfd97 3379 { "_wxTimerEvent","_class_wxTimerEvent",0},
2d091820
RD
3380 { "_wxScrollBar","_class_wxScrollBar",0},
3381 { "_wxSpinButton","_class_wxSpinButton",0},
2d091820
RD
3382 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3383 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
37f6a977 3384 { "_class_wxValidator","_wxValidator",0},
2d091820
RD
3385 { "_class_wxPyEvent","_wxPyEvent",0},
3386 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3387 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
ab2208b5 3388 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
2d091820 3389 { "_class_wxToolBar","_wxToolBar",0},
4120ef2b 3390 { "_wxDropTarget","_class_wxDropTarget",0},
2d091820
RD
3391 { "_class_wxStaticLine","_wxStaticLine",0},
3392 { "_wxScrollEvent","_class_wxScrollEvent",0},
ab2208b5 3393 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
4120ef2b 3394 { "_EBool","_wxCoord",0},
2d091820
RD
3395 { "_EBool","_wxPrintQuality",0},
3396 { "_EBool","_signed_int",0},
3397 { "_EBool","_int",0},
3398 { "_EBool","_wxWindowID",0},
3399 { "_class_wxRegion","_wxRegion",0},
4120ef2b 3400 { "_class_wxDataFormat","_wxDataFormat",0},
2d091820 3401 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
167b96c2 3402 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2d091820
RD
3403 { "_wxStaticText","_class_wxStaticText",0},
3404 { "_wxFont","_class_wxFont",0},
4120ef2b 3405 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2d091820 3406 { "_wxCloseEvent","_class_wxCloseEvent",0},
2d091820
RD
3407 { "_unsigned_long","_long",0},
3408 { "_class_wxRect","_wxRect",0},
3409 { "_class_wxDC","_wxDC",0},
9cce9de1 3410 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
167b96c2
RD
3411 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
3412 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2d091820
RD
3413 { "_wxFocusEvent","_class_wxFocusEvent",0},
3414 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
f6bcfd97 3415 { "_class_wxTimerEvent","_wxTimerEvent",0},
2d091820
RD
3416 { "_class_wxSpinButton","_wxSpinButton",0},
3417 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3418 { "_class_wxPanel","_wxPanel",0},
3419 { "_class_wxCheckBox","_wxCheckBox",0},
3420 { "_wxComboBox","_class_wxComboBox",0},
3421 { "_wxRadioButton","_class_wxRadioButton",0},
4120ef2b 3422 { "_signed_int","_wxCoord",0},
2d091820
RD
3423 { "_signed_int","_wxPrintQuality",0},
3424 { "_signed_int","_EBool",0},
3425 { "_signed_int","_wxWindowID",0},
3426 { "_signed_int","_int",0},
3427 { "_class_wxTextCtrl","_wxTextCtrl",0},
3428 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4120ef2b 3429 { "_class_wxTextDataObject","_wxTextDataObject",0},
2d091820
RD
3430 { "_wxMenu","_class_wxMenu",0},
3431 { "_class_wxMoveEvent","_wxMoveEvent",0},
3432 { "_wxListBox","_class_wxListBox",0},
3433 { "_wxScreenDC","_class_wxScreenDC",0},
ab2208b5 3434 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
2d091820
RD
3435 { "_WXTYPE","_short",0},
3436 { "_WXTYPE","_signed_short",0},
3437 { "_WXTYPE","_unsigned_short",0},
4120ef2b 3438 { "_class_wxDropTarget","_wxDropTarget",0},
2d091820
RD
3439 { "_class_wxBrush","_wxBrush",0},
3440 { "_unsigned_short","_WXTYPE",0},
3441 { "_unsigned_short","_short",0},
ab2208b5
RD
3442 { "_class_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow},
3443 { "_class_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow},
2d091820
RD
3444 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow},
3445 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow},
ab2208b5
RD
3446 { "_class_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow},
3447 { "_class_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow},
2d091820
RD
3448 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow},
3449 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow},
3450 { "_class_wxWindow","_wxWindow",0},
3451 { "_class_wxStaticText","_wxStaticText",0},
3452 { "_class_wxFont","_wxFont",0},
4120ef2b 3453 { "_wxClipboard","_class_wxClipboard",0},
37f6a977 3454 { "_class_wxPyValidator","_wxPyValidator",0},
2d091820 3455 { "_class_wxCloseEvent","_wxCloseEvent",0},
4120ef2b 3456 { "_wxBusyInfo","_class_wxBusyInfo",0},
2d091820 3457 { "_class_wxMenuEvent","_wxMenuEvent",0},
167b96c2 3458 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
4120ef2b 3459 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2d091820
RD
3460 { "_wxClientDC","_class_wxClientDC",0},
3461 { "_wxMouseEvent","_class_wxMouseEvent",0},
3462 { "_class_wxPoint","_wxPoint",0},
3463 { "_wxRealPoint","_class_wxRealPoint",0},
3464 { "_class_wxRadioBox","_wxRadioBox",0},
3465 { "_signed_short","_WXTYPE",0},
3466 { "_signed_short","_short",0},
3467 { "_wxMemoryDC","_class_wxMemoryDC",0},
4120ef2b 3468 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
2d091820
RD
3469 { "_wxPaintDC","_class_wxPaintDC",0},
3470 { "_class_wxWindowDC","_wxWindowDC",0},
3471 { "_class_wxFocusEvent","_wxFocusEvent",0},
3472 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3473 { "_wxStatusBar","_class_wxStatusBar",0},
2d091820
RD
3474 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3475 { "_class_wxCursor","_wxCursor",0},
3476 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
4120ef2b 3477 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
2d091820
RD
3478 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3479 { "_unsigned_char","_byte",0},
3480 { "_class_wxMenu","_wxMenu",0},
ab2208b5
RD
3481 { "_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl},
3482 { "_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl},
2d091820
RD
3483 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl},
3484 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl},
ab2208b5
RD
3485 { "_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl},
3486 { "_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl},
2d091820
RD
3487 { "_wxControl","_class_wxControl",0},
3488 { "_class_wxListBox","_wxListBox",0},
4120ef2b 3489 { "_unsigned_int","_wxCoord",0},
2d091820 3490 { "_unsigned_int","_wxPrintQuality",0},
c368d904 3491 { "_unsigned_int","_time_t",0},
2d091820
RD
3492 { "_unsigned_int","_size_t",0},
3493 { "_unsigned_int","_uint",0},
3494 { "_unsigned_int","_wxWindowID",0},
3495 { "_unsigned_int","_int",0},
3496 { "_wxIcon","_class_wxIcon",0},
3497 { "_wxDialog","_class_wxDialog",0},
3498 { "_class_wxPen","_wxPen",0},
3499 { "_short","_WXTYPE",0},
3500 { "_short","_unsigned_short",0},
3501 { "_short","_signed_short",0},
3502 { "_class_wxStaticBox","_wxStaticBox",0},
4120ef2b
RD
3503 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3504 { "_class_wxPyDropSource","_wxPyDropSource",0},
2d091820
RD
3505 { "_class_wxScrollEvent","_wxScrollEvent",0},
3506 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3507 { "_class_wxChoice","_wxChoice",0},
3508 { "_class_wxSlider","_wxSlider",0},
3509 { "_class_wxImageList","_wxImageList",0},
3510 { "_class_wxBitmapButton","_wxBitmapButton",0},
167b96c2 3511 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
4120ef2b 3512 { "_wxWindowID","_wxCoord",0},
2d091820 3513 { "_wxWindowID","_wxPrintQuality",0},
c368d904 3514 { "_wxWindowID","_time_t",0},
2d091820
RD
3515 { "_wxWindowID","_size_t",0},
3516 { "_wxWindowID","_EBool",0},
3517 { "_wxWindowID","_uint",0},
3518 { "_wxWindowID","_int",0},
3519 { "_wxWindowID","_signed_int",0},
3520 { "_wxWindowID","_unsigned_int",0},
9cce9de1 3521 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
4120ef2b 3522 { "_int","_wxCoord",0},
2d091820 3523 { "_int","_wxPrintQuality",0},
c368d904 3524 { "_int","_time_t",0},
2d091820
RD
3525 { "_int","_size_t",0},
3526 { "_int","_EBool",0},
3527 { "_int","_uint",0},
3528 { "_int","_wxWindowID",0},
3529 { "_int","_unsigned_int",0},
3530 { "_int","_signed_int",0},
3531 { "_class_wxMouseEvent","_wxMouseEvent",0},
37f6a977 3532 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2d091820 3533 { "_class_wxSpinEvent","_wxSpinEvent",0},
167b96c2 3534 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
c368d904
RD
3535 { "_time_t","_wxCoord",0},
3536 { "_time_t","_wxPrintQuality",0},
3537 { "_time_t","_unsigned_int",0},
3538 { "_time_t","_int",0},
3539 { "_time_t","_wxWindowID",0},
3540 { "_time_t","_uint",0},
3541 { "_time_t","_size_t",0},
167b96c2 3542 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2d091820
RD
3543 { "_wxButton","_class_wxButton",0},
3544 { "_wxSize","_class_wxSize",0},
3545 { "_wxRegionIterator","_class_wxRegionIterator",0},
4120ef2b 3546 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
2d091820
RD
3547 { "_class_wxPaintDC","_wxPaintDC",0},
3548 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
4120ef2b 3549 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
2d091820
RD
3550 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3551 { "_class_wxComboBox","_wxComboBox",0},
3552 { "_class_wxRadioButton","_wxRadioButton",0},
37f6a977 3553 { "_wxValidator","_class_wxValidator",0},
ab2208b5
RD
3554 { "_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase},
3555 { "_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase},
3556 { "_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase},
3557 { "_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase},
3558 { "_wxToolBarBase","_class_wxToolBarBase",0},
2d091820
RD
3559 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3560 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
ab2208b5
RD
3561 { "_class_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl},
3562 { "_class_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl},
2d091820
RD
3563 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl},
3564 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl},
ab2208b5
RD
3565 { "_class_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl},
3566 { "_class_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl},
2d091820
RD
3567 { "_class_wxControl","_wxControl",0},
3568 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3569 { "_class_wxIcon","_wxIcon",0},
3570 { "_class_wxColour","_wxColour",0},
3571 { "_class_wxScreenDC","_wxScreenDC",0},
3572 { "_wxPalette","_class_wxPalette",0},
3573 { "_class_wxIdleEvent","_wxIdleEvent",0},
4120ef2b
RD
3574 { "_wxCoord","_int",0},
3575 { "_wxCoord","_signed_int",0},
3576 { "_wxCoord","_unsigned_int",0},
3577 { "_wxCoord","_wxWindowID",0},
3578 { "_wxCoord","_uint",0},
3579 { "_wxCoord","_EBool",0},
3580 { "_wxCoord","_size_t",0},
c368d904 3581 { "_wxCoord","_time_t",0},
4120ef2b 3582 { "_wxCoord","_wxPrintQuality",0},
2d091820 3583 { "_wxEraseEvent","_class_wxEraseEvent",0},
4120ef2b 3584 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
2d091820
RD
3585 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3586 { "_wxRegion","_class_wxRegion",0},
3587 { "_class_wxShowEvent","_wxShowEvent",0},
4120ef2b 3588 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
2d091820
RD
3589 { "_wxActivateEvent","_class_wxActivateEvent",0},
3590 { "_wxGauge","_class_wxGauge",0},
3591 { "_class_wxCheckListBox","_wxCheckListBox",0},
4120ef2b 3592 { "_class_wxBusyInfo","_wxBusyInfo",0},
2d091820
RD
3593 { "_class_wxCommandEvent","_wxCommandEvent",0},
3594 { "_class_wxClientDC","_wxClientDC",0},
3595 { "_class_wxSizeEvent","_wxSizeEvent",0},
4120ef2b 3596 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
2d091820
RD
3597 { "_class_wxSize","_wxSize",0},
3598 { "_class_wxBitmap","_wxBitmap",0},
3599 { "_class_wxMemoryDC","_wxMemoryDC",0},
4120ef2b 3600 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
2d091820 3601 { "_wxMenuBar","_class_wxMenuBar",0},
ab2208b5
RD
3602 { "_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler},
3603 { "_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler},
2d091820
RD
3604 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler},
3605 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler},
ab2208b5
RD
3606 { "_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler},
3607 { "_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler},
2d091820
RD
3608 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
3609 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
3610 { "_wxEvtHandler","_class_wxEvtHandler",0},
3611 { "_wxMenuItem","_class_wxMenuItem",0},
3612 { "_class_wxScrollBar","_wxScrollBar",0},
2d091820
RD
3613 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3614 { "_wxKeyEvent","_class_wxKeyEvent",0},
3615 { "_wxMoveEvent","_class_wxMoveEvent",0},
3616 { "_class_wxPalette","_wxPalette",0},
4120ef2b 3617 { "_wxFileDataObject","_class_wxFileDataObject",0},
2d091820 3618 { "_class_wxEraseEvent","_wxEraseEvent",0},
4120ef2b 3619 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
ab2208b5
RD
3620 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
3621 { "_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow},
3622 { "_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow},
2d091820
RD
3623 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow},
3624 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow},
ab2208b5
RD
3625 { "_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow},
3626 { "_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow},
2d091820
RD
3627 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow},
3628 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow},
3629 { "_wxWindow","_class_wxWindow",0},
167b96c2 3630 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2d091820
RD
3631{0,0,0}};
3632
b26e2dc4
RD
3633static PyObject *SWIG_globals;
3634#ifdef __cplusplus
3635extern "C"
3636#endif
2d091820 3637SWIGEXPORT(void) initstattoolc() {
b26e2dc4
RD
3638 PyObject *m, *d;
3639 SWIG_globals = SWIG_newvarlink();
3640 m = Py_InitModule("stattoolc", stattoolcMethods);
3641 d = PyModule_GetDict(m);
ab2208b5
RD
3642 PyDict_SetItemString(d,"wxTOOL_STYLE_BUTTON", PyInt_FromLong((long) wxTOOL_STYLE_BUTTON));
3643 PyDict_SetItemString(d,"wxTOOL_STYLE_SEPARATOR", PyInt_FromLong((long) wxTOOL_STYLE_SEPARATOR));
3644 PyDict_SetItemString(d,"wxTOOL_STYLE_CONTROL", PyInt_FromLong((long) wxTOOL_STYLE_CONTROL));
2d091820
RD
3645{
3646 int i;
3647 for (i = 0; _swig_mapping[i].n1; i++)
3648 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
3649}
b26e2dc4 3650}