]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/stattool.cpp
updated generated sources
[wxWidgets.git] / utils / wxPython / src / msw / stattool.cpp
1 /*
2 * FILE : msw/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_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
552 static PyObject *_wrap_wxToolBarTool_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
553 PyObject * _resultobj;
554 wxToolBarTool * _arg0;
555 long _arg1;
556 long _arg2;
557 PyObject * _argo0 = 0;
558 char *_kwnames[] = { "self","w","h", NULL };
559
560 self = self;
561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxToolBarTool_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
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_SetSize. Expected _wxToolBarTool_p.");
567 return NULL;
568 }
569 }
570 {
571 wxPy_BEGIN_ALLOW_THREADS;
572 wxToolBarTool_SetSize(_arg0,_arg1,_arg2);
573
574 wxPy_END_ALLOW_THREADS;
575 } Py_INCREF(Py_None);
576 _resultobj = Py_None;
577 return _resultobj;
578 }
579
580 #define wxToolBarTool_GetWidth(_swigobj) (_swigobj->GetWidth())
581 static PyObject *_wrap_wxToolBarTool_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
582 PyObject * _resultobj;
583 long _result;
584 wxToolBarTool * _arg0;
585 PyObject * _argo0 = 0;
586 char *_kwnames[] = { "self", NULL };
587
588 self = self;
589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_GetWidth",_kwnames,&_argo0))
590 return NULL;
591 if (_argo0) {
592 if (_argo0 == Py_None) { _arg0 = NULL; }
593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_GetWidth. Expected _wxToolBarTool_p.");
595 return NULL;
596 }
597 }
598 {
599 wxPy_BEGIN_ALLOW_THREADS;
600 _result = (long )wxToolBarTool_GetWidth(_arg0);
601
602 wxPy_END_ALLOW_THREADS;
603 } _resultobj = Py_BuildValue("l",_result);
604 return _resultobj;
605 }
606
607 #define wxToolBarTool_GetHeight(_swigobj) (_swigobj->GetHeight())
608 static PyObject *_wrap_wxToolBarTool_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
609 PyObject * _resultobj;
610 long _result;
611 wxToolBarTool * _arg0;
612 PyObject * _argo0 = 0;
613 char *_kwnames[] = { "self", NULL };
614
615 self = self;
616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_GetHeight",_kwnames,&_argo0))
617 return NULL;
618 if (_argo0) {
619 if (_argo0 == Py_None) { _arg0 = NULL; }
620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_GetHeight. Expected _wxToolBarTool_p.");
622 return NULL;
623 }
624 }
625 {
626 wxPy_BEGIN_ALLOW_THREADS;
627 _result = (long )wxToolBarTool_GetHeight(_arg0);
628
629 wxPy_END_ALLOW_THREADS;
630 } _resultobj = Py_BuildValue("l",_result);
631 return _resultobj;
632 }
633
634 #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
635 static PyObject *_wrap_wxToolBarTool_m_toolStyle_set(PyObject *self, PyObject *args, PyObject *kwargs) {
636 PyObject * _resultobj;
637 int _result;
638 wxToolBarTool * _arg0;
639 int _arg1;
640 PyObject * _argo0 = 0;
641 char *_kwnames[] = { "self","m_toolStyle", NULL };
642
643 self = self;
644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_toolStyle_set",_kwnames,&_argo0,&_arg1))
645 return NULL;
646 if (_argo0) {
647 if (_argo0 == Py_None) { _arg0 = NULL; }
648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
650 return NULL;
651 }
652 }
653 {
654 wxPy_BEGIN_ALLOW_THREADS;
655 _result = (int )wxToolBarTool_m_toolStyle_set(_arg0,_arg1);
656
657 wxPy_END_ALLOW_THREADS;
658 } _resultobj = Py_BuildValue("i",_result);
659 return _resultobj;
660 }
661
662 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
663 static PyObject *_wrap_wxToolBarTool_m_toolStyle_get(PyObject *self, PyObject *args, PyObject *kwargs) {
664 PyObject * _resultobj;
665 int _result;
666 wxToolBarTool * _arg0;
667 PyObject * _argo0 = 0;
668 char *_kwnames[] = { "self", NULL };
669
670 self = self;
671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_toolStyle_get",_kwnames,&_argo0))
672 return NULL;
673 if (_argo0) {
674 if (_argo0 == Py_None) { _arg0 = NULL; }
675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
677 return NULL;
678 }
679 }
680 {
681 wxPy_BEGIN_ALLOW_THREADS;
682 _result = (int )wxToolBarTool_m_toolStyle_get(_arg0);
683
684 wxPy_END_ALLOW_THREADS;
685 } _resultobj = Py_BuildValue("i",_result);
686 return _resultobj;
687 }
688
689 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
690 static PyObject *_wrap_wxToolBarTool_m_clientData_set(PyObject *self, PyObject *args, PyObject *kwargs) {
691 PyObject * _resultobj;
692 wxObject * _result;
693 wxToolBarTool * _arg0;
694 wxObject * _arg1;
695 PyObject * _argo0 = 0;
696 PyObject * _argo1 = 0;
697 char *_kwnames[] = { "self","m_clientData", NULL };
698 char _ptemp[128];
699
700 self = self;
701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_clientData_set",_kwnames,&_argo0,&_argo1))
702 return NULL;
703 if (_argo0) {
704 if (_argo0 == Py_None) { _arg0 = NULL; }
705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
707 return NULL;
708 }
709 }
710 if (_argo1) {
711 if (_argo1 == Py_None) { _arg1 = NULL; }
712 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) {
713 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
714 return NULL;
715 }
716 }
717 {
718 wxPy_BEGIN_ALLOW_THREADS;
719 _result = (wxObject *)wxToolBarTool_m_clientData_set(_arg0,_arg1);
720
721 wxPy_END_ALLOW_THREADS;
722 } if (_result) {
723 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
724 _resultobj = Py_BuildValue("s",_ptemp);
725 } else {
726 Py_INCREF(Py_None);
727 _resultobj = Py_None;
728 }
729 return _resultobj;
730 }
731
732 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
733 static PyObject *_wrap_wxToolBarTool_m_clientData_get(PyObject *self, PyObject *args, PyObject *kwargs) {
734 PyObject * _resultobj;
735 wxObject * _result;
736 wxToolBarTool * _arg0;
737 PyObject * _argo0 = 0;
738 char *_kwnames[] = { "self", NULL };
739 char _ptemp[128];
740
741 self = self;
742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_clientData_get",_kwnames,&_argo0))
743 return NULL;
744 if (_argo0) {
745 if (_argo0 == Py_None) { _arg0 = NULL; }
746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
748 return NULL;
749 }
750 }
751 {
752 wxPy_BEGIN_ALLOW_THREADS;
753 _result = (wxObject *)wxToolBarTool_m_clientData_get(_arg0);
754
755 wxPy_END_ALLOW_THREADS;
756 } if (_result) {
757 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
758 _resultobj = Py_BuildValue("s",_ptemp);
759 } else {
760 Py_INCREF(Py_None);
761 _resultobj = Py_None;
762 }
763 return _resultobj;
764 }
765
766 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
767 static PyObject *_wrap_wxToolBarTool_m_index_set(PyObject *self, PyObject *args, PyObject *kwargs) {
768 PyObject * _resultobj;
769 int _result;
770 wxToolBarTool * _arg0;
771 int _arg1;
772 PyObject * _argo0 = 0;
773 char *_kwnames[] = { "self","m_index", NULL };
774
775 self = self;
776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_index_set",_kwnames,&_argo0,&_arg1))
777 return NULL;
778 if (_argo0) {
779 if (_argo0 == Py_None) { _arg0 = NULL; }
780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
782 return NULL;
783 }
784 }
785 {
786 wxPy_BEGIN_ALLOW_THREADS;
787 _result = (int )wxToolBarTool_m_index_set(_arg0,_arg1);
788
789 wxPy_END_ALLOW_THREADS;
790 } _resultobj = Py_BuildValue("i",_result);
791 return _resultobj;
792 }
793
794 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
795 static PyObject *_wrap_wxToolBarTool_m_index_get(PyObject *self, PyObject *args, PyObject *kwargs) {
796 PyObject * _resultobj;
797 int _result;
798 wxToolBarTool * _arg0;
799 PyObject * _argo0 = 0;
800 char *_kwnames[] = { "self", NULL };
801
802 self = self;
803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_index_get",_kwnames,&_argo0))
804 return NULL;
805 if (_argo0) {
806 if (_argo0 == Py_None) { _arg0 = NULL; }
807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
809 return NULL;
810 }
811 }
812 {
813 wxPy_BEGIN_ALLOW_THREADS;
814 _result = (int )wxToolBarTool_m_index_get(_arg0);
815
816 wxPy_END_ALLOW_THREADS;
817 } _resultobj = Py_BuildValue("i",_result);
818 return _resultobj;
819 }
820
821 #define wxToolBarTool_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
822 static PyObject *_wrap_wxToolBarTool_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
823 PyObject * _resultobj;
824 long _result;
825 wxToolBarTool * _arg0;
826 long _arg1;
827 PyObject * _argo0 = 0;
828 char *_kwnames[] = { "self","m_x", NULL };
829
830 self = self;
831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxToolBarTool_m_x_set",_kwnames,&_argo0,&_arg1))
832 return NULL;
833 if (_argo0) {
834 if (_argo0 == Py_None) { _arg0 = NULL; }
835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_x_set. Expected _wxToolBarTool_p.");
837 return NULL;
838 }
839 }
840 {
841 wxPy_BEGIN_ALLOW_THREADS;
842 _result = (long )wxToolBarTool_m_x_set(_arg0,_arg1);
843
844 wxPy_END_ALLOW_THREADS;
845 } _resultobj = Py_BuildValue("l",_result);
846 return _resultobj;
847 }
848
849 #define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x)
850 static PyObject *_wrap_wxToolBarTool_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
851 PyObject * _resultobj;
852 long _result;
853 wxToolBarTool * _arg0;
854 PyObject * _argo0 = 0;
855 char *_kwnames[] = { "self", NULL };
856
857 self = self;
858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_x_get",_kwnames,&_argo0))
859 return NULL;
860 if (_argo0) {
861 if (_argo0 == Py_None) { _arg0 = NULL; }
862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_x_get. Expected _wxToolBarTool_p.");
864 return NULL;
865 }
866 }
867 {
868 wxPy_BEGIN_ALLOW_THREADS;
869 _result = (long )wxToolBarTool_m_x_get(_arg0);
870
871 wxPy_END_ALLOW_THREADS;
872 } _resultobj = Py_BuildValue("l",_result);
873 return _resultobj;
874 }
875
876 #define wxToolBarTool_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
877 static PyObject *_wrap_wxToolBarTool_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
878 PyObject * _resultobj;
879 long _result;
880 wxToolBarTool * _arg0;
881 long _arg1;
882 PyObject * _argo0 = 0;
883 char *_kwnames[] = { "self","m_y", NULL };
884
885 self = self;
886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxToolBarTool_m_y_set",_kwnames,&_argo0,&_arg1))
887 return NULL;
888 if (_argo0) {
889 if (_argo0 == Py_None) { _arg0 = NULL; }
890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_y_set. Expected _wxToolBarTool_p.");
892 return NULL;
893 }
894 }
895 {
896 wxPy_BEGIN_ALLOW_THREADS;
897 _result = (long )wxToolBarTool_m_y_set(_arg0,_arg1);
898
899 wxPy_END_ALLOW_THREADS;
900 } _resultobj = Py_BuildValue("l",_result);
901 return _resultobj;
902 }
903
904 #define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y)
905 static PyObject *_wrap_wxToolBarTool_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
906 PyObject * _resultobj;
907 long _result;
908 wxToolBarTool * _arg0;
909 PyObject * _argo0 = 0;
910 char *_kwnames[] = { "self", NULL };
911
912 self = self;
913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_y_get",_kwnames,&_argo0))
914 return NULL;
915 if (_argo0) {
916 if (_argo0 == Py_None) { _arg0 = NULL; }
917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_y_get. Expected _wxToolBarTool_p.");
919 return NULL;
920 }
921 }
922 {
923 wxPy_BEGIN_ALLOW_THREADS;
924 _result = (long )wxToolBarTool_m_y_get(_arg0);
925
926 wxPy_END_ALLOW_THREADS;
927 } _resultobj = Py_BuildValue("l",_result);
928 return _resultobj;
929 }
930
931 #define wxToolBarTool_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
932 static PyObject *_wrap_wxToolBarTool_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
933 PyObject * _resultobj;
934 long _result;
935 wxToolBarTool * _arg0;
936 long _arg1;
937 PyObject * _argo0 = 0;
938 char *_kwnames[] = { "self","m_width", NULL };
939
940 self = self;
941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxToolBarTool_m_width_set",_kwnames,&_argo0,&_arg1))
942 return NULL;
943 if (_argo0) {
944 if (_argo0 == Py_None) { _arg0 = NULL; }
945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_width_set. Expected _wxToolBarTool_p.");
947 return NULL;
948 }
949 }
950 {
951 wxPy_BEGIN_ALLOW_THREADS;
952 _result = (long )wxToolBarTool_m_width_set(_arg0,_arg1);
953
954 wxPy_END_ALLOW_THREADS;
955 } _resultobj = Py_BuildValue("l",_result);
956 return _resultobj;
957 }
958
959 #define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width)
960 static PyObject *_wrap_wxToolBarTool_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
961 PyObject * _resultobj;
962 long _result;
963 wxToolBarTool * _arg0;
964 PyObject * _argo0 = 0;
965 char *_kwnames[] = { "self", NULL };
966
967 self = self;
968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_width_get",_kwnames,&_argo0))
969 return NULL;
970 if (_argo0) {
971 if (_argo0 == Py_None) { _arg0 = NULL; }
972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_width_get. Expected _wxToolBarTool_p.");
974 return NULL;
975 }
976 }
977 {
978 wxPy_BEGIN_ALLOW_THREADS;
979 _result = (long )wxToolBarTool_m_width_get(_arg0);
980
981 wxPy_END_ALLOW_THREADS;
982 } _resultobj = Py_BuildValue("l",_result);
983 return _resultobj;
984 }
985
986 #define wxToolBarTool_m_height_set(_swigobj,_swigval) (_swigobj->m_height = _swigval,_swigval)
987 static PyObject *_wrap_wxToolBarTool_m_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
988 PyObject * _resultobj;
989 long _result;
990 wxToolBarTool * _arg0;
991 long _arg1;
992 PyObject * _argo0 = 0;
993 char *_kwnames[] = { "self","m_height", NULL };
994
995 self = self;
996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxToolBarTool_m_height_set",_kwnames,&_argo0,&_arg1))
997 return NULL;
998 if (_argo0) {
999 if (_argo0 == Py_None) { _arg0 = NULL; }
1000 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1001 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_height_set. Expected _wxToolBarTool_p.");
1002 return NULL;
1003 }
1004 }
1005 {
1006 wxPy_BEGIN_ALLOW_THREADS;
1007 _result = (long )wxToolBarTool_m_height_set(_arg0,_arg1);
1008
1009 wxPy_END_ALLOW_THREADS;
1010 } _resultobj = Py_BuildValue("l",_result);
1011 return _resultobj;
1012 }
1013
1014 #define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height)
1015 static PyObject *_wrap_wxToolBarTool_m_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1016 PyObject * _resultobj;
1017 long _result;
1018 wxToolBarTool * _arg0;
1019 PyObject * _argo0 = 0;
1020 char *_kwnames[] = { "self", NULL };
1021
1022 self = self;
1023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_height_get",_kwnames,&_argo0))
1024 return NULL;
1025 if (_argo0) {
1026 if (_argo0 == Py_None) { _arg0 = NULL; }
1027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_height_get. Expected _wxToolBarTool_p.");
1029 return NULL;
1030 }
1031 }
1032 {
1033 wxPy_BEGIN_ALLOW_THREADS;
1034 _result = (long )wxToolBarTool_m_height_get(_arg0);
1035
1036 wxPy_END_ALLOW_THREADS;
1037 } _resultobj = Py_BuildValue("l",_result);
1038 return _resultobj;
1039 }
1040
1041 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
1042 static PyObject *_wrap_wxToolBarTool_m_toggleState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1043 PyObject * _resultobj;
1044 bool _result;
1045 wxToolBarTool * _arg0;
1046 bool _arg1;
1047 PyObject * _argo0 = 0;
1048 int tempbool1;
1049 char *_kwnames[] = { "self","m_toggleState", NULL };
1050
1051 self = self;
1052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_toggleState_set",_kwnames,&_argo0,&tempbool1))
1053 return NULL;
1054 if (_argo0) {
1055 if (_argo0 == Py_None) { _arg0 = NULL; }
1056 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
1058 return NULL;
1059 }
1060 }
1061 _arg1 = (bool ) tempbool1;
1062 {
1063 wxPy_BEGIN_ALLOW_THREADS;
1064 _result = (bool )wxToolBarTool_m_toggleState_set(_arg0,_arg1);
1065
1066 wxPy_END_ALLOW_THREADS;
1067 } _resultobj = Py_BuildValue("i",_result);
1068 return _resultobj;
1069 }
1070
1071 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
1072 static PyObject *_wrap_wxToolBarTool_m_toggleState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1073 PyObject * _resultobj;
1074 bool _result;
1075 wxToolBarTool * _arg0;
1076 PyObject * _argo0 = 0;
1077 char *_kwnames[] = { "self", NULL };
1078
1079 self = self;
1080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_toggleState_get",_kwnames,&_argo0))
1081 return NULL;
1082 if (_argo0) {
1083 if (_argo0 == Py_None) { _arg0 = NULL; }
1084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
1086 return NULL;
1087 }
1088 }
1089 {
1090 wxPy_BEGIN_ALLOW_THREADS;
1091 _result = (bool )wxToolBarTool_m_toggleState_get(_arg0);
1092
1093 wxPy_END_ALLOW_THREADS;
1094 } _resultobj = Py_BuildValue("i",_result);
1095 return _resultobj;
1096 }
1097
1098 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
1099 static PyObject *_wrap_wxToolBarTool_m_isToggle_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1100 PyObject * _resultobj;
1101 bool _result;
1102 wxToolBarTool * _arg0;
1103 bool _arg1;
1104 PyObject * _argo0 = 0;
1105 int tempbool1;
1106 char *_kwnames[] = { "self","m_isToggle", NULL };
1107
1108 self = self;
1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_isToggle_set",_kwnames,&_argo0,&tempbool1))
1110 return NULL;
1111 if (_argo0) {
1112 if (_argo0 == Py_None) { _arg0 = NULL; }
1113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
1115 return NULL;
1116 }
1117 }
1118 _arg1 = (bool ) tempbool1;
1119 {
1120 wxPy_BEGIN_ALLOW_THREADS;
1121 _result = (bool )wxToolBarTool_m_isToggle_set(_arg0,_arg1);
1122
1123 wxPy_END_ALLOW_THREADS;
1124 } _resultobj = Py_BuildValue("i",_result);
1125 return _resultobj;
1126 }
1127
1128 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
1129 static PyObject *_wrap_wxToolBarTool_m_isToggle_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1130 PyObject * _resultobj;
1131 bool _result;
1132 wxToolBarTool * _arg0;
1133 PyObject * _argo0 = 0;
1134 char *_kwnames[] = { "self", NULL };
1135
1136 self = self;
1137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_isToggle_get",_kwnames,&_argo0))
1138 return NULL;
1139 if (_argo0) {
1140 if (_argo0 == Py_None) { _arg0 = NULL; }
1141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
1143 return NULL;
1144 }
1145 }
1146 {
1147 wxPy_BEGIN_ALLOW_THREADS;
1148 _result = (bool )wxToolBarTool_m_isToggle_get(_arg0);
1149
1150 wxPy_END_ALLOW_THREADS;
1151 } _resultobj = Py_BuildValue("i",_result);
1152 return _resultobj;
1153 }
1154
1155 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
1156 static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject * _resultobj;
1158 bool _result;
1159 wxToolBarTool * _arg0;
1160 bool _arg1;
1161 PyObject * _argo0 = 0;
1162 int tempbool1;
1163 char *_kwnames[] = { "self","m_deleteSecondBitmap", NULL };
1164
1165 self = self;
1166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_deleteSecondBitmap_set",_kwnames,&_argo0,&tempbool1))
1167 return NULL;
1168 if (_argo0) {
1169 if (_argo0 == Py_None) { _arg0 = NULL; }
1170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
1172 return NULL;
1173 }
1174 }
1175 _arg1 = (bool ) tempbool1;
1176 {
1177 wxPy_BEGIN_ALLOW_THREADS;
1178 _result = (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0,_arg1);
1179
1180 wxPy_END_ALLOW_THREADS;
1181 } _resultobj = Py_BuildValue("i",_result);
1182 return _resultobj;
1183 }
1184
1185 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
1186 static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1187 PyObject * _resultobj;
1188 bool _result;
1189 wxToolBarTool * _arg0;
1190 PyObject * _argo0 = 0;
1191 char *_kwnames[] = { "self", NULL };
1192
1193 self = self;
1194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_deleteSecondBitmap_get",_kwnames,&_argo0))
1195 return NULL;
1196 if (_argo0) {
1197 if (_argo0 == Py_None) { _arg0 = NULL; }
1198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
1200 return NULL;
1201 }
1202 }
1203 {
1204 wxPy_BEGIN_ALLOW_THREADS;
1205 _result = (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0);
1206
1207 wxPy_END_ALLOW_THREADS;
1208 } _resultobj = Py_BuildValue("i",_result);
1209 return _resultobj;
1210 }
1211
1212 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
1213 static PyObject *_wrap_wxToolBarTool_m_enabled_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1214 PyObject * _resultobj;
1215 bool _result;
1216 wxToolBarTool * _arg0;
1217 bool _arg1;
1218 PyObject * _argo0 = 0;
1219 int tempbool1;
1220 char *_kwnames[] = { "self","m_enabled", NULL };
1221
1222 self = self;
1223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_enabled_set",_kwnames,&_argo0,&tempbool1))
1224 return NULL;
1225 if (_argo0) {
1226 if (_argo0 == Py_None) { _arg0 = NULL; }
1227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
1229 return NULL;
1230 }
1231 }
1232 _arg1 = (bool ) tempbool1;
1233 {
1234 wxPy_BEGIN_ALLOW_THREADS;
1235 _result = (bool )wxToolBarTool_m_enabled_set(_arg0,_arg1);
1236
1237 wxPy_END_ALLOW_THREADS;
1238 } _resultobj = Py_BuildValue("i",_result);
1239 return _resultobj;
1240 }
1241
1242 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
1243 static PyObject *_wrap_wxToolBarTool_m_enabled_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1244 PyObject * _resultobj;
1245 bool _result;
1246 wxToolBarTool * _arg0;
1247 PyObject * _argo0 = 0;
1248 char *_kwnames[] = { "self", NULL };
1249
1250 self = self;
1251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_enabled_get",_kwnames,&_argo0))
1252 return NULL;
1253 if (_argo0) {
1254 if (_argo0 == Py_None) { _arg0 = NULL; }
1255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
1257 return NULL;
1258 }
1259 }
1260 {
1261 wxPy_BEGIN_ALLOW_THREADS;
1262 _result = (bool )wxToolBarTool_m_enabled_get(_arg0);
1263
1264 wxPy_END_ALLOW_THREADS;
1265 } _resultobj = Py_BuildValue("i",_result);
1266 return _resultobj;
1267 }
1268
1269 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
1270 static PyObject *_wrap_wxToolBarTool_m_bitmap1_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1271 PyObject * _resultobj;
1272 wxBitmap * _result;
1273 wxToolBarTool * _arg0;
1274 wxBitmap * _arg1;
1275 PyObject * _argo0 = 0;
1276 PyObject * _argo1 = 0;
1277 char *_kwnames[] = { "self","m_bitmap1", NULL };
1278 char _ptemp[128];
1279
1280 self = self;
1281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_bitmap1_set",_kwnames,&_argo0,&_argo1))
1282 return NULL;
1283 if (_argo0) {
1284 if (_argo0 == Py_None) { _arg0 = NULL; }
1285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
1287 return NULL;
1288 }
1289 }
1290 if (_argo1) {
1291 if (_argo1 == Py_None) { _arg1 = NULL; }
1292 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1293 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
1294 return NULL;
1295 }
1296 }
1297 {
1298 wxPy_BEGIN_ALLOW_THREADS;
1299 _result = (wxBitmap *)wxToolBarTool_m_bitmap1_set(_arg0,_arg1);
1300
1301 wxPy_END_ALLOW_THREADS;
1302 } if (_result) {
1303 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1304 _resultobj = Py_BuildValue("s",_ptemp);
1305 } else {
1306 Py_INCREF(Py_None);
1307 _resultobj = Py_None;
1308 }
1309 return _resultobj;
1310 }
1311
1312 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
1313 static PyObject *_wrap_wxToolBarTool_m_bitmap1_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1314 PyObject * _resultobj;
1315 wxBitmap * _result;
1316 wxToolBarTool * _arg0;
1317 PyObject * _argo0 = 0;
1318 char *_kwnames[] = { "self", NULL };
1319 char _ptemp[128];
1320
1321 self = self;
1322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_bitmap1_get",_kwnames,&_argo0))
1323 return NULL;
1324 if (_argo0) {
1325 if (_argo0 == Py_None) { _arg0 = NULL; }
1326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1328 return NULL;
1329 }
1330 }
1331 {
1332 wxPy_BEGIN_ALLOW_THREADS;
1333 _result = (wxBitmap *)wxToolBarTool_m_bitmap1_get(_arg0);
1334
1335 wxPy_END_ALLOW_THREADS;
1336 } if (_result) {
1337 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1338 _resultobj = Py_BuildValue("s",_ptemp);
1339 } else {
1340 Py_INCREF(Py_None);
1341 _resultobj = Py_None;
1342 }
1343 return _resultobj;
1344 }
1345
1346 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1347 static PyObject *_wrap_wxToolBarTool_m_bitmap2_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1348 PyObject * _resultobj;
1349 wxBitmap * _result;
1350 wxToolBarTool * _arg0;
1351 wxBitmap * _arg1;
1352 PyObject * _argo0 = 0;
1353 PyObject * _argo1 = 0;
1354 char *_kwnames[] = { "self","m_bitmap2", NULL };
1355 char _ptemp[128];
1356
1357 self = self;
1358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_bitmap2_set",_kwnames,&_argo0,&_argo1))
1359 return NULL;
1360 if (_argo0) {
1361 if (_argo0 == Py_None) { _arg0 = NULL; }
1362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1364 return NULL;
1365 }
1366 }
1367 if (_argo1) {
1368 if (_argo1 == Py_None) { _arg1 = NULL; }
1369 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1370 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1371 return NULL;
1372 }
1373 }
1374 {
1375 wxPy_BEGIN_ALLOW_THREADS;
1376 _result = (wxBitmap *)wxToolBarTool_m_bitmap2_set(_arg0,_arg1);
1377
1378 wxPy_END_ALLOW_THREADS;
1379 } if (_result) {
1380 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1381 _resultobj = Py_BuildValue("s",_ptemp);
1382 } else {
1383 Py_INCREF(Py_None);
1384 _resultobj = Py_None;
1385 }
1386 return _resultobj;
1387 }
1388
1389 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1390 static PyObject *_wrap_wxToolBarTool_m_bitmap2_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject * _resultobj;
1392 wxBitmap * _result;
1393 wxToolBarTool * _arg0;
1394 PyObject * _argo0 = 0;
1395 char *_kwnames[] = { "self", NULL };
1396 char _ptemp[128];
1397
1398 self = self;
1399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_bitmap2_get",_kwnames,&_argo0))
1400 return NULL;
1401 if (_argo0) {
1402 if (_argo0 == Py_None) { _arg0 = NULL; }
1403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1405 return NULL;
1406 }
1407 }
1408 {
1409 wxPy_BEGIN_ALLOW_THREADS;
1410 _result = (wxBitmap *)wxToolBarTool_m_bitmap2_get(_arg0);
1411
1412 wxPy_END_ALLOW_THREADS;
1413 } if (_result) {
1414 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1415 _resultobj = Py_BuildValue("s",_ptemp);
1416 } else {
1417 Py_INCREF(Py_None);
1418 _resultobj = Py_None;
1419 }
1420 return _resultobj;
1421 }
1422
1423 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1424 static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1425 PyObject * _resultobj;
1426 bool _result;
1427 wxToolBarTool * _arg0;
1428 bool _arg1;
1429 PyObject * _argo0 = 0;
1430 int tempbool1;
1431 char *_kwnames[] = { "self","m_isMenuCommand", NULL };
1432
1433 self = self;
1434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_isMenuCommand_set",_kwnames,&_argo0,&tempbool1))
1435 return NULL;
1436 if (_argo0) {
1437 if (_argo0 == Py_None) { _arg0 = NULL; }
1438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1440 return NULL;
1441 }
1442 }
1443 _arg1 = (bool ) tempbool1;
1444 {
1445 wxPy_BEGIN_ALLOW_THREADS;
1446 _result = (bool )wxToolBarTool_m_isMenuCommand_set(_arg0,_arg1);
1447
1448 wxPy_END_ALLOW_THREADS;
1449 } _resultobj = Py_BuildValue("i",_result);
1450 return _resultobj;
1451 }
1452
1453 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1454 static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1455 PyObject * _resultobj;
1456 bool _result;
1457 wxToolBarTool * _arg0;
1458 PyObject * _argo0 = 0;
1459 char *_kwnames[] = { "self", NULL };
1460
1461 self = self;
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_isMenuCommand_get",_kwnames,&_argo0))
1463 return NULL;
1464 if (_argo0) {
1465 if (_argo0 == Py_None) { _arg0 = NULL; }
1466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1468 return NULL;
1469 }
1470 }
1471 {
1472 wxPy_BEGIN_ALLOW_THREADS;
1473 _result = (bool )wxToolBarTool_m_isMenuCommand_get(_arg0);
1474
1475 wxPy_END_ALLOW_THREADS;
1476 } _resultobj = Py_BuildValue("i",_result);
1477 return _resultobj;
1478 }
1479
1480 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1481 static PyObject *_wrap_wxToolBarTool_m_shortHelpString_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1482 PyObject * _resultobj;
1483 wxString * _result;
1484 wxToolBarTool * _arg0;
1485 wxString * _arg1;
1486 PyObject * _argo0 = 0;
1487 PyObject * _obj1 = 0;
1488 char *_kwnames[] = { "self","m_shortHelpString", NULL };
1489
1490 self = self;
1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_shortHelpString_set",_kwnames,&_argo0,&_obj1))
1492 return NULL;
1493 if (_argo0) {
1494 if (_argo0 == Py_None) { _arg0 = NULL; }
1495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1497 return NULL;
1498 }
1499 }
1500 {
1501 if (!PyString_Check(_obj1)) {
1502 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1503 return NULL;
1504 }
1505 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1506 }
1507 {
1508 wxPy_BEGIN_ALLOW_THREADS;
1509 _result = (wxString *)wxToolBarTool_m_shortHelpString_set(_arg0,_arg1);
1510
1511 wxPy_END_ALLOW_THREADS;
1512 }{
1513 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1514 }
1515 {
1516 if (_obj1)
1517 delete _arg1;
1518 }
1519 return _resultobj;
1520 }
1521
1522 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1523 static PyObject *_wrap_wxToolBarTool_m_shortHelpString_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject * _resultobj;
1525 wxString * _result;
1526 wxToolBarTool * _arg0;
1527 PyObject * _argo0 = 0;
1528 char *_kwnames[] = { "self", NULL };
1529
1530 self = self;
1531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_shortHelpString_get",_kwnames,&_argo0))
1532 return NULL;
1533 if (_argo0) {
1534 if (_argo0 == Py_None) { _arg0 = NULL; }
1535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1537 return NULL;
1538 }
1539 }
1540 {
1541 wxPy_BEGIN_ALLOW_THREADS;
1542 _result = (wxString *)wxToolBarTool_m_shortHelpString_get(_arg0);
1543
1544 wxPy_END_ALLOW_THREADS;
1545 }{
1546 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1547 }
1548 return _resultobj;
1549 }
1550
1551 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1552 static PyObject *_wrap_wxToolBarTool_m_longHelpString_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1553 PyObject * _resultobj;
1554 wxString * _result;
1555 wxToolBarTool * _arg0;
1556 wxString * _arg1;
1557 PyObject * _argo0 = 0;
1558 PyObject * _obj1 = 0;
1559 char *_kwnames[] = { "self","m_longHelpString", NULL };
1560
1561 self = self;
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_longHelpString_set",_kwnames,&_argo0,&_obj1))
1563 return NULL;
1564 if (_argo0) {
1565 if (_argo0 == Py_None) { _arg0 = NULL; }
1566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1568 return NULL;
1569 }
1570 }
1571 {
1572 if (!PyString_Check(_obj1)) {
1573 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1574 return NULL;
1575 }
1576 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1577 }
1578 {
1579 wxPy_BEGIN_ALLOW_THREADS;
1580 _result = (wxString *)wxToolBarTool_m_longHelpString_set(_arg0,_arg1);
1581
1582 wxPy_END_ALLOW_THREADS;
1583 }{
1584 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1585 }
1586 {
1587 if (_obj1)
1588 delete _arg1;
1589 }
1590 return _resultobj;
1591 }
1592
1593 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1594 static PyObject *_wrap_wxToolBarTool_m_longHelpString_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject * _resultobj;
1596 wxString * _result;
1597 wxToolBarTool * _arg0;
1598 PyObject * _argo0 = 0;
1599 char *_kwnames[] = { "self", NULL };
1600
1601 self = self;
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_longHelpString_get",_kwnames,&_argo0))
1603 return NULL;
1604 if (_argo0) {
1605 if (_argo0 == Py_None) { _arg0 = NULL; }
1606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) {
1607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1608 return NULL;
1609 }
1610 }
1611 {
1612 wxPy_BEGIN_ALLOW_THREADS;
1613 _result = (wxString *)wxToolBarTool_m_longHelpString_get(_arg0);
1614
1615 wxPy_END_ALLOW_THREADS;
1616 }{
1617 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1618 }
1619 return _resultobj;
1620 }
1621
1622 static void *SwigwxToolBarTowxControl(void *ptr) {
1623 wxToolBar *src;
1624 wxControl *dest;
1625 src = (wxToolBar *) ptr;
1626 dest = (wxControl *) src;
1627 return (void *) dest;
1628 }
1629
1630 static void *SwigwxToolBarTowxWindow(void *ptr) {
1631 wxToolBar *src;
1632 wxWindow *dest;
1633 src = (wxToolBar *) ptr;
1634 dest = (wxWindow *) src;
1635 return (void *) dest;
1636 }
1637
1638 static void *SwigwxToolBarTowxEvtHandler(void *ptr) {
1639 wxToolBar *src;
1640 wxEvtHandler *dest;
1641 src = (wxToolBar *) ptr;
1642 dest = (wxEvtHandler *) src;
1643 return (void *) dest;
1644 }
1645
1646 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1647 static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
1648 PyObject * _resultobj;
1649 wxToolBar * _result;
1650 wxWindow * _arg0;
1651 wxWindowID _arg1;
1652 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
1653 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
1654 long _arg4 = (long ) wxTB_HORIZONTAL|wxNO_BORDER;
1655 char * _arg5 = (char *) "toolBar";
1656 PyObject * _argo0 = 0;
1657 wxPoint temp;
1658 PyObject * _obj2 = 0;
1659 wxSize temp0;
1660 PyObject * _obj3 = 0;
1661 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
1662 char _ptemp[128];
1663
1664 self = self;
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxToolBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
1666 return NULL;
1667 if (_argo0) {
1668 if (_argo0 == Py_None) { _arg0 = NULL; }
1669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1671 return NULL;
1672 }
1673 }
1674 if (_obj2)
1675 {
1676 _arg2 = &temp;
1677 if (! wxPoint_helper(_obj2, &_arg2))
1678 return NULL;
1679 }
1680 if (_obj3)
1681 {
1682 _arg3 = &temp0;
1683 if (! wxSize_helper(_obj3, &_arg3))
1684 return NULL;
1685 }
1686 {
1687 wxPy_BEGIN_ALLOW_THREADS;
1688 _result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1689
1690 wxPy_END_ALLOW_THREADS;
1691 } if (_result) {
1692 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
1693 _resultobj = Py_BuildValue("s",_ptemp);
1694 } else {
1695 Py_INCREF(Py_None);
1696 _resultobj = Py_None;
1697 }
1698 return _resultobj;
1699 }
1700
1701 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1702 static PyObject *_wrap_wxToolBar_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
1703 PyObject * _resultobj;
1704 wxToolBar * _arg0;
1705 PyObject * _argo0 = 0;
1706 char *_kwnames[] = { "self", NULL };
1707
1708 self = self;
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_AddSeparator",_kwnames,&_argo0))
1710 return NULL;
1711 if (_argo0) {
1712 if (_argo0 == Py_None) { _arg0 = NULL; }
1713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1715 return NULL;
1716 }
1717 }
1718 {
1719 wxPy_BEGIN_ALLOW_THREADS;
1720 wxToolBar_AddSeparator(_arg0);
1721
1722 wxPy_END_ALLOW_THREADS;
1723 } Py_INCREF(Py_None);
1724 _resultobj = Py_None;
1725 return _resultobj;
1726 }
1727
1728 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) {
1729 return self->AddTool(toolIndex, bitmap1, bitmap2,
1730 isToggle, xPos, yPos, NULL,
1731 shortHelpString, longHelpString);
1732 }
1733 static PyObject *_wrap_wxToolBar_AddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1734 PyObject * _resultobj;
1735 wxToolBarTool * _result;
1736 wxToolBar * _arg0;
1737 int _arg1;
1738 wxBitmap * _arg2;
1739 wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap;
1740 int _arg4 = (int ) FALSE;
1741 long _arg5 = (long ) -1;
1742 long _arg6 = (long ) -1;
1743 wxString * _arg7 = (wxString *) &wxPyEmptyStr;
1744 wxString * _arg8 = (wxString *) &wxPyEmptyStr;
1745 PyObject * _argo0 = 0;
1746 PyObject * _argo2 = 0;
1747 PyObject * _argo3 = 0;
1748 PyObject * _obj7 = 0;
1749 PyObject * _obj8 = 0;
1750 char *_kwnames[] = { "self","toolIndex","bitmap1","bitmap2","isToggle","xPos","yPos","shortHelpString","longHelpString", NULL };
1751 char _ptemp[128];
1752
1753 self = self;
1754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OillOO:wxToolBar_AddTool",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5,&_arg6,&_obj7,&_obj8))
1755 return NULL;
1756 if (_argo0) {
1757 if (_argo0 == Py_None) { _arg0 = NULL; }
1758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1760 return NULL;
1761 }
1762 }
1763 if (_argo2) {
1764 if (_argo2 == Py_None) { _arg2 = NULL; }
1765 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
1766 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1767 return NULL;
1768 }
1769 }
1770 if (_argo3) {
1771 if (_argo3 == Py_None) { _arg3 = NULL; }
1772 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1773 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1774 return NULL;
1775 }
1776 }
1777 if (_obj7)
1778 {
1779 if (!PyString_Check(_obj7)) {
1780 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1781 return NULL;
1782 }
1783 _arg7 = new wxString(PyString_AsString(_obj7), PyString_Size(_obj7));
1784 }
1785 if (_obj8)
1786 {
1787 if (!PyString_Check(_obj8)) {
1788 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1789 return NULL;
1790 }
1791 _arg8 = new wxString(PyString_AsString(_obj8), PyString_Size(_obj8));
1792 }
1793 {
1794 wxPy_BEGIN_ALLOW_THREADS;
1795 _result = (wxToolBarTool *)wxToolBar_AddTool(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
1796
1797 wxPy_END_ALLOW_THREADS;
1798 } if (_result) {
1799 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
1800 _resultobj = Py_BuildValue("s",_ptemp);
1801 } else {
1802 Py_INCREF(Py_None);
1803 _resultobj = Py_None;
1804 }
1805 {
1806 if (_obj7)
1807 delete _arg7;
1808 }
1809 {
1810 if (_obj8)
1811 delete _arg8;
1812 }
1813 return _resultobj;
1814 }
1815
1816 static wxToolBarTool * wxToolBar_AddSimpleTool(wxToolBar *self,int toolIndex,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString) {
1817 return self->AddTool(toolIndex, bitmap, wxNullBitmap,
1818 FALSE, -1, -1, NULL,
1819 shortHelpString, longHelpString);
1820 }
1821 static PyObject *_wrap_wxToolBar_AddSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1822 PyObject * _resultobj;
1823 wxToolBarTool * _result;
1824 wxToolBar * _arg0;
1825 int _arg1;
1826 wxBitmap * _arg2;
1827 wxString * _arg3 = (wxString *) &wxPyEmptyStr;
1828 wxString * _arg4 = (wxString *) &wxPyEmptyStr;
1829 PyObject * _argo0 = 0;
1830 PyObject * _argo2 = 0;
1831 PyObject * _obj3 = 0;
1832 PyObject * _obj4 = 0;
1833 char *_kwnames[] = { "self","toolIndex","bitmap","shortHelpString","longHelpString", NULL };
1834 char _ptemp[128];
1835
1836 self = self;
1837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OO:wxToolBar_AddSimpleTool",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4))
1838 return NULL;
1839 if (_argo0) {
1840 if (_argo0 == Py_None) { _arg0 = NULL; }
1841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1843 return NULL;
1844 }
1845 }
1846 if (_argo2) {
1847 if (_argo2 == Py_None) { _arg2 = NULL; }
1848 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
1849 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1850 return NULL;
1851 }
1852 }
1853 if (_obj3)
1854 {
1855 if (!PyString_Check(_obj3)) {
1856 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1857 return NULL;
1858 }
1859 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
1860 }
1861 if (_obj4)
1862 {
1863 if (!PyString_Check(_obj4)) {
1864 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1865 return NULL;
1866 }
1867 _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4));
1868 }
1869 {
1870 wxPy_BEGIN_ALLOW_THREADS;
1871 _result = (wxToolBarTool *)wxToolBar_AddSimpleTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4);
1872
1873 wxPy_END_ALLOW_THREADS;
1874 } if (_result) {
1875 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
1876 _resultobj = Py_BuildValue("s",_ptemp);
1877 } else {
1878 Py_INCREF(Py_None);
1879 _resultobj = Py_None;
1880 }
1881 {
1882 if (_obj3)
1883 delete _arg3;
1884 }
1885 {
1886 if (_obj4)
1887 delete _arg4;
1888 }
1889 return _resultobj;
1890 }
1891
1892 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1893 static PyObject *_wrap_wxToolBar_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
1894 PyObject * _resultobj;
1895 wxToolBar * _arg0;
1896 int _arg1;
1897 bool _arg2;
1898 PyObject * _argo0 = 0;
1899 int tempbool2;
1900 char *_kwnames[] = { "self","toolIndex","enable", NULL };
1901
1902 self = self;
1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBar_EnableTool",_kwnames,&_argo0,&_arg1,&tempbool2))
1904 return NULL;
1905 if (_argo0) {
1906 if (_argo0 == Py_None) { _arg0 = NULL; }
1907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1909 return NULL;
1910 }
1911 }
1912 _arg2 = (bool ) tempbool2;
1913 {
1914 wxPy_BEGIN_ALLOW_THREADS;
1915 wxToolBar_EnableTool(_arg0,_arg1,_arg2);
1916
1917 wxPy_END_ALLOW_THREADS;
1918 } Py_INCREF(Py_None);
1919 _resultobj = Py_None;
1920 return _resultobj;
1921 }
1922
1923 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
1924 static PyObject *_wrap_wxToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1925 PyObject * _resultobj;
1926 wxToolBarTool * _result;
1927 wxToolBar * _arg0;
1928 float _arg1;
1929 float _arg2;
1930 PyObject * _argo0 = 0;
1931 char *_kwnames[] = { "self","x","y", NULL };
1932 char _ptemp[128];
1933
1934 self = self;
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Off:wxToolBar_FindToolForPosition",_kwnames,&_argo0,&_arg1,&_arg2))
1936 return NULL;
1937 if (_argo0) {
1938 if (_argo0 == Py_None) { _arg0 = NULL; }
1939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
1941 return NULL;
1942 }
1943 }
1944 {
1945 wxPy_BEGIN_ALLOW_THREADS;
1946 _result = (wxToolBarTool *)wxToolBar_FindToolForPosition(_arg0,_arg1,_arg2);
1947
1948 wxPy_END_ALLOW_THREADS;
1949 } if (_result) {
1950 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
1951 _resultobj = Py_BuildValue("s",_ptemp);
1952 } else {
1953 Py_INCREF(Py_None);
1954 _resultobj = Py_None;
1955 }
1956 return _resultobj;
1957 }
1958
1959 #define wxToolBar_GetToolSize(_swigobj) (_swigobj->GetToolSize())
1960 static PyObject *_wrap_wxToolBar_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1961 PyObject * _resultobj;
1962 wxSize * _result;
1963 wxToolBar * _arg0;
1964 PyObject * _argo0 = 0;
1965 char *_kwnames[] = { "self", NULL };
1966 char _ptemp[128];
1967
1968 self = self;
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolSize",_kwnames,&_argo0))
1970 return NULL;
1971 if (_argo0) {
1972 if (_argo0 == Py_None) { _arg0 = NULL; }
1973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
1974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolSize. Expected _wxToolBar_p.");
1975 return NULL;
1976 }
1977 }
1978 {
1979 wxPy_BEGIN_ALLOW_THREADS;
1980 _result = new wxSize (wxToolBar_GetToolSize(_arg0));
1981
1982 wxPy_END_ALLOW_THREADS;
1983 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1984 _resultobj = Py_BuildValue("s",_ptemp);
1985 return _resultobj;
1986 }
1987
1988 #define wxToolBar_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
1989 static PyObject *_wrap_wxToolBar_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject * _resultobj;
1991 wxSize * _result;
1992 wxToolBar * _arg0;
1993 PyObject * _argo0 = 0;
1994 char *_kwnames[] = { "self", NULL };
1995 char _ptemp[128];
1996
1997 self = self;
1998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolBitmapSize",_kwnames,&_argo0))
1999 return NULL;
2000 if (_argo0) {
2001 if (_argo0 == Py_None) { _arg0 = NULL; }
2002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolBitmapSize. Expected _wxToolBar_p.");
2004 return NULL;
2005 }
2006 }
2007 {
2008 wxPy_BEGIN_ALLOW_THREADS;
2009 _result = new wxSize (wxToolBar_GetToolBitmapSize(_arg0));
2010
2011 wxPy_END_ALLOW_THREADS;
2012 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2013 _resultobj = Py_BuildValue("s",_ptemp);
2014 return _resultobj;
2015 }
2016
2017 #define wxToolBar_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
2018 static PyObject *_wrap_wxToolBar_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2019 PyObject * _resultobj;
2020 wxToolBar * _arg0;
2021 wxSize * _arg1;
2022 PyObject * _argo0 = 0;
2023 wxSize temp;
2024 PyObject * _obj1 = 0;
2025 char *_kwnames[] = { "self","size", NULL };
2026
2027 self = self;
2028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBar_SetToolBitmapSize",_kwnames,&_argo0,&_obj1))
2029 return NULL;
2030 if (_argo0) {
2031 if (_argo0 == Py_None) { _arg0 = NULL; }
2032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolBitmapSize. Expected _wxToolBar_p.");
2034 return NULL;
2035 }
2036 }
2037 {
2038 _arg1 = &temp;
2039 if (! wxSize_helper(_obj1, &_arg1))
2040 return NULL;
2041 }
2042 {
2043 wxPy_BEGIN_ALLOW_THREADS;
2044 wxToolBar_SetToolBitmapSize(_arg0,*_arg1);
2045
2046 wxPy_END_ALLOW_THREADS;
2047 } Py_INCREF(Py_None);
2048 _resultobj = Py_None;
2049 return _resultobj;
2050 }
2051
2052 #define wxToolBar_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
2053 static PyObject *_wrap_wxToolBar_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2054 PyObject * _resultobj;
2055 wxSize * _result;
2056 wxToolBar * _arg0;
2057 PyObject * _argo0 = 0;
2058 char *_kwnames[] = { "self", NULL };
2059 char _ptemp[128];
2060
2061 self = self;
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetMaxSize",_kwnames,&_argo0))
2063 return NULL;
2064 if (_argo0) {
2065 if (_argo0 == Py_None) { _arg0 = NULL; }
2066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetMaxSize. Expected _wxToolBar_p.");
2068 return NULL;
2069 }
2070 }
2071 {
2072 wxPy_BEGIN_ALLOW_THREADS;
2073 _result = new wxSize (wxToolBar_GetMaxSize(_arg0));
2074
2075 wxPy_END_ALLOW_THREADS;
2076 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
2077 _resultobj = Py_BuildValue("s",_ptemp);
2078 return _resultobj;
2079 }
2080
2081 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2082 static PyObject *_wrap_wxToolBar_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
2083 PyObject * _resultobj;
2084 bool _result;
2085 wxToolBar * _arg0;
2086 int _arg1;
2087 PyObject * _argo0 = 0;
2088 char *_kwnames[] = { "self","toolIndex", NULL };
2089
2090 self = self;
2091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolEnabled",_kwnames,&_argo0,&_arg1))
2092 return NULL;
2093 if (_argo0) {
2094 if (_argo0 == Py_None) { _arg0 = NULL; }
2095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
2097 return NULL;
2098 }
2099 }
2100 {
2101 wxPy_BEGIN_ALLOW_THREADS;
2102 _result = (bool )wxToolBar_GetToolEnabled(_arg0,_arg1);
2103
2104 wxPy_END_ALLOW_THREADS;
2105 } _resultobj = Py_BuildValue("i",_result);
2106 return _resultobj;
2107 }
2108
2109 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2110 static PyObject *_wrap_wxToolBar_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2111 PyObject * _resultobj;
2112 wxString * _result;
2113 wxToolBar * _arg0;
2114 int _arg1;
2115 PyObject * _argo0 = 0;
2116 char *_kwnames[] = { "self","toolIndex", NULL };
2117
2118 self = self;
2119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolLongHelp",_kwnames,&_argo0,&_arg1))
2120 return NULL;
2121 if (_argo0) {
2122 if (_argo0 == Py_None) { _arg0 = NULL; }
2123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
2125 return NULL;
2126 }
2127 }
2128 {
2129 wxPy_BEGIN_ALLOW_THREADS;
2130 _result = new wxString (wxToolBar_GetToolLongHelp(_arg0,_arg1));
2131
2132 wxPy_END_ALLOW_THREADS;
2133 }{
2134 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2135 }
2136 {
2137 delete _result;
2138 }
2139 return _resultobj;
2140 }
2141
2142 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2143 static PyObject *_wrap_wxToolBar_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
2144 PyObject * _resultobj;
2145 int _result;
2146 wxToolBar * _arg0;
2147 PyObject * _argo0 = 0;
2148 char *_kwnames[] = { "self", NULL };
2149
2150 self = self;
2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolPacking",_kwnames,&_argo0))
2152 return NULL;
2153 if (_argo0) {
2154 if (_argo0 == Py_None) { _arg0 = NULL; }
2155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
2157 return NULL;
2158 }
2159 }
2160 {
2161 wxPy_BEGIN_ALLOW_THREADS;
2162 _result = (int )wxToolBar_GetToolPacking(_arg0);
2163
2164 wxPy_END_ALLOW_THREADS;
2165 } _resultobj = Py_BuildValue("i",_result);
2166 return _resultobj;
2167 }
2168
2169 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2170 static PyObject *_wrap_wxToolBar_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
2171 PyObject * _resultobj;
2172 int _result;
2173 wxToolBar * _arg0;
2174 PyObject * _argo0 = 0;
2175 char *_kwnames[] = { "self", NULL };
2176
2177 self = self;
2178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolSeparation",_kwnames,&_argo0))
2179 return NULL;
2180 if (_argo0) {
2181 if (_argo0 == Py_None) { _arg0 = NULL; }
2182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
2184 return NULL;
2185 }
2186 }
2187 {
2188 wxPy_BEGIN_ALLOW_THREADS;
2189 _result = (int )wxToolBar_GetToolSeparation(_arg0);
2190
2191 wxPy_END_ALLOW_THREADS;
2192 } _resultobj = Py_BuildValue("i",_result);
2193 return _resultobj;
2194 }
2195
2196 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2197 static PyObject *_wrap_wxToolBar_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2198 PyObject * _resultobj;
2199 wxString * _result;
2200 wxToolBar * _arg0;
2201 int _arg1;
2202 PyObject * _argo0 = 0;
2203 char *_kwnames[] = { "self","toolIndex", NULL };
2204
2205 self = self;
2206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolShortHelp",_kwnames,&_argo0,&_arg1))
2207 return NULL;
2208 if (_argo0) {
2209 if (_argo0 == Py_None) { _arg0 = NULL; }
2210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
2212 return NULL;
2213 }
2214 }
2215 {
2216 wxPy_BEGIN_ALLOW_THREADS;
2217 _result = new wxString (wxToolBar_GetToolShortHelp(_arg0,_arg1));
2218
2219 wxPy_END_ALLOW_THREADS;
2220 }{
2221 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2222 }
2223 {
2224 delete _result;
2225 }
2226 return _resultobj;
2227 }
2228
2229 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2230 static PyObject *_wrap_wxToolBar_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject * _resultobj;
2232 bool _result;
2233 wxToolBar * _arg0;
2234 int _arg1;
2235 PyObject * _argo0 = 0;
2236 char *_kwnames[] = { "self","toolIndex", NULL };
2237
2238 self = self;
2239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolState",_kwnames,&_argo0,&_arg1))
2240 return NULL;
2241 if (_argo0) {
2242 if (_argo0 == Py_None) { _arg0 = NULL; }
2243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
2245 return NULL;
2246 }
2247 }
2248 {
2249 wxPy_BEGIN_ALLOW_THREADS;
2250 _result = (bool )wxToolBar_GetToolState(_arg0,_arg1);
2251
2252 wxPy_END_ALLOW_THREADS;
2253 } _resultobj = Py_BuildValue("i",_result);
2254 return _resultobj;
2255 }
2256
2257 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
2258 static PyObject *_wrap_wxToolBar_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
2259 PyObject * _resultobj;
2260 bool _result;
2261 wxToolBar * _arg0;
2262 PyObject * _argo0 = 0;
2263 char *_kwnames[] = { "self", NULL };
2264
2265 self = self;
2266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_Realize",_kwnames,&_argo0))
2267 return NULL;
2268 if (_argo0) {
2269 if (_argo0 == Py_None) { _arg0 = NULL; }
2270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
2272 return NULL;
2273 }
2274 }
2275 {
2276 wxPy_BEGIN_ALLOW_THREADS;
2277 _result = (bool )wxToolBar_Realize(_arg0);
2278
2279 wxPy_END_ALLOW_THREADS;
2280 } _resultobj = Py_BuildValue("i",_result);
2281 return _resultobj;
2282 }
2283
2284 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2285 static PyObject *_wrap_wxToolBar_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject * _resultobj;
2287 wxToolBar * _arg0;
2288 int _arg1;
2289 wxString * _arg2;
2290 PyObject * _argo0 = 0;
2291 PyObject * _obj2 = 0;
2292 char *_kwnames[] = { "self","toolIndex","helpString", NULL };
2293
2294 self = self;
2295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBar_SetToolLongHelp",_kwnames,&_argo0,&_arg1,&_obj2))
2296 return NULL;
2297 if (_argo0) {
2298 if (_argo0 == Py_None) { _arg0 = NULL; }
2299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
2301 return NULL;
2302 }
2303 }
2304 {
2305 if (!PyString_Check(_obj2)) {
2306 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2307 return NULL;
2308 }
2309 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2310 }
2311 {
2312 wxPy_BEGIN_ALLOW_THREADS;
2313 wxToolBar_SetToolLongHelp(_arg0,_arg1,*_arg2);
2314
2315 wxPy_END_ALLOW_THREADS;
2316 } Py_INCREF(Py_None);
2317 _resultobj = Py_None;
2318 {
2319 if (_obj2)
2320 delete _arg2;
2321 }
2322 return _resultobj;
2323 }
2324
2325 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2326 static PyObject *_wrap_wxToolBar_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
2327 PyObject * _resultobj;
2328 wxToolBar * _arg0;
2329 int _arg1;
2330 wxString * _arg2;
2331 PyObject * _argo0 = 0;
2332 PyObject * _obj2 = 0;
2333 char *_kwnames[] = { "self","toolIndex","helpString", NULL };
2334
2335 self = self;
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBar_SetToolShortHelp",_kwnames,&_argo0,&_arg1,&_obj2))
2337 return NULL;
2338 if (_argo0) {
2339 if (_argo0 == Py_None) { _arg0 = NULL; }
2340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
2342 return NULL;
2343 }
2344 }
2345 {
2346 if (!PyString_Check(_obj2)) {
2347 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2348 return NULL;
2349 }
2350 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2351 }
2352 {
2353 wxPy_BEGIN_ALLOW_THREADS;
2354 wxToolBar_SetToolShortHelp(_arg0,_arg1,*_arg2);
2355
2356 wxPy_END_ALLOW_THREADS;
2357 } Py_INCREF(Py_None);
2358 _resultobj = Py_None;
2359 {
2360 if (_obj2)
2361 delete _arg2;
2362 }
2363 return _resultobj;
2364 }
2365
2366 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2367 static PyObject *_wrap_wxToolBar_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
2368 PyObject * _resultobj;
2369 wxToolBar * _arg0;
2370 wxSize * _arg1;
2371 PyObject * _argo0 = 0;
2372 wxSize temp;
2373 PyObject * _obj1 = 0;
2374 char *_kwnames[] = { "self","size", NULL };
2375
2376 self = self;
2377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBar_SetMargins",_kwnames,&_argo0,&_obj1))
2378 return NULL;
2379 if (_argo0) {
2380 if (_argo0 == Py_None) { _arg0 = NULL; }
2381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
2383 return NULL;
2384 }
2385 }
2386 {
2387 _arg1 = &temp;
2388 if (! wxSize_helper(_obj1, &_arg1))
2389 return NULL;
2390 }
2391 {
2392 wxPy_BEGIN_ALLOW_THREADS;
2393 wxToolBar_SetMargins(_arg0,*_arg1);
2394
2395 wxPy_END_ALLOW_THREADS;
2396 } Py_INCREF(Py_None);
2397 _resultobj = Py_None;
2398 return _resultobj;
2399 }
2400
2401 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2402 static PyObject *_wrap_wxToolBar_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
2403 PyObject * _resultobj;
2404 wxToolBar * _arg0;
2405 int _arg1;
2406 PyObject * _argo0 = 0;
2407 char *_kwnames[] = { "self","packing", NULL };
2408
2409 self = self;
2410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_SetToolPacking",_kwnames,&_argo0,&_arg1))
2411 return NULL;
2412 if (_argo0) {
2413 if (_argo0 == Py_None) { _arg0 = NULL; }
2414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
2416 return NULL;
2417 }
2418 }
2419 {
2420 wxPy_BEGIN_ALLOW_THREADS;
2421 wxToolBar_SetToolPacking(_arg0,_arg1);
2422
2423 wxPy_END_ALLOW_THREADS;
2424 } Py_INCREF(Py_None);
2425 _resultobj = Py_None;
2426 return _resultobj;
2427 }
2428
2429 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2430 static PyObject *_wrap_wxToolBar_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
2431 PyObject * _resultobj;
2432 wxToolBar * _arg0;
2433 int _arg1;
2434 PyObject * _argo0 = 0;
2435 char *_kwnames[] = { "self","separation", NULL };
2436
2437 self = self;
2438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_SetToolSeparation",_kwnames,&_argo0,&_arg1))
2439 return NULL;
2440 if (_argo0) {
2441 if (_argo0 == Py_None) { _arg0 = NULL; }
2442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
2444 return NULL;
2445 }
2446 }
2447 {
2448 wxPy_BEGIN_ALLOW_THREADS;
2449 wxToolBar_SetToolSeparation(_arg0,_arg1);
2450
2451 wxPy_END_ALLOW_THREADS;
2452 } Py_INCREF(Py_None);
2453 _resultobj = Py_None;
2454 return _resultobj;
2455 }
2456
2457 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2458 static PyObject *_wrap_wxToolBar_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
2459 PyObject * _resultobj;
2460 wxToolBar * _arg0;
2461 int _arg1;
2462 bool _arg2;
2463 PyObject * _argo0 = 0;
2464 int tempbool2;
2465 char *_kwnames[] = { "self","toolIndex","toggle", NULL };
2466
2467 self = self;
2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBar_ToggleTool",_kwnames,&_argo0,&_arg1,&tempbool2))
2469 return NULL;
2470 if (_argo0) {
2471 if (_argo0 == Py_None) { _arg0 = NULL; }
2472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) {
2473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
2474 return NULL;
2475 }
2476 }
2477 _arg2 = (bool ) tempbool2;
2478 {
2479 wxPy_BEGIN_ALLOW_THREADS;
2480 wxToolBar_ToggleTool(_arg0,_arg1,_arg2);
2481
2482 wxPy_END_ALLOW_THREADS;
2483 } Py_INCREF(Py_None);
2484 _resultobj = Py_None;
2485 return _resultobj;
2486 }
2487
2488 static PyMethodDef stattoolcMethods[] = {
2489 { "wxToolBar_ToggleTool", (PyCFunction) _wrap_wxToolBar_ToggleTool, METH_VARARGS | METH_KEYWORDS },
2490 { "wxToolBar_SetToolSeparation", (PyCFunction) _wrap_wxToolBar_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
2491 { "wxToolBar_SetToolPacking", (PyCFunction) _wrap_wxToolBar_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
2492 { "wxToolBar_SetMargins", (PyCFunction) _wrap_wxToolBar_SetMargins, METH_VARARGS | METH_KEYWORDS },
2493 { "wxToolBar_SetToolShortHelp", (PyCFunction) _wrap_wxToolBar_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
2494 { "wxToolBar_SetToolLongHelp", (PyCFunction) _wrap_wxToolBar_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
2495 { "wxToolBar_Realize", (PyCFunction) _wrap_wxToolBar_Realize, METH_VARARGS | METH_KEYWORDS },
2496 { "wxToolBar_GetToolState", (PyCFunction) _wrap_wxToolBar_GetToolState, METH_VARARGS | METH_KEYWORDS },
2497 { "wxToolBar_GetToolShortHelp", (PyCFunction) _wrap_wxToolBar_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
2498 { "wxToolBar_GetToolSeparation", (PyCFunction) _wrap_wxToolBar_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
2499 { "wxToolBar_GetToolPacking", (PyCFunction) _wrap_wxToolBar_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
2500 { "wxToolBar_GetToolLongHelp", (PyCFunction) _wrap_wxToolBar_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
2501 { "wxToolBar_GetToolEnabled", (PyCFunction) _wrap_wxToolBar_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
2502 { "wxToolBar_GetMaxSize", (PyCFunction) _wrap_wxToolBar_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
2503 { "wxToolBar_SetToolBitmapSize", (PyCFunction) _wrap_wxToolBar_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
2504 { "wxToolBar_GetToolBitmapSize", (PyCFunction) _wrap_wxToolBar_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
2505 { "wxToolBar_GetToolSize", (PyCFunction) _wrap_wxToolBar_GetToolSize, METH_VARARGS | METH_KEYWORDS },
2506 { "wxToolBar_FindToolForPosition", (PyCFunction) _wrap_wxToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
2507 { "wxToolBar_EnableTool", (PyCFunction) _wrap_wxToolBar_EnableTool, METH_VARARGS | METH_KEYWORDS },
2508 { "wxToolBar_AddSimpleTool", (PyCFunction) _wrap_wxToolBar_AddSimpleTool, METH_VARARGS | METH_KEYWORDS },
2509 { "wxToolBar_AddTool", (PyCFunction) _wrap_wxToolBar_AddTool, METH_VARARGS | METH_KEYWORDS },
2510 { "wxToolBar_AddSeparator", (PyCFunction) _wrap_wxToolBar_AddSeparator, METH_VARARGS | METH_KEYWORDS },
2511 { "new_wxToolBar", (PyCFunction) _wrap_new_wxToolBar, METH_VARARGS | METH_KEYWORDS },
2512 { "wxToolBarTool_m_longHelpString_get", (PyCFunction) _wrap_wxToolBarTool_m_longHelpString_get, METH_VARARGS | METH_KEYWORDS },
2513 { "wxToolBarTool_m_longHelpString_set", (PyCFunction) _wrap_wxToolBarTool_m_longHelpString_set, METH_VARARGS | METH_KEYWORDS },
2514 { "wxToolBarTool_m_shortHelpString_get", (PyCFunction) _wrap_wxToolBarTool_m_shortHelpString_get, METH_VARARGS | METH_KEYWORDS },
2515 { "wxToolBarTool_m_shortHelpString_set", (PyCFunction) _wrap_wxToolBarTool_m_shortHelpString_set, METH_VARARGS | METH_KEYWORDS },
2516 { "wxToolBarTool_m_isMenuCommand_get", (PyCFunction) _wrap_wxToolBarTool_m_isMenuCommand_get, METH_VARARGS | METH_KEYWORDS },
2517 { "wxToolBarTool_m_isMenuCommand_set", (PyCFunction) _wrap_wxToolBarTool_m_isMenuCommand_set, METH_VARARGS | METH_KEYWORDS },
2518 { "wxToolBarTool_m_bitmap2_get", (PyCFunction) _wrap_wxToolBarTool_m_bitmap2_get, METH_VARARGS | METH_KEYWORDS },
2519 { "wxToolBarTool_m_bitmap2_set", (PyCFunction) _wrap_wxToolBarTool_m_bitmap2_set, METH_VARARGS | METH_KEYWORDS },
2520 { "wxToolBarTool_m_bitmap1_get", (PyCFunction) _wrap_wxToolBarTool_m_bitmap1_get, METH_VARARGS | METH_KEYWORDS },
2521 { "wxToolBarTool_m_bitmap1_set", (PyCFunction) _wrap_wxToolBarTool_m_bitmap1_set, METH_VARARGS | METH_KEYWORDS },
2522 { "wxToolBarTool_m_enabled_get", (PyCFunction) _wrap_wxToolBarTool_m_enabled_get, METH_VARARGS | METH_KEYWORDS },
2523 { "wxToolBarTool_m_enabled_set", (PyCFunction) _wrap_wxToolBarTool_m_enabled_set, METH_VARARGS | METH_KEYWORDS },
2524 { "wxToolBarTool_m_deleteSecondBitmap_get", (PyCFunction) _wrap_wxToolBarTool_m_deleteSecondBitmap_get, METH_VARARGS | METH_KEYWORDS },
2525 { "wxToolBarTool_m_deleteSecondBitmap_set", (PyCFunction) _wrap_wxToolBarTool_m_deleteSecondBitmap_set, METH_VARARGS | METH_KEYWORDS },
2526 { "wxToolBarTool_m_isToggle_get", (PyCFunction) _wrap_wxToolBarTool_m_isToggle_get, METH_VARARGS | METH_KEYWORDS },
2527 { "wxToolBarTool_m_isToggle_set", (PyCFunction) _wrap_wxToolBarTool_m_isToggle_set, METH_VARARGS | METH_KEYWORDS },
2528 { "wxToolBarTool_m_toggleState_get", (PyCFunction) _wrap_wxToolBarTool_m_toggleState_get, METH_VARARGS | METH_KEYWORDS },
2529 { "wxToolBarTool_m_toggleState_set", (PyCFunction) _wrap_wxToolBarTool_m_toggleState_set, METH_VARARGS | METH_KEYWORDS },
2530 { "wxToolBarTool_m_height_get", (PyCFunction) _wrap_wxToolBarTool_m_height_get, METH_VARARGS | METH_KEYWORDS },
2531 { "wxToolBarTool_m_height_set", (PyCFunction) _wrap_wxToolBarTool_m_height_set, METH_VARARGS | METH_KEYWORDS },
2532 { "wxToolBarTool_m_width_get", (PyCFunction) _wrap_wxToolBarTool_m_width_get, METH_VARARGS | METH_KEYWORDS },
2533 { "wxToolBarTool_m_width_set", (PyCFunction) _wrap_wxToolBarTool_m_width_set, METH_VARARGS | METH_KEYWORDS },
2534 { "wxToolBarTool_m_y_get", (PyCFunction) _wrap_wxToolBarTool_m_y_get, METH_VARARGS | METH_KEYWORDS },
2535 { "wxToolBarTool_m_y_set", (PyCFunction) _wrap_wxToolBarTool_m_y_set, METH_VARARGS | METH_KEYWORDS },
2536 { "wxToolBarTool_m_x_get", (PyCFunction) _wrap_wxToolBarTool_m_x_get, METH_VARARGS | METH_KEYWORDS },
2537 { "wxToolBarTool_m_x_set", (PyCFunction) _wrap_wxToolBarTool_m_x_set, METH_VARARGS | METH_KEYWORDS },
2538 { "wxToolBarTool_m_index_get", (PyCFunction) _wrap_wxToolBarTool_m_index_get, METH_VARARGS | METH_KEYWORDS },
2539 { "wxToolBarTool_m_index_set", (PyCFunction) _wrap_wxToolBarTool_m_index_set, METH_VARARGS | METH_KEYWORDS },
2540 { "wxToolBarTool_m_clientData_get", (PyCFunction) _wrap_wxToolBarTool_m_clientData_get, METH_VARARGS | METH_KEYWORDS },
2541 { "wxToolBarTool_m_clientData_set", (PyCFunction) _wrap_wxToolBarTool_m_clientData_set, METH_VARARGS | METH_KEYWORDS },
2542 { "wxToolBarTool_m_toolStyle_get", (PyCFunction) _wrap_wxToolBarTool_m_toolStyle_get, METH_VARARGS | METH_KEYWORDS },
2543 { "wxToolBarTool_m_toolStyle_set", (PyCFunction) _wrap_wxToolBarTool_m_toolStyle_set, METH_VARARGS | METH_KEYWORDS },
2544 { "wxToolBarTool_GetHeight", (PyCFunction) _wrap_wxToolBarTool_GetHeight, METH_VARARGS | METH_KEYWORDS },
2545 { "wxToolBarTool_GetWidth", (PyCFunction) _wrap_wxToolBarTool_GetWidth, METH_VARARGS | METH_KEYWORDS },
2546 { "wxToolBarTool_SetSize", (PyCFunction) _wrap_wxToolBarTool_SetSize, METH_VARARGS | METH_KEYWORDS },
2547 { "delete_wxToolBarTool", (PyCFunction) _wrap_delete_wxToolBarTool, METH_VARARGS | METH_KEYWORDS },
2548 { "new_wxToolBarTool", (PyCFunction) _wrap_new_wxToolBarTool, METH_VARARGS | METH_KEYWORDS },
2549 { "wxStatusBar_SetStatusWidths", (PyCFunction) _wrap_wxStatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
2550 { "wxStatusBar_SetStatusText", (PyCFunction) _wrap_wxStatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
2551 { "wxStatusBar_SetFieldsCount", (PyCFunction) _wrap_wxStatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
2552 { "wxStatusBar_InitColours", (PyCFunction) _wrap_wxStatusBar_InitColours, METH_VARARGS | METH_KEYWORDS },
2553 { "wxStatusBar_DrawFieldText", (PyCFunction) _wrap_wxStatusBar_DrawFieldText, METH_VARARGS | METH_KEYWORDS },
2554 { "wxStatusBar_DrawField", (PyCFunction) _wrap_wxStatusBar_DrawField, METH_VARARGS | METH_KEYWORDS },
2555 { "wxStatusBar_GetStatusText", (PyCFunction) _wrap_wxStatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
2556 { "wxStatusBar_GetFieldsCount", (PyCFunction) _wrap_wxStatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
2557 { "wxStatusBar_GetFieldRect", (PyCFunction) _wrap_wxStatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
2558 { "new_wxStatusBar", (PyCFunction) _wrap_new_wxStatusBar, METH_VARARGS | METH_KEYWORDS },
2559 { NULL, NULL }
2560 };
2561 #ifdef __cplusplus
2562 }
2563 #endif
2564 /*
2565 * This table is used by the pointer type-checker
2566 */
2567 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2568 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2569 { "_wxEvent","_class_wxEvent",0},
2570 { "_class_wxActivateEvent","_wxActivateEvent",0},
2571 { "_signed_long","_long",0},
2572 { "_wxMenuEvent","_class_wxMenuEvent",0},
2573 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2574 { "_wxPrintQuality","_int",0},
2575 { "_wxPrintQuality","_signed_int",0},
2576 { "_wxPrintQuality","_unsigned_int",0},
2577 { "_wxPrintQuality","_wxWindowID",0},
2578 { "_wxPrintQuality","_uint",0},
2579 { "_wxPrintQuality","_EBool",0},
2580 { "_wxPrintQuality","_size_t",0},
2581 { "_class_wxRegionIterator","_wxRegionIterator",0},
2582 { "_class_wxMenuBar","_wxMenuBar",0},
2583 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler},
2584 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler},
2585 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
2586 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
2587 { "_class_wxEvtHandler","_wxEvtHandler",0},
2588 { "_wxPaintEvent","_class_wxPaintEvent",0},
2589 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2590 { "_wxCursor","_class_wxCursor",0},
2591 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2592 { "_wxMask","_class_wxMask",0},
2593 { "_wxPen","_class_wxPen",0},
2594 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2595 { "_byte","_unsigned_char",0},
2596 { "_wxStaticBox","_class_wxStaticBox",0},
2597 { "_wxChoice","_class_wxChoice",0},
2598 { "_wxSlider","_class_wxSlider",0},
2599 { "_long","_wxDash",0},
2600 { "_long","_unsigned_long",0},
2601 { "_long","_signed_long",0},
2602 { "_wxImageList","_class_wxImageList",0},
2603 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2604 { "_wxBitmapButton","_class_wxBitmapButton",0},
2605 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2606 { "_class_wxGauge","_wxGauge",0},
2607 { "_wxDC","_class_wxDC",0},
2608 { "_wxSpinEvent","_class_wxSpinEvent",0},
2609 { "_size_t","_wxPrintQuality",0},
2610 { "_size_t","_unsigned_int",0},
2611 { "_size_t","_int",0},
2612 { "_size_t","_wxWindowID",0},
2613 { "_size_t","_uint",0},
2614 { "_class_wxRealPoint","_wxRealPoint",0},
2615 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2616 { "_wxPrinterDC","_class_wxPrinterDC",0},
2617 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2618 { "_class_wxMenuItem","_wxMenuItem",0},
2619 { "_class_wxPaintEvent","_wxPaintEvent",0},
2620 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2621 { "_class_wxStatusBar","_wxStatusBar",0},
2622 { "_wxPanel","_class_wxPanel",0},
2623 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2624 { "_wxCheckBox","_class_wxCheckBox",0},
2625 { "_wxPyEvent","_class_wxPyEvent",0},
2626 { "_wxTextCtrl","_class_wxTextCtrl",0},
2627 { "_class_wxMask","_wxMask",0},
2628 { "_class_wxKeyEvent","_wxKeyEvent",0},
2629 { "_wxColour","_class_wxColour",0},
2630 { "_class_wxDialog","_wxDialog",0},
2631 { "_wxIdleEvent","_class_wxIdleEvent",0},
2632 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2633 { "_wxToolBar","_class_wxToolBar",0},
2634 { "_wxStaticLine","_class_wxStaticLine",0},
2635 { "_wxBrush","_class_wxBrush",0},
2636 { "_wxShowEvent","_class_wxShowEvent",0},
2637 { "_uint","_wxPrintQuality",0},
2638 { "_uint","_size_t",0},
2639 { "_uint","_unsigned_int",0},
2640 { "_uint","_int",0},
2641 { "_uint","_wxWindowID",0},
2642 { "_wxPyValidator","_class_wxPyValidator",0},
2643 { "_class_wxEvent","_wxEvent",0},
2644 { "_wxCheckListBox","_class_wxCheckListBox",0},
2645 { "_wxRect","_class_wxRect",0},
2646 { "_wxCommandEvent","_class_wxCommandEvent",0},
2647 { "_wxSizeEvent","_class_wxSizeEvent",0},
2648 { "_wxPoint","_class_wxPoint",0},
2649 { "_class_wxButton","_wxButton",0},
2650 { "_wxRadioBox","_class_wxRadioBox",0},
2651 { "_wxBitmap","_class_wxBitmap",0},
2652 { "_wxPyTimer","_class_wxPyTimer",0},
2653 { "_wxWindowDC","_class_wxWindowDC",0},
2654 { "_wxScrollBar","_class_wxScrollBar",0},
2655 { "_wxSpinButton","_class_wxSpinButton",0},
2656 { "_wxToolBarTool","_class_wxToolBarTool",0},
2657 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2658 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2659 { "_class_wxValidator","_wxValidator",0},
2660 { "_class_wxPyEvent","_wxPyEvent",0},
2661 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2662 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2663 { "_class_wxToolBar","_wxToolBar",0},
2664 { "_class_wxStaticLine","_wxStaticLine",0},
2665 { "_wxScrollEvent","_class_wxScrollEvent",0},
2666 { "_EBool","_wxPrintQuality",0},
2667 { "_EBool","_signed_int",0},
2668 { "_EBool","_int",0},
2669 { "_EBool","_wxWindowID",0},
2670 { "_class_wxRegion","_wxRegion",0},
2671 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2672 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2673 { "_wxStaticText","_class_wxStaticText",0},
2674 { "_wxFont","_class_wxFont",0},
2675 { "_wxCloseEvent","_class_wxCloseEvent",0},
2676 { "_unsigned_long","_wxDash",0},
2677 { "_unsigned_long","_long",0},
2678 { "_class_wxRect","_wxRect",0},
2679 { "_class_wxDC","_wxDC",0},
2680 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2681 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2682 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2683 { "_class_wxPyTimer","_wxPyTimer",0},
2684 { "_wxFocusEvent","_class_wxFocusEvent",0},
2685 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2686 { "_class_wxSpinButton","_wxSpinButton",0},
2687 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2688 { "_class_wxPanel","_wxPanel",0},
2689 { "_class_wxCheckBox","_wxCheckBox",0},
2690 { "_wxComboBox","_class_wxComboBox",0},
2691 { "_wxRadioButton","_class_wxRadioButton",0},
2692 { "_signed_int","_wxPrintQuality",0},
2693 { "_signed_int","_EBool",0},
2694 { "_signed_int","_wxWindowID",0},
2695 { "_signed_int","_int",0},
2696 { "_class_wxTextCtrl","_wxTextCtrl",0},
2697 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2698 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2699 { "_wxMenu","_class_wxMenu",0},
2700 { "_class_wxMoveEvent","_wxMoveEvent",0},
2701 { "_wxListBox","_class_wxListBox",0},
2702 { "_wxScreenDC","_class_wxScreenDC",0},
2703 { "_WXTYPE","_short",0},
2704 { "_WXTYPE","_signed_short",0},
2705 { "_WXTYPE","_unsigned_short",0},
2706 { "_class_wxBrush","_wxBrush",0},
2707 { "_unsigned_short","_WXTYPE",0},
2708 { "_unsigned_short","_short",0},
2709 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow},
2710 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow},
2711 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow},
2712 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow},
2713 { "_class_wxWindow","_wxWindow",0},
2714 { "_class_wxStaticText","_wxStaticText",0},
2715 { "_class_wxFont","_wxFont",0},
2716 { "_class_wxPyValidator","_wxPyValidator",0},
2717 { "_class_wxCloseEvent","_wxCloseEvent",0},
2718 { "_class_wxMenuEvent","_wxMenuEvent",0},
2719 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2720 { "_wxClientDC","_class_wxClientDC",0},
2721 { "_wxMouseEvent","_class_wxMouseEvent",0},
2722 { "_class_wxPoint","_wxPoint",0},
2723 { "_wxRealPoint","_class_wxRealPoint",0},
2724 { "_class_wxRadioBox","_wxRadioBox",0},
2725 { "_signed_short","_WXTYPE",0},
2726 { "_signed_short","_short",0},
2727 { "_wxMemoryDC","_class_wxMemoryDC",0},
2728 { "_wxPaintDC","_class_wxPaintDC",0},
2729 { "_class_wxWindowDC","_wxWindowDC",0},
2730 { "_class_wxFocusEvent","_wxFocusEvent",0},
2731 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2732 { "_wxStatusBar","_class_wxStatusBar",0},
2733 { "_class_wxToolBarTool","_wxToolBarTool",0},
2734 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2735 { "_class_wxCursor","_wxCursor",0},
2736 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2737 { "_unsigned_char","_byte",0},
2738 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2739 { "_class_wxMenu","_wxMenu",0},
2740 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl},
2741 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl},
2742 { "_wxControl","_class_wxControl",0},
2743 { "_class_wxListBox","_wxListBox",0},
2744 { "_unsigned_int","_wxPrintQuality",0},
2745 { "_unsigned_int","_size_t",0},
2746 { "_unsigned_int","_uint",0},
2747 { "_unsigned_int","_wxWindowID",0},
2748 { "_unsigned_int","_int",0},
2749 { "_wxIcon","_class_wxIcon",0},
2750 { "_wxDialog","_class_wxDialog",0},
2751 { "_class_wxPen","_wxPen",0},
2752 { "_short","_WXTYPE",0},
2753 { "_short","_unsigned_short",0},
2754 { "_short","_signed_short",0},
2755 { "_class_wxStaticBox","_wxStaticBox",0},
2756 { "_class_wxScrollEvent","_wxScrollEvent",0},
2757 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2758 { "_class_wxChoice","_wxChoice",0},
2759 { "_class_wxSlider","_wxSlider",0},
2760 { "_class_wxImageList","_wxImageList",0},
2761 { "_class_wxBitmapButton","_wxBitmapButton",0},
2762 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2763 { "_wxWindowID","_wxPrintQuality",0},
2764 { "_wxWindowID","_size_t",0},
2765 { "_wxWindowID","_EBool",0},
2766 { "_wxWindowID","_uint",0},
2767 { "_wxWindowID","_int",0},
2768 { "_wxWindowID","_signed_int",0},
2769 { "_wxWindowID","_unsigned_int",0},
2770 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2771 { "_int","_wxPrintQuality",0},
2772 { "_int","_size_t",0},
2773 { "_int","_EBool",0},
2774 { "_int","_uint",0},
2775 { "_int","_wxWindowID",0},
2776 { "_int","_unsigned_int",0},
2777 { "_int","_signed_int",0},
2778 { "_class_wxMouseEvent","_wxMouseEvent",0},
2779 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2780 { "_class_wxSpinEvent","_wxSpinEvent",0},
2781 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2782 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2783 { "_wxButton","_class_wxButton",0},
2784 { "_wxSize","_class_wxSize",0},
2785 { "_wxRegionIterator","_class_wxRegionIterator",0},
2786 { "_class_wxPrinterDC","_wxPrinterDC",0},
2787 { "_class_wxPaintDC","_wxPaintDC",0},
2788 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2789 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2790 { "_class_wxComboBox","_wxComboBox",0},
2791 { "_class_wxRadioButton","_wxRadioButton",0},
2792 { "_wxValidator","_class_wxValidator",0},
2793 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2794 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2795 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl},
2796 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl},
2797 { "_class_wxControl","_wxControl",0},
2798 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2799 { "_class_wxIcon","_wxIcon",0},
2800 { "_class_wxColour","_wxColour",0},
2801 { "_class_wxScreenDC","_wxScreenDC",0},
2802 { "_wxPalette","_class_wxPalette",0},
2803 { "_class_wxIdleEvent","_wxIdleEvent",0},
2804 { "_wxEraseEvent","_class_wxEraseEvent",0},
2805 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2806 { "_wxRegion","_class_wxRegion",0},
2807 { "_class_wxShowEvent","_wxShowEvent",0},
2808 { "_wxActivateEvent","_class_wxActivateEvent",0},
2809 { "_wxGauge","_class_wxGauge",0},
2810 { "_class_wxCheckListBox","_wxCheckListBox",0},
2811 { "_class_wxCommandEvent","_wxCommandEvent",0},
2812 { "_class_wxClientDC","_wxClientDC",0},
2813 { "_class_wxSizeEvent","_wxSizeEvent",0},
2814 { "_class_wxSize","_wxSize",0},
2815 { "_class_wxBitmap","_wxBitmap",0},
2816 { "_class_wxMemoryDC","_wxMemoryDC",0},
2817 { "_wxMenuBar","_class_wxMenuBar",0},
2818 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler},
2819 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler},
2820 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
2821 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler},
2822 { "_wxEvtHandler","_class_wxEvtHandler",0},
2823 { "_wxMenuItem","_class_wxMenuItem",0},
2824 { "_class_wxScrollBar","_wxScrollBar",0},
2825 { "_wxDash","_unsigned_long",0},
2826 { "_wxDash","_long",0},
2827 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2828 { "_wxKeyEvent","_class_wxKeyEvent",0},
2829 { "_wxMoveEvent","_class_wxMoveEvent",0},
2830 { "_class_wxPalette","_wxPalette",0},
2831 { "_class_wxEraseEvent","_wxEraseEvent",0},
2832 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow},
2833 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow},
2834 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow},
2835 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow},
2836 { "_wxWindow","_class_wxWindow",0},
2837 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2838 {0,0,0}};
2839
2840 static PyObject *SWIG_globals;
2841 #ifdef __cplusplus
2842 extern "C"
2843 #endif
2844 SWIGEXPORT(void) initstattoolc() {
2845 PyObject *m, *d;
2846 SWIG_globals = SWIG_newvarlink();
2847 m = Py_InitModule("stattoolc", stattoolcMethods);
2848 d = PyModule_GetDict(m);
2849 {
2850 int i;
2851 for (i = 0; _swig_mapping[i].n1; i++)
2852 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2853 }
2854 }