]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/stattool.cpp
minimal now works in Unicode mode
[wxWidgets.git] / utils / wxPython / src / msw / stattool.cpp
1 /*
2 * FILE : msw/stattool.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
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 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78 }
79
80 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104 }
105
106
107 extern byte* byte_LIST_helper(PyObject* source);
108 extern int* int_LIST_helper(PyObject* source);
109 extern long* long_LIST_helper(PyObject* source);
110 extern char** string_LIST_helper(PyObject* source);
111 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
112 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
113 extern wxString* wxString_LIST_helper(PyObject* source);
114 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
115
116
117 static char* wxStringErrorMsg = "string type is required for parameter";
118 static void *SwigwxStatusBarTowxWindow(void *ptr) {
119 wxStatusBar *src;
120 wxWindow *dest;
121 src = (wxStatusBar *) ptr;
122 dest = (wxWindow *) src;
123 return (void *) dest;
124 }
125
126 static void *SwigwxStatusBarTowxEvtHandler(void *ptr) {
127 wxStatusBar *src;
128 wxEvtHandler *dest;
129 src = (wxStatusBar *) ptr;
130 dest = (wxEvtHandler *) src;
131 return (void *) dest;
132 }
133
134 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
135 static PyObject *_wrap_new_wxStatusBar(PyObject *self, PyObject *args) {
136 PyObject * _resultobj;
137 wxStatusBar * _result;
138 wxWindow * _arg0;
139 wxWindowID _arg1;
140 wxPoint * _arg2 = &wxPyDefaultPosition;
141 wxSize * _arg3 = &wxPyDefaultSize;
142 long _arg4 = wxST_SIZEGRIP;
143 char * _arg5 = "statusBar";
144 char * _argc0 = 0;
145 char * _argc2 = 0;
146 char * _argc3 = 0;
147 char _ptemp[128];
148
149 self = self;
150 if(!PyArg_ParseTuple(args,"si|ssls:new_wxStatusBar",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
151 return NULL;
152 if (_argc0) {
153 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
155 return NULL;
156 }
157 }
158 if (_argc2) {
159 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
160 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStatusBar. Expected _wxPoint_p.");
161 return NULL;
162 }
163 }
164 if (_argc3) {
165 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
166 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStatusBar. Expected _wxSize_p.");
167 return NULL;
168 }
169 }
170 _result = (wxStatusBar *)new_wxStatusBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
171 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
172 _resultobj = Py_BuildValue("s",_ptemp);
173 return _resultobj;
174 }
175
176 static wxRect * wxStatusBar_GetFieldRect(wxStatusBar *self,long item) {
177 wxRect* rect= new wxRect;
178 self->GetFieldRect(item, *rect);
179 return rect;
180 }
181 static PyObject *_wrap_wxStatusBar_GetFieldRect(PyObject *self, PyObject *args) {
182 PyObject * _resultobj;
183 wxRect * _result;
184 wxStatusBar * _arg0;
185 long _arg1;
186 char * _argc0 = 0;
187 char _ptemp[128];
188
189 self = self;
190 if(!PyArg_ParseTuple(args,"sl:wxStatusBar_GetFieldRect",&_argc0,&_arg1))
191 return NULL;
192 if (_argc0) {
193 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
195 return NULL;
196 }
197 }
198 _result = (wxRect *)wxStatusBar_GetFieldRect(_arg0,_arg1);
199 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
200 _resultobj = Py_BuildValue("s",_ptemp);
201 return _resultobj;
202 }
203
204 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
205 static PyObject *_wrap_wxStatusBar_GetFieldsCount(PyObject *self, PyObject *args) {
206 PyObject * _resultobj;
207 int _result;
208 wxStatusBar * _arg0;
209 char * _argc0 = 0;
210
211 self = self;
212 if(!PyArg_ParseTuple(args,"s:wxStatusBar_GetFieldsCount",&_argc0))
213 return NULL;
214 if (_argc0) {
215 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
217 return NULL;
218 }
219 }
220 _result = (int )wxStatusBar_GetFieldsCount(_arg0);
221 _resultobj = Py_BuildValue("i",_result);
222 return _resultobj;
223 }
224
225 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
226 static PyObject *_wrap_wxStatusBar_GetStatusText(PyObject *self, PyObject *args) {
227 PyObject * _resultobj;
228 wxString * _result;
229 wxStatusBar * _arg0;
230 int _arg1 = 0;
231 char * _argc0 = 0;
232
233 self = self;
234 if(!PyArg_ParseTuple(args,"s|i:wxStatusBar_GetStatusText",&_argc0,&_arg1))
235 return NULL;
236 if (_argc0) {
237 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
239 return NULL;
240 }
241 }
242 _result = new wxString (wxStatusBar_GetStatusText(_arg0,_arg1));
243 {
244 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
245 }
246 {
247 delete _result;
248 }
249 return _resultobj;
250 }
251
252 #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
253 static PyObject *_wrap_wxStatusBar_DrawField(PyObject *self, PyObject *args) {
254 PyObject * _resultobj;
255 wxStatusBar * _arg0;
256 wxDC * _arg1;
257 int _arg2;
258 char * _argc0 = 0;
259 char * _argc1 = 0;
260
261 self = self;
262 if(!PyArg_ParseTuple(args,"ssi:wxStatusBar_DrawField",&_argc0,&_argc1,&_arg2))
263 return NULL;
264 if (_argc0) {
265 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
267 return NULL;
268 }
269 }
270 if (_argc1) {
271 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) {
272 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
273 return NULL;
274 }
275 }
276 wxStatusBar_DrawField(_arg0,*_arg1,_arg2);
277 Py_INCREF(Py_None);
278 _resultobj = Py_None;
279 return _resultobj;
280 }
281
282 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
283 static PyObject *_wrap_wxStatusBar_DrawFieldText(PyObject *self, PyObject *args) {
284 PyObject * _resultobj;
285 wxStatusBar * _arg0;
286 wxDC * _arg1;
287 int _arg2;
288 char * _argc0 = 0;
289 char * _argc1 = 0;
290
291 self = self;
292 if(!PyArg_ParseTuple(args,"ssi:wxStatusBar_DrawFieldText",&_argc0,&_argc1,&_arg2))
293 return NULL;
294 if (_argc0) {
295 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
297 return NULL;
298 }
299 }
300 if (_argc1) {
301 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) {
302 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
303 return NULL;
304 }
305 }
306 wxStatusBar_DrawFieldText(_arg0,*_arg1,_arg2);
307 Py_INCREF(Py_None);
308 _resultobj = Py_None;
309 return _resultobj;
310 }
311
312 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
313 static PyObject *_wrap_wxStatusBar_InitColours(PyObject *self, PyObject *args) {
314 PyObject * _resultobj;
315 wxStatusBar * _arg0;
316 char * _argc0 = 0;
317
318 self = self;
319 if(!PyArg_ParseTuple(args,"s:wxStatusBar_InitColours",&_argc0))
320 return NULL;
321 if (_argc0) {
322 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
324 return NULL;
325 }
326 }
327 wxStatusBar_InitColours(_arg0);
328 Py_INCREF(Py_None);
329 _resultobj = Py_None;
330 return _resultobj;
331 }
332
333 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
334 static PyObject *_wrap_wxStatusBar_SetFieldsCount(PyObject *self, PyObject *args) {
335 PyObject * _resultobj;
336 wxStatusBar * _arg0;
337 int _arg1 = 1;
338 char * _argc0 = 0;
339
340 self = self;
341 if(!PyArg_ParseTuple(args,"s|i:wxStatusBar_SetFieldsCount",&_argc0,&_arg1))
342 return NULL;
343 if (_argc0) {
344 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
346 return NULL;
347 }
348 }
349 wxStatusBar_SetFieldsCount(_arg0,_arg1);
350 Py_INCREF(Py_None);
351 _resultobj = Py_None;
352 return _resultobj;
353 }
354
355 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
356 static PyObject *_wrap_wxStatusBar_SetStatusText(PyObject *self, PyObject *args) {
357 PyObject * _resultobj;
358 wxStatusBar * _arg0;
359 wxString * _arg1;
360 int _arg2 = 0;
361 char * _argc0 = 0;
362 PyObject * _obj1 = 0;
363
364 self = self;
365 if(!PyArg_ParseTuple(args,"sO|i:wxStatusBar_SetStatusText",&_argc0,&_obj1,&_arg2))
366 return NULL;
367 if (_argc0) {
368 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
370 return NULL;
371 }
372 }
373 {
374 if (!PyString_Check(_obj1)) {
375 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
376 return NULL;
377 }
378 _arg1 = new wxString(PyString_AsString(_obj1));
379 }
380 wxStatusBar_SetStatusText(_arg0,*_arg1,_arg2);
381 Py_INCREF(Py_None);
382 _resultobj = Py_None;
383 {
384 if (_obj1)
385 delete _arg1;
386 }
387 return _resultobj;
388 }
389
390 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
391 static PyObject *_wrap_wxStatusBar_SetStatusWidths(PyObject *self, PyObject *args) {
392 PyObject * _resultobj;
393 wxStatusBar * _arg0;
394 int _arg1;
395 int * _arg2;
396 char * _argc0 = 0;
397 PyObject * _obj2 = 0;
398
399 self = self;
400 if(!PyArg_ParseTuple(args,"sO:wxStatusBar_SetStatusWidths",&_argc0,&_obj2))
401 return NULL;
402 if (_argc0) {
403 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
405 return NULL;
406 }
407 }
408 if (_obj2)
409 {
410 _arg2 = int_LIST_helper(_obj2);
411 if (_arg2 == NULL) {
412 return NULL;
413 }
414 }
415 {
416 _arg1 = PyList_Size(_obj2);
417 }
418 wxStatusBar_SetStatusWidths(_arg0,_arg1,_arg2);
419 Py_INCREF(Py_None);
420 _resultobj = Py_None;
421 {
422 delete [] _arg2;
423 }
424 return _resultobj;
425 }
426
427 #define new_wxToolBarTool() (new wxToolBarTool())
428 static PyObject *_wrap_new_wxToolBarTool(PyObject *self, PyObject *args) {
429 PyObject * _resultobj;
430 wxToolBarTool * _result;
431 char _ptemp[128];
432
433 self = self;
434 if(!PyArg_ParseTuple(args,":new_wxToolBarTool"))
435 return NULL;
436 _result = (wxToolBarTool *)new_wxToolBarTool();
437 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
438 _resultobj = Py_BuildValue("s",_ptemp);
439 return _resultobj;
440 }
441
442 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
443 static PyObject *_wrap_delete_wxToolBarTool(PyObject *self, PyObject *args) {
444 PyObject * _resultobj;
445 wxToolBarTool * _arg0;
446 char * _argc0 = 0;
447
448 self = self;
449 if(!PyArg_ParseTuple(args,"s:delete_wxToolBarTool",&_argc0))
450 return NULL;
451 if (_argc0) {
452 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
454 return NULL;
455 }
456 }
457 delete_wxToolBarTool(_arg0);
458 Py_INCREF(Py_None);
459 _resultobj = Py_None;
460 return _resultobj;
461 }
462
463 #define wxToolBarTool_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
464 static PyObject *_wrap_wxToolBarTool_SetSize(PyObject *self, PyObject *args) {
465 PyObject * _resultobj;
466 wxToolBarTool * _arg0;
467 long _arg1;
468 long _arg2;
469 char * _argc0 = 0;
470
471 self = self;
472 if(!PyArg_ParseTuple(args,"sll:wxToolBarTool_SetSize",&_argc0,&_arg1,&_arg2))
473 return NULL;
474 if (_argc0) {
475 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_SetSize. Expected _wxToolBarTool_p.");
477 return NULL;
478 }
479 }
480 wxToolBarTool_SetSize(_arg0,_arg1,_arg2);
481 Py_INCREF(Py_None);
482 _resultobj = Py_None;
483 return _resultobj;
484 }
485
486 #define wxToolBarTool_GetWidth(_swigobj) (_swigobj->GetWidth())
487 static PyObject *_wrap_wxToolBarTool_GetWidth(PyObject *self, PyObject *args) {
488 PyObject * _resultobj;
489 long _result;
490 wxToolBarTool * _arg0;
491 char * _argc0 = 0;
492
493 self = self;
494 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_GetWidth",&_argc0))
495 return NULL;
496 if (_argc0) {
497 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_GetWidth. Expected _wxToolBarTool_p.");
499 return NULL;
500 }
501 }
502 _result = (long )wxToolBarTool_GetWidth(_arg0);
503 _resultobj = Py_BuildValue("l",_result);
504 return _resultobj;
505 }
506
507 #define wxToolBarTool_GetHeight(_swigobj) (_swigobj->GetHeight())
508 static PyObject *_wrap_wxToolBarTool_GetHeight(PyObject *self, PyObject *args) {
509 PyObject * _resultobj;
510 long _result;
511 wxToolBarTool * _arg0;
512 char * _argc0 = 0;
513
514 self = self;
515 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_GetHeight",&_argc0))
516 return NULL;
517 if (_argc0) {
518 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_GetHeight. Expected _wxToolBarTool_p.");
520 return NULL;
521 }
522 }
523 _result = (long )wxToolBarTool_GetHeight(_arg0);
524 _resultobj = Py_BuildValue("l",_result);
525 return _resultobj;
526 }
527
528 #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
529 static PyObject *_wrap_wxToolBarTool_m_toolStyle_set(PyObject *self, PyObject *args) {
530 PyObject * _resultobj;
531 int _result;
532 wxToolBarTool * _arg0;
533 int _arg1;
534 char * _argc0 = 0;
535
536 self = self;
537 if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_toolStyle_set",&_argc0,&_arg1))
538 return NULL;
539 if (_argc0) {
540 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
542 return NULL;
543 }
544 }
545 _result = (int )wxToolBarTool_m_toolStyle_set(_arg0,_arg1);
546 _resultobj = Py_BuildValue("i",_result);
547 return _resultobj;
548 }
549
550 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
551 static PyObject *_wrap_wxToolBarTool_m_toolStyle_get(PyObject *self, PyObject *args) {
552 PyObject * _resultobj;
553 int _result;
554 wxToolBarTool * _arg0;
555 char * _argc0 = 0;
556
557 self = self;
558 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_toolStyle_get",&_argc0))
559 return NULL;
560 if (_argc0) {
561 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
563 return NULL;
564 }
565 }
566 _result = (int )wxToolBarTool_m_toolStyle_get(_arg0);
567 _resultobj = Py_BuildValue("i",_result);
568 return _resultobj;
569 }
570
571 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
572 static PyObject *_wrap_wxToolBarTool_m_clientData_set(PyObject *self, PyObject *args) {
573 PyObject * _resultobj;
574 wxObject * _result;
575 wxToolBarTool * _arg0;
576 wxObject * _arg1;
577 char * _argc0 = 0;
578 char * _argc1 = 0;
579 char _ptemp[128];
580
581 self = self;
582 if(!PyArg_ParseTuple(args,"ss:wxToolBarTool_m_clientData_set",&_argc0,&_argc1))
583 return NULL;
584 if (_argc0) {
585 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
587 return NULL;
588 }
589 }
590 if (_argc1) {
591 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxObject_p")) {
592 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
593 return NULL;
594 }
595 }
596 _result = (wxObject *)wxToolBarTool_m_clientData_set(_arg0,_arg1);
597 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
598 _resultobj = Py_BuildValue("s",_ptemp);
599 return _resultobj;
600 }
601
602 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
603 static PyObject *_wrap_wxToolBarTool_m_clientData_get(PyObject *self, PyObject *args) {
604 PyObject * _resultobj;
605 wxObject * _result;
606 wxToolBarTool * _arg0;
607 char * _argc0 = 0;
608 char _ptemp[128];
609
610 self = self;
611 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_clientData_get",&_argc0))
612 return NULL;
613 if (_argc0) {
614 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
616 return NULL;
617 }
618 }
619 _result = (wxObject *)wxToolBarTool_m_clientData_get(_arg0);
620 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
621 _resultobj = Py_BuildValue("s",_ptemp);
622 return _resultobj;
623 }
624
625 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
626 static PyObject *_wrap_wxToolBarTool_m_index_set(PyObject *self, PyObject *args) {
627 PyObject * _resultobj;
628 int _result;
629 wxToolBarTool * _arg0;
630 int _arg1;
631 char * _argc0 = 0;
632
633 self = self;
634 if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_index_set",&_argc0,&_arg1))
635 return NULL;
636 if (_argc0) {
637 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
639 return NULL;
640 }
641 }
642 _result = (int )wxToolBarTool_m_index_set(_arg0,_arg1);
643 _resultobj = Py_BuildValue("i",_result);
644 return _resultobj;
645 }
646
647 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
648 static PyObject *_wrap_wxToolBarTool_m_index_get(PyObject *self, PyObject *args) {
649 PyObject * _resultobj;
650 int _result;
651 wxToolBarTool * _arg0;
652 char * _argc0 = 0;
653
654 self = self;
655 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_index_get",&_argc0))
656 return NULL;
657 if (_argc0) {
658 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
660 return NULL;
661 }
662 }
663 _result = (int )wxToolBarTool_m_index_get(_arg0);
664 _resultobj = Py_BuildValue("i",_result);
665 return _resultobj;
666 }
667
668 #define wxToolBarTool_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
669 static PyObject *_wrap_wxToolBarTool_m_x_set(PyObject *self, PyObject *args) {
670 PyObject * _resultobj;
671 long _result;
672 wxToolBarTool * _arg0;
673 long _arg1;
674 char * _argc0 = 0;
675
676 self = self;
677 if(!PyArg_ParseTuple(args,"sl:wxToolBarTool_m_x_set",&_argc0,&_arg1))
678 return NULL;
679 if (_argc0) {
680 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_x_set. Expected _wxToolBarTool_p.");
682 return NULL;
683 }
684 }
685 _result = (long )wxToolBarTool_m_x_set(_arg0,_arg1);
686 _resultobj = Py_BuildValue("l",_result);
687 return _resultobj;
688 }
689
690 #define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x)
691 static PyObject *_wrap_wxToolBarTool_m_x_get(PyObject *self, PyObject *args) {
692 PyObject * _resultobj;
693 long _result;
694 wxToolBarTool * _arg0;
695 char * _argc0 = 0;
696
697 self = self;
698 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_x_get",&_argc0))
699 return NULL;
700 if (_argc0) {
701 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_x_get. Expected _wxToolBarTool_p.");
703 return NULL;
704 }
705 }
706 _result = (long )wxToolBarTool_m_x_get(_arg0);
707 _resultobj = Py_BuildValue("l",_result);
708 return _resultobj;
709 }
710
711 #define wxToolBarTool_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
712 static PyObject *_wrap_wxToolBarTool_m_y_set(PyObject *self, PyObject *args) {
713 PyObject * _resultobj;
714 long _result;
715 wxToolBarTool * _arg0;
716 long _arg1;
717 char * _argc0 = 0;
718
719 self = self;
720 if(!PyArg_ParseTuple(args,"sl:wxToolBarTool_m_y_set",&_argc0,&_arg1))
721 return NULL;
722 if (_argc0) {
723 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_y_set. Expected _wxToolBarTool_p.");
725 return NULL;
726 }
727 }
728 _result = (long )wxToolBarTool_m_y_set(_arg0,_arg1);
729 _resultobj = Py_BuildValue("l",_result);
730 return _resultobj;
731 }
732
733 #define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y)
734 static PyObject *_wrap_wxToolBarTool_m_y_get(PyObject *self, PyObject *args) {
735 PyObject * _resultobj;
736 long _result;
737 wxToolBarTool * _arg0;
738 char * _argc0 = 0;
739
740 self = self;
741 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_y_get",&_argc0))
742 return NULL;
743 if (_argc0) {
744 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_y_get. Expected _wxToolBarTool_p.");
746 return NULL;
747 }
748 }
749 _result = (long )wxToolBarTool_m_y_get(_arg0);
750 _resultobj = Py_BuildValue("l",_result);
751 return _resultobj;
752 }
753
754 #define wxToolBarTool_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
755 static PyObject *_wrap_wxToolBarTool_m_width_set(PyObject *self, PyObject *args) {
756 PyObject * _resultobj;
757 long _result;
758 wxToolBarTool * _arg0;
759 long _arg1;
760 char * _argc0 = 0;
761
762 self = self;
763 if(!PyArg_ParseTuple(args,"sl:wxToolBarTool_m_width_set",&_argc0,&_arg1))
764 return NULL;
765 if (_argc0) {
766 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_width_set. Expected _wxToolBarTool_p.");
768 return NULL;
769 }
770 }
771 _result = (long )wxToolBarTool_m_width_set(_arg0,_arg1);
772 _resultobj = Py_BuildValue("l",_result);
773 return _resultobj;
774 }
775
776 #define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width)
777 static PyObject *_wrap_wxToolBarTool_m_width_get(PyObject *self, PyObject *args) {
778 PyObject * _resultobj;
779 long _result;
780 wxToolBarTool * _arg0;
781 char * _argc0 = 0;
782
783 self = self;
784 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_width_get",&_argc0))
785 return NULL;
786 if (_argc0) {
787 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_width_get. Expected _wxToolBarTool_p.");
789 return NULL;
790 }
791 }
792 _result = (long )wxToolBarTool_m_width_get(_arg0);
793 _resultobj = Py_BuildValue("l",_result);
794 return _resultobj;
795 }
796
797 #define wxToolBarTool_m_height_set(_swigobj,_swigval) (_swigobj->m_height = _swigval,_swigval)
798 static PyObject *_wrap_wxToolBarTool_m_height_set(PyObject *self, PyObject *args) {
799 PyObject * _resultobj;
800 long _result;
801 wxToolBarTool * _arg0;
802 long _arg1;
803 char * _argc0 = 0;
804
805 self = self;
806 if(!PyArg_ParseTuple(args,"sl:wxToolBarTool_m_height_set",&_argc0,&_arg1))
807 return NULL;
808 if (_argc0) {
809 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_height_set. Expected _wxToolBarTool_p.");
811 return NULL;
812 }
813 }
814 _result = (long )wxToolBarTool_m_height_set(_arg0,_arg1);
815 _resultobj = Py_BuildValue("l",_result);
816 return _resultobj;
817 }
818
819 #define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height)
820 static PyObject *_wrap_wxToolBarTool_m_height_get(PyObject *self, PyObject *args) {
821 PyObject * _resultobj;
822 long _result;
823 wxToolBarTool * _arg0;
824 char * _argc0 = 0;
825
826 self = self;
827 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_height_get",&_argc0))
828 return NULL;
829 if (_argc0) {
830 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_height_get. Expected _wxToolBarTool_p.");
832 return NULL;
833 }
834 }
835 _result = (long )wxToolBarTool_m_height_get(_arg0);
836 _resultobj = Py_BuildValue("l",_result);
837 return _resultobj;
838 }
839
840 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
841 static PyObject *_wrap_wxToolBarTool_m_toggleState_set(PyObject *self, PyObject *args) {
842 PyObject * _resultobj;
843 bool _result;
844 wxToolBarTool * _arg0;
845 bool _arg1;
846 char * _argc0 = 0;
847 int tempbool1;
848
849 self = self;
850 if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_toggleState_set",&_argc0,&tempbool1))
851 return NULL;
852 if (_argc0) {
853 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
855 return NULL;
856 }
857 }
858 _arg1 = (bool ) tempbool1;
859 _result = (bool )wxToolBarTool_m_toggleState_set(_arg0,_arg1);
860 _resultobj = Py_BuildValue("i",_result);
861 return _resultobj;
862 }
863
864 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
865 static PyObject *_wrap_wxToolBarTool_m_toggleState_get(PyObject *self, PyObject *args) {
866 PyObject * _resultobj;
867 bool _result;
868 wxToolBarTool * _arg0;
869 char * _argc0 = 0;
870
871 self = self;
872 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_toggleState_get",&_argc0))
873 return NULL;
874 if (_argc0) {
875 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
877 return NULL;
878 }
879 }
880 _result = (bool )wxToolBarTool_m_toggleState_get(_arg0);
881 _resultobj = Py_BuildValue("i",_result);
882 return _resultobj;
883 }
884
885 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
886 static PyObject *_wrap_wxToolBarTool_m_isToggle_set(PyObject *self, PyObject *args) {
887 PyObject * _resultobj;
888 bool _result;
889 wxToolBarTool * _arg0;
890 bool _arg1;
891 char * _argc0 = 0;
892 int tempbool1;
893
894 self = self;
895 if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_isToggle_set",&_argc0,&tempbool1))
896 return NULL;
897 if (_argc0) {
898 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
900 return NULL;
901 }
902 }
903 _arg1 = (bool ) tempbool1;
904 _result = (bool )wxToolBarTool_m_isToggle_set(_arg0,_arg1);
905 _resultobj = Py_BuildValue("i",_result);
906 return _resultobj;
907 }
908
909 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
910 static PyObject *_wrap_wxToolBarTool_m_isToggle_get(PyObject *self, PyObject *args) {
911 PyObject * _resultobj;
912 bool _result;
913 wxToolBarTool * _arg0;
914 char * _argc0 = 0;
915
916 self = self;
917 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_isToggle_get",&_argc0))
918 return NULL;
919 if (_argc0) {
920 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
922 return NULL;
923 }
924 }
925 _result = (bool )wxToolBarTool_m_isToggle_get(_arg0);
926 _resultobj = Py_BuildValue("i",_result);
927 return _resultobj;
928 }
929
930 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
931 static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject *self, PyObject *args) {
932 PyObject * _resultobj;
933 bool _result;
934 wxToolBarTool * _arg0;
935 bool _arg1;
936 char * _argc0 = 0;
937 int tempbool1;
938
939 self = self;
940 if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_deleteSecondBitmap_set",&_argc0,&tempbool1))
941 return NULL;
942 if (_argc0) {
943 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
945 return NULL;
946 }
947 }
948 _arg1 = (bool ) tempbool1;
949 _result = (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0,_arg1);
950 _resultobj = Py_BuildValue("i",_result);
951 return _resultobj;
952 }
953
954 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
955 static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject *self, PyObject *args) {
956 PyObject * _resultobj;
957 bool _result;
958 wxToolBarTool * _arg0;
959 char * _argc0 = 0;
960
961 self = self;
962 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_deleteSecondBitmap_get",&_argc0))
963 return NULL;
964 if (_argc0) {
965 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
967 return NULL;
968 }
969 }
970 _result = (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0);
971 _resultobj = Py_BuildValue("i",_result);
972 return _resultobj;
973 }
974
975 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
976 static PyObject *_wrap_wxToolBarTool_m_enabled_set(PyObject *self, PyObject *args) {
977 PyObject * _resultobj;
978 bool _result;
979 wxToolBarTool * _arg0;
980 bool _arg1;
981 char * _argc0 = 0;
982 int tempbool1;
983
984 self = self;
985 if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_enabled_set",&_argc0,&tempbool1))
986 return NULL;
987 if (_argc0) {
988 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
990 return NULL;
991 }
992 }
993 _arg1 = (bool ) tempbool1;
994 _result = (bool )wxToolBarTool_m_enabled_set(_arg0,_arg1);
995 _resultobj = Py_BuildValue("i",_result);
996 return _resultobj;
997 }
998
999 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
1000 static PyObject *_wrap_wxToolBarTool_m_enabled_get(PyObject *self, PyObject *args) {
1001 PyObject * _resultobj;
1002 bool _result;
1003 wxToolBarTool * _arg0;
1004 char * _argc0 = 0;
1005
1006 self = self;
1007 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_enabled_get",&_argc0))
1008 return NULL;
1009 if (_argc0) {
1010 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
1011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
1012 return NULL;
1013 }
1014 }
1015 _result = (bool )wxToolBarTool_m_enabled_get(_arg0);
1016 _resultobj = Py_BuildValue("i",_result);
1017 return _resultobj;
1018 }
1019
1020 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
1021 static PyObject *_wrap_wxToolBarTool_m_bitmap1_set(PyObject *self, PyObject *args) {
1022 PyObject * _resultobj;
1023 wxBitmap * _result;
1024 wxToolBarTool * _arg0;
1025 wxBitmap * _arg1;
1026 char * _argc0 = 0;
1027 char * _argc1 = 0;
1028 char _ptemp[128];
1029
1030 self = self;
1031 if(!PyArg_ParseTuple(args,"ss:wxToolBarTool_m_bitmap1_set",&_argc0,&_argc1))
1032 return NULL;
1033 if (_argc0) {
1034 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
1035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
1036 return NULL;
1037 }
1038 }
1039 if (_argc1) {
1040 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
1041 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
1042 return NULL;
1043 }
1044 }
1045 _result = (wxBitmap *)wxToolBarTool_m_bitmap1_set(_arg0,_arg1);
1046 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1047 _resultobj = Py_BuildValue("s",_ptemp);
1048 return _resultobj;
1049 }
1050
1051 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
1052 static PyObject *_wrap_wxToolBarTool_m_bitmap1_get(PyObject *self, PyObject *args) {
1053 PyObject * _resultobj;
1054 wxBitmap * _result;
1055 wxToolBarTool * _arg0;
1056 char * _argc0 = 0;
1057 char _ptemp[128];
1058
1059 self = self;
1060 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_bitmap1_get",&_argc0))
1061 return NULL;
1062 if (_argc0) {
1063 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
1064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1065 return NULL;
1066 }
1067 }
1068 _result = (wxBitmap *)wxToolBarTool_m_bitmap1_get(_arg0);
1069 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1070 _resultobj = Py_BuildValue("s",_ptemp);
1071 return _resultobj;
1072 }
1073
1074 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1075 static PyObject *_wrap_wxToolBarTool_m_bitmap2_set(PyObject *self, PyObject *args) {
1076 PyObject * _resultobj;
1077 wxBitmap * _result;
1078 wxToolBarTool * _arg0;
1079 wxBitmap * _arg1;
1080 char * _argc0 = 0;
1081 char * _argc1 = 0;
1082 char _ptemp[128];
1083
1084 self = self;
1085 if(!PyArg_ParseTuple(args,"ss:wxToolBarTool_m_bitmap2_set",&_argc0,&_argc1))
1086 return NULL;
1087 if (_argc0) {
1088 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
1089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1090 return NULL;
1091 }
1092 }
1093 if (_argc1) {
1094 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
1095 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1096 return NULL;
1097 }
1098 }
1099 _result = (wxBitmap *)wxToolBarTool_m_bitmap2_set(_arg0,_arg1);
1100 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1101 _resultobj = Py_BuildValue("s",_ptemp);
1102 return _resultobj;
1103 }
1104
1105 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1106 static PyObject *_wrap_wxToolBarTool_m_bitmap2_get(PyObject *self, PyObject *args) {
1107 PyObject * _resultobj;
1108 wxBitmap * _result;
1109 wxToolBarTool * _arg0;
1110 char * _argc0 = 0;
1111 char _ptemp[128];
1112
1113 self = self;
1114 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_bitmap2_get",&_argc0))
1115 return NULL;
1116 if (_argc0) {
1117 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
1118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1119 return NULL;
1120 }
1121 }
1122 _result = (wxBitmap *)wxToolBarTool_m_bitmap2_get(_arg0);
1123 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1124 _resultobj = Py_BuildValue("s",_ptemp);
1125 return _resultobj;
1126 }
1127
1128 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1129 static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject *self, PyObject *args) {
1130 PyObject * _resultobj;
1131 bool _result;
1132 wxToolBarTool * _arg0;
1133 bool _arg1;
1134 char * _argc0 = 0;
1135 int tempbool1;
1136
1137 self = self;
1138 if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_isMenuCommand_set",&_argc0,&tempbool1))
1139 return NULL;
1140 if (_argc0) {
1141 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
1142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1143 return NULL;
1144 }
1145 }
1146 _arg1 = (bool ) tempbool1;
1147 _result = (bool )wxToolBarTool_m_isMenuCommand_set(_arg0,_arg1);
1148 _resultobj = Py_BuildValue("i",_result);
1149 return _resultobj;
1150 }
1151
1152 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1153 static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject *self, PyObject *args) {
1154 PyObject * _resultobj;
1155 bool _result;
1156 wxToolBarTool * _arg0;
1157 char * _argc0 = 0;
1158
1159 self = self;
1160 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_isMenuCommand_get",&_argc0))
1161 return NULL;
1162 if (_argc0) {
1163 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
1164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1165 return NULL;
1166 }
1167 }
1168 _result = (bool )wxToolBarTool_m_isMenuCommand_get(_arg0);
1169 _resultobj = Py_BuildValue("i",_result);
1170 return _resultobj;
1171 }
1172
1173 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1174 static PyObject *_wrap_wxToolBarTool_m_shortHelpString_set(PyObject *self, PyObject *args) {
1175 PyObject * _resultobj;
1176 wxString * _result;
1177 wxToolBarTool * _arg0;
1178 wxString * _arg1;
1179 char * _argc0 = 0;
1180 PyObject * _obj1 = 0;
1181
1182 self = self;
1183 if(!PyArg_ParseTuple(args,"sO:wxToolBarTool_m_shortHelpString_set",&_argc0,&_obj1))
1184 return NULL;
1185 if (_argc0) {
1186 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
1187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1188 return NULL;
1189 }
1190 }
1191 {
1192 if (!PyString_Check(_obj1)) {
1193 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1194 return NULL;
1195 }
1196 _arg1 = new wxString(PyString_AsString(_obj1));
1197 }
1198 _result = (wxString *)wxToolBarTool_m_shortHelpString_set(_arg0,_arg1);
1199 {
1200 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1201 }
1202 {
1203 if (_obj1)
1204 delete _arg1;
1205 }
1206 return _resultobj;
1207 }
1208
1209 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1210 static PyObject *_wrap_wxToolBarTool_m_shortHelpString_get(PyObject *self, PyObject *args) {
1211 PyObject * _resultobj;
1212 wxString * _result;
1213 wxToolBarTool * _arg0;
1214 char * _argc0 = 0;
1215
1216 self = self;
1217 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_shortHelpString_get",&_argc0))
1218 return NULL;
1219 if (_argc0) {
1220 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
1221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1222 return NULL;
1223 }
1224 }
1225 _result = (wxString *)wxToolBarTool_m_shortHelpString_get(_arg0);
1226 {
1227 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1228 }
1229 return _resultobj;
1230 }
1231
1232 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1233 static PyObject *_wrap_wxToolBarTool_m_longHelpString_set(PyObject *self, PyObject *args) {
1234 PyObject * _resultobj;
1235 wxString * _result;
1236 wxToolBarTool * _arg0;
1237 wxString * _arg1;
1238 char * _argc0 = 0;
1239 PyObject * _obj1 = 0;
1240
1241 self = self;
1242 if(!PyArg_ParseTuple(args,"sO:wxToolBarTool_m_longHelpString_set",&_argc0,&_obj1))
1243 return NULL;
1244 if (_argc0) {
1245 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
1246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1247 return NULL;
1248 }
1249 }
1250 {
1251 if (!PyString_Check(_obj1)) {
1252 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1253 return NULL;
1254 }
1255 _arg1 = new wxString(PyString_AsString(_obj1));
1256 }
1257 _result = (wxString *)wxToolBarTool_m_longHelpString_set(_arg0,_arg1);
1258 {
1259 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1260 }
1261 {
1262 if (_obj1)
1263 delete _arg1;
1264 }
1265 return _resultobj;
1266 }
1267
1268 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1269 static PyObject *_wrap_wxToolBarTool_m_longHelpString_get(PyObject *self, PyObject *args) {
1270 PyObject * _resultobj;
1271 wxString * _result;
1272 wxToolBarTool * _arg0;
1273 char * _argc0 = 0;
1274
1275 self = self;
1276 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_longHelpString_get",&_argc0))
1277 return NULL;
1278 if (_argc0) {
1279 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
1280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1281 return NULL;
1282 }
1283 }
1284 _result = (wxString *)wxToolBarTool_m_longHelpString_get(_arg0);
1285 {
1286 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
1287 }
1288 return _resultobj;
1289 }
1290
1291 static void *SwigwxToolBarTowxControl(void *ptr) {
1292 wxToolBar *src;
1293 wxControl *dest;
1294 src = (wxToolBar *) ptr;
1295 dest = (wxControl *) src;
1296 return (void *) dest;
1297 }
1298
1299 static void *SwigwxToolBarTowxWindow(void *ptr) {
1300 wxToolBar *src;
1301 wxWindow *dest;
1302 src = (wxToolBar *) ptr;
1303 dest = (wxWindow *) src;
1304 return (void *) dest;
1305 }
1306
1307 static void *SwigwxToolBarTowxEvtHandler(void *ptr) {
1308 wxToolBar *src;
1309 wxEvtHandler *dest;
1310 src = (wxToolBar *) ptr;
1311 dest = (wxEvtHandler *) src;
1312 return (void *) dest;
1313 }
1314
1315 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1316 static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args) {
1317 PyObject * _resultobj;
1318 wxToolBar * _result;
1319 wxWindow * _arg0;
1320 wxWindowID _arg1;
1321 wxPoint * _arg2 = &wxPyDefaultPosition;
1322 wxSize * _arg3 = &wxPyDefaultSize;
1323 long _arg4 = (wxTB_HORIZONTAL)|(wxNO_BORDER);
1324 char * _arg5 = "toolBar";
1325 char * _argc0 = 0;
1326 char * _argc2 = 0;
1327 char * _argc3 = 0;
1328 char _ptemp[128];
1329
1330 self = self;
1331 if(!PyArg_ParseTuple(args,"si|ssls:new_wxToolBar",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
1332 return NULL;
1333 if (_argc0) {
1334 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1336 return NULL;
1337 }
1338 }
1339 if (_argc2) {
1340 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
1341 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p.");
1342 return NULL;
1343 }
1344 }
1345 if (_argc3) {
1346 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
1347 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p.");
1348 return NULL;
1349 }
1350 }
1351 _result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1352 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
1353 _resultobj = Py_BuildValue("s",_ptemp);
1354 return _resultobj;
1355 }
1356
1357 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1358 static PyObject *_wrap_wxToolBar_AddSeparator(PyObject *self, PyObject *args) {
1359 PyObject * _resultobj;
1360 wxToolBar * _arg0;
1361 char * _argc0 = 0;
1362
1363 self = self;
1364 if(!PyArg_ParseTuple(args,"s:wxToolBar_AddSeparator",&_argc0))
1365 return NULL;
1366 if (_argc0) {
1367 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1369 return NULL;
1370 }
1371 }
1372 wxToolBar_AddSeparator(_arg0);
1373 Py_INCREF(Py_None);
1374 _resultobj = Py_None;
1375 return _resultobj;
1376 }
1377
1378 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) {
1379 return self->AddTool(toolIndex, bitmap1, bitmap2,
1380 isToggle, xPos, yPos, NULL,
1381 shortHelpString, longHelpString);
1382 }
1383 static PyObject *_wrap_wxToolBar_AddTool(PyObject *self, PyObject *args) {
1384 PyObject * _resultobj;
1385 wxToolBarTool * _result;
1386 wxToolBar * _arg0;
1387 int _arg1;
1388 wxBitmap * _arg2;
1389 wxBitmap * _arg3 = &wxNullBitmap;
1390 int _arg4 = (0);
1391 long _arg5 = -1;
1392 long _arg6 = -1;
1393 wxString * _arg7 = &wxPyEmptyStr;
1394 wxString * _arg8 = &wxPyEmptyStr;
1395 char * _argc0 = 0;
1396 char * _argc2 = 0;
1397 char * _argc3 = 0;
1398 PyObject * _obj7 = 0;
1399 PyObject * _obj8 = 0;
1400 char _ptemp[128];
1401
1402 self = self;
1403 if(!PyArg_ParseTuple(args,"sis|sillOO:wxToolBar_AddTool",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5,&_arg6,&_obj7,&_obj8))
1404 return NULL;
1405 if (_argc0) {
1406 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1408 return NULL;
1409 }
1410 }
1411 if (_argc2) {
1412 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
1413 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1414 return NULL;
1415 }
1416 }
1417 if (_argc3) {
1418 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxBitmap_p")) {
1419 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1420 return NULL;
1421 }
1422 }
1423 if (_obj7)
1424 {
1425 if (!PyString_Check(_obj7)) {
1426 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1427 return NULL;
1428 }
1429 _arg7 = new wxString(PyString_AsString(_obj7));
1430 }
1431 if (_obj8)
1432 {
1433 if (!PyString_Check(_obj8)) {
1434 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1435 return NULL;
1436 }
1437 _arg8 = new wxString(PyString_AsString(_obj8));
1438 }
1439 _result = (wxToolBarTool *)wxToolBar_AddTool(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
1440 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
1441 _resultobj = Py_BuildValue("s",_ptemp);
1442 {
1443 if (_obj7)
1444 delete _arg7;
1445 }
1446 {
1447 if (_obj8)
1448 delete _arg8;
1449 }
1450 return _resultobj;
1451 }
1452
1453 static wxToolBarTool * wxToolBar_AddSimpleTool(wxToolBar *self,int toolIndex,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString) {
1454 return self->AddTool(toolIndex, bitmap, wxNullBitmap,
1455 FALSE, -1, -1, NULL,
1456 shortHelpString, longHelpString);
1457 }
1458 static PyObject *_wrap_wxToolBar_AddSimpleTool(PyObject *self, PyObject *args) {
1459 PyObject * _resultobj;
1460 wxToolBarTool * _result;
1461 wxToolBar * _arg0;
1462 int _arg1;
1463 wxBitmap * _arg2;
1464 wxString * _arg3 = &wxPyEmptyStr;
1465 wxString * _arg4 = &wxPyEmptyStr;
1466 char * _argc0 = 0;
1467 char * _argc2 = 0;
1468 PyObject * _obj3 = 0;
1469 PyObject * _obj4 = 0;
1470 char _ptemp[128];
1471
1472 self = self;
1473 if(!PyArg_ParseTuple(args,"sis|OO:wxToolBar_AddSimpleTool",&_argc0,&_arg1,&_argc2,&_obj3,&_obj4))
1474 return NULL;
1475 if (_argc0) {
1476 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1478 return NULL;
1479 }
1480 }
1481 if (_argc2) {
1482 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
1483 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1484 return NULL;
1485 }
1486 }
1487 if (_obj3)
1488 {
1489 if (!PyString_Check(_obj3)) {
1490 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1491 return NULL;
1492 }
1493 _arg3 = new wxString(PyString_AsString(_obj3));
1494 }
1495 if (_obj4)
1496 {
1497 if (!PyString_Check(_obj4)) {
1498 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1499 return NULL;
1500 }
1501 _arg4 = new wxString(PyString_AsString(_obj4));
1502 }
1503 _result = (wxToolBarTool *)wxToolBar_AddSimpleTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4);
1504 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
1505 _resultobj = Py_BuildValue("s",_ptemp);
1506 {
1507 if (_obj3)
1508 delete _arg3;
1509 }
1510 {
1511 if (_obj4)
1512 delete _arg4;
1513 }
1514 return _resultobj;
1515 }
1516
1517 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1518 static PyObject *_wrap_wxToolBar_EnableTool(PyObject *self, PyObject *args) {
1519 PyObject * _resultobj;
1520 wxToolBar * _arg0;
1521 int _arg1;
1522 bool _arg2;
1523 char * _argc0 = 0;
1524 int tempbool2;
1525
1526 self = self;
1527 if(!PyArg_ParseTuple(args,"sii:wxToolBar_EnableTool",&_argc0,&_arg1,&tempbool2))
1528 return NULL;
1529 if (_argc0) {
1530 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1532 return NULL;
1533 }
1534 }
1535 _arg2 = (bool ) tempbool2;
1536 wxToolBar_EnableTool(_arg0,_arg1,_arg2);
1537 Py_INCREF(Py_None);
1538 _resultobj = Py_None;
1539 return _resultobj;
1540 }
1541
1542 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
1543 static PyObject *_wrap_wxToolBar_FindToolForPosition(PyObject *self, PyObject *args) {
1544 PyObject * _resultobj;
1545 wxToolBarTool * _result;
1546 wxToolBar * _arg0;
1547 float _arg1;
1548 float _arg2;
1549 char * _argc0 = 0;
1550 char _ptemp[128];
1551
1552 self = self;
1553 if(!PyArg_ParseTuple(args,"sff:wxToolBar_FindToolForPosition",&_argc0,&_arg1,&_arg2))
1554 return NULL;
1555 if (_argc0) {
1556 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
1558 return NULL;
1559 }
1560 }
1561 _result = (wxToolBarTool *)wxToolBar_FindToolForPosition(_arg0,_arg1,_arg2);
1562 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
1563 _resultobj = Py_BuildValue("s",_ptemp);
1564 return _resultobj;
1565 }
1566
1567 #define wxToolBar_GetToolSize(_swigobj) (_swigobj->GetToolSize())
1568 static PyObject *_wrap_wxToolBar_GetToolSize(PyObject *self, PyObject *args) {
1569 PyObject * _resultobj;
1570 wxSize * _result;
1571 wxToolBar * _arg0;
1572 char * _argc0 = 0;
1573 char _ptemp[128];
1574
1575 self = self;
1576 if(!PyArg_ParseTuple(args,"s:wxToolBar_GetToolSize",&_argc0))
1577 return NULL;
1578 if (_argc0) {
1579 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolSize. Expected _wxToolBar_p.");
1581 return NULL;
1582 }
1583 }
1584 _result = new wxSize (wxToolBar_GetToolSize(_arg0));
1585 SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1586 _resultobj = Py_BuildValue("s",_ptemp);
1587 return _resultobj;
1588 }
1589
1590 #define wxToolBar_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
1591 static PyObject *_wrap_wxToolBar_GetToolBitmapSize(PyObject *self, PyObject *args) {
1592 PyObject * _resultobj;
1593 wxSize * _result;
1594 wxToolBar * _arg0;
1595 char * _argc0 = 0;
1596 char _ptemp[128];
1597
1598 self = self;
1599 if(!PyArg_ParseTuple(args,"s:wxToolBar_GetToolBitmapSize",&_argc0))
1600 return NULL;
1601 if (_argc0) {
1602 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolBitmapSize. Expected _wxToolBar_p.");
1604 return NULL;
1605 }
1606 }
1607 _result = new wxSize (wxToolBar_GetToolBitmapSize(_arg0));
1608 SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1609 _resultobj = Py_BuildValue("s",_ptemp);
1610 return _resultobj;
1611 }
1612
1613 #define wxToolBar_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
1614 static PyObject *_wrap_wxToolBar_SetToolBitmapSize(PyObject *self, PyObject *args) {
1615 PyObject * _resultobj;
1616 wxToolBar * _arg0;
1617 wxSize * _arg1;
1618 char * _argc0 = 0;
1619 char * _argc1 = 0;
1620
1621 self = self;
1622 if(!PyArg_ParseTuple(args,"ss:wxToolBar_SetToolBitmapSize",&_argc0,&_argc1))
1623 return NULL;
1624 if (_argc0) {
1625 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolBitmapSize. Expected _wxToolBar_p.");
1627 return NULL;
1628 }
1629 }
1630 if (_argc1) {
1631 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
1632 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBar_SetToolBitmapSize. Expected _wxSize_p.");
1633 return NULL;
1634 }
1635 }
1636 wxToolBar_SetToolBitmapSize(_arg0,*_arg1);
1637 Py_INCREF(Py_None);
1638 _resultobj = Py_None;
1639 return _resultobj;
1640 }
1641
1642 #define wxToolBar_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
1643 static PyObject *_wrap_wxToolBar_GetMaxSize(PyObject *self, PyObject *args) {
1644 PyObject * _resultobj;
1645 wxSize * _result;
1646 wxToolBar * _arg0;
1647 char * _argc0 = 0;
1648 char _ptemp[128];
1649
1650 self = self;
1651 if(!PyArg_ParseTuple(args,"s:wxToolBar_GetMaxSize",&_argc0))
1652 return NULL;
1653 if (_argc0) {
1654 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetMaxSize. Expected _wxToolBar_p.");
1656 return NULL;
1657 }
1658 }
1659 _result = new wxSize (wxToolBar_GetMaxSize(_arg0));
1660 SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1661 _resultobj = Py_BuildValue("s",_ptemp);
1662 return _resultobj;
1663 }
1664
1665 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
1666 static PyObject *_wrap_wxToolBar_GetToolEnabled(PyObject *self, PyObject *args) {
1667 PyObject * _resultobj;
1668 bool _result;
1669 wxToolBar * _arg0;
1670 int _arg1;
1671 char * _argc0 = 0;
1672
1673 self = self;
1674 if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolEnabled",&_argc0,&_arg1))
1675 return NULL;
1676 if (_argc0) {
1677 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
1679 return NULL;
1680 }
1681 }
1682 _result = (bool )wxToolBar_GetToolEnabled(_arg0,_arg1);
1683 _resultobj = Py_BuildValue("i",_result);
1684 return _resultobj;
1685 }
1686
1687 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
1688 static PyObject *_wrap_wxToolBar_GetToolLongHelp(PyObject *self, PyObject *args) {
1689 PyObject * _resultobj;
1690 wxString * _result;
1691 wxToolBar * _arg0;
1692 int _arg1;
1693 char * _argc0 = 0;
1694
1695 self = self;
1696 if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolLongHelp",&_argc0,&_arg1))
1697 return NULL;
1698 if (_argc0) {
1699 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
1701 return NULL;
1702 }
1703 }
1704 _result = new wxString (wxToolBar_GetToolLongHelp(_arg0,_arg1));
1705 {
1706 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1707 }
1708 {
1709 delete _result;
1710 }
1711 return _resultobj;
1712 }
1713
1714 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
1715 static PyObject *_wrap_wxToolBar_GetToolPacking(PyObject *self, PyObject *args) {
1716 PyObject * _resultobj;
1717 int _result;
1718 wxToolBar * _arg0;
1719 char * _argc0 = 0;
1720
1721 self = self;
1722 if(!PyArg_ParseTuple(args,"s:wxToolBar_GetToolPacking",&_argc0))
1723 return NULL;
1724 if (_argc0) {
1725 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
1727 return NULL;
1728 }
1729 }
1730 _result = (int )wxToolBar_GetToolPacking(_arg0);
1731 _resultobj = Py_BuildValue("i",_result);
1732 return _resultobj;
1733 }
1734
1735 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
1736 static PyObject *_wrap_wxToolBar_GetToolSeparation(PyObject *self, PyObject *args) {
1737 PyObject * _resultobj;
1738 int _result;
1739 wxToolBar * _arg0;
1740 char * _argc0 = 0;
1741
1742 self = self;
1743 if(!PyArg_ParseTuple(args,"s:wxToolBar_GetToolSeparation",&_argc0))
1744 return NULL;
1745 if (_argc0) {
1746 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
1748 return NULL;
1749 }
1750 }
1751 _result = (int )wxToolBar_GetToolSeparation(_arg0);
1752 _resultobj = Py_BuildValue("i",_result);
1753 return _resultobj;
1754 }
1755
1756 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
1757 static PyObject *_wrap_wxToolBar_GetToolShortHelp(PyObject *self, PyObject *args) {
1758 PyObject * _resultobj;
1759 wxString * _result;
1760 wxToolBar * _arg0;
1761 int _arg1;
1762 char * _argc0 = 0;
1763
1764 self = self;
1765 if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolShortHelp",&_argc0,&_arg1))
1766 return NULL;
1767 if (_argc0) {
1768 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
1770 return NULL;
1771 }
1772 }
1773 _result = new wxString (wxToolBar_GetToolShortHelp(_arg0,_arg1));
1774 {
1775 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1776 }
1777 {
1778 delete _result;
1779 }
1780 return _resultobj;
1781 }
1782
1783 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
1784 static PyObject *_wrap_wxToolBar_GetToolState(PyObject *self, PyObject *args) {
1785 PyObject * _resultobj;
1786 bool _result;
1787 wxToolBar * _arg0;
1788 int _arg1;
1789 char * _argc0 = 0;
1790
1791 self = self;
1792 if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolState",&_argc0,&_arg1))
1793 return NULL;
1794 if (_argc0) {
1795 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
1797 return NULL;
1798 }
1799 }
1800 _result = (bool )wxToolBar_GetToolState(_arg0,_arg1);
1801 _resultobj = Py_BuildValue("i",_result);
1802 return _resultobj;
1803 }
1804
1805 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
1806 static PyObject *_wrap_wxToolBar_Realize(PyObject *self, PyObject *args) {
1807 PyObject * _resultobj;
1808 bool _result;
1809 wxToolBar * _arg0;
1810 char * _argc0 = 0;
1811
1812 self = self;
1813 if(!PyArg_ParseTuple(args,"s:wxToolBar_Realize",&_argc0))
1814 return NULL;
1815 if (_argc0) {
1816 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
1818 return NULL;
1819 }
1820 }
1821 _result = (bool )wxToolBar_Realize(_arg0);
1822 _resultobj = Py_BuildValue("i",_result);
1823 return _resultobj;
1824 }
1825
1826 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
1827 static PyObject *_wrap_wxToolBar_SetToolLongHelp(PyObject *self, PyObject *args) {
1828 PyObject * _resultobj;
1829 wxToolBar * _arg0;
1830 int _arg1;
1831 wxString * _arg2;
1832 char * _argc0 = 0;
1833 PyObject * _obj2 = 0;
1834
1835 self = self;
1836 if(!PyArg_ParseTuple(args,"siO:wxToolBar_SetToolLongHelp",&_argc0,&_arg1,&_obj2))
1837 return NULL;
1838 if (_argc0) {
1839 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
1841 return NULL;
1842 }
1843 }
1844 {
1845 if (!PyString_Check(_obj2)) {
1846 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1847 return NULL;
1848 }
1849 _arg2 = new wxString(PyString_AsString(_obj2));
1850 }
1851 wxToolBar_SetToolLongHelp(_arg0,_arg1,*_arg2);
1852 Py_INCREF(Py_None);
1853 _resultobj = Py_None;
1854 {
1855 if (_obj2)
1856 delete _arg2;
1857 }
1858 return _resultobj;
1859 }
1860
1861 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
1862 static PyObject *_wrap_wxToolBar_SetToolShortHelp(PyObject *self, PyObject *args) {
1863 PyObject * _resultobj;
1864 wxToolBar * _arg0;
1865 int _arg1;
1866 wxString * _arg2;
1867 char * _argc0 = 0;
1868 PyObject * _obj2 = 0;
1869
1870 self = self;
1871 if(!PyArg_ParseTuple(args,"siO:wxToolBar_SetToolShortHelp",&_argc0,&_arg1,&_obj2))
1872 return NULL;
1873 if (_argc0) {
1874 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
1876 return NULL;
1877 }
1878 }
1879 {
1880 if (!PyString_Check(_obj2)) {
1881 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1882 return NULL;
1883 }
1884 _arg2 = new wxString(PyString_AsString(_obj2));
1885 }
1886 wxToolBar_SetToolShortHelp(_arg0,_arg1,*_arg2);
1887 Py_INCREF(Py_None);
1888 _resultobj = Py_None;
1889 {
1890 if (_obj2)
1891 delete _arg2;
1892 }
1893 return _resultobj;
1894 }
1895
1896 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
1897 static PyObject *_wrap_wxToolBar_SetMargins(PyObject *self, PyObject *args) {
1898 PyObject * _resultobj;
1899 wxToolBar * _arg0;
1900 wxSize * _arg1;
1901 char * _argc0 = 0;
1902 char * _argc1 = 0;
1903
1904 self = self;
1905 if(!PyArg_ParseTuple(args,"ss:wxToolBar_SetMargins",&_argc0,&_argc1))
1906 return NULL;
1907 if (_argc0) {
1908 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
1910 return NULL;
1911 }
1912 }
1913 if (_argc1) {
1914 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
1915 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBar_SetMargins. Expected _wxSize_p.");
1916 return NULL;
1917 }
1918 }
1919 wxToolBar_SetMargins(_arg0,*_arg1);
1920 Py_INCREF(Py_None);
1921 _resultobj = Py_None;
1922 return _resultobj;
1923 }
1924
1925 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
1926 static PyObject *_wrap_wxToolBar_SetToolPacking(PyObject *self, PyObject *args) {
1927 PyObject * _resultobj;
1928 wxToolBar * _arg0;
1929 int _arg1;
1930 char * _argc0 = 0;
1931
1932 self = self;
1933 if(!PyArg_ParseTuple(args,"si:wxToolBar_SetToolPacking",&_argc0,&_arg1))
1934 return NULL;
1935 if (_argc0) {
1936 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
1938 return NULL;
1939 }
1940 }
1941 wxToolBar_SetToolPacking(_arg0,_arg1);
1942 Py_INCREF(Py_None);
1943 _resultobj = Py_None;
1944 return _resultobj;
1945 }
1946
1947 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
1948 static PyObject *_wrap_wxToolBar_SetToolSeparation(PyObject *self, PyObject *args) {
1949 PyObject * _resultobj;
1950 wxToolBar * _arg0;
1951 int _arg1;
1952 char * _argc0 = 0;
1953
1954 self = self;
1955 if(!PyArg_ParseTuple(args,"si:wxToolBar_SetToolSeparation",&_argc0,&_arg1))
1956 return NULL;
1957 if (_argc0) {
1958 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
1960 return NULL;
1961 }
1962 }
1963 wxToolBar_SetToolSeparation(_arg0,_arg1);
1964 Py_INCREF(Py_None);
1965 _resultobj = Py_None;
1966 return _resultobj;
1967 }
1968
1969 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
1970 static PyObject *_wrap_wxToolBar_ToggleTool(PyObject *self, PyObject *args) {
1971 PyObject * _resultobj;
1972 wxToolBar * _arg0;
1973 int _arg1;
1974 bool _arg2;
1975 char * _argc0 = 0;
1976 int tempbool2;
1977
1978 self = self;
1979 if(!PyArg_ParseTuple(args,"sii:wxToolBar_ToggleTool",&_argc0,&_arg1,&tempbool2))
1980 return NULL;
1981 if (_argc0) {
1982 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
1984 return NULL;
1985 }
1986 }
1987 _arg2 = (bool ) tempbool2;
1988 wxToolBar_ToggleTool(_arg0,_arg1,_arg2);
1989 Py_INCREF(Py_None);
1990 _resultobj = Py_None;
1991 return _resultobj;
1992 }
1993
1994 static PyMethodDef stattoolcMethods[] = {
1995 { "wxToolBar_ToggleTool", _wrap_wxToolBar_ToggleTool, 1 },
1996 { "wxToolBar_SetToolSeparation", _wrap_wxToolBar_SetToolSeparation, 1 },
1997 { "wxToolBar_SetToolPacking", _wrap_wxToolBar_SetToolPacking, 1 },
1998 { "wxToolBar_SetMargins", _wrap_wxToolBar_SetMargins, 1 },
1999 { "wxToolBar_SetToolShortHelp", _wrap_wxToolBar_SetToolShortHelp, 1 },
2000 { "wxToolBar_SetToolLongHelp", _wrap_wxToolBar_SetToolLongHelp, 1 },
2001 { "wxToolBar_Realize", _wrap_wxToolBar_Realize, 1 },
2002 { "wxToolBar_GetToolState", _wrap_wxToolBar_GetToolState, 1 },
2003 { "wxToolBar_GetToolShortHelp", _wrap_wxToolBar_GetToolShortHelp, 1 },
2004 { "wxToolBar_GetToolSeparation", _wrap_wxToolBar_GetToolSeparation, 1 },
2005 { "wxToolBar_GetToolPacking", _wrap_wxToolBar_GetToolPacking, 1 },
2006 { "wxToolBar_GetToolLongHelp", _wrap_wxToolBar_GetToolLongHelp, 1 },
2007 { "wxToolBar_GetToolEnabled", _wrap_wxToolBar_GetToolEnabled, 1 },
2008 { "wxToolBar_GetMaxSize", _wrap_wxToolBar_GetMaxSize, 1 },
2009 { "wxToolBar_SetToolBitmapSize", _wrap_wxToolBar_SetToolBitmapSize, 1 },
2010 { "wxToolBar_GetToolBitmapSize", _wrap_wxToolBar_GetToolBitmapSize, 1 },
2011 { "wxToolBar_GetToolSize", _wrap_wxToolBar_GetToolSize, 1 },
2012 { "wxToolBar_FindToolForPosition", _wrap_wxToolBar_FindToolForPosition, 1 },
2013 { "wxToolBar_EnableTool", _wrap_wxToolBar_EnableTool, 1 },
2014 { "wxToolBar_AddSimpleTool", _wrap_wxToolBar_AddSimpleTool, 1 },
2015 { "wxToolBar_AddTool", _wrap_wxToolBar_AddTool, 1 },
2016 { "wxToolBar_AddSeparator", _wrap_wxToolBar_AddSeparator, 1 },
2017 { "new_wxToolBar", _wrap_new_wxToolBar, 1 },
2018 { "wxToolBarTool_m_longHelpString_get", _wrap_wxToolBarTool_m_longHelpString_get, 1 },
2019 { "wxToolBarTool_m_longHelpString_set", _wrap_wxToolBarTool_m_longHelpString_set, 1 },
2020 { "wxToolBarTool_m_shortHelpString_get", _wrap_wxToolBarTool_m_shortHelpString_get, 1 },
2021 { "wxToolBarTool_m_shortHelpString_set", _wrap_wxToolBarTool_m_shortHelpString_set, 1 },
2022 { "wxToolBarTool_m_isMenuCommand_get", _wrap_wxToolBarTool_m_isMenuCommand_get, 1 },
2023 { "wxToolBarTool_m_isMenuCommand_set", _wrap_wxToolBarTool_m_isMenuCommand_set, 1 },
2024 { "wxToolBarTool_m_bitmap2_get", _wrap_wxToolBarTool_m_bitmap2_get, 1 },
2025 { "wxToolBarTool_m_bitmap2_set", _wrap_wxToolBarTool_m_bitmap2_set, 1 },
2026 { "wxToolBarTool_m_bitmap1_get", _wrap_wxToolBarTool_m_bitmap1_get, 1 },
2027 { "wxToolBarTool_m_bitmap1_set", _wrap_wxToolBarTool_m_bitmap1_set, 1 },
2028 { "wxToolBarTool_m_enabled_get", _wrap_wxToolBarTool_m_enabled_get, 1 },
2029 { "wxToolBarTool_m_enabled_set", _wrap_wxToolBarTool_m_enabled_set, 1 },
2030 { "wxToolBarTool_m_deleteSecondBitmap_get", _wrap_wxToolBarTool_m_deleteSecondBitmap_get, 1 },
2031 { "wxToolBarTool_m_deleteSecondBitmap_set", _wrap_wxToolBarTool_m_deleteSecondBitmap_set, 1 },
2032 { "wxToolBarTool_m_isToggle_get", _wrap_wxToolBarTool_m_isToggle_get, 1 },
2033 { "wxToolBarTool_m_isToggle_set", _wrap_wxToolBarTool_m_isToggle_set, 1 },
2034 { "wxToolBarTool_m_toggleState_get", _wrap_wxToolBarTool_m_toggleState_get, 1 },
2035 { "wxToolBarTool_m_toggleState_set", _wrap_wxToolBarTool_m_toggleState_set, 1 },
2036 { "wxToolBarTool_m_height_get", _wrap_wxToolBarTool_m_height_get, 1 },
2037 { "wxToolBarTool_m_height_set", _wrap_wxToolBarTool_m_height_set, 1 },
2038 { "wxToolBarTool_m_width_get", _wrap_wxToolBarTool_m_width_get, 1 },
2039 { "wxToolBarTool_m_width_set", _wrap_wxToolBarTool_m_width_set, 1 },
2040 { "wxToolBarTool_m_y_get", _wrap_wxToolBarTool_m_y_get, 1 },
2041 { "wxToolBarTool_m_y_set", _wrap_wxToolBarTool_m_y_set, 1 },
2042 { "wxToolBarTool_m_x_get", _wrap_wxToolBarTool_m_x_get, 1 },
2043 { "wxToolBarTool_m_x_set", _wrap_wxToolBarTool_m_x_set, 1 },
2044 { "wxToolBarTool_m_index_get", _wrap_wxToolBarTool_m_index_get, 1 },
2045 { "wxToolBarTool_m_index_set", _wrap_wxToolBarTool_m_index_set, 1 },
2046 { "wxToolBarTool_m_clientData_get", _wrap_wxToolBarTool_m_clientData_get, 1 },
2047 { "wxToolBarTool_m_clientData_set", _wrap_wxToolBarTool_m_clientData_set, 1 },
2048 { "wxToolBarTool_m_toolStyle_get", _wrap_wxToolBarTool_m_toolStyle_get, 1 },
2049 { "wxToolBarTool_m_toolStyle_set", _wrap_wxToolBarTool_m_toolStyle_set, 1 },
2050 { "wxToolBarTool_GetHeight", _wrap_wxToolBarTool_GetHeight, 1 },
2051 { "wxToolBarTool_GetWidth", _wrap_wxToolBarTool_GetWidth, 1 },
2052 { "wxToolBarTool_SetSize", _wrap_wxToolBarTool_SetSize, 1 },
2053 { "delete_wxToolBarTool", _wrap_delete_wxToolBarTool, 1 },
2054 { "new_wxToolBarTool", _wrap_new_wxToolBarTool, 1 },
2055 { "wxStatusBar_SetStatusWidths", _wrap_wxStatusBar_SetStatusWidths, 1 },
2056 { "wxStatusBar_SetStatusText", _wrap_wxStatusBar_SetStatusText, 1 },
2057 { "wxStatusBar_SetFieldsCount", _wrap_wxStatusBar_SetFieldsCount, 1 },
2058 { "wxStatusBar_InitColours", _wrap_wxStatusBar_InitColours, 1 },
2059 { "wxStatusBar_DrawFieldText", _wrap_wxStatusBar_DrawFieldText, 1 },
2060 { "wxStatusBar_DrawField", _wrap_wxStatusBar_DrawField, 1 },
2061 { "wxStatusBar_GetStatusText", _wrap_wxStatusBar_GetStatusText, 1 },
2062 { "wxStatusBar_GetFieldsCount", _wrap_wxStatusBar_GetFieldsCount, 1 },
2063 { "wxStatusBar_GetFieldRect", _wrap_wxStatusBar_GetFieldRect, 1 },
2064 { "new_wxStatusBar", _wrap_new_wxStatusBar, 1 },
2065 { NULL, NULL }
2066 };
2067 static PyObject *SWIG_globals;
2068 #ifdef __cplusplus
2069 extern "C"
2070 #endif
2071 SWIGEXPORT(void,initstattoolc)() {
2072 PyObject *m, *d;
2073 SWIG_globals = SWIG_newvarlink();
2074 m = Py_InitModule("stattoolc", stattoolcMethods);
2075 d = PyModule_GetDict(m);
2076 /*
2077 * These are the pointer type-equivalency mappings.
2078 * (Used by the SWIG pointer type-checker).
2079 */
2080 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
2081 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
2082 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
2083 SWIG_RegisterMapping("_signed_long","_long",0);
2084 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
2085 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
2086 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
2087 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler);
2088 SWIG_RegisterMapping("_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler);
2089 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
2090 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
2091 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
2092 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
2093 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2094 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
2095 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
2096 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
2097 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
2098 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
2099 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
2100 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2101 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
2102 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
2103 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
2104 SWIG_RegisterMapping("_long","_wxDash",0);
2105 SWIG_RegisterMapping("_long","_unsigned_long",0);
2106 SWIG_RegisterMapping("_long","_signed_long",0);
2107 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
2108 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
2109 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
2110 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
2111 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
2112 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
2113 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
2114 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2115 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
2116 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
2117 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
2118 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
2119 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
2120 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
2121 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
2122 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
2123 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
2124 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
2125 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
2126 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
2127 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
2128 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
2129 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
2130 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
2131 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
2132 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
2133 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
2134 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2135 SWIG_RegisterMapping("_uint","_int",0);
2136 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2137 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
2138 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
2139 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2140 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
2141 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
2142 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2143 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
2144 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
2145 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
2146 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2147 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
2148 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
2149 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
2150 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
2151 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2152 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
2153 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
2154 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
2155 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
2156 SWIG_RegisterMapping("_EBool","_signed_int",0);
2157 SWIG_RegisterMapping("_EBool","_int",0);
2158 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2159 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
2160 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
2161 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
2162 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
2163 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
2164 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
2165 SWIG_RegisterMapping("_unsigned_long","_long",0);
2166 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2167 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
2168 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2169 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
2170 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
2171 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
2172 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
2173 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
2174 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
2175 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
2176 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
2177 SWIG_RegisterMapping("_signed_int","_EBool",0);
2178 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2179 SWIG_RegisterMapping("_signed_int","_int",0);
2180 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
2181 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2182 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
2183 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
2184 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
2185 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
2186 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
2187 SWIG_RegisterMapping("_WXTYPE","_short",0);
2188 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2189 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2190 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
2191 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2192 SWIG_RegisterMapping("_unsigned_short","_short",0);
2193 SWIG_RegisterMapping("_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow);
2194 SWIG_RegisterMapping("_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow);
2195 SWIG_RegisterMapping("_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow);
2196 SWIG_RegisterMapping("_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow);
2197 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
2198 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
2199 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
2200 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
2201 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
2202 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
2203 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
2204 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2205 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2206 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
2207 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2208 SWIG_RegisterMapping("_signed_short","_short",0);
2209 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
2210 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
2211 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
2212 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
2213 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
2214 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
2215 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
2216 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
2217 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
2218 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
2219 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2220 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
2221 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
2222 SWIG_RegisterMapping("_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl);
2223 SWIG_RegisterMapping("_wxControl","_wxToolBar",SwigwxToolBarTowxControl);
2224 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
2225 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
2226 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2227 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2228 SWIG_RegisterMapping("_unsigned_int","_int",0);
2229 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
2230 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
2231 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
2232 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
2233 SWIG_RegisterMapping("_short","_WXTYPE",0);
2234 SWIG_RegisterMapping("_short","_unsigned_short",0);
2235 SWIG_RegisterMapping("_short","_signed_short",0);
2236 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
2237 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
2238 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
2239 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
2240 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
2241 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
2242 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
2243 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2244 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2245 SWIG_RegisterMapping("_wxWindowID","_int",0);
2246 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2247 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2248 SWIG_RegisterMapping("_int","_EBool",0);
2249 SWIG_RegisterMapping("_int","_uint",0);
2250 SWIG_RegisterMapping("_int","_wxWindowID",0);
2251 SWIG_RegisterMapping("_int","_unsigned_int",0);
2252 SWIG_RegisterMapping("_int","_signed_int",0);
2253 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
2254 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
2255 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
2256 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2257 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
2258 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
2259 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
2260 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
2261 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
2262 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
2263 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
2264 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2265 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
2266 SWIG_RegisterMapping("_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl);
2267 SWIG_RegisterMapping("_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl);
2268 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
2269 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
2270 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
2271 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
2272 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
2273 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
2274 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
2275 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
2276 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
2277 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
2278 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
2279 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
2280 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
2281 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
2282 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
2283 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
2284 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
2285 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
2286 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
2287 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
2288 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
2289 SWIG_RegisterMapping("_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler);
2290 SWIG_RegisterMapping("_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler);
2291 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
2292 SWIG_RegisterMapping("_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
2293 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
2294 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
2295 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
2296 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
2297 SWIG_RegisterMapping("_wxDash","_long",0);
2298 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
2299 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
2300 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
2301 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
2302 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
2303 SWIG_RegisterMapping("_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow);
2304 SWIG_RegisterMapping("_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow);
2305 SWIG_RegisterMapping("_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow);
2306 SWIG_RegisterMapping("_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow);
2307 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
2308 }