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