]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/stattool.cpp
Changes needed to enable wxGTK compatibility.
[wxWidgets.git] / utils / wxPython / src / gtk / stattool.cpp
1 /*
2 * FILE : gtk/stattool.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (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 PyObject* o3;
63 if (!target) {
64 target = o;
65 } else if (target == Py_None) {
66 Py_DECREF(Py_None);
67 target = o;
68 } else {
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79 }
80
81 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
85 if (!target) {
86 target = o;
87 } else if (target == Py_None) {
88 Py_DECREF(Py_None);
89 target = o;
90 } else {
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
98
99 o2 = target;
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
102 Py_DECREF(o3);
103 }
104 return target;
105 }
106
107
108 extern byte* byte_LIST_helper(PyObject* source);
109 extern int* int_LIST_helper(PyObject* source);
110 extern long* long_LIST_helper(PyObject* source);
111 extern char** string_LIST_helper(PyObject* source);
112 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
113 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
114 extern wxString* wxString_LIST_helper(PyObject* source);
115 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
116
117
118 static char* wxStringErrorMsg = "string type is required for parameter";
119 static void *SwigwxStatusBarTowxWindow(void *ptr) {
120 wxStatusBar *src;
121 wxWindow *dest;
122 src = (wxStatusBar *) ptr;
123 dest = (wxWindow *) src;
124 return (void *) dest;
125 }
126
127 static void *SwigwxStatusBarTowxEvtHandler(void *ptr) {
128 wxStatusBar *src;
129 wxEvtHandler *dest;
130 src = (wxStatusBar *) ptr;
131 dest = (wxEvtHandler *) src;
132 return (void *) dest;
133 }
134
135 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
136 static PyObject *_wrap_new_wxStatusBar(PyObject *self, PyObject *args) {
137 PyObject * _resultobj;
138 wxStatusBar * _result;
139 wxWindow * _arg0;
140 wxWindowID _arg1;
141 wxPoint * _arg2 = &wxPyDefaultPosition;
142 wxSize * _arg3 = &wxPyDefaultSize;
143 long _arg4 = wxST_SIZEGRIP;
144 char * _arg5 = "statusBar";
145 char * _argc0 = 0;
146 char * _argc2 = 0;
147 char * _argc3 = 0;
148 char _ptemp[128];
149
150 self = self;
151 if(!PyArg_ParseTuple(args,"si|ssls:new_wxStatusBar",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
152 return NULL;
153 if (_argc0) {
154 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
156 return NULL;
157 }
158 }
159 if (_argc2) {
160 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
161 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStatusBar. Expected _wxPoint_p.");
162 return NULL;
163 }
164 }
165 if (_argc3) {
166 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
167 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStatusBar. Expected _wxSize_p.");
168 return NULL;
169 }
170 }
171 _result = (wxStatusBar *)new_wxStatusBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
172 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p");
173 _resultobj = Py_BuildValue("s",_ptemp);
174 return _resultobj;
175 }
176
177 static wxRect * wxStatusBar_GetFieldRect(wxStatusBar *self,long item) {
178 wxRect* rect= new wxRect;
179 self->GetFieldRect(item, *rect);
180 return rect;
181 }
182 static PyObject *_wrap_wxStatusBar_GetFieldRect(PyObject *self, PyObject *args) {
183 PyObject * _resultobj;
184 wxRect * _result;
185 wxStatusBar * _arg0;
186 long _arg1;
187 char * _argc0 = 0;
188 char _ptemp[128];
189
190 self = self;
191 if(!PyArg_ParseTuple(args,"sl:wxStatusBar_GetFieldRect",&_argc0,&_arg1))
192 return NULL;
193 if (_argc0) {
194 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
196 return NULL;
197 }
198 }
199 _result = (wxRect *)wxStatusBar_GetFieldRect(_arg0,_arg1);
200 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
201 _resultobj = Py_BuildValue("s",_ptemp);
202 return _resultobj;
203 }
204
205 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
206 static PyObject *_wrap_wxStatusBar_GetFieldsCount(PyObject *self, PyObject *args) {
207 PyObject * _resultobj;
208 int _result;
209 wxStatusBar * _arg0;
210 char * _argc0 = 0;
211
212 self = self;
213 if(!PyArg_ParseTuple(args,"s:wxStatusBar_GetFieldsCount",&_argc0))
214 return NULL;
215 if (_argc0) {
216 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
218 return NULL;
219 }
220 }
221 _result = (int )wxStatusBar_GetFieldsCount(_arg0);
222 _resultobj = Py_BuildValue("i",_result);
223 return _resultobj;
224 }
225
226 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
227 static PyObject *_wrap_wxStatusBar_GetStatusText(PyObject *self, PyObject *args) {
228 PyObject * _resultobj;
229 wxString * _result;
230 wxStatusBar * _arg0;
231 int _arg1 = 0;
232 char * _argc0 = 0;
233
234 self = self;
235 if(!PyArg_ParseTuple(args,"s|i:wxStatusBar_GetStatusText",&_argc0,&_arg1))
236 return NULL;
237 if (_argc0) {
238 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
240 return NULL;
241 }
242 }
243 _result = new wxString (wxStatusBar_GetStatusText(_arg0,_arg1));
244 {
245 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
246 }
247 {
248 delete _result;
249 }
250 return _resultobj;
251 }
252
253 #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
254 static PyObject *_wrap_wxStatusBar_DrawField(PyObject *self, PyObject *args) {
255 PyObject * _resultobj;
256 wxStatusBar * _arg0;
257 wxDC * _arg1;
258 int _arg2;
259 char * _argc0 = 0;
260 char * _argc1 = 0;
261
262 self = self;
263 if(!PyArg_ParseTuple(args,"ssi:wxStatusBar_DrawField",&_argc0,&_argc1,&_arg2))
264 return NULL;
265 if (_argc0) {
266 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
268 return NULL;
269 }
270 }
271 if (_argc1) {
272 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) {
273 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
274 return NULL;
275 }
276 }
277 wxStatusBar_DrawField(_arg0,*_arg1,_arg2);
278 Py_INCREF(Py_None);
279 _resultobj = Py_None;
280 return _resultobj;
281 }
282
283 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
284 static PyObject *_wrap_wxStatusBar_DrawFieldText(PyObject *self, PyObject *args) {
285 PyObject * _resultobj;
286 wxStatusBar * _arg0;
287 wxDC * _arg1;
288 int _arg2;
289 char * _argc0 = 0;
290 char * _argc1 = 0;
291
292 self = self;
293 if(!PyArg_ParseTuple(args,"ssi:wxStatusBar_DrawFieldText",&_argc0,&_argc1,&_arg2))
294 return NULL;
295 if (_argc0) {
296 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
298 return NULL;
299 }
300 }
301 if (_argc1) {
302 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) {
303 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
304 return NULL;
305 }
306 }
307 wxStatusBar_DrawFieldText(_arg0,*_arg1,_arg2);
308 Py_INCREF(Py_None);
309 _resultobj = Py_None;
310 return _resultobj;
311 }
312
313 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
314 static PyObject *_wrap_wxStatusBar_InitColours(PyObject *self, PyObject *args) {
315 PyObject * _resultobj;
316 wxStatusBar * _arg0;
317 char * _argc0 = 0;
318
319 self = self;
320 if(!PyArg_ParseTuple(args,"s:wxStatusBar_InitColours",&_argc0))
321 return NULL;
322 if (_argc0) {
323 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
325 return NULL;
326 }
327 }
328 wxStatusBar_InitColours(_arg0);
329 Py_INCREF(Py_None);
330 _resultobj = Py_None;
331 return _resultobj;
332 }
333
334 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
335 static PyObject *_wrap_wxStatusBar_SetFieldsCount(PyObject *self, PyObject *args) {
336 PyObject * _resultobj;
337 wxStatusBar * _arg0;
338 int _arg1 = 1;
339 char * _argc0 = 0;
340
341 self = self;
342 if(!PyArg_ParseTuple(args,"s|i:wxStatusBar_SetFieldsCount",&_argc0,&_arg1))
343 return NULL;
344 if (_argc0) {
345 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
347 return NULL;
348 }
349 }
350 wxStatusBar_SetFieldsCount(_arg0,_arg1);
351 Py_INCREF(Py_None);
352 _resultobj = Py_None;
353 return _resultobj;
354 }
355
356 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
357 static PyObject *_wrap_wxStatusBar_SetStatusText(PyObject *self, PyObject *args) {
358 PyObject * _resultobj;
359 wxStatusBar * _arg0;
360 wxString * _arg1;
361 int _arg2 = 0;
362 char * _argc0 = 0;
363 PyObject * _obj1 = 0;
364
365 self = self;
366 if(!PyArg_ParseTuple(args,"sO|i:wxStatusBar_SetStatusText",&_argc0,&_obj1,&_arg2))
367 return NULL;
368 if (_argc0) {
369 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
371 return NULL;
372 }
373 }
374 {
375 if (!PyString_Check(_obj1)) {
376 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
377 return NULL;
378 }
379 _arg1 = new wxString(PyString_AsString(_obj1));
380 }
381 wxStatusBar_SetStatusText(_arg0,*_arg1,_arg2);
382 Py_INCREF(Py_None);
383 _resultobj = Py_None;
384 {
385 if (_obj1)
386 delete _arg1;
387 }
388 return _resultobj;
389 }
390
391 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
392 static PyObject *_wrap_wxStatusBar_SetStatusWidths(PyObject *self, PyObject *args) {
393 PyObject * _resultobj;
394 wxStatusBar * _arg0;
395 int _arg1;
396 int * _arg2;
397 char * _argc0 = 0;
398 PyObject * _obj2 = 0;
399
400 self = self;
401 if(!PyArg_ParseTuple(args,"sO:wxStatusBar_SetStatusWidths",&_argc0,&_obj2))
402 return NULL;
403 if (_argc0) {
404 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) {
405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
406 return NULL;
407 }
408 }
409 if (_obj2)
410 {
411 _arg2 = int_LIST_helper(_obj2);
412 if (_arg2 == NULL) {
413 return NULL;
414 }
415 }
416 {
417 _arg1 = PyList_Size(_obj2);
418 }
419 wxStatusBar_SetStatusWidths(_arg0,_arg1,_arg2);
420 Py_INCREF(Py_None);
421 _resultobj = Py_None;
422 {
423 delete [] _arg2;
424 }
425 return _resultobj;
426 }
427
428 #define new_wxToolBarTool() (new wxToolBarTool())
429 static PyObject *_wrap_new_wxToolBarTool(PyObject *self, PyObject *args) {
430 PyObject * _resultobj;
431 wxToolBarTool * _result;
432 char _ptemp[128];
433
434 self = self;
435 if(!PyArg_ParseTuple(args,":new_wxToolBarTool"))
436 return NULL;
437 _result = (wxToolBarTool *)new_wxToolBarTool();
438 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
439 _resultobj = Py_BuildValue("s",_ptemp);
440 return _resultobj;
441 }
442
443 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
444 static PyObject *_wrap_delete_wxToolBarTool(PyObject *self, PyObject *args) {
445 PyObject * _resultobj;
446 wxToolBarTool * _arg0;
447 char * _argc0 = 0;
448
449 self = self;
450 if(!PyArg_ParseTuple(args,"s:delete_wxToolBarTool",&_argc0))
451 return NULL;
452 if (_argc0) {
453 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
455 return NULL;
456 }
457 }
458 delete_wxToolBarTool(_arg0);
459 Py_INCREF(Py_None);
460 _resultobj = Py_None;
461 return _resultobj;
462 }
463
464 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
465 static PyObject *_wrap_wxToolBarTool_m_toolStyle_get(PyObject *self, PyObject *args) {
466 PyObject * _resultobj;
467 int _result;
468 wxToolBarTool * _arg0;
469 char * _argc0 = 0;
470
471 self = self;
472 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_toolStyle_get",&_argc0))
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_m_toolStyle_get. Expected _wxToolBarTool_p.");
477 return NULL;
478 }
479 }
480 _result = (int )wxToolBarTool_m_toolStyle_get(_arg0);
481 _resultobj = Py_BuildValue("i",_result);
482 return _resultobj;
483 }
484
485 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
486 static PyObject *_wrap_wxToolBarTool_m_clientData_get(PyObject *self, PyObject *args) {
487 PyObject * _resultobj;
488 wxObject * _result;
489 wxToolBarTool * _arg0;
490 char * _argc0 = 0;
491 char _ptemp[128];
492
493 self = self;
494 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_clientData_get",&_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_m_clientData_get. Expected _wxToolBarTool_p.");
499 return NULL;
500 }
501 }
502 _result = (wxObject *)wxToolBarTool_m_clientData_get(_arg0);
503 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
504 _resultobj = Py_BuildValue("s",_ptemp);
505 return _resultobj;
506 }
507
508 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
509 static PyObject *_wrap_wxToolBarTool_m_index_get(PyObject *self, PyObject *args) {
510 PyObject * _resultobj;
511 int _result;
512 wxToolBarTool * _arg0;
513 char * _argc0 = 0;
514
515 self = self;
516 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_index_get",&_argc0))
517 return NULL;
518 if (_argc0) {
519 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
521 return NULL;
522 }
523 }
524 _result = (int )wxToolBarTool_m_index_get(_arg0);
525 _resultobj = Py_BuildValue("i",_result);
526 return _resultobj;
527 }
528
529 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
530 static PyObject *_wrap_wxToolBarTool_m_toggleState_get(PyObject *self, PyObject *args) {
531 PyObject * _resultobj;
532 bool _result;
533 wxToolBarTool * _arg0;
534 char * _argc0 = 0;
535
536 self = self;
537 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_toggleState_get",&_argc0))
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_toggleState_get. Expected _wxToolBarTool_p.");
542 return NULL;
543 }
544 }
545 _result = (bool )wxToolBarTool_m_toggleState_get(_arg0);
546 _resultobj = Py_BuildValue("i",_result);
547 return _resultobj;
548 }
549
550 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
551 static PyObject *_wrap_wxToolBarTool_m_isToggle_get(PyObject *self, PyObject *args) {
552 PyObject * _resultobj;
553 bool _result;
554 wxToolBarTool * _arg0;
555 char * _argc0 = 0;
556
557 self = self;
558 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_isToggle_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_isToggle_get. Expected _wxToolBarTool_p.");
563 return NULL;
564 }
565 }
566 _result = (bool )wxToolBarTool_m_isToggle_get(_arg0);
567 _resultobj = Py_BuildValue("i",_result);
568 return _resultobj;
569 }
570
571 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
572 static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject *self, PyObject *args) {
573 PyObject * _resultobj;
574 bool _result;
575 wxToolBarTool * _arg0;
576 char * _argc0 = 0;
577
578 self = self;
579 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_deleteSecondBitmap_get",&_argc0))
580 return NULL;
581 if (_argc0) {
582 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
584 return NULL;
585 }
586 }
587 _result = (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0);
588 _resultobj = Py_BuildValue("i",_result);
589 return _resultobj;
590 }
591
592 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
593 static PyObject *_wrap_wxToolBarTool_m_enabled_get(PyObject *self, PyObject *args) {
594 PyObject * _resultobj;
595 bool _result;
596 wxToolBarTool * _arg0;
597 char * _argc0 = 0;
598
599 self = self;
600 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_enabled_get",&_argc0))
601 return NULL;
602 if (_argc0) {
603 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
605 return NULL;
606 }
607 }
608 _result = (bool )wxToolBarTool_m_enabled_get(_arg0);
609 _resultobj = Py_BuildValue("i",_result);
610 return _resultobj;
611 }
612
613 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
614 static PyObject *_wrap_wxToolBarTool_m_bitmap1_get(PyObject *self, PyObject *args) {
615 PyObject * _resultobj;
616 wxBitmap * _result;
617 wxToolBarTool * _arg0;
618 char * _argc0 = 0;
619 char _ptemp[128];
620
621 self = self;
622 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_bitmap1_get",&_argc0))
623 return NULL;
624 if (_argc0) {
625 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
627 return NULL;
628 }
629 }
630 _result = (wxBitmap *)wxToolBarTool_m_bitmap1_get(_arg0);
631 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
632 _resultobj = Py_BuildValue("s",_ptemp);
633 return _resultobj;
634 }
635
636 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
637 static PyObject *_wrap_wxToolBarTool_m_bitmap2_get(PyObject *self, PyObject *args) {
638 PyObject * _resultobj;
639 wxBitmap * _result;
640 wxToolBarTool * _arg0;
641 char * _argc0 = 0;
642 char _ptemp[128];
643
644 self = self;
645 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_bitmap2_get",&_argc0))
646 return NULL;
647 if (_argc0) {
648 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
650 return NULL;
651 }
652 }
653 _result = (wxBitmap *)wxToolBarTool_m_bitmap2_get(_arg0);
654 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
655 _resultobj = Py_BuildValue("s",_ptemp);
656 return _resultobj;
657 }
658
659 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
660 static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject *self, PyObject *args) {
661 PyObject * _resultobj;
662 bool _result;
663 wxToolBarTool * _arg0;
664 char * _argc0 = 0;
665
666 self = self;
667 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_isMenuCommand_get",&_argc0))
668 return NULL;
669 if (_argc0) {
670 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
672 return NULL;
673 }
674 }
675 _result = (bool )wxToolBarTool_m_isMenuCommand_get(_arg0);
676 _resultobj = Py_BuildValue("i",_result);
677 return _resultobj;
678 }
679
680 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
681 static PyObject *_wrap_wxToolBarTool_m_shortHelpString_get(PyObject *self, PyObject *args) {
682 PyObject * _resultobj;
683 wxString * _result;
684 wxToolBarTool * _arg0;
685 char * _argc0 = 0;
686
687 self = self;
688 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_shortHelpString_get",&_argc0))
689 return NULL;
690 if (_argc0) {
691 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
693 return NULL;
694 }
695 }
696 _result = (wxString *)wxToolBarTool_m_shortHelpString_get(_arg0);
697 {
698 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
699 }
700 return _resultobj;
701 }
702
703 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
704 static PyObject *_wrap_wxToolBarTool_m_longHelpString_get(PyObject *self, PyObject *args) {
705 PyObject * _resultobj;
706 wxString * _result;
707 wxToolBarTool * _arg0;
708 char * _argc0 = 0;
709
710 self = self;
711 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_longHelpString_get",&_argc0))
712 return NULL;
713 if (_argc0) {
714 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
716 return NULL;
717 }
718 }
719 _result = (wxString *)wxToolBarTool_m_longHelpString_get(_arg0);
720 {
721 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
722 }
723 return _resultobj;
724 }
725
726 static void *SwigwxToolBarTowxControl(void *ptr) {
727 wxToolBar *src;
728 wxControl *dest;
729 src = (wxToolBar *) ptr;
730 dest = (wxControl *) src;
731 return (void *) dest;
732 }
733
734 static void *SwigwxToolBarTowxWindow(void *ptr) {
735 wxToolBar *src;
736 wxWindow *dest;
737 src = (wxToolBar *) ptr;
738 dest = (wxWindow *) src;
739 return (void *) dest;
740 }
741
742 static void *SwigwxToolBarTowxEvtHandler(void *ptr) {
743 wxToolBar *src;
744 wxEvtHandler *dest;
745 src = (wxToolBar *) ptr;
746 dest = (wxEvtHandler *) src;
747 return (void *) dest;
748 }
749
750 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
751 static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args) {
752 PyObject * _resultobj;
753 wxToolBar * _result;
754 wxWindow * _arg0;
755 wxWindowID _arg1;
756 wxPoint * _arg2 = &wxPyDefaultPosition;
757 wxSize * _arg3 = &wxPyDefaultSize;
758 long _arg4 = (wxTB_HORIZONTAL)|(wxNO_BORDER);
759 char * _arg5 = "toolBar";
760 char * _argc0 = 0;
761 char * _argc2 = 0;
762 char * _argc3 = 0;
763 char _ptemp[128];
764
765 self = self;
766 if(!PyArg_ParseTuple(args,"si|ssls:new_wxToolBar",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
767 return NULL;
768 if (_argc0) {
769 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
771 return NULL;
772 }
773 }
774 if (_argc2) {
775 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
776 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p.");
777 return NULL;
778 }
779 }
780 if (_argc3) {
781 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
782 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p.");
783 return NULL;
784 }
785 }
786 _result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
787 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
788 _resultobj = Py_BuildValue("s",_ptemp);
789 return _resultobj;
790 }
791
792 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
793 static PyObject *_wrap_wxToolBar_AddSeparator(PyObject *self, PyObject *args) {
794 PyObject * _resultobj;
795 wxToolBar * _arg0;
796 char * _argc0 = 0;
797
798 self = self;
799 if(!PyArg_ParseTuple(args,"s:wxToolBar_AddSeparator",&_argc0))
800 return NULL;
801 if (_argc0) {
802 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
804 return NULL;
805 }
806 }
807 wxToolBar_AddSeparator(_arg0);
808 Py_INCREF(Py_None);
809 _resultobj = Py_None;
810 return _resultobj;
811 }
812
813 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) {
814 return self->AddTool(toolIndex, bitmap1, bitmap2,
815 isToggle, xPos, yPos, NULL,
816 shortHelpString, longHelpString);
817 }
818 static PyObject *_wrap_wxToolBar_AddTool(PyObject *self, PyObject *args) {
819 PyObject * _resultobj;
820 wxToolBarTool * _result;
821 wxToolBar * _arg0;
822 int _arg1;
823 wxBitmap * _arg2;
824 wxBitmap * _arg3 = &wxNullBitmap;
825 int _arg4 = (0);
826 long _arg5 = -1;
827 long _arg6 = -1;
828 wxString * _arg7 = &wxPyEmptyStr;
829 wxString * _arg8 = &wxPyEmptyStr;
830 char * _argc0 = 0;
831 char * _argc2 = 0;
832 char * _argc3 = 0;
833 PyObject * _obj7 = 0;
834 PyObject * _obj8 = 0;
835 char _ptemp[128];
836
837 self = self;
838 if(!PyArg_ParseTuple(args,"sis|sillOO:wxToolBar_AddTool",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5,&_arg6,&_obj7,&_obj8))
839 return NULL;
840 if (_argc0) {
841 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
843 return NULL;
844 }
845 }
846 if (_argc2) {
847 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
848 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
849 return NULL;
850 }
851 }
852 if (_argc3) {
853 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxBitmap_p")) {
854 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
855 return NULL;
856 }
857 }
858 if (_obj7)
859 {
860 if (!PyString_Check(_obj7)) {
861 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
862 return NULL;
863 }
864 _arg7 = new wxString(PyString_AsString(_obj7));
865 }
866 if (_obj8)
867 {
868 if (!PyString_Check(_obj8)) {
869 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
870 return NULL;
871 }
872 _arg8 = new wxString(PyString_AsString(_obj8));
873 }
874 _result = (wxToolBarTool *)wxToolBar_AddTool(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
875 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
876 _resultobj = Py_BuildValue("s",_ptemp);
877 {
878 if (_obj7)
879 delete _arg7;
880 }
881 {
882 if (_obj8)
883 delete _arg8;
884 }
885 return _resultobj;
886 }
887
888 static wxToolBarTool * wxToolBar_AddSimpleTool(wxToolBar *self,int toolIndex,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString) {
889 return self->AddTool(toolIndex, bitmap, wxNullBitmap,
890 FALSE, -1, -1, NULL,
891 shortHelpString, longHelpString);
892 }
893 static PyObject *_wrap_wxToolBar_AddSimpleTool(PyObject *self, PyObject *args) {
894 PyObject * _resultobj;
895 wxToolBarTool * _result;
896 wxToolBar * _arg0;
897 int _arg1;
898 wxBitmap * _arg2;
899 wxString * _arg3 = &wxPyEmptyStr;
900 wxString * _arg4 = &wxPyEmptyStr;
901 char * _argc0 = 0;
902 char * _argc2 = 0;
903 PyObject * _obj3 = 0;
904 PyObject * _obj4 = 0;
905 char _ptemp[128];
906
907 self = self;
908 if(!PyArg_ParseTuple(args,"sis|OO:wxToolBar_AddSimpleTool",&_argc0,&_arg1,&_argc2,&_obj3,&_obj4))
909 return NULL;
910 if (_argc0) {
911 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
913 return NULL;
914 }
915 }
916 if (_argc2) {
917 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
918 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
919 return NULL;
920 }
921 }
922 if (_obj3)
923 {
924 if (!PyString_Check(_obj3)) {
925 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
926 return NULL;
927 }
928 _arg3 = new wxString(PyString_AsString(_obj3));
929 }
930 if (_obj4)
931 {
932 if (!PyString_Check(_obj4)) {
933 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
934 return NULL;
935 }
936 _arg4 = new wxString(PyString_AsString(_obj4));
937 }
938 _result = (wxToolBarTool *)wxToolBar_AddSimpleTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4);
939 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
940 _resultobj = Py_BuildValue("s",_ptemp);
941 {
942 if (_obj3)
943 delete _arg3;
944 }
945 {
946 if (_obj4)
947 delete _arg4;
948 }
949 return _resultobj;
950 }
951
952 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
953 static PyObject *_wrap_wxToolBar_EnableTool(PyObject *self, PyObject *args) {
954 PyObject * _resultobj;
955 wxToolBar * _arg0;
956 int _arg1;
957 bool _arg2;
958 char * _argc0 = 0;
959 int tempbool2;
960
961 self = self;
962 if(!PyArg_ParseTuple(args,"sii:wxToolBar_EnableTool",&_argc0,&_arg1,&tempbool2))
963 return NULL;
964 if (_argc0) {
965 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
967 return NULL;
968 }
969 }
970 _arg2 = (bool ) tempbool2;
971 wxToolBar_EnableTool(_arg0,_arg1,_arg2);
972 Py_INCREF(Py_None);
973 _resultobj = Py_None;
974 return _resultobj;
975 }
976
977 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
978 static PyObject *_wrap_wxToolBar_GetToolEnabled(PyObject *self, PyObject *args) {
979 PyObject * _resultobj;
980 bool _result;
981 wxToolBar * _arg0;
982 int _arg1;
983 char * _argc0 = 0;
984
985 self = self;
986 if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolEnabled",&_argc0,&_arg1))
987 return NULL;
988 if (_argc0) {
989 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
991 return NULL;
992 }
993 }
994 _result = (bool )wxToolBar_GetToolEnabled(_arg0,_arg1);
995 _resultobj = Py_BuildValue("i",_result);
996 return _resultobj;
997 }
998
999 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
1000 static PyObject *_wrap_wxToolBar_GetToolLongHelp(PyObject *self, PyObject *args) {
1001 PyObject * _resultobj;
1002 wxString * _result;
1003 wxToolBar * _arg0;
1004 int _arg1;
1005 char * _argc0 = 0;
1006
1007 self = self;
1008 if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolLongHelp",&_argc0,&_arg1))
1009 return NULL;
1010 if (_argc0) {
1011 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
1013 return NULL;
1014 }
1015 }
1016 _result = new wxString (wxToolBar_GetToolLongHelp(_arg0,_arg1));
1017 {
1018 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1019 }
1020 {
1021 delete _result;
1022 }
1023 return _resultobj;
1024 }
1025
1026 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
1027 static PyObject *_wrap_wxToolBar_GetToolPacking(PyObject *self, PyObject *args) {
1028 PyObject * _resultobj;
1029 int _result;
1030 wxToolBar * _arg0;
1031 char * _argc0 = 0;
1032
1033 self = self;
1034 if(!PyArg_ParseTuple(args,"s:wxToolBar_GetToolPacking",&_argc0))
1035 return NULL;
1036 if (_argc0) {
1037 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
1039 return NULL;
1040 }
1041 }
1042 _result = (int )wxToolBar_GetToolPacking(_arg0);
1043 _resultobj = Py_BuildValue("i",_result);
1044 return _resultobj;
1045 }
1046
1047 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
1048 static PyObject *_wrap_wxToolBar_GetToolSeparation(PyObject *self, PyObject *args) {
1049 PyObject * _resultobj;
1050 int _result;
1051 wxToolBar * _arg0;
1052 char * _argc0 = 0;
1053
1054 self = self;
1055 if(!PyArg_ParseTuple(args,"s:wxToolBar_GetToolSeparation",&_argc0))
1056 return NULL;
1057 if (_argc0) {
1058 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
1060 return NULL;
1061 }
1062 }
1063 _result = (int )wxToolBar_GetToolSeparation(_arg0);
1064 _resultobj = Py_BuildValue("i",_result);
1065 return _resultobj;
1066 }
1067
1068 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
1069 static PyObject *_wrap_wxToolBar_GetToolShortHelp(PyObject *self, PyObject *args) {
1070 PyObject * _resultobj;
1071 wxString * _result;
1072 wxToolBar * _arg0;
1073 int _arg1;
1074 char * _argc0 = 0;
1075
1076 self = self;
1077 if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolShortHelp",&_argc0,&_arg1))
1078 return NULL;
1079 if (_argc0) {
1080 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
1082 return NULL;
1083 }
1084 }
1085 _result = new wxString (wxToolBar_GetToolShortHelp(_arg0,_arg1));
1086 {
1087 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1088 }
1089 {
1090 delete _result;
1091 }
1092 return _resultobj;
1093 }
1094
1095 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
1096 static PyObject *_wrap_wxToolBar_GetToolState(PyObject *self, PyObject *args) {
1097 PyObject * _resultobj;
1098 bool _result;
1099 wxToolBar * _arg0;
1100 int _arg1;
1101 char * _argc0 = 0;
1102
1103 self = self;
1104 if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolState",&_argc0,&_arg1))
1105 return NULL;
1106 if (_argc0) {
1107 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
1109 return NULL;
1110 }
1111 }
1112 _result = (bool )wxToolBar_GetToolState(_arg0,_arg1);
1113 _resultobj = Py_BuildValue("i",_result);
1114 return _resultobj;
1115 }
1116
1117 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
1118 static PyObject *_wrap_wxToolBar_Realize(PyObject *self, PyObject *args) {
1119 PyObject * _resultobj;
1120 bool _result;
1121 wxToolBar * _arg0;
1122 char * _argc0 = 0;
1123
1124 self = self;
1125 if(!PyArg_ParseTuple(args,"s:wxToolBar_Realize",&_argc0))
1126 return NULL;
1127 if (_argc0) {
1128 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
1130 return NULL;
1131 }
1132 }
1133 _result = (bool )wxToolBar_Realize(_arg0);
1134 _resultobj = Py_BuildValue("i",_result);
1135 return _resultobj;
1136 }
1137
1138 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
1139 static PyObject *_wrap_wxToolBar_SetToolLongHelp(PyObject *self, PyObject *args) {
1140 PyObject * _resultobj;
1141 wxToolBar * _arg0;
1142 int _arg1;
1143 wxString * _arg2;
1144 char * _argc0 = 0;
1145 PyObject * _obj2 = 0;
1146
1147 self = self;
1148 if(!PyArg_ParseTuple(args,"siO:wxToolBar_SetToolLongHelp",&_argc0,&_arg1,&_obj2))
1149 return NULL;
1150 if (_argc0) {
1151 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
1153 return NULL;
1154 }
1155 }
1156 {
1157 if (!PyString_Check(_obj2)) {
1158 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1159 return NULL;
1160 }
1161 _arg2 = new wxString(PyString_AsString(_obj2));
1162 }
1163 wxToolBar_SetToolLongHelp(_arg0,_arg1,*_arg2);
1164 Py_INCREF(Py_None);
1165 _resultobj = Py_None;
1166 {
1167 if (_obj2)
1168 delete _arg2;
1169 }
1170 return _resultobj;
1171 }
1172
1173 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
1174 static PyObject *_wrap_wxToolBar_SetToolShortHelp(PyObject *self, PyObject *args) {
1175 PyObject * _resultobj;
1176 wxToolBar * _arg0;
1177 int _arg1;
1178 wxString * _arg2;
1179 char * _argc0 = 0;
1180 PyObject * _obj2 = 0;
1181
1182 self = self;
1183 if(!PyArg_ParseTuple(args,"siO:wxToolBar_SetToolShortHelp",&_argc0,&_arg1,&_obj2))
1184 return NULL;
1185 if (_argc0) {
1186 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
1188 return NULL;
1189 }
1190 }
1191 {
1192 if (!PyString_Check(_obj2)) {
1193 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1194 return NULL;
1195 }
1196 _arg2 = new wxString(PyString_AsString(_obj2));
1197 }
1198 wxToolBar_SetToolShortHelp(_arg0,_arg1,*_arg2);
1199 Py_INCREF(Py_None);
1200 _resultobj = Py_None;
1201 {
1202 if (_obj2)
1203 delete _arg2;
1204 }
1205 return _resultobj;
1206 }
1207
1208 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
1209 static PyObject *_wrap_wxToolBar_SetMargins(PyObject *self, PyObject *args) {
1210 PyObject * _resultobj;
1211 wxToolBar * _arg0;
1212 wxSize * _arg1;
1213 char * _argc0 = 0;
1214 char * _argc1 = 0;
1215
1216 self = self;
1217 if(!PyArg_ParseTuple(args,"ss:wxToolBar_SetMargins",&_argc0,&_argc1))
1218 return NULL;
1219 if (_argc0) {
1220 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
1222 return NULL;
1223 }
1224 }
1225 if (_argc1) {
1226 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
1227 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBar_SetMargins. Expected _wxSize_p.");
1228 return NULL;
1229 }
1230 }
1231 wxToolBar_SetMargins(_arg0,*_arg1);
1232 Py_INCREF(Py_None);
1233 _resultobj = Py_None;
1234 return _resultobj;
1235 }
1236
1237 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
1238 static PyObject *_wrap_wxToolBar_SetToolPacking(PyObject *self, PyObject *args) {
1239 PyObject * _resultobj;
1240 wxToolBar * _arg0;
1241 int _arg1;
1242 char * _argc0 = 0;
1243
1244 self = self;
1245 if(!PyArg_ParseTuple(args,"si:wxToolBar_SetToolPacking",&_argc0,&_arg1))
1246 return NULL;
1247 if (_argc0) {
1248 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
1250 return NULL;
1251 }
1252 }
1253 wxToolBar_SetToolPacking(_arg0,_arg1);
1254 Py_INCREF(Py_None);
1255 _resultobj = Py_None;
1256 return _resultobj;
1257 }
1258
1259 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
1260 static PyObject *_wrap_wxToolBar_SetToolSeparation(PyObject *self, PyObject *args) {
1261 PyObject * _resultobj;
1262 wxToolBar * _arg0;
1263 int _arg1;
1264 char * _argc0 = 0;
1265
1266 self = self;
1267 if(!PyArg_ParseTuple(args,"si:wxToolBar_SetToolSeparation",&_argc0,&_arg1))
1268 return NULL;
1269 if (_argc0) {
1270 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
1272 return NULL;
1273 }
1274 }
1275 wxToolBar_SetToolSeparation(_arg0,_arg1);
1276 Py_INCREF(Py_None);
1277 _resultobj = Py_None;
1278 return _resultobj;
1279 }
1280
1281 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
1282 static PyObject *_wrap_wxToolBar_ToggleTool(PyObject *self, PyObject *args) {
1283 PyObject * _resultobj;
1284 wxToolBar * _arg0;
1285 int _arg1;
1286 bool _arg2;
1287 char * _argc0 = 0;
1288 int tempbool2;
1289
1290 self = self;
1291 if(!PyArg_ParseTuple(args,"sii:wxToolBar_ToggleTool",&_argc0,&_arg1,&tempbool2))
1292 return NULL;
1293 if (_argc0) {
1294 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) {
1295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
1296 return NULL;
1297 }
1298 }
1299 _arg2 = (bool ) tempbool2;
1300 wxToolBar_ToggleTool(_arg0,_arg1,_arg2);
1301 Py_INCREF(Py_None);
1302 _resultobj = Py_None;
1303 return _resultobj;
1304 }
1305
1306 static PyMethodDef stattoolcMethods[] = {
1307 { "wxToolBar_ToggleTool", _wrap_wxToolBar_ToggleTool, 1 },
1308 { "wxToolBar_SetToolSeparation", _wrap_wxToolBar_SetToolSeparation, 1 },
1309 { "wxToolBar_SetToolPacking", _wrap_wxToolBar_SetToolPacking, 1 },
1310 { "wxToolBar_SetMargins", _wrap_wxToolBar_SetMargins, 1 },
1311 { "wxToolBar_SetToolShortHelp", _wrap_wxToolBar_SetToolShortHelp, 1 },
1312 { "wxToolBar_SetToolLongHelp", _wrap_wxToolBar_SetToolLongHelp, 1 },
1313 { "wxToolBar_Realize", _wrap_wxToolBar_Realize, 1 },
1314 { "wxToolBar_GetToolState", _wrap_wxToolBar_GetToolState, 1 },
1315 { "wxToolBar_GetToolShortHelp", _wrap_wxToolBar_GetToolShortHelp, 1 },
1316 { "wxToolBar_GetToolSeparation", _wrap_wxToolBar_GetToolSeparation, 1 },
1317 { "wxToolBar_GetToolPacking", _wrap_wxToolBar_GetToolPacking, 1 },
1318 { "wxToolBar_GetToolLongHelp", _wrap_wxToolBar_GetToolLongHelp, 1 },
1319 { "wxToolBar_GetToolEnabled", _wrap_wxToolBar_GetToolEnabled, 1 },
1320 { "wxToolBar_EnableTool", _wrap_wxToolBar_EnableTool, 1 },
1321 { "wxToolBar_AddSimpleTool", _wrap_wxToolBar_AddSimpleTool, 1 },
1322 { "wxToolBar_AddTool", _wrap_wxToolBar_AddTool, 1 },
1323 { "wxToolBar_AddSeparator", _wrap_wxToolBar_AddSeparator, 1 },
1324 { "new_wxToolBar", _wrap_new_wxToolBar, 1 },
1325 { "wxToolBarTool_m_longHelpString_get", _wrap_wxToolBarTool_m_longHelpString_get, 1 },
1326 { "wxToolBarTool_m_shortHelpString_get", _wrap_wxToolBarTool_m_shortHelpString_get, 1 },
1327 { "wxToolBarTool_m_isMenuCommand_get", _wrap_wxToolBarTool_m_isMenuCommand_get, 1 },
1328 { "wxToolBarTool_m_bitmap2_get", _wrap_wxToolBarTool_m_bitmap2_get, 1 },
1329 { "wxToolBarTool_m_bitmap1_get", _wrap_wxToolBarTool_m_bitmap1_get, 1 },
1330 { "wxToolBarTool_m_enabled_get", _wrap_wxToolBarTool_m_enabled_get, 1 },
1331 { "wxToolBarTool_m_deleteSecondBitmap_get", _wrap_wxToolBarTool_m_deleteSecondBitmap_get, 1 },
1332 { "wxToolBarTool_m_isToggle_get", _wrap_wxToolBarTool_m_isToggle_get, 1 },
1333 { "wxToolBarTool_m_toggleState_get", _wrap_wxToolBarTool_m_toggleState_get, 1 },
1334 { "wxToolBarTool_m_index_get", _wrap_wxToolBarTool_m_index_get, 1 },
1335 { "wxToolBarTool_m_clientData_get", _wrap_wxToolBarTool_m_clientData_get, 1 },
1336 { "wxToolBarTool_m_toolStyle_get", _wrap_wxToolBarTool_m_toolStyle_get, 1 },
1337 { "delete_wxToolBarTool", _wrap_delete_wxToolBarTool, 1 },
1338 { "new_wxToolBarTool", _wrap_new_wxToolBarTool, 1 },
1339 { "wxStatusBar_SetStatusWidths", _wrap_wxStatusBar_SetStatusWidths, 1 },
1340 { "wxStatusBar_SetStatusText", _wrap_wxStatusBar_SetStatusText, 1 },
1341 { "wxStatusBar_SetFieldsCount", _wrap_wxStatusBar_SetFieldsCount, 1 },
1342 { "wxStatusBar_InitColours", _wrap_wxStatusBar_InitColours, 1 },
1343 { "wxStatusBar_DrawFieldText", _wrap_wxStatusBar_DrawFieldText, 1 },
1344 { "wxStatusBar_DrawField", _wrap_wxStatusBar_DrawField, 1 },
1345 { "wxStatusBar_GetStatusText", _wrap_wxStatusBar_GetStatusText, 1 },
1346 { "wxStatusBar_GetFieldsCount", _wrap_wxStatusBar_GetFieldsCount, 1 },
1347 { "wxStatusBar_GetFieldRect", _wrap_wxStatusBar_GetFieldRect, 1 },
1348 { "new_wxStatusBar", _wrap_new_wxStatusBar, 1 },
1349 { NULL, NULL }
1350 };
1351 static PyObject *SWIG_globals;
1352 #ifdef __cplusplus
1353 extern "C"
1354 #endif
1355 SWIGEXPORT(void,initstattoolc)() {
1356 PyObject *m, *d;
1357 SWIG_globals = SWIG_newvarlink();
1358 m = Py_InitModule("stattoolc", stattoolcMethods);
1359 d = PyModule_GetDict(m);
1360 /*
1361 * These are the pointer type-equivalency mappings.
1362 * (Used by the SWIG pointer type-checker).
1363 */
1364 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
1365 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
1366 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
1367 SWIG_RegisterMapping("_signed_long","_long",0);
1368 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
1369 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
1370 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
1371 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler);
1372 SWIG_RegisterMapping("_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler);
1373 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
1374 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
1375 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
1376 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
1377 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
1378 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
1379 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
1380 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
1381 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
1382 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
1383 SWIG_RegisterMapping("_byte","_unsigned_char",0);
1384 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
1385 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
1386 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
1387 SWIG_RegisterMapping("_long","_wxDash",0);
1388 SWIG_RegisterMapping("_long","_unsigned_long",0);
1389 SWIG_RegisterMapping("_long","_signed_long",0);
1390 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
1391 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
1392 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
1393 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
1394 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
1395 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
1396 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
1397 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
1398 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
1399 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
1400 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
1401 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
1402 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
1403 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
1404 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
1405 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
1406 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
1407 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
1408 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
1409 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
1410 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
1411 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
1412 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
1413 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
1414 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
1415 SWIG_RegisterMapping("_uint","_unsigned_int",0);
1416 SWIG_RegisterMapping("_uint","_int",0);
1417 SWIG_RegisterMapping("_uint","_wxWindowID",0);
1418 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
1419 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
1420 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
1421 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
1422 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
1423 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
1424 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
1425 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
1426 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
1427 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
1428 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
1429 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
1430 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
1431 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
1432 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
1433 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
1434 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
1435 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
1436 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
1437 SWIG_RegisterMapping("_EBool","_signed_int",0);
1438 SWIG_RegisterMapping("_EBool","_int",0);
1439 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
1440 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
1441 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
1442 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
1443 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
1444 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
1445 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
1446 SWIG_RegisterMapping("_unsigned_long","_long",0);
1447 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
1448 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
1449 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
1450 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
1451 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
1452 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
1453 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
1454 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
1455 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
1456 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
1457 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
1458 SWIG_RegisterMapping("_signed_int","_EBool",0);
1459 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
1460 SWIG_RegisterMapping("_signed_int","_int",0);
1461 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
1462 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
1463 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
1464 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
1465 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
1466 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
1467 SWIG_RegisterMapping("_WXTYPE","_short",0);
1468 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
1469 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
1470 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
1471 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
1472 SWIG_RegisterMapping("_unsigned_short","_short",0);
1473 SWIG_RegisterMapping("_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow);
1474 SWIG_RegisterMapping("_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow);
1475 SWIG_RegisterMapping("_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow);
1476 SWIG_RegisterMapping("_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow);
1477 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
1478 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
1479 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
1480 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
1481 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
1482 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
1483 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
1484 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
1485 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
1486 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
1487 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
1488 SWIG_RegisterMapping("_signed_short","_short",0);
1489 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
1490 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
1491 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
1492 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
1493 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
1494 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
1495 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
1496 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
1497 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
1498 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
1499 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
1500 SWIG_RegisterMapping("_unsigned_char","_byte",0);
1501 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
1502 SWIG_RegisterMapping("_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl);
1503 SWIG_RegisterMapping("_wxControl","_wxToolBar",SwigwxToolBarTowxControl);
1504 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
1505 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
1506 SWIG_RegisterMapping("_unsigned_int","_uint",0);
1507 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
1508 SWIG_RegisterMapping("_unsigned_int","_int",0);
1509 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
1510 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
1511 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
1512 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
1513 SWIG_RegisterMapping("_short","_WXTYPE",0);
1514 SWIG_RegisterMapping("_short","_unsigned_short",0);
1515 SWIG_RegisterMapping("_short","_signed_short",0);
1516 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
1517 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
1518 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
1519 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
1520 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
1521 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
1522 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
1523 SWIG_RegisterMapping("_wxWindowID","_uint",0);
1524 SWIG_RegisterMapping("_wxWindowID","_int",0);
1525 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
1526 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
1527 SWIG_RegisterMapping("_int","_EBool",0);
1528 SWIG_RegisterMapping("_int","_uint",0);
1529 SWIG_RegisterMapping("_int","_wxWindowID",0);
1530 SWIG_RegisterMapping("_int","_unsigned_int",0);
1531 SWIG_RegisterMapping("_int","_signed_int",0);
1532 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
1533 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
1534 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
1535 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
1536 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
1537 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
1538 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
1539 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
1540 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
1541 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
1542 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
1543 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
1544 SWIG_RegisterMapping("_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl);
1545 SWIG_RegisterMapping("_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl);
1546 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
1547 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
1548 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
1549 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
1550 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
1551 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
1552 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
1553 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
1554 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
1555 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
1556 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
1557 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
1558 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
1559 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
1560 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
1561 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
1562 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
1563 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
1564 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
1565 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
1566 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
1567 SWIG_RegisterMapping("_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler);
1568 SWIG_RegisterMapping("_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler);
1569 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
1570 SWIG_RegisterMapping("_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
1571 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
1572 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
1573 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
1574 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
1575 SWIG_RegisterMapping("_wxDash","_long",0);
1576 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
1577 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
1578 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
1579 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
1580 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
1581 SWIG_RegisterMapping("_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow);
1582 SWIG_RegisterMapping("_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow);
1583 SWIG_RegisterMapping("_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow);
1584 SWIG_RegisterMapping("_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow);
1585 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
1586 }