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