2 * FILE : gtk/stattool.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
109 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
110 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
111 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
112 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
115 HELPEREXPORT 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
, PyObject
*kwargs
) {
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;
151 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStatusBar",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
165 if (_argo2
== Py_None
) { _arg2
= NULL
; }
166 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStatusBar. Expected _wxPoint_p.");
172 if (_argo3
== Py_None
) { _arg3
= NULL
; }
173 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxStatusBar. Expected _wxSize_p.");
179 wxPy_BEGIN_ALLOW_THREADS
;
180 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
182 wxPy_END_ALLOW_THREADS
;
184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
185 _resultobj
= Py_BuildValue("s",_ptemp
);
188 _resultobj
= Py_None
;
193 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
194 wxRect
* rect
= new wxRect
;
195 self
->GetFieldRect(item
, *rect
);
198 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
203 PyObject
* _argo0
= 0;
204 char *_kwnames
[] = { "self","item", NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxStatusBar_GetFieldRect",_kwnames
,&_argo0
,&_arg1
))
211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
218 wxPy_BEGIN_ALLOW_THREADS
;
219 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
221 wxPy_END_ALLOW_THREADS
;
223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
224 _resultobj
= Py_BuildValue("s",_ptemp
);
227 _resultobj
= Py_None
;
232 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
233 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
237 PyObject
* _argo0
= 0;
238 char *_kwnames
[] = { "self", NULL
};
241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetFieldsCount",_kwnames
,&_argo0
))
244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
251 wxPy_BEGIN_ALLOW_THREADS
;
252 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
254 wxPy_END_ALLOW_THREADS
;
255 } _resultobj
= Py_BuildValue("i",_result
);
259 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
260 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
261 PyObject
* _resultobj
;
264 int _arg1
= (int ) 0;
265 PyObject
* _argo0
= 0;
266 char *_kwnames
[] = { "self","ir", NULL
};
269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_GetStatusText",_kwnames
,&_argo0
,&_arg1
))
272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
279 wxPy_BEGIN_ALLOW_THREADS
;
280 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
282 wxPy_END_ALLOW_THREADS
;
284 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
292 #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
293 static PyObject
*_wrap_wxStatusBar_DrawField(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
298 PyObject
* _argo0
= 0;
299 PyObject
* _argo1
= 0;
300 char *_kwnames
[] = { "self","dc","i", NULL
};
303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxStatusBar_DrawField",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
313 if (_argo1
== Py_None
) { _arg1
= NULL
; }
314 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
320 wxPy_BEGIN_ALLOW_THREADS
;
321 wxStatusBar_DrawField(_arg0
,*_arg1
,_arg2
);
323 wxPy_END_ALLOW_THREADS
;
324 } Py_INCREF(Py_None
);
325 _resultobj
= Py_None
;
329 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
330 static PyObject
*_wrap_wxStatusBar_DrawFieldText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
335 PyObject
* _argo0
= 0;
336 PyObject
* _argo1
= 0;
337 char *_kwnames
[] = { "self","dc","i", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxStatusBar_DrawFieldText",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
357 wxPy_BEGIN_ALLOW_THREADS
;
358 wxStatusBar_DrawFieldText(_arg0
,*_arg1
,_arg2
);
360 wxPy_END_ALLOW_THREADS
;
361 } Py_INCREF(Py_None
);
362 _resultobj
= Py_None
;
366 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
367 static PyObject
*_wrap_wxStatusBar_InitColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
370 PyObject
* _argo0
= 0;
371 char *_kwnames
[] = { "self", NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_InitColours",_kwnames
,&_argo0
))
377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
384 wxPy_BEGIN_ALLOW_THREADS
;
385 wxStatusBar_InitColours(_arg0
);
387 wxPy_END_ALLOW_THREADS
;
388 } Py_INCREF(Py_None
);
389 _resultobj
= Py_None
;
393 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
394 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
397 int _arg1
= (int ) 1;
398 PyObject
* _argo0
= 0;
399 char *_kwnames
[] = { "self","number", NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_SetFieldsCount",_kwnames
,&_argo0
,&_arg1
))
405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
412 wxPy_BEGIN_ALLOW_THREADS
;
413 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
415 wxPy_END_ALLOW_THREADS
;
416 } Py_INCREF(Py_None
);
417 _resultobj
= Py_None
;
421 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
422 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
423 PyObject
* _resultobj
;
426 int _arg2
= (int ) 0;
427 PyObject
* _argo0
= 0;
428 PyObject
* _obj1
= 0;
429 char *_kwnames
[] = { "self","text","i", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxStatusBar_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
442 if (!PyString_Check(_obj1
)) {
443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
446 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
449 wxPy_BEGIN_ALLOW_THREADS
;
450 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
452 wxPy_END_ALLOW_THREADS
;
453 } Py_INCREF(Py_None
);
454 _resultobj
= Py_None
;
462 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
463 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
468 PyObject
* _argo0
= 0;
469 PyObject
* _obj2
= 0;
470 char *_kwnames
[] = { "self","LIST", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStatusBar_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
484 _arg2
= int_LIST_helper(_obj2
);
491 _arg1
= PyList_Size(_obj2
);
498 wxPy_BEGIN_ALLOW_THREADS
;
499 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
501 wxPy_END_ALLOW_THREADS
;
502 } Py_INCREF(Py_None
);
503 _resultobj
= Py_None
;
510 #define new_wxToolBarTool() (new wxToolBarTool())
511 static PyObject
*_wrap_new_wxToolBarTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
512 PyObject
* _resultobj
;
513 wxToolBarTool
* _result
;
514 char *_kwnames
[] = { NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxToolBarTool",_kwnames
))
521 wxPy_BEGIN_ALLOW_THREADS
;
522 _result
= (wxToolBarTool
*)new_wxToolBarTool();
524 wxPy_END_ALLOW_THREADS
;
526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
527 _resultobj
= Py_BuildValue("s",_ptemp
);
530 _resultobj
= Py_None
;
535 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
536 static PyObject
*_wrap_delete_wxToolBarTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
537 PyObject
* _resultobj
;
538 wxToolBarTool
* _arg0
;
539 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxToolBarTool",_kwnames
,&_argo0
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
553 wxPy_BEGIN_ALLOW_THREADS
;
554 delete_wxToolBarTool(_arg0
);
556 wxPy_END_ALLOW_THREADS
;
557 } Py_INCREF(Py_None
);
558 _resultobj
= Py_None
;
562 #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
563 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
566 wxToolBarTool
* _arg0
;
568 PyObject
* _argo0
= 0;
569 char *_kwnames
[] = { "self","m_toolStyle", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_toolStyle_set",_kwnames
,&_argo0
,&_arg1
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
582 wxPy_BEGIN_ALLOW_THREADS
;
583 _result
= (int )wxToolBarTool_m_toolStyle_set(_arg0
,_arg1
);
585 wxPy_END_ALLOW_THREADS
;
586 } _resultobj
= Py_BuildValue("i",_result
);
590 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
591 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
594 wxToolBarTool
* _arg0
;
595 PyObject
* _argo0
= 0;
596 char *_kwnames
[] = { "self", NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_toolStyle_get",_kwnames
,&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
609 wxPy_BEGIN_ALLOW_THREADS
;
610 _result
= (int )wxToolBarTool_m_toolStyle_get(_arg0
);
612 wxPy_END_ALLOW_THREADS
;
613 } _resultobj
= Py_BuildValue("i",_result
);
617 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
618 static PyObject
*_wrap_wxToolBarTool_m_clientData_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
619 PyObject
* _resultobj
;
621 wxToolBarTool
* _arg0
;
623 PyObject
* _argo0
= 0;
624 PyObject
* _argo1
= 0;
625 char *_kwnames
[] = { "self","m_clientData", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_clientData_set",_kwnames
,&_argo0
,&_argo1
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
639 if (_argo1
== Py_None
) { _arg1
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
646 wxPy_BEGIN_ALLOW_THREADS
;
647 _result
= (wxObject
*)wxToolBarTool_m_clientData_set(_arg0
,_arg1
);
649 wxPy_END_ALLOW_THREADS
;
651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
652 _resultobj
= Py_BuildValue("s",_ptemp
);
655 _resultobj
= Py_None
;
660 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
661 static PyObject
*_wrap_wxToolBarTool_m_clientData_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
662 PyObject
* _resultobj
;
664 wxToolBarTool
* _arg0
;
665 PyObject
* _argo0
= 0;
666 char *_kwnames
[] = { "self", NULL
};
670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_clientData_get",_kwnames
,&_argo0
))
673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
680 wxPy_BEGIN_ALLOW_THREADS
;
681 _result
= (wxObject
*)wxToolBarTool_m_clientData_get(_arg0
);
683 wxPy_END_ALLOW_THREADS
;
685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
686 _resultobj
= Py_BuildValue("s",_ptemp
);
689 _resultobj
= Py_None
;
694 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
695 static PyObject
*_wrap_wxToolBarTool_m_index_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
696 PyObject
* _resultobj
;
698 wxToolBarTool
* _arg0
;
700 PyObject
* _argo0
= 0;
701 char *_kwnames
[] = { "self","m_index", NULL
};
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_index_set",_kwnames
,&_argo0
,&_arg1
))
707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
714 wxPy_BEGIN_ALLOW_THREADS
;
715 _result
= (int )wxToolBarTool_m_index_set(_arg0
,_arg1
);
717 wxPy_END_ALLOW_THREADS
;
718 } _resultobj
= Py_BuildValue("i",_result
);
722 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
723 static PyObject
*_wrap_wxToolBarTool_m_index_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
724 PyObject
* _resultobj
;
726 wxToolBarTool
* _arg0
;
727 PyObject
* _argo0
= 0;
728 char *_kwnames
[] = { "self", NULL
};
731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_index_get",_kwnames
,&_argo0
))
734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
741 wxPy_BEGIN_ALLOW_THREADS
;
742 _result
= (int )wxToolBarTool_m_index_get(_arg0
);
744 wxPy_END_ALLOW_THREADS
;
745 } _resultobj
= Py_BuildValue("i",_result
);
749 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
750 static PyObject
*_wrap_wxToolBarTool_m_toggleState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
751 PyObject
* _resultobj
;
753 wxToolBarTool
* _arg0
;
755 PyObject
* _argo0
= 0;
757 char *_kwnames
[] = { "self","m_toggleState", NULL
};
760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_toggleState_set",_kwnames
,&_argo0
,&tempbool1
))
763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
769 _arg1
= (bool ) tempbool1
;
771 wxPy_BEGIN_ALLOW_THREADS
;
772 _result
= (bool )wxToolBarTool_m_toggleState_set(_arg0
,_arg1
);
774 wxPy_END_ALLOW_THREADS
;
775 } _resultobj
= Py_BuildValue("i",_result
);
779 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
780 static PyObject
*_wrap_wxToolBarTool_m_toggleState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
783 wxToolBarTool
* _arg0
;
784 PyObject
* _argo0
= 0;
785 char *_kwnames
[] = { "self", NULL
};
788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_toggleState_get",_kwnames
,&_argo0
))
791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
798 wxPy_BEGIN_ALLOW_THREADS
;
799 _result
= (bool )wxToolBarTool_m_toggleState_get(_arg0
);
801 wxPy_END_ALLOW_THREADS
;
802 } _resultobj
= Py_BuildValue("i",_result
);
806 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
807 static PyObject
*_wrap_wxToolBarTool_m_isToggle_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
810 wxToolBarTool
* _arg0
;
812 PyObject
* _argo0
= 0;
814 char *_kwnames
[] = { "self","m_isToggle", NULL
};
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_isToggle_set",_kwnames
,&_argo0
,&tempbool1
))
820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
826 _arg1
= (bool ) tempbool1
;
828 wxPy_BEGIN_ALLOW_THREADS
;
829 _result
= (bool )wxToolBarTool_m_isToggle_set(_arg0
,_arg1
);
831 wxPy_END_ALLOW_THREADS
;
832 } _resultobj
= Py_BuildValue("i",_result
);
836 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
837 static PyObject
*_wrap_wxToolBarTool_m_isToggle_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
838 PyObject
* _resultobj
;
840 wxToolBarTool
* _arg0
;
841 PyObject
* _argo0
= 0;
842 char *_kwnames
[] = { "self", NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_isToggle_get",_kwnames
,&_argo0
))
848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
855 wxPy_BEGIN_ALLOW_THREADS
;
856 _result
= (bool )wxToolBarTool_m_isToggle_get(_arg0
);
858 wxPy_END_ALLOW_THREADS
;
859 } _resultobj
= Py_BuildValue("i",_result
);
863 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
864 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
865 PyObject
* _resultobj
;
867 wxToolBarTool
* _arg0
;
869 PyObject
* _argo0
= 0;
871 char *_kwnames
[] = { "self","m_deleteSecondBitmap", NULL
};
874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_deleteSecondBitmap_set",_kwnames
,&_argo0
,&tempbool1
))
877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
883 _arg1
= (bool ) tempbool1
;
885 wxPy_BEGIN_ALLOW_THREADS
;
886 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0
,_arg1
);
888 wxPy_END_ALLOW_THREADS
;
889 } _resultobj
= Py_BuildValue("i",_result
);
893 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
894 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
895 PyObject
* _resultobj
;
897 wxToolBarTool
* _arg0
;
898 PyObject
* _argo0
= 0;
899 char *_kwnames
[] = { "self", NULL
};
902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_deleteSecondBitmap_get",_kwnames
,&_argo0
))
905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
912 wxPy_BEGIN_ALLOW_THREADS
;
913 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0
);
915 wxPy_END_ALLOW_THREADS
;
916 } _resultobj
= Py_BuildValue("i",_result
);
920 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
921 static PyObject
*_wrap_wxToolBarTool_m_enabled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
922 PyObject
* _resultobj
;
924 wxToolBarTool
* _arg0
;
926 PyObject
* _argo0
= 0;
928 char *_kwnames
[] = { "self","m_enabled", NULL
};
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_enabled_set",_kwnames
,&_argo0
,&tempbool1
))
934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
940 _arg1
= (bool ) tempbool1
;
942 wxPy_BEGIN_ALLOW_THREADS
;
943 _result
= (bool )wxToolBarTool_m_enabled_set(_arg0
,_arg1
);
945 wxPy_END_ALLOW_THREADS
;
946 } _resultobj
= Py_BuildValue("i",_result
);
950 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
951 static PyObject
*_wrap_wxToolBarTool_m_enabled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
954 wxToolBarTool
* _arg0
;
955 PyObject
* _argo0
= 0;
956 char *_kwnames
[] = { "self", NULL
};
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_enabled_get",_kwnames
,&_argo0
))
962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
969 wxPy_BEGIN_ALLOW_THREADS
;
970 _result
= (bool )wxToolBarTool_m_enabled_get(_arg0
);
972 wxPy_END_ALLOW_THREADS
;
973 } _resultobj
= Py_BuildValue("i",_result
);
977 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
978 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
981 wxToolBarTool
* _arg0
;
983 PyObject
* _argo0
= 0;
984 PyObject
* _argo1
= 0;
985 char *_kwnames
[] = { "self","m_bitmap1", NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_bitmap1_set",_kwnames
,&_argo0
,&_argo1
))
992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
1006 wxPy_BEGIN_ALLOW_THREADS
;
1007 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_set(_arg0
,_arg1
);
1009 wxPy_END_ALLOW_THREADS
;
1011 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1012 _resultobj
= Py_BuildValue("s",_ptemp
);
1015 _resultobj
= Py_None
;
1020 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
1021 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1022 PyObject
* _resultobj
;
1024 wxToolBarTool
* _arg0
;
1025 PyObject
* _argo0
= 0;
1026 char *_kwnames
[] = { "self", NULL
};
1030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_bitmap1_get",_kwnames
,&_argo0
))
1033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1040 wxPy_BEGIN_ALLOW_THREADS
;
1041 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_get(_arg0
);
1043 wxPy_END_ALLOW_THREADS
;
1045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1046 _resultobj
= Py_BuildValue("s",_ptemp
);
1049 _resultobj
= Py_None
;
1054 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1055 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1058 wxToolBarTool
* _arg0
;
1060 PyObject
* _argo0
= 0;
1061 PyObject
* _argo1
= 0;
1062 char *_kwnames
[] = { "self","m_bitmap2", NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_bitmap2_set",_kwnames
,&_argo0
,&_argo1
))
1069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1076 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1083 wxPy_BEGIN_ALLOW_THREADS
;
1084 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_set(_arg0
,_arg1
);
1086 wxPy_END_ALLOW_THREADS
;
1088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1089 _resultobj
= Py_BuildValue("s",_ptemp
);
1092 _resultobj
= Py_None
;
1097 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1098 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1101 wxToolBarTool
* _arg0
;
1102 PyObject
* _argo0
= 0;
1103 char *_kwnames
[] = { "self", NULL
};
1107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_bitmap2_get",_kwnames
,&_argo0
))
1110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1117 wxPy_BEGIN_ALLOW_THREADS
;
1118 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_get(_arg0
);
1120 wxPy_END_ALLOW_THREADS
;
1122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1123 _resultobj
= Py_BuildValue("s",_ptemp
);
1126 _resultobj
= Py_None
;
1131 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1132 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
* _resultobj
;
1135 wxToolBarTool
* _arg0
;
1137 PyObject
* _argo0
= 0;
1139 char *_kwnames
[] = { "self","m_isMenuCommand", NULL
};
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_isMenuCommand_set",_kwnames
,&_argo0
,&tempbool1
))
1145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1151 _arg1
= (bool ) tempbool1
;
1153 wxPy_BEGIN_ALLOW_THREADS
;
1154 _result
= (bool )wxToolBarTool_m_isMenuCommand_set(_arg0
,_arg1
);
1156 wxPy_END_ALLOW_THREADS
;
1157 } _resultobj
= Py_BuildValue("i",_result
);
1161 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1162 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
* _resultobj
;
1165 wxToolBarTool
* _arg0
;
1166 PyObject
* _argo0
= 0;
1167 char *_kwnames
[] = { "self", NULL
};
1170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_isMenuCommand_get",_kwnames
,&_argo0
))
1173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 _result
= (bool )wxToolBarTool_m_isMenuCommand_get(_arg0
);
1183 wxPy_END_ALLOW_THREADS
;
1184 } _resultobj
= Py_BuildValue("i",_result
);
1188 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1189 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1192 wxToolBarTool
* _arg0
;
1194 PyObject
* _argo0
= 0;
1195 PyObject
* _obj1
= 0;
1196 char *_kwnames
[] = { "self","m_shortHelpString", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_shortHelpString_set",_kwnames
,&_argo0
,&_obj1
))
1202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1209 if (!PyString_Check(_obj1
)) {
1210 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1213 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_set(_arg0
,_arg1
);
1219 wxPy_END_ALLOW_THREADS
;
1221 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1230 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1231 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
* _resultobj
;
1234 wxToolBarTool
* _arg0
;
1235 PyObject
* _argo0
= 0;
1236 char *_kwnames
[] = { "self", NULL
};
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_shortHelpString_get",_kwnames
,&_argo0
))
1242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1249 wxPy_BEGIN_ALLOW_THREADS
;
1250 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_get(_arg0
);
1252 wxPy_END_ALLOW_THREADS
;
1254 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1259 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1260 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1263 wxToolBarTool
* _arg0
;
1265 PyObject
* _argo0
= 0;
1266 PyObject
* _obj1
= 0;
1267 char *_kwnames
[] = { "self","m_longHelpString", NULL
};
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_longHelpString_set",_kwnames
,&_argo0
,&_obj1
))
1273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1280 if (!PyString_Check(_obj1
)) {
1281 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1284 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1287 wxPy_BEGIN_ALLOW_THREADS
;
1288 _result
= (wxString
*)wxToolBarTool_m_longHelpString_set(_arg0
,_arg1
);
1290 wxPy_END_ALLOW_THREADS
;
1292 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1301 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1302 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1303 PyObject
* _resultobj
;
1305 wxToolBarTool
* _arg0
;
1306 PyObject
* _argo0
= 0;
1307 char *_kwnames
[] = { "self", NULL
};
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_longHelpString_get",_kwnames
,&_argo0
))
1313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1320 wxPy_BEGIN_ALLOW_THREADS
;
1321 _result
= (wxString
*)wxToolBarTool_m_longHelpString_get(_arg0
);
1323 wxPy_END_ALLOW_THREADS
;
1325 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1330 static void *SwigwxToolBarTowxControl(void *ptr
) {
1333 src
= (wxToolBar
*) ptr
;
1334 dest
= (wxControl
*) src
;
1335 return (void *) dest
;
1338 static void *SwigwxToolBarTowxWindow(void *ptr
) {
1341 src
= (wxToolBar
*) ptr
;
1342 dest
= (wxWindow
*) src
;
1343 return (void *) dest
;
1346 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
1349 src
= (wxToolBar
*) ptr
;
1350 dest
= (wxEvtHandler
*) src
;
1351 return (void *) dest
;
1354 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1355 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1357 wxToolBar
* _result
;
1360 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1361 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1362 long _arg4
= (long ) wxTB_HORIZONTAL
|wxNO_BORDER
;
1363 char * _arg5
= (char *) "toolBar";
1364 PyObject
* _argo0
= 0;
1365 PyObject
* _argo2
= 0;
1366 PyObject
* _argo3
= 0;
1367 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1381 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p.");
1388 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1389 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p.");
1395 wxPy_BEGIN_ALLOW_THREADS
;
1396 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1398 wxPy_END_ALLOW_THREADS
;
1400 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
1401 _resultobj
= Py_BuildValue("s",_ptemp
);
1404 _resultobj
= Py_None
;
1409 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1410 static PyObject
*_wrap_wxToolBar_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1413 PyObject
* _argo0
= 0;
1414 char *_kwnames
[] = { "self", NULL
};
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_AddSeparator",_kwnames
,&_argo0
))
1420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1427 wxPy_BEGIN_ALLOW_THREADS
;
1428 wxToolBar_AddSeparator(_arg0
);
1430 wxPy_END_ALLOW_THREADS
;
1431 } Py_INCREF(Py_None
);
1432 _resultobj
= Py_None
;
1436 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
) {
1437 return self
->AddTool(toolIndex
, bitmap1
, bitmap2
,
1438 isToggle
, xPos
, yPos
, NULL
,
1439 shortHelpString
, longHelpString
);
1441 static PyObject
*_wrap_wxToolBar_AddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1443 wxToolBarTool
* _result
;
1447 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1448 int _arg4
= (int ) FALSE
;
1449 long _arg5
= (long ) -1;
1450 long _arg6
= (long ) -1;
1451 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1452 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1453 PyObject
* _argo0
= 0;
1454 PyObject
* _argo2
= 0;
1455 PyObject
* _argo3
= 0;
1456 PyObject
* _obj7
= 0;
1457 PyObject
* _obj8
= 0;
1458 char *_kwnames
[] = { "self","toolIndex","bitmap1","bitmap2","isToggle","xPos","yPos","shortHelpString","longHelpString", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OillOO:wxToolBar_AddTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
,&_obj8
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1472 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1473 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1479 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1487 if (!PyString_Check(_obj7
)) {
1488 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1491 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1495 if (!PyString_Check(_obj8
)) {
1496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1499 _arg8
= new wxString(PyString_AsString(_obj8
), PyString_Size(_obj8
));
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (wxToolBarTool
*)wxToolBar_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1505 wxPy_END_ALLOW_THREADS
;
1507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1511 _resultobj
= Py_None
;
1524 static wxToolBarTool
* wxToolBar_AddSimpleTool(wxToolBar
*self
,int toolIndex
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1525 return self
->AddTool(toolIndex
, bitmap
, wxNullBitmap
,
1526 FALSE
, -1, -1, NULL
,
1527 shortHelpString
, longHelpString
);
1529 static PyObject
*_wrap_wxToolBar_AddSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1531 wxToolBarTool
* _result
;
1535 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1536 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1537 PyObject
* _argo0
= 0;
1538 PyObject
* _argo2
= 0;
1539 PyObject
* _obj3
= 0;
1540 PyObject
* _obj4
= 0;
1541 char *_kwnames
[] = { "self","toolIndex","bitmap","shortHelpString","longHelpString", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OO:wxToolBar_AddSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1555 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1563 if (!PyString_Check(_obj3
)) {
1564 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1567 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1571 if (!PyString_Check(_obj4
)) {
1572 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1575 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= (wxToolBarTool
*)wxToolBar_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
);
1581 wxPy_END_ALLOW_THREADS
;
1583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1584 _resultobj
= Py_BuildValue("s",_ptemp
);
1587 _resultobj
= Py_None
;
1600 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1601 static PyObject
*_wrap_wxToolBar_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1606 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self","toolIndex","enable", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1620 _arg2
= (bool ) tempbool2
;
1622 wxPy_BEGIN_ALLOW_THREADS
;
1623 wxToolBar_EnableTool(_arg0
,_arg1
,_arg2
);
1625 wxPy_END_ALLOW_THREADS
;
1626 } Py_INCREF(Py_None
);
1627 _resultobj
= Py_None
;
1631 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
1632 static PyObject
*_wrap_wxToolBar_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1637 PyObject
* _argo0
= 0;
1638 char *_kwnames
[] = { "self","toolIndex", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))
1644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
1651 wxPy_BEGIN_ALLOW_THREADS
;
1652 _result
= (bool )wxToolBar_GetToolEnabled(_arg0
,_arg1
);
1654 wxPy_END_ALLOW_THREADS
;
1655 } _resultobj
= Py_BuildValue("i",_result
);
1659 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
1660 static PyObject
*_wrap_wxToolBar_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
* _resultobj
;
1665 PyObject
* _argo0
= 0;
1666 char *_kwnames
[] = { "self","toolIndex", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 _result
= new wxString (wxToolBar_GetToolLongHelp(_arg0
,_arg1
));
1682 wxPy_END_ALLOW_THREADS
;
1684 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1692 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
1693 static PyObject
*_wrap_wxToolBar_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1694 PyObject
* _resultobj
;
1697 PyObject
* _argo0
= 0;
1698 char *_kwnames
[] = { "self", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolPacking",_kwnames
,&_argo0
))
1704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
1711 wxPy_BEGIN_ALLOW_THREADS
;
1712 _result
= (int )wxToolBar_GetToolPacking(_arg0
);
1714 wxPy_END_ALLOW_THREADS
;
1715 } _resultobj
= Py_BuildValue("i",_result
);
1719 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
1720 static PyObject
*_wrap_wxToolBar_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1724 PyObject
* _argo0
= 0;
1725 char *_kwnames
[] = { "self", NULL
};
1728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolSeparation",_kwnames
,&_argo0
))
1731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
1738 wxPy_BEGIN_ALLOW_THREADS
;
1739 _result
= (int )wxToolBar_GetToolSeparation(_arg0
);
1741 wxPy_END_ALLOW_THREADS
;
1742 } _resultobj
= Py_BuildValue("i",_result
);
1746 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
1747 static PyObject
*_wrap_wxToolBar_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1752 PyObject
* _argo0
= 0;
1753 char *_kwnames
[] = { "self","toolIndex", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))
1759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
1766 wxPy_BEGIN_ALLOW_THREADS
;
1767 _result
= new wxString (wxToolBar_GetToolShortHelp(_arg0
,_arg1
));
1769 wxPy_END_ALLOW_THREADS
;
1771 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1779 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
1780 static PyObject
*_wrap_wxToolBar_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1785 PyObject
* _argo0
= 0;
1786 char *_kwnames
[] = { "self","toolIndex", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolState",_kwnames
,&_argo0
,&_arg1
))
1792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
1799 wxPy_BEGIN_ALLOW_THREADS
;
1800 _result
= (bool )wxToolBar_GetToolState(_arg0
,_arg1
);
1802 wxPy_END_ALLOW_THREADS
;
1803 } _resultobj
= Py_BuildValue("i",_result
);
1807 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
1808 static PyObject
*_wrap_wxToolBar_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
* _resultobj
;
1812 PyObject
* _argo0
= 0;
1813 char *_kwnames
[] = { "self", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_Realize",_kwnames
,&_argo0
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
1826 wxPy_BEGIN_ALLOW_THREADS
;
1827 _result
= (bool )wxToolBar_Realize(_arg0
);
1829 wxPy_END_ALLOW_THREADS
;
1830 } _resultobj
= Py_BuildValue("i",_result
);
1834 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
1835 static PyObject
*_wrap_wxToolBar_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1840 PyObject
* _argo0
= 0;
1841 PyObject
* _obj2
= 0;
1842 char *_kwnames
[] = { "self","toolIndex","helpString", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBar_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
1855 if (!PyString_Check(_obj2
)) {
1856 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1859 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1862 wxPy_BEGIN_ALLOW_THREADS
;
1863 wxToolBar_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
1865 wxPy_END_ALLOW_THREADS
;
1866 } Py_INCREF(Py_None
);
1867 _resultobj
= Py_None
;
1875 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
1876 static PyObject
*_wrap_wxToolBar_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1881 PyObject
* _argo0
= 0;
1882 PyObject
* _obj2
= 0;
1883 char *_kwnames
[] = { "self","toolIndex","helpString", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBar_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
1896 if (!PyString_Check(_obj2
)) {
1897 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1900 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1903 wxPy_BEGIN_ALLOW_THREADS
;
1904 wxToolBar_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
1906 wxPy_END_ALLOW_THREADS
;
1907 } Py_INCREF(Py_None
);
1908 _resultobj
= Py_None
;
1916 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
1917 static PyObject
*_wrap_wxToolBar_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1921 PyObject
* _argo0
= 0;
1922 PyObject
* _argo1
= 0;
1923 char *_kwnames
[] = { "self","size", NULL
};
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBar_SetMargins",_kwnames
,&_argo0
,&_argo1
))
1929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
1936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
1938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetMargins. Expected _wxSize_p.");
1943 wxPy_BEGIN_ALLOW_THREADS
;
1944 wxToolBar_SetMargins(_arg0
,*_arg1
);
1946 wxPy_END_ALLOW_THREADS
;
1947 } Py_INCREF(Py_None
);
1948 _resultobj
= Py_None
;
1952 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
1953 static PyObject
*_wrap_wxToolBar_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1957 PyObject
* _argo0
= 0;
1958 char *_kwnames
[] = { "self","packing", NULL
};
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))
1964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
1971 wxPy_BEGIN_ALLOW_THREADS
;
1972 wxToolBar_SetToolPacking(_arg0
,_arg1
);
1974 wxPy_END_ALLOW_THREADS
;
1975 } Py_INCREF(Py_None
);
1976 _resultobj
= Py_None
;
1980 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
1981 static PyObject
*_wrap_wxToolBar_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1985 PyObject
* _argo0
= 0;
1986 char *_kwnames
[] = { "self","separation", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
1999 wxPy_BEGIN_ALLOW_THREADS
;
2000 wxToolBar_SetToolSeparation(_arg0
,_arg1
);
2002 wxPy_END_ALLOW_THREADS
;
2003 } Py_INCREF(Py_None
);
2004 _resultobj
= Py_None
;
2008 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2009 static PyObject
*_wrap_wxToolBar_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
* _resultobj
;
2014 PyObject
* _argo0
= 0;
2016 char *_kwnames
[] = { "self","toolIndex","toggle", NULL
};
2019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
2028 _arg2
= (bool ) tempbool2
;
2030 wxPy_BEGIN_ALLOW_THREADS
;
2031 wxToolBar_ToggleTool(_arg0
,_arg1
,_arg2
);
2033 wxPy_END_ALLOW_THREADS
;
2034 } Py_INCREF(Py_None
);
2035 _resultobj
= Py_None
;
2039 static PyMethodDef stattoolcMethods
[] = {
2040 { "wxToolBar_ToggleTool", (PyCFunction
) _wrap_wxToolBar_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
2041 { "wxToolBar_SetToolSeparation", (PyCFunction
) _wrap_wxToolBar_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
2042 { "wxToolBar_SetToolPacking", (PyCFunction
) _wrap_wxToolBar_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
2043 { "wxToolBar_SetMargins", (PyCFunction
) _wrap_wxToolBar_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
2044 { "wxToolBar_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBar_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
2045 { "wxToolBar_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBar_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
2046 { "wxToolBar_Realize", (PyCFunction
) _wrap_wxToolBar_Realize
, METH_VARARGS
| METH_KEYWORDS
},
2047 { "wxToolBar_GetToolState", (PyCFunction
) _wrap_wxToolBar_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
2048 { "wxToolBar_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBar_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
2049 { "wxToolBar_GetToolSeparation", (PyCFunction
) _wrap_wxToolBar_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
2050 { "wxToolBar_GetToolPacking", (PyCFunction
) _wrap_wxToolBar_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
2051 { "wxToolBar_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBar_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
2052 { "wxToolBar_GetToolEnabled", (PyCFunction
) _wrap_wxToolBar_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
2053 { "wxToolBar_EnableTool", (PyCFunction
) _wrap_wxToolBar_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
2054 { "wxToolBar_AddSimpleTool", (PyCFunction
) _wrap_wxToolBar_AddSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
2055 { "wxToolBar_AddTool", (PyCFunction
) _wrap_wxToolBar_AddTool
, METH_VARARGS
| METH_KEYWORDS
},
2056 { "wxToolBar_AddSeparator", (PyCFunction
) _wrap_wxToolBar_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
2057 { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2058 { "wxToolBarTool_m_longHelpString_get", (PyCFunction
) _wrap_wxToolBarTool_m_longHelpString_get
, METH_VARARGS
| METH_KEYWORDS
},
2059 { "wxToolBarTool_m_longHelpString_set", (PyCFunction
) _wrap_wxToolBarTool_m_longHelpString_set
, METH_VARARGS
| METH_KEYWORDS
},
2060 { "wxToolBarTool_m_shortHelpString_get", (PyCFunction
) _wrap_wxToolBarTool_m_shortHelpString_get
, METH_VARARGS
| METH_KEYWORDS
},
2061 { "wxToolBarTool_m_shortHelpString_set", (PyCFunction
) _wrap_wxToolBarTool_m_shortHelpString_set
, METH_VARARGS
| METH_KEYWORDS
},
2062 { "wxToolBarTool_m_isMenuCommand_get", (PyCFunction
) _wrap_wxToolBarTool_m_isMenuCommand_get
, METH_VARARGS
| METH_KEYWORDS
},
2063 { "wxToolBarTool_m_isMenuCommand_set", (PyCFunction
) _wrap_wxToolBarTool_m_isMenuCommand_set
, METH_VARARGS
| METH_KEYWORDS
},
2064 { "wxToolBarTool_m_bitmap2_get", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap2_get
, METH_VARARGS
| METH_KEYWORDS
},
2065 { "wxToolBarTool_m_bitmap2_set", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap2_set
, METH_VARARGS
| METH_KEYWORDS
},
2066 { "wxToolBarTool_m_bitmap1_get", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap1_get
, METH_VARARGS
| METH_KEYWORDS
},
2067 { "wxToolBarTool_m_bitmap1_set", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap1_set
, METH_VARARGS
| METH_KEYWORDS
},
2068 { "wxToolBarTool_m_enabled_get", (PyCFunction
) _wrap_wxToolBarTool_m_enabled_get
, METH_VARARGS
| METH_KEYWORDS
},
2069 { "wxToolBarTool_m_enabled_set", (PyCFunction
) _wrap_wxToolBarTool_m_enabled_set
, METH_VARARGS
| METH_KEYWORDS
},
2070 { "wxToolBarTool_m_deleteSecondBitmap_get", (PyCFunction
) _wrap_wxToolBarTool_m_deleteSecondBitmap_get
, METH_VARARGS
| METH_KEYWORDS
},
2071 { "wxToolBarTool_m_deleteSecondBitmap_set", (PyCFunction
) _wrap_wxToolBarTool_m_deleteSecondBitmap_set
, METH_VARARGS
| METH_KEYWORDS
},
2072 { "wxToolBarTool_m_isToggle_get", (PyCFunction
) _wrap_wxToolBarTool_m_isToggle_get
, METH_VARARGS
| METH_KEYWORDS
},
2073 { "wxToolBarTool_m_isToggle_set", (PyCFunction
) _wrap_wxToolBarTool_m_isToggle_set
, METH_VARARGS
| METH_KEYWORDS
},
2074 { "wxToolBarTool_m_toggleState_get", (PyCFunction
) _wrap_wxToolBarTool_m_toggleState_get
, METH_VARARGS
| METH_KEYWORDS
},
2075 { "wxToolBarTool_m_toggleState_set", (PyCFunction
) _wrap_wxToolBarTool_m_toggleState_set
, METH_VARARGS
| METH_KEYWORDS
},
2076 { "wxToolBarTool_m_index_get", (PyCFunction
) _wrap_wxToolBarTool_m_index_get
, METH_VARARGS
| METH_KEYWORDS
},
2077 { "wxToolBarTool_m_index_set", (PyCFunction
) _wrap_wxToolBarTool_m_index_set
, METH_VARARGS
| METH_KEYWORDS
},
2078 { "wxToolBarTool_m_clientData_get", (PyCFunction
) _wrap_wxToolBarTool_m_clientData_get
, METH_VARARGS
| METH_KEYWORDS
},
2079 { "wxToolBarTool_m_clientData_set", (PyCFunction
) _wrap_wxToolBarTool_m_clientData_set
, METH_VARARGS
| METH_KEYWORDS
},
2080 { "wxToolBarTool_m_toolStyle_get", (PyCFunction
) _wrap_wxToolBarTool_m_toolStyle_get
, METH_VARARGS
| METH_KEYWORDS
},
2081 { "wxToolBarTool_m_toolStyle_set", (PyCFunction
) _wrap_wxToolBarTool_m_toolStyle_set
, METH_VARARGS
| METH_KEYWORDS
},
2082 { "delete_wxToolBarTool", (PyCFunction
) _wrap_delete_wxToolBarTool
, METH_VARARGS
| METH_KEYWORDS
},
2083 { "new_wxToolBarTool", (PyCFunction
) _wrap_new_wxToolBarTool
, METH_VARARGS
| METH_KEYWORDS
},
2084 { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2085 { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2086 { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
2087 { "wxStatusBar_InitColours", (PyCFunction
) _wrap_wxStatusBar_InitColours
, METH_VARARGS
| METH_KEYWORDS
},
2088 { "wxStatusBar_DrawFieldText", (PyCFunction
) _wrap_wxStatusBar_DrawFieldText
, METH_VARARGS
| METH_KEYWORDS
},
2089 { "wxStatusBar_DrawField", (PyCFunction
) _wrap_wxStatusBar_DrawField
, METH_VARARGS
| METH_KEYWORDS
},
2090 { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2091 { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
2092 { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
2093 { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2100 * This table is used by the pointer type-checker
2102 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2103 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2104 { "_wxEvent","_class_wxEvent",0},
2105 { "_class_wxActivateEvent","_wxActivateEvent",0},
2106 { "_signed_long","_long",0},
2107 { "_wxMenuEvent","_class_wxMenuEvent",0},
2108 { "_wxPrintQuality","_int",0},
2109 { "_wxPrintQuality","_signed_int",0},
2110 { "_wxPrintQuality","_unsigned_int",0},
2111 { "_wxPrintQuality","_wxWindowID",0},
2112 { "_wxPrintQuality","_uint",0},
2113 { "_wxPrintQuality","_EBool",0},
2114 { "_wxPrintQuality","_size_t",0},
2115 { "_class_wxRegionIterator","_wxRegionIterator",0},
2116 { "_class_wxMenuBar","_wxMenuBar",0},
2117 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2118 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2119 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2120 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2121 { "_class_wxEvtHandler","_wxEvtHandler",0},
2122 { "_wxPaintEvent","_class_wxPaintEvent",0},
2123 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2124 { "_wxCursor","_class_wxCursor",0},
2125 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2126 { "_wxMask","_class_wxMask",0},
2127 { "_wxPen","_class_wxPen",0},
2128 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2129 { "_byte","_unsigned_char",0},
2130 { "_wxStaticBox","_class_wxStaticBox",0},
2131 { "_wxChoice","_class_wxChoice",0},
2132 { "_wxSlider","_class_wxSlider",0},
2133 { "_long","_wxDash",0},
2134 { "_long","_unsigned_long",0},
2135 { "_long","_signed_long",0},
2136 { "_wxImageList","_class_wxImageList",0},
2137 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2138 { "_wxBitmapButton","_class_wxBitmapButton",0},
2139 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2140 { "_class_wxGauge","_wxGauge",0},
2141 { "_wxDC","_class_wxDC",0},
2142 { "_wxSpinEvent","_class_wxSpinEvent",0},
2143 { "_size_t","_wxPrintQuality",0},
2144 { "_size_t","_unsigned_int",0},
2145 { "_size_t","_int",0},
2146 { "_size_t","_wxWindowID",0},
2147 { "_size_t","_uint",0},
2148 { "_class_wxRealPoint","_wxRealPoint",0},
2149 { "_class_wxMenuItem","_wxMenuItem",0},
2150 { "_class_wxPaintEvent","_wxPaintEvent",0},
2151 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2152 { "_class_wxStatusBar","_wxStatusBar",0},
2153 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2154 { "_wxPanel","_class_wxPanel",0},
2155 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2156 { "_wxCheckBox","_class_wxCheckBox",0},
2157 { "_wxPyEvent","_class_wxPyEvent",0},
2158 { "_wxTextCtrl","_class_wxTextCtrl",0},
2159 { "_class_wxMask","_wxMask",0},
2160 { "_class_wxKeyEvent","_wxKeyEvent",0},
2161 { "_wxColour","_class_wxColour",0},
2162 { "_class_wxDialog","_wxDialog",0},
2163 { "_wxIdleEvent","_class_wxIdleEvent",0},
2164 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2165 { "_wxToolBar","_class_wxToolBar",0},
2166 { "_wxStaticLine","_class_wxStaticLine",0},
2167 { "_wxBrush","_class_wxBrush",0},
2168 { "_wxShowEvent","_class_wxShowEvent",0},
2169 { "_uint","_wxPrintQuality",0},
2170 { "_uint","_size_t",0},
2171 { "_uint","_unsigned_int",0},
2172 { "_uint","_int",0},
2173 { "_uint","_wxWindowID",0},
2174 { "_class_wxEvent","_wxEvent",0},
2175 { "_wxCheckListBox","_class_wxCheckListBox",0},
2176 { "_wxRect","_class_wxRect",0},
2177 { "_wxCommandEvent","_class_wxCommandEvent",0},
2178 { "_wxSizeEvent","_class_wxSizeEvent",0},
2179 { "_wxPoint","_class_wxPoint",0},
2180 { "_class_wxButton","_wxButton",0},
2181 { "_wxRadioBox","_class_wxRadioBox",0},
2182 { "_wxBitmap","_class_wxBitmap",0},
2183 { "_wxPyTimer","_class_wxPyTimer",0},
2184 { "_wxWindowDC","_class_wxWindowDC",0},
2185 { "_wxScrollBar","_class_wxScrollBar",0},
2186 { "_wxSpinButton","_class_wxSpinButton",0},
2187 { "_wxToolBarTool","_class_wxToolBarTool",0},
2188 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2189 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2190 { "_class_wxPyEvent","_wxPyEvent",0},
2191 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2192 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2193 { "_class_wxToolBar","_wxToolBar",0},
2194 { "_class_wxStaticLine","_wxStaticLine",0},
2195 { "_wxScrollEvent","_class_wxScrollEvent",0},
2196 { "_EBool","_wxPrintQuality",0},
2197 { "_EBool","_signed_int",0},
2198 { "_EBool","_int",0},
2199 { "_EBool","_wxWindowID",0},
2200 { "_class_wxRegion","_wxRegion",0},
2201 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2202 { "_wxStaticText","_class_wxStaticText",0},
2203 { "_wxFont","_class_wxFont",0},
2204 { "_wxCloseEvent","_class_wxCloseEvent",0},
2205 { "_unsigned_long","_wxDash",0},
2206 { "_unsigned_long","_long",0},
2207 { "_class_wxRect","_wxRect",0},
2208 { "_class_wxDC","_wxDC",0},
2209 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2210 { "_class_wxPyTimer","_wxPyTimer",0},
2211 { "_wxFocusEvent","_class_wxFocusEvent",0},
2212 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2213 { "_class_wxSpinButton","_wxSpinButton",0},
2214 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2215 { "_class_wxPanel","_wxPanel",0},
2216 { "_class_wxCheckBox","_wxCheckBox",0},
2217 { "_wxComboBox","_class_wxComboBox",0},
2218 { "_wxRadioButton","_class_wxRadioButton",0},
2219 { "_signed_int","_wxPrintQuality",0},
2220 { "_signed_int","_EBool",0},
2221 { "_signed_int","_wxWindowID",0},
2222 { "_signed_int","_int",0},
2223 { "_class_wxTextCtrl","_wxTextCtrl",0},
2224 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2225 { "_wxMenu","_class_wxMenu",0},
2226 { "_class_wxMoveEvent","_wxMoveEvent",0},
2227 { "_wxListBox","_class_wxListBox",0},
2228 { "_wxScreenDC","_class_wxScreenDC",0},
2229 { "_WXTYPE","_short",0},
2230 { "_WXTYPE","_signed_short",0},
2231 { "_WXTYPE","_unsigned_short",0},
2232 { "_class_wxBrush","_wxBrush",0},
2233 { "_unsigned_short","_WXTYPE",0},
2234 { "_unsigned_short","_short",0},
2235 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2236 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2237 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2238 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2239 { "_class_wxWindow","_wxWindow",0},
2240 { "_class_wxStaticText","_wxStaticText",0},
2241 { "_class_wxFont","_wxFont",0},
2242 { "_class_wxCloseEvent","_wxCloseEvent",0},
2243 { "_class_wxMenuEvent","_wxMenuEvent",0},
2244 { "_wxClientDC","_class_wxClientDC",0},
2245 { "_wxMouseEvent","_class_wxMouseEvent",0},
2246 { "_class_wxPoint","_wxPoint",0},
2247 { "_wxRealPoint","_class_wxRealPoint",0},
2248 { "_class_wxRadioBox","_wxRadioBox",0},
2249 { "_signed_short","_WXTYPE",0},
2250 { "_signed_short","_short",0},
2251 { "_wxMemoryDC","_class_wxMemoryDC",0},
2252 { "_wxPaintDC","_class_wxPaintDC",0},
2253 { "_class_wxWindowDC","_wxWindowDC",0},
2254 { "_class_wxFocusEvent","_wxFocusEvent",0},
2255 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2256 { "_wxStatusBar","_class_wxStatusBar",0},
2257 { "_class_wxToolBarTool","_wxToolBarTool",0},
2258 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2259 { "_class_wxCursor","_wxCursor",0},
2260 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2261 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2262 { "_unsigned_char","_byte",0},
2263 { "_class_wxMenu","_wxMenu",0},
2264 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2265 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2266 { "_wxControl","_class_wxControl",0},
2267 { "_class_wxListBox","_wxListBox",0},
2268 { "_unsigned_int","_wxPrintQuality",0},
2269 { "_unsigned_int","_size_t",0},
2270 { "_unsigned_int","_uint",0},
2271 { "_unsigned_int","_wxWindowID",0},
2272 { "_unsigned_int","_int",0},
2273 { "_wxIcon","_class_wxIcon",0},
2274 { "_wxDialog","_class_wxDialog",0},
2275 { "_class_wxPen","_wxPen",0},
2276 { "_short","_WXTYPE",0},
2277 { "_short","_unsigned_short",0},
2278 { "_short","_signed_short",0},
2279 { "_class_wxStaticBox","_wxStaticBox",0},
2280 { "_class_wxScrollEvent","_wxScrollEvent",0},
2281 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2282 { "_class_wxChoice","_wxChoice",0},
2283 { "_class_wxSlider","_wxSlider",0},
2284 { "_class_wxImageList","_wxImageList",0},
2285 { "_class_wxBitmapButton","_wxBitmapButton",0},
2286 { "_wxWindowID","_wxPrintQuality",0},
2287 { "_wxWindowID","_size_t",0},
2288 { "_wxWindowID","_EBool",0},
2289 { "_wxWindowID","_uint",0},
2290 { "_wxWindowID","_int",0},
2291 { "_wxWindowID","_signed_int",0},
2292 { "_wxWindowID","_unsigned_int",0},
2293 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2294 { "_int","_wxPrintQuality",0},
2295 { "_int","_size_t",0},
2296 { "_int","_EBool",0},
2297 { "_int","_uint",0},
2298 { "_int","_wxWindowID",0},
2299 { "_int","_unsigned_int",0},
2300 { "_int","_signed_int",0},
2301 { "_class_wxMouseEvent","_wxMouseEvent",0},
2302 { "_class_wxSpinEvent","_wxSpinEvent",0},
2303 { "_wxButton","_class_wxButton",0},
2304 { "_wxSize","_class_wxSize",0},
2305 { "_wxRegionIterator","_class_wxRegionIterator",0},
2306 { "_class_wxPaintDC","_wxPaintDC",0},
2307 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2308 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2309 { "_class_wxComboBox","_wxComboBox",0},
2310 { "_class_wxRadioButton","_wxRadioButton",0},
2311 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2312 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2313 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2314 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2315 { "_class_wxControl","_wxControl",0},
2316 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2317 { "_class_wxIcon","_wxIcon",0},
2318 { "_class_wxColour","_wxColour",0},
2319 { "_class_wxScreenDC","_wxScreenDC",0},
2320 { "_wxPalette","_class_wxPalette",0},
2321 { "_class_wxIdleEvent","_wxIdleEvent",0},
2322 { "_wxEraseEvent","_class_wxEraseEvent",0},
2323 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2324 { "_wxRegion","_class_wxRegion",0},
2325 { "_class_wxShowEvent","_wxShowEvent",0},
2326 { "_wxActivateEvent","_class_wxActivateEvent",0},
2327 { "_wxGauge","_class_wxGauge",0},
2328 { "_class_wxCheckListBox","_wxCheckListBox",0},
2329 { "_class_wxCommandEvent","_wxCommandEvent",0},
2330 { "_class_wxClientDC","_wxClientDC",0},
2331 { "_class_wxSizeEvent","_wxSizeEvent",0},
2332 { "_class_wxSize","_wxSize",0},
2333 { "_class_wxBitmap","_wxBitmap",0},
2334 { "_class_wxMemoryDC","_wxMemoryDC",0},
2335 { "_wxMenuBar","_class_wxMenuBar",0},
2336 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2337 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2338 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2339 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2340 { "_wxEvtHandler","_class_wxEvtHandler",0},
2341 { "_wxMenuItem","_class_wxMenuItem",0},
2342 { "_class_wxScrollBar","_wxScrollBar",0},
2343 { "_wxDash","_unsigned_long",0},
2344 { "_wxDash","_long",0},
2345 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2346 { "_wxKeyEvent","_class_wxKeyEvent",0},
2347 { "_wxMoveEvent","_class_wxMoveEvent",0},
2348 { "_class_wxPalette","_wxPalette",0},
2349 { "_class_wxEraseEvent","_wxEraseEvent",0},
2350 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2351 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2352 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2353 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2354 { "_wxWindow","_class_wxWindow",0},
2357 static PyObject
*SWIG_globals
;
2361 SWIGEXPORT(void) initstattoolc() {
2363 SWIG_globals
= SWIG_newvarlink();
2364 m
= Py_InitModule("stattoolc", stattoolcMethods
);
2365 d
= PyModule_GetDict(m
);
2368 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2369 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);