2 * FILE : gtk/stattool.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initstattoolc
54 #define SWIG_name "stattoolc"
57 #include <wx/toolbar.h>
58 #include <wx/tbarsmpl.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 extern byte
* byte_LIST_helper(PyObject
* source
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
122 static void *SwigwxStatusBarTowxWindow(void *ptr
) {
125 src
= (wxStatusBar
*) ptr
;
126 dest
= (wxWindow
*) src
;
127 return (void *) dest
;
130 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) {
133 src
= (wxStatusBar
*) ptr
;
134 dest
= (wxEvtHandler
*) src
;
135 return (void *) dest
;
138 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
139 static PyObject
*_wrap_new_wxStatusBar(PyObject
*self
, PyObject
*args
) {
140 PyObject
* _resultobj
;
141 wxStatusBar
* _result
;
144 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
145 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
146 long _arg4
= (long ) wxST_SIZEGRIP
;
147 char * _arg5
= (char *) "statusBar";
148 PyObject
* _argo0
= 0;
149 PyObject
* _argo2
= 0;
150 PyObject
* _argo3
= 0;
154 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxStatusBar",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
164 if (_argo2
== Py_None
) { _arg2
= NULL
; }
165 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStatusBar. Expected _wxPoint_p.");
171 if (_argo3
== Py_None
) { _arg3
= NULL
; }
172 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxStatusBar. Expected _wxSize_p.");
178 wxPy_BEGIN_ALLOW_THREADS
;
179 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
181 wxPy_END_ALLOW_THREADS
;
183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
184 _resultobj
= Py_BuildValue("s",_ptemp
);
187 _resultobj
= Py_None
;
192 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
193 wxRect
* rect
= new wxRect
;
194 self
->GetFieldRect(item
, *rect
);
197 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
) {
198 PyObject
* _resultobj
;
202 PyObject
* _argo0
= 0;
206 if(!PyArg_ParseTuple(args
,"Ol:wxStatusBar_GetFieldRect",&_argo0
,&_arg1
))
209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
216 wxPy_BEGIN_ALLOW_THREADS
;
217 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
219 wxPy_END_ALLOW_THREADS
;
221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
222 _resultobj
= Py_BuildValue("s",_ptemp
);
225 _resultobj
= Py_None
;
230 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
231 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
) {
232 PyObject
* _resultobj
;
235 PyObject
* _argo0
= 0;
238 if(!PyArg_ParseTuple(args
,"O:wxStatusBar_GetFieldsCount",&_argo0
))
241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
248 wxPy_BEGIN_ALLOW_THREADS
;
249 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
251 wxPy_END_ALLOW_THREADS
;
252 } _resultobj
= Py_BuildValue("i",_result
);
256 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
257 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
) {
258 PyObject
* _resultobj
;
261 int _arg1
= (int ) 0;
262 PyObject
* _argo0
= 0;
265 if(!PyArg_ParseTuple(args
,"O|i:wxStatusBar_GetStatusText",&_argo0
,&_arg1
))
268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
275 wxPy_BEGIN_ALLOW_THREADS
;
276 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
278 wxPy_END_ALLOW_THREADS
;
280 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
288 #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
289 static PyObject
*_wrap_wxStatusBar_DrawField(PyObject
*self
, PyObject
*args
) {
290 PyObject
* _resultobj
;
294 PyObject
* _argo0
= 0;
295 PyObject
* _argo1
= 0;
298 if(!PyArg_ParseTuple(args
,"OOi:wxStatusBar_DrawField",&_argo0
,&_argo1
,&_arg2
))
301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
315 wxPy_BEGIN_ALLOW_THREADS
;
316 wxStatusBar_DrawField(_arg0
,*_arg1
,_arg2
);
318 wxPy_END_ALLOW_THREADS
;
319 } Py_INCREF(Py_None
);
320 _resultobj
= Py_None
;
324 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
325 static PyObject
*_wrap_wxStatusBar_DrawFieldText(PyObject
*self
, PyObject
*args
) {
326 PyObject
* _resultobj
;
330 PyObject
* _argo0
= 0;
331 PyObject
* _argo1
= 0;
334 if(!PyArg_ParseTuple(args
,"OOi:wxStatusBar_DrawFieldText",&_argo0
,&_argo1
,&_arg2
))
337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
351 wxPy_BEGIN_ALLOW_THREADS
;
352 wxStatusBar_DrawFieldText(_arg0
,*_arg1
,_arg2
);
354 wxPy_END_ALLOW_THREADS
;
355 } Py_INCREF(Py_None
);
356 _resultobj
= Py_None
;
360 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
361 static PyObject
*_wrap_wxStatusBar_InitColours(PyObject
*self
, PyObject
*args
) {
362 PyObject
* _resultobj
;
364 PyObject
* _argo0
= 0;
367 if(!PyArg_ParseTuple(args
,"O:wxStatusBar_InitColours",&_argo0
))
370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
377 wxPy_BEGIN_ALLOW_THREADS
;
378 wxStatusBar_InitColours(_arg0
);
380 wxPy_END_ALLOW_THREADS
;
381 } Py_INCREF(Py_None
);
382 _resultobj
= Py_None
;
386 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
387 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
) {
388 PyObject
* _resultobj
;
390 int _arg1
= (int ) 1;
391 PyObject
* _argo0
= 0;
394 if(!PyArg_ParseTuple(args
,"O|i:wxStatusBar_SetFieldsCount",&_argo0
,&_arg1
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
404 wxPy_BEGIN_ALLOW_THREADS
;
405 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
407 wxPy_END_ALLOW_THREADS
;
408 } Py_INCREF(Py_None
);
409 _resultobj
= Py_None
;
413 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
414 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
) {
415 PyObject
* _resultobj
;
418 int _arg2
= (int ) 0;
419 PyObject
* _argo0
= 0;
420 PyObject
* _obj1
= 0;
423 if(!PyArg_ParseTuple(args
,"OO|i:wxStatusBar_SetStatusText",&_argo0
,&_obj1
,&_arg2
))
426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
433 if (!PyString_Check(_obj1
)) {
434 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
437 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
440 wxPy_BEGIN_ALLOW_THREADS
;
441 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
443 wxPy_END_ALLOW_THREADS
;
444 } Py_INCREF(Py_None
);
445 _resultobj
= Py_None
;
453 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
454 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
) {
455 PyObject
* _resultobj
;
459 PyObject
* _argo0
= 0;
460 PyObject
* _obj2
= 0;
463 if(!PyArg_ParseTuple(args
,"OO:wxStatusBar_SetStatusWidths",&_argo0
,&_obj2
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
474 _arg2
= int_LIST_helper(_obj2
);
481 _arg1
= PyList_Size(_obj2
);
488 wxPy_BEGIN_ALLOW_THREADS
;
489 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
491 wxPy_END_ALLOW_THREADS
;
492 } Py_INCREF(Py_None
);
493 _resultobj
= Py_None
;
500 #define new_wxToolBarTool() (new wxToolBarTool())
501 static PyObject
*_wrap_new_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
502 PyObject
* _resultobj
;
503 wxToolBarTool
* _result
;
507 if(!PyArg_ParseTuple(args
,":new_wxToolBarTool"))
510 wxPy_BEGIN_ALLOW_THREADS
;
511 _result
= (wxToolBarTool
*)new_wxToolBarTool();
513 wxPy_END_ALLOW_THREADS
;
515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
516 _resultobj
= Py_BuildValue("s",_ptemp
);
519 _resultobj
= Py_None
;
524 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
525 static PyObject
*_wrap_delete_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
526 PyObject
* _resultobj
;
527 wxToolBarTool
* _arg0
;
528 PyObject
* _argo0
= 0;
531 if(!PyArg_ParseTuple(args
,"O:delete_wxToolBarTool",&_argo0
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
541 wxPy_BEGIN_ALLOW_THREADS
;
542 delete_wxToolBarTool(_arg0
);
544 wxPy_END_ALLOW_THREADS
;
545 } Py_INCREF(Py_None
);
546 _resultobj
= Py_None
;
550 #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
551 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_set(PyObject
*self
, PyObject
*args
) {
552 PyObject
* _resultobj
;
554 wxToolBarTool
* _arg0
;
556 PyObject
* _argo0
= 0;
559 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_toolStyle_set",&_argo0
,&_arg1
))
562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
569 wxPy_BEGIN_ALLOW_THREADS
;
570 _result
= (int )wxToolBarTool_m_toolStyle_set(_arg0
,_arg1
);
572 wxPy_END_ALLOW_THREADS
;
573 } _resultobj
= Py_BuildValue("i",_result
);
577 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
578 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_get(PyObject
*self
, PyObject
*args
) {
579 PyObject
* _resultobj
;
581 wxToolBarTool
* _arg0
;
582 PyObject
* _argo0
= 0;
585 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_toolStyle_get",&_argo0
))
588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
595 wxPy_BEGIN_ALLOW_THREADS
;
596 _result
= (int )wxToolBarTool_m_toolStyle_get(_arg0
);
598 wxPy_END_ALLOW_THREADS
;
599 } _resultobj
= Py_BuildValue("i",_result
);
603 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
604 static PyObject
*_wrap_wxToolBarTool_m_clientData_set(PyObject
*self
, PyObject
*args
) {
605 PyObject
* _resultobj
;
607 wxToolBarTool
* _arg0
;
609 PyObject
* _argo0
= 0;
610 PyObject
* _argo1
= 0;
614 if(!PyArg_ParseTuple(args
,"OO:wxToolBarTool_m_clientData_set",&_argo0
,&_argo1
))
617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
631 wxPy_BEGIN_ALLOW_THREADS
;
632 _result
= (wxObject
*)wxToolBarTool_m_clientData_set(_arg0
,_arg1
);
634 wxPy_END_ALLOW_THREADS
;
636 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
637 _resultobj
= Py_BuildValue("s",_ptemp
);
640 _resultobj
= Py_None
;
645 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
646 static PyObject
*_wrap_wxToolBarTool_m_clientData_get(PyObject
*self
, PyObject
*args
) {
647 PyObject
* _resultobj
;
649 wxToolBarTool
* _arg0
;
650 PyObject
* _argo0
= 0;
654 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_clientData_get",&_argo0
))
657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
664 wxPy_BEGIN_ALLOW_THREADS
;
665 _result
= (wxObject
*)wxToolBarTool_m_clientData_get(_arg0
);
667 wxPy_END_ALLOW_THREADS
;
669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
670 _resultobj
= Py_BuildValue("s",_ptemp
);
673 _resultobj
= Py_None
;
678 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
679 static PyObject
*_wrap_wxToolBarTool_m_index_set(PyObject
*self
, PyObject
*args
) {
680 PyObject
* _resultobj
;
682 wxToolBarTool
* _arg0
;
684 PyObject
* _argo0
= 0;
687 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_index_set",&_argo0
,&_arg1
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
697 wxPy_BEGIN_ALLOW_THREADS
;
698 _result
= (int )wxToolBarTool_m_index_set(_arg0
,_arg1
);
700 wxPy_END_ALLOW_THREADS
;
701 } _resultobj
= Py_BuildValue("i",_result
);
705 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
706 static PyObject
*_wrap_wxToolBarTool_m_index_get(PyObject
*self
, PyObject
*args
) {
707 PyObject
* _resultobj
;
709 wxToolBarTool
* _arg0
;
710 PyObject
* _argo0
= 0;
713 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_index_get",&_argo0
))
716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
723 wxPy_BEGIN_ALLOW_THREADS
;
724 _result
= (int )wxToolBarTool_m_index_get(_arg0
);
726 wxPy_END_ALLOW_THREADS
;
727 } _resultobj
= Py_BuildValue("i",_result
);
731 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
732 static PyObject
*_wrap_wxToolBarTool_m_toggleState_set(PyObject
*self
, PyObject
*args
) {
733 PyObject
* _resultobj
;
735 wxToolBarTool
* _arg0
;
737 PyObject
* _argo0
= 0;
741 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_toggleState_set",&_argo0
,&tempbool1
))
744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
750 _arg1
= (bool ) tempbool1
;
752 wxPy_BEGIN_ALLOW_THREADS
;
753 _result
= (bool )wxToolBarTool_m_toggleState_set(_arg0
,_arg1
);
755 wxPy_END_ALLOW_THREADS
;
756 } _resultobj
= Py_BuildValue("i",_result
);
760 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
761 static PyObject
*_wrap_wxToolBarTool_m_toggleState_get(PyObject
*self
, PyObject
*args
) {
762 PyObject
* _resultobj
;
764 wxToolBarTool
* _arg0
;
765 PyObject
* _argo0
= 0;
768 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_toggleState_get",&_argo0
))
771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
778 wxPy_BEGIN_ALLOW_THREADS
;
779 _result
= (bool )wxToolBarTool_m_toggleState_get(_arg0
);
781 wxPy_END_ALLOW_THREADS
;
782 } _resultobj
= Py_BuildValue("i",_result
);
786 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
787 static PyObject
*_wrap_wxToolBarTool_m_isToggle_set(PyObject
*self
, PyObject
*args
) {
788 PyObject
* _resultobj
;
790 wxToolBarTool
* _arg0
;
792 PyObject
* _argo0
= 0;
796 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_isToggle_set",&_argo0
,&tempbool1
))
799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
805 _arg1
= (bool ) tempbool1
;
807 wxPy_BEGIN_ALLOW_THREADS
;
808 _result
= (bool )wxToolBarTool_m_isToggle_set(_arg0
,_arg1
);
810 wxPy_END_ALLOW_THREADS
;
811 } _resultobj
= Py_BuildValue("i",_result
);
815 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
816 static PyObject
*_wrap_wxToolBarTool_m_isToggle_get(PyObject
*self
, PyObject
*args
) {
817 PyObject
* _resultobj
;
819 wxToolBarTool
* _arg0
;
820 PyObject
* _argo0
= 0;
823 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_isToggle_get",&_argo0
))
826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
833 wxPy_BEGIN_ALLOW_THREADS
;
834 _result
= (bool )wxToolBarTool_m_isToggle_get(_arg0
);
836 wxPy_END_ALLOW_THREADS
;
837 } _resultobj
= Py_BuildValue("i",_result
);
841 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
842 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject
*self
, PyObject
*args
) {
843 PyObject
* _resultobj
;
845 wxToolBarTool
* _arg0
;
847 PyObject
* _argo0
= 0;
851 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_deleteSecondBitmap_set",&_argo0
,&tempbool1
))
854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
860 _arg1
= (bool ) tempbool1
;
862 wxPy_BEGIN_ALLOW_THREADS
;
863 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0
,_arg1
);
865 wxPy_END_ALLOW_THREADS
;
866 } _resultobj
= Py_BuildValue("i",_result
);
870 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
871 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject
*self
, PyObject
*args
) {
872 PyObject
* _resultobj
;
874 wxToolBarTool
* _arg0
;
875 PyObject
* _argo0
= 0;
878 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_deleteSecondBitmap_get",&_argo0
))
881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
888 wxPy_BEGIN_ALLOW_THREADS
;
889 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0
);
891 wxPy_END_ALLOW_THREADS
;
892 } _resultobj
= Py_BuildValue("i",_result
);
896 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
897 static PyObject
*_wrap_wxToolBarTool_m_enabled_set(PyObject
*self
, PyObject
*args
) {
898 PyObject
* _resultobj
;
900 wxToolBarTool
* _arg0
;
902 PyObject
* _argo0
= 0;
906 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_enabled_set",&_argo0
,&tempbool1
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
915 _arg1
= (bool ) tempbool1
;
917 wxPy_BEGIN_ALLOW_THREADS
;
918 _result
= (bool )wxToolBarTool_m_enabled_set(_arg0
,_arg1
);
920 wxPy_END_ALLOW_THREADS
;
921 } _resultobj
= Py_BuildValue("i",_result
);
925 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
926 static PyObject
*_wrap_wxToolBarTool_m_enabled_get(PyObject
*self
, PyObject
*args
) {
927 PyObject
* _resultobj
;
929 wxToolBarTool
* _arg0
;
930 PyObject
* _argo0
= 0;
933 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_enabled_get",&_argo0
))
936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
943 wxPy_BEGIN_ALLOW_THREADS
;
944 _result
= (bool )wxToolBarTool_m_enabled_get(_arg0
);
946 wxPy_END_ALLOW_THREADS
;
947 } _resultobj
= Py_BuildValue("i",_result
);
951 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
952 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_set(PyObject
*self
, PyObject
*args
) {
953 PyObject
* _resultobj
;
955 wxToolBarTool
* _arg0
;
957 PyObject
* _argo0
= 0;
958 PyObject
* _argo1
= 0;
962 if(!PyArg_ParseTuple(args
,"OO:wxToolBarTool_m_bitmap1_set",&_argo0
,&_argo1
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
972 if (_argo1
== Py_None
) { _arg1
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
979 wxPy_BEGIN_ALLOW_THREADS
;
980 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_set(_arg0
,_arg1
);
982 wxPy_END_ALLOW_THREADS
;
984 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
985 _resultobj
= Py_BuildValue("s",_ptemp
);
988 _resultobj
= Py_None
;
993 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
994 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_get(PyObject
*self
, PyObject
*args
) {
995 PyObject
* _resultobj
;
997 wxToolBarTool
* _arg0
;
998 PyObject
* _argo0
= 0;
1002 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_bitmap1_get",&_argo0
))
1005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1012 wxPy_BEGIN_ALLOW_THREADS
;
1013 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_get(_arg0
);
1015 wxPy_END_ALLOW_THREADS
;
1017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1018 _resultobj
= Py_BuildValue("s",_ptemp
);
1021 _resultobj
= Py_None
;
1026 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1027 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_set(PyObject
*self
, PyObject
*args
) {
1028 PyObject
* _resultobj
;
1030 wxToolBarTool
* _arg0
;
1032 PyObject
* _argo0
= 0;
1033 PyObject
* _argo1
= 0;
1037 if(!PyArg_ParseTuple(args
,"OO:wxToolBarTool_m_bitmap2_set",&_argo0
,&_argo1
))
1040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1047 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1048 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_set(_arg0
,_arg1
);
1057 wxPy_END_ALLOW_THREADS
;
1059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1060 _resultobj
= Py_BuildValue("s",_ptemp
);
1063 _resultobj
= Py_None
;
1068 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1069 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_get(PyObject
*self
, PyObject
*args
) {
1070 PyObject
* _resultobj
;
1072 wxToolBarTool
* _arg0
;
1073 PyObject
* _argo0
= 0;
1077 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_bitmap2_get",&_argo0
))
1080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_get(_arg0
);
1090 wxPy_END_ALLOW_THREADS
;
1092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1093 _resultobj
= Py_BuildValue("s",_ptemp
);
1096 _resultobj
= Py_None
;
1101 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1102 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject
*self
, PyObject
*args
) {
1103 PyObject
* _resultobj
;
1105 wxToolBarTool
* _arg0
;
1107 PyObject
* _argo0
= 0;
1111 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_isMenuCommand_set",&_argo0
,&tempbool1
))
1114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1120 _arg1
= (bool ) tempbool1
;
1122 wxPy_BEGIN_ALLOW_THREADS
;
1123 _result
= (bool )wxToolBarTool_m_isMenuCommand_set(_arg0
,_arg1
);
1125 wxPy_END_ALLOW_THREADS
;
1126 } _resultobj
= Py_BuildValue("i",_result
);
1130 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1131 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject
*self
, PyObject
*args
) {
1132 PyObject
* _resultobj
;
1134 wxToolBarTool
* _arg0
;
1135 PyObject
* _argo0
= 0;
1138 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_isMenuCommand_get",&_argo0
))
1141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1148 wxPy_BEGIN_ALLOW_THREADS
;
1149 _result
= (bool )wxToolBarTool_m_isMenuCommand_get(_arg0
);
1151 wxPy_END_ALLOW_THREADS
;
1152 } _resultobj
= Py_BuildValue("i",_result
);
1156 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1157 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_set(PyObject
*self
, PyObject
*args
) {
1158 PyObject
* _resultobj
;
1160 wxToolBarTool
* _arg0
;
1162 PyObject
* _argo0
= 0;
1163 PyObject
* _obj1
= 0;
1166 if(!PyArg_ParseTuple(args
,"OO:wxToolBarTool_m_shortHelpString_set",&_argo0
,&_obj1
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1176 if (!PyString_Check(_obj1
)) {
1177 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1180 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1183 wxPy_BEGIN_ALLOW_THREADS
;
1184 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_set(_arg0
,_arg1
);
1186 wxPy_END_ALLOW_THREADS
;
1188 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1197 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1198 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_get(PyObject
*self
, PyObject
*args
) {
1199 PyObject
* _resultobj
;
1201 wxToolBarTool
* _arg0
;
1202 PyObject
* _argo0
= 0;
1205 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_shortHelpString_get",&_argo0
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1215 wxPy_BEGIN_ALLOW_THREADS
;
1216 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_get(_arg0
);
1218 wxPy_END_ALLOW_THREADS
;
1220 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1225 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1226 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_set(PyObject
*self
, PyObject
*args
) {
1227 PyObject
* _resultobj
;
1229 wxToolBarTool
* _arg0
;
1231 PyObject
* _argo0
= 0;
1232 PyObject
* _obj1
= 0;
1235 if(!PyArg_ParseTuple(args
,"OO:wxToolBarTool_m_longHelpString_set",&_argo0
,&_obj1
))
1238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1245 if (!PyString_Check(_obj1
)) {
1246 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1249 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 _result
= (wxString
*)wxToolBarTool_m_longHelpString_set(_arg0
,_arg1
);
1255 wxPy_END_ALLOW_THREADS
;
1257 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1266 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1267 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_get(PyObject
*self
, PyObject
*args
) {
1268 PyObject
* _resultobj
;
1270 wxToolBarTool
* _arg0
;
1271 PyObject
* _argo0
= 0;
1274 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_longHelpString_get",&_argo0
))
1277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1284 wxPy_BEGIN_ALLOW_THREADS
;
1285 _result
= (wxString
*)wxToolBarTool_m_longHelpString_get(_arg0
);
1287 wxPy_END_ALLOW_THREADS
;
1289 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1294 static void *SwigwxToolBarTowxControl(void *ptr
) {
1297 src
= (wxToolBar
*) ptr
;
1298 dest
= (wxControl
*) src
;
1299 return (void *) dest
;
1302 static void *SwigwxToolBarTowxWindow(void *ptr
) {
1305 src
= (wxToolBar
*) ptr
;
1306 dest
= (wxWindow
*) src
;
1307 return (void *) dest
;
1310 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
1313 src
= (wxToolBar
*) ptr
;
1314 dest
= (wxEvtHandler
*) src
;
1315 return (void *) dest
;
1318 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1319 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
) {
1320 PyObject
* _resultobj
;
1321 wxToolBar
* _result
;
1324 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1325 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1326 long _arg4
= (long ) wxTB_HORIZONTAL
|wxNO_BORDER
;
1327 char * _arg5
= (char *) "toolBar";
1328 PyObject
* _argo0
= 0;
1329 PyObject
* _argo2
= 0;
1330 PyObject
* _argo3
= 0;
1334 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxToolBar",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1344 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1345 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p.");
1351 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1352 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
1353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p.");
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1361 wxPy_END_ALLOW_THREADS
;
1363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
1364 _resultobj
= Py_BuildValue("s",_ptemp
);
1367 _resultobj
= Py_None
;
1372 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1373 static PyObject
*_wrap_wxToolBar_AddSeparator(PyObject
*self
, PyObject
*args
) {
1374 PyObject
* _resultobj
;
1376 PyObject
* _argo0
= 0;
1379 if(!PyArg_ParseTuple(args
,"O:wxToolBar_AddSeparator",&_argo0
))
1382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1389 wxPy_BEGIN_ALLOW_THREADS
;
1390 wxToolBar_AddSeparator(_arg0
);
1392 wxPy_END_ALLOW_THREADS
;
1393 } Py_INCREF(Py_None
);
1394 _resultobj
= Py_None
;
1398 static wxToolBarTool
* wxToolBar_AddTool(wxToolBar
*self
,int toolIndex
,const wxBitmap
& bitmap1
,const wxBitmap
& bitmap2
,int isToggle
,long xPos
,long yPos
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1399 return self
->AddTool(toolIndex
, bitmap1
, bitmap2
,
1400 isToggle
, xPos
, yPos
, NULL
,
1401 shortHelpString
, longHelpString
);
1403 static PyObject
*_wrap_wxToolBar_AddTool(PyObject
*self
, PyObject
*args
) {
1404 PyObject
* _resultobj
;
1405 wxToolBarTool
* _result
;
1409 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1410 int _arg4
= (int ) FALSE
;
1411 long _arg5
= (long ) -1;
1412 long _arg6
= (long ) -1;
1413 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1414 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1415 PyObject
* _argo0
= 0;
1416 PyObject
* _argo2
= 0;
1417 PyObject
* _argo3
= 0;
1418 PyObject
* _obj7
= 0;
1419 PyObject
* _obj8
= 0;
1423 if(!PyArg_ParseTuple(args
,"OiO|OillOO:wxToolBar_AddTool",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
,&_obj8
))
1426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1433 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1440 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1441 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1448 if (!PyString_Check(_obj7
)) {
1449 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1452 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1456 if (!PyString_Check(_obj8
)) {
1457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1460 _arg8
= new wxString(PyString_AsString(_obj8
), PyString_Size(_obj8
));
1463 wxPy_BEGIN_ALLOW_THREADS
;
1464 _result
= (wxToolBarTool
*)wxToolBar_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1466 wxPy_END_ALLOW_THREADS
;
1468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1469 _resultobj
= Py_BuildValue("s",_ptemp
);
1472 _resultobj
= Py_None
;
1485 static wxToolBarTool
* wxToolBar_AddSimpleTool(wxToolBar
*self
,int toolIndex
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1486 return self
->AddTool(toolIndex
, bitmap
, wxNullBitmap
,
1487 FALSE
, -1, -1, NULL
,
1488 shortHelpString
, longHelpString
);
1490 static PyObject
*_wrap_wxToolBar_AddSimpleTool(PyObject
*self
, PyObject
*args
) {
1491 PyObject
* _resultobj
;
1492 wxToolBarTool
* _result
;
1496 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1497 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1498 PyObject
* _argo0
= 0;
1499 PyObject
* _argo2
= 0;
1500 PyObject
* _obj3
= 0;
1501 PyObject
* _obj4
= 0;
1505 if(!PyArg_ParseTuple(args
,"OiO|OO:wxToolBar_AddSimpleTool",&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1515 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1516 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1523 if (!PyString_Check(_obj3
)) {
1524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1527 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1531 if (!PyString_Check(_obj4
)) {
1532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1535 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 _result
= (wxToolBarTool
*)wxToolBar_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
);
1541 wxPy_END_ALLOW_THREADS
;
1543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1544 _resultobj
= Py_BuildValue("s",_ptemp
);
1547 _resultobj
= Py_None
;
1560 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1561 static PyObject
*_wrap_wxToolBar_EnableTool(PyObject
*self
, PyObject
*args
) {
1562 PyObject
* _resultobj
;
1566 PyObject
* _argo0
= 0;
1570 if(!PyArg_ParseTuple(args
,"Oii:wxToolBar_EnableTool",&_argo0
,&_arg1
,&tempbool2
))
1573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1579 _arg2
= (bool ) tempbool2
;
1581 wxPy_BEGIN_ALLOW_THREADS
;
1582 wxToolBar_EnableTool(_arg0
,_arg1
,_arg2
);
1584 wxPy_END_ALLOW_THREADS
;
1585 } Py_INCREF(Py_None
);
1586 _resultobj
= Py_None
;
1590 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
1591 static PyObject
*_wrap_wxToolBar_GetToolEnabled(PyObject
*self
, PyObject
*args
) {
1592 PyObject
* _resultobj
;
1596 PyObject
* _argo0
= 0;
1599 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_GetToolEnabled",&_argo0
,&_arg1
))
1602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
1609 wxPy_BEGIN_ALLOW_THREADS
;
1610 _result
= (bool )wxToolBar_GetToolEnabled(_arg0
,_arg1
);
1612 wxPy_END_ALLOW_THREADS
;
1613 } _resultobj
= Py_BuildValue("i",_result
);
1617 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
1618 static PyObject
*_wrap_wxToolBar_GetToolLongHelp(PyObject
*self
, PyObject
*args
) {
1619 PyObject
* _resultobj
;
1623 PyObject
* _argo0
= 0;
1626 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_GetToolLongHelp",&_argo0
,&_arg1
))
1629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
1636 wxPy_BEGIN_ALLOW_THREADS
;
1637 _result
= new wxString (wxToolBar_GetToolLongHelp(_arg0
,_arg1
));
1639 wxPy_END_ALLOW_THREADS
;
1641 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1649 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
1650 static PyObject
*_wrap_wxToolBar_GetToolPacking(PyObject
*self
, PyObject
*args
) {
1651 PyObject
* _resultobj
;
1654 PyObject
* _argo0
= 0;
1657 if(!PyArg_ParseTuple(args
,"O:wxToolBar_GetToolPacking",&_argo0
))
1660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
1667 wxPy_BEGIN_ALLOW_THREADS
;
1668 _result
= (int )wxToolBar_GetToolPacking(_arg0
);
1670 wxPy_END_ALLOW_THREADS
;
1671 } _resultobj
= Py_BuildValue("i",_result
);
1675 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
1676 static PyObject
*_wrap_wxToolBar_GetToolSeparation(PyObject
*self
, PyObject
*args
) {
1677 PyObject
* _resultobj
;
1680 PyObject
* _argo0
= 0;
1683 if(!PyArg_ParseTuple(args
,"O:wxToolBar_GetToolSeparation",&_argo0
))
1686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
1693 wxPy_BEGIN_ALLOW_THREADS
;
1694 _result
= (int )wxToolBar_GetToolSeparation(_arg0
);
1696 wxPy_END_ALLOW_THREADS
;
1697 } _resultobj
= Py_BuildValue("i",_result
);
1701 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
1702 static PyObject
*_wrap_wxToolBar_GetToolShortHelp(PyObject
*self
, PyObject
*args
) {
1703 PyObject
* _resultobj
;
1707 PyObject
* _argo0
= 0;
1710 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_GetToolShortHelp",&_argo0
,&_arg1
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 _result
= new wxString (wxToolBar_GetToolShortHelp(_arg0
,_arg1
));
1723 wxPy_END_ALLOW_THREADS
;
1725 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1733 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
1734 static PyObject
*_wrap_wxToolBar_GetToolState(PyObject
*self
, PyObject
*args
) {
1735 PyObject
* _resultobj
;
1739 PyObject
* _argo0
= 0;
1742 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_GetToolState",&_argo0
,&_arg1
))
1745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
1752 wxPy_BEGIN_ALLOW_THREADS
;
1753 _result
= (bool )wxToolBar_GetToolState(_arg0
,_arg1
);
1755 wxPy_END_ALLOW_THREADS
;
1756 } _resultobj
= Py_BuildValue("i",_result
);
1760 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
1761 static PyObject
*_wrap_wxToolBar_Realize(PyObject
*self
, PyObject
*args
) {
1762 PyObject
* _resultobj
;
1765 PyObject
* _argo0
= 0;
1768 if(!PyArg_ParseTuple(args
,"O:wxToolBar_Realize",&_argo0
))
1771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
1778 wxPy_BEGIN_ALLOW_THREADS
;
1779 _result
= (bool )wxToolBar_Realize(_arg0
);
1781 wxPy_END_ALLOW_THREADS
;
1782 } _resultobj
= Py_BuildValue("i",_result
);
1786 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
1787 static PyObject
*_wrap_wxToolBar_SetToolLongHelp(PyObject
*self
, PyObject
*args
) {
1788 PyObject
* _resultobj
;
1792 PyObject
* _argo0
= 0;
1793 PyObject
* _obj2
= 0;
1796 if(!PyArg_ParseTuple(args
,"OiO:wxToolBar_SetToolLongHelp",&_argo0
,&_arg1
,&_obj2
))
1799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
1806 if (!PyString_Check(_obj2
)) {
1807 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1810 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 wxToolBar_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
1816 wxPy_END_ALLOW_THREADS
;
1817 } Py_INCREF(Py_None
);
1818 _resultobj
= Py_None
;
1826 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
1827 static PyObject
*_wrap_wxToolBar_SetToolShortHelp(PyObject
*self
, PyObject
*args
) {
1828 PyObject
* _resultobj
;
1832 PyObject
* _argo0
= 0;
1833 PyObject
* _obj2
= 0;
1836 if(!PyArg_ParseTuple(args
,"OiO:wxToolBar_SetToolShortHelp",&_argo0
,&_arg1
,&_obj2
))
1839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
1846 if (!PyString_Check(_obj2
)) {
1847 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1850 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1853 wxPy_BEGIN_ALLOW_THREADS
;
1854 wxToolBar_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
1856 wxPy_END_ALLOW_THREADS
;
1857 } Py_INCREF(Py_None
);
1858 _resultobj
= Py_None
;
1866 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
1867 static PyObject
*_wrap_wxToolBar_SetMargins(PyObject
*self
, PyObject
*args
) {
1868 PyObject
* _resultobj
;
1871 PyObject
* _argo0
= 0;
1872 PyObject
* _argo1
= 0;
1875 if(!PyArg_ParseTuple(args
,"OO:wxToolBar_SetMargins",&_argo0
,&_argo1
))
1878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
1885 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetMargins. Expected _wxSize_p.");
1892 wxPy_BEGIN_ALLOW_THREADS
;
1893 wxToolBar_SetMargins(_arg0
,*_arg1
);
1895 wxPy_END_ALLOW_THREADS
;
1896 } Py_INCREF(Py_None
);
1897 _resultobj
= Py_None
;
1901 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
1902 static PyObject
*_wrap_wxToolBar_SetToolPacking(PyObject
*self
, PyObject
*args
) {
1903 PyObject
* _resultobj
;
1906 PyObject
* _argo0
= 0;
1909 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_SetToolPacking",&_argo0
,&_arg1
))
1912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
1919 wxPy_BEGIN_ALLOW_THREADS
;
1920 wxToolBar_SetToolPacking(_arg0
,_arg1
);
1922 wxPy_END_ALLOW_THREADS
;
1923 } Py_INCREF(Py_None
);
1924 _resultobj
= Py_None
;
1928 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
1929 static PyObject
*_wrap_wxToolBar_SetToolSeparation(PyObject
*self
, PyObject
*args
) {
1930 PyObject
* _resultobj
;
1933 PyObject
* _argo0
= 0;
1936 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_SetToolSeparation",&_argo0
,&_arg1
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
1946 wxPy_BEGIN_ALLOW_THREADS
;
1947 wxToolBar_SetToolSeparation(_arg0
,_arg1
);
1949 wxPy_END_ALLOW_THREADS
;
1950 } Py_INCREF(Py_None
);
1951 _resultobj
= Py_None
;
1955 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
1956 static PyObject
*_wrap_wxToolBar_ToggleTool(PyObject
*self
, PyObject
*args
) {
1957 PyObject
* _resultobj
;
1961 PyObject
* _argo0
= 0;
1965 if(!PyArg_ParseTuple(args
,"Oii:wxToolBar_ToggleTool",&_argo0
,&_arg1
,&tempbool2
))
1968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
1974 _arg2
= (bool ) tempbool2
;
1976 wxPy_BEGIN_ALLOW_THREADS
;
1977 wxToolBar_ToggleTool(_arg0
,_arg1
,_arg2
);
1979 wxPy_END_ALLOW_THREADS
;
1980 } Py_INCREF(Py_None
);
1981 _resultobj
= Py_None
;
1985 static PyMethodDef stattoolcMethods
[] = {
1986 { "wxToolBar_ToggleTool", _wrap_wxToolBar_ToggleTool
, METH_VARARGS
},
1987 { "wxToolBar_SetToolSeparation", _wrap_wxToolBar_SetToolSeparation
, METH_VARARGS
},
1988 { "wxToolBar_SetToolPacking", _wrap_wxToolBar_SetToolPacking
, METH_VARARGS
},
1989 { "wxToolBar_SetMargins", _wrap_wxToolBar_SetMargins
, METH_VARARGS
},
1990 { "wxToolBar_SetToolShortHelp", _wrap_wxToolBar_SetToolShortHelp
, METH_VARARGS
},
1991 { "wxToolBar_SetToolLongHelp", _wrap_wxToolBar_SetToolLongHelp
, METH_VARARGS
},
1992 { "wxToolBar_Realize", _wrap_wxToolBar_Realize
, METH_VARARGS
},
1993 { "wxToolBar_GetToolState", _wrap_wxToolBar_GetToolState
, METH_VARARGS
},
1994 { "wxToolBar_GetToolShortHelp", _wrap_wxToolBar_GetToolShortHelp
, METH_VARARGS
},
1995 { "wxToolBar_GetToolSeparation", _wrap_wxToolBar_GetToolSeparation
, METH_VARARGS
},
1996 { "wxToolBar_GetToolPacking", _wrap_wxToolBar_GetToolPacking
, METH_VARARGS
},
1997 { "wxToolBar_GetToolLongHelp", _wrap_wxToolBar_GetToolLongHelp
, METH_VARARGS
},
1998 { "wxToolBar_GetToolEnabled", _wrap_wxToolBar_GetToolEnabled
, METH_VARARGS
},
1999 { "wxToolBar_EnableTool", _wrap_wxToolBar_EnableTool
, METH_VARARGS
},
2000 { "wxToolBar_AddSimpleTool", _wrap_wxToolBar_AddSimpleTool
, METH_VARARGS
},
2001 { "wxToolBar_AddTool", _wrap_wxToolBar_AddTool
, METH_VARARGS
},
2002 { "wxToolBar_AddSeparator", _wrap_wxToolBar_AddSeparator
, METH_VARARGS
},
2003 { "new_wxToolBar", _wrap_new_wxToolBar
, METH_VARARGS
},
2004 { "wxToolBarTool_m_longHelpString_get", _wrap_wxToolBarTool_m_longHelpString_get
, METH_VARARGS
},
2005 { "wxToolBarTool_m_longHelpString_set", _wrap_wxToolBarTool_m_longHelpString_set
, METH_VARARGS
},
2006 { "wxToolBarTool_m_shortHelpString_get", _wrap_wxToolBarTool_m_shortHelpString_get
, METH_VARARGS
},
2007 { "wxToolBarTool_m_shortHelpString_set", _wrap_wxToolBarTool_m_shortHelpString_set
, METH_VARARGS
},
2008 { "wxToolBarTool_m_isMenuCommand_get", _wrap_wxToolBarTool_m_isMenuCommand_get
, METH_VARARGS
},
2009 { "wxToolBarTool_m_isMenuCommand_set", _wrap_wxToolBarTool_m_isMenuCommand_set
, METH_VARARGS
},
2010 { "wxToolBarTool_m_bitmap2_get", _wrap_wxToolBarTool_m_bitmap2_get
, METH_VARARGS
},
2011 { "wxToolBarTool_m_bitmap2_set", _wrap_wxToolBarTool_m_bitmap2_set
, METH_VARARGS
},
2012 { "wxToolBarTool_m_bitmap1_get", _wrap_wxToolBarTool_m_bitmap1_get
, METH_VARARGS
},
2013 { "wxToolBarTool_m_bitmap1_set", _wrap_wxToolBarTool_m_bitmap1_set
, METH_VARARGS
},
2014 { "wxToolBarTool_m_enabled_get", _wrap_wxToolBarTool_m_enabled_get
, METH_VARARGS
},
2015 { "wxToolBarTool_m_enabled_set", _wrap_wxToolBarTool_m_enabled_set
, METH_VARARGS
},
2016 { "wxToolBarTool_m_deleteSecondBitmap_get", _wrap_wxToolBarTool_m_deleteSecondBitmap_get
, METH_VARARGS
},
2017 { "wxToolBarTool_m_deleteSecondBitmap_set", _wrap_wxToolBarTool_m_deleteSecondBitmap_set
, METH_VARARGS
},
2018 { "wxToolBarTool_m_isToggle_get", _wrap_wxToolBarTool_m_isToggle_get
, METH_VARARGS
},
2019 { "wxToolBarTool_m_isToggle_set", _wrap_wxToolBarTool_m_isToggle_set
, METH_VARARGS
},
2020 { "wxToolBarTool_m_toggleState_get", _wrap_wxToolBarTool_m_toggleState_get
, METH_VARARGS
},
2021 { "wxToolBarTool_m_toggleState_set", _wrap_wxToolBarTool_m_toggleState_set
, METH_VARARGS
},
2022 { "wxToolBarTool_m_index_get", _wrap_wxToolBarTool_m_index_get
, METH_VARARGS
},
2023 { "wxToolBarTool_m_index_set", _wrap_wxToolBarTool_m_index_set
, METH_VARARGS
},
2024 { "wxToolBarTool_m_clientData_get", _wrap_wxToolBarTool_m_clientData_get
, METH_VARARGS
},
2025 { "wxToolBarTool_m_clientData_set", _wrap_wxToolBarTool_m_clientData_set
, METH_VARARGS
},
2026 { "wxToolBarTool_m_toolStyle_get", _wrap_wxToolBarTool_m_toolStyle_get
, METH_VARARGS
},
2027 { "wxToolBarTool_m_toolStyle_set", _wrap_wxToolBarTool_m_toolStyle_set
, METH_VARARGS
},
2028 { "delete_wxToolBarTool", _wrap_delete_wxToolBarTool
, METH_VARARGS
},
2029 { "new_wxToolBarTool", _wrap_new_wxToolBarTool
, METH_VARARGS
},
2030 { "wxStatusBar_SetStatusWidths", _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
},
2031 { "wxStatusBar_SetStatusText", _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
},
2032 { "wxStatusBar_SetFieldsCount", _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
},
2033 { "wxStatusBar_InitColours", _wrap_wxStatusBar_InitColours
, METH_VARARGS
},
2034 { "wxStatusBar_DrawFieldText", _wrap_wxStatusBar_DrawFieldText
, METH_VARARGS
},
2035 { "wxStatusBar_DrawField", _wrap_wxStatusBar_DrawField
, METH_VARARGS
},
2036 { "wxStatusBar_GetStatusText", _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
},
2037 { "wxStatusBar_GetFieldsCount", _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
},
2038 { "wxStatusBar_GetFieldRect", _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
},
2039 { "new_wxStatusBar", _wrap_new_wxStatusBar
, METH_VARARGS
},
2046 * This table is used by the pointer type-checker
2048 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2049 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2050 { "_wxEvent","_class_wxEvent",0},
2051 { "_class_wxActivateEvent","_wxActivateEvent",0},
2052 { "_signed_long","_long",0},
2053 { "_wxMenuEvent","_class_wxMenuEvent",0},
2054 { "_wxPrintQuality","_int",0},
2055 { "_wxPrintQuality","_signed_int",0},
2056 { "_wxPrintQuality","_unsigned_int",0},
2057 { "_wxPrintQuality","_wxWindowID",0},
2058 { "_wxPrintQuality","_uint",0},
2059 { "_wxPrintQuality","_EBool",0},
2060 { "_wxPrintQuality","_size_t",0},
2061 { "_class_wxRegionIterator","_wxRegionIterator",0},
2062 { "_class_wxMenuBar","_wxMenuBar",0},
2063 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2064 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2065 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2066 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2067 { "_class_wxEvtHandler","_wxEvtHandler",0},
2068 { "_wxPaintEvent","_class_wxPaintEvent",0},
2069 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2070 { "_wxCursor","_class_wxCursor",0},
2071 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2072 { "_wxMask","_class_wxMask",0},
2073 { "_wxPen","_class_wxPen",0},
2074 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2075 { "_byte","_unsigned_char",0},
2076 { "_wxStaticBox","_class_wxStaticBox",0},
2077 { "_wxChoice","_class_wxChoice",0},
2078 { "_wxSlider","_class_wxSlider",0},
2079 { "_long","_wxDash",0},
2080 { "_long","_unsigned_long",0},
2081 { "_long","_signed_long",0},
2082 { "_wxImageList","_class_wxImageList",0},
2083 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2084 { "_wxBitmapButton","_class_wxBitmapButton",0},
2085 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2086 { "_class_wxGauge","_wxGauge",0},
2087 { "_wxDC","_class_wxDC",0},
2088 { "_wxSpinEvent","_class_wxSpinEvent",0},
2089 { "_size_t","_wxPrintQuality",0},
2090 { "_size_t","_unsigned_int",0},
2091 { "_size_t","_int",0},
2092 { "_size_t","_wxWindowID",0},
2093 { "_size_t","_uint",0},
2094 { "_class_wxRealPoint","_wxRealPoint",0},
2095 { "_class_wxMenuItem","_wxMenuItem",0},
2096 { "_class_wxPaintEvent","_wxPaintEvent",0},
2097 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2098 { "_class_wxStatusBar","_wxStatusBar",0},
2099 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2100 { "_wxPanel","_class_wxPanel",0},
2101 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2102 { "_wxCheckBox","_class_wxCheckBox",0},
2103 { "_wxPyEvent","_class_wxPyEvent",0},
2104 { "_wxTextCtrl","_class_wxTextCtrl",0},
2105 { "_class_wxMask","_wxMask",0},
2106 { "_class_wxKeyEvent","_wxKeyEvent",0},
2107 { "_wxColour","_class_wxColour",0},
2108 { "_class_wxDialog","_wxDialog",0},
2109 { "_wxIdleEvent","_class_wxIdleEvent",0},
2110 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2111 { "_wxToolBar","_class_wxToolBar",0},
2112 { "_wxStaticLine","_class_wxStaticLine",0},
2113 { "_wxBrush","_class_wxBrush",0},
2114 { "_wxShowEvent","_class_wxShowEvent",0},
2115 { "_uint","_wxPrintQuality",0},
2116 { "_uint","_size_t",0},
2117 { "_uint","_unsigned_int",0},
2118 { "_uint","_int",0},
2119 { "_uint","_wxWindowID",0},
2120 { "_class_wxEvent","_wxEvent",0},
2121 { "_wxCheckListBox","_class_wxCheckListBox",0},
2122 { "_wxRect","_class_wxRect",0},
2123 { "_wxCommandEvent","_class_wxCommandEvent",0},
2124 { "_wxSizeEvent","_class_wxSizeEvent",0},
2125 { "_wxPoint","_class_wxPoint",0},
2126 { "_class_wxButton","_wxButton",0},
2127 { "_wxRadioBox","_class_wxRadioBox",0},
2128 { "_wxBitmap","_class_wxBitmap",0},
2129 { "_wxPyTimer","_class_wxPyTimer",0},
2130 { "_wxWindowDC","_class_wxWindowDC",0},
2131 { "_wxScrollBar","_class_wxScrollBar",0},
2132 { "_wxSpinButton","_class_wxSpinButton",0},
2133 { "_wxToolBarTool","_class_wxToolBarTool",0},
2134 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2135 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2136 { "_class_wxPyEvent","_wxPyEvent",0},
2137 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2138 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2139 { "_class_wxToolBar","_wxToolBar",0},
2140 { "_class_wxStaticLine","_wxStaticLine",0},
2141 { "_wxScrollEvent","_class_wxScrollEvent",0},
2142 { "_EBool","_wxPrintQuality",0},
2143 { "_EBool","_signed_int",0},
2144 { "_EBool","_int",0},
2145 { "_EBool","_wxWindowID",0},
2146 { "_class_wxRegion","_wxRegion",0},
2147 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2148 { "_wxStaticText","_class_wxStaticText",0},
2149 { "_wxFont","_class_wxFont",0},
2150 { "_wxCloseEvent","_class_wxCloseEvent",0},
2151 { "_unsigned_long","_wxDash",0},
2152 { "_unsigned_long","_long",0},
2153 { "_class_wxRect","_wxRect",0},
2154 { "_class_wxDC","_wxDC",0},
2155 { "_class_wxPyTimer","_wxPyTimer",0},
2156 { "_wxFocusEvent","_class_wxFocusEvent",0},
2157 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2158 { "_class_wxSpinButton","_wxSpinButton",0},
2159 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2160 { "_class_wxPanel","_wxPanel",0},
2161 { "_class_wxCheckBox","_wxCheckBox",0},
2162 { "_wxComboBox","_class_wxComboBox",0},
2163 { "_wxRadioButton","_class_wxRadioButton",0},
2164 { "_signed_int","_wxPrintQuality",0},
2165 { "_signed_int","_EBool",0},
2166 { "_signed_int","_wxWindowID",0},
2167 { "_signed_int","_int",0},
2168 { "_class_wxTextCtrl","_wxTextCtrl",0},
2169 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2170 { "_wxMenu","_class_wxMenu",0},
2171 { "_class_wxMoveEvent","_wxMoveEvent",0},
2172 { "_wxListBox","_class_wxListBox",0},
2173 { "_wxScreenDC","_class_wxScreenDC",0},
2174 { "_WXTYPE","_short",0},
2175 { "_WXTYPE","_signed_short",0},
2176 { "_WXTYPE","_unsigned_short",0},
2177 { "_class_wxBrush","_wxBrush",0},
2178 { "_unsigned_short","_WXTYPE",0},
2179 { "_unsigned_short","_short",0},
2180 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2181 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2182 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2183 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2184 { "_class_wxWindow","_wxWindow",0},
2185 { "_class_wxStaticText","_wxStaticText",0},
2186 { "_class_wxFont","_wxFont",0},
2187 { "_class_wxCloseEvent","_wxCloseEvent",0},
2188 { "_class_wxMenuEvent","_wxMenuEvent",0},
2189 { "_wxClientDC","_class_wxClientDC",0},
2190 { "_wxMouseEvent","_class_wxMouseEvent",0},
2191 { "_class_wxPoint","_wxPoint",0},
2192 { "_wxRealPoint","_class_wxRealPoint",0},
2193 { "_class_wxRadioBox","_wxRadioBox",0},
2194 { "_signed_short","_WXTYPE",0},
2195 { "_signed_short","_short",0},
2196 { "_wxMemoryDC","_class_wxMemoryDC",0},
2197 { "_wxPaintDC","_class_wxPaintDC",0},
2198 { "_class_wxWindowDC","_wxWindowDC",0},
2199 { "_class_wxFocusEvent","_wxFocusEvent",0},
2200 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2201 { "_wxStatusBar","_class_wxStatusBar",0},
2202 { "_class_wxToolBarTool","_wxToolBarTool",0},
2203 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2204 { "_class_wxCursor","_wxCursor",0},
2205 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2206 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2207 { "_unsigned_char","_byte",0},
2208 { "_class_wxMenu","_wxMenu",0},
2209 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2210 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2211 { "_wxControl","_class_wxControl",0},
2212 { "_class_wxListBox","_wxListBox",0},
2213 { "_unsigned_int","_wxPrintQuality",0},
2214 { "_unsigned_int","_size_t",0},
2215 { "_unsigned_int","_uint",0},
2216 { "_unsigned_int","_wxWindowID",0},
2217 { "_unsigned_int","_int",0},
2218 { "_wxIcon","_class_wxIcon",0},
2219 { "_wxDialog","_class_wxDialog",0},
2220 { "_class_wxPen","_wxPen",0},
2221 { "_short","_WXTYPE",0},
2222 { "_short","_unsigned_short",0},
2223 { "_short","_signed_short",0},
2224 { "_class_wxStaticBox","_wxStaticBox",0},
2225 { "_class_wxScrollEvent","_wxScrollEvent",0},
2226 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2227 { "_class_wxChoice","_wxChoice",0},
2228 { "_class_wxSlider","_wxSlider",0},
2229 { "_class_wxImageList","_wxImageList",0},
2230 { "_class_wxBitmapButton","_wxBitmapButton",0},
2231 { "_wxWindowID","_wxPrintQuality",0},
2232 { "_wxWindowID","_size_t",0},
2233 { "_wxWindowID","_EBool",0},
2234 { "_wxWindowID","_uint",0},
2235 { "_wxWindowID","_int",0},
2236 { "_wxWindowID","_signed_int",0},
2237 { "_wxWindowID","_unsigned_int",0},
2238 { "_int","_wxPrintQuality",0},
2239 { "_int","_size_t",0},
2240 { "_int","_EBool",0},
2241 { "_int","_uint",0},
2242 { "_int","_wxWindowID",0},
2243 { "_int","_unsigned_int",0},
2244 { "_int","_signed_int",0},
2245 { "_class_wxMouseEvent","_wxMouseEvent",0},
2246 { "_class_wxSpinEvent","_wxSpinEvent",0},
2247 { "_wxButton","_class_wxButton",0},
2248 { "_wxSize","_class_wxSize",0},
2249 { "_wxRegionIterator","_class_wxRegionIterator",0},
2250 { "_class_wxPaintDC","_wxPaintDC",0},
2251 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2252 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2253 { "_class_wxComboBox","_wxComboBox",0},
2254 { "_class_wxRadioButton","_wxRadioButton",0},
2255 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2256 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2257 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2258 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2259 { "_class_wxControl","_wxControl",0},
2260 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2261 { "_class_wxIcon","_wxIcon",0},
2262 { "_class_wxColour","_wxColour",0},
2263 { "_class_wxScreenDC","_wxScreenDC",0},
2264 { "_wxPalette","_class_wxPalette",0},
2265 { "_class_wxIdleEvent","_wxIdleEvent",0},
2266 { "_wxEraseEvent","_class_wxEraseEvent",0},
2267 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2268 { "_wxRegion","_class_wxRegion",0},
2269 { "_class_wxShowEvent","_wxShowEvent",0},
2270 { "_wxActivateEvent","_class_wxActivateEvent",0},
2271 { "_wxGauge","_class_wxGauge",0},
2272 { "_class_wxCheckListBox","_wxCheckListBox",0},
2273 { "_class_wxCommandEvent","_wxCommandEvent",0},
2274 { "_class_wxClientDC","_wxClientDC",0},
2275 { "_class_wxSizeEvent","_wxSizeEvent",0},
2276 { "_class_wxSize","_wxSize",0},
2277 { "_class_wxBitmap","_wxBitmap",0},
2278 { "_class_wxMemoryDC","_wxMemoryDC",0},
2279 { "_wxMenuBar","_class_wxMenuBar",0},
2280 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2281 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2282 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2283 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2284 { "_wxEvtHandler","_class_wxEvtHandler",0},
2285 { "_wxMenuItem","_class_wxMenuItem",0},
2286 { "_class_wxScrollBar","_wxScrollBar",0},
2287 { "_wxDash","_unsigned_long",0},
2288 { "_wxDash","_long",0},
2289 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2290 { "_wxKeyEvent","_class_wxKeyEvent",0},
2291 { "_wxMoveEvent","_class_wxMoveEvent",0},
2292 { "_class_wxPalette","_wxPalette",0},
2293 { "_class_wxEraseEvent","_wxEraseEvent",0},
2294 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2295 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2296 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2297 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2298 { "_wxWindow","_class_wxWindow",0},
2301 static PyObject
*SWIG_globals
;
2305 SWIGEXPORT(void) initstattoolc() {
2307 SWIG_globals
= SWIG_newvarlink();
2308 m
= Py_InitModule("stattoolc", stattoolcMethods
);
2309 d
= PyModule_GetDict(m
);
2312 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2313 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);