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