]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/stattool.cpp
Version 0.4 of wxPython for MSW.
[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 int* int_LIST_helper(PyObject* source);
108 extern long* long_LIST_helper(PyObject* source);
109 extern char** string_LIST_helper(PyObject* source);
110 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
111 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
112 extern wxString* wxString_LIST_helper(PyObject* source);
113 #ifdef __WXMSW__
114 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
115 #endif
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_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
465 static PyObject *_wrap_wxToolBarTool_SetSize(PyObject *self, PyObject *args) {
466 PyObject * _resultobj;
467 wxToolBarTool * _arg0;
468 long _arg1;
469 long _arg2;
470 char * _argc0 = 0;
471
472 self = self;
473 if(!PyArg_ParseTuple(args,"sll:wxToolBarTool_SetSize",&_argc0,&_arg1,&_arg2))
474 return NULL;
475 if (_argc0) {
476 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_SetSize. Expected _wxToolBarTool_p.");
478 return NULL;
479 }
480 }
481 wxToolBarTool_SetSize(_arg0,_arg1,_arg2);
482 Py_INCREF(Py_None);
483 _resultobj = Py_None;
484 return _resultobj;
485 }
486
487 #define wxToolBarTool_GetWidth(_swigobj) (_swigobj->GetWidth())
488 static PyObject *_wrap_wxToolBarTool_GetWidth(PyObject *self, PyObject *args) {
489 PyObject * _resultobj;
490 long _result;
491 wxToolBarTool * _arg0;
492 char * _argc0 = 0;
493
494 self = self;
495 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_GetWidth",&_argc0))
496 return NULL;
497 if (_argc0) {
498 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_GetWidth. Expected _wxToolBarTool_p.");
500 return NULL;
501 }
502 }
503 _result = (long )wxToolBarTool_GetWidth(_arg0);
504 _resultobj = Py_BuildValue("l",_result);
505 return _resultobj;
506 }
507
508 #define wxToolBarTool_GetHeight(_swigobj) (_swigobj->GetHeight())
509 static PyObject *_wrap_wxToolBarTool_GetHeight(PyObject *self, PyObject *args) {
510 PyObject * _resultobj;
511 long _result;
512 wxToolBarTool * _arg0;
513 char * _argc0 = 0;
514
515 self = self;
516 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_GetHeight",&_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_GetHeight. Expected _wxToolBarTool_p.");
521 return NULL;
522 }
523 }
524 _result = (long )wxToolBarTool_GetHeight(_arg0);
525 _resultobj = Py_BuildValue("l",_result);
526 return _resultobj;
527 }
528
529 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
530 static PyObject *_wrap_wxToolBarTool_m_toolStyle_get(PyObject *self, PyObject *args) {
531 PyObject * _resultobj;
532 int _result;
533 wxToolBarTool * _arg0;
534 char * _argc0 = 0;
535
536 self = self;
537 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_toolStyle_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_toolStyle_get. Expected _wxToolBarTool_p.");
542 return NULL;
543 }
544 }
545 _result = (int )wxToolBarTool_m_toolStyle_get(_arg0);
546 _resultobj = Py_BuildValue("i",_result);
547 return _resultobj;
548 }
549
550 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
551 static PyObject *_wrap_wxToolBarTool_m_clientData_get(PyObject *self, PyObject *args) {
552 PyObject * _resultobj;
553 wxObject * _result;
554 wxToolBarTool * _arg0;
555 char * _argc0 = 0;
556 char _ptemp[128];
557
558 self = self;
559 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_clientData_get",&_argc0))
560 return NULL;
561 if (_argc0) {
562 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
564 return NULL;
565 }
566 }
567 _result = (wxObject *)wxToolBarTool_m_clientData_get(_arg0);
568 SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p");
569 _resultobj = Py_BuildValue("s",_ptemp);
570 return _resultobj;
571 }
572
573 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
574 static PyObject *_wrap_wxToolBarTool_m_index_get(PyObject *self, PyObject *args) {
575 PyObject * _resultobj;
576 int _result;
577 wxToolBarTool * _arg0;
578 char * _argc0 = 0;
579
580 self = self;
581 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_index_get",&_argc0))
582 return NULL;
583 if (_argc0) {
584 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
586 return NULL;
587 }
588 }
589 _result = (int )wxToolBarTool_m_index_get(_arg0);
590 _resultobj = Py_BuildValue("i",_result);
591 return _resultobj;
592 }
593
594 #define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x)
595 static PyObject *_wrap_wxToolBarTool_m_x_get(PyObject *self, PyObject *args) {
596 PyObject * _resultobj;
597 long _result;
598 wxToolBarTool * _arg0;
599 char * _argc0 = 0;
600
601 self = self;
602 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_x_get",&_argc0))
603 return NULL;
604 if (_argc0) {
605 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_x_get. Expected _wxToolBarTool_p.");
607 return NULL;
608 }
609 }
610 _result = (long )wxToolBarTool_m_x_get(_arg0);
611 _resultobj = Py_BuildValue("l",_result);
612 return _resultobj;
613 }
614
615 #define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y)
616 static PyObject *_wrap_wxToolBarTool_m_y_get(PyObject *self, PyObject *args) {
617 PyObject * _resultobj;
618 long _result;
619 wxToolBarTool * _arg0;
620 char * _argc0 = 0;
621
622 self = self;
623 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_y_get",&_argc0))
624 return NULL;
625 if (_argc0) {
626 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_y_get. Expected _wxToolBarTool_p.");
628 return NULL;
629 }
630 }
631 _result = (long )wxToolBarTool_m_y_get(_arg0);
632 _resultobj = Py_BuildValue("l",_result);
633 return _resultobj;
634 }
635
636 #define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width)
637 static PyObject *_wrap_wxToolBarTool_m_width_get(PyObject *self, PyObject *args) {
638 PyObject * _resultobj;
639 long _result;
640 wxToolBarTool * _arg0;
641 char * _argc0 = 0;
642
643 self = self;
644 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_width_get",&_argc0))
645 return NULL;
646 if (_argc0) {
647 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_width_get. Expected _wxToolBarTool_p.");
649 return NULL;
650 }
651 }
652 _result = (long )wxToolBarTool_m_width_get(_arg0);
653 _resultobj = Py_BuildValue("l",_result);
654 return _resultobj;
655 }
656
657 #define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height)
658 static PyObject *_wrap_wxToolBarTool_m_height_get(PyObject *self, PyObject *args) {
659 PyObject * _resultobj;
660 long _result;
661 wxToolBarTool * _arg0;
662 char * _argc0 = 0;
663
664 self = self;
665 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_height_get",&_argc0))
666 return NULL;
667 if (_argc0) {
668 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_height_get. Expected _wxToolBarTool_p.");
670 return NULL;
671 }
672 }
673 _result = (long )wxToolBarTool_m_height_get(_arg0);
674 _resultobj = Py_BuildValue("l",_result);
675 return _resultobj;
676 }
677
678 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
679 static PyObject *_wrap_wxToolBarTool_m_toggleState_get(PyObject *self, PyObject *args) {
680 PyObject * _resultobj;
681 bool _result;
682 wxToolBarTool * _arg0;
683 char * _argc0 = 0;
684
685 self = self;
686 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_toggleState_get",&_argc0))
687 return NULL;
688 if (_argc0) {
689 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
691 return NULL;
692 }
693 }
694 _result = (bool )wxToolBarTool_m_toggleState_get(_arg0);
695 _resultobj = Py_BuildValue("i",_result);
696 return _resultobj;
697 }
698
699 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
700 static PyObject *_wrap_wxToolBarTool_m_isToggle_get(PyObject *self, PyObject *args) {
701 PyObject * _resultobj;
702 bool _result;
703 wxToolBarTool * _arg0;
704 char * _argc0 = 0;
705
706 self = self;
707 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_isToggle_get",&_argc0))
708 return NULL;
709 if (_argc0) {
710 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
712 return NULL;
713 }
714 }
715 _result = (bool )wxToolBarTool_m_isToggle_get(_arg0);
716 _resultobj = Py_BuildValue("i",_result);
717 return _resultobj;
718 }
719
720 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
721 static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject *self, PyObject *args) {
722 PyObject * _resultobj;
723 bool _result;
724 wxToolBarTool * _arg0;
725 char * _argc0 = 0;
726
727 self = self;
728 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_deleteSecondBitmap_get",&_argc0))
729 return NULL;
730 if (_argc0) {
731 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
733 return NULL;
734 }
735 }
736 _result = (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0);
737 _resultobj = Py_BuildValue("i",_result);
738 return _resultobj;
739 }
740
741 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
742 static PyObject *_wrap_wxToolBarTool_m_enabled_get(PyObject *self, PyObject *args) {
743 PyObject * _resultobj;
744 bool _result;
745 wxToolBarTool * _arg0;
746 char * _argc0 = 0;
747
748 self = self;
749 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_enabled_get",&_argc0))
750 return NULL;
751 if (_argc0) {
752 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
754 return NULL;
755 }
756 }
757 _result = (bool )wxToolBarTool_m_enabled_get(_arg0);
758 _resultobj = Py_BuildValue("i",_result);
759 return _resultobj;
760 }
761
762 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
763 static PyObject *_wrap_wxToolBarTool_m_bitmap1_get(PyObject *self, PyObject *args) {
764 PyObject * _resultobj;
765 wxBitmap * _result;
766 wxToolBarTool * _arg0;
767 char * _argc0 = 0;
768 char _ptemp[128];
769
770 self = self;
771 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_bitmap1_get",&_argc0))
772 return NULL;
773 if (_argc0) {
774 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
776 return NULL;
777 }
778 }
779 _result = (wxBitmap *)wxToolBarTool_m_bitmap1_get(_arg0);
780 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
781 _resultobj = Py_BuildValue("s",_ptemp);
782 return _resultobj;
783 }
784
785 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
786 static PyObject *_wrap_wxToolBarTool_m_bitmap2_get(PyObject *self, PyObject *args) {
787 PyObject * _resultobj;
788 wxBitmap * _result;
789 wxToolBarTool * _arg0;
790 char * _argc0 = 0;
791 char _ptemp[128];
792
793 self = self;
794 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_bitmap2_get",&_argc0))
795 return NULL;
796 if (_argc0) {
797 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
799 return NULL;
800 }
801 }
802 _result = (wxBitmap *)wxToolBarTool_m_bitmap2_get(_arg0);
803 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
804 _resultobj = Py_BuildValue("s",_ptemp);
805 return _resultobj;
806 }
807
808 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
809 static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject *self, PyObject *args) {
810 PyObject * _resultobj;
811 bool _result;
812 wxToolBarTool * _arg0;
813 char * _argc0 = 0;
814
815 self = self;
816 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_isMenuCommand_get",&_argc0))
817 return NULL;
818 if (_argc0) {
819 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
821 return NULL;
822 }
823 }
824 _result = (bool )wxToolBarTool_m_isMenuCommand_get(_arg0);
825 _resultobj = Py_BuildValue("i",_result);
826 return _resultobj;
827 }
828
829 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
830 static PyObject *_wrap_wxToolBarTool_m_shortHelpString_get(PyObject *self, PyObject *args) {
831 PyObject * _resultobj;
832 wxString * _result;
833 wxToolBarTool * _arg0;
834 char * _argc0 = 0;
835
836 self = self;
837 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_shortHelpString_get",&_argc0))
838 return NULL;
839 if (_argc0) {
840 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
842 return NULL;
843 }
844 }
845 _result = (wxString *)wxToolBarTool_m_shortHelpString_get(_arg0);
846 {
847 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
848 }
849 return _resultobj;
850 }
851
852 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
853 static PyObject *_wrap_wxToolBarTool_m_longHelpString_get(PyObject *self, PyObject *args) {
854 PyObject * _resultobj;
855 wxString * _result;
856 wxToolBarTool * _arg0;
857 char * _argc0 = 0;
858
859 self = self;
860 if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_longHelpString_get",&_argc0))
861 return NULL;
862 if (_argc0) {
863 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) {
864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
865 return NULL;
866 }
867 }
868 _result = (wxString *)wxToolBarTool_m_longHelpString_get(_arg0);
869 {
870 _resultobj = PyString_FromString(WXSTRINGCAST (*_result));
871 }
872 return _resultobj;
873 }
874
875 static void *SwigwxToolBarBaseTowxControl(void *ptr) {
876 wxToolBarBase *src;
877 wxControl *dest;
878 src = (wxToolBarBase *) ptr;
879 dest = (wxControl *) src;
880 return (void *) dest;
881 }
882
883 static void *SwigwxToolBarBaseTowxWindow(void *ptr) {
884 wxToolBarBase *src;
885 wxWindow *dest;
886 src = (wxToolBarBase *) ptr;
887 dest = (wxWindow *) src;
888 return (void *) dest;
889 }
890
891 static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr) {
892 wxToolBarBase *src;
893 wxEvtHandler *dest;
894 src = (wxToolBarBase *) ptr;
895 dest = (wxEvtHandler *) src;
896 return (void *) dest;
897 }
898
899 #define wxToolBarBase_AddSeparator(_swigobj) (_swigobj->AddSeparator())
900 static PyObject *_wrap_wxToolBarBase_AddSeparator(PyObject *self, PyObject *args) {
901 PyObject * _resultobj;
902 wxToolBarBase * _arg0;
903 char * _argc0 = 0;
904
905 self = self;
906 if(!PyArg_ParseTuple(args,"s:wxToolBarBase_AddSeparator",&_argc0))
907 return NULL;
908 if (_argc0) {
909 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddSeparator. Expected _wxToolBarBase_p.");
911 return NULL;
912 }
913 }
914 wxToolBarBase_AddSeparator(_arg0);
915 Py_INCREF(Py_None);
916 _resultobj = Py_None;
917 return _resultobj;
918 }
919
920 static wxToolBarTool * wxToolBarBase_AddTool(wxToolBarBase *self,int toolIndex,const wxBitmap & bitmap1,const wxBitmap & bitmap2,int isToggle,long xPos,long yPos,const wxString & shortHelpString,const wxString & longHelpString) {
921 return self->AddTool(toolIndex, bitmap1, bitmap2,
922 isToggle, xPos, yPos, NULL,
923 shortHelpString, longHelpString);
924 }
925 static PyObject *_wrap_wxToolBarBase_AddTool(PyObject *self, PyObject *args) {
926 PyObject * _resultobj;
927 wxToolBarTool * _result;
928 wxToolBarBase * _arg0;
929 int _arg1;
930 wxBitmap * _arg2;
931 wxBitmap * _arg3 = &wxNullBitmap;
932 int _arg4 = (0);
933 long _arg5 = -1;
934 long _arg6 = -1;
935 wxString * _arg7 = &wxPyEmptyStr;
936 wxString * _arg8 = &wxPyEmptyStr;
937 char * _argc0 = 0;
938 char * _argc2 = 0;
939 char * _argc3 = 0;
940 PyObject * _obj7 = 0;
941 PyObject * _obj8 = 0;
942 char _ptemp[128];
943
944 self = self;
945 if(!PyArg_ParseTuple(args,"sis|sillOO:wxToolBarBase_AddTool",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5,&_arg6,&_obj7,&_obj8))
946 return NULL;
947 if (_argc0) {
948 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddTool. Expected _wxToolBarBase_p.");
950 return NULL;
951 }
952 }
953 if (_argc2) {
954 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
955 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
956 return NULL;
957 }
958 }
959 if (_argc3) {
960 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxBitmap_p")) {
961 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
962 return NULL;
963 }
964 }
965 if (_obj7)
966 {
967 if (!PyString_Check(_obj7)) {
968 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
969 return NULL;
970 }
971 _arg7 = new wxString(PyString_AsString(_obj7));
972 }
973 if (_obj8)
974 {
975 if (!PyString_Check(_obj8)) {
976 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
977 return NULL;
978 }
979 _arg8 = new wxString(PyString_AsString(_obj8));
980 }
981 _result = (wxToolBarTool *)wxToolBarBase_AddTool(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
982 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
983 _resultobj = Py_BuildValue("s",_ptemp);
984 {
985 if (_obj7)
986 delete _arg7;
987 }
988 {
989 if (_obj8)
990 delete _arg8;
991 }
992 return _resultobj;
993 }
994
995 #define wxToolBarBase_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
996 static PyObject *_wrap_wxToolBarBase_EnableTool(PyObject *self, PyObject *args) {
997 PyObject * _resultobj;
998 wxToolBarBase * _arg0;
999 int _arg1;
1000 bool _arg2;
1001 char * _argc0 = 0;
1002 int tempbool2;
1003
1004 self = self;
1005 if(!PyArg_ParseTuple(args,"sii:wxToolBarBase_EnableTool",&_argc0,&_arg1,&tempbool2))
1006 return NULL;
1007 if (_argc0) {
1008 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_EnableTool. Expected _wxToolBarBase_p.");
1010 return NULL;
1011 }
1012 }
1013 _arg2 = (bool ) tempbool2;
1014 wxToolBarBase_EnableTool(_arg0,_arg1,_arg2);
1015 Py_INCREF(Py_None);
1016 _resultobj = Py_None;
1017 return _resultobj;
1018 }
1019
1020 #define wxToolBarBase_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
1021 static PyObject *_wrap_wxToolBarBase_FindToolForPosition(PyObject *self, PyObject *args) {
1022 PyObject * _resultobj;
1023 wxToolBarTool * _result;
1024 wxToolBarBase * _arg0;
1025 float _arg1;
1026 float _arg2;
1027 char * _argc0 = 0;
1028 char _ptemp[128];
1029
1030 self = self;
1031 if(!PyArg_ParseTuple(args,"sff:wxToolBarBase_FindToolForPosition",&_argc0,&_arg1,&_arg2))
1032 return NULL;
1033 if (_argc0) {
1034 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_FindToolForPosition. Expected _wxToolBarBase_p.");
1036 return NULL;
1037 }
1038 }
1039 _result = (wxToolBarTool *)wxToolBarBase_FindToolForPosition(_arg0,_arg1,_arg2);
1040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p");
1041 _resultobj = Py_BuildValue("s",_ptemp);
1042 return _resultobj;
1043 }
1044
1045 #define wxToolBarBase_GetToolSize(_swigobj) (_swigobj->GetToolSize())
1046 static PyObject *_wrap_wxToolBarBase_GetToolSize(PyObject *self, PyObject *args) {
1047 PyObject * _resultobj;
1048 wxSize * _result;
1049 wxToolBarBase * _arg0;
1050 char * _argc0 = 0;
1051 char _ptemp[128];
1052
1053 self = self;
1054 if(!PyArg_ParseTuple(args,"s:wxToolBarBase_GetToolSize",&_argc0))
1055 return NULL;
1056 if (_argc0) {
1057 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolSize. Expected _wxToolBarBase_p.");
1059 return NULL;
1060 }
1061 }
1062 _result = new wxSize (wxToolBarBase_GetToolSize(_arg0));
1063 SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1064 _resultobj = Py_BuildValue("s",_ptemp);
1065 return _resultobj;
1066 }
1067
1068 #define wxToolBarBase_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
1069 static PyObject *_wrap_wxToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args) {
1070 PyObject * _resultobj;
1071 wxSize * _result;
1072 wxToolBarBase * _arg0;
1073 char * _argc0 = 0;
1074 char _ptemp[128];
1075
1076 self = self;
1077 if(!PyArg_ParseTuple(args,"s:wxToolBarBase_GetToolBitmapSize",&_argc0))
1078 return NULL;
1079 if (_argc0) {
1080 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolBitmapSize. Expected _wxToolBarBase_p.");
1082 return NULL;
1083 }
1084 }
1085 _result = new wxSize (wxToolBarBase_GetToolBitmapSize(_arg0));
1086 SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1087 _resultobj = Py_BuildValue("s",_ptemp);
1088 return _resultobj;
1089 }
1090
1091 #define wxToolBarBase_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
1092 static PyObject *_wrap_wxToolBarBase_GetMaxSize(PyObject *self, PyObject *args) {
1093 PyObject * _resultobj;
1094 wxSize * _result;
1095 wxToolBarBase * _arg0;
1096 char * _argc0 = 0;
1097 char _ptemp[128];
1098
1099 self = self;
1100 if(!PyArg_ParseTuple(args,"s:wxToolBarBase_GetMaxSize",&_argc0))
1101 return NULL;
1102 if (_argc0) {
1103 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetMaxSize. Expected _wxToolBarBase_p.");
1105 return NULL;
1106 }
1107 }
1108 _result = new wxSize (wxToolBarBase_GetMaxSize(_arg0));
1109 SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1110 _resultobj = Py_BuildValue("s",_ptemp);
1111 return _resultobj;
1112 }
1113
1114 #define wxToolBarBase_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
1115 static PyObject *_wrap_wxToolBarBase_GetToolEnabled(PyObject *self, PyObject *args) {
1116 PyObject * _resultobj;
1117 bool _result;
1118 wxToolBarBase * _arg0;
1119 int _arg1;
1120 char * _argc0 = 0;
1121
1122 self = self;
1123 if(!PyArg_ParseTuple(args,"si:wxToolBarBase_GetToolEnabled",&_argc0,&_arg1))
1124 return NULL;
1125 if (_argc0) {
1126 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolEnabled. Expected _wxToolBarBase_p.");
1128 return NULL;
1129 }
1130 }
1131 _result = (bool )wxToolBarBase_GetToolEnabled(_arg0,_arg1);
1132 _resultobj = Py_BuildValue("i",_result);
1133 return _resultobj;
1134 }
1135
1136 #define wxToolBarBase_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
1137 static PyObject *_wrap_wxToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args) {
1138 PyObject * _resultobj;
1139 wxString * _result;
1140 wxToolBarBase * _arg0;
1141 int _arg1;
1142 char * _argc0 = 0;
1143
1144 self = self;
1145 if(!PyArg_ParseTuple(args,"si:wxToolBarBase_GetToolLongHelp",&_argc0,&_arg1))
1146 return NULL;
1147 if (_argc0) {
1148 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolLongHelp. Expected _wxToolBarBase_p.");
1150 return NULL;
1151 }
1152 }
1153 _result = new wxString (wxToolBarBase_GetToolLongHelp(_arg0,_arg1));
1154 {
1155 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1156 }
1157 {
1158 delete _result;
1159 }
1160 return _resultobj;
1161 }
1162
1163 #define wxToolBarBase_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
1164 static PyObject *_wrap_wxToolBarBase_GetToolPacking(PyObject *self, PyObject *args) {
1165 PyObject * _resultobj;
1166 int _result;
1167 wxToolBarBase * _arg0;
1168 char * _argc0 = 0;
1169
1170 self = self;
1171 if(!PyArg_ParseTuple(args,"s:wxToolBarBase_GetToolPacking",&_argc0))
1172 return NULL;
1173 if (_argc0) {
1174 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolPacking. Expected _wxToolBarBase_p.");
1176 return NULL;
1177 }
1178 }
1179 _result = (int )wxToolBarBase_GetToolPacking(_arg0);
1180 _resultobj = Py_BuildValue("i",_result);
1181 return _resultobj;
1182 }
1183
1184 #define wxToolBarBase_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
1185 static PyObject *_wrap_wxToolBarBase_GetToolSeparation(PyObject *self, PyObject *args) {
1186 PyObject * _resultobj;
1187 int _result;
1188 wxToolBarBase * _arg0;
1189 char * _argc0 = 0;
1190
1191 self = self;
1192 if(!PyArg_ParseTuple(args,"s:wxToolBarBase_GetToolSeparation",&_argc0))
1193 return NULL;
1194 if (_argc0) {
1195 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolSeparation. Expected _wxToolBarBase_p.");
1197 return NULL;
1198 }
1199 }
1200 _result = (int )wxToolBarBase_GetToolSeparation(_arg0);
1201 _resultobj = Py_BuildValue("i",_result);
1202 return _resultobj;
1203 }
1204
1205 #define wxToolBarBase_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
1206 static PyObject *_wrap_wxToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args) {
1207 PyObject * _resultobj;
1208 wxString * _result;
1209 wxToolBarBase * _arg0;
1210 int _arg1;
1211 char * _argc0 = 0;
1212
1213 self = self;
1214 if(!PyArg_ParseTuple(args,"si:wxToolBarBase_GetToolShortHelp",&_argc0,&_arg1))
1215 return NULL;
1216 if (_argc0) {
1217 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolShortHelp. Expected _wxToolBarBase_p.");
1219 return NULL;
1220 }
1221 }
1222 _result = new wxString (wxToolBarBase_GetToolShortHelp(_arg0,_arg1));
1223 {
1224 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1225 }
1226 {
1227 delete _result;
1228 }
1229 return _resultobj;
1230 }
1231
1232 #define wxToolBarBase_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
1233 static PyObject *_wrap_wxToolBarBase_GetToolState(PyObject *self, PyObject *args) {
1234 PyObject * _resultobj;
1235 bool _result;
1236 wxToolBarBase * _arg0;
1237 int _arg1;
1238 char * _argc0 = 0;
1239
1240 self = self;
1241 if(!PyArg_ParseTuple(args,"si:wxToolBarBase_GetToolState",&_argc0,&_arg1))
1242 return NULL;
1243 if (_argc0) {
1244 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolState. Expected _wxToolBarBase_p.");
1246 return NULL;
1247 }
1248 }
1249 _result = (bool )wxToolBarBase_GetToolState(_arg0,_arg1);
1250 _resultobj = Py_BuildValue("i",_result);
1251 return _resultobj;
1252 }
1253
1254 #define wxToolBarBase_Realize(_swigobj) (_swigobj->Realize())
1255 static PyObject *_wrap_wxToolBarBase_Realize(PyObject *self, PyObject *args) {
1256 PyObject * _resultobj;
1257 bool _result;
1258 wxToolBarBase * _arg0;
1259 char * _argc0 = 0;
1260
1261 self = self;
1262 if(!PyArg_ParseTuple(args,"s:wxToolBarBase_Realize",&_argc0))
1263 return NULL;
1264 if (_argc0) {
1265 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_Realize. Expected _wxToolBarBase_p.");
1267 return NULL;
1268 }
1269 }
1270 _result = (bool )wxToolBarBase_Realize(_arg0);
1271 _resultobj = Py_BuildValue("i",_result);
1272 return _resultobj;
1273 }
1274
1275 #define wxToolBarBase_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
1276 static PyObject *_wrap_wxToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args) {
1277 PyObject * _resultobj;
1278 wxToolBarBase * _arg0;
1279 wxSize * _arg1;
1280 char * _argc0 = 0;
1281 char * _argc1 = 0;
1282
1283 self = self;
1284 if(!PyArg_ParseTuple(args,"ss:wxToolBarBase_SetToolBitmapSize",&_argc0,&_argc1))
1285 return NULL;
1286 if (_argc0) {
1287 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolBitmapSize. Expected _wxToolBarBase_p.");
1289 return NULL;
1290 }
1291 }
1292 if (_argc1) {
1293 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
1294 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarBase_SetToolBitmapSize. Expected _wxSize_p.");
1295 return NULL;
1296 }
1297 }
1298 wxToolBarBase_SetToolBitmapSize(_arg0,*_arg1);
1299 Py_INCREF(Py_None);
1300 _resultobj = Py_None;
1301 return _resultobj;
1302 }
1303
1304 #define wxToolBarBase_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
1305 static PyObject *_wrap_wxToolBarBase_SetMargins(PyObject *self, PyObject *args) {
1306 PyObject * _resultobj;
1307 wxToolBarBase * _arg0;
1308 wxSize * _arg1;
1309 char * _argc0 = 0;
1310 char * _argc1 = 0;
1311
1312 self = self;
1313 if(!PyArg_ParseTuple(args,"ss:wxToolBarBase_SetMargins",&_argc0,&_argc1))
1314 return NULL;
1315 if (_argc0) {
1316 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetMargins. Expected _wxToolBarBase_p.");
1318 return NULL;
1319 }
1320 }
1321 if (_argc1) {
1322 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) {
1323 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarBase_SetMargins. Expected _wxSize_p.");
1324 return NULL;
1325 }
1326 }
1327 wxToolBarBase_SetMargins(_arg0,*_arg1);
1328 Py_INCREF(Py_None);
1329 _resultobj = Py_None;
1330 return _resultobj;
1331 }
1332
1333 #define wxToolBarBase_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
1334 static PyObject *_wrap_wxToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args) {
1335 PyObject * _resultobj;
1336 wxToolBarBase * _arg0;
1337 int _arg1;
1338 wxString * _arg2;
1339 char * _argc0 = 0;
1340 PyObject * _obj2 = 0;
1341
1342 self = self;
1343 if(!PyArg_ParseTuple(args,"siO:wxToolBarBase_SetToolLongHelp",&_argc0,&_arg1,&_obj2))
1344 return NULL;
1345 if (_argc0) {
1346 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolLongHelp. Expected _wxToolBarBase_p.");
1348 return NULL;
1349 }
1350 }
1351 {
1352 if (!PyString_Check(_obj2)) {
1353 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1354 return NULL;
1355 }
1356 _arg2 = new wxString(PyString_AsString(_obj2));
1357 }
1358 wxToolBarBase_SetToolLongHelp(_arg0,_arg1,*_arg2);
1359 Py_INCREF(Py_None);
1360 _resultobj = Py_None;
1361 {
1362 if (_obj2)
1363 delete _arg2;
1364 }
1365 return _resultobj;
1366 }
1367
1368 #define wxToolBarBase_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
1369 static PyObject *_wrap_wxToolBarBase_SetToolPacking(PyObject *self, PyObject *args) {
1370 PyObject * _resultobj;
1371 wxToolBarBase * _arg0;
1372 int _arg1;
1373 char * _argc0 = 0;
1374
1375 self = self;
1376 if(!PyArg_ParseTuple(args,"si:wxToolBarBase_SetToolPacking",&_argc0,&_arg1))
1377 return NULL;
1378 if (_argc0) {
1379 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolPacking. Expected _wxToolBarBase_p.");
1381 return NULL;
1382 }
1383 }
1384 wxToolBarBase_SetToolPacking(_arg0,_arg1);
1385 Py_INCREF(Py_None);
1386 _resultobj = Py_None;
1387 return _resultobj;
1388 }
1389
1390 #define wxToolBarBase_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
1391 static PyObject *_wrap_wxToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args) {
1392 PyObject * _resultobj;
1393 wxToolBarBase * _arg0;
1394 int _arg1;
1395 wxString * _arg2;
1396 char * _argc0 = 0;
1397 PyObject * _obj2 = 0;
1398
1399 self = self;
1400 if(!PyArg_ParseTuple(args,"siO:wxToolBarBase_SetToolShortHelp",&_argc0,&_arg1,&_obj2))
1401 return NULL;
1402 if (_argc0) {
1403 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolShortHelp. Expected _wxToolBarBase_p.");
1405 return NULL;
1406 }
1407 }
1408 {
1409 if (!PyString_Check(_obj2)) {
1410 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1411 return NULL;
1412 }
1413 _arg2 = new wxString(PyString_AsString(_obj2));
1414 }
1415 wxToolBarBase_SetToolShortHelp(_arg0,_arg1,*_arg2);
1416 Py_INCREF(Py_None);
1417 _resultobj = Py_None;
1418 {
1419 if (_obj2)
1420 delete _arg2;
1421 }
1422 return _resultobj;
1423 }
1424
1425 #define wxToolBarBase_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
1426 static PyObject *_wrap_wxToolBarBase_SetToolSeparation(PyObject *self, PyObject *args) {
1427 PyObject * _resultobj;
1428 wxToolBarBase * _arg0;
1429 int _arg1;
1430 char * _argc0 = 0;
1431
1432 self = self;
1433 if(!PyArg_ParseTuple(args,"si:wxToolBarBase_SetToolSeparation",&_argc0,&_arg1))
1434 return NULL;
1435 if (_argc0) {
1436 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolSeparation. Expected _wxToolBarBase_p.");
1438 return NULL;
1439 }
1440 }
1441 wxToolBarBase_SetToolSeparation(_arg0,_arg1);
1442 Py_INCREF(Py_None);
1443 _resultobj = Py_None;
1444 return _resultobj;
1445 }
1446
1447 #define wxToolBarBase_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
1448 static PyObject *_wrap_wxToolBarBase_ToggleTool(PyObject *self, PyObject *args) {
1449 PyObject * _resultobj;
1450 wxToolBarBase * _arg0;
1451 int _arg1;
1452 bool _arg2;
1453 char * _argc0 = 0;
1454 int tempbool2;
1455
1456 self = self;
1457 if(!PyArg_ParseTuple(args,"sii:wxToolBarBase_ToggleTool",&_argc0,&_arg1,&tempbool2))
1458 return NULL;
1459 if (_argc0) {
1460 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarBase_p")) {
1461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_ToggleTool. Expected _wxToolBarBase_p.");
1462 return NULL;
1463 }
1464 }
1465 _arg2 = (bool ) tempbool2;
1466 wxToolBarBase_ToggleTool(_arg0,_arg1,_arg2);
1467 Py_INCREF(Py_None);
1468 _resultobj = Py_None;
1469 return _resultobj;
1470 }
1471
1472 static void *SwigwxToolBarTowxToolBarBase(void *ptr) {
1473 wxToolBar *src;
1474 wxToolBarBase *dest;
1475 src = (wxToolBar *) ptr;
1476 dest = (wxToolBarBase *) src;
1477 return (void *) dest;
1478 }
1479
1480 static void *SwigwxToolBarTowxControl(void *ptr) {
1481 wxToolBar *src;
1482 wxControl *dest;
1483 src = (wxToolBar *) ptr;
1484 dest = (wxControl *) src;
1485 return (void *) dest;
1486 }
1487
1488 static void *SwigwxToolBarTowxWindow(void *ptr) {
1489 wxToolBar *src;
1490 wxWindow *dest;
1491 src = (wxToolBar *) ptr;
1492 dest = (wxWindow *) src;
1493 return (void *) dest;
1494 }
1495
1496 static void *SwigwxToolBarTowxEvtHandler(void *ptr) {
1497 wxToolBar *src;
1498 wxEvtHandler *dest;
1499 src = (wxToolBar *) ptr;
1500 dest = (wxEvtHandler *) src;
1501 return (void *) dest;
1502 }
1503
1504 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1505 static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args) {
1506 PyObject * _resultobj;
1507 wxToolBar * _result;
1508 wxWindow * _arg0;
1509 wxWindowID _arg1;
1510 wxPoint * _arg2 = &wxPyDefaultPosition;
1511 wxSize * _arg3 = &wxPyDefaultSize;
1512 long _arg4 = (wxTB_HORIZONTAL)|(wxNO_BORDER);
1513 char * _arg5 = "toolBar";
1514 char * _argc0 = 0;
1515 char * _argc2 = 0;
1516 char * _argc3 = 0;
1517 char _ptemp[128];
1518
1519 self = self;
1520 if(!PyArg_ParseTuple(args,"si|ssls:new_wxToolBar",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
1521 return NULL;
1522 if (_argc0) {
1523 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1525 return NULL;
1526 }
1527 }
1528 if (_argc2) {
1529 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
1530 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p.");
1531 return NULL;
1532 }
1533 }
1534 if (_argc3) {
1535 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
1536 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p.");
1537 return NULL;
1538 }
1539 }
1540 _result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1541 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p");
1542 _resultobj = Py_BuildValue("s",_ptemp);
1543 return _resultobj;
1544 }
1545
1546 static void *SwigwxToolBarSimpleTowxToolBarBase(void *ptr) {
1547 wxToolBarSimple *src;
1548 wxToolBarBase *dest;
1549 src = (wxToolBarSimple *) ptr;
1550 dest = (wxToolBarBase *) src;
1551 return (void *) dest;
1552 }
1553
1554 static void *SwigwxToolBarSimpleTowxControl(void *ptr) {
1555 wxToolBarSimple *src;
1556 wxControl *dest;
1557 src = (wxToolBarSimple *) ptr;
1558 dest = (wxControl *) src;
1559 return (void *) dest;
1560 }
1561
1562 static void *SwigwxToolBarSimpleTowxWindow(void *ptr) {
1563 wxToolBarSimple *src;
1564 wxWindow *dest;
1565 src = (wxToolBarSimple *) ptr;
1566 dest = (wxWindow *) src;
1567 return (void *) dest;
1568 }
1569
1570 static void *SwigwxToolBarSimpleTowxEvtHandler(void *ptr) {
1571 wxToolBarSimple *src;
1572 wxEvtHandler *dest;
1573 src = (wxToolBarSimple *) ptr;
1574 dest = (wxEvtHandler *) src;
1575 return (void *) dest;
1576 }
1577
1578 #define new_wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1579 static PyObject *_wrap_new_wxToolBarSimple(PyObject *self, PyObject *args) {
1580 PyObject * _resultobj;
1581 wxToolBarSimple * _result;
1582 wxWindow * _arg0;
1583 wxWindowID _arg1;
1584 wxPoint * _arg2 = &wxPyDefaultPosition;
1585 wxSize * _arg3 = &wxPyDefaultSize;
1586 long _arg4 = (wxTB_HORIZONTAL)|(wxNO_BORDER);
1587 char * _arg5 = "toolBar";
1588 char * _argc0 = 0;
1589 char * _argc2 = 0;
1590 char * _argc3 = 0;
1591 char _ptemp[128];
1592
1593 self = self;
1594 if(!PyArg_ParseTuple(args,"si|ssls:new_wxToolBarSimple",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
1595 return NULL;
1596 if (_argc0) {
1597 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBarSimple. Expected _wxWindow_p.");
1599 return NULL;
1600 }
1601 }
1602 if (_argc2) {
1603 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
1604 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxToolBarSimple. Expected _wxPoint_p.");
1605 return NULL;
1606 }
1607 }
1608 if (_argc3) {
1609 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
1610 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxToolBarSimple. Expected _wxSize_p.");
1611 return NULL;
1612 }
1613 }
1614 _result = (wxToolBarSimple *)new_wxToolBarSimple(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
1615 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarSimple_p");
1616 _resultobj = Py_BuildValue("s",_ptemp);
1617 return _resultobj;
1618 }
1619
1620 static PyMethodDef stattoolcMethods[] = {
1621 { "new_wxToolBarSimple", _wrap_new_wxToolBarSimple, 1 },
1622 { "new_wxToolBar", _wrap_new_wxToolBar, 1 },
1623 { "wxToolBarBase_ToggleTool", _wrap_wxToolBarBase_ToggleTool, 1 },
1624 { "wxToolBarBase_SetToolSeparation", _wrap_wxToolBarBase_SetToolSeparation, 1 },
1625 { "wxToolBarBase_SetToolShortHelp", _wrap_wxToolBarBase_SetToolShortHelp, 1 },
1626 { "wxToolBarBase_SetToolPacking", _wrap_wxToolBarBase_SetToolPacking, 1 },
1627 { "wxToolBarBase_SetToolLongHelp", _wrap_wxToolBarBase_SetToolLongHelp, 1 },
1628 { "wxToolBarBase_SetMargins", _wrap_wxToolBarBase_SetMargins, 1 },
1629 { "wxToolBarBase_SetToolBitmapSize", _wrap_wxToolBarBase_SetToolBitmapSize, 1 },
1630 { "wxToolBarBase_Realize", _wrap_wxToolBarBase_Realize, 1 },
1631 { "wxToolBarBase_GetToolState", _wrap_wxToolBarBase_GetToolState, 1 },
1632 { "wxToolBarBase_GetToolShortHelp", _wrap_wxToolBarBase_GetToolShortHelp, 1 },
1633 { "wxToolBarBase_GetToolSeparation", _wrap_wxToolBarBase_GetToolSeparation, 1 },
1634 { "wxToolBarBase_GetToolPacking", _wrap_wxToolBarBase_GetToolPacking, 1 },
1635 { "wxToolBarBase_GetToolLongHelp", _wrap_wxToolBarBase_GetToolLongHelp, 1 },
1636 { "wxToolBarBase_GetToolEnabled", _wrap_wxToolBarBase_GetToolEnabled, 1 },
1637 { "wxToolBarBase_GetMaxSize", _wrap_wxToolBarBase_GetMaxSize, 1 },
1638 { "wxToolBarBase_GetToolBitmapSize", _wrap_wxToolBarBase_GetToolBitmapSize, 1 },
1639 { "wxToolBarBase_GetToolSize", _wrap_wxToolBarBase_GetToolSize, 1 },
1640 { "wxToolBarBase_FindToolForPosition", _wrap_wxToolBarBase_FindToolForPosition, 1 },
1641 { "wxToolBarBase_EnableTool", _wrap_wxToolBarBase_EnableTool, 1 },
1642 { "wxToolBarBase_AddTool", _wrap_wxToolBarBase_AddTool, 1 },
1643 { "wxToolBarBase_AddSeparator", _wrap_wxToolBarBase_AddSeparator, 1 },
1644 { "wxToolBarTool_m_longHelpString_get", _wrap_wxToolBarTool_m_longHelpString_get, 1 },
1645 { "wxToolBarTool_m_shortHelpString_get", _wrap_wxToolBarTool_m_shortHelpString_get, 1 },
1646 { "wxToolBarTool_m_isMenuCommand_get", _wrap_wxToolBarTool_m_isMenuCommand_get, 1 },
1647 { "wxToolBarTool_m_bitmap2_get", _wrap_wxToolBarTool_m_bitmap2_get, 1 },
1648 { "wxToolBarTool_m_bitmap1_get", _wrap_wxToolBarTool_m_bitmap1_get, 1 },
1649 { "wxToolBarTool_m_enabled_get", _wrap_wxToolBarTool_m_enabled_get, 1 },
1650 { "wxToolBarTool_m_deleteSecondBitmap_get", _wrap_wxToolBarTool_m_deleteSecondBitmap_get, 1 },
1651 { "wxToolBarTool_m_isToggle_get", _wrap_wxToolBarTool_m_isToggle_get, 1 },
1652 { "wxToolBarTool_m_toggleState_get", _wrap_wxToolBarTool_m_toggleState_get, 1 },
1653 { "wxToolBarTool_m_height_get", _wrap_wxToolBarTool_m_height_get, 1 },
1654 { "wxToolBarTool_m_width_get", _wrap_wxToolBarTool_m_width_get, 1 },
1655 { "wxToolBarTool_m_y_get", _wrap_wxToolBarTool_m_y_get, 1 },
1656 { "wxToolBarTool_m_x_get", _wrap_wxToolBarTool_m_x_get, 1 },
1657 { "wxToolBarTool_m_index_get", _wrap_wxToolBarTool_m_index_get, 1 },
1658 { "wxToolBarTool_m_clientData_get", _wrap_wxToolBarTool_m_clientData_get, 1 },
1659 { "wxToolBarTool_m_toolStyle_get", _wrap_wxToolBarTool_m_toolStyle_get, 1 },
1660 { "wxToolBarTool_GetHeight", _wrap_wxToolBarTool_GetHeight, 1 },
1661 { "wxToolBarTool_GetWidth", _wrap_wxToolBarTool_GetWidth, 1 },
1662 { "wxToolBarTool_SetSize", _wrap_wxToolBarTool_SetSize, 1 },
1663 { "delete_wxToolBarTool", _wrap_delete_wxToolBarTool, 1 },
1664 { "new_wxToolBarTool", _wrap_new_wxToolBarTool, 1 },
1665 { "wxStatusBar_SetStatusWidths", _wrap_wxStatusBar_SetStatusWidths, 1 },
1666 { "wxStatusBar_SetStatusText", _wrap_wxStatusBar_SetStatusText, 1 },
1667 { "wxStatusBar_SetFieldsCount", _wrap_wxStatusBar_SetFieldsCount, 1 },
1668 { "wxStatusBar_InitColours", _wrap_wxStatusBar_InitColours, 1 },
1669 { "wxStatusBar_DrawFieldText", _wrap_wxStatusBar_DrawFieldText, 1 },
1670 { "wxStatusBar_DrawField", _wrap_wxStatusBar_DrawField, 1 },
1671 { "wxStatusBar_GetStatusText", _wrap_wxStatusBar_GetStatusText, 1 },
1672 { "wxStatusBar_GetFieldsCount", _wrap_wxStatusBar_GetFieldsCount, 1 },
1673 { "wxStatusBar_GetFieldRect", _wrap_wxStatusBar_GetFieldRect, 1 },
1674 { "new_wxStatusBar", _wrap_new_wxStatusBar, 1 },
1675 { NULL, NULL }
1676 };
1677 static PyObject *SWIG_globals;
1678 #ifdef __cplusplus
1679 extern "C"
1680 #endif
1681 SWIGEXPORT(void,initstattoolc)() {
1682 PyObject *m, *d;
1683 SWIG_globals = SWIG_newvarlink();
1684 m = Py_InitModule("stattoolc", stattoolcMethods);
1685 d = PyModule_GetDict(m);
1686 /*
1687 * These are the pointer type-equivalency mappings.
1688 * (Used by the SWIG pointer type-checker).
1689 */
1690 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
1691 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
1692 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
1693 SWIG_RegisterMapping("_signed_long","_long",0);
1694 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
1695 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
1696 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler);
1697 SWIG_RegisterMapping("_class_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler);
1698 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler);
1699 SWIG_RegisterMapping("_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler);
1700 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler);
1701 SWIG_RegisterMapping("_class_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler);
1702 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
1703 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
1704 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
1705 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
1706 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
1707 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
1708 SWIG_RegisterMapping("_class_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase);
1709 SWIG_RegisterMapping("_class_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase);
1710 SWIG_RegisterMapping("_class_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase);
1711 SWIG_RegisterMapping("_class_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase);
1712 SWIG_RegisterMapping("_class_wxToolBarBase","_wxToolBarBase",0);
1713 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
1714 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
1715 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
1716 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
1717 SWIG_RegisterMapping("_byte","_unsigned_char",0);
1718 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
1719 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
1720 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
1721 SWIG_RegisterMapping("_long","_wxDash",0);
1722 SWIG_RegisterMapping("_long","_unsigned_long",0);
1723 SWIG_RegisterMapping("_long","_signed_long",0);
1724 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
1725 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
1726 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
1727 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
1728 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
1729 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
1730 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
1731 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
1732 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
1733 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
1734 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
1735 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
1736 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
1737 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
1738 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
1739 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
1740 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
1741 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
1742 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
1743 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
1744 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
1745 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
1746 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
1747 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
1748 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
1749 SWIG_RegisterMapping("_uint","_unsigned_int",0);
1750 SWIG_RegisterMapping("_uint","_int",0);
1751 SWIG_RegisterMapping("_uint","_wxWindowID",0);
1752 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
1753 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
1754 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
1755 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
1756 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
1757 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
1758 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
1759 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
1760 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
1761 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
1762 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
1763 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
1764 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
1765 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
1766 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
1767 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
1768 SWIG_RegisterMapping("_wxToolBarSimple","_class_wxToolBarSimple",0);
1769 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
1770 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
1771 SWIG_RegisterMapping("_EBool","_signed_int",0);
1772 SWIG_RegisterMapping("_EBool","_int",0);
1773 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
1774 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
1775 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
1776 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
1777 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
1778 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
1779 SWIG_RegisterMapping("_unsigned_long","_long",0);
1780 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
1781 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
1782 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
1783 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
1784 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
1785 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
1786 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
1787 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
1788 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
1789 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
1790 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
1791 SWIG_RegisterMapping("_signed_int","_EBool",0);
1792 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
1793 SWIG_RegisterMapping("_signed_int","_int",0);
1794 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
1795 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
1796 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
1797 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
1798 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
1799 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
1800 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
1801 SWIG_RegisterMapping("_class_wxToolBarSimple","_wxToolBarSimple",0);
1802 SWIG_RegisterMapping("_WXTYPE","_short",0);
1803 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
1804 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
1805 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
1806 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
1807 SWIG_RegisterMapping("_unsigned_short","_short",0);
1808 SWIG_RegisterMapping("_class_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow);
1809 SWIG_RegisterMapping("_class_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow);
1810 SWIG_RegisterMapping("_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow);
1811 SWIG_RegisterMapping("_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow);
1812 SWIG_RegisterMapping("_class_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow);
1813 SWIG_RegisterMapping("_class_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow);
1814 SWIG_RegisterMapping("_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow);
1815 SWIG_RegisterMapping("_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow);
1816 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
1817 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
1818 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
1819 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
1820 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
1821 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
1822 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
1823 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
1824 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
1825 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
1826 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
1827 SWIG_RegisterMapping("_signed_short","_short",0);
1828 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
1829 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
1830 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
1831 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
1832 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
1833 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
1834 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
1835 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
1836 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
1837 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
1838 SWIG_RegisterMapping("_unsigned_char","_byte",0);
1839 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
1840 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
1841 SWIG_RegisterMapping("_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl);
1842 SWIG_RegisterMapping("_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl);
1843 SWIG_RegisterMapping("_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl);
1844 SWIG_RegisterMapping("_wxControl","_wxToolBar",SwigwxToolBarTowxControl);
1845 SWIG_RegisterMapping("_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl);
1846 SWIG_RegisterMapping("_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl);
1847 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
1848 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
1849 SWIG_RegisterMapping("_unsigned_int","_uint",0);
1850 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
1851 SWIG_RegisterMapping("_unsigned_int","_int",0);
1852 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
1853 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
1854 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
1855 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
1856 SWIG_RegisterMapping("_short","_WXTYPE",0);
1857 SWIG_RegisterMapping("_short","_unsigned_short",0);
1858 SWIG_RegisterMapping("_short","_signed_short",0);
1859 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
1860 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
1861 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
1862 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
1863 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
1864 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
1865 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
1866 SWIG_RegisterMapping("_wxWindowID","_uint",0);
1867 SWIG_RegisterMapping("_wxWindowID","_int",0);
1868 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
1869 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
1870 SWIG_RegisterMapping("_int","_EBool",0);
1871 SWIG_RegisterMapping("_int","_uint",0);
1872 SWIG_RegisterMapping("_int","_wxWindowID",0);
1873 SWIG_RegisterMapping("_int","_unsigned_int",0);
1874 SWIG_RegisterMapping("_int","_signed_int",0);
1875 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
1876 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
1877 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
1878 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
1879 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
1880 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
1881 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
1882 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
1883 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
1884 SWIG_RegisterMapping("_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase);
1885 SWIG_RegisterMapping("_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase);
1886 SWIG_RegisterMapping("_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase);
1887 SWIG_RegisterMapping("_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase);
1888 SWIG_RegisterMapping("_wxToolBarBase","_class_wxToolBarBase",0);
1889 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
1890 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
1891 SWIG_RegisterMapping("_class_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl);
1892 SWIG_RegisterMapping("_class_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl);
1893 SWIG_RegisterMapping("_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl);
1894 SWIG_RegisterMapping("_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl);
1895 SWIG_RegisterMapping("_class_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl);
1896 SWIG_RegisterMapping("_class_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl);
1897 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
1898 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
1899 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
1900 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
1901 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
1902 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
1903 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
1904 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
1905 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
1906 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
1907 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
1908 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
1909 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
1910 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
1911 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
1912 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
1913 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
1914 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
1915 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
1916 SWIG_RegisterMapping("_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler);
1917 SWIG_RegisterMapping("_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler);
1918 SWIG_RegisterMapping("_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler);
1919 SWIG_RegisterMapping("_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler);
1920 SWIG_RegisterMapping("_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler);
1921 SWIG_RegisterMapping("_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler);
1922 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
1923 SWIG_RegisterMapping("_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler);
1924 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
1925 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
1926 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
1927 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
1928 SWIG_RegisterMapping("_wxDash","_long",0);
1929 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
1930 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
1931 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
1932 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
1933 SWIG_RegisterMapping("_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow);
1934 SWIG_RegisterMapping("_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow);
1935 SWIG_RegisterMapping("_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow);
1936 SWIG_RegisterMapping("_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow);
1937 SWIG_RegisterMapping("_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow);
1938 SWIG_RegisterMapping("_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow);
1939 SWIG_RegisterMapping("_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow);
1940 SWIG_RegisterMapping("_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow);
1941 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
1942 }