2 * FILE : gtk/stattool.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 extern PyObject
*SWIG_newvarlink(void);
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";
119 static void *SwigwxStatusBarTowxWindow(void *ptr
) {
122 src
= (wxStatusBar
*) ptr
;
123 dest
= (wxWindow
*) src
;
124 return (void *) dest
;
127 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) {
130 src
= (wxStatusBar
*) ptr
;
131 dest
= (wxEvtHandler
*) src
;
132 return (void *) dest
;
135 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
136 static PyObject
*_wrap_new_wxStatusBar(PyObject
*self
, PyObject
*args
) {
137 PyObject
* _resultobj
;
138 wxStatusBar
* _result
;
141 wxPoint
* _arg2
= &wxPyDefaultPosition
;
142 wxSize
* _arg3
= &wxPyDefaultSize
;
143 long _arg4
= (wxST_SIZEGRIP
);
144 char * _arg5
= "statusBar";
151 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxStatusBar",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
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.");
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.");
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.");
172 wxPy_BEGIN_ALLOW_THREADS
;
173 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
175 wxPy_END_ALLOW_THREADS
;
176 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
177 _resultobj
= Py_BuildValue("s",_ptemp
);
181 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
182 wxRect
* rect
= new wxRect
;
183 self
->GetFieldRect(item
, *rect
);
186 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
) {
187 PyObject
* _resultobj
;
195 if(!PyArg_ParseTuple(args
,"sl:wxStatusBar_GetFieldRect",&_argc0
,&_arg1
))
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.");
204 wxPy_BEGIN_ALLOW_THREADS
;
205 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
207 wxPy_END_ALLOW_THREADS
;
208 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
209 _resultobj
= Py_BuildValue("s",_ptemp
);
213 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
214 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
) {
215 PyObject
* _resultobj
;
221 if(!PyArg_ParseTuple(args
,"s:wxStatusBar_GetFieldsCount",&_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.");
230 wxPy_BEGIN_ALLOW_THREADS
;
231 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
233 wxPy_END_ALLOW_THREADS
;
234 } _resultobj
= Py_BuildValue("i",_result
);
238 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
239 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
) {
240 PyObject
* _resultobj
;
247 if(!PyArg_ParseTuple(args
,"s|i:wxStatusBar_GetStatusText",&_argc0
,&_arg1
))
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.");
256 wxPy_BEGIN_ALLOW_THREADS
;
257 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
259 wxPy_END_ALLOW_THREADS
;
261 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
269 #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
270 static PyObject
*_wrap_wxStatusBar_DrawField(PyObject
*self
, PyObject
*args
) {
271 PyObject
* _resultobj
;
279 if(!PyArg_ParseTuple(args
,"ssi:wxStatusBar_DrawField",&_argc0
,&_argc1
,&_arg2
))
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.");
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.");
294 wxPy_BEGIN_ALLOW_THREADS
;
295 wxStatusBar_DrawField(_arg0
,*_arg1
,_arg2
);
297 wxPy_END_ALLOW_THREADS
;
298 } Py_INCREF(Py_None
);
299 _resultobj
= Py_None
;
303 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
304 static PyObject
*_wrap_wxStatusBar_DrawFieldText(PyObject
*self
, PyObject
*args
) {
305 PyObject
* _resultobj
;
313 if(!PyArg_ParseTuple(args
,"ssi:wxStatusBar_DrawFieldText",&_argc0
,&_argc1
,&_arg2
))
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.");
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.");
328 wxPy_BEGIN_ALLOW_THREADS
;
329 wxStatusBar_DrawFieldText(_arg0
,*_arg1
,_arg2
);
331 wxPy_END_ALLOW_THREADS
;
332 } Py_INCREF(Py_None
);
333 _resultobj
= Py_None
;
337 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
338 static PyObject
*_wrap_wxStatusBar_InitColours(PyObject
*self
, PyObject
*args
) {
339 PyObject
* _resultobj
;
344 if(!PyArg_ParseTuple(args
,"s:wxStatusBar_InitColours",&_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.");
353 wxPy_BEGIN_ALLOW_THREADS
;
354 wxStatusBar_InitColours(_arg0
);
356 wxPy_END_ALLOW_THREADS
;
357 } Py_INCREF(Py_None
);
358 _resultobj
= Py_None
;
362 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
363 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
) {
364 PyObject
* _resultobj
;
370 if(!PyArg_ParseTuple(args
,"s|i:wxStatusBar_SetFieldsCount",&_argc0
,&_arg1
))
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.");
379 wxPy_BEGIN_ALLOW_THREADS
;
380 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
382 wxPy_END_ALLOW_THREADS
;
383 } Py_INCREF(Py_None
);
384 _resultobj
= Py_None
;
388 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
389 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
) {
390 PyObject
* _resultobj
;
395 PyObject
* _obj1
= 0;
398 if(!PyArg_ParseTuple(args
,"sO|i:wxStatusBar_SetStatusText",&_argc0
,&_obj1
,&_arg2
))
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.");
407 if (!PyString_Check(_obj1
)) {
408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
411 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
414 wxPy_BEGIN_ALLOW_THREADS
;
415 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
417 wxPy_END_ALLOW_THREADS
;
418 } Py_INCREF(Py_None
);
419 _resultobj
= Py_None
;
427 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
428 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
) {
429 PyObject
* _resultobj
;
434 PyObject
* _obj2
= 0;
437 if(!PyArg_ParseTuple(args
,"sO:wxStatusBar_SetStatusWidths",&_argc0
,&_obj2
))
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.");
447 _arg2
= int_LIST_helper(_obj2
);
454 _arg1
= PyList_Size(_obj2
);
461 wxPy_BEGIN_ALLOW_THREADS
;
462 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
464 wxPy_END_ALLOW_THREADS
;
465 } Py_INCREF(Py_None
);
466 _resultobj
= Py_None
;
473 #define new_wxToolBarTool() (new wxToolBarTool())
474 static PyObject
*_wrap_new_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
475 PyObject
* _resultobj
;
476 wxToolBarTool
* _result
;
480 if(!PyArg_ParseTuple(args
,":new_wxToolBarTool"))
483 wxPy_BEGIN_ALLOW_THREADS
;
484 _result
= (wxToolBarTool
*)new_wxToolBarTool();
486 wxPy_END_ALLOW_THREADS
;
487 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
488 _resultobj
= Py_BuildValue("s",_ptemp
);
492 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
493 static PyObject
*_wrap_delete_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
494 PyObject
* _resultobj
;
495 wxToolBarTool
* _arg0
;
499 if(!PyArg_ParseTuple(args
,"s:delete_wxToolBarTool",&_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.");
508 wxPy_BEGIN_ALLOW_THREADS
;
509 delete_wxToolBarTool(_arg0
);
511 wxPy_END_ALLOW_THREADS
;
512 } Py_INCREF(Py_None
);
513 _resultobj
= Py_None
;
517 #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
518 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_set(PyObject
*self
, PyObject
*args
) {
519 PyObject
* _resultobj
;
521 wxToolBarTool
* _arg0
;
526 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_toolStyle_set",&_argc0
,&_arg1
))
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.");
535 wxPy_BEGIN_ALLOW_THREADS
;
536 _result
= (int )wxToolBarTool_m_toolStyle_set(_arg0
,_arg1
);
538 wxPy_END_ALLOW_THREADS
;
539 } _resultobj
= Py_BuildValue("i",_result
);
543 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
544 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_get(PyObject
*self
, PyObject
*args
) {
545 PyObject
* _resultobj
;
547 wxToolBarTool
* _arg0
;
551 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_toolStyle_get",&_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.");
560 wxPy_BEGIN_ALLOW_THREADS
;
561 _result
= (int )wxToolBarTool_m_toolStyle_get(_arg0
);
563 wxPy_END_ALLOW_THREADS
;
564 } _resultobj
= Py_BuildValue("i",_result
);
568 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
569 static PyObject
*_wrap_wxToolBarTool_m_clientData_set(PyObject
*self
, PyObject
*args
) {
570 PyObject
* _resultobj
;
572 wxToolBarTool
* _arg0
;
579 if(!PyArg_ParseTuple(args
,"ss:wxToolBarTool_m_clientData_set",&_argc0
,&_argc1
))
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.");
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.");
594 wxPy_BEGIN_ALLOW_THREADS
;
595 _result
= (wxObject
*)wxToolBarTool_m_clientData_set(_arg0
,_arg1
);
597 wxPy_END_ALLOW_THREADS
;
598 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
599 _resultobj
= Py_BuildValue("s",_ptemp
);
603 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
604 static PyObject
*_wrap_wxToolBarTool_m_clientData_get(PyObject
*self
, PyObject
*args
) {
605 PyObject
* _resultobj
;
607 wxToolBarTool
* _arg0
;
612 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_clientData_get",&_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.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 _result
= (wxObject
*)wxToolBarTool_m_clientData_get(_arg0
);
624 wxPy_END_ALLOW_THREADS
;
625 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
626 _resultobj
= Py_BuildValue("s",_ptemp
);
630 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
631 static PyObject
*_wrap_wxToolBarTool_m_index_set(PyObject
*self
, PyObject
*args
) {
632 PyObject
* _resultobj
;
634 wxToolBarTool
* _arg0
;
639 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_index_set",&_argc0
,&_arg1
))
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.");
648 wxPy_BEGIN_ALLOW_THREADS
;
649 _result
= (int )wxToolBarTool_m_index_set(_arg0
,_arg1
);
651 wxPy_END_ALLOW_THREADS
;
652 } _resultobj
= Py_BuildValue("i",_result
);
656 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
657 static PyObject
*_wrap_wxToolBarTool_m_index_get(PyObject
*self
, PyObject
*args
) {
658 PyObject
* _resultobj
;
660 wxToolBarTool
* _arg0
;
664 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_index_get",&_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.");
673 wxPy_BEGIN_ALLOW_THREADS
;
674 _result
= (int )wxToolBarTool_m_index_get(_arg0
);
676 wxPy_END_ALLOW_THREADS
;
677 } _resultobj
= Py_BuildValue("i",_result
);
681 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
682 static PyObject
*_wrap_wxToolBarTool_m_toggleState_set(PyObject
*self
, PyObject
*args
) {
683 PyObject
* _resultobj
;
685 wxToolBarTool
* _arg0
;
691 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_toggleState_set",&_argc0
,&tempbool1
))
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.");
699 _arg1
= (bool ) tempbool1
;
701 wxPy_BEGIN_ALLOW_THREADS
;
702 _result
= (bool )wxToolBarTool_m_toggleState_set(_arg0
,_arg1
);
704 wxPy_END_ALLOW_THREADS
;
705 } _resultobj
= Py_BuildValue("i",_result
);
709 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
710 static PyObject
*_wrap_wxToolBarTool_m_toggleState_get(PyObject
*self
, PyObject
*args
) {
711 PyObject
* _resultobj
;
713 wxToolBarTool
* _arg0
;
717 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_toggleState_get",&_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.");
726 wxPy_BEGIN_ALLOW_THREADS
;
727 _result
= (bool )wxToolBarTool_m_toggleState_get(_arg0
);
729 wxPy_END_ALLOW_THREADS
;
730 } _resultobj
= Py_BuildValue("i",_result
);
734 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
735 static PyObject
*_wrap_wxToolBarTool_m_isToggle_set(PyObject
*self
, PyObject
*args
) {
736 PyObject
* _resultobj
;
738 wxToolBarTool
* _arg0
;
744 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_isToggle_set",&_argc0
,&tempbool1
))
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.");
752 _arg1
= (bool ) tempbool1
;
754 wxPy_BEGIN_ALLOW_THREADS
;
755 _result
= (bool )wxToolBarTool_m_isToggle_set(_arg0
,_arg1
);
757 wxPy_END_ALLOW_THREADS
;
758 } _resultobj
= Py_BuildValue("i",_result
);
762 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
763 static PyObject
*_wrap_wxToolBarTool_m_isToggle_get(PyObject
*self
, PyObject
*args
) {
764 PyObject
* _resultobj
;
766 wxToolBarTool
* _arg0
;
770 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_isToggle_get",&_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.");
779 wxPy_BEGIN_ALLOW_THREADS
;
780 _result
= (bool )wxToolBarTool_m_isToggle_get(_arg0
);
782 wxPy_END_ALLOW_THREADS
;
783 } _resultobj
= Py_BuildValue("i",_result
);
787 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
788 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject
*self
, PyObject
*args
) {
789 PyObject
* _resultobj
;
791 wxToolBarTool
* _arg0
;
797 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_deleteSecondBitmap_set",&_argc0
,&tempbool1
))
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.");
805 _arg1
= (bool ) tempbool1
;
807 wxPy_BEGIN_ALLOW_THREADS
;
808 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0
,_arg1
);
810 wxPy_END_ALLOW_THREADS
;
811 } _resultobj
= Py_BuildValue("i",_result
);
815 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
816 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject
*self
, PyObject
*args
) {
817 PyObject
* _resultobj
;
819 wxToolBarTool
* _arg0
;
823 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_deleteSecondBitmap_get",&_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.");
832 wxPy_BEGIN_ALLOW_THREADS
;
833 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0
);
835 wxPy_END_ALLOW_THREADS
;
836 } _resultobj
= Py_BuildValue("i",_result
);
840 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
841 static PyObject
*_wrap_wxToolBarTool_m_enabled_set(PyObject
*self
, PyObject
*args
) {
842 PyObject
* _resultobj
;
844 wxToolBarTool
* _arg0
;
850 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_enabled_set",&_argc0
,&tempbool1
))
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.");
858 _arg1
= (bool ) tempbool1
;
860 wxPy_BEGIN_ALLOW_THREADS
;
861 _result
= (bool )wxToolBarTool_m_enabled_set(_arg0
,_arg1
);
863 wxPy_END_ALLOW_THREADS
;
864 } _resultobj
= Py_BuildValue("i",_result
);
868 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
869 static PyObject
*_wrap_wxToolBarTool_m_enabled_get(PyObject
*self
, PyObject
*args
) {
870 PyObject
* _resultobj
;
872 wxToolBarTool
* _arg0
;
876 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_enabled_get",&_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.");
885 wxPy_BEGIN_ALLOW_THREADS
;
886 _result
= (bool )wxToolBarTool_m_enabled_get(_arg0
);
888 wxPy_END_ALLOW_THREADS
;
889 } _resultobj
= Py_BuildValue("i",_result
);
893 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
894 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_set(PyObject
*self
, PyObject
*args
) {
895 PyObject
* _resultobj
;
897 wxToolBarTool
* _arg0
;
904 if(!PyArg_ParseTuple(args
,"ss:wxToolBarTool_m_bitmap1_set",&_argc0
,&_argc1
))
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.");
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.");
919 wxPy_BEGIN_ALLOW_THREADS
;
920 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_set(_arg0
,_arg1
);
922 wxPy_END_ALLOW_THREADS
;
923 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
924 _resultobj
= Py_BuildValue("s",_ptemp
);
928 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
929 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_get(PyObject
*self
, PyObject
*args
) {
930 PyObject
* _resultobj
;
932 wxToolBarTool
* _arg0
;
937 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_bitmap1_get",&_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.");
946 wxPy_BEGIN_ALLOW_THREADS
;
947 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_get(_arg0
);
949 wxPy_END_ALLOW_THREADS
;
950 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
951 _resultobj
= Py_BuildValue("s",_ptemp
);
955 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
956 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_set(PyObject
*self
, PyObject
*args
) {
957 PyObject
* _resultobj
;
959 wxToolBarTool
* _arg0
;
966 if(!PyArg_ParseTuple(args
,"ss:wxToolBarTool_m_bitmap2_set",&_argc0
,&_argc1
))
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.");
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.");
981 wxPy_BEGIN_ALLOW_THREADS
;
982 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_set(_arg0
,_arg1
);
984 wxPy_END_ALLOW_THREADS
;
985 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
986 _resultobj
= Py_BuildValue("s",_ptemp
);
990 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
991 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_get(PyObject
*self
, PyObject
*args
) {
992 PyObject
* _resultobj
;
994 wxToolBarTool
* _arg0
;
999 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_bitmap2_get",&_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.");
1008 wxPy_BEGIN_ALLOW_THREADS
;
1009 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_get(_arg0
);
1011 wxPy_END_ALLOW_THREADS
;
1012 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1013 _resultobj
= Py_BuildValue("s",_ptemp
);
1017 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1018 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject
*self
, PyObject
*args
) {
1019 PyObject
* _resultobj
;
1021 wxToolBarTool
* _arg0
;
1027 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_isMenuCommand_set",&_argc0
,&tempbool1
))
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.");
1035 _arg1
= (bool ) tempbool1
;
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 _result
= (bool )wxToolBarTool_m_isMenuCommand_set(_arg0
,_arg1
);
1040 wxPy_END_ALLOW_THREADS
;
1041 } _resultobj
= Py_BuildValue("i",_result
);
1045 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1046 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject
*self
, PyObject
*args
) {
1047 PyObject
* _resultobj
;
1049 wxToolBarTool
* _arg0
;
1053 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_isMenuCommand_get",&_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.");
1062 wxPy_BEGIN_ALLOW_THREADS
;
1063 _result
= (bool )wxToolBarTool_m_isMenuCommand_get(_arg0
);
1065 wxPy_END_ALLOW_THREADS
;
1066 } _resultobj
= Py_BuildValue("i",_result
);
1070 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1071 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_set(PyObject
*self
, PyObject
*args
) {
1072 PyObject
* _resultobj
;
1074 wxToolBarTool
* _arg0
;
1077 PyObject
* _obj1
= 0;
1080 if(!PyArg_ParseTuple(args
,"sO:wxToolBarTool_m_shortHelpString_set",&_argc0
,&_obj1
))
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.");
1089 if (!PyString_Check(_obj1
)) {
1090 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1093 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1096 wxPy_BEGIN_ALLOW_THREADS
;
1097 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_set(_arg0
,_arg1
);
1099 wxPy_END_ALLOW_THREADS
;
1101 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1110 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1111 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_get(PyObject
*self
, PyObject
*args
) {
1112 PyObject
* _resultobj
;
1114 wxToolBarTool
* _arg0
;
1118 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_shortHelpString_get",&_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.");
1127 wxPy_BEGIN_ALLOW_THREADS
;
1128 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_get(_arg0
);
1130 wxPy_END_ALLOW_THREADS
;
1132 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1137 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1138 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_set(PyObject
*self
, PyObject
*args
) {
1139 PyObject
* _resultobj
;
1141 wxToolBarTool
* _arg0
;
1144 PyObject
* _obj1
= 0;
1147 if(!PyArg_ParseTuple(args
,"sO:wxToolBarTool_m_longHelpString_set",&_argc0
,&_obj1
))
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.");
1156 if (!PyString_Check(_obj1
)) {
1157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1160 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1163 wxPy_BEGIN_ALLOW_THREADS
;
1164 _result
= (wxString
*)wxToolBarTool_m_longHelpString_set(_arg0
,_arg1
);
1166 wxPy_END_ALLOW_THREADS
;
1168 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1177 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1178 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_get(PyObject
*self
, PyObject
*args
) {
1179 PyObject
* _resultobj
;
1181 wxToolBarTool
* _arg0
;
1185 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_longHelpString_get",&_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.");
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 _result
= (wxString
*)wxToolBarTool_m_longHelpString_get(_arg0
);
1197 wxPy_END_ALLOW_THREADS
;
1199 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1204 static void *SwigwxToolBarTowxControl(void *ptr
) {
1207 src
= (wxToolBar
*) ptr
;
1208 dest
= (wxControl
*) src
;
1209 return (void *) dest
;
1212 static void *SwigwxToolBarTowxWindow(void *ptr
) {
1215 src
= (wxToolBar
*) ptr
;
1216 dest
= (wxWindow
*) src
;
1217 return (void *) dest
;
1220 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
1223 src
= (wxToolBar
*) ptr
;
1224 dest
= (wxEvtHandler
*) src
;
1225 return (void *) dest
;
1228 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1229 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
) {
1230 PyObject
* _resultobj
;
1231 wxToolBar
* _result
;
1234 wxPoint
* _arg2
= &wxPyDefaultPosition
;
1235 wxSize
* _arg3
= &wxPyDefaultSize
;
1236 long _arg4
= (wxTB_HORIZONTAL
)|(wxNO_BORDER
);
1237 char * _arg5
= "toolBar";
1244 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxToolBar",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
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.");
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.");
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.");
1265 wxPy_BEGIN_ALLOW_THREADS
;
1266 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1268 wxPy_END_ALLOW_THREADS
;
1269 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
1270 _resultobj
= Py_BuildValue("s",_ptemp
);
1274 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1275 static PyObject
*_wrap_wxToolBar_AddSeparator(PyObject
*self
, PyObject
*args
) {
1276 PyObject
* _resultobj
;
1281 if(!PyArg_ParseTuple(args
,"s:wxToolBar_AddSeparator",&_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.");
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 wxToolBar_AddSeparator(_arg0
);
1293 wxPy_END_ALLOW_THREADS
;
1294 } Py_INCREF(Py_None
);
1295 _resultobj
= Py_None
;
1299 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
) {
1300 return self
->AddTool(toolIndex
, bitmap1
, bitmap2
,
1301 isToggle
, xPos
, yPos
, NULL
,
1302 shortHelpString
, longHelpString
);
1304 static PyObject
*_wrap_wxToolBar_AddTool(PyObject
*self
, PyObject
*args
) {
1305 PyObject
* _resultobj
;
1306 wxToolBarTool
* _result
;
1310 wxBitmap
* _arg3
= &wxNullBitmap
;
1314 wxString
* _arg7
= &wxPyEmptyStr
;
1315 wxString
* _arg8
= &wxPyEmptyStr
;
1319 PyObject
* _obj7
= 0;
1320 PyObject
* _obj8
= 0;
1324 if(!PyArg_ParseTuple(args
,"sis|sillOO:wxToolBar_AddTool",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
,&_obj8
))
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.");
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.");
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.");
1346 if (!PyString_Check(_obj7
)) {
1347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1350 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1354 if (!PyString_Check(_obj8
)) {
1355 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1358 _arg8
= new wxString(PyString_AsString(_obj8
), PyString_Size(_obj8
));
1361 wxPy_BEGIN_ALLOW_THREADS
;
1362 _result
= (wxToolBarTool
*)wxToolBar_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1364 wxPy_END_ALLOW_THREADS
;
1365 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1366 _resultobj
= Py_BuildValue("s",_ptemp
);
1378 static 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
);
1383 static PyObject
*_wrap_wxToolBar_AddSimpleTool(PyObject
*self
, PyObject
*args
) {
1384 PyObject
* _resultobj
;
1385 wxToolBarTool
* _result
;
1389 wxString
* _arg3
= &wxPyEmptyStr
;
1390 wxString
* _arg4
= &wxPyEmptyStr
;
1393 PyObject
* _obj3
= 0;
1394 PyObject
* _obj4
= 0;
1398 if(!PyArg_ParseTuple(args
,"sis|OO:wxToolBar_AddSimpleTool",&_argc0
,&_arg1
,&_argc2
,&_obj3
,&_obj4
))
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.");
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.");
1414 if (!PyString_Check(_obj3
)) {
1415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1418 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1422 if (!PyString_Check(_obj4
)) {
1423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1426 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1429 wxPy_BEGIN_ALLOW_THREADS
;
1430 _result
= (wxToolBarTool
*)wxToolBar_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
);
1432 wxPy_END_ALLOW_THREADS
;
1433 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1434 _resultobj
= Py_BuildValue("s",_ptemp
);
1446 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1447 static PyObject
*_wrap_wxToolBar_EnableTool(PyObject
*self
, PyObject
*args
) {
1448 PyObject
* _resultobj
;
1456 if(!PyArg_ParseTuple(args
,"sii:wxToolBar_EnableTool",&_argc0
,&_arg1
,&tempbool2
))
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.");
1464 _arg2
= (bool ) tempbool2
;
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 wxToolBar_EnableTool(_arg0
,_arg1
,_arg2
);
1469 wxPy_END_ALLOW_THREADS
;
1470 } Py_INCREF(Py_None
);
1471 _resultobj
= Py_None
;
1475 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
1476 static PyObject
*_wrap_wxToolBar_GetToolEnabled(PyObject
*self
, PyObject
*args
) {
1477 PyObject
* _resultobj
;
1484 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolEnabled",&_argc0
,&_arg1
))
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.");
1493 wxPy_BEGIN_ALLOW_THREADS
;
1494 _result
= (bool )wxToolBar_GetToolEnabled(_arg0
,_arg1
);
1496 wxPy_END_ALLOW_THREADS
;
1497 } _resultobj
= Py_BuildValue("i",_result
);
1501 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
1502 static PyObject
*_wrap_wxToolBar_GetToolLongHelp(PyObject
*self
, PyObject
*args
) {
1503 PyObject
* _resultobj
;
1510 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolLongHelp",&_argc0
,&_arg1
))
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.");
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 _result
= new wxString (wxToolBar_GetToolLongHelp(_arg0
,_arg1
));
1522 wxPy_END_ALLOW_THREADS
;
1524 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1532 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
1533 static PyObject
*_wrap_wxToolBar_GetToolPacking(PyObject
*self
, PyObject
*args
) {
1534 PyObject
* _resultobj
;
1540 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolPacking",&_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.");
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 _result
= (int )wxToolBar_GetToolPacking(_arg0
);
1552 wxPy_END_ALLOW_THREADS
;
1553 } _resultobj
= Py_BuildValue("i",_result
);
1557 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
1558 static PyObject
*_wrap_wxToolBar_GetToolSeparation(PyObject
*self
, PyObject
*args
) {
1559 PyObject
* _resultobj
;
1565 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolSeparation",&_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.");
1574 wxPy_BEGIN_ALLOW_THREADS
;
1575 _result
= (int )wxToolBar_GetToolSeparation(_arg0
);
1577 wxPy_END_ALLOW_THREADS
;
1578 } _resultobj
= Py_BuildValue("i",_result
);
1582 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
1583 static PyObject
*_wrap_wxToolBar_GetToolShortHelp(PyObject
*self
, PyObject
*args
) {
1584 PyObject
* _resultobj
;
1591 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolShortHelp",&_argc0
,&_arg1
))
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.");
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 _result
= new wxString (wxToolBar_GetToolShortHelp(_arg0
,_arg1
));
1603 wxPy_END_ALLOW_THREADS
;
1605 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1613 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
1614 static PyObject
*_wrap_wxToolBar_GetToolState(PyObject
*self
, PyObject
*args
) {
1615 PyObject
* _resultobj
;
1622 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolState",&_argc0
,&_arg1
))
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.");
1631 wxPy_BEGIN_ALLOW_THREADS
;
1632 _result
= (bool )wxToolBar_GetToolState(_arg0
,_arg1
);
1634 wxPy_END_ALLOW_THREADS
;
1635 } _resultobj
= Py_BuildValue("i",_result
);
1639 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
1640 static PyObject
*_wrap_wxToolBar_Realize(PyObject
*self
, PyObject
*args
) {
1641 PyObject
* _resultobj
;
1647 if(!PyArg_ParseTuple(args
,"s:wxToolBar_Realize",&_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.");
1656 wxPy_BEGIN_ALLOW_THREADS
;
1657 _result
= (bool )wxToolBar_Realize(_arg0
);
1659 wxPy_END_ALLOW_THREADS
;
1660 } _resultobj
= Py_BuildValue("i",_result
);
1664 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
1665 static PyObject
*_wrap_wxToolBar_SetToolLongHelp(PyObject
*self
, PyObject
*args
) {
1666 PyObject
* _resultobj
;
1671 PyObject
* _obj2
= 0;
1674 if(!PyArg_ParseTuple(args
,"siO:wxToolBar_SetToolLongHelp",&_argc0
,&_arg1
,&_obj2
))
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.");
1683 if (!PyString_Check(_obj2
)) {
1684 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1687 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1690 wxPy_BEGIN_ALLOW_THREADS
;
1691 wxToolBar_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
1693 wxPy_END_ALLOW_THREADS
;
1694 } Py_INCREF(Py_None
);
1695 _resultobj
= Py_None
;
1703 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
1704 static PyObject
*_wrap_wxToolBar_SetToolShortHelp(PyObject
*self
, PyObject
*args
) {
1705 PyObject
* _resultobj
;
1710 PyObject
* _obj2
= 0;
1713 if(!PyArg_ParseTuple(args
,"siO:wxToolBar_SetToolShortHelp",&_argc0
,&_arg1
,&_obj2
))
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.");
1722 if (!PyString_Check(_obj2
)) {
1723 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1726 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1729 wxPy_BEGIN_ALLOW_THREADS
;
1730 wxToolBar_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
1732 wxPy_END_ALLOW_THREADS
;
1733 } Py_INCREF(Py_None
);
1734 _resultobj
= Py_None
;
1742 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
1743 static PyObject
*_wrap_wxToolBar_SetMargins(PyObject
*self
, PyObject
*args
) {
1744 PyObject
* _resultobj
;
1751 if(!PyArg_ParseTuple(args
,"ss:wxToolBar_SetMargins",&_argc0
,&_argc1
))
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.");
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.");
1766 wxPy_BEGIN_ALLOW_THREADS
;
1767 wxToolBar_SetMargins(_arg0
,*_arg1
);
1769 wxPy_END_ALLOW_THREADS
;
1770 } Py_INCREF(Py_None
);
1771 _resultobj
= Py_None
;
1775 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
1776 static PyObject
*_wrap_wxToolBar_SetToolPacking(PyObject
*self
, PyObject
*args
) {
1777 PyObject
* _resultobj
;
1783 if(!PyArg_ParseTuple(args
,"si:wxToolBar_SetToolPacking",&_argc0
,&_arg1
))
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.");
1792 wxPy_BEGIN_ALLOW_THREADS
;
1793 wxToolBar_SetToolPacking(_arg0
,_arg1
);
1795 wxPy_END_ALLOW_THREADS
;
1796 } Py_INCREF(Py_None
);
1797 _resultobj
= Py_None
;
1801 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
1802 static PyObject
*_wrap_wxToolBar_SetToolSeparation(PyObject
*self
, PyObject
*args
) {
1803 PyObject
* _resultobj
;
1809 if(!PyArg_ParseTuple(args
,"si:wxToolBar_SetToolSeparation",&_argc0
,&_arg1
))
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.");
1818 wxPy_BEGIN_ALLOW_THREADS
;
1819 wxToolBar_SetToolSeparation(_arg0
,_arg1
);
1821 wxPy_END_ALLOW_THREADS
;
1822 } Py_INCREF(Py_None
);
1823 _resultobj
= Py_None
;
1827 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
1828 static PyObject
*_wrap_wxToolBar_ToggleTool(PyObject
*self
, PyObject
*args
) {
1829 PyObject
* _resultobj
;
1837 if(!PyArg_ParseTuple(args
,"sii:wxToolBar_ToggleTool",&_argc0
,&_arg1
,&tempbool2
))
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.");
1845 _arg2
= (bool ) tempbool2
;
1847 wxPy_BEGIN_ALLOW_THREADS
;
1848 wxToolBar_ToggleTool(_arg0
,_arg1
,_arg2
);
1850 wxPy_END_ALLOW_THREADS
;
1851 } Py_INCREF(Py_None
);
1852 _resultobj
= Py_None
;
1856 static 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 },
1861 { "wxToolBar_SetToolShortHelp", _wrap_wxToolBar_SetToolShortHelp
, 1 },
1862 { "wxToolBar_SetToolLongHelp", _wrap_wxToolBar_SetToolLongHelp
, 1 },
1863 { "wxToolBar_Realize", _wrap_wxToolBar_Realize
, 1 },
1864 { "wxToolBar_GetToolState", _wrap_wxToolBar_GetToolState
, 1 },
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 },
1869 { "wxToolBar_GetToolEnabled", _wrap_wxToolBar_GetToolEnabled
, 1 },
1870 { "wxToolBar_EnableTool", _wrap_wxToolBar_EnableTool
, 1 },
1871 { "wxToolBar_AddSimpleTool", _wrap_wxToolBar_AddSimpleTool
, 1 },
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 },
1876 { "wxToolBarTool_m_longHelpString_set", _wrap_wxToolBarTool_m_longHelpString_set
, 1 },
1877 { "wxToolBarTool_m_shortHelpString_get", _wrap_wxToolBarTool_m_shortHelpString_get
, 1 },
1878 { "wxToolBarTool_m_shortHelpString_set", _wrap_wxToolBarTool_m_shortHelpString_set
, 1 },
1879 { "wxToolBarTool_m_isMenuCommand_get", _wrap_wxToolBarTool_m_isMenuCommand_get
, 1 },
1880 { "wxToolBarTool_m_isMenuCommand_set", _wrap_wxToolBarTool_m_isMenuCommand_set
, 1 },
1881 { "wxToolBarTool_m_bitmap2_get", _wrap_wxToolBarTool_m_bitmap2_get
, 1 },
1882 { "wxToolBarTool_m_bitmap2_set", _wrap_wxToolBarTool_m_bitmap2_set
, 1 },
1883 { "wxToolBarTool_m_bitmap1_get", _wrap_wxToolBarTool_m_bitmap1_get
, 1 },
1884 { "wxToolBarTool_m_bitmap1_set", _wrap_wxToolBarTool_m_bitmap1_set
, 1 },
1885 { "wxToolBarTool_m_enabled_get", _wrap_wxToolBarTool_m_enabled_get
, 1 },
1886 { "wxToolBarTool_m_enabled_set", _wrap_wxToolBarTool_m_enabled_set
, 1 },
1887 { "wxToolBarTool_m_deleteSecondBitmap_get", _wrap_wxToolBarTool_m_deleteSecondBitmap_get
, 1 },
1888 { "wxToolBarTool_m_deleteSecondBitmap_set", _wrap_wxToolBarTool_m_deleteSecondBitmap_set
, 1 },
1889 { "wxToolBarTool_m_isToggle_get", _wrap_wxToolBarTool_m_isToggle_get
, 1 },
1890 { "wxToolBarTool_m_isToggle_set", _wrap_wxToolBarTool_m_isToggle_set
, 1 },
1891 { "wxToolBarTool_m_toggleState_get", _wrap_wxToolBarTool_m_toggleState_get
, 1 },
1892 { "wxToolBarTool_m_toggleState_set", _wrap_wxToolBarTool_m_toggleState_set
, 1 },
1893 { "wxToolBarTool_m_index_get", _wrap_wxToolBarTool_m_index_get
, 1 },
1894 { "wxToolBarTool_m_index_set", _wrap_wxToolBarTool_m_index_set
, 1 },
1895 { "wxToolBarTool_m_clientData_get", _wrap_wxToolBarTool_m_clientData_get
, 1 },
1896 { "wxToolBarTool_m_clientData_set", _wrap_wxToolBarTool_m_clientData_set
, 1 },
1897 { "wxToolBarTool_m_toolStyle_get", _wrap_wxToolBarTool_m_toolStyle_get
, 1 },
1898 { "wxToolBarTool_m_toolStyle_set", _wrap_wxToolBarTool_m_toolStyle_set
, 1 },
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 },
1913 static PyObject
*SWIG_globals
;
1917 SWIGEXPORT(void,initstattoolc
)() {
1919 SWIG_globals
= SWIG_newvarlink();
1920 m
= Py_InitModule("stattoolc", stattoolcMethods
);
1921 d
= PyModule_GetDict(m
);
1923 * These are the pointer type-equivalency mappings.
1924 * (Used by the SWIG pointer type-checker).
1926 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
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);
1931 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
1932 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
1933 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
);
1934 SWIG_RegisterMapping("_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
);
1935 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
1936 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
1937 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
1938 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
1939 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
1940 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
1941 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
1942 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
1943 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
1944 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
1945 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
1946 SWIG_RegisterMapping("_byte","_unsigned_char",0);
1947 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
1948 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
1949 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
1950 SWIG_RegisterMapping("_long","_wxDash",0);
1951 SWIG_RegisterMapping("_long","_unsigned_long",0);
1952 SWIG_RegisterMapping("_long","_signed_long",0);
1953 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
1954 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
1955 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
1956 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
1957 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
1958 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
1959 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
1960 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
1961 SWIG_RegisterMapping("_size_t","_int",0);
1962 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
1963 SWIG_RegisterMapping("_size_t","_uint",0);
1964 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
1965 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
1966 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
1967 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
1968 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
1969 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
1970 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
1971 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
1972 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
1973 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
1974 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
1975 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
1976 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
1977 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
1978 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
1979 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
1980 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
1981 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
1982 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
1983 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
1984 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
1985 SWIG_RegisterMapping("_uint","_size_t",0);
1986 SWIG_RegisterMapping("_uint","_unsigned_int",0);
1987 SWIG_RegisterMapping("_uint","_int",0);
1988 SWIG_RegisterMapping("_uint","_wxWindowID",0);
1989 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
1990 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
1991 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
1992 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
1993 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
1994 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
1995 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
1996 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
1997 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
1998 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
1999 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
2000 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
2001 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
2002 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
2003 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2004 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
2005 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
2006 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
2007 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
2008 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
2009 SWIG_RegisterMapping("_EBool","_signed_int",0);
2010 SWIG_RegisterMapping("_EBool","_int",0);
2011 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2012 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
2013 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
2014 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
2015 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
2016 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
2017 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
2018 SWIG_RegisterMapping("_unsigned_long","_long",0);
2019 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2020 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
2021 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2022 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
2023 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
2024 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
2025 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
2026 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
2027 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
2028 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
2029 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
2030 SWIG_RegisterMapping("_signed_int","_EBool",0);
2031 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2032 SWIG_RegisterMapping("_signed_int","_int",0);
2033 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
2034 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2035 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
2036 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
2037 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
2038 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
2039 SWIG_RegisterMapping("_WXTYPE","_short",0);
2040 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2041 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2042 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
2043 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2044 SWIG_RegisterMapping("_unsigned_short","_short",0);
2045 SWIG_RegisterMapping("_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
);
2046 SWIG_RegisterMapping("_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
);
2047 SWIG_RegisterMapping("_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
);
2048 SWIG_RegisterMapping("_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
);
2049 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
2050 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
2051 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
2052 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
2053 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
2054 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
2055 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
2056 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2057 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2058 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
2059 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2060 SWIG_RegisterMapping("_signed_short","_short",0);
2061 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
2062 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
2063 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
2064 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
2065 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
2066 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
2067 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
2068 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
2069 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
2070 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
2071 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
2072 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2073 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
2074 SWIG_RegisterMapping("_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
);
2075 SWIG_RegisterMapping("_wxControl","_wxToolBar",SwigwxToolBarTowxControl
);
2076 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
2077 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
2078 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
2079 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2080 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2081 SWIG_RegisterMapping("_unsigned_int","_int",0);
2082 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
2083 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
2084 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
2085 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
2086 SWIG_RegisterMapping("_short","_WXTYPE",0);
2087 SWIG_RegisterMapping("_short","_unsigned_short",0);
2088 SWIG_RegisterMapping("_short","_signed_short",0);
2089 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
2090 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
2091 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
2092 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
2093 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
2094 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
2095 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
2096 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
2097 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2098 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2099 SWIG_RegisterMapping("_wxWindowID","_int",0);
2100 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2101 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2102 SWIG_RegisterMapping("_int","_size_t",0);
2103 SWIG_RegisterMapping("_int","_EBool",0);
2104 SWIG_RegisterMapping("_int","_uint",0);
2105 SWIG_RegisterMapping("_int","_wxWindowID",0);
2106 SWIG_RegisterMapping("_int","_unsigned_int",0);
2107 SWIG_RegisterMapping("_int","_signed_int",0);
2108 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
2109 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
2110 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
2111 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2112 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
2113 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
2114 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
2115 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
2116 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
2117 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
2118 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2119 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
2120 SWIG_RegisterMapping("_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
);
2121 SWIG_RegisterMapping("_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
);
2122 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
2123 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
2124 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
2125 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
2126 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
2127 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
2128 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
2129 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
2130 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
2131 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
2132 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
2133 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
2134 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
2135 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
2136 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
2137 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
2138 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
2139 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
2140 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
2141 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
2142 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
2143 SWIG_RegisterMapping("_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
);
2144 SWIG_RegisterMapping("_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
);
2145 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
2146 SWIG_RegisterMapping("_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
2147 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
2148 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
2149 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
2150 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
2151 SWIG_RegisterMapping("_wxDash","_long",0);
2152 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
2153 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
2154 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
2155 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
2156 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
2157 SWIG_RegisterMapping("_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
);
2158 SWIG_RegisterMapping("_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
);
2159 SWIG_RegisterMapping("_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
);
2160 SWIG_RegisterMapping("_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
);
2161 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);