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