]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/stattool.cpp
added font encoding support
[wxWidgets.git] / utils / wxPython / src / gtk / stattool.cpp
CommitLineData
b26e2dc4
RD
1/*
2 * FILE : gtk/stattool.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
9cce9de1 6 * Version 1.1 (Build 810)
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__)
2d091820 30# define SWIGEXPORT(a) a _export
b26e2dc4 31# else
2d091820 32# define SWIGEXPORT(a) a
b26e2dc4
RD
33# endif
34# endif
35#else
2d091820 36# define SWIGEXPORT(a) a
b26e2dc4
RD
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42#include "Python.h"
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
b26e2dc4
RD
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
b26e2dc4
RD
52#define SWIG_init initstattoolc
53
54#define SWIG_name "stattoolc"
55
56#include "helpers.h"
57#include <wx/toolbar.h>
58#include <wx/tbarsmpl.h>
59
60static PyObject* l_output_helper(PyObject* target, PyObject* o) {
61 PyObject* o2;
62 PyObject* o3;
63 if (!target) {
64 target = o;
65 } else if (target == Py_None) {
66 Py_DECREF(Py_None);
67 target = o;
68 } else {
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79}
80
81static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
85 if (!target) {
86 target = o;
87 } else if (target == Py_None) {
88 Py_DECREF(Py_None);
89 target = o;
90 } else {
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
98
99 o2 = target;
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
102 Py_DECREF(o3);
103 }
104 return target;
105}
106
b26e2dc4 107static char* wxStringErrorMsg = "string type is required for parameter";
2d091820
RD
108#ifdef __cplusplus
109extern "C" {
110#endif
b26e2dc4
RD
111static void *SwigwxStatusBarTowxWindow(void *ptr) {
112 wxStatusBar *src;
113 wxWindow *dest;
114 src = (wxStatusBar *) ptr;
115 dest = (wxWindow *) src;
116 return (void *) dest;
117}
118
119static void *SwigwxStatusBarTowxEvtHandler(void *ptr) {
120 wxStatusBar *src;
121 wxEvtHandler *dest;
122 src = (wxStatusBar *) ptr;
123 dest = (wxEvtHandler *) src;
124 return (void *) dest;
125}
126
127#define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 128static PyObject *_wrap_new_wxStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
129 PyObject * _resultobj;
130 wxStatusBar * _result;
131 wxWindow * _arg0;
132 wxWindowID _arg1;
2d091820
RD
133 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
134 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
135 long _arg4 = (long ) wxST_SIZEGRIP;
136 char * _arg5 = (char *) "statusBar";
137 PyObject * _argo0 = 0;
37f6a977
RD
138 wxPoint temp;
139 PyObject * _obj2 = 0;
140 wxSize temp0;
141 PyObject * _obj3 = 0;
107e4716 142 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
b26e2dc4
RD
143 char _ptemp[128];
144
145 self = self;
37f6a977 146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStatusBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
b26e2dc4 147 return NULL;
2d091820
RD
148 if (_argo0) {
149 if (_argo0 == Py_None) { _arg0 = NULL; }
150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b26e2dc4
RD
151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
152 return NULL;
153 }
154 }
37f6a977
RD
155 if (_obj2)
156{
157 _arg2 = &temp;
158 if (! wxPoint_helper(_obj2, &_arg2))
b26e2dc4 159 return NULL;
37f6a977
RD
160}
161 if (_obj3)
162{
163 _arg3 = &temp0;
164 if (! wxSize_helper(_obj3, &_arg3))
b26e2dc4 165 return NULL;
37f6a977 166}
ab9bc19b
RD
167{
168 wxPy_BEGIN_ALLOW_THREADS;
169 _result = (wxStatusBar *)new_wxStatusBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
170
171 wxPy_END_ALLOW_THREADS;
2d091820
RD
172} if (_result) {
173 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
174 _resultobj = Py_BuildValue("s",_ptemp);
175 } else {
176 Py_INCREF(Py_None);
177 _resultobj = Py_None;
178 }
b26e2dc4
RD
179 return _resultobj;
180}
181
182static wxRect * wxStatusBar_GetFieldRect(wxStatusBar *self,long item) {
183 wxRect* rect= new wxRect;
184 self->GetFieldRect(item, *rect);
185 return rect;
186 }
107e4716 187static PyObject *_wrap_wxStatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
188 PyObject * _resultobj;
189 wxRect * _result;
190 wxStatusBar * _arg0;
191 long _arg1;
2d091820 192 PyObject * _argo0 = 0;
107e4716 193 char *_kwnames[] = { "self","item", NULL };
b26e2dc4
RD
194 char _ptemp[128];
195
196 self = self;
107e4716 197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxStatusBar_GetFieldRect",_kwnames,&_argo0,&_arg1))
b26e2dc4 198 return NULL;
2d091820
RD
199 if (_argo0) {
200 if (_argo0 == Py_None) { _arg0 = NULL; }
201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
203 return NULL;
204 }
205 }
ab9bc19b
RD
206{
207 wxPy_BEGIN_ALLOW_THREADS;
208 _result = (wxRect *)wxStatusBar_GetFieldRect(_arg0,_arg1);
209
210 wxPy_END_ALLOW_THREADS;
2d091820
RD
211} if (_result) {
212 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
213 _resultobj = Py_BuildValue("s",_ptemp);
214 } else {
215 Py_INCREF(Py_None);
216 _resultobj = Py_None;
217 }
b26e2dc4
RD
218 return _resultobj;
219}
220
221#define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
107e4716 222static PyObject *_wrap_wxStatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
223 PyObject * _resultobj;
224 int _result;
225 wxStatusBar * _arg0;
2d091820 226 PyObject * _argo0 = 0;
107e4716 227 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
228
229 self = self;
107e4716 230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStatusBar_GetFieldsCount",_kwnames,&_argo0))
b26e2dc4 231 return NULL;
2d091820
RD
232 if (_argo0) {
233 if (_argo0 == Py_None) { _arg0 = NULL; }
234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
236 return NULL;
237 }
238 }
ab9bc19b
RD
239{
240 wxPy_BEGIN_ALLOW_THREADS;
241 _result = (int )wxStatusBar_GetFieldsCount(_arg0);
242
243 wxPy_END_ALLOW_THREADS;
244} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
245 return _resultobj;
246}
247
248#define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
107e4716 249static PyObject *_wrap_wxStatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
250 PyObject * _resultobj;
251 wxString * _result;
252 wxStatusBar * _arg0;
2d091820
RD
253 int _arg1 = (int ) 0;
254 PyObject * _argo0 = 0;
107e4716 255 char *_kwnames[] = { "self","ir", NULL };
b26e2dc4
RD
256
257 self = self;
107e4716 258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxStatusBar_GetStatusText",_kwnames,&_argo0,&_arg1))
b26e2dc4 259 return NULL;
2d091820
RD
260 if (_argo0) {
261 if (_argo0 == Py_None) { _arg0 = NULL; }
262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
264 return NULL;
265 }
266 }
b26e2dc4 267{
ab9bc19b
RD
268 wxPy_BEGIN_ALLOW_THREADS;
269 _result = new wxString (wxStatusBar_GetStatusText(_arg0,_arg1));
270
271 wxPy_END_ALLOW_THREADS;
272}{
b26e2dc4
RD
273 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
274}
275{
276 delete _result;
277}
278 return _resultobj;
279}
280
281#define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
107e4716 282static PyObject *_wrap_wxStatusBar_DrawField(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
283 PyObject * _resultobj;
284 wxStatusBar * _arg0;
285 wxDC * _arg1;
286 int _arg2;
2d091820
RD
287 PyObject * _argo0 = 0;
288 PyObject * _argo1 = 0;
107e4716 289 char *_kwnames[] = { "self","dc","i", NULL };
b26e2dc4
RD
290
291 self = self;
107e4716 292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxStatusBar_DrawField",_kwnames,&_argo0,&_argo1,&_arg2))
b26e2dc4 293 return NULL;
2d091820
RD
294 if (_argo0) {
295 if (_argo0 == Py_None) { _arg0 = NULL; }
296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
298 return NULL;
299 }
300 }
2d091820
RD
301 if (_argo1) {
302 if (_argo1 == Py_None) { _arg1 = NULL; }
303 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
b26e2dc4
RD
304 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
305 return NULL;
306 }
307 }
ab9bc19b
RD
308{
309 wxPy_BEGIN_ALLOW_THREADS;
310 wxStatusBar_DrawField(_arg0,*_arg1,_arg2);
311
312 wxPy_END_ALLOW_THREADS;
313} Py_INCREF(Py_None);
b26e2dc4
RD
314 _resultobj = Py_None;
315 return _resultobj;
316}
317
318#define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
107e4716 319static PyObject *_wrap_wxStatusBar_DrawFieldText(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
320 PyObject * _resultobj;
321 wxStatusBar * _arg0;
322 wxDC * _arg1;
323 int _arg2;
2d091820
RD
324 PyObject * _argo0 = 0;
325 PyObject * _argo1 = 0;
107e4716 326 char *_kwnames[] = { "self","dc","i", NULL };
b26e2dc4
RD
327
328 self = self;
107e4716 329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxStatusBar_DrawFieldText",_kwnames,&_argo0,&_argo1,&_arg2))
b26e2dc4 330 return NULL;
2d091820
RD
331 if (_argo0) {
332 if (_argo0 == Py_None) { _arg0 = NULL; }
333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
335 return NULL;
336 }
337 }
2d091820
RD
338 if (_argo1) {
339 if (_argo1 == Py_None) { _arg1 = NULL; }
340 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
b26e2dc4
RD
341 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
342 return NULL;
343 }
344 }
ab9bc19b
RD
345{
346 wxPy_BEGIN_ALLOW_THREADS;
347 wxStatusBar_DrawFieldText(_arg0,*_arg1,_arg2);
348
349 wxPy_END_ALLOW_THREADS;
350} Py_INCREF(Py_None);
b26e2dc4
RD
351 _resultobj = Py_None;
352 return _resultobj;
353}
354
355#define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
107e4716 356static PyObject *_wrap_wxStatusBar_InitColours(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
357 PyObject * _resultobj;
358 wxStatusBar * _arg0;
2d091820 359 PyObject * _argo0 = 0;
107e4716 360 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
361
362 self = self;
107e4716 363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStatusBar_InitColours",_kwnames,&_argo0))
b26e2dc4 364 return NULL;
2d091820
RD
365 if (_argo0) {
366 if (_argo0 == Py_None) { _arg0 = NULL; }
367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
369 return NULL;
370 }
371 }
ab9bc19b
RD
372{
373 wxPy_BEGIN_ALLOW_THREADS;
374 wxStatusBar_InitColours(_arg0);
375
376 wxPy_END_ALLOW_THREADS;
377} Py_INCREF(Py_None);
b26e2dc4
RD
378 _resultobj = Py_None;
379 return _resultobj;
380}
381
382#define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
107e4716 383static PyObject *_wrap_wxStatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
384 PyObject * _resultobj;
385 wxStatusBar * _arg0;
2d091820
RD
386 int _arg1 = (int ) 1;
387 PyObject * _argo0 = 0;
107e4716 388 char *_kwnames[] = { "self","number", NULL };
b26e2dc4
RD
389
390 self = self;
107e4716 391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxStatusBar_SetFieldsCount",_kwnames,&_argo0,&_arg1))
b26e2dc4 392 return NULL;
2d091820
RD
393 if (_argo0) {
394 if (_argo0 == Py_None) { _arg0 = NULL; }
395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
397 return NULL;
398 }
399 }
ab9bc19b
RD
400{
401 wxPy_BEGIN_ALLOW_THREADS;
402 wxStatusBar_SetFieldsCount(_arg0,_arg1);
403
404 wxPy_END_ALLOW_THREADS;
405} Py_INCREF(Py_None);
b26e2dc4
RD
406 _resultobj = Py_None;
407 return _resultobj;
408}
409
410#define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
107e4716 411static PyObject *_wrap_wxStatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
412 PyObject * _resultobj;
413 wxStatusBar * _arg0;
414 wxString * _arg1;
2d091820
RD
415 int _arg2 = (int ) 0;
416 PyObject * _argo0 = 0;
b26e2dc4 417 PyObject * _obj1 = 0;
107e4716 418 char *_kwnames[] = { "self","text","i", NULL };
b26e2dc4
RD
419
420 self = self;
107e4716 421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxStatusBar_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2))
b26e2dc4 422 return NULL;
2d091820
RD
423 if (_argo0) {
424 if (_argo0 == Py_None) { _arg0 = NULL; }
425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
427 return NULL;
428 }
429 }
430{
431 if (!PyString_Check(_obj1)) {
432 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
433 return NULL;
434 }
ab9bc19b 435 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
b26e2dc4 436}
ab9bc19b
RD
437{
438 wxPy_BEGIN_ALLOW_THREADS;
439 wxStatusBar_SetStatusText(_arg0,*_arg1,_arg2);
440
441 wxPy_END_ALLOW_THREADS;
442} Py_INCREF(Py_None);
b26e2dc4
RD
443 _resultobj = Py_None;
444{
445 if (_obj1)
446 delete _arg1;
447}
448 return _resultobj;
449}
450
451#define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
107e4716 452static PyObject *_wrap_wxStatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
453 PyObject * _resultobj;
454 wxStatusBar * _arg0;
455 int _arg1;
456 int * _arg2;
2d091820 457 PyObject * _argo0 = 0;
b26e2dc4 458 PyObject * _obj2 = 0;
107e4716 459 char *_kwnames[] = { "self","LIST", NULL };
b26e2dc4
RD
460
461 self = self;
107e4716 462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStatusBar_SetStatusWidths",_kwnames,&_argo0,&_obj2))
b26e2dc4 463 return NULL;
2d091820
RD
464 if (_argo0) {
465 if (_argo0 == Py_None) { _arg0 = NULL; }
466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
b26e2dc4
RD
467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
468 return NULL;
469 }
470 }
471 if (_obj2)
472{
473 _arg2 = int_LIST_helper(_obj2);
474 if (_arg2 == NULL) {
475 return NULL;
476 }
477}
478{
ab9bc19b
RD
479 if (_obj2) {
480 _arg1 = PyList_Size(_obj2);
481 }
482 else {
483 _arg1 = 0;
484 }
b26e2dc4 485}
ab9bc19b
RD
486{
487 wxPy_BEGIN_ALLOW_THREADS;
488 wxStatusBar_SetStatusWidths(_arg0,_arg1,_arg2);
489
490 wxPy_END_ALLOW_THREADS;
491} Py_INCREF(Py_None);
b26e2dc4
RD
492 _resultobj = Py_None;
493{
494 delete [] _arg2;
495}
496 return _resultobj;
497}
498
499#define new_wxToolBarTool() (new wxToolBarTool())
107e4716 500static PyObject *_wrap_new_wxToolBarTool(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
501 PyObject * _resultobj;
502 wxToolBarTool * _result;
107e4716 503 char *_kwnames[] = { NULL };
b26e2dc4
RD
504 char _ptemp[128];
505
506 self = self;
107e4716 507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxToolBarTool",_kwnames))
b26e2dc4 508 return NULL;
ab9bc19b
RD
509{
510 wxPy_BEGIN_ALLOW_THREADS;
511 _result = (wxToolBarTool *)new_wxToolBarTool();
512
513 wxPy_END_ALLOW_THREADS;
2d091820
RD
514} if (_result) {
515 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
516 _resultobj = Py_BuildValue("s",_ptemp);
517 } else {
518 Py_INCREF(Py_None);
519 _resultobj = Py_None;
520 }
b26e2dc4
RD
521 return _resultobj;
522}
523
524#define delete_wxToolBarTool(_swigobj) (delete _swigobj)
107e4716 525static PyObject *_wrap_delete_wxToolBarTool(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
526 PyObject * _resultobj;
527 wxToolBarTool * _arg0;
2d091820 528 PyObject * _argo0 = 0;
107e4716 529 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
530
531 self = self;
107e4716 532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxToolBarTool",_kwnames,&_argo0))
b26e2dc4 533 return NULL;
2d091820
RD
534 if (_argo0) {
535 if (_argo0 == Py_None) { _arg0 = NULL; }
536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
538 return NULL;
539 }
540 }
ab9bc19b
RD
541{
542 wxPy_BEGIN_ALLOW_THREADS;
543 delete_wxToolBarTool(_arg0);
544
545 wxPy_END_ALLOW_THREADS;
546} Py_INCREF(Py_None);
b26e2dc4
RD
547 _resultobj = Py_None;
548 return _resultobj;
549}
550
21f8d7ea 551#define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
107e4716 552static PyObject *_wrap_wxToolBarTool_m_toolStyle_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
553 PyObject * _resultobj;
554 int _result;
555 wxToolBarTool * _arg0;
556 int _arg1;
2d091820 557 PyObject * _argo0 = 0;
107e4716 558 char *_kwnames[] = { "self","m_toolStyle", NULL };
21f8d7ea
RD
559
560 self = self;
107e4716 561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_toolStyle_set",_kwnames,&_argo0,&_arg1))
21f8d7ea 562 return NULL;
2d091820
RD
563 if (_argo0) {
564 if (_argo0 == Py_None) { _arg0 = NULL; }
565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
567 return NULL;
568 }
569 }
ab9bc19b
RD
570{
571 wxPy_BEGIN_ALLOW_THREADS;
572 _result = (int )wxToolBarTool_m_toolStyle_set(_arg0,_arg1);
573
574 wxPy_END_ALLOW_THREADS;
575} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
576 return _resultobj;
577}
578
b26e2dc4 579#define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
107e4716 580static PyObject *_wrap_wxToolBarTool_m_toolStyle_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
581 PyObject * _resultobj;
582 int _result;
583 wxToolBarTool * _arg0;
2d091820 584 PyObject * _argo0 = 0;
107e4716 585 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
586
587 self = self;
107e4716 588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_toolStyle_get",_kwnames,&_argo0))
b26e2dc4 589 return NULL;
2d091820
RD
590 if (_argo0) {
591 if (_argo0 == Py_None) { _arg0 = NULL; }
592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
594 return NULL;
595 }
596 }
ab9bc19b
RD
597{
598 wxPy_BEGIN_ALLOW_THREADS;
599 _result = (int )wxToolBarTool_m_toolStyle_get(_arg0);
600
601 wxPy_END_ALLOW_THREADS;
602} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
603 return _resultobj;
604}
605
21f8d7ea 606#define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
107e4716 607static PyObject *_wrap_wxToolBarTool_m_clientData_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
608 PyObject * _resultobj;
609 wxObject * _result;
610 wxToolBarTool * _arg0;
611 wxObject * _arg1;
2d091820
RD
612 PyObject * _argo0 = 0;
613 PyObject * _argo1 = 0;
107e4716 614 char *_kwnames[] = { "self","m_clientData", NULL };
21f8d7ea
RD
615 char _ptemp[128];
616
617 self = self;
107e4716 618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_clientData_set",_kwnames,&_argo0,&_argo1))
21f8d7ea 619 return NULL;
2d091820
RD
620 if (_argo0) {
621 if (_argo0 == Py_None) { _arg0 = NULL; }
622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
624 return NULL;
625 }
626 }
2d091820
RD
627 if (_argo1) {
628 if (_argo1 == Py_None) { _arg1 = NULL; }
629 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) {
21f8d7ea
RD
630 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
631 return NULL;
632 }
633 }
ab9bc19b
RD
634{
635 wxPy_BEGIN_ALLOW_THREADS;
636 _result = (wxObject *)wxToolBarTool_m_clientData_set(_arg0,_arg1);
637
638 wxPy_END_ALLOW_THREADS;
2d091820
RD
639} if (_result) {
640 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
641 _resultobj = Py_BuildValue("s",_ptemp);
642 } else {
643 Py_INCREF(Py_None);
644 _resultobj = Py_None;
645 }
21f8d7ea
RD
646 return _resultobj;
647}
648
b26e2dc4 649#define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
107e4716 650static PyObject *_wrap_wxToolBarTool_m_clientData_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
651 PyObject * _resultobj;
652 wxObject * _result;
653 wxToolBarTool * _arg0;
2d091820 654 PyObject * _argo0 = 0;
107e4716 655 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
656 char _ptemp[128];
657
658 self = self;
107e4716 659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_clientData_get",_kwnames,&_argo0))
b26e2dc4 660 return NULL;
2d091820
RD
661 if (_argo0) {
662 if (_argo0 == Py_None) { _arg0 = NULL; }
663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
665 return NULL;
666 }
667 }
ab9bc19b
RD
668{
669 wxPy_BEGIN_ALLOW_THREADS;
670 _result = (wxObject *)wxToolBarTool_m_clientData_get(_arg0);
671
672 wxPy_END_ALLOW_THREADS;
2d091820
RD
673} if (_result) {
674 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
675 _resultobj = Py_BuildValue("s",_ptemp);
676 } else {
677 Py_INCREF(Py_None);
678 _resultobj = Py_None;
679 }
b26e2dc4
RD
680 return _resultobj;
681}
682
21f8d7ea 683#define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
107e4716 684static PyObject *_wrap_wxToolBarTool_m_index_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
685 PyObject * _resultobj;
686 int _result;
687 wxToolBarTool * _arg0;
688 int _arg1;
2d091820 689 PyObject * _argo0 = 0;
107e4716 690 char *_kwnames[] = { "self","m_index", NULL };
21f8d7ea
RD
691
692 self = self;
107e4716 693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_index_set",_kwnames,&_argo0,&_arg1))
21f8d7ea 694 return NULL;
2d091820
RD
695 if (_argo0) {
696 if (_argo0 == Py_None) { _arg0 = NULL; }
697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
699 return NULL;
700 }
701 }
ab9bc19b
RD
702{
703 wxPy_BEGIN_ALLOW_THREADS;
704 _result = (int )wxToolBarTool_m_index_set(_arg0,_arg1);
705
706 wxPy_END_ALLOW_THREADS;
707} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
708 return _resultobj;
709}
710
b26e2dc4 711#define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
107e4716 712static PyObject *_wrap_wxToolBarTool_m_index_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
713 PyObject * _resultobj;
714 int _result;
715 wxToolBarTool * _arg0;
2d091820 716 PyObject * _argo0 = 0;
107e4716 717 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
718
719 self = self;
107e4716 720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_index_get",_kwnames,&_argo0))
b26e2dc4 721 return NULL;
2d091820
RD
722 if (_argo0) {
723 if (_argo0 == Py_None) { _arg0 = NULL; }
724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
726 return NULL;
727 }
728 }
ab9bc19b
RD
729{
730 wxPy_BEGIN_ALLOW_THREADS;
731 _result = (int )wxToolBarTool_m_index_get(_arg0);
732
733 wxPy_END_ALLOW_THREADS;
734} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
735 return _resultobj;
736}
737
21f8d7ea 738#define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
107e4716 739static PyObject *_wrap_wxToolBarTool_m_toggleState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
740 PyObject * _resultobj;
741 bool _result;
742 wxToolBarTool * _arg0;
743 bool _arg1;
2d091820 744 PyObject * _argo0 = 0;
21f8d7ea 745 int tempbool1;
107e4716 746 char *_kwnames[] = { "self","m_toggleState", NULL };
21f8d7ea
RD
747
748 self = self;
107e4716 749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_toggleState_set",_kwnames,&_argo0,&tempbool1))
21f8d7ea 750 return NULL;
2d091820
RD
751 if (_argo0) {
752 if (_argo0 == Py_None) { _arg0 = NULL; }
753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
755 return NULL;
756 }
757 }
758 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
759{
760 wxPy_BEGIN_ALLOW_THREADS;
761 _result = (bool )wxToolBarTool_m_toggleState_set(_arg0,_arg1);
762
763 wxPy_END_ALLOW_THREADS;
764} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
765 return _resultobj;
766}
767
b26e2dc4 768#define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
107e4716 769static PyObject *_wrap_wxToolBarTool_m_toggleState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
770 PyObject * _resultobj;
771 bool _result;
772 wxToolBarTool * _arg0;
2d091820 773 PyObject * _argo0 = 0;
107e4716 774 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
775
776 self = self;
107e4716 777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_toggleState_get",_kwnames,&_argo0))
b26e2dc4 778 return NULL;
2d091820
RD
779 if (_argo0) {
780 if (_argo0 == Py_None) { _arg0 = NULL; }
781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
783 return NULL;
784 }
785 }
ab9bc19b
RD
786{
787 wxPy_BEGIN_ALLOW_THREADS;
788 _result = (bool )wxToolBarTool_m_toggleState_get(_arg0);
789
790 wxPy_END_ALLOW_THREADS;
791} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
792 return _resultobj;
793}
794
21f8d7ea 795#define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
107e4716 796static PyObject *_wrap_wxToolBarTool_m_isToggle_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
797 PyObject * _resultobj;
798 bool _result;
799 wxToolBarTool * _arg0;
800 bool _arg1;
2d091820 801 PyObject * _argo0 = 0;
21f8d7ea 802 int tempbool1;
107e4716 803 char *_kwnames[] = { "self","m_isToggle", NULL };
21f8d7ea
RD
804
805 self = self;
107e4716 806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_isToggle_set",_kwnames,&_argo0,&tempbool1))
21f8d7ea 807 return NULL;
2d091820
RD
808 if (_argo0) {
809 if (_argo0 == Py_None) { _arg0 = NULL; }
810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
812 return NULL;
813 }
814 }
815 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
816{
817 wxPy_BEGIN_ALLOW_THREADS;
818 _result = (bool )wxToolBarTool_m_isToggle_set(_arg0,_arg1);
819
820 wxPy_END_ALLOW_THREADS;
821} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
822 return _resultobj;
823}
824
b26e2dc4 825#define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
107e4716 826static PyObject *_wrap_wxToolBarTool_m_isToggle_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
827 PyObject * _resultobj;
828 bool _result;
829 wxToolBarTool * _arg0;
2d091820 830 PyObject * _argo0 = 0;
107e4716 831 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
832
833 self = self;
107e4716 834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_isToggle_get",_kwnames,&_argo0))
b26e2dc4 835 return NULL;
2d091820
RD
836 if (_argo0) {
837 if (_argo0 == Py_None) { _arg0 = NULL; }
838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
840 return NULL;
841 }
842 }
ab9bc19b
RD
843{
844 wxPy_BEGIN_ALLOW_THREADS;
845 _result = (bool )wxToolBarTool_m_isToggle_get(_arg0);
846
847 wxPy_END_ALLOW_THREADS;
848} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
849 return _resultobj;
850}
851
21f8d7ea 852#define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
107e4716 853static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
854 PyObject * _resultobj;
855 bool _result;
856 wxToolBarTool * _arg0;
857 bool _arg1;
2d091820 858 PyObject * _argo0 = 0;
21f8d7ea 859 int tempbool1;
107e4716 860 char *_kwnames[] = { "self","m_deleteSecondBitmap", NULL };
21f8d7ea
RD
861
862 self = self;
107e4716 863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_deleteSecondBitmap_set",_kwnames,&_argo0,&tempbool1))
21f8d7ea 864 return NULL;
2d091820
RD
865 if (_argo0) {
866 if (_argo0 == Py_None) { _arg0 = NULL; }
867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
869 return NULL;
870 }
871 }
872 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
873{
874 wxPy_BEGIN_ALLOW_THREADS;
875 _result = (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0,_arg1);
876
877 wxPy_END_ALLOW_THREADS;
878} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
879 return _resultobj;
880}
881
b26e2dc4 882#define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
107e4716 883static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
884 PyObject * _resultobj;
885 bool _result;
886 wxToolBarTool * _arg0;
2d091820 887 PyObject * _argo0 = 0;
107e4716 888 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
889
890 self = self;
107e4716 891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_deleteSecondBitmap_get",_kwnames,&_argo0))
b26e2dc4 892 return NULL;
2d091820
RD
893 if (_argo0) {
894 if (_argo0 == Py_None) { _arg0 = NULL; }
895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
897 return NULL;
898 }
899 }
ab9bc19b
RD
900{
901 wxPy_BEGIN_ALLOW_THREADS;
902 _result = (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0);
903
904 wxPy_END_ALLOW_THREADS;
905} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
906 return _resultobj;
907}
908
21f8d7ea 909#define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
107e4716 910static PyObject *_wrap_wxToolBarTool_m_enabled_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
911 PyObject * _resultobj;
912 bool _result;
913 wxToolBarTool * _arg0;
914 bool _arg1;
2d091820 915 PyObject * _argo0 = 0;
21f8d7ea 916 int tempbool1;
107e4716 917 char *_kwnames[] = { "self","m_enabled", NULL };
21f8d7ea
RD
918
919 self = self;
107e4716 920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_enabled_set",_kwnames,&_argo0,&tempbool1))
21f8d7ea 921 return NULL;
2d091820
RD
922 if (_argo0) {
923 if (_argo0 == Py_None) { _arg0 = NULL; }
924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
926 return NULL;
927 }
928 }
929 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
930{
931 wxPy_BEGIN_ALLOW_THREADS;
932 _result = (bool )wxToolBarTool_m_enabled_set(_arg0,_arg1);
933
934 wxPy_END_ALLOW_THREADS;
935} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
936 return _resultobj;
937}
938
b26e2dc4 939#define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
107e4716 940static PyObject *_wrap_wxToolBarTool_m_enabled_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
941 PyObject * _resultobj;
942 bool _result;
943 wxToolBarTool * _arg0;
2d091820 944 PyObject * _argo0 = 0;
107e4716 945 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
946
947 self = self;
107e4716 948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_enabled_get",_kwnames,&_argo0))
b26e2dc4 949 return NULL;
2d091820
RD
950 if (_argo0) {
951 if (_argo0 == Py_None) { _arg0 = NULL; }
952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
954 return NULL;
955 }
956 }
ab9bc19b
RD
957{
958 wxPy_BEGIN_ALLOW_THREADS;
959 _result = (bool )wxToolBarTool_m_enabled_get(_arg0);
960
961 wxPy_END_ALLOW_THREADS;
962} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
963 return _resultobj;
964}
965
21f8d7ea 966#define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
107e4716 967static PyObject *_wrap_wxToolBarTool_m_bitmap1_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
968 PyObject * _resultobj;
969 wxBitmap * _result;
970 wxToolBarTool * _arg0;
971 wxBitmap * _arg1;
2d091820
RD
972 PyObject * _argo0 = 0;
973 PyObject * _argo1 = 0;
107e4716 974 char *_kwnames[] = { "self","m_bitmap1", NULL };
21f8d7ea
RD
975 char _ptemp[128];
976
977 self = self;
107e4716 978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_bitmap1_set",_kwnames,&_argo0,&_argo1))
21f8d7ea 979 return NULL;
2d091820
RD
980 if (_argo0) {
981 if (_argo0 == Py_None) { _arg0 = NULL; }
982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
984 return NULL;
985 }
986 }
2d091820
RD
987 if (_argo1) {
988 if (_argo1 == Py_None) { _arg1 = NULL; }
989 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
21f8d7ea
RD
990 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
991 return NULL;
992 }
993 }
ab9bc19b
RD
994{
995 wxPy_BEGIN_ALLOW_THREADS;
996 _result = (wxBitmap *)wxToolBarTool_m_bitmap1_set(_arg0,_arg1);
997
998 wxPy_END_ALLOW_THREADS;
2d091820
RD
999} if (_result) {
1000 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1001 _resultobj = Py_BuildValue("s",_ptemp);
1002 } else {
1003 Py_INCREF(Py_None);
1004 _resultobj = Py_None;
1005 }
21f8d7ea
RD
1006 return _resultobj;
1007}
1008
b26e2dc4 1009#define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
107e4716 1010static PyObject *_wrap_wxToolBarTool_m_bitmap1_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1011 PyObject * _resultobj;
1012 wxBitmap * _result;
1013 wxToolBarTool * _arg0;
2d091820 1014 PyObject * _argo0 = 0;
107e4716 1015 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1016 char _ptemp[128];
1017
1018 self = self;
107e4716 1019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_bitmap1_get",_kwnames,&_argo0))
b26e2dc4 1020 return NULL;
2d091820
RD
1021 if (_argo0) {
1022 if (_argo0 == Py_None) { _arg0 = NULL; }
1023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
1024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1025 return NULL;
1026 }
1027 }
ab9bc19b
RD
1028{
1029 wxPy_BEGIN_ALLOW_THREADS;
1030 _result = (wxBitmap *)wxToolBarTool_m_bitmap1_get(_arg0);
1031
1032 wxPy_END_ALLOW_THREADS;
2d091820
RD
1033} if (_result) {
1034 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1035 _resultobj = Py_BuildValue("s",_ptemp);
1036 } else {
1037 Py_INCREF(Py_None);
1038 _resultobj = Py_None;
1039 }
b26e2dc4
RD
1040 return _resultobj;
1041}
1042
21f8d7ea 1043#define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
107e4716 1044static PyObject *_wrap_wxToolBarTool_m_bitmap2_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
1045 PyObject * _resultobj;
1046 wxBitmap * _result;
1047 wxToolBarTool * _arg0;
1048 wxBitmap * _arg1;
2d091820
RD
1049 PyObject * _argo0 = 0;
1050 PyObject * _argo1 = 0;
107e4716 1051 char *_kwnames[] = { "self","m_bitmap2", NULL };
21f8d7ea
RD
1052 char _ptemp[128];
1053
1054 self = self;
107e4716 1055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_bitmap2_set",_kwnames,&_argo0,&_argo1))
21f8d7ea 1056 return NULL;
2d091820
RD
1057 if (_argo0) {
1058 if (_argo0 == Py_None) { _arg0 = NULL; }
1059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
1060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1061 return NULL;
1062 }
1063 }
2d091820
RD
1064 if (_argo1) {
1065 if (_argo1 == Py_None) { _arg1 = NULL; }
1066 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
21f8d7ea
RD
1067 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1068 return NULL;
1069 }
1070 }
ab9bc19b
RD
1071{
1072 wxPy_BEGIN_ALLOW_THREADS;
1073 _result = (wxBitmap *)wxToolBarTool_m_bitmap2_set(_arg0,_arg1);
1074
1075 wxPy_END_ALLOW_THREADS;
2d091820
RD
1076} if (_result) {
1077 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1078 _resultobj = Py_BuildValue("s",_ptemp);
1079 } else {
1080 Py_INCREF(Py_None);
1081 _resultobj = Py_None;
1082 }
21f8d7ea
RD
1083 return _resultobj;
1084}
1085
b26e2dc4 1086#define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
107e4716 1087static PyObject *_wrap_wxToolBarTool_m_bitmap2_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1088 PyObject * _resultobj;
1089 wxBitmap * _result;
1090 wxToolBarTool * _arg0;
2d091820 1091 PyObject * _argo0 = 0;
107e4716 1092 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1093 char _ptemp[128];
1094
1095 self = self;
107e4716 1096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_bitmap2_get",_kwnames,&_argo0))
b26e2dc4 1097 return NULL;
2d091820
RD
1098 if (_argo0) {
1099 if (_argo0 == Py_None) { _arg0 = NULL; }
1100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
1101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1102 return NULL;
1103 }
1104 }
ab9bc19b
RD
1105{
1106 wxPy_BEGIN_ALLOW_THREADS;
1107 _result = (wxBitmap *)wxToolBarTool_m_bitmap2_get(_arg0);
1108
1109 wxPy_END_ALLOW_THREADS;
2d091820
RD
1110} if (_result) {
1111 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1112 _resultobj = Py_BuildValue("s",_ptemp);
1113 } else {
1114 Py_INCREF(Py_None);
1115 _resultobj = Py_None;
1116 }
b26e2dc4
RD
1117 return _resultobj;
1118}
1119
21f8d7ea 1120#define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
107e4716 1121static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
1122 PyObject * _resultobj;
1123 bool _result;
1124 wxToolBarTool * _arg0;
1125 bool _arg1;
2d091820 1126 PyObject * _argo0 = 0;
21f8d7ea 1127 int tempbool1;
107e4716 1128 char *_kwnames[] = { "self","m_isMenuCommand", NULL };
21f8d7ea
RD
1129
1130 self = self;
107e4716 1131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_isMenuCommand_set",_kwnames,&_argo0,&tempbool1))
21f8d7ea 1132 return NULL;
2d091820
RD
1133 if (_argo0) {
1134 if (_argo0 == Py_None) { _arg0 = NULL; }
1135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
1136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1137 return NULL;
1138 }
1139 }
1140 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
1141{
1142 wxPy_BEGIN_ALLOW_THREADS;
1143 _result = (bool )wxToolBarTool_m_isMenuCommand_set(_arg0,_arg1);
1144
1145 wxPy_END_ALLOW_THREADS;
1146} _resultobj = Py_BuildValue("i",_result);
21f8d7ea
RD
1147 return _resultobj;
1148}
1149
b26e2dc4 1150#define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
107e4716 1151static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1152 PyObject * _resultobj;
1153 bool _result;
1154 wxToolBarTool * _arg0;
2d091820 1155 PyObject * _argo0 = 0;
107e4716 1156 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1157
1158 self = self;
107e4716 1159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_isMenuCommand_get",_kwnames,&_argo0))
b26e2dc4 1160 return NULL;
2d091820
RD
1161 if (_argo0) {
1162 if (_argo0 == Py_None) { _arg0 = NULL; }
1163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
1164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1165 return NULL;
1166 }
1167 }
ab9bc19b
RD
1168{
1169 wxPy_BEGIN_ALLOW_THREADS;
1170 _result = (bool )wxToolBarTool_m_isMenuCommand_get(_arg0);
1171
1172 wxPy_END_ALLOW_THREADS;
1173} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
1174 return _resultobj;
1175}
1176
21f8d7ea 1177#define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
107e4716 1178static PyObject *_wrap_wxToolBarTool_m_shortHelpString_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
1179 PyObject * _resultobj;
1180 wxString * _result;
1181 wxToolBarTool * _arg0;
1182 wxString * _arg1;
2d091820 1183 PyObject * _argo0 = 0;
21f8d7ea 1184 PyObject * _obj1 = 0;
107e4716 1185 char *_kwnames[] = { "self","m_shortHelpString", NULL };
21f8d7ea
RD
1186
1187 self = self;
107e4716 1188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_shortHelpString_set",_kwnames,&_argo0,&_obj1))
21f8d7ea 1189 return NULL;
2d091820
RD
1190 if (_argo0) {
1191 if (_argo0 == Py_None) { _arg0 = NULL; }
1192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
1193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1194 return NULL;
1195 }
1196 }
1197{
1198 if (!PyString_Check(_obj1)) {
1199 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1200 return NULL;
1201 }
ab9bc19b 1202 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
21f8d7ea 1203}
21f8d7ea 1204{
ab9bc19b
RD
1205 wxPy_BEGIN_ALLOW_THREADS;
1206 _result = (wxString *)wxToolBarTool_m_shortHelpString_set(_arg0,_arg1);
1207
1208 wxPy_END_ALLOW_THREADS;
1209}{
21f8d7ea
RD
1210 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1211}
1212{
1213 if (_obj1)
1214 delete _arg1;
1215}
1216 return _resultobj;
1217}
1218
b26e2dc4 1219#define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
107e4716 1220static PyObject *_wrap_wxToolBarTool_m_shortHelpString_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1221 PyObject * _resultobj;
1222 wxString * _result;
1223 wxToolBarTool * _arg0;
2d091820 1224 PyObject * _argo0 = 0;
107e4716 1225 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1226
1227 self = self;
107e4716 1228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_shortHelpString_get",_kwnames,&_argo0))
b26e2dc4 1229 return NULL;
2d091820
RD
1230 if (_argo0) {
1231 if (_argo0 == Py_None) { _arg0 = NULL; }
1232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
1233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1234 return NULL;
1235 }
1236 }
b26e2dc4 1237{
ab9bc19b
RD
1238 wxPy_BEGIN_ALLOW_THREADS;
1239 _result = (wxString *)wxToolBarTool_m_shortHelpString_get(_arg0);
1240
1241 wxPy_END_ALLOW_THREADS;
1242}{
b26e2dc4
RD
1243 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1244}
1245 return _resultobj;
1246}
1247
21f8d7ea 1248#define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
107e4716 1249static PyObject *_wrap_wxToolBarTool_m_longHelpString_set(PyObject *self, PyObject *args, PyObject *kwargs) {
21f8d7ea
RD
1250 PyObject * _resultobj;
1251 wxString * _result;
1252 wxToolBarTool * _arg0;
1253 wxString * _arg1;
2d091820 1254 PyObject * _argo0 = 0;
21f8d7ea 1255 PyObject * _obj1 = 0;
107e4716 1256 char *_kwnames[] = { "self","m_longHelpString", NULL };
21f8d7ea
RD
1257
1258 self = self;
107e4716 1259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_longHelpString_set",_kwnames,&_argo0,&_obj1))
21f8d7ea 1260 return NULL;
2d091820
RD
1261 if (_argo0) {
1262 if (_argo0 == Py_None) { _arg0 = NULL; }
1263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
21f8d7ea
RD
1264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1265 return NULL;
1266 }
1267 }
1268{
1269 if (!PyString_Check(_obj1)) {
1270 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1271 return NULL;
1272 }
ab9bc19b 1273 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
21f8d7ea 1274}
21f8d7ea 1275{
ab9bc19b
RD
1276 wxPy_BEGIN_ALLOW_THREADS;
1277 _result = (wxString *)wxToolBarTool_m_longHelpString_set(_arg0,_arg1);
1278
1279 wxPy_END_ALLOW_THREADS;
1280}{
21f8d7ea
RD
1281 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1282}
1283{
1284 if (_obj1)
1285 delete _arg1;
1286}
1287 return _resultobj;
1288}
1289
b26e2dc4 1290#define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
107e4716 1291static PyObject *_wrap_wxToolBarTool_m_longHelpString_get(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1292 PyObject * _resultobj;
1293 wxString * _result;
1294 wxToolBarTool * _arg0;
2d091820 1295 PyObject * _argo0 = 0;
107e4716 1296 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1297
1298 self = self;
107e4716 1299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_longHelpString_get",_kwnames,&_argo0))
b26e2dc4 1300 return NULL;
2d091820
RD
1301 if (_argo0) {
1302 if (_argo0 == Py_None) { _arg0 = NULL; }
1303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
b26e2dc4
RD
1304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1305 return NULL;
1306 }
1307 }
b26e2dc4 1308{
ab9bc19b
RD
1309 wxPy_BEGIN_ALLOW_THREADS;
1310 _result = (wxString *)wxToolBarTool_m_longHelpString_get(_arg0);
1311
1312 wxPy_END_ALLOW_THREADS;
1313}{
b26e2dc4
RD
1314 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1315}
1316 return _resultobj;
1317}
1318
1319static void *SwigwxToolBarTowxControl(void *ptr) {
1320 wxToolBar *src;
1321 wxControl *dest;
1322 src = (wxToolBar *) ptr;
1323 dest = (wxControl *) src;
1324 return (void *) dest;
1325}
1326
1327static void *SwigwxToolBarTowxWindow(void *ptr) {
1328 wxToolBar *src;
1329 wxWindow *dest;
1330 src = (wxToolBar *) ptr;
1331 dest = (wxWindow *) src;
1332 return (void *) dest;
1333}
1334
1335static void *SwigwxToolBarTowxEvtHandler(void *ptr) {
1336 wxToolBar *src;
1337 wxEvtHandler *dest;
1338 src = (wxToolBar *) ptr;
1339 dest = (wxEvtHandler *) src;
1340 return (void *) dest;
1341}
1342
1343#define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 1344static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1345 PyObject * _resultobj;
1346 wxToolBar * _result;
1347 wxWindow * _arg0;
1348 wxWindowID _arg1;
2d091820
RD
1349 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
1350 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
1351 long _arg4 = (long ) wxTB_HORIZONTAL|wxNO_BORDER;
1352 char * _arg5 = (char *) "toolBar";
1353 PyObject * _argo0 = 0;
37f6a977
RD
1354 wxPoint temp;
1355 PyObject * _obj2 = 0;
1356 wxSize temp0;
1357 PyObject * _obj3 = 0;
107e4716 1358 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
b26e2dc4
RD
1359 char _ptemp[128];
1360
1361 self = self;
37f6a977 1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxToolBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
b26e2dc4 1363 return NULL;
2d091820
RD
1364 if (_argo0) {
1365 if (_argo0 == Py_None) { _arg0 = NULL; }
1366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
b26e2dc4
RD
1367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1368 return NULL;
1369 }
1370 }
37f6a977
RD
1371 if (_obj2)
1372{
1373 _arg2 = &temp;
1374 if (! wxPoint_helper(_obj2, &_arg2))
b26e2dc4 1375 return NULL;
37f6a977
RD
1376}
1377 if (_obj3)
1378{
1379 _arg3 = &temp0;
1380 if (! wxSize_helper(_obj3, &_arg3))
b26e2dc4 1381 return NULL;
37f6a977 1382}
ab9bc19b
RD
1383{
1384 wxPy_BEGIN_ALLOW_THREADS;
1385 _result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1386
1387 wxPy_END_ALLOW_THREADS;
2d091820
RD
1388} if (_result) {
1389 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
1390 _resultobj = Py_BuildValue("s",_ptemp);
1391 } else {
1392 Py_INCREF(Py_None);
1393 _resultobj = Py_None;
1394 }
b26e2dc4
RD
1395 return _resultobj;
1396}
1397
1398#define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
107e4716 1399static PyObject *_wrap_wxToolBar_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1400 PyObject * _resultobj;
1401 wxToolBar * _arg0;
2d091820 1402 PyObject * _argo0 = 0;
107e4716 1403 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1404
1405 self = self;
107e4716 1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_AddSeparator",_kwnames,&_argo0))
b26e2dc4 1407 return NULL;
2d091820
RD
1408 if (_argo0) {
1409 if (_argo0 == Py_None) { _arg0 = NULL; }
1410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
b26e2dc4
RD
1411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1412 return NULL;
1413 }
1414 }
ab9bc19b
RD
1415{
1416 wxPy_BEGIN_ALLOW_THREADS;
1417 wxToolBar_AddSeparator(_arg0);
1418
1419 wxPy_END_ALLOW_THREADS;
1420} Py_INCREF(Py_None);
b26e2dc4
RD
1421 _resultobj = Py_None;
1422 return _resultobj;
1423}
1424
1425static wxToolBarTool * wxToolBar_AddTool(wxToolBar *self,int toolIndex,const wxBitmap & bitmap1,const wxBitmap & bitmap2,int isToggle,long xPos,long yPos,const wxString & shortHelpString,const wxString & longHelpString) {
1426 return self->AddTool(toolIndex, bitmap1, bitmap2,
1427 isToggle, xPos, yPos, NULL,
1428 shortHelpString, longHelpString);
1429 }
107e4716 1430static PyObject *_wrap_wxToolBar_AddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1431 PyObject * _resultobj;
1432 wxToolBarTool * _result;
1433 wxToolBar * _arg0;
1434 int _arg1;
1435 wxBitmap * _arg2;
2d091820
RD
1436 wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap;
1437 int _arg4 = (int ) FALSE;
1438 long _arg5 = (long ) -1;
1439 long _arg6 = (long ) -1;
1440 wxString * _arg7 = (wxString *) &wxPyEmptyStr;
1441 wxString * _arg8 = (wxString *) &wxPyEmptyStr;
1442 PyObject * _argo0 = 0;
1443 PyObject * _argo2 = 0;
1444 PyObject * _argo3 = 0;
b26e2dc4
RD
1445 PyObject * _obj7 = 0;
1446 PyObject * _obj8 = 0;
107e4716 1447 char *_kwnames[] = { "self","toolIndex","bitmap1","bitmap2","isToggle","xPos","yPos","shortHelpString","longHelpString", NULL };
b26e2dc4
RD
1448 char _ptemp[128];
1449
1450 self = self;
107e4716 1451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OillOO:wxToolBar_AddTool",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5,&_arg6,&_obj7,&_obj8))
b26e2dc4 1452 return NULL;
2d091820
RD
1453 if (_argo0) {
1454 if (_argo0 == Py_None) { _arg0 = NULL; }
1455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
b26e2dc4
RD
1456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1457 return NULL;
1458 }
1459 }
2d091820
RD
1460 if (_argo2) {
1461 if (_argo2 == Py_None) { _arg2 = NULL; }
1462 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
b26e2dc4
RD
1463 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1464 return NULL;
1465 }
1466 }
2d091820
RD
1467 if (_argo3) {
1468 if (_argo3 == Py_None) { _arg3 = NULL; }
1469 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
b26e2dc4
RD
1470 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1471 return NULL;
1472 }
1473 }
1474 if (_obj7)
1475{
1476 if (!PyString_Check(_obj7)) {
1477 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1478 return NULL;
1479 }
ab9bc19b 1480 _arg7 = new wxString(PyString_AsString(_obj7), PyString_Size(_obj7));
b26e2dc4
RD
1481}
1482 if (_obj8)
1483{
1484 if (!PyString_Check(_obj8)) {
1485 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1486 return NULL;
1487 }
ab9bc19b 1488 _arg8 = new wxString(PyString_AsString(_obj8), PyString_Size(_obj8));
b26e2dc4 1489}
ab9bc19b
RD
1490{
1491 wxPy_BEGIN_ALLOW_THREADS;
1492 _result = (wxToolBarTool *)wxToolBar_AddTool(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
1493
1494 wxPy_END_ALLOW_THREADS;
2d091820
RD
1495} if (_result) {
1496 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
1497 _resultobj = Py_BuildValue("s",_ptemp);
1498 } else {
1499 Py_INCREF(Py_None);
1500 _resultobj = Py_None;
1501 }
b26e2dc4
RD
1502{
1503 if (_obj7)
1504 delete _arg7;
1505}
1506{
1507 if (_obj8)
1508 delete _arg8;
1509}
1510 return _resultobj;
1511}
1512
dd9a3de8
RD
1513static wxToolBarTool * wxToolBar_AddSimpleTool(wxToolBar *self,int toolIndex,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString) {
1514 return self->AddTool(toolIndex, bitmap, wxNullBitmap,
1515 FALSE, -1, -1, NULL,
1516 shortHelpString, longHelpString);
1517 }
107e4716 1518static PyObject *_wrap_wxToolBar_AddSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
dd9a3de8
RD
1519 PyObject * _resultobj;
1520 wxToolBarTool * _result;
1521 wxToolBar * _arg0;
1522 int _arg1;
1523 wxBitmap * _arg2;
2d091820
RD
1524 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
1525 wxString * _arg4 = (wxString *) &wxPyEmptyStr;
1526 PyObject * _argo0 = 0;
1527 PyObject * _argo2 = 0;
dd9a3de8
RD
1528 PyObject * _obj3 = 0;
1529 PyObject * _obj4 = 0;
107e4716 1530 char *_kwnames[] = { "self","toolIndex","bitmap","shortHelpString","longHelpString", NULL };
dd9a3de8
RD
1531 char _ptemp[128];
1532
1533 self = self;
107e4716 1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OO:wxToolBar_AddSimpleTool",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4))
dd9a3de8 1535 return NULL;
2d091820
RD
1536 if (_argo0) {
1537 if (_argo0 == Py_None) { _arg0 = NULL; }
1538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
dd9a3de8
RD
1539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1540 return NULL;
1541 }
1542 }
2d091820
RD
1543 if (_argo2) {
1544 if (_argo2 == Py_None) { _arg2 = NULL; }
1545 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
dd9a3de8
RD
1546 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1547 return NULL;
1548 }
1549 }
1550 if (_obj3)
1551{
1552 if (!PyString_Check(_obj3)) {
1553 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1554 return NULL;
1555 }
ab9bc19b 1556 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
dd9a3de8
RD
1557}
1558 if (_obj4)
1559{
1560 if (!PyString_Check(_obj4)) {
1561 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1562 return NULL;
1563 }
ab9bc19b 1564 _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4));
dd9a3de8 1565}
ab9bc19b
RD
1566{
1567 wxPy_BEGIN_ALLOW_THREADS;
1568 _result = (wxToolBarTool *)wxToolBar_AddSimpleTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4);
1569
1570 wxPy_END_ALLOW_THREADS;
2d091820
RD
1571} if (_result) {
1572 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
1573 _resultobj = Py_BuildValue("s",_ptemp);
1574 } else {
1575 Py_INCREF(Py_None);
1576 _resultobj = Py_None;
1577 }
dd9a3de8
RD
1578{
1579 if (_obj3)
1580 delete _arg3;
1581}
1582{
1583 if (_obj4)
1584 delete _arg4;
1585}
1586 return _resultobj;
1587}
1588
b26e2dc4 1589#define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
107e4716 1590static PyObject *_wrap_wxToolBar_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1591 PyObject * _resultobj;
1592 wxToolBar * _arg0;
1593 int _arg1;
1594 bool _arg2;
2d091820 1595 PyObject * _argo0 = 0;
b26e2dc4 1596 int tempbool2;
107e4716 1597 char *_kwnames[] = { "self","toolIndex","enable", NULL };
b26e2dc4
RD
1598
1599 self = self;
107e4716 1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBar_EnableTool",_kwnames,&_argo0,&_arg1,&tempbool2))
b26e2dc4 1601 return NULL;
2d091820
RD
1602 if (_argo0) {
1603 if (_argo0 == Py_None) { _arg0 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
b26e2dc4
RD
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1606 return NULL;
1607 }
1608 }
1609 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
1610{
1611 wxPy_BEGIN_ALLOW_THREADS;
1612 wxToolBar_EnableTool(_arg0,_arg1,_arg2);
1613
1614 wxPy_END_ALLOW_THREADS;
1615} Py_INCREF(Py_None);
b26e2dc4
RD
1616 _resultobj = Py_None;
1617 return _resultobj;
1618}
1619
1620#define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
107e4716 1621static PyObject *_wrap_wxToolBar_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1622 PyObject * _resultobj;
1623 bool _result;
1624 wxToolBar * _arg0;
1625 int _arg1;
2d091820 1626 PyObject * _argo0 = 0;
107e4716 1627 char *_kwnames[] = { "self","toolIndex", NULL };
b26e2dc4
RD
1628
1629 self = self;
107e4716 1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolEnabled",_kwnames,&_argo0,&_arg1))
b26e2dc4 1631 return NULL;
2d091820
RD
1632 if (_argo0) {
1633 if (_argo0 == Py_None) { _arg0 = NULL; }
1634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
b26e2dc4
RD
1635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
1636 return NULL;
1637 }
1638 }
ab9bc19b
RD
1639{
1640 wxPy_BEGIN_ALLOW_THREADS;
1641 _result = (bool )wxToolBar_GetToolEnabled(_arg0,_arg1);
1642
1643 wxPy_END_ALLOW_THREADS;
1644} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
1645 return _resultobj;
1646}
1647
c95e68d8 1648#define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
107e4716 1649static PyObject *_wrap_wxToolBar_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1650 PyObject * _resultobj;
1651 wxString * _result;
1652 wxToolBar * _arg0;
1653 int _arg1;
2d091820 1654 PyObject * _argo0 = 0;
107e4716 1655 char *_kwnames[] = { "self","toolIndex", NULL };
c95e68d8
RD
1656
1657 self = self;
107e4716 1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolLongHelp",_kwnames,&_argo0,&_arg1))
c95e68d8 1659 return NULL;
2d091820
RD
1660 if (_argo0) {
1661 if (_argo0 == Py_None) { _arg0 = NULL; }
1662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
c95e68d8
RD
1663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
1664 return NULL;
1665 }
1666 }
c95e68d8 1667{
ab9bc19b
RD
1668 wxPy_BEGIN_ALLOW_THREADS;
1669 _result = new wxString (wxToolBar_GetToolLongHelp(_arg0,_arg1));
1670
1671 wxPy_END_ALLOW_THREADS;
1672}{
c95e68d8
RD
1673 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1674}
1675{
1676 delete _result;
1677}
1678 return _resultobj;
1679}
1680
1681#define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
107e4716 1682static PyObject *_wrap_wxToolBar_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1683 PyObject * _resultobj;
1684 int _result;
1685 wxToolBar * _arg0;
2d091820 1686 PyObject * _argo0 = 0;
107e4716 1687 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
1688
1689 self = self;
107e4716 1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolPacking",_kwnames,&_argo0))
c95e68d8 1691 return NULL;
2d091820
RD
1692 if (_argo0) {
1693 if (_argo0 == Py_None) { _arg0 = NULL; }
1694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
c95e68d8
RD
1695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
1696 return NULL;
1697 }
1698 }
ab9bc19b
RD
1699{
1700 wxPy_BEGIN_ALLOW_THREADS;
1701 _result = (int )wxToolBar_GetToolPacking(_arg0);
1702
1703 wxPy_END_ALLOW_THREADS;
1704} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
1705 return _resultobj;
1706}
1707
1708#define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
107e4716 1709static PyObject *_wrap_wxToolBar_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1710 PyObject * _resultobj;
1711 int _result;
1712 wxToolBar * _arg0;
2d091820 1713 PyObject * _argo0 = 0;
107e4716 1714 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
1715
1716 self = self;
107e4716 1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolSeparation",_kwnames,&_argo0))
c95e68d8 1718 return NULL;
2d091820
RD
1719 if (_argo0) {
1720 if (_argo0 == Py_None) { _arg0 = NULL; }
1721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
c95e68d8
RD
1722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
1723 return NULL;
1724 }
1725 }
ab9bc19b
RD
1726{
1727 wxPy_BEGIN_ALLOW_THREADS;
1728 _result = (int )wxToolBar_GetToolSeparation(_arg0);
1729
1730 wxPy_END_ALLOW_THREADS;
1731} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
1732 return _resultobj;
1733}
1734
1735#define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
107e4716 1736static PyObject *_wrap_wxToolBar_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1737 PyObject * _resultobj;
1738 wxString * _result;
1739 wxToolBar * _arg0;
1740 int _arg1;
2d091820 1741 PyObject * _argo0 = 0;
107e4716 1742 char *_kwnames[] = { "self","toolIndex", NULL };
c95e68d8
RD
1743
1744 self = self;
107e4716 1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolShortHelp",_kwnames,&_argo0,&_arg1))
c95e68d8 1746 return NULL;
2d091820
RD
1747 if (_argo0) {
1748 if (_argo0 == Py_None) { _arg0 = NULL; }
1749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
c95e68d8
RD
1750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
1751 return NULL;
1752 }
1753 }
c95e68d8 1754{
ab9bc19b
RD
1755 wxPy_BEGIN_ALLOW_THREADS;
1756 _result = new wxString (wxToolBar_GetToolShortHelp(_arg0,_arg1));
1757
1758 wxPy_END_ALLOW_THREADS;
1759}{
c95e68d8
RD
1760 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1761}
1762{
1763 delete _result;
1764}
1765 return _resultobj;
1766}
1767
b26e2dc4 1768#define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
107e4716 1769static PyObject *_wrap_wxToolBar_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1770 PyObject * _resultobj;
1771 bool _result;
1772 wxToolBar * _arg0;
1773 int _arg1;
2d091820 1774 PyObject * _argo0 = 0;
107e4716 1775 char *_kwnames[] = { "self","toolIndex", NULL };
b26e2dc4
RD
1776
1777 self = self;
107e4716 1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolState",_kwnames,&_argo0,&_arg1))
b26e2dc4 1779 return NULL;
2d091820
RD
1780 if (_argo0) {
1781 if (_argo0 == Py_None) { _arg0 = NULL; }
1782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
b26e2dc4
RD
1783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
1784 return NULL;
1785 }
1786 }
ab9bc19b
RD
1787{
1788 wxPy_BEGIN_ALLOW_THREADS;
1789 _result = (bool )wxToolBar_GetToolState(_arg0,_arg1);
1790
1791 wxPy_END_ALLOW_THREADS;
1792} _resultobj = Py_BuildValue("i",_result);
b26e2dc4
RD
1793 return _resultobj;
1794}
1795
1796#define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
107e4716 1797static PyObject *_wrap_wxToolBar_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4 1798 PyObject * _resultobj;
c95e68d8 1799 bool _result;
b26e2dc4 1800 wxToolBar * _arg0;
2d091820 1801 PyObject * _argo0 = 0;
107e4716 1802 char *_kwnames[] = { "self", NULL };
b26e2dc4
RD
1803
1804 self = self;
107e4716 1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_Realize",_kwnames,&_argo0))
b26e2dc4 1806 return NULL;
2d091820
RD
1807 if (_argo0) {
1808 if (_argo0 == Py_None) { _arg0 = NULL; }
1809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
b26e2dc4
RD
1810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
1811 return NULL;
1812 }
1813 }
ab9bc19b
RD
1814{
1815 wxPy_BEGIN_ALLOW_THREADS;
1816 _result = (bool )wxToolBar_Realize(_arg0);
1817
1818 wxPy_END_ALLOW_THREADS;
1819} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
1820 return _resultobj;
1821}
1822
1823#define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
107e4716 1824static PyObject *_wrap_wxToolBar_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1825 PyObject * _resultobj;
1826 wxToolBar * _arg0;
1827 int _arg1;
1828 wxString * _arg2;
2d091820 1829 PyObject * _argo0 = 0;
c95e68d8 1830 PyObject * _obj2 = 0;
107e4716 1831 char *_kwnames[] = { "self","toolIndex","helpString", NULL };
c95e68d8
RD
1832
1833 self = self;
107e4716 1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBar_SetToolLongHelp",_kwnames,&_argo0,&_arg1,&_obj2))
c95e68d8 1835 return NULL;
2d091820
RD
1836 if (_argo0) {
1837 if (_argo0 == Py_None) { _arg0 = NULL; }
1838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
c95e68d8
RD
1839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
1840 return NULL;
1841 }
1842 }
1843{
1844 if (!PyString_Check(_obj2)) {
1845 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1846 return NULL;
1847 }
ab9bc19b 1848 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
c95e68d8 1849}
ab9bc19b
RD
1850{
1851 wxPy_BEGIN_ALLOW_THREADS;
1852 wxToolBar_SetToolLongHelp(_arg0,_arg1,*_arg2);
1853
1854 wxPy_END_ALLOW_THREADS;
1855} Py_INCREF(Py_None);
c95e68d8
RD
1856 _resultobj = Py_None;
1857{
1858 if (_obj2)
1859 delete _arg2;
1860}
1861 return _resultobj;
1862}
1863
1864#define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
107e4716 1865static PyObject *_wrap_wxToolBar_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1866 PyObject * _resultobj;
1867 wxToolBar * _arg0;
1868 int _arg1;
1869 wxString * _arg2;
2d091820 1870 PyObject * _argo0 = 0;
c95e68d8 1871 PyObject * _obj2 = 0;
107e4716 1872 char *_kwnames[] = { "self","toolIndex","helpString", NULL };
c95e68d8
RD
1873
1874 self = self;
107e4716 1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBar_SetToolShortHelp",_kwnames,&_argo0,&_arg1,&_obj2))
c95e68d8 1876 return NULL;
2d091820
RD
1877 if (_argo0) {
1878 if (_argo0 == Py_None) { _arg0 = NULL; }
1879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
c95e68d8
RD
1880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
1881 return NULL;
1882 }
1883 }
1884{
1885 if (!PyString_Check(_obj2)) {
1886 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1887 return NULL;
1888 }
ab9bc19b 1889 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
c95e68d8 1890}
ab9bc19b
RD
1891{
1892 wxPy_BEGIN_ALLOW_THREADS;
1893 wxToolBar_SetToolShortHelp(_arg0,_arg1,*_arg2);
1894
1895 wxPy_END_ALLOW_THREADS;
1896} Py_INCREF(Py_None);
b26e2dc4 1897 _resultobj = Py_None;
c95e68d8
RD
1898{
1899 if (_obj2)
1900 delete _arg2;
1901}
b26e2dc4
RD
1902 return _resultobj;
1903}
1904
1905#define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
107e4716 1906static PyObject *_wrap_wxToolBar_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1907 PyObject * _resultobj;
1908 wxToolBar * _arg0;
1909 wxSize * _arg1;
2d091820 1910 PyObject * _argo0 = 0;
37f6a977
RD
1911 wxSize temp;
1912 PyObject * _obj1 = 0;
107e4716 1913 char *_kwnames[] = { "self","size", NULL };
b26e2dc4
RD
1914
1915 self = self;
37f6a977 1916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBar_SetMargins",_kwnames,&_argo0,&_obj1))
b26e2dc4 1917 return NULL;
2d091820
RD
1918 if (_argo0) {
1919 if (_argo0 == Py_None) { _arg0 = NULL; }
1920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
b26e2dc4
RD
1921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
1922 return NULL;
1923 }
1924 }
37f6a977
RD
1925{
1926 _arg1 = &temp;
1927 if (! wxSize_helper(_obj1, &_arg1))
b26e2dc4 1928 return NULL;
37f6a977 1929}
ab9bc19b
RD
1930{
1931 wxPy_BEGIN_ALLOW_THREADS;
1932 wxToolBar_SetMargins(_arg0,*_arg1);
1933
1934 wxPy_END_ALLOW_THREADS;
1935} Py_INCREF(Py_None);
b26e2dc4
RD
1936 _resultobj = Py_None;
1937 return _resultobj;
1938}
1939
1940#define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
107e4716 1941static PyObject *_wrap_wxToolBar_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1942 PyObject * _resultobj;
1943 wxToolBar * _arg0;
1944 int _arg1;
2d091820 1945 PyObject * _argo0 = 0;
107e4716 1946 char *_kwnames[] = { "self","packing", NULL };
b26e2dc4
RD
1947
1948 self = self;
107e4716 1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_SetToolPacking",_kwnames,&_argo0,&_arg1))
b26e2dc4 1950 return NULL;
2d091820
RD
1951 if (_argo0) {
1952 if (_argo0 == Py_None) { _arg0 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
b26e2dc4
RD
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
1955 return NULL;
1956 }
1957 }
ab9bc19b
RD
1958{
1959 wxPy_BEGIN_ALLOW_THREADS;
1960 wxToolBar_SetToolPacking(_arg0,_arg1);
1961
1962 wxPy_END_ALLOW_THREADS;
1963} Py_INCREF(Py_None);
b26e2dc4
RD
1964 _resultobj = Py_None;
1965 return _resultobj;
1966}
1967
1968#define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
107e4716 1969static PyObject *_wrap_wxToolBar_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1970 PyObject * _resultobj;
1971 wxToolBar * _arg0;
1972 int _arg1;
2d091820 1973 PyObject * _argo0 = 0;
107e4716 1974 char *_kwnames[] = { "self","separation", NULL };
b26e2dc4
RD
1975
1976 self = self;
107e4716 1977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_SetToolSeparation",_kwnames,&_argo0,&_arg1))
b26e2dc4 1978 return NULL;
2d091820
RD
1979 if (_argo0) {
1980 if (_argo0 == Py_None) { _arg0 = NULL; }
1981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
b26e2dc4
RD
1982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
1983 return NULL;
1984 }
1985 }
ab9bc19b
RD
1986{
1987 wxPy_BEGIN_ALLOW_THREADS;
1988 wxToolBar_SetToolSeparation(_arg0,_arg1);
1989
1990 wxPy_END_ALLOW_THREADS;
1991} Py_INCREF(Py_None);
b26e2dc4
RD
1992 _resultobj = Py_None;
1993 return _resultobj;
1994}
1995
1996#define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
107e4716 1997static PyObject *_wrap_wxToolBar_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
b26e2dc4
RD
1998 PyObject * _resultobj;
1999 wxToolBar * _arg0;
2000 int _arg1;
2001 bool _arg2;
2d091820 2002 PyObject * _argo0 = 0;
b26e2dc4 2003 int tempbool2;
107e4716 2004 char *_kwnames[] = { "self","toolIndex","toggle", NULL };
b26e2dc4
RD
2005
2006 self = self;
107e4716 2007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBar_ToggleTool",_kwnames,&_argo0,&_arg1,&tempbool2))
b26e2dc4 2008 return NULL;
2d091820
RD
2009 if (_argo0) {
2010 if (_argo0 == Py_None) { _arg0 = NULL; }
2011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
b26e2dc4
RD
2012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
2013 return NULL;
2014 }
2015 }
2016 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
2017{
2018 wxPy_BEGIN_ALLOW_THREADS;
2019 wxToolBar_ToggleTool(_arg0,_arg1,_arg2);
2020
2021 wxPy_END_ALLOW_THREADS;
2022} Py_INCREF(Py_None);
b26e2dc4
RD
2023 _resultobj = Py_None;
2024 return _resultobj;
2025}
2026
2027static PyMethodDef stattoolcMethods[] = {
107e4716
RD
2028 { "wxToolBar_ToggleTool", (PyCFunction) _wrap_wxToolBar_ToggleTool, METH_VARARGS | METH_KEYWORDS },
2029 { "wxToolBar_SetToolSeparation", (PyCFunction) _wrap_wxToolBar_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
2030 { "wxToolBar_SetToolPacking", (PyCFunction) _wrap_wxToolBar_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
2031 { "wxToolBar_SetMargins", (PyCFunction) _wrap_wxToolBar_SetMargins, METH_VARARGS | METH_KEYWORDS },
2032 { "wxToolBar_SetToolShortHelp", (PyCFunction) _wrap_wxToolBar_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
2033 { "wxToolBar_SetToolLongHelp", (PyCFunction) _wrap_wxToolBar_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
2034 { "wxToolBar_Realize", (PyCFunction) _wrap_wxToolBar_Realize, METH_VARARGS | METH_KEYWORDS },
2035 { "wxToolBar_GetToolState", (PyCFunction) _wrap_wxToolBar_GetToolState, METH_VARARGS | METH_KEYWORDS },
2036 { "wxToolBar_GetToolShortHelp", (PyCFunction) _wrap_wxToolBar_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
2037 { "wxToolBar_GetToolSeparation", (PyCFunction) _wrap_wxToolBar_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
2038 { "wxToolBar_GetToolPacking", (PyCFunction) _wrap_wxToolBar_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
2039 { "wxToolBar_GetToolLongHelp", (PyCFunction) _wrap_wxToolBar_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
2040 { "wxToolBar_GetToolEnabled", (PyCFunction) _wrap_wxToolBar_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
2041 { "wxToolBar_EnableTool", (PyCFunction) _wrap_wxToolBar_EnableTool, METH_VARARGS | METH_KEYWORDS },
2042 { "wxToolBar_AddSimpleTool", (PyCFunction) _wrap_wxToolBar_AddSimpleTool, METH_VARARGS | METH_KEYWORDS },
2043 { "wxToolBar_AddTool", (PyCFunction) _wrap_wxToolBar_AddTool, METH_VARARGS | METH_KEYWORDS },
2044 { "wxToolBar_AddSeparator", (PyCFunction) _wrap_wxToolBar_AddSeparator, METH_VARARGS | METH_KEYWORDS },
2045 { "new_wxToolBar", (PyCFunction) _wrap_new_wxToolBar, METH_VARARGS | METH_KEYWORDS },
2046 { "wxToolBarTool_m_longHelpString_get", (PyCFunction) _wrap_wxToolBarTool_m_longHelpString_get, METH_VARARGS | METH_KEYWORDS },
2047 { "wxToolBarTool_m_longHelpString_set", (PyCFunction) _wrap_wxToolBarTool_m_longHelpString_set, METH_VARARGS | METH_KEYWORDS },
2048 { "wxToolBarTool_m_shortHelpString_get", (PyCFunction) _wrap_wxToolBarTool_m_shortHelpString_get, METH_VARARGS | METH_KEYWORDS },
2049 { "wxToolBarTool_m_shortHelpString_set", (PyCFunction) _wrap_wxToolBarTool_m_shortHelpString_set, METH_VARARGS | METH_KEYWORDS },
2050 { "wxToolBarTool_m_isMenuCommand_get", (PyCFunction) _wrap_wxToolBarTool_m_isMenuCommand_get, METH_VARARGS | METH_KEYWORDS },
2051 { "wxToolBarTool_m_isMenuCommand_set", (PyCFunction) _wrap_wxToolBarTool_m_isMenuCommand_set, METH_VARARGS | METH_KEYWORDS },
2052 { "wxToolBarTool_m_bitmap2_get", (PyCFunction) _wrap_wxToolBarTool_m_bitmap2_get, METH_VARARGS | METH_KEYWORDS },
2053 { "wxToolBarTool_m_bitmap2_set", (PyCFunction) _wrap_wxToolBarTool_m_bitmap2_set, METH_VARARGS | METH_KEYWORDS },
2054 { "wxToolBarTool_m_bitmap1_get", (PyCFunction) _wrap_wxToolBarTool_m_bitmap1_get, METH_VARARGS | METH_KEYWORDS },
2055 { "wxToolBarTool_m_bitmap1_set", (PyCFunction) _wrap_wxToolBarTool_m_bitmap1_set, METH_VARARGS | METH_KEYWORDS },
2056 { "wxToolBarTool_m_enabled_get", (PyCFunction) _wrap_wxToolBarTool_m_enabled_get, METH_VARARGS | METH_KEYWORDS },
2057 { "wxToolBarTool_m_enabled_set", (PyCFunction) _wrap_wxToolBarTool_m_enabled_set, METH_VARARGS | METH_KEYWORDS },
2058 { "wxToolBarTool_m_deleteSecondBitmap_get", (PyCFunction) _wrap_wxToolBarTool_m_deleteSecondBitmap_get, METH_VARARGS | METH_KEYWORDS },
2059 { "wxToolBarTool_m_deleteSecondBitmap_set", (PyCFunction) _wrap_wxToolBarTool_m_deleteSecondBitmap_set, METH_VARARGS | METH_KEYWORDS },
2060 { "wxToolBarTool_m_isToggle_get", (PyCFunction) _wrap_wxToolBarTool_m_isToggle_get, METH_VARARGS | METH_KEYWORDS },
2061 { "wxToolBarTool_m_isToggle_set", (PyCFunction) _wrap_wxToolBarTool_m_isToggle_set, METH_VARARGS | METH_KEYWORDS },
2062 { "wxToolBarTool_m_toggleState_get", (PyCFunction) _wrap_wxToolBarTool_m_toggleState_get, METH_VARARGS | METH_KEYWORDS },
2063 { "wxToolBarTool_m_toggleState_set", (PyCFunction) _wrap_wxToolBarTool_m_toggleState_set, METH_VARARGS | METH_KEYWORDS },
2064 { "wxToolBarTool_m_index_get", (PyCFunction) _wrap_wxToolBarTool_m_index_get, METH_VARARGS | METH_KEYWORDS },
2065 { "wxToolBarTool_m_index_set", (PyCFunction) _wrap_wxToolBarTool_m_index_set, METH_VARARGS | METH_KEYWORDS },
2066 { "wxToolBarTool_m_clientData_get", (PyCFunction) _wrap_wxToolBarTool_m_clientData_get, METH_VARARGS | METH_KEYWORDS },
2067 { "wxToolBarTool_m_clientData_set", (PyCFunction) _wrap_wxToolBarTool_m_clientData_set, METH_VARARGS | METH_KEYWORDS },
2068 { "wxToolBarTool_m_toolStyle_get", (PyCFunction) _wrap_wxToolBarTool_m_toolStyle_get, METH_VARARGS | METH_KEYWORDS },
2069 { "wxToolBarTool_m_toolStyle_set", (PyCFunction) _wrap_wxToolBarTool_m_toolStyle_set, METH_VARARGS | METH_KEYWORDS },
2070 { "delete_wxToolBarTool", (PyCFunction) _wrap_delete_wxToolBarTool, METH_VARARGS | METH_KEYWORDS },
2071 { "new_wxToolBarTool", (PyCFunction) _wrap_new_wxToolBarTool, METH_VARARGS | METH_KEYWORDS },
2072 { "wxStatusBar_SetStatusWidths", (PyCFunction) _wrap_wxStatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
2073 { "wxStatusBar_SetStatusText", (PyCFunction) _wrap_wxStatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
2074 { "wxStatusBar_SetFieldsCount", (PyCFunction) _wrap_wxStatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
2075 { "wxStatusBar_InitColours", (PyCFunction) _wrap_wxStatusBar_InitColours, METH_VARARGS | METH_KEYWORDS },
2076 { "wxStatusBar_DrawFieldText", (PyCFunction) _wrap_wxStatusBar_DrawFieldText, METH_VARARGS | METH_KEYWORDS },
2077 { "wxStatusBar_DrawField", (PyCFunction) _wrap_wxStatusBar_DrawField, METH_VARARGS | METH_KEYWORDS },
2078 { "wxStatusBar_GetStatusText", (PyCFunction) _wrap_wxStatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
2079 { "wxStatusBar_GetFieldsCount", (PyCFunction) _wrap_wxStatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
2080 { "wxStatusBar_GetFieldRect", (PyCFunction) _wrap_wxStatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
2081 { "new_wxStatusBar", (PyCFunction) _wrap_new_wxStatusBar, METH_VARARGS | METH_KEYWORDS },
b26e2dc4
RD
2082 { NULL, NULL }
2083};
2d091820
RD
2084#ifdef __cplusplus
2085}
2086#endif
2087/*
2088 * This table is used by the pointer type-checker
2089 */
2090static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2091 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2092 { "_wxEvent","_class_wxEvent",0},
2093 { "_class_wxActivateEvent","_wxActivateEvent",0},
2094 { "_signed_long","_long",0},
2095 { "_wxMenuEvent","_class_wxMenuEvent",0},
37f6a977 2096 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2d091820
RD
2097 { "_wxPrintQuality","_int",0},
2098 { "_wxPrintQuality","_signed_int",0},
2099 { "_wxPrintQuality","_unsigned_int",0},
2100 { "_wxPrintQuality","_wxWindowID",0},
2101 { "_wxPrintQuality","_uint",0},
2102 { "_wxPrintQuality","_EBool",0},
2103 { "_wxPrintQuality","_size_t",0},
2104 { "_class_wxRegionIterator","_wxRegionIterator",0},
2105 { "_class_wxMenuBar","_wxMenuBar",0},
2106 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler},
2107 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler},
2108 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
2109 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
2110 { "_class_wxEvtHandler","_wxEvtHandler",0},
2111 { "_wxPaintEvent","_class_wxPaintEvent",0},
2112 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2113 { "_wxCursor","_class_wxCursor",0},
2114 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2115 { "_wxMask","_class_wxMask",0},
2116 { "_wxPen","_class_wxPen",0},
2117 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2118 { "_byte","_unsigned_char",0},
2119 { "_wxStaticBox","_class_wxStaticBox",0},
2120 { "_wxChoice","_class_wxChoice",0},
2121 { "_wxSlider","_class_wxSlider",0},
2122 { "_long","_wxDash",0},
2123 { "_long","_unsigned_long",0},
2124 { "_long","_signed_long",0},
2125 { "_wxImageList","_class_wxImageList",0},
2126 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2127 { "_wxBitmapButton","_class_wxBitmapButton",0},
2128 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2129 { "_class_wxGauge","_wxGauge",0},
2130 { "_wxDC","_class_wxDC",0},
2131 { "_wxSpinEvent","_class_wxSpinEvent",0},
2132 { "_size_t","_wxPrintQuality",0},
2133 { "_size_t","_unsigned_int",0},
2134 { "_size_t","_int",0},
2135 { "_size_t","_wxWindowID",0},
2136 { "_size_t","_uint",0},
2137 { "_class_wxRealPoint","_wxRealPoint",0},
2138 { "_class_wxMenuItem","_wxMenuItem",0},
2139 { "_class_wxPaintEvent","_wxPaintEvent",0},
2140 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2141 { "_class_wxStatusBar","_wxStatusBar",0},
2142 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2143 { "_wxPanel","_class_wxPanel",0},
2144 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2145 { "_wxCheckBox","_class_wxCheckBox",0},
2146 { "_wxPyEvent","_class_wxPyEvent",0},
2147 { "_wxTextCtrl","_class_wxTextCtrl",0},
2148 { "_class_wxMask","_wxMask",0},
2149 { "_class_wxKeyEvent","_wxKeyEvent",0},
2150 { "_wxColour","_class_wxColour",0},
2151 { "_class_wxDialog","_wxDialog",0},
2152 { "_wxIdleEvent","_class_wxIdleEvent",0},
2153 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2154 { "_wxToolBar","_class_wxToolBar",0},
2155 { "_wxStaticLine","_class_wxStaticLine",0},
2156 { "_wxBrush","_class_wxBrush",0},
2157 { "_wxShowEvent","_class_wxShowEvent",0},
2158 { "_uint","_wxPrintQuality",0},
2159 { "_uint","_size_t",0},
2160 { "_uint","_unsigned_int",0},
2161 { "_uint","_int",0},
2162 { "_uint","_wxWindowID",0},
37f6a977 2163 { "_wxPyValidator","_class_wxPyValidator",0},
2d091820
RD
2164 { "_class_wxEvent","_wxEvent",0},
2165 { "_wxCheckListBox","_class_wxCheckListBox",0},
2166 { "_wxRect","_class_wxRect",0},
2167 { "_wxCommandEvent","_class_wxCommandEvent",0},
2168 { "_wxSizeEvent","_class_wxSizeEvent",0},
2169 { "_wxPoint","_class_wxPoint",0},
2170 { "_class_wxButton","_wxButton",0},
2171 { "_wxRadioBox","_class_wxRadioBox",0},
2172 { "_wxBitmap","_class_wxBitmap",0},
2173 { "_wxPyTimer","_class_wxPyTimer",0},
2174 { "_wxWindowDC","_class_wxWindowDC",0},
2175 { "_wxScrollBar","_class_wxScrollBar",0},
2176 { "_wxSpinButton","_class_wxSpinButton",0},
2177 { "_wxToolBarTool","_class_wxToolBarTool",0},
2178 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2179 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
37f6a977 2180 { "_class_wxValidator","_wxValidator",0},
2d091820
RD
2181 { "_class_wxPyEvent","_wxPyEvent",0},
2182 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2183 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2184 { "_class_wxToolBar","_wxToolBar",0},
2185 { "_class_wxStaticLine","_wxStaticLine",0},
2186 { "_wxScrollEvent","_class_wxScrollEvent",0},
2187 { "_EBool","_wxPrintQuality",0},
2188 { "_EBool","_signed_int",0},
2189 { "_EBool","_int",0},
2190 { "_EBool","_wxWindowID",0},
2191 { "_class_wxRegion","_wxRegion",0},
2192 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2193 { "_wxStaticText","_class_wxStaticText",0},
2194 { "_wxFont","_class_wxFont",0},
2195 { "_wxCloseEvent","_class_wxCloseEvent",0},
2196 { "_unsigned_long","_wxDash",0},
2197 { "_unsigned_long","_long",0},
2198 { "_class_wxRect","_wxRect",0},
2199 { "_class_wxDC","_wxDC",0},
9cce9de1 2200 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2d091820
RD
2201 { "_class_wxPyTimer","_wxPyTimer",0},
2202 { "_wxFocusEvent","_class_wxFocusEvent",0},
2203 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2204 { "_class_wxSpinButton","_wxSpinButton",0},
2205 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2206 { "_class_wxPanel","_wxPanel",0},
2207 { "_class_wxCheckBox","_wxCheckBox",0},
2208 { "_wxComboBox","_class_wxComboBox",0},
2209 { "_wxRadioButton","_class_wxRadioButton",0},
2210 { "_signed_int","_wxPrintQuality",0},
2211 { "_signed_int","_EBool",0},
2212 { "_signed_int","_wxWindowID",0},
2213 { "_signed_int","_int",0},
2214 { "_class_wxTextCtrl","_wxTextCtrl",0},
2215 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2216 { "_wxMenu","_class_wxMenu",0},
2217 { "_class_wxMoveEvent","_wxMoveEvent",0},
2218 { "_wxListBox","_class_wxListBox",0},
2219 { "_wxScreenDC","_class_wxScreenDC",0},
2220 { "_WXTYPE","_short",0},
2221 { "_WXTYPE","_signed_short",0},
2222 { "_WXTYPE","_unsigned_short",0},
2223 { "_class_wxBrush","_wxBrush",0},
2224 { "_unsigned_short","_WXTYPE",0},
2225 { "_unsigned_short","_short",0},
2226 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow},
2227 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow},
2228 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow},
2229 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow},
2230 { "_class_wxWindow","_wxWindow",0},
2231 { "_class_wxStaticText","_wxStaticText",0},
2232 { "_class_wxFont","_wxFont",0},
37f6a977 2233 { "_class_wxPyValidator","_wxPyValidator",0},
2d091820
RD
2234 { "_class_wxCloseEvent","_wxCloseEvent",0},
2235 { "_class_wxMenuEvent","_wxMenuEvent",0},
2236 { "_wxClientDC","_class_wxClientDC",0},
2237 { "_wxMouseEvent","_class_wxMouseEvent",0},
2238 { "_class_wxPoint","_wxPoint",0},
2239 { "_wxRealPoint","_class_wxRealPoint",0},
2240 { "_class_wxRadioBox","_wxRadioBox",0},
2241 { "_signed_short","_WXTYPE",0},
2242 { "_signed_short","_short",0},
2243 { "_wxMemoryDC","_class_wxMemoryDC",0},
2244 { "_wxPaintDC","_class_wxPaintDC",0},
2245 { "_class_wxWindowDC","_wxWindowDC",0},
2246 { "_class_wxFocusEvent","_wxFocusEvent",0},
2247 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2248 { "_wxStatusBar","_class_wxStatusBar",0},
2249 { "_class_wxToolBarTool","_wxToolBarTool",0},
2250 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2251 { "_class_wxCursor","_wxCursor",0},
2252 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2253 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2254 { "_unsigned_char","_byte",0},
2255 { "_class_wxMenu","_wxMenu",0},
2256 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl},
2257 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl},
2258 { "_wxControl","_class_wxControl",0},
2259 { "_class_wxListBox","_wxListBox",0},
2260 { "_unsigned_int","_wxPrintQuality",0},
2261 { "_unsigned_int","_size_t",0},
2262 { "_unsigned_int","_uint",0},
2263 { "_unsigned_int","_wxWindowID",0},
2264 { "_unsigned_int","_int",0},
2265 { "_wxIcon","_class_wxIcon",0},
2266 { "_wxDialog","_class_wxDialog",0},
2267 { "_class_wxPen","_wxPen",0},
2268 { "_short","_WXTYPE",0},
2269 { "_short","_unsigned_short",0},
2270 { "_short","_signed_short",0},
2271 { "_class_wxStaticBox","_wxStaticBox",0},
2272 { "_class_wxScrollEvent","_wxScrollEvent",0},
2273 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2274 { "_class_wxChoice","_wxChoice",0},
2275 { "_class_wxSlider","_wxSlider",0},
2276 { "_class_wxImageList","_wxImageList",0},
2277 { "_class_wxBitmapButton","_wxBitmapButton",0},
2278 { "_wxWindowID","_wxPrintQuality",0},
2279 { "_wxWindowID","_size_t",0},
2280 { "_wxWindowID","_EBool",0},
2281 { "_wxWindowID","_uint",0},
2282 { "_wxWindowID","_int",0},
2283 { "_wxWindowID","_signed_int",0},
2284 { "_wxWindowID","_unsigned_int",0},
9cce9de1 2285 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2d091820
RD
2286 { "_int","_wxPrintQuality",0},
2287 { "_int","_size_t",0},
2288 { "_int","_EBool",0},
2289 { "_int","_uint",0},
2290 { "_int","_wxWindowID",0},
2291 { "_int","_unsigned_int",0},
2292 { "_int","_signed_int",0},
2293 { "_class_wxMouseEvent","_wxMouseEvent",0},
37f6a977 2294 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2d091820
RD
2295 { "_class_wxSpinEvent","_wxSpinEvent",0},
2296 { "_wxButton","_class_wxButton",0},
2297 { "_wxSize","_class_wxSize",0},
2298 { "_wxRegionIterator","_class_wxRegionIterator",0},
2299 { "_class_wxPaintDC","_wxPaintDC",0},
2300 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2301 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2302 { "_class_wxComboBox","_wxComboBox",0},
2303 { "_class_wxRadioButton","_wxRadioButton",0},
37f6a977 2304 { "_wxValidator","_class_wxValidator",0},
2d091820
RD
2305 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2306 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2307 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl},
2308 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl},
2309 { "_class_wxControl","_wxControl",0},
2310 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2311 { "_class_wxIcon","_wxIcon",0},
2312 { "_class_wxColour","_wxColour",0},
2313 { "_class_wxScreenDC","_wxScreenDC",0},
2314 { "_wxPalette","_class_wxPalette",0},
2315 { "_class_wxIdleEvent","_wxIdleEvent",0},
2316 { "_wxEraseEvent","_class_wxEraseEvent",0},
2317 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2318 { "_wxRegion","_class_wxRegion",0},
2319 { "_class_wxShowEvent","_wxShowEvent",0},
2320 { "_wxActivateEvent","_class_wxActivateEvent",0},
2321 { "_wxGauge","_class_wxGauge",0},
2322 { "_class_wxCheckListBox","_wxCheckListBox",0},
2323 { "_class_wxCommandEvent","_wxCommandEvent",0},
2324 { "_class_wxClientDC","_wxClientDC",0},
2325 { "_class_wxSizeEvent","_wxSizeEvent",0},
2326 { "_class_wxSize","_wxSize",0},
2327 { "_class_wxBitmap","_wxBitmap",0},
2328 { "_class_wxMemoryDC","_wxMemoryDC",0},
2329 { "_wxMenuBar","_class_wxMenuBar",0},
2330 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler},
2331 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler},
2332 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
2333 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
2334 { "_wxEvtHandler","_class_wxEvtHandler",0},
2335 { "_wxMenuItem","_class_wxMenuItem",0},
2336 { "_class_wxScrollBar","_wxScrollBar",0},
2337 { "_wxDash","_unsigned_long",0},
2338 { "_wxDash","_long",0},
2339 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2340 { "_wxKeyEvent","_class_wxKeyEvent",0},
2341 { "_wxMoveEvent","_class_wxMoveEvent",0},
2342 { "_class_wxPalette","_wxPalette",0},
2343 { "_class_wxEraseEvent","_wxEraseEvent",0},
2344 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow},
2345 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow},
2346 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow},
2347 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow},
2348 { "_wxWindow","_class_wxWindow",0},
2349{0,0,0}};
2350
b26e2dc4
RD
2351static PyObject *SWIG_globals;
2352#ifdef __cplusplus
2353extern "C"
2354#endif
2d091820 2355SWIGEXPORT(void) initstattoolc() {
b26e2dc4
RD
2356 PyObject *m, *d;
2357 SWIG_globals = SWIG_newvarlink();
2358 m = Py_InitModule("stattoolc", stattoolcMethods);
2359 d = PyModule_GetDict(m);
2d091820
RD
2360{
2361 int i;
2362 for (i = 0; _swig_mapping[i].n1; i++)
2363 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2364}
b26e2dc4 2365}