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