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