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