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