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