]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/stattool.cpp
minor additions and bugfixes
[wxWidgets.git] / utils / wxPython / src / gtk / stattool.cpp
1 /*
2 * FILE : gtk/stattool.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
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
60 static 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
81 static 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
107 static char* wxStringErrorMsg = "string type is required for parameter";
108 #ifdef __cplusplus
109 extern "C" {
110 #endif
111 static void *SwigwxStatusBarTowxWindow(void *ptr) {
112 wxStatusBar *src;
113 wxWindow *dest;
114 src = (wxStatusBar *) ptr;
115 dest = (wxWindow *) src;
116 return (void *) dest;
117 }
118
119 static 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))
128 static PyObject *_wrap_new_wxStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
129 PyObject * _resultobj;
130 wxStatusBar * _result;
131 wxWindow * _arg0;
132 wxWindowID _arg1;
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;
138 wxPoint temp;
139 PyObject * _obj2 = 0;
140 wxSize temp0;
141 PyObject * _obj3 = 0;
142 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
143 char _ptemp[128];
144
145 self = self;
146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStatusBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
147 return NULL;
148 if (_argo0) {
149 if (_argo0 == Py_None) { _arg0 = NULL; }
150 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
152 return NULL;
153 }
154 }
155 if (_obj2)
156 {
157 _arg2 = &temp;
158 if (! wxPoint_helper(_obj2, &_arg2))
159 return NULL;
160 }
161 if (_obj3)
162 {
163 _arg3 = &temp0;
164 if (! wxSize_helper(_obj3, &_arg3))
165 return NULL;
166 }
167 {
168 wxPy_BEGIN_ALLOW_THREADS;
169 _result = (wxStatusBar *)new_wxStatusBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
170
171 wxPy_END_ALLOW_THREADS;
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 }
179 return _resultobj;
180 }
181
182 static wxRect * wxStatusBar_GetFieldRect(wxStatusBar *self,long item) {
183 wxRect* rect= new wxRect;
184 self->GetFieldRect(item, *rect);
185 return rect;
186 }
187 static PyObject *_wrap_wxStatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
188 PyObject * _resultobj;
189 wxRect * _result;
190 wxStatusBar * _arg0;
191 long _arg1;
192 PyObject * _argo0 = 0;
193 char *_kwnames[] = { "self","item", NULL };
194 char _ptemp[128];
195
196 self = self;
197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxStatusBar_GetFieldRect",_kwnames,&_argo0,&_arg1))
198 return NULL;
199 if (_argo0) {
200 if (_argo0 == Py_None) { _arg0 = NULL; }
201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
203 return NULL;
204 }
205 }
206 {
207 wxPy_BEGIN_ALLOW_THREADS;
208 _result = (wxRect *)wxStatusBar_GetFieldRect(_arg0,_arg1);
209
210 wxPy_END_ALLOW_THREADS;
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 }
218 return _resultobj;
219 }
220
221 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
222 static PyObject *_wrap_wxStatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
223 PyObject * _resultobj;
224 int _result;
225 wxStatusBar * _arg0;
226 PyObject * _argo0 = 0;
227 char *_kwnames[] = { "self", NULL };
228
229 self = self;
230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStatusBar_GetFieldsCount",_kwnames,&_argo0))
231 return NULL;
232 if (_argo0) {
233 if (_argo0 == Py_None) { _arg0 = NULL; }
234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
236 return NULL;
237 }
238 }
239 {
240 wxPy_BEGIN_ALLOW_THREADS;
241 _result = (int )wxStatusBar_GetFieldsCount(_arg0);
242
243 wxPy_END_ALLOW_THREADS;
244 } _resultobj = Py_BuildValue("i",_result);
245 return _resultobj;
246 }
247
248 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
249 static PyObject *_wrap_wxStatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
250 PyObject * _resultobj;
251 wxString * _result;
252 wxStatusBar * _arg0;
253 int _arg1 = (int ) 0;
254 PyObject * _argo0 = 0;
255 char *_kwnames[] = { "self","ir", NULL };
256
257 self = self;
258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxStatusBar_GetStatusText",_kwnames,&_argo0,&_arg1))
259 return NULL;
260 if (_argo0) {
261 if (_argo0 == Py_None) { _arg0 = NULL; }
262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
264 return NULL;
265 }
266 }
267 {
268 wxPy_BEGIN_ALLOW_THREADS;
269 _result = new wxString (wxStatusBar_GetStatusText(_arg0,_arg1));
270
271 wxPy_END_ALLOW_THREADS;
272 }{
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))
282 static PyObject *_wrap_wxStatusBar_DrawField(PyObject *self, PyObject *args, PyObject *kwargs) {
283 PyObject * _resultobj;
284 wxStatusBar * _arg0;
285 wxDC * _arg1;
286 int _arg2;
287 PyObject * _argo0 = 0;
288 PyObject * _argo1 = 0;
289 char *_kwnames[] = { "self","dc","i", NULL };
290
291 self = self;
292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxStatusBar_DrawField",_kwnames,&_argo0,&_argo1,&_arg2))
293 return NULL;
294 if (_argo0) {
295 if (_argo0 == Py_None) { _arg0 = NULL; }
296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
298 return NULL;
299 }
300 }
301 if (_argo1) {
302 if (_argo1 == Py_None) { _arg1 = NULL; }
303 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
304 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
305 return NULL;
306 }
307 }
308 {
309 wxPy_BEGIN_ALLOW_THREADS;
310 wxStatusBar_DrawField(_arg0,*_arg1,_arg2);
311
312 wxPy_END_ALLOW_THREADS;
313 } Py_INCREF(Py_None);
314 _resultobj = Py_None;
315 return _resultobj;
316 }
317
318 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
319 static PyObject *_wrap_wxStatusBar_DrawFieldText(PyObject *self, PyObject *args, PyObject *kwargs) {
320 PyObject * _resultobj;
321 wxStatusBar * _arg0;
322 wxDC * _arg1;
323 int _arg2;
324 PyObject * _argo0 = 0;
325 PyObject * _argo1 = 0;
326 char *_kwnames[] = { "self","dc","i", NULL };
327
328 self = self;
329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxStatusBar_DrawFieldText",_kwnames,&_argo0,&_argo1,&_arg2))
330 return NULL;
331 if (_argo0) {
332 if (_argo0 == Py_None) { _arg0 = NULL; }
333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
335 return NULL;
336 }
337 }
338 if (_argo1) {
339 if (_argo1 == Py_None) { _arg1 = NULL; }
340 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
341 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
342 return NULL;
343 }
344 }
345 {
346 wxPy_BEGIN_ALLOW_THREADS;
347 wxStatusBar_DrawFieldText(_arg0,*_arg1,_arg2);
348
349 wxPy_END_ALLOW_THREADS;
350 } Py_INCREF(Py_None);
351 _resultobj = Py_None;
352 return _resultobj;
353 }
354
355 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
356 static PyObject *_wrap_wxStatusBar_InitColours(PyObject *self, PyObject *args, PyObject *kwargs) {
357 PyObject * _resultobj;
358 wxStatusBar * _arg0;
359 PyObject * _argo0 = 0;
360 char *_kwnames[] = { "self", NULL };
361
362 self = self;
363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStatusBar_InitColours",_kwnames,&_argo0))
364 return NULL;
365 if (_argo0) {
366 if (_argo0 == Py_None) { _arg0 = NULL; }
367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
369 return NULL;
370 }
371 }
372 {
373 wxPy_BEGIN_ALLOW_THREADS;
374 wxStatusBar_InitColours(_arg0);
375
376 wxPy_END_ALLOW_THREADS;
377 } Py_INCREF(Py_None);
378 _resultobj = Py_None;
379 return _resultobj;
380 }
381
382 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
383 static PyObject *_wrap_wxStatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
384 PyObject * _resultobj;
385 wxStatusBar * _arg0;
386 int _arg1 = (int ) 1;
387 PyObject * _argo0 = 0;
388 char *_kwnames[] = { "self","number", NULL };
389
390 self = self;
391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxStatusBar_SetFieldsCount",_kwnames,&_argo0,&_arg1))
392 return NULL;
393 if (_argo0) {
394 if (_argo0 == Py_None) { _arg0 = NULL; }
395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
397 return NULL;
398 }
399 }
400 {
401 wxPy_BEGIN_ALLOW_THREADS;
402 wxStatusBar_SetFieldsCount(_arg0,_arg1);
403
404 wxPy_END_ALLOW_THREADS;
405 } Py_INCREF(Py_None);
406 _resultobj = Py_None;
407 return _resultobj;
408 }
409
410 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
411 static PyObject *_wrap_wxStatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
412 PyObject * _resultobj;
413 wxStatusBar * _arg0;
414 wxString * _arg1;
415 int _arg2 = (int ) 0;
416 PyObject * _argo0 = 0;
417 PyObject * _obj1 = 0;
418 char *_kwnames[] = { "self","text","i", NULL };
419
420 self = self;
421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxStatusBar_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2))
422 return NULL;
423 if (_argo0) {
424 if (_argo0 == Py_None) { _arg0 = NULL; }
425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
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 }
435 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
436 }
437 {
438 wxPy_BEGIN_ALLOW_THREADS;
439 wxStatusBar_SetStatusText(_arg0,*_arg1,_arg2);
440
441 wxPy_END_ALLOW_THREADS;
442 } Py_INCREF(Py_None);
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))
452 static PyObject *_wrap_wxStatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
453 PyObject * _resultobj;
454 wxStatusBar * _arg0;
455 int _arg1;
456 int * _arg2;
457 PyObject * _argo0 = 0;
458 PyObject * _obj2 = 0;
459 char *_kwnames[] = { "self","LIST", NULL };
460
461 self = self;
462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStatusBar_SetStatusWidths",_kwnames,&_argo0,&_obj2))
463 return NULL;
464 if (_argo0) {
465 if (_argo0 == Py_None) { _arg0 = NULL; }
466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) {
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 {
479 if (_obj2) {
480 _arg1 = PyList_Size(_obj2);
481 }
482 else {
483 _arg1 = 0;
484 }
485 }
486 {
487 wxPy_BEGIN_ALLOW_THREADS;
488 wxStatusBar_SetStatusWidths(_arg0,_arg1,_arg2);
489
490 wxPy_END_ALLOW_THREADS;
491 } Py_INCREF(Py_None);
492 _resultobj = Py_None;
493 {
494 delete [] _arg2;
495 }
496 return _resultobj;
497 }
498
499 #define new_wxToolBarTool() (new wxToolBarTool())
500 static PyObject *_wrap_new_wxToolBarTool(PyObject *self, PyObject *args, PyObject *kwargs) {
501 PyObject * _resultobj;
502 wxToolBarTool * _result;
503 char *_kwnames[] = { NULL };
504 char _ptemp[128];
505
506 self = self;
507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxToolBarTool",_kwnames))
508 return NULL;
509 {
510 wxPy_BEGIN_ALLOW_THREADS;
511 _result = (wxToolBarTool *)new_wxToolBarTool();
512
513 wxPy_END_ALLOW_THREADS;
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 }
521 return _resultobj;
522 }
523
524 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
525 static PyObject *_wrap_delete_wxToolBarTool(PyObject *self, PyObject *args, PyObject *kwargs) {
526 PyObject * _resultobj;
527 wxToolBarTool * _arg0;
528 PyObject * _argo0 = 0;
529 char *_kwnames[] = { "self", NULL };
530
531 self = self;
532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxToolBarTool",_kwnames,&_argo0))
533 return NULL;
534 if (_argo0) {
535 if (_argo0 == Py_None) { _arg0 = NULL; }
536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
538 return NULL;
539 }
540 }
541 {
542 wxPy_BEGIN_ALLOW_THREADS;
543 delete_wxToolBarTool(_arg0);
544
545 wxPy_END_ALLOW_THREADS;
546 } Py_INCREF(Py_None);
547 _resultobj = Py_None;
548 return _resultobj;
549 }
550
551 #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
552 static PyObject *_wrap_wxToolBarTool_m_toolStyle_set(PyObject *self, PyObject *args, PyObject *kwargs) {
553 PyObject * _resultobj;
554 int _result;
555 wxToolBarTool * _arg0;
556 int _arg1;
557 PyObject * _argo0 = 0;
558 char *_kwnames[] = { "self","m_toolStyle", NULL };
559
560 self = self;
561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_toolStyle_set",_kwnames,&_argo0,&_arg1))
562 return NULL;
563 if (_argo0) {
564 if (_argo0 == Py_None) { _arg0 = NULL; }
565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
567 return NULL;
568 }
569 }
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);
576 return _resultobj;
577 }
578
579 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
580 static PyObject *_wrap_wxToolBarTool_m_toolStyle_get(PyObject *self, PyObject *args, PyObject *kwargs) {
581 PyObject * _resultobj;
582 int _result;
583 wxToolBarTool * _arg0;
584 PyObject * _argo0 = 0;
585 char *_kwnames[] = { "self", NULL };
586
587 self = self;
588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_toolStyle_get",_kwnames,&_argo0))
589 return NULL;
590 if (_argo0) {
591 if (_argo0 == Py_None) { _arg0 = NULL; }
592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
594 return NULL;
595 }
596 }
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);
603 return _resultobj;
604 }
605
606 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
607 static PyObject *_wrap_wxToolBarTool_m_clientData_set(PyObject *self, PyObject *args, PyObject *kwargs) {
608 PyObject * _resultobj;
609 wxObject * _result;
610 wxToolBarTool * _arg0;
611 wxObject * _arg1;
612 PyObject * _argo0 = 0;
613 PyObject * _argo1 = 0;
614 char *_kwnames[] = { "self","m_clientData", NULL };
615 char _ptemp[128];
616
617 self = self;
618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_clientData_set",_kwnames,&_argo0,&_argo1))
619 return NULL;
620 if (_argo0) {
621 if (_argo0 == Py_None) { _arg0 = NULL; }
622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
624 return NULL;
625 }
626 }
627 if (_argo1) {
628 if (_argo1 == Py_None) { _arg1 = NULL; }
629 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) {
630 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
631 return NULL;
632 }
633 }
634 {
635 wxPy_BEGIN_ALLOW_THREADS;
636 _result = (wxObject *)wxToolBarTool_m_clientData_set(_arg0,_arg1);
637
638 wxPy_END_ALLOW_THREADS;
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 }
646 return _resultobj;
647 }
648
649 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
650 static PyObject *_wrap_wxToolBarTool_m_clientData_get(PyObject *self, PyObject *args, PyObject *kwargs) {
651 PyObject * _resultobj;
652 wxObject * _result;
653 wxToolBarTool * _arg0;
654 PyObject * _argo0 = 0;
655 char *_kwnames[] = { "self", NULL };
656 char _ptemp[128];
657
658 self = self;
659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_clientData_get",_kwnames,&_argo0))
660 return NULL;
661 if (_argo0) {
662 if (_argo0 == Py_None) { _arg0 = NULL; }
663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
665 return NULL;
666 }
667 }
668 {
669 wxPy_BEGIN_ALLOW_THREADS;
670 _result = (wxObject *)wxToolBarTool_m_clientData_get(_arg0);
671
672 wxPy_END_ALLOW_THREADS;
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 }
680 return _resultobj;
681 }
682
683 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
684 static PyObject *_wrap_wxToolBarTool_m_index_set(PyObject *self, PyObject *args, PyObject *kwargs) {
685 PyObject * _resultobj;
686 int _result;
687 wxToolBarTool * _arg0;
688 int _arg1;
689 PyObject * _argo0 = 0;
690 char *_kwnames[] = { "self","m_index", NULL };
691
692 self = self;
693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_index_set",_kwnames,&_argo0,&_arg1))
694 return NULL;
695 if (_argo0) {
696 if (_argo0 == Py_None) { _arg0 = NULL; }
697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
699 return NULL;
700 }
701 }
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);
708 return _resultobj;
709 }
710
711 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
712 static PyObject *_wrap_wxToolBarTool_m_index_get(PyObject *self, PyObject *args, PyObject *kwargs) {
713 PyObject * _resultobj;
714 int _result;
715 wxToolBarTool * _arg0;
716 PyObject * _argo0 = 0;
717 char *_kwnames[] = { "self", NULL };
718
719 self = self;
720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_index_get",_kwnames,&_argo0))
721 return NULL;
722 if (_argo0) {
723 if (_argo0 == Py_None) { _arg0 = NULL; }
724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
726 return NULL;
727 }
728 }
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);
735 return _resultobj;
736 }
737
738 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
739 static PyObject *_wrap_wxToolBarTool_m_toggleState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
740 PyObject * _resultobj;
741 bool _result;
742 wxToolBarTool * _arg0;
743 bool _arg1;
744 PyObject * _argo0 = 0;
745 int tempbool1;
746 char *_kwnames[] = { "self","m_toggleState", NULL };
747
748 self = self;
749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_toggleState_set",_kwnames,&_argo0,&tempbool1))
750 return NULL;
751 if (_argo0) {
752 if (_argo0 == Py_None) { _arg0 = NULL; }
753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
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;
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);
765 return _resultobj;
766 }
767
768 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
769 static PyObject *_wrap_wxToolBarTool_m_toggleState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
770 PyObject * _resultobj;
771 bool _result;
772 wxToolBarTool * _arg0;
773 PyObject * _argo0 = 0;
774 char *_kwnames[] = { "self", NULL };
775
776 self = self;
777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_toggleState_get",_kwnames,&_argo0))
778 return NULL;
779 if (_argo0) {
780 if (_argo0 == Py_None) { _arg0 = NULL; }
781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
783 return NULL;
784 }
785 }
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);
792 return _resultobj;
793 }
794
795 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
796 static PyObject *_wrap_wxToolBarTool_m_isToggle_set(PyObject *self, PyObject *args, PyObject *kwargs) {
797 PyObject * _resultobj;
798 bool _result;
799 wxToolBarTool * _arg0;
800 bool _arg1;
801 PyObject * _argo0 = 0;
802 int tempbool1;
803 char *_kwnames[] = { "self","m_isToggle", NULL };
804
805 self = self;
806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_isToggle_set",_kwnames,&_argo0,&tempbool1))
807 return NULL;
808 if (_argo0) {
809 if (_argo0 == Py_None) { _arg0 = NULL; }
810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
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;
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);
822 return _resultobj;
823 }
824
825 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
826 static PyObject *_wrap_wxToolBarTool_m_isToggle_get(PyObject *self, PyObject *args, PyObject *kwargs) {
827 PyObject * _resultobj;
828 bool _result;
829 wxToolBarTool * _arg0;
830 PyObject * _argo0 = 0;
831 char *_kwnames[] = { "self", NULL };
832
833 self = self;
834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_isToggle_get",_kwnames,&_argo0))
835 return NULL;
836 if (_argo0) {
837 if (_argo0 == Py_None) { _arg0 = NULL; }
838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
840 return NULL;
841 }
842 }
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);
849 return _resultobj;
850 }
851
852 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
853 static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject *self, PyObject *args, PyObject *kwargs) {
854 PyObject * _resultobj;
855 bool _result;
856 wxToolBarTool * _arg0;
857 bool _arg1;
858 PyObject * _argo0 = 0;
859 int tempbool1;
860 char *_kwnames[] = { "self","m_deleteSecondBitmap", NULL };
861
862 self = self;
863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_deleteSecondBitmap_set",_kwnames,&_argo0,&tempbool1))
864 return NULL;
865 if (_argo0) {
866 if (_argo0 == Py_None) { _arg0 = NULL; }
867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
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;
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);
879 return _resultobj;
880 }
881
882 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
883 static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject *self, PyObject *args, PyObject *kwargs) {
884 PyObject * _resultobj;
885 bool _result;
886 wxToolBarTool * _arg0;
887 PyObject * _argo0 = 0;
888 char *_kwnames[] = { "self", NULL };
889
890 self = self;
891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_deleteSecondBitmap_get",_kwnames,&_argo0))
892 return NULL;
893 if (_argo0) {
894 if (_argo0 == Py_None) { _arg0 = NULL; }
895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
897 return NULL;
898 }
899 }
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);
906 return _resultobj;
907 }
908
909 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
910 static PyObject *_wrap_wxToolBarTool_m_enabled_set(PyObject *self, PyObject *args, PyObject *kwargs) {
911 PyObject * _resultobj;
912 bool _result;
913 wxToolBarTool * _arg0;
914 bool _arg1;
915 PyObject * _argo0 = 0;
916 int tempbool1;
917 char *_kwnames[] = { "self","m_enabled", NULL };
918
919 self = self;
920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_enabled_set",_kwnames,&_argo0,&tempbool1))
921 return NULL;
922 if (_argo0) {
923 if (_argo0 == Py_None) { _arg0 = NULL; }
924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
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;
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);
936 return _resultobj;
937 }
938
939 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
940 static PyObject *_wrap_wxToolBarTool_m_enabled_get(PyObject *self, PyObject *args, PyObject *kwargs) {
941 PyObject * _resultobj;
942 bool _result;
943 wxToolBarTool * _arg0;
944 PyObject * _argo0 = 0;
945 char *_kwnames[] = { "self", NULL };
946
947 self = self;
948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_enabled_get",_kwnames,&_argo0))
949 return NULL;
950 if (_argo0) {
951 if (_argo0 == Py_None) { _arg0 = NULL; }
952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
954 return NULL;
955 }
956 }
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);
963 return _resultobj;
964 }
965
966 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
967 static PyObject *_wrap_wxToolBarTool_m_bitmap1_set(PyObject *self, PyObject *args, PyObject *kwargs) {
968 PyObject * _resultobj;
969 wxBitmap * _result;
970 wxToolBarTool * _arg0;
971 wxBitmap * _arg1;
972 PyObject * _argo0 = 0;
973 PyObject * _argo1 = 0;
974 char *_kwnames[] = { "self","m_bitmap1", NULL };
975 char _ptemp[128];
976
977 self = self;
978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_bitmap1_set",_kwnames,&_argo0,&_argo1))
979 return NULL;
980 if (_argo0) {
981 if (_argo0 == Py_None) { _arg0 = NULL; }
982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
984 return NULL;
985 }
986 }
987 if (_argo1) {
988 if (_argo1 == Py_None) { _arg1 = NULL; }
989 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
990 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
991 return NULL;
992 }
993 }
994 {
995 wxPy_BEGIN_ALLOW_THREADS;
996 _result = (wxBitmap *)wxToolBarTool_m_bitmap1_set(_arg0,_arg1);
997
998 wxPy_END_ALLOW_THREADS;
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 }
1006 return _resultobj;
1007 }
1008
1009 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
1010 static PyObject *_wrap_wxToolBarTool_m_bitmap1_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1011 PyObject * _resultobj;
1012 wxBitmap * _result;
1013 wxToolBarTool * _arg0;
1014 PyObject * _argo0 = 0;
1015 char *_kwnames[] = { "self", NULL };
1016 char _ptemp[128];
1017
1018 self = self;
1019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_bitmap1_get",_kwnames,&_argo0))
1020 return NULL;
1021 if (_argo0) {
1022 if (_argo0 == Py_None) { _arg0 = NULL; }
1023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1025 return NULL;
1026 }
1027 }
1028 {
1029 wxPy_BEGIN_ALLOW_THREADS;
1030 _result = (wxBitmap *)wxToolBarTool_m_bitmap1_get(_arg0);
1031
1032 wxPy_END_ALLOW_THREADS;
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 }
1040 return _resultobj;
1041 }
1042
1043 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1044 static PyObject *_wrap_wxToolBarTool_m_bitmap2_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1045 PyObject * _resultobj;
1046 wxBitmap * _result;
1047 wxToolBarTool * _arg0;
1048 wxBitmap * _arg1;
1049 PyObject * _argo0 = 0;
1050 PyObject * _argo1 = 0;
1051 char *_kwnames[] = { "self","m_bitmap2", NULL };
1052 char _ptemp[128];
1053
1054 self = self;
1055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_bitmap2_set",_kwnames,&_argo0,&_argo1))
1056 return NULL;
1057 if (_argo0) {
1058 if (_argo0 == Py_None) { _arg0 = NULL; }
1059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1061 return NULL;
1062 }
1063 }
1064 if (_argo1) {
1065 if (_argo1 == Py_None) { _arg1 = NULL; }
1066 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1067 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1068 return NULL;
1069 }
1070 }
1071 {
1072 wxPy_BEGIN_ALLOW_THREADS;
1073 _result = (wxBitmap *)wxToolBarTool_m_bitmap2_set(_arg0,_arg1);
1074
1075 wxPy_END_ALLOW_THREADS;
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 }
1083 return _resultobj;
1084 }
1085
1086 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1087 static PyObject *_wrap_wxToolBarTool_m_bitmap2_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1088 PyObject * _resultobj;
1089 wxBitmap * _result;
1090 wxToolBarTool * _arg0;
1091 PyObject * _argo0 = 0;
1092 char *_kwnames[] = { "self", NULL };
1093 char _ptemp[128];
1094
1095 self = self;
1096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_bitmap2_get",_kwnames,&_argo0))
1097 return NULL;
1098 if (_argo0) {
1099 if (_argo0 == Py_None) { _arg0 = NULL; }
1100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1102 return NULL;
1103 }
1104 }
1105 {
1106 wxPy_BEGIN_ALLOW_THREADS;
1107 _result = (wxBitmap *)wxToolBarTool_m_bitmap2_get(_arg0);
1108
1109 wxPy_END_ALLOW_THREADS;
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 }
1117 return _resultobj;
1118 }
1119
1120 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1121 static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1122 PyObject * _resultobj;
1123 bool _result;
1124 wxToolBarTool * _arg0;
1125 bool _arg1;
1126 PyObject * _argo0 = 0;
1127 int tempbool1;
1128 char *_kwnames[] = { "self","m_isMenuCommand", NULL };
1129
1130 self = self;
1131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_isMenuCommand_set",_kwnames,&_argo0,&tempbool1))
1132 return NULL;
1133 if (_argo0) {
1134 if (_argo0 == Py_None) { _arg0 = NULL; }
1135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
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;
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);
1147 return _resultobj;
1148 }
1149
1150 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1151 static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject * _resultobj;
1153 bool _result;
1154 wxToolBarTool * _arg0;
1155 PyObject * _argo0 = 0;
1156 char *_kwnames[] = { "self", NULL };
1157
1158 self = self;
1159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_isMenuCommand_get",_kwnames,&_argo0))
1160 return NULL;
1161 if (_argo0) {
1162 if (_argo0 == Py_None) { _arg0 = NULL; }
1163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1165 return NULL;
1166 }
1167 }
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);
1174 return _resultobj;
1175 }
1176
1177 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1178 static PyObject *_wrap_wxToolBarTool_m_shortHelpString_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1179 PyObject * _resultobj;
1180 wxString * _result;
1181 wxToolBarTool * _arg0;
1182 wxString * _arg1;
1183 PyObject * _argo0 = 0;
1184 PyObject * _obj1 = 0;
1185 char *_kwnames[] = { "self","m_shortHelpString", NULL };
1186
1187 self = self;
1188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_shortHelpString_set",_kwnames,&_argo0,&_obj1))
1189 return NULL;
1190 if (_argo0) {
1191 if (_argo0 == Py_None) { _arg0 = NULL; }
1192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
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 }
1202 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1203 }
1204 {
1205 wxPy_BEGIN_ALLOW_THREADS;
1206 _result = (wxString *)wxToolBarTool_m_shortHelpString_set(_arg0,_arg1);
1207
1208 wxPy_END_ALLOW_THREADS;
1209 }{
1210 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1211 }
1212 {
1213 if (_obj1)
1214 delete _arg1;
1215 }
1216 return _resultobj;
1217 }
1218
1219 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1220 static PyObject *_wrap_wxToolBarTool_m_shortHelpString_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1221 PyObject * _resultobj;
1222 wxString * _result;
1223 wxToolBarTool * _arg0;
1224 PyObject * _argo0 = 0;
1225 char *_kwnames[] = { "self", NULL };
1226
1227 self = self;
1228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_shortHelpString_get",_kwnames,&_argo0))
1229 return NULL;
1230 if (_argo0) {
1231 if (_argo0 == Py_None) { _arg0 = NULL; }
1232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1234 return NULL;
1235 }
1236 }
1237 {
1238 wxPy_BEGIN_ALLOW_THREADS;
1239 _result = (wxString *)wxToolBarTool_m_shortHelpString_get(_arg0);
1240
1241 wxPy_END_ALLOW_THREADS;
1242 }{
1243 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1244 }
1245 return _resultobj;
1246 }
1247
1248 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1249 static PyObject *_wrap_wxToolBarTool_m_longHelpString_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1250 PyObject * _resultobj;
1251 wxString * _result;
1252 wxToolBarTool * _arg0;
1253 wxString * _arg1;
1254 PyObject * _argo0 = 0;
1255 PyObject * _obj1 = 0;
1256 char *_kwnames[] = { "self","m_longHelpString", NULL };
1257
1258 self = self;
1259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_longHelpString_set",_kwnames,&_argo0,&_obj1))
1260 return NULL;
1261 if (_argo0) {
1262 if (_argo0 == Py_None) { _arg0 = NULL; }
1263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
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 }
1273 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1274 }
1275 {
1276 wxPy_BEGIN_ALLOW_THREADS;
1277 _result = (wxString *)wxToolBarTool_m_longHelpString_set(_arg0,_arg1);
1278
1279 wxPy_END_ALLOW_THREADS;
1280 }{
1281 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1282 }
1283 {
1284 if (_obj1)
1285 delete _arg1;
1286 }
1287 return _resultobj;
1288 }
1289
1290 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1291 static PyObject *_wrap_wxToolBarTool_m_longHelpString_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1292 PyObject * _resultobj;
1293 wxString * _result;
1294 wxToolBarTool * _arg0;
1295 PyObject * _argo0 = 0;
1296 char *_kwnames[] = { "self", NULL };
1297
1298 self = self;
1299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_longHelpString_get",_kwnames,&_argo0))
1300 return NULL;
1301 if (_argo0) {
1302 if (_argo0 == Py_None) { _arg0 = NULL; }
1303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1305 return NULL;
1306 }
1307 }
1308 {
1309 wxPy_BEGIN_ALLOW_THREADS;
1310 _result = (wxString *)wxToolBarTool_m_longHelpString_get(_arg0);
1311
1312 wxPy_END_ALLOW_THREADS;
1313 }{
1314 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1315 }
1316 return _resultobj;
1317 }
1318
1319 static void *SwigwxToolBarTowxControl(void *ptr) {
1320 wxToolBar *src;
1321 wxControl *dest;
1322 src = (wxToolBar *) ptr;
1323 dest = (wxControl *) src;
1324 return (void *) dest;
1325 }
1326
1327 static void *SwigwxToolBarTowxWindow(void *ptr) {
1328 wxToolBar *src;
1329 wxWindow *dest;
1330 src = (wxToolBar *) ptr;
1331 dest = (wxWindow *) src;
1332 return (void *) dest;
1333 }
1334
1335 static 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))
1344 static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1345 PyObject * _resultobj;
1346 wxToolBar * _result;
1347 wxWindow * _arg0;
1348 wxWindowID _arg1;
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;
1354 wxPoint temp;
1355 PyObject * _obj2 = 0;
1356 wxSize temp0;
1357 PyObject * _obj3 = 0;
1358 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
1359 char _ptemp[128];
1360
1361 self = self;
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxToolBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
1363 return NULL;
1364 if (_argo0) {
1365 if (_argo0 == Py_None) { _arg0 = NULL; }
1366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1368 return NULL;
1369 }
1370 }
1371 if (_obj2)
1372 {
1373 _arg2 = &temp;
1374 if (! wxPoint_helper(_obj2, &_arg2))
1375 return NULL;
1376 }
1377 if (_obj3)
1378 {
1379 _arg3 = &temp0;
1380 if (! wxSize_helper(_obj3, &_arg3))
1381 return NULL;
1382 }
1383 {
1384 wxPy_BEGIN_ALLOW_THREADS;
1385 _result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1386
1387 wxPy_END_ALLOW_THREADS;
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 }
1395 return _resultobj;
1396 }
1397
1398 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1399 static PyObject *_wrap_wxToolBar_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
1400 PyObject * _resultobj;
1401 wxToolBar * _arg0;
1402 PyObject * _argo0 = 0;
1403 char *_kwnames[] = { "self", NULL };
1404
1405 self = self;
1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_AddSeparator",_kwnames,&_argo0))
1407 return NULL;
1408 if (_argo0) {
1409 if (_argo0 == Py_None) { _arg0 = NULL; }
1410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1412 return NULL;
1413 }
1414 }
1415 {
1416 wxPy_BEGIN_ALLOW_THREADS;
1417 wxToolBar_AddSeparator(_arg0);
1418
1419 wxPy_END_ALLOW_THREADS;
1420 } Py_INCREF(Py_None);
1421 _resultobj = Py_None;
1422 return _resultobj;
1423 }
1424
1425 static 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 }
1430 static PyObject *_wrap_wxToolBar_AddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject * _resultobj;
1432 wxToolBarTool * _result;
1433 wxToolBar * _arg0;
1434 int _arg1;
1435 wxBitmap * _arg2;
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;
1445 PyObject * _obj7 = 0;
1446 PyObject * _obj8 = 0;
1447 char *_kwnames[] = { "self","toolIndex","bitmap1","bitmap2","isToggle","xPos","yPos","shortHelpString","longHelpString", NULL };
1448 char _ptemp[128];
1449
1450 self = self;
1451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OillOO:wxToolBar_AddTool",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5,&_arg6,&_obj7,&_obj8))
1452 return NULL;
1453 if (_argo0) {
1454 if (_argo0 == Py_None) { _arg0 = NULL; }
1455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1457 return NULL;
1458 }
1459 }
1460 if (_argo2) {
1461 if (_argo2 == Py_None) { _arg2 = NULL; }
1462 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
1463 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1464 return NULL;
1465 }
1466 }
1467 if (_argo3) {
1468 if (_argo3 == Py_None) { _arg3 = NULL; }
1469 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
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 }
1480 _arg7 = new wxString(PyString_AsString(_obj7), PyString_Size(_obj7));
1481 }
1482 if (_obj8)
1483 {
1484 if (!PyString_Check(_obj8)) {
1485 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1486 return NULL;
1487 }
1488 _arg8 = new wxString(PyString_AsString(_obj8), PyString_Size(_obj8));
1489 }
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;
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 }
1502 {
1503 if (_obj7)
1504 delete _arg7;
1505 }
1506 {
1507 if (_obj8)
1508 delete _arg8;
1509 }
1510 return _resultobj;
1511 }
1512
1513 static 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 }
1518 static PyObject *_wrap_wxToolBar_AddSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1519 PyObject * _resultobj;
1520 wxToolBarTool * _result;
1521 wxToolBar * _arg0;
1522 int _arg1;
1523 wxBitmap * _arg2;
1524 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
1525 wxString * _arg4 = (wxString *) &wxPyEmptyStr;
1526 PyObject * _argo0 = 0;
1527 PyObject * _argo2 = 0;
1528 PyObject * _obj3 = 0;
1529 PyObject * _obj4 = 0;
1530 char *_kwnames[] = { "self","toolIndex","bitmap","shortHelpString","longHelpString", NULL };
1531 char _ptemp[128];
1532
1533 self = self;
1534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OO:wxToolBar_AddSimpleTool",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4))
1535 return NULL;
1536 if (_argo0) {
1537 if (_argo0 == Py_None) { _arg0 = NULL; }
1538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1540 return NULL;
1541 }
1542 }
1543 if (_argo2) {
1544 if (_argo2 == Py_None) { _arg2 = NULL; }
1545 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
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 }
1556 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
1557 }
1558 if (_obj4)
1559 {
1560 if (!PyString_Check(_obj4)) {
1561 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1562 return NULL;
1563 }
1564 _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4));
1565 }
1566 {
1567 wxPy_BEGIN_ALLOW_THREADS;
1568 _result = (wxToolBarTool *)wxToolBar_AddSimpleTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4);
1569
1570 wxPy_END_ALLOW_THREADS;
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 }
1578 {
1579 if (_obj3)
1580 delete _arg3;
1581 }
1582 {
1583 if (_obj4)
1584 delete _arg4;
1585 }
1586 return _resultobj;
1587 }
1588
1589 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1590 static PyObject *_wrap_wxToolBar_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject * _resultobj;
1592 wxToolBar * _arg0;
1593 int _arg1;
1594 bool _arg2;
1595 PyObject * _argo0 = 0;
1596 int tempbool2;
1597 char *_kwnames[] = { "self","toolIndex","enable", NULL };
1598
1599 self = self;
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBar_EnableTool",_kwnames,&_argo0,&_arg1,&tempbool2))
1601 return NULL;
1602 if (_argo0) {
1603 if (_argo0 == Py_None) { _arg0 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
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;
1610 {
1611 wxPy_BEGIN_ALLOW_THREADS;
1612 wxToolBar_EnableTool(_arg0,_arg1,_arg2);
1613
1614 wxPy_END_ALLOW_THREADS;
1615 } Py_INCREF(Py_None);
1616 _resultobj = Py_None;
1617 return _resultobj;
1618 }
1619
1620 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
1621 static PyObject *_wrap_wxToolBar_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1622 PyObject * _resultobj;
1623 bool _result;
1624 wxToolBar * _arg0;
1625 int _arg1;
1626 PyObject * _argo0 = 0;
1627 char *_kwnames[] = { "self","toolIndex", NULL };
1628
1629 self = self;
1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolEnabled",_kwnames,&_argo0,&_arg1))
1631 return NULL;
1632 if (_argo0) {
1633 if (_argo0 == Py_None) { _arg0 = NULL; }
1634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
1636 return NULL;
1637 }
1638 }
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);
1645 return _resultobj;
1646 }
1647
1648 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
1649 static PyObject *_wrap_wxToolBar_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
1650 PyObject * _resultobj;
1651 wxString * _result;
1652 wxToolBar * _arg0;
1653 int _arg1;
1654 PyObject * _argo0 = 0;
1655 char *_kwnames[] = { "self","toolIndex", NULL };
1656
1657 self = self;
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolLongHelp",_kwnames,&_argo0,&_arg1))
1659 return NULL;
1660 if (_argo0) {
1661 if (_argo0 == Py_None) { _arg0 = NULL; }
1662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
1664 return NULL;
1665 }
1666 }
1667 {
1668 wxPy_BEGIN_ALLOW_THREADS;
1669 _result = new wxString (wxToolBar_GetToolLongHelp(_arg0,_arg1));
1670
1671 wxPy_END_ALLOW_THREADS;
1672 }{
1673 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1674 }
1675 {
1676 delete _result;
1677 }
1678 return _resultobj;
1679 }
1680
1681 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
1682 static PyObject *_wrap_wxToolBar_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject * _resultobj;
1684 int _result;
1685 wxToolBar * _arg0;
1686 PyObject * _argo0 = 0;
1687 char *_kwnames[] = { "self", NULL };
1688
1689 self = self;
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolPacking",_kwnames,&_argo0))
1691 return NULL;
1692 if (_argo0) {
1693 if (_argo0 == Py_None) { _arg0 = NULL; }
1694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
1696 return NULL;
1697 }
1698 }
1699 {
1700 wxPy_BEGIN_ALLOW_THREADS;
1701 _result = (int )wxToolBar_GetToolPacking(_arg0);
1702
1703 wxPy_END_ALLOW_THREADS;
1704 } _resultobj = Py_BuildValue("i",_result);
1705 return _resultobj;
1706 }
1707
1708 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
1709 static PyObject *_wrap_wxToolBar_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
1710 PyObject * _resultobj;
1711 int _result;
1712 wxToolBar * _arg0;
1713 PyObject * _argo0 = 0;
1714 char *_kwnames[] = { "self", NULL };
1715
1716 self = self;
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolSeparation",_kwnames,&_argo0))
1718 return NULL;
1719 if (_argo0) {
1720 if (_argo0 == Py_None) { _arg0 = NULL; }
1721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
1723 return NULL;
1724 }
1725 }
1726 {
1727 wxPy_BEGIN_ALLOW_THREADS;
1728 _result = (int )wxToolBar_GetToolSeparation(_arg0);
1729
1730 wxPy_END_ALLOW_THREADS;
1731 } _resultobj = Py_BuildValue("i",_result);
1732 return _resultobj;
1733 }
1734
1735 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
1736 static PyObject *_wrap_wxToolBar_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject * _resultobj;
1738 wxString * _result;
1739 wxToolBar * _arg0;
1740 int _arg1;
1741 PyObject * _argo0 = 0;
1742 char *_kwnames[] = { "self","toolIndex", NULL };
1743
1744 self = self;
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolShortHelp",_kwnames,&_argo0,&_arg1))
1746 return NULL;
1747 if (_argo0) {
1748 if (_argo0 == Py_None) { _arg0 = NULL; }
1749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
1751 return NULL;
1752 }
1753 }
1754 {
1755 wxPy_BEGIN_ALLOW_THREADS;
1756 _result = new wxString (wxToolBar_GetToolShortHelp(_arg0,_arg1));
1757
1758 wxPy_END_ALLOW_THREADS;
1759 }{
1760 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1761 }
1762 {
1763 delete _result;
1764 }
1765 return _resultobj;
1766 }
1767
1768 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
1769 static PyObject *_wrap_wxToolBar_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
1770 PyObject * _resultobj;
1771 bool _result;
1772 wxToolBar * _arg0;
1773 int _arg1;
1774 PyObject * _argo0 = 0;
1775 char *_kwnames[] = { "self","toolIndex", NULL };
1776
1777 self = self;
1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolState",_kwnames,&_argo0,&_arg1))
1779 return NULL;
1780 if (_argo0) {
1781 if (_argo0 == Py_None) { _arg0 = NULL; }
1782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
1784 return NULL;
1785 }
1786 }
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);
1793 return _resultobj;
1794 }
1795
1796 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
1797 static PyObject *_wrap_wxToolBar_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject * _resultobj;
1799 bool _result;
1800 wxToolBar * _arg0;
1801 PyObject * _argo0 = 0;
1802 char *_kwnames[] = { "self", NULL };
1803
1804 self = self;
1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_Realize",_kwnames,&_argo0))
1806 return NULL;
1807 if (_argo0) {
1808 if (_argo0 == Py_None) { _arg0 = NULL; }
1809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
1811 return NULL;
1812 }
1813 }
1814 {
1815 wxPy_BEGIN_ALLOW_THREADS;
1816 _result = (bool )wxToolBar_Realize(_arg0);
1817
1818 wxPy_END_ALLOW_THREADS;
1819 } _resultobj = Py_BuildValue("i",_result);
1820 return _resultobj;
1821 }
1822
1823 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
1824 static PyObject *_wrap_wxToolBar_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
1825 PyObject * _resultobj;
1826 wxToolBar * _arg0;
1827 int _arg1;
1828 wxString * _arg2;
1829 PyObject * _argo0 = 0;
1830 PyObject * _obj2 = 0;
1831 char *_kwnames[] = { "self","toolIndex","helpString", NULL };
1832
1833 self = self;
1834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBar_SetToolLongHelp",_kwnames,&_argo0,&_arg1,&_obj2))
1835 return NULL;
1836 if (_argo0) {
1837 if (_argo0 == Py_None) { _arg0 = NULL; }
1838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
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 }
1848 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1849 }
1850 {
1851 wxPy_BEGIN_ALLOW_THREADS;
1852 wxToolBar_SetToolLongHelp(_arg0,_arg1,*_arg2);
1853
1854 wxPy_END_ALLOW_THREADS;
1855 } Py_INCREF(Py_None);
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))
1865 static PyObject *_wrap_wxToolBar_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject * _resultobj;
1867 wxToolBar * _arg0;
1868 int _arg1;
1869 wxString * _arg2;
1870 PyObject * _argo0 = 0;
1871 PyObject * _obj2 = 0;
1872 char *_kwnames[] = { "self","toolIndex","helpString", NULL };
1873
1874 self = self;
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBar_SetToolShortHelp",_kwnames,&_argo0,&_arg1,&_obj2))
1876 return NULL;
1877 if (_argo0) {
1878 if (_argo0 == Py_None) { _arg0 = NULL; }
1879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
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 }
1889 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
1890 }
1891 {
1892 wxPy_BEGIN_ALLOW_THREADS;
1893 wxToolBar_SetToolShortHelp(_arg0,_arg1,*_arg2);
1894
1895 wxPy_END_ALLOW_THREADS;
1896 } Py_INCREF(Py_None);
1897 _resultobj = Py_None;
1898 {
1899 if (_obj2)
1900 delete _arg2;
1901 }
1902 return _resultobj;
1903 }
1904
1905 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
1906 static PyObject *_wrap_wxToolBar_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject * _resultobj;
1908 wxToolBar * _arg0;
1909 wxSize * _arg1;
1910 PyObject * _argo0 = 0;
1911 wxSize temp;
1912 PyObject * _obj1 = 0;
1913 char *_kwnames[] = { "self","size", NULL };
1914
1915 self = self;
1916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBar_SetMargins",_kwnames,&_argo0,&_obj1))
1917 return NULL;
1918 if (_argo0) {
1919 if (_argo0 == Py_None) { _arg0 = NULL; }
1920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
1922 return NULL;
1923 }
1924 }
1925 {
1926 _arg1 = &temp;
1927 if (! wxSize_helper(_obj1, &_arg1))
1928 return NULL;
1929 }
1930 {
1931 wxPy_BEGIN_ALLOW_THREADS;
1932 wxToolBar_SetMargins(_arg0,*_arg1);
1933
1934 wxPy_END_ALLOW_THREADS;
1935 } Py_INCREF(Py_None);
1936 _resultobj = Py_None;
1937 return _resultobj;
1938 }
1939
1940 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
1941 static PyObject *_wrap_wxToolBar_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
1942 PyObject * _resultobj;
1943 wxToolBar * _arg0;
1944 int _arg1;
1945 PyObject * _argo0 = 0;
1946 char *_kwnames[] = { "self","packing", NULL };
1947
1948 self = self;
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_SetToolPacking",_kwnames,&_argo0,&_arg1))
1950 return NULL;
1951 if (_argo0) {
1952 if (_argo0 == Py_None) { _arg0 = NULL; }
1953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
1955 return NULL;
1956 }
1957 }
1958 {
1959 wxPy_BEGIN_ALLOW_THREADS;
1960 wxToolBar_SetToolPacking(_arg0,_arg1);
1961
1962 wxPy_END_ALLOW_THREADS;
1963 } Py_INCREF(Py_None);
1964 _resultobj = Py_None;
1965 return _resultobj;
1966 }
1967
1968 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
1969 static PyObject *_wrap_wxToolBar_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
1970 PyObject * _resultobj;
1971 wxToolBar * _arg0;
1972 int _arg1;
1973 PyObject * _argo0 = 0;
1974 char *_kwnames[] = { "self","separation", NULL };
1975
1976 self = self;
1977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_SetToolSeparation",_kwnames,&_argo0,&_arg1))
1978 return NULL;
1979 if (_argo0) {
1980 if (_argo0 == Py_None) { _arg0 = NULL; }
1981 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1982 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
1983 return NULL;
1984 }
1985 }
1986 {
1987 wxPy_BEGIN_ALLOW_THREADS;
1988 wxToolBar_SetToolSeparation(_arg0,_arg1);
1989
1990 wxPy_END_ALLOW_THREADS;
1991 } Py_INCREF(Py_None);
1992 _resultobj = Py_None;
1993 return _resultobj;
1994 }
1995
1996 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
1997 static PyObject *_wrap_wxToolBar_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1998 PyObject * _resultobj;
1999 wxToolBar * _arg0;
2000 int _arg1;
2001 bool _arg2;
2002 PyObject * _argo0 = 0;
2003 int tempbool2;
2004 char *_kwnames[] = { "self","toolIndex","toggle", NULL };
2005
2006 self = self;
2007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBar_ToggleTool",_kwnames,&_argo0,&_arg1,&tempbool2))
2008 return NULL;
2009 if (_argo0) {
2010 if (_argo0 == Py_None) { _arg0 = NULL; }
2011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
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;
2017 {
2018 wxPy_BEGIN_ALLOW_THREADS;
2019 wxToolBar_ToggleTool(_arg0,_arg1,_arg2);
2020
2021 wxPy_END_ALLOW_THREADS;
2022 } Py_INCREF(Py_None);
2023 _resultobj = Py_None;
2024 return _resultobj;
2025 }
2026
2027 static PyMethodDef stattoolcMethods[] = {
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 },
2082 { NULL, NULL }
2083 };
2084 #ifdef __cplusplus
2085 }
2086 #endif
2087 /*
2088 * This table is used by the pointer type-checker
2089 */
2090 static 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},
2096 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
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 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2139 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2140 { "_class_wxMenuItem","_wxMenuItem",0},
2141 { "_class_wxPaintEvent","_wxPaintEvent",0},
2142 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2143 { "_class_wxStatusBar","_wxStatusBar",0},
2144 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2145 { "_wxPanel","_class_wxPanel",0},
2146 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2147 { "_wxCheckBox","_class_wxCheckBox",0},
2148 { "_wxPyEvent","_class_wxPyEvent",0},
2149 { "_wxTextCtrl","_class_wxTextCtrl",0},
2150 { "_class_wxMask","_wxMask",0},
2151 { "_class_wxKeyEvent","_wxKeyEvent",0},
2152 { "_wxColour","_class_wxColour",0},
2153 { "_class_wxDialog","_wxDialog",0},
2154 { "_wxIdleEvent","_class_wxIdleEvent",0},
2155 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2156 { "_wxToolBar","_class_wxToolBar",0},
2157 { "_wxStaticLine","_class_wxStaticLine",0},
2158 { "_wxBrush","_class_wxBrush",0},
2159 { "_wxShowEvent","_class_wxShowEvent",0},
2160 { "_uint","_wxPrintQuality",0},
2161 { "_uint","_size_t",0},
2162 { "_uint","_unsigned_int",0},
2163 { "_uint","_int",0},
2164 { "_uint","_wxWindowID",0},
2165 { "_wxPyValidator","_class_wxPyValidator",0},
2166 { "_class_wxEvent","_wxEvent",0},
2167 { "_wxCheckListBox","_class_wxCheckListBox",0},
2168 { "_wxRect","_class_wxRect",0},
2169 { "_wxCommandEvent","_class_wxCommandEvent",0},
2170 { "_wxSizeEvent","_class_wxSizeEvent",0},
2171 { "_wxPoint","_class_wxPoint",0},
2172 { "_class_wxButton","_wxButton",0},
2173 { "_wxRadioBox","_class_wxRadioBox",0},
2174 { "_wxBitmap","_class_wxBitmap",0},
2175 { "_wxPyTimer","_class_wxPyTimer",0},
2176 { "_wxWindowDC","_class_wxWindowDC",0},
2177 { "_wxScrollBar","_class_wxScrollBar",0},
2178 { "_wxSpinButton","_class_wxSpinButton",0},
2179 { "_wxToolBarTool","_class_wxToolBarTool",0},
2180 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2181 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2182 { "_class_wxValidator","_wxValidator",0},
2183 { "_class_wxPyEvent","_wxPyEvent",0},
2184 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2185 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2186 { "_class_wxToolBar","_wxToolBar",0},
2187 { "_class_wxStaticLine","_wxStaticLine",0},
2188 { "_wxScrollEvent","_class_wxScrollEvent",0},
2189 { "_EBool","_wxPrintQuality",0},
2190 { "_EBool","_signed_int",0},
2191 { "_EBool","_int",0},
2192 { "_EBool","_wxWindowID",0},
2193 { "_class_wxRegion","_wxRegion",0},
2194 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2195 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2196 { "_wxStaticText","_class_wxStaticText",0},
2197 { "_wxFont","_class_wxFont",0},
2198 { "_wxCloseEvent","_class_wxCloseEvent",0},
2199 { "_unsigned_long","_wxDash",0},
2200 { "_unsigned_long","_long",0},
2201 { "_class_wxRect","_wxRect",0},
2202 { "_class_wxDC","_wxDC",0},
2203 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2204 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2205 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2206 { "_class_wxPyTimer","_wxPyTimer",0},
2207 { "_wxFocusEvent","_class_wxFocusEvent",0},
2208 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2209 { "_class_wxSpinButton","_wxSpinButton",0},
2210 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2211 { "_class_wxPanel","_wxPanel",0},
2212 { "_class_wxCheckBox","_wxCheckBox",0},
2213 { "_wxComboBox","_class_wxComboBox",0},
2214 { "_wxRadioButton","_class_wxRadioButton",0},
2215 { "_signed_int","_wxPrintQuality",0},
2216 { "_signed_int","_EBool",0},
2217 { "_signed_int","_wxWindowID",0},
2218 { "_signed_int","_int",0},
2219 { "_class_wxTextCtrl","_wxTextCtrl",0},
2220 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2221 { "_wxMenu","_class_wxMenu",0},
2222 { "_class_wxMoveEvent","_wxMoveEvent",0},
2223 { "_wxListBox","_class_wxListBox",0},
2224 { "_wxScreenDC","_class_wxScreenDC",0},
2225 { "_WXTYPE","_short",0},
2226 { "_WXTYPE","_signed_short",0},
2227 { "_WXTYPE","_unsigned_short",0},
2228 { "_class_wxBrush","_wxBrush",0},
2229 { "_unsigned_short","_WXTYPE",0},
2230 { "_unsigned_short","_short",0},
2231 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow},
2232 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow},
2233 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow},
2234 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow},
2235 { "_class_wxWindow","_wxWindow",0},
2236 { "_class_wxStaticText","_wxStaticText",0},
2237 { "_class_wxFont","_wxFont",0},
2238 { "_class_wxPyValidator","_wxPyValidator",0},
2239 { "_class_wxCloseEvent","_wxCloseEvent",0},
2240 { "_class_wxMenuEvent","_wxMenuEvent",0},
2241 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2242 { "_wxClientDC","_class_wxClientDC",0},
2243 { "_wxMouseEvent","_class_wxMouseEvent",0},
2244 { "_class_wxPoint","_wxPoint",0},
2245 { "_wxRealPoint","_class_wxRealPoint",0},
2246 { "_class_wxRadioBox","_wxRadioBox",0},
2247 { "_signed_short","_WXTYPE",0},
2248 { "_signed_short","_short",0},
2249 { "_wxMemoryDC","_class_wxMemoryDC",0},
2250 { "_wxPaintDC","_class_wxPaintDC",0},
2251 { "_class_wxWindowDC","_wxWindowDC",0},
2252 { "_class_wxFocusEvent","_wxFocusEvent",0},
2253 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2254 { "_wxStatusBar","_class_wxStatusBar",0},
2255 { "_class_wxToolBarTool","_wxToolBarTool",0},
2256 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2257 { "_class_wxCursor","_wxCursor",0},
2258 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2259 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2260 { "_unsigned_char","_byte",0},
2261 { "_class_wxMenu","_wxMenu",0},
2262 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl},
2263 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl},
2264 { "_wxControl","_class_wxControl",0},
2265 { "_class_wxListBox","_wxListBox",0},
2266 { "_unsigned_int","_wxPrintQuality",0},
2267 { "_unsigned_int","_size_t",0},
2268 { "_unsigned_int","_uint",0},
2269 { "_unsigned_int","_wxWindowID",0},
2270 { "_unsigned_int","_int",0},
2271 { "_wxIcon","_class_wxIcon",0},
2272 { "_wxDialog","_class_wxDialog",0},
2273 { "_class_wxPen","_wxPen",0},
2274 { "_short","_WXTYPE",0},
2275 { "_short","_unsigned_short",0},
2276 { "_short","_signed_short",0},
2277 { "_class_wxStaticBox","_wxStaticBox",0},
2278 { "_class_wxScrollEvent","_wxScrollEvent",0},
2279 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2280 { "_class_wxChoice","_wxChoice",0},
2281 { "_class_wxSlider","_wxSlider",0},
2282 { "_class_wxImageList","_wxImageList",0},
2283 { "_class_wxBitmapButton","_wxBitmapButton",0},
2284 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2285 { "_wxWindowID","_wxPrintQuality",0},
2286 { "_wxWindowID","_size_t",0},
2287 { "_wxWindowID","_EBool",0},
2288 { "_wxWindowID","_uint",0},
2289 { "_wxWindowID","_int",0},
2290 { "_wxWindowID","_signed_int",0},
2291 { "_wxWindowID","_unsigned_int",0},
2292 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2293 { "_int","_wxPrintQuality",0},
2294 { "_int","_size_t",0},
2295 { "_int","_EBool",0},
2296 { "_int","_uint",0},
2297 { "_int","_wxWindowID",0},
2298 { "_int","_unsigned_int",0},
2299 { "_int","_signed_int",0},
2300 { "_class_wxMouseEvent","_wxMouseEvent",0},
2301 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2302 { "_class_wxSpinEvent","_wxSpinEvent",0},
2303 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2304 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2305 { "_wxButton","_class_wxButton",0},
2306 { "_wxSize","_class_wxSize",0},
2307 { "_wxRegionIterator","_class_wxRegionIterator",0},
2308 { "_class_wxPaintDC","_wxPaintDC",0},
2309 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2310 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2311 { "_class_wxComboBox","_wxComboBox",0},
2312 { "_class_wxRadioButton","_wxRadioButton",0},
2313 { "_wxValidator","_class_wxValidator",0},
2314 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2315 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2316 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl},
2317 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl},
2318 { "_class_wxControl","_wxControl",0},
2319 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2320 { "_class_wxIcon","_wxIcon",0},
2321 { "_class_wxColour","_wxColour",0},
2322 { "_class_wxScreenDC","_wxScreenDC",0},
2323 { "_wxPalette","_class_wxPalette",0},
2324 { "_class_wxIdleEvent","_wxIdleEvent",0},
2325 { "_wxEraseEvent","_class_wxEraseEvent",0},
2326 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2327 { "_wxRegion","_class_wxRegion",0},
2328 { "_class_wxShowEvent","_wxShowEvent",0},
2329 { "_wxActivateEvent","_class_wxActivateEvent",0},
2330 { "_wxGauge","_class_wxGauge",0},
2331 { "_class_wxCheckListBox","_wxCheckListBox",0},
2332 { "_class_wxCommandEvent","_wxCommandEvent",0},
2333 { "_class_wxClientDC","_wxClientDC",0},
2334 { "_class_wxSizeEvent","_wxSizeEvent",0},
2335 { "_class_wxSize","_wxSize",0},
2336 { "_class_wxBitmap","_wxBitmap",0},
2337 { "_class_wxMemoryDC","_wxMemoryDC",0},
2338 { "_wxMenuBar","_class_wxMenuBar",0},
2339 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler},
2340 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler},
2341 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
2342 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
2343 { "_wxEvtHandler","_class_wxEvtHandler",0},
2344 { "_wxMenuItem","_class_wxMenuItem",0},
2345 { "_class_wxScrollBar","_wxScrollBar",0},
2346 { "_wxDash","_unsigned_long",0},
2347 { "_wxDash","_long",0},
2348 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2349 { "_wxKeyEvent","_class_wxKeyEvent",0},
2350 { "_wxMoveEvent","_class_wxMoveEvent",0},
2351 { "_class_wxPalette","_wxPalette",0},
2352 { "_class_wxEraseEvent","_wxEraseEvent",0},
2353 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow},
2354 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow},
2355 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow},
2356 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow},
2357 { "_wxWindow","_class_wxWindow",0},
2358 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2359 {0,0,0}};
2360
2361 static PyObject *SWIG_globals;
2362 #ifdef __cplusplus
2363 extern "C"
2364 #endif
2365 SWIGEXPORT(void) initstattoolc() {
2366 PyObject *m, *d;
2367 SWIG_globals = SWIG_newvarlink();
2368 m = Py_InitModule("stattoolc", stattoolcMethods);
2369 d = PyModule_GetDict(m);
2370 {
2371 int i;
2372 for (i = 0; _swig_mapping[i].n1; i++)
2373 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2374 }
2375 }