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