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