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