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