]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/stattool.cpp
Added includes to correct compilo
[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
be86ffe3
RD
787#define wxToolBarToolBase_GetKind(_swigobj) (_swigobj->GetKind())
788static PyObject *_wrap_wxToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
789 PyObject * _resultobj;
790 wxItemKind _result;
791 wxToolBarToolBase * _arg0;
792 PyObject * _argo0 = 0;
793 char *_kwnames[] = { "self", NULL };
794
795 self = self;
796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetKind",_kwnames,&_argo0))
797 return NULL;
798 if (_argo0) {
799 if (_argo0 == Py_None) { _arg0 = NULL; }
800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetKind. Expected _wxToolBarToolBase_p.");
802 return NULL;
803 }
804 }
805{
806 PyThreadState* __tstate = wxPyBeginAllowThreads();
807 _result = (wxItemKind )wxToolBarToolBase_GetKind(_arg0);
808
809 wxPyEndAllowThreads(__tstate);
810 if (PyErr_Occurred()) return NULL;
811} _resultobj = Py_BuildValue("i",_result);
812 return _resultobj;
813}
814
ab2208b5
RD
815#define wxToolBarToolBase_IsEnabled(_swigobj) (_swigobj->IsEnabled())
816static PyObject *_wrap_wxToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 817 PyObject * _resultobj;
ab2208b5
RD
818 bool _result;
819 wxToolBarToolBase * _arg0;
2d091820 820 PyObject * _argo0 = 0;
107e4716 821 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
822
823 self = self;
ab2208b5 824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsEnabled",_kwnames,&_argo0))
b26e2dc4 825 return NULL;
2d091820
RD
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_IsEnabled. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
830 return NULL;
831 }
832 }
ab9bc19b 833{
474c48f9 834 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 835 _result = (bool )wxToolBarToolBase_IsEnabled(_arg0);
ab9bc19b 836
474c48f9 837 wxPyEndAllowThreads(__tstate);
4dfaa61e 838 if (PyErr_Occurred()) return NULL;
ab9bc19b 839} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
840 return _resultobj;
841}
842
ab2208b5
RD
843#define wxToolBarToolBase_IsToggled(_swigobj) (_swigobj->IsToggled())
844static PyObject *_wrap_wxToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 845 PyObject * _resultobj;
ab2208b5
RD
846 bool _result;
847 wxToolBarToolBase * _arg0;
56f5d962 848 PyObject * _argo0 = 0;
ab2208b5 849 char *_kwnames[] = { "self", NULL };
56f5d962
RD
850
851 self = self;
ab2208b5 852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsToggled",_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_IsToggled. Expected _wxToolBarToolBase_p.");
56f5d962
RD
858 return NULL;
859 }
860 }
861{
474c48f9 862 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 863 _result = (bool )wxToolBarToolBase_IsToggled(_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
ab2208b5
RD
871#define wxToolBarToolBase_CanBeToggled(_swigobj) (_swigobj->CanBeToggled())
872static PyObject *_wrap_wxToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 873 PyObject * _resultobj;
ab2208b5
RD
874 bool _result;
875 wxToolBarToolBase * _arg0;
56f5d962
RD
876 PyObject * _argo0 = 0;
877 char *_kwnames[] = { "self", NULL };
878
879 self = self;
ab2208b5 880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_CanBeToggled",_kwnames,&_argo0))
56f5d962
RD
881 return NULL;
882 if (_argo0) {
883 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_CanBeToggled. Expected _wxToolBarToolBase_p.");
56f5d962
RD
886 return NULL;
887 }
888 }
889{
474c48f9 890 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 891 _result = (bool )wxToolBarToolBase_CanBeToggled(_arg0);
56f5d962 892
474c48f9 893 wxPyEndAllowThreads(__tstate);
4dfaa61e 894 if (PyErr_Occurred()) return NULL;
ab2208b5 895} _resultobj = Py_BuildValue("i",_result);
56f5d962
RD
896 return _resultobj;
897}
898
f0972d1e
RD
899#define wxToolBarToolBase_GetNormalBitmap(_swigobj) (_swigobj->GetNormalBitmap())
900static PyObject *_wrap_wxToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 901 PyObject * _resultobj;
ab2208b5
RD
902 wxBitmap * _result;
903 wxToolBarToolBase * _arg0;
56f5d962 904 PyObject * _argo0 = 0;
ab2208b5
RD
905 char *_kwnames[] = { "self", NULL };
906 char _ptemp[128];
56f5d962
RD
907
908 self = self;
f0972d1e 909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetNormalBitmap",_kwnames,&_argo0))
56f5d962
RD
910 return NULL;
911 if (_argo0) {
912 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5 913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
f0972d1e 914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetNormalBitmap. Expected _wxToolBarToolBase_p.");
56f5d962
RD
915 return NULL;
916 }
917 }
918{
474c48f9 919 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 920 const wxBitmap & _result_ref = wxToolBarToolBase_GetNormalBitmap(_arg0);
f0972d1e 921 _result = (wxBitmap *) &_result_ref;
56f5d962 922
474c48f9 923 wxPyEndAllowThreads(__tstate);
4dfaa61e 924 if (PyErr_Occurred()) return NULL;
f0972d1e
RD
925} if (_result) {
926 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
927 _resultobj = Py_BuildValue("s",_ptemp);
928 } else {
929 Py_INCREF(Py_None);
930 _resultobj = Py_None;
931 }
56f5d962
RD
932 return _resultobj;
933}
934
f0972d1e
RD
935#define wxToolBarToolBase_GetDisabledBitmap(_swigobj) (_swigobj->GetDisabledBitmap())
936static PyObject *_wrap_wxToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 937 PyObject * _resultobj;
ab2208b5
RD
938 wxBitmap * _result;
939 wxToolBarToolBase * _arg0;
56f5d962
RD
940 PyObject * _argo0 = 0;
941 char *_kwnames[] = { "self", NULL };
ab2208b5 942 char _ptemp[128];
56f5d962
RD
943
944 self = self;
f0972d1e 945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetDisabledBitmap",_kwnames,&_argo0))
56f5d962
RD
946 return NULL;
947 if (_argo0) {
948 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5 949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
f0972d1e 950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetDisabledBitmap. Expected _wxToolBarToolBase_p.");
56f5d962
RD
951 return NULL;
952 }
953 }
954{
474c48f9 955 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 956 const wxBitmap & _result_ref = wxToolBarToolBase_GetDisabledBitmap(_arg0);
f0972d1e 957 _result = (wxBitmap *) &_result_ref;
56f5d962 958
474c48f9 959 wxPyEndAllowThreads(__tstate);
4dfaa61e 960 if (PyErr_Occurred()) return NULL;
f0972d1e
RD
961} if (_result) {
962 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
963 _resultobj = Py_BuildValue("s",_ptemp);
964 } else {
965 Py_INCREF(Py_None);
966 _resultobj = Py_None;
967 }
56f5d962
RD
968 return _resultobj;
969}
970
ab2208b5
RD
971#define wxToolBarToolBase_GetBitmap(_swigobj) (_swigobj->GetBitmap())
972static PyObject *_wrap_wxToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 973 PyObject * _resultobj;
ab2208b5
RD
974 wxBitmap * _result;
975 wxToolBarToolBase * _arg0;
56f5d962 976 PyObject * _argo0 = 0;
ab2208b5
RD
977 char *_kwnames[] = { "self", NULL };
978 char _ptemp[128];
56f5d962
RD
979
980 self = self;
ab2208b5 981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetBitmap",_kwnames,&_argo0))
56f5d962
RD
982 return NULL;
983 if (_argo0) {
984 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetBitmap. Expected _wxToolBarToolBase_p.");
56f5d962
RD
987 return NULL;
988 }
989 }
990{
474c48f9 991 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 992 _result = new wxBitmap (wxToolBarToolBase_GetBitmap(_arg0));
56f5d962 993
474c48f9 994 wxPyEndAllowThreads(__tstate);
4dfaa61e 995 if (PyErr_Occurred()) return NULL;
3e212503
RD
996} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
997 _resultobj = Py_BuildValue("s",_ptemp);
56f5d962
RD
998 return _resultobj;
999}
1000
f0972d1e
RD
1001#define wxToolBarToolBase_GetLabel(_swigobj) (_swigobj->GetLabel())
1002static PyObject *_wrap_wxToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1003 PyObject * _resultobj;
1004 wxString * _result;
1005 wxToolBarToolBase * _arg0;
1006 PyObject * _argo0 = 0;
1007 char *_kwnames[] = { "self", NULL };
1008
1009 self = self;
1010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetLabel",_kwnames,&_argo0))
1011 return NULL;
1012 if (_argo0) {
1013 if (_argo0 == Py_None) { _arg0 = NULL; }
1014 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetLabel. Expected _wxToolBarToolBase_p.");
1016 return NULL;
1017 }
1018 }
1019{
1020 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1021 _result = new wxString (wxToolBarToolBase_GetLabel(_arg0));
f0972d1e
RD
1022
1023 wxPyEndAllowThreads(__tstate);
1024 if (PyErr_Occurred()) return NULL;
1025}{
c8bc7bb8
RD
1026#if wxUSE_UNICODE
1027 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1028#else
f0972d1e 1029 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1030#endif
f0972d1e
RD
1031}
1032{
1033 delete _result;
1034}
1035 return _resultobj;
1036}
1037
ab2208b5
RD
1038#define wxToolBarToolBase_GetShortHelp(_swigobj) (_swigobj->GetShortHelp())
1039static PyObject *_wrap_wxToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 1040 PyObject * _resultobj;
ab2208b5
RD
1041 wxString * _result;
1042 wxToolBarToolBase * _arg0;
56f5d962
RD
1043 PyObject * _argo0 = 0;
1044 char *_kwnames[] = { "self", NULL };
1045
1046 self = self;
ab2208b5 1047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetShortHelp",_kwnames,&_argo0))
56f5d962
RD
1048 return NULL;
1049 if (_argo0) {
1050 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetShortHelp. Expected _wxToolBarToolBase_p.");
56f5d962
RD
1053 return NULL;
1054 }
1055 }
1056{
474c48f9 1057 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1058 _result = new wxString (wxToolBarToolBase_GetShortHelp(_arg0));
56f5d962 1059
474c48f9 1060 wxPyEndAllowThreads(__tstate);
4dfaa61e 1061 if (PyErr_Occurred()) return NULL;
ab2208b5 1062}{
c8bc7bb8
RD
1063#if wxUSE_UNICODE
1064 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1065#else
e02c03a4 1066 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1067#endif
56f5d962 1068}
56f5d962 1069{
ab2208b5
RD
1070 delete _result;
1071}
56f5d962
RD
1072 return _resultobj;
1073}
1074
ab2208b5
RD
1075#define wxToolBarToolBase_GetLongHelp(_swigobj) (_swigobj->GetLongHelp())
1076static PyObject *_wrap_wxToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 1077 PyObject * _resultobj;
ab2208b5
RD
1078 wxString * _result;
1079 wxToolBarToolBase * _arg0;
56f5d962
RD
1080 PyObject * _argo0 = 0;
1081 char *_kwnames[] = { "self", NULL };
1082
1083 self = self;
ab2208b5 1084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetLongHelp",_kwnames,&_argo0))
56f5d962
RD
1085 return NULL;
1086 if (_argo0) {
1087 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetLongHelp. Expected _wxToolBarToolBase_p.");
56f5d962
RD
1090 return NULL;
1091 }
1092 }
1093{
474c48f9 1094 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1095 _result = new wxString (wxToolBarToolBase_GetLongHelp(_arg0));
56f5d962 1096
474c48f9 1097 wxPyEndAllowThreads(__tstate);
4dfaa61e 1098 if (PyErr_Occurred()) return NULL;
ab2208b5 1099}{
c8bc7bb8
RD
1100#if wxUSE_UNICODE
1101 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1102#else
e02c03a4 1103 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 1104#endif
ab2208b5
RD
1105}
1106{
1107 delete _result;
1108}
56f5d962
RD
1109 return _resultobj;
1110}
1111
ab2208b5
RD
1112#define wxToolBarToolBase_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
1113static PyObject *_wrap_wxToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
1114 PyObject * _resultobj;
1115 bool _result;
ab2208b5 1116 wxToolBarToolBase * _arg0;
21f8d7ea 1117 bool _arg1;
2d091820 1118 PyObject * _argo0 = 0;
21f8d7ea 1119 int tempbool1;
ab2208b5 1120 char *_kwnames[] = { "self","enable", NULL };
21f8d7ea
RD
1121
1122 self = self;
ab2208b5 1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarToolBase_Enable",_kwnames,&_argo0,&tempbool1))
21f8d7ea 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_Enable. Expected _wxToolBarToolBase_p.");
21f8d7ea
RD
1129 return NULL;
1130 }
1131 }
1132 _arg1 = (bool ) tempbool1;
ab9bc19b 1133{
474c48f9 1134 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1135 _result = (bool )wxToolBarToolBase_Enable(_arg0,_arg1);
ab9bc19b 1136
474c48f9 1137 wxPyEndAllowThreads(__tstate);
4dfaa61e 1138 if (PyErr_Occurred()) return NULL;
ab9bc19b 1139} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
1140 return _resultobj;
1141}
1142
f0972d1e 1143#define wxToolBarToolBase_Toggle(_swigobj) (_swigobj->Toggle())
ab2208b5 1144static PyObject *_wrap_wxToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1145 PyObject * _resultobj;
ab2208b5 1146 wxToolBarToolBase * _arg0;
2d091820 1147 PyObject * _argo0 = 0;
f0972d1e 1148 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1149
1150 self = self;
f0972d1e 1151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_Toggle",_kwnames,&_argo0))
b26e2dc4 1152 return NULL;
2d091820
RD
1153 if (_argo0) {
1154 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Toggle. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
1157 return NULL;
1158 }
1159 }
ab9bc19b 1160{
474c48f9 1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1162 wxToolBarToolBase_Toggle(_arg0);
ab9bc19b 1163
474c48f9 1164 wxPyEndAllowThreads(__tstate);
4dfaa61e 1165 if (PyErr_Occurred()) return NULL;
f0972d1e
RD
1166} Py_INCREF(Py_None);
1167 _resultobj = Py_None;
b26e2dc4
RD
1168 return _resultobj;
1169}
1170
ab2208b5
RD
1171#define wxToolBarToolBase_SetToggle(_swigobj,_swigarg0) (_swigobj->SetToggle(_swigarg0))
1172static PyObject *_wrap_wxToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
1173 PyObject * _resultobj;
1174 bool _result;
ab2208b5 1175 wxToolBarToolBase * _arg0;
21f8d7ea 1176 bool _arg1;
2d091820 1177 PyObject * _argo0 = 0;
21f8d7ea 1178 int tempbool1;
ab2208b5 1179 char *_kwnames[] = { "self","toggle", NULL };
21f8d7ea
RD
1180
1181 self = self;
ab2208b5 1182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarToolBase_SetToggle",_kwnames,&_argo0,&tempbool1))
21f8d7ea 1183 return NULL;
2d091820
RD
1184 if (_argo0) {
1185 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetToggle. Expected _wxToolBarToolBase_p.");
21f8d7ea
RD
1188 return NULL;
1189 }
1190 }
1191 _arg1 = (bool ) tempbool1;
ab9bc19b 1192{
474c48f9 1193 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1194 _result = (bool )wxToolBarToolBase_SetToggle(_arg0,_arg1);
ab9bc19b 1195
474c48f9 1196 wxPyEndAllowThreads(__tstate);
4dfaa61e 1197 if (PyErr_Occurred()) return NULL;
ab9bc19b 1198} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
1199 return _resultobj;
1200}
1201
ab2208b5
RD
1202#define wxToolBarToolBase_SetShortHelp(_swigobj,_swigarg0) (_swigobj->SetShortHelp(_swigarg0))
1203static PyObject *_wrap_wxToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1204 PyObject * _resultobj;
1205 bool _result;
ab2208b5
RD
1206 wxToolBarToolBase * _arg0;
1207 wxString * _arg1;
2d091820 1208 PyObject * _argo0 = 0;
ab2208b5
RD
1209 PyObject * _obj1 = 0;
1210 char *_kwnames[] = { "self","help", NULL };
b26e2dc4
RD
1211
1212 self = self;
ab2208b5 1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetShortHelp",_kwnames,&_argo0,&_obj1))
b26e2dc4 1214 return NULL;
2d091820
RD
1215 if (_argo0) {
1216 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetShortHelp. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
1219 return NULL;
1220 }
1221 }
ab2208b5 1222{
c8bc7bb8
RD
1223 _arg1 = wxString_in_helper(_obj1);
1224 if (_arg1 == NULL)
2cd2fac8 1225 return NULL;
ab2208b5 1226}
ab9bc19b 1227{
474c48f9 1228 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1229 _result = (bool )wxToolBarToolBase_SetShortHelp(_arg0,*_arg1);
ab9bc19b 1230
474c48f9 1231 wxPyEndAllowThreads(__tstate);
4dfaa61e 1232 if (PyErr_Occurred()) return NULL;
ab9bc19b 1233} _resultobj = Py_BuildValue("i",_result);
ab2208b5
RD
1234{
1235 if (_obj1)
1236 delete _arg1;
1237}
b26e2dc4
RD
1238 return _resultobj;
1239}
1240
ab2208b5
RD
1241#define wxToolBarToolBase_SetLongHelp(_swigobj,_swigarg0) (_swigobj->SetLongHelp(_swigarg0))
1242static PyObject *_wrap_wxToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
1243 PyObject * _resultobj;
1244 bool _result;
ab2208b5
RD
1245 wxToolBarToolBase * _arg0;
1246 wxString * _arg1;
2d091820 1247 PyObject * _argo0 = 0;
ab2208b5
RD
1248 PyObject * _obj1 = 0;
1249 char *_kwnames[] = { "self","help", NULL };
21f8d7ea
RD
1250
1251 self = self;
ab2208b5 1252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetLongHelp",_kwnames,&_argo0,&_obj1))
21f8d7ea 1253 return NULL;
2d091820
RD
1254 if (_argo0) {
1255 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetLongHelp. Expected _wxToolBarToolBase_p.");
21f8d7ea
RD
1258 return NULL;
1259 }
1260 }
ab2208b5 1261{
c8bc7bb8
RD
1262 _arg1 = wxString_in_helper(_obj1);
1263 if (_arg1 == NULL)
2cd2fac8 1264 return NULL;
ab2208b5 1265}
ab9bc19b 1266{
474c48f9 1267 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1268 _result = (bool )wxToolBarToolBase_SetLongHelp(_arg0,*_arg1);
ab9bc19b 1269
474c48f9 1270 wxPyEndAllowThreads(__tstate);
4dfaa61e 1271 if (PyErr_Occurred()) return NULL;
ab9bc19b 1272} _resultobj = Py_BuildValue("i",_result);
ab2208b5
RD
1273{
1274 if (_obj1)
1275 delete _arg1;
1276}
21f8d7ea
RD
1277 return _resultobj;
1278}
1279
f0972d1e
RD
1280#define wxToolBarToolBase_SetNormalBitmap(_swigobj,_swigarg0) (_swigobj->SetNormalBitmap(_swigarg0))
1281static PyObject *_wrap_wxToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1282 PyObject * _resultobj;
ab2208b5
RD
1283 wxToolBarToolBase * _arg0;
1284 wxBitmap * _arg1;
2d091820 1285 PyObject * _argo0 = 0;
ab2208b5
RD
1286 PyObject * _argo1 = 0;
1287 char *_kwnames[] = { "self","bmp", NULL };
b26e2dc4
RD
1288
1289 self = self;
f0972d1e 1290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetNormalBitmap",_kwnames,&_argo0,&_argo1))
b26e2dc4 1291 return NULL;
2d091820
RD
1292 if (_argo0) {
1293 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5 1294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
f0972d1e 1295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetNormalBitmap. Expected _wxToolBarToolBase_p.");
ab2208b5
RD
1296 return NULL;
1297 }
1298 }
1299 if (_argo1) {
1300 if (_argo1 == Py_None) { _arg1 = NULL; }
1301 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
f0972d1e 1302 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarToolBase_SetNormalBitmap. Expected _wxBitmap_p.");
b26e2dc4
RD
1303 return NULL;
1304 }
1305 }
ab9bc19b 1306{
474c48f9 1307 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1308 wxToolBarToolBase_SetNormalBitmap(_arg0,*_arg1);
ab9bc19b 1309
474c48f9 1310 wxPyEndAllowThreads(__tstate);
4dfaa61e 1311 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
1312} Py_INCREF(Py_None);
1313 _resultobj = Py_None;
b26e2dc4
RD
1314 return _resultobj;
1315}
1316
f0972d1e
RD
1317#define wxToolBarToolBase_SetDisabledBitmap(_swigobj,_swigarg0) (_swigobj->SetDisabledBitmap(_swigarg0))
1318static PyObject *_wrap_wxToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 1319 PyObject * _resultobj;
ab2208b5
RD
1320 wxToolBarToolBase * _arg0;
1321 wxBitmap * _arg1;
2d091820 1322 PyObject * _argo0 = 0;
ab2208b5
RD
1323 PyObject * _argo1 = 0;
1324 char *_kwnames[] = { "self","bmp", NULL };
21f8d7ea
RD
1325
1326 self = self;
f0972d1e 1327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetDisabledBitmap",_kwnames,&_argo0,&_argo1))
21f8d7ea 1328 return NULL;
2d091820
RD
1329 if (_argo0) {
1330 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5 1331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
f0972d1e 1332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetDisabledBitmap. Expected _wxToolBarToolBase_p.");
ab2208b5
RD
1333 return NULL;
1334 }
1335 }
1336 if (_argo1) {
1337 if (_argo1 == Py_None) { _arg1 = NULL; }
1338 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
f0972d1e
RD
1339 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarToolBase_SetDisabledBitmap. Expected _wxBitmap_p.");
1340 return NULL;
1341 }
1342 }
1343{
1344 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1345 wxToolBarToolBase_SetDisabledBitmap(_arg0,*_arg1);
f0972d1e
RD
1346
1347 wxPyEndAllowThreads(__tstate);
1348 if (PyErr_Occurred()) return NULL;
1349} Py_INCREF(Py_None);
1350 _resultobj = Py_None;
1351 return _resultobj;
1352}
1353
1354#define wxToolBarToolBase_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
1355static PyObject *_wrap_wxToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1356 PyObject * _resultobj;
1357 wxToolBarToolBase * _arg0;
1358 wxString * _arg1;
1359 PyObject * _argo0 = 0;
1360 PyObject * _obj1 = 0;
1361 char *_kwnames[] = { "self","label", NULL };
1362
1363 self = self;
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetLabel",_kwnames,&_argo0,&_obj1))
1365 return NULL;
1366 if (_argo0) {
1367 if (_argo0 == Py_None) { _arg0 = NULL; }
1368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetLabel. Expected _wxToolBarToolBase_p.");
21f8d7ea
RD
1370 return NULL;
1371 }
1372 }
f0972d1e 1373{
c8bc7bb8
RD
1374 _arg1 = wxString_in_helper(_obj1);
1375 if (_arg1 == NULL)
f0972d1e 1376 return NULL;
f0972d1e 1377}
ab9bc19b 1378{
474c48f9 1379 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1380 wxToolBarToolBase_SetLabel(_arg0,*_arg1);
ab9bc19b 1381
474c48f9 1382 wxPyEndAllowThreads(__tstate);
4dfaa61e 1383 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
1384} Py_INCREF(Py_None);
1385 _resultobj = Py_None;
f0972d1e
RD
1386{
1387 if (_obj1)
1388 delete _arg1;
1389}
21f8d7ea
RD
1390 return _resultobj;
1391}
1392
ab2208b5
RD
1393#define wxToolBarToolBase_Detach(_swigobj) (_swigobj->Detach())
1394static PyObject *_wrap_wxToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1395 PyObject * _resultobj;
ab2208b5 1396 wxToolBarToolBase * _arg0;
2d091820 1397 PyObject * _argo0 = 0;
107e4716 1398 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1399
1400 self = self;
ab2208b5 1401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_Detach",_kwnames,&_argo0))
b26e2dc4 1402 return NULL;
2d091820
RD
1403 if (_argo0) {
1404 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Detach. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
1407 return NULL;
1408 }
1409 }
ab9bc19b 1410{
474c48f9 1411 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1412 wxToolBarToolBase_Detach(_arg0);
ab9bc19b 1413
474c48f9 1414 wxPyEndAllowThreads(__tstate);
4dfaa61e 1415 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
1416} Py_INCREF(Py_None);
1417 _resultobj = Py_None;
b26e2dc4
RD
1418 return _resultobj;
1419}
1420
ab2208b5
RD
1421#define wxToolBarToolBase_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
1422static PyObject *_wrap_wxToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 1423 PyObject * _resultobj;
ab2208b5
RD
1424 wxToolBarToolBase * _arg0;
1425 wxToolBarBase * _arg1;
2d091820
RD
1426 PyObject * _argo0 = 0;
1427 PyObject * _argo1 = 0;
ab2208b5 1428 char *_kwnames[] = { "self","tbar", NULL };
21f8d7ea
RD
1429
1430 self = self;
ab2208b5 1431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_Attach",_kwnames,&_argo0,&_argo1))
21f8d7ea 1432 return NULL;
2d091820
RD
1433 if (_argo0) {
1434 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Attach. Expected _wxToolBarToolBase_p.");
21f8d7ea
RD
1437 return NULL;
1438 }
1439 }
2d091820
RD
1440 if (_argo1) {
1441 if (_argo1 == Py_None) { _arg1 = NULL; }
ab2208b5
RD
1442 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBarBase_p")) {
1443 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarToolBase_Attach. Expected _wxToolBarBase_p.");
21f8d7ea
RD
1444 return NULL;
1445 }
1446 }
ab9bc19b 1447{
474c48f9 1448 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1449 wxToolBarToolBase_Attach(_arg0,_arg1);
ab9bc19b 1450
474c48f9 1451 wxPyEndAllowThreads(__tstate);
4dfaa61e 1452 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
1453} Py_INCREF(Py_None);
1454 _resultobj = Py_None;
21f8d7ea
RD
1455 return _resultobj;
1456}
1457
ab2208b5
RD
1458static PyObject * wxToolBarToolBase_GetClientData(wxToolBarToolBase *self) {
1459 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1460 if (udata) {
1461 Py_INCREF(udata->m_obj);
1462 return udata->m_obj;
1463 } else {
1464 Py_INCREF(Py_None);
1465 return Py_None;
1466 }
1467 }
1468static PyObject *_wrap_wxToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1469 PyObject * _resultobj;
ab2208b5
RD
1470 PyObject * _result;
1471 wxToolBarToolBase * _arg0;
2d091820 1472 PyObject * _argo0 = 0;
107e4716 1473 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1474
1475 self = self;
ab2208b5 1476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetClientData",_kwnames,&_argo0))
b26e2dc4 1477 return NULL;
2d091820
RD
1478 if (_argo0) {
1479 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetClientData. Expected _wxToolBarToolBase_p.");
b26e2dc4
RD
1482 return NULL;
1483 }
1484 }
ab9bc19b 1485{
474c48f9 1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1487 _result = (PyObject *)wxToolBarToolBase_GetClientData(_arg0);
ab9bc19b 1488
474c48f9 1489 wxPyEndAllowThreads(__tstate);
4dfaa61e 1490 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
1491}{
1492 _resultobj = _result;
1493}
b26e2dc4
RD
1494 return _resultobj;
1495}
1496
ab2208b5
RD
1497static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject * clientData) {
1498 self->SetClientData(new wxPyUserData(clientData));
1499 }
1500static PyObject *_wrap_wxToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 1501 PyObject * _resultobj;
ab2208b5
RD
1502 wxToolBarToolBase * _arg0;
1503 PyObject * _arg1;
2d091820 1504 PyObject * _argo0 = 0;
ab2208b5
RD
1505 PyObject * _obj1 = 0;
1506 char *_kwnames[] = { "self","clientData", NULL };
1507
1508 self = self;
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetClientData",_kwnames,&_argo0,&_obj1))
1510 return NULL;
1511 if (_argo0) {
1512 if (_argo0 == Py_None) { _arg0 = NULL; }
1513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) {
1514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetClientData. Expected _wxToolBarToolBase_p.");
1515 return NULL;
1516 }
1517 }
1518{
1519 _arg1 = _obj1;
1520}
1521{
474c48f9 1522 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1523 wxToolBarToolBase_SetClientData(_arg0,_arg1);
ab2208b5 1524
474c48f9 1525 wxPyEndAllowThreads(__tstate);
4dfaa61e 1526 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
1527} Py_INCREF(Py_None);
1528 _resultobj = Py_None;
1529 return _resultobj;
1530}
1531
1532static void *SwigwxToolBarBaseTowxControl(void *ptr) {
1533 wxToolBarBase *src;
1534 wxControl *dest;
1535 src = (wxToolBarBase *) ptr;
1536 dest = (wxControl *) src;
1537 return (void *) dest;
1538}
1539
1540static void *SwigwxToolBarBaseTowxWindow(void *ptr) {
1541 wxToolBarBase *src;
1542 wxWindow *dest;
1543 src = (wxToolBarBase *) ptr;
1544 dest = (wxWindow *) src;
1545 return (void *) dest;
1546}
1547
1548static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr) {
1549 wxToolBarBase *src;
1550 wxEvtHandler *dest;
1551 src = (wxToolBarBase *) ptr;
1552 dest = (wxEvtHandler *) src;
1553 return (void *) dest;
1554}
1555
9df61a29
RD
1556static void *SwigwxToolBarBaseTowxObject(void *ptr) {
1557 wxToolBarBase *src;
1558 wxObject *dest;
1559 src = (wxToolBarBase *) ptr;
1560 dest = (wxObject *) src;
1561 return (void *) dest;
1562}
1563
be86ffe3 1564static wxToolBarToolBase * wxToolBarBase_AddTool(wxToolBarBase *self,int id,const wxString & label,const wxBitmap & bitmap,const wxBitmap & bmpDisabled,wxItemKind kind,const wxString & shortHelp,const wxString & longHelp,PyObject * clientData) {
ab2208b5
RD
1565 wxPyUserData* udata = NULL;
1566 if (clientData)
1567 udata = new wxPyUserData(clientData);
be86ffe3
RD
1568 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1569 shortHelp, longHelp, udata);
ab2208b5
RD
1570 }
1571static PyObject *_wrap_wxToolBarBase_AddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1572 PyObject * _resultobj;
1573 wxToolBarToolBase * _result;
1574 wxToolBarBase * _arg0;
1575 int _arg1;
be86ffe3
RD
1576 wxString * _arg2;
1577 wxBitmap * _arg3;
1578 wxBitmap * _arg4;
1579 wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
9a74fcaf
RD
1580 wxString * _arg6 = (wxString *) &wxPyEmptyString;
1581 wxString * _arg7 = (wxString *) &wxPyEmptyString;
be86ffe3 1582 PyObject * _arg8 = (PyObject *) NULL;
ab2208b5 1583 PyObject * _argo0 = 0;
be86ffe3 1584 PyObject * _obj2 = 0;
ab2208b5 1585 PyObject * _argo3 = 0;
be86ffe3 1586 PyObject * _argo4 = 0;
ab2208b5
RD
1587 PyObject * _obj6 = 0;
1588 PyObject * _obj7 = 0;
be86ffe3
RD
1589 PyObject * _obj8 = 0;
1590 char *_kwnames[] = { "self","id","label","bitmap","bmpDisabled","kind","shortHelp","longHelp","clientData", NULL };
21f8d7ea
RD
1591
1592 self = self;
be86ffe3 1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOOO|iOOO:wxToolBarBase_AddTool",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_obj6,&_obj7,&_obj8))
21f8d7ea 1594 return NULL;
2d091820
RD
1595 if (_argo0) {
1596 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddTool. Expected _wxToolBarBase_p.");
21f8d7ea
RD
1599 return NULL;
1600 }
1601 }
be86ffe3
RD
1602{
1603 _arg2 = wxString_in_helper(_obj2);
1604 if (_arg2 == NULL)
21f8d7ea 1605 return NULL;
be86ffe3 1606}
ab2208b5
RD
1607 if (_argo3) {
1608 if (_argo3 == Py_None) { _arg3 = NULL; }
1609 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1610 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1611 return NULL;
1612 }
1613 }
be86ffe3
RD
1614 if (_argo4) {
1615 if (_argo4 == Py_None) { _arg4 = NULL; }
1616 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxBitmap_p")) {
1617 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1618 return NULL;
1619 }
1620 }
ab2208b5
RD
1621 if (_obj6)
1622{
c8bc7bb8
RD
1623 _arg6 = wxString_in_helper(_obj6);
1624 if (_arg6 == NULL)
2cd2fac8 1625 return NULL;
ab2208b5
RD
1626}
1627 if (_obj7)
1628{
c8bc7bb8
RD
1629 _arg7 = wxString_in_helper(_obj7);
1630 if (_arg7 == NULL)
ab2208b5 1631 return NULL;
be86ffe3
RD
1632}
1633 if (_obj8)
1634{
1635 _arg8 = _obj8;
ab2208b5 1636}
ab9bc19b 1637{
474c48f9 1638 PyThreadState* __tstate = wxPyBeginAllowThreads();
be86ffe3 1639 _result = (wxToolBarToolBase *)wxToolBarBase_AddTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7,_arg8);
ab9bc19b 1640
474c48f9 1641 wxPyEndAllowThreads(__tstate);
4dfaa61e 1642 if (PyErr_Occurred()) return NULL;
9df61a29 1643}{ _resultobj = wxPyMake_wxObject(_result); }
be86ffe3
RD
1644{
1645 if (_obj2)
1646 delete _arg2;
1647}
ab2208b5
RD
1648{
1649 if (_obj6)
1650 delete _arg6;
1651}
1652{
1653 if (_obj7)
1654 delete _arg7;
1655}
21f8d7ea
RD
1656 return _resultobj;
1657}
1658
be86ffe3
RD
1659static wxToolBarToolBase * wxToolBarBase_AddSimpleTool(wxToolBarBase *self,int id,const wxString & label,const wxBitmap & bitmap,const wxString & shortHelp,const wxString & longHelp,wxItemKind kind) {
1660 return self->AddTool(id, label, bitmap, wxNullBitmap, kind,
1661 shortHelp, longHelp, NULL);
ab2208b5
RD
1662 }
1663static PyObject *_wrap_wxToolBarBase_AddSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1664 PyObject * _resultobj;
ab2208b5
RD
1665 wxToolBarToolBase * _result;
1666 wxToolBarBase * _arg0;
1667 int _arg1;
be86ffe3
RD
1668 wxString * _arg2;
1669 wxBitmap * _arg3;
9a74fcaf 1670 wxString * _arg4 = (wxString *) &wxPyEmptyString;
be86ffe3
RD
1671 wxString * _arg5 = (wxString *) &wxPyEmptyString;
1672 wxItemKind _arg6 = (wxItemKind ) wxITEM_NORMAL;
2d091820 1673 PyObject * _argo0 = 0;
be86ffe3
RD
1674 PyObject * _obj2 = 0;
1675 PyObject * _argo3 = 0;
ab2208b5 1676 PyObject * _obj4 = 0;
be86ffe3
RD
1677 PyObject * _obj5 = 0;
1678 char *_kwnames[] = { "self","id","label","bitmap","shortHelp","longHelp","kind", NULL };
b26e2dc4
RD
1679
1680 self = self;
be86ffe3 1681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|OOi:wxToolBarBase_AddSimpleTool",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_obj4,&_obj5,&_arg6))
b26e2dc4 1682 return NULL;
2d091820
RD
1683 if (_argo0) {
1684 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
1685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddSimpleTool. Expected _wxToolBarBase_p.");
b26e2dc4
RD
1687 return NULL;
1688 }
1689 }
ab2208b5 1690{
be86ffe3
RD
1691 _arg2 = wxString_in_helper(_obj2);
1692 if (_arg2 == NULL)
2cd2fac8 1693 return NULL;
ab2208b5 1694}
be86ffe3
RD
1695 if (_argo3) {
1696 if (_argo3 == Py_None) { _arg3 = NULL; }
1697 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1698 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBarBase_AddSimpleTool. Expected _wxBitmap_p.");
1699 return NULL;
1700 }
1701 }
ab2208b5
RD
1702 if (_obj4)
1703{
c8bc7bb8
RD
1704 _arg4 = wxString_in_helper(_obj4);
1705 if (_arg4 == NULL)
ab2208b5 1706 return NULL;
be86ffe3
RD
1707}
1708 if (_obj5)
1709{
1710 _arg5 = wxString_in_helper(_obj5);
1711 if (_arg5 == NULL)
1712 return NULL;
ab2208b5 1713}
ab9bc19b 1714{
474c48f9 1715 PyThreadState* __tstate = wxPyBeginAllowThreads();
be86ffe3 1716 _result = (wxToolBarToolBase *)wxToolBarBase_AddSimpleTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4,*_arg5,_arg6);
ab9bc19b 1717
474c48f9 1718 wxPyEndAllowThreads(__tstate);
4dfaa61e 1719 if (PyErr_Occurred()) return NULL;
9df61a29 1720}{ _resultobj = wxPyMake_wxObject(_result); }
ab2208b5 1721{
be86ffe3
RD
1722 if (_obj2)
1723 delete _arg2;
ab2208b5
RD
1724}
1725{
1726 if (_obj4)
1727 delete _arg4;
be86ffe3
RD
1728}
1729{
1730 if (_obj5)
1731 delete _arg5;
ab2208b5 1732}
b26e2dc4
RD
1733 return _resultobj;
1734}
1735
be86ffe3 1736static wxToolBarToolBase * wxToolBarBase_AddCheckTool(wxToolBarBase *self,int id,const wxString & label,const wxBitmap & bitmap,const wxBitmap & bmpDisabled,const wxString & shortHelp,const wxString & longHelp,PyObject * clientData) {
ab2208b5
RD
1737 wxPyUserData* udata = NULL;
1738 if (clientData)
1739 udata = new wxPyUserData(clientData);
be86ffe3
RD
1740 return self->AddCheckTool(id, label, bitmap, bmpDisabled,
1741 shortHelp, longHelp, udata);
ab2208b5 1742 }
be86ffe3 1743static PyObject *_wrap_wxToolBarBase_AddCheckTool(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 1744 PyObject * _resultobj;
ab2208b5
RD
1745 wxToolBarToolBase * _result;
1746 wxToolBarBase * _arg0;
be86ffe3
RD
1747 int _arg1;
1748 wxString * _arg2;
ab2208b5
RD
1749 wxBitmap * _arg3;
1750 wxBitmap * _arg4 = (wxBitmap *) &wxNullBitmap;
b1c9fc70
RD
1751 wxString * _arg5 = (wxString *) &wxPyEmptyString;
1752 wxString * _arg6 = (wxString *) &wxPyEmptyString;
be86ffe3 1753 PyObject * _arg7 = (PyObject *) NULL;
2d091820 1754 PyObject * _argo0 = 0;
be86ffe3 1755 PyObject * _obj2 = 0;
ab2208b5
RD
1756 PyObject * _argo3 = 0;
1757 PyObject * _argo4 = 0;
be86ffe3 1758 PyObject * _obj5 = 0;
ab2208b5
RD
1759 PyObject * _obj6 = 0;
1760 PyObject * _obj7 = 0;
be86ffe3 1761 char *_kwnames[] = { "self","id","label","bitmap","bmpDisabled","shortHelp","longHelp","clientData", NULL };
21f8d7ea
RD
1762
1763 self = self;
be86ffe3 1764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|OOOO:wxToolBarBase_AddCheckTool",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_obj5,&_obj6,&_obj7))
21f8d7ea 1765 return NULL;
2d091820
RD
1766 if (_argo0) {
1767 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5 1768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
be86ffe3 1769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddCheckTool. Expected _wxToolBarBase_p.");
21f8d7ea
RD
1770 return NULL;
1771 }
1772 }
be86ffe3
RD
1773{
1774 _arg2 = wxString_in_helper(_obj2);
1775 if (_arg2 == NULL)
1776 return NULL;
1777}
ab2208b5
RD
1778 if (_argo3) {
1779 if (_argo3 == Py_None) { _arg3 = NULL; }
1780 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
be86ffe3 1781 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBarBase_AddCheckTool. Expected _wxBitmap_p.");
ab2208b5
RD
1782 return NULL;
1783 }
1784 }
1785 if (_argo4) {
1786 if (_argo4 == Py_None) { _arg4 = NULL; }
1787 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxBitmap_p")) {
be86ffe3 1788 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxToolBarBase_AddCheckTool. Expected _wxBitmap_p.");
ab2208b5
RD
1789 return NULL;
1790 }
1791 }
be86ffe3
RD
1792 if (_obj5)
1793{
1794 _arg5 = wxString_in_helper(_obj5);
1795 if (_arg5 == NULL)
1796 return NULL;
1797}
ab2208b5
RD
1798 if (_obj6)
1799{
be86ffe3
RD
1800 _arg6 = wxString_in_helper(_obj6);
1801 if (_arg6 == NULL)
1802 return NULL;
ab2208b5
RD
1803}
1804 if (_obj7)
be86ffe3
RD
1805{
1806 _arg7 = _obj7;
1807}
1808{
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 _result = (wxToolBarToolBase *)wxToolBarBase_AddCheckTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4,*_arg5,*_arg6,_arg7);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) return NULL;
1814}{ _resultobj = wxPyMake_wxObject(_result); }
1815{
1816 if (_obj2)
1817 delete _arg2;
1818}
1819{
1820 if (_obj5)
1821 delete _arg5;
1822}
1823{
1824 if (_obj6)
1825 delete _arg6;
1826}
1827 return _resultobj;
1828}
1829
1830static wxToolBarToolBase * wxToolBarBase_AddRadioTool(wxToolBarBase *self,int id,const wxString & label,const wxBitmap & bitmap,const wxBitmap & bmpDisabled,const wxString & shortHelp,const wxString & longHelp,PyObject * clientData) {
1831 wxPyUserData* udata = NULL;
1832 if (clientData)
1833 udata = new wxPyUserData(clientData);
1834 return self->AddRadioTool(id, label, bitmap, bmpDisabled,
1835 shortHelp, longHelp, udata);
1836 }
1837static PyObject *_wrap_wxToolBarBase_AddRadioTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1838 PyObject * _resultobj;
1839 wxToolBarToolBase * _result;
1840 wxToolBarBase * _arg0;
1841 int _arg1;
1842 wxString * _arg2;
1843 wxBitmap * _arg3;
1844 wxBitmap * _arg4 = (wxBitmap *) &wxNullBitmap;
b1c9fc70
RD
1845 wxString * _arg5 = (wxString *) &wxPyEmptyString;
1846 wxString * _arg6 = (wxString *) &wxPyEmptyString;
be86ffe3
RD
1847 PyObject * _arg7 = (PyObject *) NULL;
1848 PyObject * _argo0 = 0;
1849 PyObject * _obj2 = 0;
1850 PyObject * _argo3 = 0;
1851 PyObject * _argo4 = 0;
1852 PyObject * _obj5 = 0;
1853 PyObject * _obj6 = 0;
1854 PyObject * _obj7 = 0;
1855 char *_kwnames[] = { "self","id","label","bitmap","bmpDisabled","shortHelp","longHelp","clientData", NULL };
1856
1857 self = self;
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO|OOOO:wxToolBarBase_AddRadioTool",_kwnames,&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_obj5,&_obj6,&_obj7))
1859 return NULL;
1860 if (_argo0) {
1861 if (_argo0 == Py_None) { _arg0 = NULL; }
1862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddRadioTool. Expected _wxToolBarBase_p.");
1864 return NULL;
1865 }
1866 }
1867{
1868 _arg2 = wxString_in_helper(_obj2);
1869 if (_arg2 == NULL)
1870 return NULL;
1871}
1872 if (_argo3) {
1873 if (_argo3 == Py_None) { _arg3 = NULL; }
1874 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1875 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBarBase_AddRadioTool. Expected _wxBitmap_p.");
1876 return NULL;
1877 }
1878 }
1879 if (_argo4) {
1880 if (_argo4 == Py_None) { _arg4 = NULL; }
1881 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxBitmap_p")) {
1882 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxToolBarBase_AddRadioTool. Expected _wxBitmap_p.");
1883 return NULL;
1884 }
1885 }
1886 if (_obj5)
1887{
1888 _arg5 = wxString_in_helper(_obj5);
1889 if (_arg5 == NULL)
1890 return NULL;
1891}
1892 if (_obj6)
1893{
1894 _arg6 = wxString_in_helper(_obj6);
1895 if (_arg6 == NULL)
1896 return NULL;
1897}
1898 if (_obj7)
1899{
1900 _arg7 = _obj7;
1901}
1902{
1903 PyThreadState* __tstate = wxPyBeginAllowThreads();
1904 _result = (wxToolBarToolBase *)wxToolBarBase_AddRadioTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4,*_arg5,*_arg6,_arg7);
1905
1906 wxPyEndAllowThreads(__tstate);
1907 if (PyErr_Occurred()) return NULL;
1908}{ _resultobj = wxPyMake_wxObject(_result); }
1909{
1910 if (_obj2)
1911 delete _arg2;
1912}
1913{
1914 if (_obj5)
1915 delete _arg5;
1916}
1917{
1918 if (_obj6)
1919 delete _arg6;
1920}
1921 return _resultobj;
1922}
1923
1924static wxToolBarToolBase * wxToolBarBase_InsertTool(wxToolBarBase *self,size_t pos,int id,const wxString & label,const wxBitmap & bitmap,const wxBitmap & bmpDisabled,wxItemKind kind,const wxString & shortHelp,const wxString & longHelp,PyObject * clientData) {
1925 wxPyUserData* udata = NULL;
1926 if (clientData)
1927 udata = new wxPyUserData(clientData);
1928 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1929 shortHelp, longHelp, udata);
1930 }
1931static PyObject *_wrap_wxToolBarBase_InsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1932 PyObject * _resultobj;
1933 wxToolBarToolBase * _result;
1934 wxToolBarBase * _arg0;
1935 size_t _arg1;
1936 int _arg2;
1937 wxString * _arg3;
1938 wxBitmap * _arg4;
1939 wxBitmap * _arg5 = (wxBitmap *) &wxNullBitmap;
1940 wxItemKind _arg6 = (wxItemKind ) wxITEM_NORMAL;
b1c9fc70
RD
1941 wxString * _arg7 = (wxString *) &wxPyEmptyString;
1942 wxString * _arg8 = (wxString *) &wxPyEmptyString;
be86ffe3
RD
1943 PyObject * _arg9 = (PyObject *) NULL;
1944 PyObject * _argo0 = 0;
1945 PyObject * _obj3 = 0;
1946 PyObject * _argo4 = 0;
1947 PyObject * _argo5 = 0;
1948 PyObject * _obj7 = 0;
1949 PyObject * _obj8 = 0;
1950 PyObject * _obj9 = 0;
1951 char *_kwnames[] = { "self","pos","id","label","bitmap","bmpDisabled","kind","shortHelp","longHelp","clientData", NULL };
1952
1953 self = self;
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO|OiOOO:wxToolBarBase_InsertTool",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_argo4,&_argo5,&_arg6,&_obj7,&_obj8,&_obj9))
1955 return NULL;
1956 if (_argo0) {
1957 if (_argo0 == Py_None) { _arg0 = NULL; }
1958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
1959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertTool. Expected _wxToolBarBase_p.");
1960 return NULL;
1961 }
1962 }
1963{
1964 _arg3 = wxString_in_helper(_obj3);
1965 if (_arg3 == NULL)
1966 return NULL;
1967}
1968 if (_argo4) {
1969 if (_argo4 == Py_None) { _arg4 = NULL; }
1970 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxBitmap_p")) {
1971 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1972 return NULL;
1973 }
1974 }
1975 if (_argo5) {
1976 if (_argo5 == Py_None) { _arg5 = NULL; }
1977 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxBitmap_p")) {
1978 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1979 return NULL;
1980 }
1981 }
1982 if (_obj7)
ab2208b5 1983{
c8bc7bb8
RD
1984 _arg7 = wxString_in_helper(_obj7);
1985 if (_arg7 == NULL)
ab2208b5 1986 return NULL;
ab2208b5
RD
1987}
1988 if (_obj8)
1989{
c8bc7bb8
RD
1990 _arg8 = wxString_in_helper(_obj8);
1991 if (_arg8 == NULL)
ab2208b5 1992 return NULL;
be86ffe3
RD
1993}
1994 if (_obj9)
1995{
1996 _arg9 = _obj9;
ab2208b5 1997}
ab9bc19b 1998{
474c48f9 1999 PyThreadState* __tstate = wxPyBeginAllowThreads();
be86ffe3 2000 _result = (wxToolBarToolBase *)wxToolBarBase_InsertTool(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8,_arg9);
ab9bc19b 2001
474c48f9 2002 wxPyEndAllowThreads(__tstate);
4dfaa61e 2003 if (PyErr_Occurred()) return NULL;
9df61a29 2004}{ _resultobj = wxPyMake_wxObject(_result); }
be86ffe3
RD
2005{
2006 if (_obj3)
2007 delete _arg3;
2008}
ab2208b5
RD
2009{
2010 if (_obj7)
2011 delete _arg7;
2012}
2013{
2014 if (_obj8)
2015 delete _arg8;
2016}
21f8d7ea
RD
2017 return _resultobj;
2018}
2019
be86ffe3
RD
2020static wxToolBarToolBase * wxToolBarBase_InsertSimpleTool(wxToolBarBase *self,size_t pos,int id,const wxString & label,const wxBitmap & bitmap,wxItemKind kind,const wxString & shortHelp,const wxString & longHelp) {
2021 return self->InsertTool(pos, id, label, bitmap, wxNullBitmap, kind,
2022 shortHelp, longHelp);
ab2208b5
RD
2023 }
2024static PyObject *_wrap_wxToolBarBase_InsertSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2025 PyObject * _resultobj;
ab2208b5
RD
2026 wxToolBarToolBase * _result;
2027 wxToolBarBase * _arg0;
2028 size_t _arg1;
2029 int _arg2;
be86ffe3
RD
2030 wxString * _arg3;
2031 wxBitmap * _arg4;
2032 wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
b1c9fc70
RD
2033 wxString * _arg6 = (wxString *) &wxPyEmptyString;
2034 wxString * _arg7 = (wxString *) &wxPyEmptyString;
2d091820 2035 PyObject * _argo0 = 0;
be86ffe3
RD
2036 PyObject * _obj3 = 0;
2037 PyObject * _argo4 = 0;
2038 PyObject * _obj6 = 0;
2039 PyObject * _obj7 = 0;
2040 char *_kwnames[] = { "self","pos","id","label","bitmap","kind","shortHelp","longHelp", NULL };
b26e2dc4
RD
2041
2042 self = self;
be86ffe3 2043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO|iOO:wxToolBarBase_InsertSimpleTool",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_argo4,&_arg5,&_obj6,&_obj7))
b26e2dc4 2044 return NULL;
2d091820
RD
2045 if (_argo0) {
2046 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertSimpleTool. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2049 return NULL;
2050 }
2051 }
be86ffe3
RD
2052{
2053 _arg3 = wxString_in_helper(_obj3);
2054 if (_arg3 == NULL)
2055 return NULL;
2056}
2057 if (_argo4) {
2058 if (_argo4 == Py_None) { _arg4 = NULL; }
2059 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxBitmap_p")) {
2060 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxToolBarBase_InsertSimpleTool. Expected _wxBitmap_p.");
ab2208b5
RD
2061 return NULL;
2062 }
2063 }
be86ffe3 2064 if (_obj6)
ab2208b5 2065{
be86ffe3
RD
2066 _arg6 = wxString_in_helper(_obj6);
2067 if (_arg6 == NULL)
ab2208b5 2068 return NULL;
ab2208b5 2069}
be86ffe3 2070 if (_obj7)
ab2208b5 2071{
be86ffe3
RD
2072 _arg7 = wxString_in_helper(_obj7);
2073 if (_arg7 == NULL)
ab2208b5 2074 return NULL;
ab2208b5 2075}
ab9bc19b 2076{
474c48f9 2077 PyThreadState* __tstate = wxPyBeginAllowThreads();
be86ffe3 2078 _result = (wxToolBarToolBase *)wxToolBarBase_InsertSimpleTool(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
ab9bc19b 2079
474c48f9 2080 wxPyEndAllowThreads(__tstate);
4dfaa61e 2081 if (PyErr_Occurred()) return NULL;
9df61a29 2082}{ _resultobj = wxPyMake_wxObject(_result); }
ab2208b5 2083{
be86ffe3
RD
2084 if (_obj3)
2085 delete _arg3;
ab2208b5
RD
2086}
2087{
be86ffe3
RD
2088 if (_obj6)
2089 delete _arg6;
2090}
2091{
2092 if (_obj7)
2093 delete _arg7;
ab2208b5 2094}
b26e2dc4
RD
2095 return _resultobj;
2096}
2097
ab2208b5
RD
2098#define wxToolBarBase_AddControl(_swigobj,_swigarg0) (_swigobj->AddControl(_swigarg0))
2099static PyObject *_wrap_wxToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 2100 PyObject * _resultobj;
ab2208b5
RD
2101 wxToolBarToolBase * _result;
2102 wxToolBarBase * _arg0;
2103 wxControl * _arg1;
2d091820 2104 PyObject * _argo0 = 0;
ab2208b5
RD
2105 PyObject * _argo1 = 0;
2106 char *_kwnames[] = { "self","control", NULL };
21f8d7ea
RD
2107
2108 self = self;
ab2208b5 2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarBase_AddControl",_kwnames,&_argo0,&_argo1))
21f8d7ea 2110 return NULL;
2d091820
RD
2111 if (_argo0) {
2112 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddControl. Expected _wxToolBarBase_p.");
21f8d7ea
RD
2115 return NULL;
2116 }
2117 }
ab2208b5
RD
2118 if (_argo1) {
2119 if (_argo1 == Py_None) { _arg1 = NULL; }
2120 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) {
2121 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarBase_AddControl. Expected _wxControl_p.");
21f8d7ea 2122 return NULL;
ab2208b5 2123 }
21f8d7ea 2124 }
21f8d7ea 2125{
474c48f9 2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2127 _result = (wxToolBarToolBase *)wxToolBarBase_AddControl(_arg0,_arg1);
ab9bc19b 2128
474c48f9 2129 wxPyEndAllowThreads(__tstate);
4dfaa61e 2130 if (PyErr_Occurred()) return NULL;
9df61a29 2131}{ _resultobj = wxPyMake_wxObject(_result); }
ab2208b5 2132 return _resultobj;
21f8d7ea 2133}
ab2208b5
RD
2134
2135#define wxToolBarBase_InsertControl(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertControl(_swigarg0,_swigarg1))
2136static PyObject *_wrap_wxToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
2137 PyObject * _resultobj;
2138 wxToolBarToolBase * _result;
2139 wxToolBarBase * _arg0;
2140 size_t _arg1;
2141 wxControl * _arg2;
2142 PyObject * _argo0 = 0;
2143 PyObject * _argo2 = 0;
2144 char *_kwnames[] = { "self","pos","control", NULL };
ab2208b5
RD
2145
2146 self = self;
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_InsertControl",_kwnames,&_argo0,&_arg1,&_argo2))
2148 return NULL;
2149 if (_argo0) {
2150 if (_argo0 == Py_None) { _arg0 = NULL; }
2151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertControl. Expected _wxToolBarBase_p.");
2153 return NULL;
2154 }
2155 }
2156 if (_argo2) {
2157 if (_argo2 == Py_None) { _arg2 = NULL; }
2158 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxControl_p")) {
2159 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBarBase_InsertControl. Expected _wxControl_p.");
2160 return NULL;
2161 }
2162 }
21f8d7ea 2163{
474c48f9 2164 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2165 _result = (wxToolBarToolBase *)wxToolBarBase_InsertControl(_arg0,_arg1,_arg2);
ab2208b5 2166
474c48f9 2167 wxPyEndAllowThreads(__tstate);
4dfaa61e 2168 if (PyErr_Occurred()) return NULL;
9df61a29 2169}{ _resultobj = wxPyMake_wxObject(_result); }
21f8d7ea
RD
2170 return _resultobj;
2171}
2172
ab2208b5
RD
2173#define wxToolBarBase_AddSeparator(_swigobj) (_swigobj->AddSeparator())
2174static PyObject *_wrap_wxToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2175 PyObject * _resultobj;
ab2208b5
RD
2176 wxToolBarToolBase * _result;
2177 wxToolBarBase * _arg0;
2d091820 2178 PyObject * _argo0 = 0;
107e4716 2179 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
2180
2181 self = self;
ab2208b5 2182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_AddSeparator",_kwnames,&_argo0))
b26e2dc4 2183 return NULL;
2d091820
RD
2184 if (_argo0) {
2185 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddSeparator. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2188 return NULL;
2189 }
2190 }
b26e2dc4 2191{
474c48f9 2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2193 _result = (wxToolBarToolBase *)wxToolBarBase_AddSeparator(_arg0);
ab9bc19b 2194
474c48f9 2195 wxPyEndAllowThreads(__tstate);
4dfaa61e 2196 if (PyErr_Occurred()) return NULL;
9df61a29 2197}{ _resultobj = wxPyMake_wxObject(_result); }
b26e2dc4
RD
2198 return _resultobj;
2199}
2200
ab2208b5
RD
2201#define wxToolBarBase_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
2202static PyObject *_wrap_wxToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea 2203 PyObject * _resultobj;
ab2208b5
RD
2204 wxToolBarToolBase * _result;
2205 wxToolBarBase * _arg0;
2206 size_t _arg1;
2d091820 2207 PyObject * _argo0 = 0;
ab2208b5 2208 char *_kwnames[] = { "self","pos", NULL };
21f8d7ea
RD
2209
2210 self = self;
ab2208b5 2211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_InsertSeparator",_kwnames,&_argo0,&_arg1))
21f8d7ea 2212 return NULL;
2d091820
RD
2213 if (_argo0) {
2214 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertSeparator. Expected _wxToolBarBase_p.");
21f8d7ea
RD
2217 return NULL;
2218 }
2219 }
2220{
474c48f9 2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2222 _result = (wxToolBarToolBase *)wxToolBarBase_InsertSeparator(_arg0,_arg1);
ab2208b5 2223
474c48f9 2224 wxPyEndAllowThreads(__tstate);
4dfaa61e 2225 if (PyErr_Occurred()) return NULL;
9df61a29 2226}{ _resultobj = wxPyMake_wxObject(_result); }
ab2208b5
RD
2227 return _resultobj;
2228}
2229
2230#define wxToolBarBase_RemoveTool(_swigobj,_swigarg0) (_swigobj->RemoveTool(_swigarg0))
2231static PyObject *_wrap_wxToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
2232 PyObject * _resultobj;
2233 wxToolBarToolBase * _result;
2234 wxToolBarBase * _arg0;
2235 int _arg1;
2236 PyObject * _argo0 = 0;
2237 char *_kwnames[] = { "self","id", NULL };
ab2208b5
RD
2238
2239 self = self;
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_RemoveTool",_kwnames,&_argo0,&_arg1))
21f8d7ea 2241 return NULL;
ab2208b5
RD
2242 if (_argo0) {
2243 if (_argo0 == Py_None) { _arg0 = NULL; }
2244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_RemoveTool. Expected _wxToolBarBase_p.");
2246 return NULL;
2247 }
21f8d7ea 2248 }
ab2208b5 2249{
474c48f9 2250 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2251 _result = (wxToolBarToolBase *)wxToolBarBase_RemoveTool(_arg0,_arg1);
ab2208b5 2252
474c48f9 2253 wxPyEndAllowThreads(__tstate);
4dfaa61e 2254 if (PyErr_Occurred()) return NULL;
9df61a29 2255}{ _resultobj = wxPyMake_wxObject(_result); }
ab2208b5 2256 return _resultobj;
21f8d7ea 2257}
ab2208b5
RD
2258
2259#define wxToolBarBase_DeleteToolByPos(_swigobj,_swigarg0) (_swigobj->DeleteToolByPos(_swigarg0))
2260static PyObject *_wrap_wxToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
2261 PyObject * _resultobj;
2262 bool _result;
2263 wxToolBarBase * _arg0;
2264 size_t _arg1;
2265 PyObject * _argo0 = 0;
2266 char *_kwnames[] = { "self","pos", NULL };
2267
2268 self = self;
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_DeleteToolByPos",_kwnames,&_argo0,&_arg1))
2270 return NULL;
2271 if (_argo0) {
2272 if (_argo0 == Py_None) { _arg0 = NULL; }
2273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_DeleteToolByPos. Expected _wxToolBarBase_p.");
2275 return NULL;
2276 }
2277 }
21f8d7ea 2278{
474c48f9 2279 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2280 _result = (bool )wxToolBarBase_DeleteToolByPos(_arg0,_arg1);
ab9bc19b 2281
474c48f9 2282 wxPyEndAllowThreads(__tstate);
4dfaa61e 2283 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2284} _resultobj = Py_BuildValue("i",_result);
2285 return _resultobj;
21f8d7ea 2286}
ab2208b5
RD
2287
2288#define wxToolBarBase_DeleteTool(_swigobj,_swigarg0) (_swigobj->DeleteTool(_swigarg0))
2289static PyObject *_wrap_wxToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
2290 PyObject * _resultobj;
2291 bool _result;
2292 wxToolBarBase * _arg0;
2293 int _arg1;
2294 PyObject * _argo0 = 0;
2295 char *_kwnames[] = { "self","id", NULL };
2296
2297 self = self;
2298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_DeleteTool",_kwnames,&_argo0,&_arg1))
2299 return NULL;
2300 if (_argo0) {
2301 if (_argo0 == Py_None) { _arg0 = NULL; }
2302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_DeleteTool. Expected _wxToolBarBase_p.");
2304 return NULL;
2305 }
2306 }
21f8d7ea 2307{
474c48f9 2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2309 _result = (bool )wxToolBarBase_DeleteTool(_arg0,_arg1);
ab2208b5 2310
474c48f9 2311 wxPyEndAllowThreads(__tstate);
4dfaa61e 2312 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2313} _resultobj = Py_BuildValue("i",_result);
2314 return _resultobj;
21f8d7ea 2315}
ab2208b5
RD
2316
2317#define wxToolBarBase_ClearTools(_swigobj) (_swigobj->ClearTools())
2318static PyObject *_wrap_wxToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
2319 PyObject * _resultobj;
2320 wxToolBarBase * _arg0;
2321 PyObject * _argo0 = 0;
2322 char *_kwnames[] = { "self", NULL };
2323
2324 self = self;
2325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_ClearTools",_kwnames,&_argo0))
2326 return NULL;
2327 if (_argo0) {
2328 if (_argo0 == Py_None) { _arg0 = NULL; }
2329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_ClearTools. Expected _wxToolBarBase_p.");
2331 return NULL;
2332 }
2333 }
2334{
474c48f9 2335 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2336 wxToolBarBase_ClearTools(_arg0);
ab2208b5 2337
474c48f9 2338 wxPyEndAllowThreads(__tstate);
4dfaa61e 2339 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2340} Py_INCREF(Py_None);
2341 _resultobj = Py_None;
21f8d7ea
RD
2342 return _resultobj;
2343}
2344
ab2208b5
RD
2345#define wxToolBarBase_Realize(_swigobj) (_swigobj->Realize())
2346static PyObject *_wrap_wxToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2347 PyObject * _resultobj;
ab2208b5
RD
2348 bool _result;
2349 wxToolBarBase * _arg0;
2d091820 2350 PyObject * _argo0 = 0;
107e4716 2351 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
2352
2353 self = self;
ab2208b5 2354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_Realize",_kwnames,&_argo0))
b26e2dc4 2355 return NULL;
2d091820
RD
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_Realize. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2360 return NULL;
2361 }
2362 }
b26e2dc4 2363{
474c48f9 2364 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2365 _result = (bool )wxToolBarBase_Realize(_arg0);
ab9bc19b 2366
474c48f9 2367 wxPyEndAllowThreads(__tstate);
4dfaa61e 2368 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2369} _resultobj = Py_BuildValue("i",_result);
2370 return _resultobj;
b26e2dc4 2371}
ab2208b5
RD
2372
2373#define wxToolBarBase_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
2374static PyObject *_wrap_wxToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
2375 PyObject * _resultobj;
2376 wxToolBarBase * _arg0;
2377 int _arg1;
2378 bool _arg2;
2379 PyObject * _argo0 = 0;
2380 int tempbool2;
2381 char *_kwnames[] = { "self","id","enable", NULL };
2382
2383 self = self;
2384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_EnableTool",_kwnames,&_argo0,&_arg1,&tempbool2))
2385 return NULL;
2386 if (_argo0) {
2387 if (_argo0 == Py_None) { _arg0 = NULL; }
2388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_EnableTool. Expected _wxToolBarBase_p.");
2390 return NULL;
2391 }
2392 }
2393 _arg2 = (bool ) tempbool2;
2394{
474c48f9 2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2396 wxToolBarBase_EnableTool(_arg0,_arg1,_arg2);
ab2208b5 2397
474c48f9 2398 wxPyEndAllowThreads(__tstate);
4dfaa61e 2399 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2400} Py_INCREF(Py_None);
2401 _resultobj = Py_None;
b26e2dc4
RD
2402 return _resultobj;
2403}
2404
ab2208b5
RD
2405#define wxToolBarBase_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2406static PyObject *_wrap_wxToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
2407 PyObject * _resultobj;
2408 wxToolBarBase * _arg0;
2409 int _arg1;
2410 bool _arg2;
2411 PyObject * _argo0 = 0;
2412 int tempbool2;
2413 char *_kwnames[] = { "self","id","toggle", NULL };
2414
2415 self = self;
2416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_ToggleTool",_kwnames,&_argo0,&_arg1,&tempbool2))
2417 return NULL;
2418 if (_argo0) {
2419 if (_argo0 == Py_None) { _arg0 = NULL; }
2420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_ToggleTool. Expected _wxToolBarBase_p.");
2422 return NULL;
2423 }
2424 }
2425 _arg2 = (bool ) tempbool2;
2426{
474c48f9 2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2428 wxToolBarBase_ToggleTool(_arg0,_arg1,_arg2);
ab2208b5 2429
474c48f9 2430 wxPyEndAllowThreads(__tstate);
4dfaa61e 2431 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2432} Py_INCREF(Py_None);
2433 _resultobj = Py_None;
2434 return _resultobj;
b26e2dc4
RD
2435}
2436
ab2208b5
RD
2437#define wxToolBarBase_SetToggle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToggle(_swigarg0,_swigarg1))
2438static PyObject *_wrap_wxToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject * _resultobj;
2440 wxToolBarBase * _arg0;
2441 int _arg1;
2442 bool _arg2;
2443 PyObject * _argo0 = 0;
2444 int tempbool2;
2445 char *_kwnames[] = { "self","id","toggle", NULL };
2446
2447 self = self;
2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_SetToggle",_kwnames,&_argo0,&_arg1,&tempbool2))
2449 return NULL;
2450 if (_argo0) {
2451 if (_argo0 == Py_None) { _arg0 = NULL; }
2452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToggle. Expected _wxToolBarBase_p.");
2454 return NULL;
2455 }
2456 }
2457 _arg2 = (bool ) tempbool2;
2458{
474c48f9 2459 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2460 wxToolBarBase_SetToggle(_arg0,_arg1,_arg2);
ab2208b5 2461
474c48f9 2462 wxPyEndAllowThreads(__tstate);
4dfaa61e 2463 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2464} Py_INCREF(Py_None);
2465 _resultobj = Py_None;
2466 return _resultobj;
b26e2dc4
RD
2467}
2468
f0972d1e
RD
2469static PyObject * wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id) {
2470 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
ab2208b5
RD
2471 if (udata) {
2472 Py_INCREF(udata->m_obj);
2473 return udata->m_obj;
2474 } else {
2475 Py_INCREF(Py_None);
2476 return Py_None;
2477 }
2478 }
2479static PyObject *_wrap_wxToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject * _resultobj;
2481 PyObject * _result;
2482 wxToolBarBase * _arg0;
2483 int _arg1;
2484 PyObject * _argo0 = 0;
f0972d1e 2485 char *_kwnames[] = { "self","id", NULL };
ab2208b5
RD
2486
2487 self = self;
2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolClientData",_kwnames,&_argo0,&_arg1))
2489 return NULL;
2490 if (_argo0) {
2491 if (_argo0 == Py_None) { _arg0 = NULL; }
2492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolClientData. Expected _wxToolBarBase_p.");
2494 return NULL;
2495 }
2496 }
2497{
474c48f9 2498 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2499 _result = (PyObject *)wxToolBarBase_GetToolClientData(_arg0,_arg1);
ab2208b5 2500
474c48f9 2501 wxPyEndAllowThreads(__tstate);
4dfaa61e 2502 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2503}{
2504 _resultobj = _result;
2505}
2506 return _resultobj;
b26e2dc4
RD
2507}
2508
f0972d1e
RD
2509static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject * clientData) {
2510 self->SetToolClientData(id, new wxPyUserData(clientData));
ab2208b5
RD
2511 }
2512static PyObject *_wrap_wxToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2513 PyObject * _resultobj;
ab2208b5
RD
2514 wxToolBarBase * _arg0;
2515 int _arg1;
2516 PyObject * _arg2;
2d091820 2517 PyObject * _argo0 = 0;
37f6a977 2518 PyObject * _obj2 = 0;
f0972d1e 2519 char *_kwnames[] = { "self","id","clientData", NULL };
b26e2dc4
RD
2520
2521 self = self;
ab2208b5 2522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_SetToolClientData",_kwnames,&_argo0,&_arg1,&_obj2))
b26e2dc4 2523 return NULL;
2d091820
RD
2524 if (_argo0) {
2525 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolClientData. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2528 return NULL;
2529 }
2530 }
37f6a977 2531{
ab2208b5 2532 _arg2 = _obj2;
37f6a977 2533}
ab9bc19b 2534{
474c48f9 2535 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2536 wxToolBarBase_SetToolClientData(_arg0,_arg1,_arg2);
ab9bc19b 2537
474c48f9 2538 wxPyEndAllowThreads(__tstate);
4dfaa61e 2539 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2540} Py_INCREF(Py_None);
2541 _resultobj = Py_None;
b26e2dc4
RD
2542 return _resultobj;
2543}
2544
ab2208b5
RD
2545#define wxToolBarBase_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2546static PyObject *_wrap_wxToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962
RD
2547 PyObject * _resultobj;
2548 bool _result;
ab2208b5
RD
2549 wxToolBarBase * _arg0;
2550 int _arg1;
56f5d962 2551 PyObject * _argo0 = 0;
ab2208b5 2552 char *_kwnames[] = { "self","id", NULL };
56f5d962
RD
2553
2554 self = self;
ab2208b5 2555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolState",_kwnames,&_argo0,&_arg1))
56f5d962
RD
2556 return NULL;
2557 if (_argo0) {
2558 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolState. Expected _wxToolBarBase_p.");
56f5d962
RD
2561 return NULL;
2562 }
2563 }
2564{
474c48f9 2565 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2566 _result = (bool )wxToolBarBase_GetToolState(_arg0,_arg1);
56f5d962 2567
474c48f9 2568 wxPyEndAllowThreads(__tstate);
4dfaa61e 2569 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2570} _resultobj = Py_BuildValue("i",_result);
2571 return _resultobj;
2572}
2573
ab2208b5
RD
2574#define wxToolBarBase_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2575static PyObject *_wrap_wxToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2576 PyObject * _resultobj;
ab2208b5
RD
2577 bool _result;
2578 wxToolBarBase * _arg0;
2579 int _arg1;
2d091820 2580 PyObject * _argo0 = 0;
ab2208b5 2581 char *_kwnames[] = { "self","id", NULL };
b26e2dc4
RD
2582
2583 self = self;
ab2208b5 2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolEnabled",_kwnames,&_argo0,&_arg1))
b26e2dc4 2585 return NULL;
2d091820
RD
2586 if (_argo0) {
2587 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolEnabled. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2590 return NULL;
2591 }
2592 }
ab9bc19b 2593{
474c48f9 2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2595 _result = (bool )wxToolBarBase_GetToolEnabled(_arg0,_arg1);
ab9bc19b 2596
474c48f9 2597 wxPyEndAllowThreads(__tstate);
4dfaa61e 2598 if (PyErr_Occurred()) return NULL;
ab2208b5 2599} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
2600 return _resultobj;
2601}
2602
ab2208b5
RD
2603#define wxToolBarBase_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2604static PyObject *_wrap_wxToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 2605 PyObject * _resultobj;
ab2208b5
RD
2606 wxToolBarBase * _arg0;
2607 int _arg1;
2608 wxString * _arg2;
56f5d962 2609 PyObject * _argo0 = 0;
ab2208b5
RD
2610 PyObject * _obj2 = 0;
2611 char *_kwnames[] = { "self","id","helpString", NULL };
56f5d962
RD
2612
2613 self = self;
ab2208b5 2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_SetToolShortHelp",_kwnames,&_argo0,&_arg1,&_obj2))
56f5d962
RD
2615 return NULL;
2616 if (_argo0) {
2617 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolShortHelp. Expected _wxToolBarBase_p.");
56f5d962
RD
2620 return NULL;
2621 }
2622 }
ab2208b5 2623{
c8bc7bb8
RD
2624 _arg2 = wxString_in_helper(_obj2);
2625 if (_arg2 == NULL)
ab2208b5 2626 return NULL;
ab2208b5 2627}
56f5d962 2628{
474c48f9 2629 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2630 wxToolBarBase_SetToolShortHelp(_arg0,_arg1,*_arg2);
56f5d962 2631
474c48f9 2632 wxPyEndAllowThreads(__tstate);
4dfaa61e 2633 if (PyErr_Occurred()) return NULL;
56f5d962
RD
2634} Py_INCREF(Py_None);
2635 _resultobj = Py_None;
ab2208b5
RD
2636{
2637 if (_obj2)
2638 delete _arg2;
2639}
56f5d962
RD
2640 return _resultobj;
2641}
2642
ab2208b5
RD
2643#define wxToolBarBase_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2644static PyObject *_wrap_wxToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2645 PyObject * _resultobj;
ab2208b5
RD
2646 wxString * _result;
2647 wxToolBarBase * _arg0;
b26e2dc4 2648 int _arg1;
2d091820 2649 PyObject * _argo0 = 0;
ab2208b5 2650 char *_kwnames[] = { "self","id", NULL };
b26e2dc4
RD
2651
2652 self = self;
ab2208b5 2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolShortHelp",_kwnames,&_argo0,&_arg1))
b26e2dc4 2654 return NULL;
2d091820
RD
2655 if (_argo0) {
2656 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolShortHelp. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2659 return NULL;
2660 }
2661 }
ab9bc19b 2662{
474c48f9 2663 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2664 _result = new wxString (wxToolBarBase_GetToolShortHelp(_arg0,_arg1));
ab9bc19b 2665
474c48f9 2666 wxPyEndAllowThreads(__tstate);
4dfaa61e 2667 if (PyErr_Occurred()) return NULL;
ab2208b5 2668}{
c8bc7bb8
RD
2669#if wxUSE_UNICODE
2670 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2671#else
e02c03a4 2672 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2673#endif
b26e2dc4
RD
2674}
2675{
ab2208b5 2676 delete _result;
b26e2dc4
RD
2677}
2678 return _resultobj;
2679}
2680
ab2208b5
RD
2681#define wxToolBarBase_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2682static PyObject *_wrap_wxToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
dd9a3de8 2683 PyObject * _resultobj;
ab2208b5 2684 wxToolBarBase * _arg0;
dd9a3de8 2685 int _arg1;
ab2208b5 2686 wxString * _arg2;
2d091820 2687 PyObject * _argo0 = 0;
ab2208b5
RD
2688 PyObject * _obj2 = 0;
2689 char *_kwnames[] = { "self","id","helpString", NULL };
dd9a3de8
RD
2690
2691 self = self;
ab2208b5 2692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_SetToolLongHelp",_kwnames,&_argo0,&_arg1,&_obj2))
dd9a3de8 2693 return NULL;
2d091820
RD
2694 if (_argo0) {
2695 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolLongHelp. Expected _wxToolBarBase_p.");
dd9a3de8
RD
2698 return NULL;
2699 }
2700 }
dd9a3de8 2701{
c8bc7bb8
RD
2702 _arg2 = wxString_in_helper(_obj2);
2703 if (_arg2 == NULL)
2cd2fac8 2704 return NULL;
dd9a3de8 2705}
dd9a3de8 2706{
474c48f9 2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2708 wxToolBarBase_SetToolLongHelp(_arg0,_arg1,*_arg2);
ab2208b5 2709
474c48f9 2710 wxPyEndAllowThreads(__tstate);
4dfaa61e 2711 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2712} Py_INCREF(Py_None);
2713 _resultobj = Py_None;
2714{
2715 if (_obj2)
2716 delete _arg2;
2717}
2718 return _resultobj;
2719}
2720
2721#define wxToolBarBase_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2722static PyObject *_wrap_wxToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2723 PyObject * _resultobj;
2724 wxString * _result;
2725 wxToolBarBase * _arg0;
2726 int _arg1;
2727 PyObject * _argo0 = 0;
2728 char *_kwnames[] = { "self","id", NULL };
2729
2730 self = self;
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolLongHelp",_kwnames,&_argo0,&_arg1))
dd9a3de8 2732 return NULL;
ab2208b5
RD
2733 if (_argo0) {
2734 if (_argo0 == Py_None) { _arg0 = NULL; }
2735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolLongHelp. Expected _wxToolBarBase_p.");
2737 return NULL;
2738 }
dd9a3de8 2739 }
ab9bc19b 2740{
474c48f9 2741 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2742 _result = new wxString (wxToolBarBase_GetToolLongHelp(_arg0,_arg1));
ab9bc19b 2743
474c48f9 2744 wxPyEndAllowThreads(__tstate);
4dfaa61e 2745 if (PyErr_Occurred()) return NULL;
ab2208b5 2746}{
c8bc7bb8
RD
2747#if wxUSE_UNICODE
2748 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
2749#else
e02c03a4 2750 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 2751#endif
dd9a3de8
RD
2752}
2753{
ab2208b5 2754 delete _result;
dd9a3de8
RD
2755}
2756 return _resultobj;
2757}
2758
ab2208b5
RD
2759#define wxToolBarBase_SetMarginsXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
2760static PyObject *_wrap_wxToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2761 PyObject * _resultobj;
ab2208b5 2762 wxToolBarBase * _arg0;
b26e2dc4 2763 int _arg1;
ab2208b5 2764 int _arg2;
2d091820 2765 PyObject * _argo0 = 0;
ab2208b5 2766 char *_kwnames[] = { "self","x","y", NULL };
b26e2dc4
RD
2767
2768 self = self;
ab2208b5 2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_SetMarginsXY",_kwnames,&_argo0,&_arg1,&_arg2))
b26e2dc4 2770 return NULL;
2d091820
RD
2771 if (_argo0) {
2772 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetMarginsXY. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2775 return NULL;
2776 }
2777 }
ab9bc19b 2778{
474c48f9 2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2780 wxToolBarBase_SetMarginsXY(_arg0,_arg1,_arg2);
ab9bc19b 2781
474c48f9 2782 wxPyEndAllowThreads(__tstate);
4dfaa61e 2783 if (PyErr_Occurred()) return NULL;
ab9bc19b 2784} Py_INCREF(Py_None);
b26e2dc4
RD
2785 _resultobj = Py_None;
2786 return _resultobj;
2787}
2788
ab2208b5
RD
2789#define wxToolBarBase_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2790static PyObject *_wrap_wxToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
56f5d962 2791 PyObject * _resultobj;
ab2208b5
RD
2792 wxToolBarBase * _arg0;
2793 wxSize * _arg1;
56f5d962 2794 PyObject * _argo0 = 0;
ab2208b5
RD
2795 wxSize temp;
2796 PyObject * _obj1 = 0;
2797 char *_kwnames[] = { "self","size", NULL };
56f5d962
RD
2798
2799 self = self;
ab2208b5 2800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarBase_SetMargins",_kwnames,&_argo0,&_obj1))
56f5d962
RD
2801 return NULL;
2802 if (_argo0) {
2803 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetMargins. Expected _wxToolBarBase_p.");
56f5d962
RD
2806 return NULL;
2807 }
2808 }
ab2208b5
RD
2809{
2810 _arg1 = &temp;
2811 if (! wxSize_helper(_obj1, &_arg1))
2812 return NULL;
2813}
56f5d962 2814{
474c48f9 2815 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2816 wxToolBarBase_SetMargins(_arg0,*_arg1);
56f5d962 2817
474c48f9 2818 wxPyEndAllowThreads(__tstate);
4dfaa61e 2819 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2820} Py_INCREF(Py_None);
2821 _resultobj = Py_None;
56f5d962
RD
2822 return _resultobj;
2823}
2824
ab2208b5
RD
2825#define wxToolBarBase_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2826static PyObject *_wrap_wxToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 2827 PyObject * _resultobj;
ab2208b5 2828 wxToolBarBase * _arg0;
b26e2dc4 2829 int _arg1;
2d091820 2830 PyObject * _argo0 = 0;
ab2208b5 2831 char *_kwnames[] = { "self","packing", NULL };
b26e2dc4
RD
2832
2833 self = self;
ab2208b5 2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_SetToolPacking",_kwnames,&_argo0,&_arg1))
b26e2dc4 2835 return NULL;
2d091820
RD
2836 if (_argo0) {
2837 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolPacking. Expected _wxToolBarBase_p.");
b26e2dc4
RD
2840 return NULL;
2841 }
2842 }
ab9bc19b 2843{
474c48f9 2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2845 wxToolBarBase_SetToolPacking(_arg0,_arg1);
ab9bc19b 2846
474c48f9 2847 wxPyEndAllowThreads(__tstate);
4dfaa61e 2848 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2849} Py_INCREF(Py_None);
2850 _resultobj = Py_None;
b26e2dc4
RD
2851 return _resultobj;
2852}
2853
ab2208b5
RD
2854#define wxToolBarBase_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2855static PyObject *_wrap_wxToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8 2856 PyObject * _resultobj;
ab2208b5 2857 wxToolBarBase * _arg0;
c95e68d8 2858 int _arg1;
2d091820 2859 PyObject * _argo0 = 0;
ab2208b5 2860 char *_kwnames[] = { "self","separation", NULL };
c95e68d8
RD
2861
2862 self = self;
ab2208b5 2863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_SetToolSeparation",_kwnames,&_argo0,&_arg1))
c95e68d8 2864 return NULL;
2d091820
RD
2865 if (_argo0) {
2866 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolSeparation. Expected _wxToolBarBase_p.");
c95e68d8
RD
2869 return NULL;
2870 }
2871 }
c95e68d8 2872{
474c48f9 2873 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2874 wxToolBarBase_SetToolSeparation(_arg0,_arg1);
ab9bc19b 2875
474c48f9 2876 wxPyEndAllowThreads(__tstate);
4dfaa61e 2877 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2878} Py_INCREF(Py_None);
2879 _resultobj = Py_None;
2880 return _resultobj;
c95e68d8 2881}
ab2208b5
RD
2882
2883#define wxToolBarBase_GetToolMargins(_swigobj) (_swigobj->GetToolMargins())
2884static PyObject *_wrap_wxToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
2885 PyObject * _resultobj;
2886 wxSize * _result;
2887 wxToolBarBase * _arg0;
2888 PyObject * _argo0 = 0;
2889 char *_kwnames[] = { "self", NULL };
2890 char _ptemp[128];
2891
2892 self = self;
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolMargins",_kwnames,&_argo0))
2894 return NULL;
2895 if (_argo0) {
2896 if (_argo0 == Py_None) { _arg0 = NULL; }
2897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolMargins. Expected _wxToolBarBase_p.");
2899 return NULL;
2900 }
2901 }
c95e68d8 2902{
474c48f9 2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2904 _result = new wxSize (wxToolBarBase_GetToolMargins(_arg0));
ab2208b5 2905
474c48f9 2906 wxPyEndAllowThreads(__tstate);
4dfaa61e 2907 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
2908} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2909 _resultobj = Py_BuildValue("s",_ptemp);
2910 return _resultobj;
c95e68d8 2911}
ab2208b5 2912
5e40f9dd
RD
2913#define wxToolBarBase_GetMargins(_swigobj) (_swigobj->GetMargins())
2914static PyObject *_wrap_wxToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
2915 PyObject * _resultobj;
2916 wxSize * _result;
2917 wxToolBarBase * _arg0;
2918 PyObject * _argo0 = 0;
2919 char *_kwnames[] = { "self", NULL };
2920 char _ptemp[128];
2921
2922 self = self;
2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetMargins",_kwnames,&_argo0))
2924 return NULL;
2925 if (_argo0) {
2926 if (_argo0 == Py_None) { _arg0 = NULL; }
2927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetMargins. Expected _wxToolBarBase_p.");
2929 return NULL;
2930 }
2931 }
2932{
474c48f9 2933 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2934 _result = new wxSize (wxToolBarBase_GetMargins(_arg0));
5e40f9dd 2935
474c48f9 2936 wxPyEndAllowThreads(__tstate);
4dfaa61e 2937 if (PyErr_Occurred()) return NULL;
5e40f9dd
RD
2938} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2939 _resultobj = Py_BuildValue("s",_ptemp);
2940 return _resultobj;
2941}
2942
ab2208b5
RD
2943#define wxToolBarBase_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2944static PyObject *_wrap_wxToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
2945 PyObject * _resultobj;
2946 int _result;
2947 wxToolBarBase * _arg0;
2948 PyObject * _argo0 = 0;
2949 char *_kwnames[] = { "self", NULL };
2950
2951 self = self;
2952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolPacking",_kwnames,&_argo0))
2953 return NULL;
2954 if (_argo0) {
2955 if (_argo0 == Py_None) { _arg0 = NULL; }
2956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolPacking. Expected _wxToolBarBase_p.");
2958 return NULL;
2959 }
2960 }
2961{
474c48f9 2962 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2963 _result = (int )wxToolBarBase_GetToolPacking(_arg0);
ab2208b5 2964
474c48f9 2965 wxPyEndAllowThreads(__tstate);
4dfaa61e 2966 if (PyErr_Occurred()) return NULL;
ab2208b5 2967} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
2968 return _resultobj;
2969}
2970
ab2208b5
RD
2971#define wxToolBarBase_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2972static PyObject *_wrap_wxToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
2973 PyObject * _resultobj;
2974 int _result;
ab2208b5 2975 wxToolBarBase * _arg0;
2d091820 2976 PyObject * _argo0 = 0;
107e4716 2977 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
2978
2979 self = self;
ab2208b5 2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolSeparation",_kwnames,&_argo0))
c95e68d8 2981 return NULL;
2d091820
RD
2982 if (_argo0) {
2983 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
2984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
2985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolSeparation. Expected _wxToolBarBase_p.");
c95e68d8
RD
2986 return NULL;
2987 }
2988 }
ab9bc19b 2989{
474c48f9 2990 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2991 _result = (int )wxToolBarBase_GetToolSeparation(_arg0);
ab9bc19b 2992
474c48f9 2993 wxPyEndAllowThreads(__tstate);
4dfaa61e 2994 if (PyErr_Occurred()) return NULL;
ab9bc19b 2995} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
2996 return _resultobj;
2997}
2998
ab2208b5
RD
2999#define wxToolBarBase_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
3000static PyObject *_wrap_wxToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8 3001 PyObject * _resultobj;
ab2208b5
RD
3002 wxToolBarBase * _arg0;
3003 int _arg1;
2d091820 3004 PyObject * _argo0 = 0;
ab2208b5 3005 char *_kwnames[] = { "self","nRows", NULL };
c95e68d8
RD
3006
3007 self = self;
ab2208b5 3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_SetRows",_kwnames,&_argo0,&_arg1))
c95e68d8 3009 return NULL;
2d091820
RD
3010 if (_argo0) {
3011 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
3012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
3013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetRows. Expected _wxToolBarBase_p.");
c95e68d8
RD
3014 return NULL;
3015 }
3016 }
ab9bc19b 3017{
474c48f9 3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3019 wxToolBarBase_SetRows(_arg0,_arg1);
ab9bc19b 3020
474c48f9 3021 wxPyEndAllowThreads(__tstate);
4dfaa61e 3022 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
3023} Py_INCREF(Py_None);
3024 _resultobj = Py_None;
c95e68d8
RD
3025 return _resultobj;
3026}
3027
ab2208b5
RD
3028#define wxToolBarBase_SetMaxRowsCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMaxRowsCols(_swigarg0,_swigarg1))
3029static PyObject *_wrap_wxToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8 3030 PyObject * _resultobj;
ab2208b5 3031 wxToolBarBase * _arg0;
c95e68d8 3032 int _arg1;
ab2208b5 3033 int _arg2;
2d091820 3034 PyObject * _argo0 = 0;
ab2208b5 3035 char *_kwnames[] = { "self","rows","cols", NULL };
c95e68d8
RD
3036
3037 self = self;
ab2208b5 3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_SetMaxRowsCols",_kwnames,&_argo0,&_arg1,&_arg2))
c95e68d8 3039 return NULL;
2d091820
RD
3040 if (_argo0) {
3041 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
3042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
3043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetMaxRowsCols. Expected _wxToolBarBase_p.");
c95e68d8
RD
3044 return NULL;
3045 }
3046 }
c95e68d8 3047{
474c48f9 3048 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3049 wxToolBarBase_SetMaxRowsCols(_arg0,_arg1,_arg2);
ab9bc19b 3050
474c48f9 3051 wxPyEndAllowThreads(__tstate);
4dfaa61e 3052 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
3053} Py_INCREF(Py_None);
3054 _resultobj = Py_None;
c95e68d8
RD
3055 return _resultobj;
3056}
3057
ab2208b5
RD
3058#define wxToolBarBase_GetMaxRows(_swigobj) (_swigobj->GetMaxRows())
3059static PyObject *_wrap_wxToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 3060 PyObject * _resultobj;
ab2208b5
RD
3061 int _result;
3062 wxToolBarBase * _arg0;
2d091820 3063 PyObject * _argo0 = 0;
ab2208b5 3064 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
3065
3066 self = self;
ab2208b5 3067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetMaxRows",_kwnames,&_argo0))
b26e2dc4 3068 return NULL;
2d091820
RD
3069 if (_argo0) {
3070 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
3071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
3072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetMaxRows. Expected _wxToolBarBase_p.");
b26e2dc4
RD
3073 return NULL;
3074 }
3075 }
ab9bc19b 3076{
474c48f9 3077 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3078 _result = (int )wxToolBarBase_GetMaxRows(_arg0);
ab9bc19b 3079
474c48f9 3080 wxPyEndAllowThreads(__tstate);
4dfaa61e 3081 if (PyErr_Occurred()) return NULL;
ab9bc19b 3082} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
3083 return _resultobj;
3084}
3085
ab2208b5
RD
3086#define wxToolBarBase_GetMaxCols(_swigobj) (_swigobj->GetMaxCols())
3087static PyObject *_wrap_wxToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 3088 PyObject * _resultobj;
ab2208b5
RD
3089 int _result;
3090 wxToolBarBase * _arg0;
2d091820 3091 PyObject * _argo0 = 0;
107e4716 3092 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
3093
3094 self = self;
ab2208b5 3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetMaxCols",_kwnames,&_argo0))
b26e2dc4 3096 return NULL;
2d091820
RD
3097 if (_argo0) {
3098 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
3099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
3100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetMaxCols. Expected _wxToolBarBase_p.");
b26e2dc4
RD
3101 return NULL;
3102 }
3103 }
ab9bc19b 3104{
474c48f9 3105 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3106 _result = (int )wxToolBarBase_GetMaxCols(_arg0);
ab9bc19b 3107
474c48f9 3108 wxPyEndAllowThreads(__tstate);
4dfaa61e 3109 if (PyErr_Occurred()) return NULL;
ab9bc19b 3110} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
3111 return _resultobj;
3112}
3113
ab2208b5
RD
3114#define wxToolBarBase_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
3115static PyObject *_wrap_wxToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8 3116 PyObject * _resultobj;
ab2208b5
RD
3117 wxToolBarBase * _arg0;
3118 wxSize * _arg1;
2d091820 3119 PyObject * _argo0 = 0;
ab2208b5
RD
3120 wxSize temp;
3121 PyObject * _obj1 = 0;
3122 char *_kwnames[] = { "self","size", NULL };
c95e68d8
RD
3123
3124 self = self;
ab2208b5 3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarBase_SetToolBitmapSize",_kwnames,&_argo0,&_obj1))
c95e68d8 3126 return NULL;
2d091820
RD
3127 if (_argo0) {
3128 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
3129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
3130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolBitmapSize. Expected _wxToolBarBase_p.");
c95e68d8
RD
3131 return NULL;
3132 }
3133 }
3134{
ab2208b5
RD
3135 _arg1 = &temp;
3136 if (! wxSize_helper(_obj1, &_arg1))
c95e68d8 3137 return NULL;
c95e68d8 3138}
ab9bc19b 3139{
474c48f9 3140 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3141 wxToolBarBase_SetToolBitmapSize(_arg0,*_arg1);
ab9bc19b 3142
474c48f9 3143 wxPyEndAllowThreads(__tstate);
4dfaa61e 3144 if (PyErr_Occurred()) return NULL;
ab9bc19b 3145} Py_INCREF(Py_None);
c95e68d8 3146 _resultobj = Py_None;
c95e68d8
RD
3147 return _resultobj;
3148}
3149
ab2208b5
RD
3150#define wxToolBarBase_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
3151static PyObject *_wrap_wxToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8 3152 PyObject * _resultobj;
ab2208b5
RD
3153 wxSize * _result;
3154 wxToolBarBase * _arg0;
2d091820 3155 PyObject * _argo0 = 0;
ab2208b5
RD
3156 char *_kwnames[] = { "self", NULL };
3157 char _ptemp[128];
c95e68d8
RD
3158
3159 self = self;
ab2208b5 3160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolBitmapSize",_kwnames,&_argo0))
c95e68d8 3161 return NULL;
2d091820
RD
3162 if (_argo0) {
3163 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
3164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
3165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolBitmapSize. Expected _wxToolBarBase_p.");
c95e68d8
RD
3166 return NULL;
3167 }
3168 }
3169{
474c48f9 3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3171 _result = new wxSize (wxToolBarBase_GetToolBitmapSize(_arg0));
ab2208b5 3172
474c48f9 3173 wxPyEndAllowThreads(__tstate);
4dfaa61e 3174 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
3175} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3176 _resultobj = Py_BuildValue("s",_ptemp);
3177 return _resultobj;
3178}
3179
3180#define wxToolBarBase_GetToolSize(_swigobj) (_swigobj->GetToolSize())
3181static PyObject *_wrap_wxToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3182 PyObject * _resultobj;
3183 wxSize * _result;
3184 wxToolBarBase * _arg0;
3185 PyObject * _argo0 = 0;
3186 char *_kwnames[] = { "self", NULL };
3187 char _ptemp[128];
3188
3189 self = self;
3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolSize",_kwnames,&_argo0))
3191 return NULL;
3192 if (_argo0) {
3193 if (_argo0 == Py_None) { _arg0 = NULL; }
3194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
3195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolSize. Expected _wxToolBarBase_p.");
c95e68d8 3196 return NULL;
ab2208b5 3197 }
c95e68d8 3198 }
ab9bc19b 3199{
474c48f9 3200 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3201 _result = new wxSize (wxToolBarBase_GetToolSize(_arg0));
ab9bc19b 3202
474c48f9 3203 wxPyEndAllowThreads(__tstate);
4dfaa61e 3204 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
3205} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
3206 _resultobj = Py_BuildValue("s",_ptemp);
b26e2dc4
RD
3207 return _resultobj;
3208}
3209
f0972d1e
RD
3210#define wxToolBarBase_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3211static PyObject *_wrap_wxToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3212 PyObject * _resultobj;
3213 wxToolBarToolBase * _result;
3214 wxToolBarBase * _arg0;
3215 wxCoord _arg1;
3216 wxCoord _arg2;
3217 PyObject * _argo0 = 0;
3218 char *_kwnames[] = { "self","x","y", NULL };
3219
3220 self = self;
3221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_FindToolForPosition",_kwnames,&_argo0,&_arg1,&_arg2))
3222 return NULL;
3223 if (_argo0) {
3224 if (_argo0 == Py_None) { _arg0 = NULL; }
3225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
3226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_FindToolForPosition. Expected _wxToolBarBase_p.");
3227 return NULL;
3228 }
3229 }
3230{
3231 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3232 _result = (wxToolBarToolBase *)wxToolBarBase_FindToolForPosition(_arg0,_arg1,_arg2);
f0972d1e
RD
3233
3234 wxPyEndAllowThreads(__tstate);
3235 if (PyErr_Occurred()) return NULL;
3236}{ _resultobj = wxPyMake_wxObject(_result); }
3237 return _resultobj;
3238}
3239
3240#define wxToolBarBase_IsVertical(_swigobj) (_swigobj->IsVertical())
3241static PyObject *_wrap_wxToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject * _resultobj;
3243 bool _result;
3244 wxToolBarBase * _arg0;
3245 PyObject * _argo0 = 0;
3246 char *_kwnames[] = { "self", NULL };
3247
3248 self = self;
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_IsVertical",_kwnames,&_argo0))
3250 return NULL;
3251 if (_argo0) {
3252 if (_argo0 == Py_None) { _arg0 = NULL; }
3253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) {
3254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_IsVertical. Expected _wxToolBarBase_p.");
3255 return NULL;
3256 }
3257 }
3258{
3259 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3260 _result = (bool )wxToolBarBase_IsVertical(_arg0);
f0972d1e
RD
3261
3262 wxPyEndAllowThreads(__tstate);
3263 if (PyErr_Occurred()) return NULL;
3264} _resultobj = Py_BuildValue("i",_result);
3265 return _resultobj;
3266}
3267
ab2208b5
RD
3268static void *SwigwxToolBarTowxToolBarBase(void *ptr) {
3269 wxToolBar *src;
3270 wxToolBarBase *dest;
3271 src = (wxToolBar *) ptr;
3272 dest = (wxToolBarBase *) src;
3273 return (void *) dest;
3274}
3275
3276static void *SwigwxToolBarTowxControl(void *ptr) {
3277 wxToolBar *src;
3278 wxControl *dest;
3279 src = (wxToolBar *) ptr;
3280 dest = (wxControl *) src;
3281 return (void *) dest;
3282}
3283
3284static void *SwigwxToolBarTowxWindow(void *ptr) {
3285 wxToolBar *src;
3286 wxWindow *dest;
3287 src = (wxToolBar *) ptr;
3288 dest = (wxWindow *) src;
3289 return (void *) dest;
3290}
3291
3292static void *SwigwxToolBarTowxEvtHandler(void *ptr) {
3293 wxToolBar *src;
3294 wxEvtHandler *dest;
3295 src = (wxToolBar *) ptr;
3296 dest = (wxEvtHandler *) src;
3297 return (void *) dest;
3298}
3299
9df61a29
RD
3300static void *SwigwxToolBarTowxObject(void *ptr) {
3301 wxToolBar *src;
3302 wxObject *dest;
3303 src = (wxToolBar *) ptr;
3304 dest = (wxObject *) src;
3305 return (void *) dest;
3306}
3307
ab2208b5
RD
3308#define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3309static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 3310 PyObject * _resultobj;
ab2208b5
RD
3311 wxToolBar * _result;
3312 wxWindow * _arg0;
3313 wxWindowID _arg1;
b68dc582
RD
3314 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
3315 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
ab2208b5 3316 long _arg4 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
9a74fcaf 3317 wxString * _arg5 = (wxString *) &wxPyToolBarNameStr;
2d091820 3318 PyObject * _argo0 = 0;
ab2208b5
RD
3319 wxPoint temp;
3320 PyObject * _obj2 = 0;
3321 wxSize temp0;
3322 PyObject * _obj3 = 0;
9a74fcaf 3323 PyObject * _obj5 = 0;
ab2208b5
RD
3324 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
3325 char _ptemp[128];
b26e2dc4
RD
3326
3327 self = self;
9a74fcaf 3328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxToolBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
b26e2dc4 3329 return NULL;
2d091820
RD
3330 if (_argo0) {
3331 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
3332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
b26e2dc4
RD
3334 return NULL;
3335 }
3336 }
ab2208b5 3337 if (_obj2)
37f6a977 3338{
ab2208b5
RD
3339 _arg2 = &temp;
3340 if (! wxPoint_helper(_obj2, &_arg2))
3341 return NULL;
3342}
3343 if (_obj3)
3344{
3345 _arg3 = &temp0;
3346 if (! wxSize_helper(_obj3, &_arg3))
3347 return NULL;
9a74fcaf
RD
3348}
3349 if (_obj5)
3350{
3351 _arg5 = wxString_in_helper(_obj5);
3352 if (_arg5 == NULL)
3353 return NULL;
37f6a977 3354}
ab9bc19b 3355{
474c48f9 3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 3357 _result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
ab9bc19b 3358
474c48f9 3359 wxPyEndAllowThreads(__tstate);
4dfaa61e 3360 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
3361} if (_result) {
3362 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
3363 _resultobj = Py_BuildValue("s",_ptemp);
3364 } else {
3365 Py_INCREF(Py_None);
3366 _resultobj = Py_None;
3367 }
9a74fcaf
RD
3368{
3369 if (_obj5)
3370 delete _arg5;
3371}
b26e2dc4
RD
3372 return _resultobj;
3373}
3374
aa2a5b86
RD
3375#define new_wxPreToolBar() (new wxToolBar())
3376static PyObject *_wrap_new_wxPreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3377 PyObject * _resultobj;
3378 wxToolBar * _result;
3379 char *_kwnames[] = { NULL };
3380 char _ptemp[128];
3381
3382 self = self;
3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToolBar",_kwnames))
3384 return NULL;
3385{
474c48f9 3386 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3387 _result = (wxToolBar *)new_wxPreToolBar();
aa2a5b86 3388
474c48f9 3389 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3390 if (PyErr_Occurred()) return NULL;
3391} if (_result) {
3392 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
3393 _resultobj = Py_BuildValue("s",_ptemp);
3394 } else {
3395 Py_INCREF(Py_None);
3396 _resultobj = Py_None;
3397 }
3398 return _resultobj;
3399}
3400
3401#define wxToolBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3402static PyObject *_wrap_wxToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject * _resultobj;
3404 bool _result;
3405 wxToolBar * _arg0;
3406 wxWindow * _arg1;
3407 wxWindowID _arg2;
3408 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3409 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3410 long _arg5 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
9a74fcaf 3411 wxString * _arg6 = (wxString *) &wxPyToolBarNameStr;
aa2a5b86
RD
3412 PyObject * _argo0 = 0;
3413 PyObject * _argo1 = 0;
3414 wxPoint temp;
3415 PyObject * _obj3 = 0;
3416 wxSize temp0;
3417 PyObject * _obj4 = 0;
9a74fcaf 3418 PyObject * _obj6 = 0;
aa2a5b86
RD
3419 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
3420
3421 self = self;
9a74fcaf 3422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxToolBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
3423 return NULL;
3424 if (_argo0) {
3425 if (_argo0 == Py_None) { _arg0 = NULL; }
3426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
3427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_Create. Expected _wxToolBar_p.");
3428 return NULL;
3429 }
3430 }
3431 if (_argo1) {
3432 if (_argo1 == Py_None) { _arg1 = NULL; }
3433 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3434 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBar_Create. Expected _wxWindow_p.");
3435 return NULL;
3436 }
3437 }
3438 if (_obj3)
3439{
3440 _arg3 = &temp;
3441 if (! wxPoint_helper(_obj3, &_arg3))
3442 return NULL;
3443}
3444 if (_obj4)
3445{
3446 _arg4 = &temp0;
3447 if (! wxSize_helper(_obj4, &_arg4))
3448 return NULL;
9a74fcaf
RD
3449}
3450 if (_obj6)
3451{
3452 _arg6 = wxString_in_helper(_obj6);
3453 if (_arg6 == NULL)
3454 return NULL;
aa2a5b86
RD
3455}
3456{
474c48f9 3457 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 3458 _result = (bool )wxToolBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 3459
474c48f9 3460 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3461 if (PyErr_Occurred()) return NULL;
3462} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
3463{
3464 if (_obj6)
3465 delete _arg6;
3466}
aa2a5b86
RD
3467 return _resultobj;
3468}
3469
ab2208b5
RD
3470#define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3471static PyObject *_wrap_wxToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 3472 PyObject * _resultobj;
ab2208b5 3473 wxToolBarToolBase * _result;
b26e2dc4 3474 wxToolBar * _arg0;
ab2208b5
RD
3475 wxCoord _arg1;
3476 wxCoord _arg2;
2d091820 3477 PyObject * _argo0 = 0;
ab2208b5 3478 char *_kwnames[] = { "self","x","y", NULL };
b26e2dc4
RD
3479
3480 self = self;
ab2208b5 3481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBar_FindToolForPosition",_kwnames,&_argo0,&_arg1,&_arg2))
b26e2dc4 3482 return NULL;
2d091820
RD
3483 if (_argo0) {
3484 if (_argo0 == Py_None) { _arg0 = NULL; }
3485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
ab2208b5 3486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
b26e2dc4
RD
3487 return NULL;
3488 }
3489 }
ab9bc19b 3490{
474c48f9 3491 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3492 _result = (wxToolBarToolBase *)wxToolBar_FindToolForPosition(_arg0,_arg1,_arg2);
ab9bc19b 3493
474c48f9 3494 wxPyEndAllowThreads(__tstate);
4dfaa61e 3495 if (PyErr_Occurred()) return NULL;
9df61a29 3496}{ _resultobj = wxPyMake_wxObject(_result); }
b26e2dc4
RD
3497 return _resultobj;
3498}
3499
ab2208b5
RD
3500static void *SwigwxToolBarSimpleTowxToolBarBase(void *ptr) {
3501 wxToolBarSimple *src;
3502 wxToolBarBase *dest;
3503 src = (wxToolBarSimple *) ptr;
3504 dest = (wxToolBarBase *) src;
3505 return (void *) dest;
3506}
3507
3508static void *SwigwxToolBarSimpleTowxControl(void *ptr) {
3509 wxToolBarSimple *src;
3510 wxControl *dest;
3511 src = (wxToolBarSimple *) ptr;
3512 dest = (wxControl *) src;
3513 return (void *) dest;
3514}
3515
3516static void *SwigwxToolBarSimpleTowxWindow(void *ptr) {
3517 wxToolBarSimple *src;
3518 wxWindow *dest;
3519 src = (wxToolBarSimple *) ptr;
3520 dest = (wxWindow *) src;
3521 return (void *) dest;
3522}
3523
3524static void *SwigwxToolBarSimpleTowxEvtHandler(void *ptr) {
3525 wxToolBarSimple *src;
3526 wxEvtHandler *dest;
3527 src = (wxToolBarSimple *) ptr;
3528 dest = (wxEvtHandler *) src;
3529 return (void *) dest;
3530}
3531
9df61a29
RD
3532static void *SwigwxToolBarSimpleTowxObject(void *ptr) {
3533 wxToolBarSimple *src;
3534 wxObject *dest;
3535 src = (wxToolBarSimple *) ptr;
3536 dest = (wxObject *) src;
3537 return (void *) dest;
3538}
3539
ab2208b5
RD
3540#define new_wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3541static PyObject *_wrap_new_wxToolBarSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 3542 PyObject * _resultobj;
ab2208b5
RD
3543 wxToolBarSimple * _result;
3544 wxWindow * _arg0;
3545 wxWindowID _arg1;
b68dc582
RD
3546 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
3547 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
ab2208b5 3548 long _arg4 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
9a74fcaf 3549 wxString * _arg5 = (wxString *) &wxPyToolBarNameStr;
2d091820 3550 PyObject * _argo0 = 0;
ab2208b5
RD
3551 wxPoint temp;
3552 PyObject * _obj2 = 0;
3553 wxSize temp0;
3554 PyObject * _obj3 = 0;
9a74fcaf 3555 PyObject * _obj5 = 0;
ab2208b5
RD
3556 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
3557 char _ptemp[128];
b26e2dc4
RD
3558
3559 self = self;
9a74fcaf 3560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxToolBarSimple",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
b26e2dc4 3561 return NULL;
2d091820
RD
3562 if (_argo0) {
3563 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
3564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBarSimple. Expected _wxWindow_p.");
b26e2dc4
RD
3566 return NULL;
3567 }
3568 }
ab2208b5
RD
3569 if (_obj2)
3570{
3571 _arg2 = &temp;
3572 if (! wxPoint_helper(_obj2, &_arg2))
3573 return NULL;
3574}
3575 if (_obj3)
3576{
3577 _arg3 = &temp0;
3578 if (! wxSize_helper(_obj3, &_arg3))
3579 return NULL;
9a74fcaf
RD
3580}
3581 if (_obj5)
3582{
3583 _arg5 = wxString_in_helper(_obj5);
3584 if (_arg5 == NULL)
3585 return NULL;
ab2208b5 3586}
ab9bc19b 3587{
474c48f9 3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 3589 _result = (wxToolBarSimple *)new_wxToolBarSimple(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
ab9bc19b 3590
474c48f9 3591 wxPyEndAllowThreads(__tstate);
4dfaa61e 3592 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
3593} if (_result) {
3594 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarSimple_p");
3595 _resultobj = Py_BuildValue("s",_ptemp);
3596 } else {
3597 Py_INCREF(Py_None);
3598 _resultobj = Py_None;
3599 }
9a74fcaf
RD
3600{
3601 if (_obj5)
3602 delete _arg5;
3603}
b26e2dc4
RD
3604 return _resultobj;
3605}
3606
aa2a5b86
RD
3607#define new_wxPreToolBarSimple() (new wxToolBarSimple())
3608static PyObject *_wrap_new_wxPreToolBarSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
3609 PyObject * _resultobj;
3610 wxToolBarSimple * _result;
3611 char *_kwnames[] = { NULL };
3612 char _ptemp[128];
3613
3614 self = self;
3615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToolBarSimple",_kwnames))
3616 return NULL;
3617{
474c48f9 3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3619 _result = (wxToolBarSimple *)new_wxPreToolBarSimple();
aa2a5b86 3620
474c48f9 3621 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3622 if (PyErr_Occurred()) return NULL;
3623} if (_result) {
3624 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarSimple_p");
3625 _resultobj = Py_BuildValue("s",_ptemp);
3626 } else {
3627 Py_INCREF(Py_None);
3628 _resultobj = Py_None;
3629 }
3630 return _resultobj;
3631}
3632
3633#define wxToolBarSimple_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3634static PyObject *_wrap_wxToolBarSimple_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3635 PyObject * _resultobj;
3636 bool _result;
3637 wxToolBarSimple * _arg0;
3638 wxWindow * _arg1;
3639 wxWindowID _arg2;
3640 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3641 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3642 long _arg5 = (long ) wxNO_BORDER|wxTB_HORIZONTAL;
9a74fcaf 3643 wxString * _arg6 = (wxString *) &wxPyToolBarNameStr;
aa2a5b86
RD
3644 PyObject * _argo0 = 0;
3645 PyObject * _argo1 = 0;
3646 wxPoint temp;
3647 PyObject * _obj3 = 0;
3648 wxSize temp0;
3649 PyObject * _obj4 = 0;
9a74fcaf 3650 PyObject * _obj6 = 0;
aa2a5b86
RD
3651 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
3652
3653 self = self;
9a74fcaf 3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxToolBarSimple_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
3655 return NULL;
3656 if (_argo0) {
3657 if (_argo0 == Py_None) { _arg0 = NULL; }
3658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarSimple_p")) {
3659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarSimple_Create. Expected _wxToolBarSimple_p.");
3660 return NULL;
3661 }
3662 }
3663 if (_argo1) {
3664 if (_argo1 == Py_None) { _arg1 = NULL; }
3665 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3666 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarSimple_Create. Expected _wxWindow_p.");
3667 return NULL;
3668 }
3669 }
3670 if (_obj3)
3671{
3672 _arg3 = &temp;
3673 if (! wxPoint_helper(_obj3, &_arg3))
3674 return NULL;
3675}
3676 if (_obj4)
3677{
3678 _arg4 = &temp0;
3679 if (! wxSize_helper(_obj4, &_arg4))
3680 return NULL;
9a74fcaf
RD
3681}
3682 if (_obj6)
3683{
3684 _arg6 = wxString_in_helper(_obj6);
3685 if (_arg6 == NULL)
3686 return NULL;
aa2a5b86
RD
3687}
3688{
474c48f9 3689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 3690 _result = (bool )wxToolBarSimple_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 3691
474c48f9 3692 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3693 if (PyErr_Occurred()) return NULL;
3694} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
3695{
3696 if (_obj6)
3697 delete _arg6;
3698}
aa2a5b86
RD
3699 return _resultobj;
3700}
3701
ab2208b5
RD
3702#define wxToolBarSimple_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3703static PyObject *_wrap_wxToolBarSimple_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 3704 PyObject * _resultobj;
ab2208b5
RD
3705 wxToolBarToolBase * _result;
3706 wxToolBarSimple * _arg0;
3707 wxCoord _arg1;
3708 wxCoord _arg2;
2d091820 3709 PyObject * _argo0 = 0;
ab2208b5 3710 char *_kwnames[] = { "self","x","y", NULL };
b26e2dc4
RD
3711
3712 self = self;
ab2208b5 3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarSimple_FindToolForPosition",_kwnames,&_argo0,&_arg1,&_arg2))
b26e2dc4 3714 return NULL;
2d091820
RD
3715 if (_argo0) {
3716 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
3717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarSimple_p")) {
3718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarSimple_FindToolForPosition. Expected _wxToolBarSimple_p.");
b26e2dc4
RD
3719 return NULL;
3720 }
3721 }
ab9bc19b 3722{
474c48f9 3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3724 _result = (wxToolBarToolBase *)wxToolBarSimple_FindToolForPosition(_arg0,_arg1,_arg2);
ab9bc19b 3725
474c48f9 3726 wxPyEndAllowThreads(__tstate);
4dfaa61e 3727 if (PyErr_Occurred()) return NULL;
9df61a29 3728}{ _resultobj = wxPyMake_wxObject(_result); }
b26e2dc4
RD
3729 return _resultobj;
3730}
3731
3732static PyMethodDef stattoolcMethods[] = {
ab2208b5 3733 { "wxToolBarSimple_FindToolForPosition", (PyCFunction) _wrap_wxToolBarSimple_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
3734 { "wxToolBarSimple_Create", (PyCFunction) _wrap_wxToolBarSimple_Create, METH_VARARGS | METH_KEYWORDS },
3735 { "new_wxPreToolBarSimple", (PyCFunction) _wrap_new_wxPreToolBarSimple, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
3736 { "new_wxToolBarSimple", (PyCFunction) _wrap_new_wxToolBarSimple, METH_VARARGS | METH_KEYWORDS },
3737 { "wxToolBar_FindToolForPosition", (PyCFunction) _wrap_wxToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
3738 { "wxToolBar_Create", (PyCFunction) _wrap_wxToolBar_Create, METH_VARARGS | METH_KEYWORDS },
3739 { "new_wxPreToolBar", (PyCFunction) _wrap_new_wxPreToolBar, METH_VARARGS | METH_KEYWORDS },
107e4716 3740 { "new_wxToolBar", (PyCFunction) _wrap_new_wxToolBar, METH_VARARGS | METH_KEYWORDS },
f0972d1e
RD
3741 { "wxToolBarBase_IsVertical", (PyCFunction) _wrap_wxToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
3742 { "wxToolBarBase_FindToolForPosition", (PyCFunction) _wrap_wxToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
3743 { "wxToolBarBase_GetToolSize", (PyCFunction) _wrap_wxToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
3744 { "wxToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_wxToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
3745 { "wxToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_wxToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
3746 { "wxToolBarBase_GetMaxCols", (PyCFunction) _wrap_wxToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
3747 { "wxToolBarBase_GetMaxRows", (PyCFunction) _wrap_wxToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
3748 { "wxToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_wxToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
3749 { "wxToolBarBase_SetRows", (PyCFunction) _wrap_wxToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
3750 { "wxToolBarBase_GetToolSeparation", (PyCFunction) _wrap_wxToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
3751 { "wxToolBarBase_GetToolPacking", (PyCFunction) _wrap_wxToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
5e40f9dd 3752 { "wxToolBarBase_GetMargins", (PyCFunction) _wrap_wxToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
3753 { "wxToolBarBase_GetToolMargins", (PyCFunction) _wrap_wxToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
3754 { "wxToolBarBase_SetToolSeparation", (PyCFunction) _wrap_wxToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
3755 { "wxToolBarBase_SetToolPacking", (PyCFunction) _wrap_wxToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
3756 { "wxToolBarBase_SetMargins", (PyCFunction) _wrap_wxToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
3757 { "wxToolBarBase_SetMarginsXY", (PyCFunction) _wrap_wxToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
3758 { "wxToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_wxToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
3759 { "wxToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_wxToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
3760 { "wxToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_wxToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
3761 { "wxToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_wxToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
3762 { "wxToolBarBase_GetToolEnabled", (PyCFunction) _wrap_wxToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
3763 { "wxToolBarBase_GetToolState", (PyCFunction) _wrap_wxToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
3764 { "wxToolBarBase_SetToolClientData", (PyCFunction) _wrap_wxToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
3765 { "wxToolBarBase_GetToolClientData", (PyCFunction) _wrap_wxToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
3766 { "wxToolBarBase_SetToggle", (PyCFunction) _wrap_wxToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
3767 { "wxToolBarBase_ToggleTool", (PyCFunction) _wrap_wxToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
3768 { "wxToolBarBase_EnableTool", (PyCFunction) _wrap_wxToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
3769 { "wxToolBarBase_Realize", (PyCFunction) _wrap_wxToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
3770 { "wxToolBarBase_ClearTools", (PyCFunction) _wrap_wxToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
3771 { "wxToolBarBase_DeleteTool", (PyCFunction) _wrap_wxToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
3772 { "wxToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_wxToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
3773 { "wxToolBarBase_RemoveTool", (PyCFunction) _wrap_wxToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
3774 { "wxToolBarBase_InsertSeparator", (PyCFunction) _wrap_wxToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
3775 { "wxToolBarBase_AddSeparator", (PyCFunction) _wrap_wxToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
3776 { "wxToolBarBase_InsertControl", (PyCFunction) _wrap_wxToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
3777 { "wxToolBarBase_AddControl", (PyCFunction) _wrap_wxToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
3778 { "wxToolBarBase_InsertSimpleTool", (PyCFunction) _wrap_wxToolBarBase_InsertSimpleTool, METH_VARARGS | METH_KEYWORDS },
3779 { "wxToolBarBase_InsertTool", (PyCFunction) _wrap_wxToolBarBase_InsertTool, METH_VARARGS | METH_KEYWORDS },
be86ffe3
RD
3780 { "wxToolBarBase_AddRadioTool", (PyCFunction) _wrap_wxToolBarBase_AddRadioTool, METH_VARARGS | METH_KEYWORDS },
3781 { "wxToolBarBase_AddCheckTool", (PyCFunction) _wrap_wxToolBarBase_AddCheckTool, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
3782 { "wxToolBarBase_AddSimpleTool", (PyCFunction) _wrap_wxToolBarBase_AddSimpleTool, METH_VARARGS | METH_KEYWORDS },
3783 { "wxToolBarBase_AddTool", (PyCFunction) _wrap_wxToolBarBase_AddTool, METH_VARARGS | METH_KEYWORDS },
3784 { "wxToolBarToolBase_SetClientData", (PyCFunction) _wrap_wxToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
3785 { "wxToolBarToolBase_GetClientData", (PyCFunction) _wrap_wxToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
3786 { "wxToolBarToolBase_Attach", (PyCFunction) _wrap_wxToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
3787 { "wxToolBarToolBase_Detach", (PyCFunction) _wrap_wxToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
f0972d1e
RD
3788 { "wxToolBarToolBase_SetLabel", (PyCFunction) _wrap_wxToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
3789 { "wxToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_wxToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
3790 { "wxToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_wxToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
3791 { "wxToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_wxToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
3792 { "wxToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_wxToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
3793 { "wxToolBarToolBase_SetToggle", (PyCFunction) _wrap_wxToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
3794 { "wxToolBarToolBase_Toggle", (PyCFunction) _wrap_wxToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
3795 { "wxToolBarToolBase_Enable", (PyCFunction) _wrap_wxToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
3796 { "wxToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_wxToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
3797 { "wxToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_wxToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
f0972d1e 3798 { "wxToolBarToolBase_GetLabel", (PyCFunction) _wrap_wxToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
ab2208b5 3799 { "wxToolBarToolBase_GetBitmap", (PyCFunction) _wrap_wxToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
f0972d1e
RD
3800 { "wxToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_wxToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
3801 { "wxToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_wxToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
3802 { "wxToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_wxToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
3803 { "wxToolBarToolBase_IsToggled", (PyCFunction) _wrap_wxToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
3804 { "wxToolBarToolBase_IsEnabled", (PyCFunction) _wrap_wxToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
be86ffe3 3805 { "wxToolBarToolBase_GetKind", (PyCFunction) _wrap_wxToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
3806 { "wxToolBarToolBase_GetStyle", (PyCFunction) _wrap_wxToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
3807 { "wxToolBarToolBase_IsSeparator", (PyCFunction) _wrap_wxToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
3808 { "wxToolBarToolBase_IsControl", (PyCFunction) _wrap_wxToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
3809 { "wxToolBarToolBase_IsButton", (PyCFunction) _wrap_wxToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
3810 { "wxToolBarToolBase_GetToolBar", (PyCFunction) _wrap_wxToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
3811 { "wxToolBarToolBase_GetControl", (PyCFunction) _wrap_wxToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
3812 { "wxToolBarToolBase_GetId", (PyCFunction) _wrap_wxToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
3813 { "wxToolBarToolBase_Destroy", (PyCFunction) _wrap_wxToolBarToolBase_Destroy, METH_VARARGS | METH_KEYWORDS },
2fc99549 3814 { "wxStatusBar_SetMinHeight", (PyCFunction) _wrap_wxStatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
3815 { "wxStatusBar_SetStatusWidths", (PyCFunction) _wrap_wxStatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
3816 { "wxStatusBar_SetStatusText", (PyCFunction) _wrap_wxStatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
3817 { "wxStatusBar_SetFieldsCount", (PyCFunction) _wrap_wxStatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
2fc99549
RD
3818 { "wxStatusBar_GetBorderY", (PyCFunction) _wrap_wxStatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
3819 { "wxStatusBar_GetBorderX", (PyCFunction) _wrap_wxStatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
3820 { "wxStatusBar_GetStatusText", (PyCFunction) _wrap_wxStatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
3821 { "wxStatusBar_GetFieldsCount", (PyCFunction) _wrap_wxStatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
3822 { "wxStatusBar_GetFieldRect", (PyCFunction) _wrap_wxStatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
3823 { "wxStatusBar_Create", (PyCFunction) _wrap_wxStatusBar_Create, METH_VARARGS | METH_KEYWORDS },
3824 { "new_wxPreStatusBar", (PyCFunction) _wrap_new_wxPreStatusBar, METH_VARARGS | METH_KEYWORDS },
107e4716 3825 { "new_wxStatusBar", (PyCFunction) _wrap_new_wxStatusBar, METH_VARARGS | METH_KEYWORDS },
b26e2dc4
RD
3826 { NULL, NULL }
3827};
2d091820
RD
3828#ifdef __cplusplus
3829}
3830#endif
3831/*
3832 * This table is used by the pointer type-checker
3833 */
3834static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2d091820 3835 { "_signed_long","_long",0},
4120ef2b 3836 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
3837 { "_wxPrintQuality","_int",0},
3838 { "_wxPrintQuality","_signed_int",0},
3839 { "_wxPrintQuality","_unsigned_int",0},
3840 { "_wxPrintQuality","_wxWindowID",0},
3841 { "_wxPrintQuality","_uint",0},
3842 { "_wxPrintQuality","_EBool",0},
3843 { "_wxPrintQuality","_size_t",0},
c368d904 3844 { "_wxPrintQuality","_time_t",0},
2d091820 3845 { "_byte","_unsigned_char",0},
2d091820
RD
3846 { "_long","_unsigned_long",0},
3847 { "_long","_signed_long",0},
4120ef2b 3848 { "_size_t","_wxCoord",0},
2d091820 3849 { "_size_t","_wxPrintQuality",0},
c368d904 3850 { "_size_t","_time_t",0},
2d091820
RD
3851 { "_size_t","_unsigned_int",0},
3852 { "_size_t","_int",0},
3853 { "_size_t","_wxWindowID",0},
3854 { "_size_t","_uint",0},
4120ef2b 3855 { "_uint","_wxCoord",0},
2d091820 3856 { "_uint","_wxPrintQuality",0},
c368d904 3857 { "_uint","_time_t",0},
2d091820
RD
3858 { "_uint","_size_t",0},
3859 { "_uint","_unsigned_int",0},
3860 { "_uint","_int",0},
3861 { "_uint","_wxWindowID",0},
f6bcfd97 3862 { "_wxChar","_char",0},
f6bcfd97 3863 { "_char","_wxChar",0},
32c988a3 3864 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4120ef2b 3865 { "_EBool","_wxCoord",0},
2d091820
RD
3866 { "_EBool","_wxPrintQuality",0},
3867 { "_EBool","_signed_int",0},
3868 { "_EBool","_int",0},
3869 { "_EBool","_wxWindowID",0},
2d091820 3870 { "_unsigned_long","_long",0},
32c988a3 3871 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4120ef2b 3872 { "_signed_int","_wxCoord",0},
2d091820
RD
3873 { "_signed_int","_wxPrintQuality",0},
3874 { "_signed_int","_EBool",0},
3875 { "_signed_int","_wxWindowID",0},
3876 { "_signed_int","_int",0},
2d091820
RD
3877 { "_WXTYPE","_short",0},
3878 { "_WXTYPE","_signed_short",0},
3879 { "_WXTYPE","_unsigned_short",0},
2d091820
RD
3880 { "_unsigned_short","_WXTYPE",0},
3881 { "_unsigned_short","_short",0},
9df61a29 3882 { "_wxObject","_wxToolBarSimple",SwigwxToolBarSimpleTowxObject},
9df61a29 3883 { "_wxObject","_wxToolBar",SwigwxToolBarTowxObject},
9df61a29 3884 { "_wxObject","_wxToolBarBase",SwigwxToolBarBaseTowxObject},
9df61a29 3885 { "_wxObject","_wxToolBarToolBase",SwigwxToolBarToolBaseTowxObject},
9df61a29 3886 { "_wxObject","_wxStatusBar",SwigwxStatusBarTowxObject},
2d091820
RD
3887 { "_signed_short","_WXTYPE",0},
3888 { "_signed_short","_short",0},
2d091820 3889 { "_unsigned_char","_byte",0},
ab2208b5 3890 { "_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl},
2d091820 3891 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl},
ab2208b5 3892 { "_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl},
4120ef2b 3893 { "_unsigned_int","_wxCoord",0},
2d091820 3894 { "_unsigned_int","_wxPrintQuality",0},
c368d904 3895 { "_unsigned_int","_time_t",0},
2d091820
RD
3896 { "_unsigned_int","_size_t",0},
3897 { "_unsigned_int","_uint",0},
3898 { "_unsigned_int","_wxWindowID",0},
3899 { "_unsigned_int","_int",0},
2d091820
RD
3900 { "_short","_WXTYPE",0},
3901 { "_short","_unsigned_short",0},
3902 { "_short","_signed_short",0},
4120ef2b 3903 { "_wxWindowID","_wxCoord",0},
2d091820 3904 { "_wxWindowID","_wxPrintQuality",0},
c368d904 3905 { "_wxWindowID","_time_t",0},
2d091820
RD
3906 { "_wxWindowID","_size_t",0},
3907 { "_wxWindowID","_EBool",0},
3908 { "_wxWindowID","_uint",0},
3909 { "_wxWindowID","_int",0},
3910 { "_wxWindowID","_signed_int",0},
3911 { "_wxWindowID","_unsigned_int",0},
4120ef2b 3912 { "_int","_wxCoord",0},
2d091820 3913 { "_int","_wxPrintQuality",0},
c368d904 3914 { "_int","_time_t",0},
2d091820
RD
3915 { "_int","_size_t",0},
3916 { "_int","_EBool",0},
3917 { "_int","_uint",0},
3918 { "_int","_wxWindowID",0},
3919 { "_int","_unsigned_int",0},
3920 { "_int","_signed_int",0},
c368d904
RD
3921 { "_time_t","_wxCoord",0},
3922 { "_time_t","_wxPrintQuality",0},
3923 { "_time_t","_unsigned_int",0},
3924 { "_time_t","_int",0},
3925 { "_time_t","_wxWindowID",0},
3926 { "_time_t","_uint",0},
3927 { "_time_t","_size_t",0},
ab2208b5 3928 { "_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase},
ab2208b5 3929 { "_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase},
4120ef2b
RD
3930 { "_wxCoord","_int",0},
3931 { "_wxCoord","_signed_int",0},
3932 { "_wxCoord","_unsigned_int",0},
3933 { "_wxCoord","_wxWindowID",0},
3934 { "_wxCoord","_uint",0},
3935 { "_wxCoord","_EBool",0},
3936 { "_wxCoord","_size_t",0},
c368d904 3937 { "_wxCoord","_time_t",0},
4120ef2b 3938 { "_wxCoord","_wxPrintQuality",0},
ab2208b5 3939 { "_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler},
2d091820 3940 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler},
ab2208b5 3941 { "_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler},
2d091820 3942 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
ab2208b5 3943 { "_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow},
2d091820 3944 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow},
ab2208b5 3945 { "_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow},
2d091820 3946 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow},
2d091820
RD
3947{0,0,0}};
3948
b26e2dc4
RD
3949static PyObject *SWIG_globals;
3950#ifdef __cplusplus
3951extern "C"
3952#endif
2d091820 3953SWIGEXPORT(void) initstattoolc() {
b26e2dc4
RD
3954 PyObject *m, *d;
3955 SWIG_globals = SWIG_newvarlink();
3956 m = Py_InitModule("stattoolc", stattoolcMethods);
3957 d = PyModule_GetDict(m);
ab2208b5
RD
3958 PyDict_SetItemString(d,"wxTOOL_STYLE_BUTTON", PyInt_FromLong((long) wxTOOL_STYLE_BUTTON));
3959 PyDict_SetItemString(d,"wxTOOL_STYLE_SEPARATOR", PyInt_FromLong((long) wxTOOL_STYLE_SEPARATOR));
3960 PyDict_SetItemString(d,"wxTOOL_STYLE_CONTROL", PyInt_FromLong((long) wxTOOL_STYLE_CONTROL));
2d091820
RD
3961{
3962 int i;
3963 for (i = 0; _swig_mapping[i].n1; i++)
3964 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
3965}
b26e2dc4 3966}