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