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