2 * FILE : msw/stattool.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initstattoolc
54 #define SWIG_name "stattoolc"
57 #include <wx/toolbar.h>
58 #include <wx/tbarsmpl.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
108 extern byte
* byte_LIST_helper(PyObject
* source
);
109 extern int* int_LIST_helper(PyObject
* source
);
110 extern long* long_LIST_helper(PyObject
* source
);
111 extern char** string_LIST_helper(PyObject
* source
);
112 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 extern wxString
* wxString_LIST_helper(PyObject
* source
);
115 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
122 static void *SwigwxStatusBarTowxWindow(void *ptr
) {
125 src
= (wxStatusBar
*) ptr
;
126 dest
= (wxWindow
*) src
;
127 return (void *) dest
;
130 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) {
133 src
= (wxStatusBar
*) ptr
;
134 dest
= (wxEvtHandler
*) src
;
135 return (void *) dest
;
138 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
139 static PyObject
*_wrap_new_wxStatusBar(PyObject
*self
, PyObject
*args
) {
140 PyObject
* _resultobj
;
141 wxStatusBar
* _result
;
144 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
145 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
146 long _arg4
= (long ) wxST_SIZEGRIP
;
147 char * _arg5
= (char *) "statusBar";
148 PyObject
* _argo0
= 0;
149 PyObject
* _argo2
= 0;
150 PyObject
* _argo3
= 0;
154 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxStatusBar",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
164 if (_argo2
== Py_None
) { _arg2
= NULL
; }
165 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStatusBar. Expected _wxPoint_p.");
171 if (_argo3
== Py_None
) { _arg3
= NULL
; }
172 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxStatusBar. Expected _wxSize_p.");
178 wxPy_BEGIN_ALLOW_THREADS
;
179 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
181 wxPy_END_ALLOW_THREADS
;
183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
184 _resultobj
= Py_BuildValue("s",_ptemp
);
187 _resultobj
= Py_None
;
192 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
193 wxRect
* rect
= new wxRect
;
194 self
->GetFieldRect(item
, *rect
);
197 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
) {
198 PyObject
* _resultobj
;
202 PyObject
* _argo0
= 0;
206 if(!PyArg_ParseTuple(args
,"Ol:wxStatusBar_GetFieldRect",&_argo0
,&_arg1
))
209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
216 wxPy_BEGIN_ALLOW_THREADS
;
217 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
219 wxPy_END_ALLOW_THREADS
;
221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
222 _resultobj
= Py_BuildValue("s",_ptemp
);
225 _resultobj
= Py_None
;
230 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
231 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
) {
232 PyObject
* _resultobj
;
235 PyObject
* _argo0
= 0;
238 if(!PyArg_ParseTuple(args
,"O:wxStatusBar_GetFieldsCount",&_argo0
))
241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
248 wxPy_BEGIN_ALLOW_THREADS
;
249 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
251 wxPy_END_ALLOW_THREADS
;
252 } _resultobj
= Py_BuildValue("i",_result
);
256 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
257 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
) {
258 PyObject
* _resultobj
;
261 int _arg1
= (int ) 0;
262 PyObject
* _argo0
= 0;
265 if(!PyArg_ParseTuple(args
,"O|i:wxStatusBar_GetStatusText",&_argo0
,&_arg1
))
268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
275 wxPy_BEGIN_ALLOW_THREADS
;
276 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
278 wxPy_END_ALLOW_THREADS
;
280 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
288 #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
289 static PyObject
*_wrap_wxStatusBar_DrawField(PyObject
*self
, PyObject
*args
) {
290 PyObject
* _resultobj
;
294 PyObject
* _argo0
= 0;
295 PyObject
* _argo1
= 0;
298 if(!PyArg_ParseTuple(args
,"OOi:wxStatusBar_DrawField",&_argo0
,&_argo1
,&_arg2
))
301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
315 wxPy_BEGIN_ALLOW_THREADS
;
316 wxStatusBar_DrawField(_arg0
,*_arg1
,_arg2
);
318 wxPy_END_ALLOW_THREADS
;
319 } Py_INCREF(Py_None
);
320 _resultobj
= Py_None
;
324 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
325 static PyObject
*_wrap_wxStatusBar_DrawFieldText(PyObject
*self
, PyObject
*args
) {
326 PyObject
* _resultobj
;
330 PyObject
* _argo0
= 0;
331 PyObject
* _argo1
= 0;
334 if(!PyArg_ParseTuple(args
,"OOi:wxStatusBar_DrawFieldText",&_argo0
,&_argo1
,&_arg2
))
337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
351 wxPy_BEGIN_ALLOW_THREADS
;
352 wxStatusBar_DrawFieldText(_arg0
,*_arg1
,_arg2
);
354 wxPy_END_ALLOW_THREADS
;
355 } Py_INCREF(Py_None
);
356 _resultobj
= Py_None
;
360 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
361 static PyObject
*_wrap_wxStatusBar_InitColours(PyObject
*self
, PyObject
*args
) {
362 PyObject
* _resultobj
;
364 PyObject
* _argo0
= 0;
367 if(!PyArg_ParseTuple(args
,"O:wxStatusBar_InitColours",&_argo0
))
370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
377 wxPy_BEGIN_ALLOW_THREADS
;
378 wxStatusBar_InitColours(_arg0
);
380 wxPy_END_ALLOW_THREADS
;
381 } Py_INCREF(Py_None
);
382 _resultobj
= Py_None
;
386 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
387 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
) {
388 PyObject
* _resultobj
;
390 int _arg1
= (int ) 1;
391 PyObject
* _argo0
= 0;
394 if(!PyArg_ParseTuple(args
,"O|i:wxStatusBar_SetFieldsCount",&_argo0
,&_arg1
))
397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
404 wxPy_BEGIN_ALLOW_THREADS
;
405 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
407 wxPy_END_ALLOW_THREADS
;
408 } Py_INCREF(Py_None
);
409 _resultobj
= Py_None
;
413 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
414 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
) {
415 PyObject
* _resultobj
;
418 int _arg2
= (int ) 0;
419 PyObject
* _argo0
= 0;
420 PyObject
* _obj1
= 0;
423 if(!PyArg_ParseTuple(args
,"OO|i:wxStatusBar_SetStatusText",&_argo0
,&_obj1
,&_arg2
))
426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
433 if (!PyString_Check(_obj1
)) {
434 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
437 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
440 wxPy_BEGIN_ALLOW_THREADS
;
441 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
443 wxPy_END_ALLOW_THREADS
;
444 } Py_INCREF(Py_None
);
445 _resultobj
= Py_None
;
453 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
454 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
) {
455 PyObject
* _resultobj
;
459 PyObject
* _argo0
= 0;
460 PyObject
* _obj2
= 0;
463 if(!PyArg_ParseTuple(args
,"OO:wxStatusBar_SetStatusWidths",&_argo0
,&_obj2
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
474 _arg2
= int_LIST_helper(_obj2
);
481 _arg1
= PyList_Size(_obj2
);
488 wxPy_BEGIN_ALLOW_THREADS
;
489 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
491 wxPy_END_ALLOW_THREADS
;
492 } Py_INCREF(Py_None
);
493 _resultobj
= Py_None
;
500 #define new_wxToolBarTool() (new wxToolBarTool())
501 static PyObject
*_wrap_new_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
502 PyObject
* _resultobj
;
503 wxToolBarTool
* _result
;
507 if(!PyArg_ParseTuple(args
,":new_wxToolBarTool"))
510 wxPy_BEGIN_ALLOW_THREADS
;
511 _result
= (wxToolBarTool
*)new_wxToolBarTool();
513 wxPy_END_ALLOW_THREADS
;
515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
516 _resultobj
= Py_BuildValue("s",_ptemp
);
519 _resultobj
= Py_None
;
524 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
525 static PyObject
*_wrap_delete_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
526 PyObject
* _resultobj
;
527 wxToolBarTool
* _arg0
;
528 PyObject
* _argo0
= 0;
531 if(!PyArg_ParseTuple(args
,"O:delete_wxToolBarTool",&_argo0
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
541 wxPy_BEGIN_ALLOW_THREADS
;
542 delete_wxToolBarTool(_arg0
);
544 wxPy_END_ALLOW_THREADS
;
545 } Py_INCREF(Py_None
);
546 _resultobj
= Py_None
;
550 #define wxToolBarTool_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
551 static PyObject
*_wrap_wxToolBarTool_SetSize(PyObject
*self
, PyObject
*args
) {
552 PyObject
* _resultobj
;
553 wxToolBarTool
* _arg0
;
556 PyObject
* _argo0
= 0;
559 if(!PyArg_ParseTuple(args
,"Oll:wxToolBarTool_SetSize",&_argo0
,&_arg1
,&_arg2
))
562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_SetSize. Expected _wxToolBarTool_p.");
569 wxPy_BEGIN_ALLOW_THREADS
;
570 wxToolBarTool_SetSize(_arg0
,_arg1
,_arg2
);
572 wxPy_END_ALLOW_THREADS
;
573 } Py_INCREF(Py_None
);
574 _resultobj
= Py_None
;
578 #define wxToolBarTool_GetWidth(_swigobj) (_swigobj->GetWidth())
579 static PyObject
*_wrap_wxToolBarTool_GetWidth(PyObject
*self
, PyObject
*args
) {
580 PyObject
* _resultobj
;
582 wxToolBarTool
* _arg0
;
583 PyObject
* _argo0
= 0;
586 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_GetWidth",&_argo0
))
589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetWidth. Expected _wxToolBarTool_p.");
596 wxPy_BEGIN_ALLOW_THREADS
;
597 _result
= (long )wxToolBarTool_GetWidth(_arg0
);
599 wxPy_END_ALLOW_THREADS
;
600 } _resultobj
= Py_BuildValue("l",_result
);
604 #define wxToolBarTool_GetHeight(_swigobj) (_swigobj->GetHeight())
605 static PyObject
*_wrap_wxToolBarTool_GetHeight(PyObject
*self
, PyObject
*args
) {
606 PyObject
* _resultobj
;
608 wxToolBarTool
* _arg0
;
609 PyObject
* _argo0
= 0;
612 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_GetHeight",&_argo0
))
615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetHeight. Expected _wxToolBarTool_p.");
622 wxPy_BEGIN_ALLOW_THREADS
;
623 _result
= (long )wxToolBarTool_GetHeight(_arg0
);
625 wxPy_END_ALLOW_THREADS
;
626 } _resultobj
= Py_BuildValue("l",_result
);
630 #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
631 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_set(PyObject
*self
, PyObject
*args
) {
632 PyObject
* _resultobj
;
634 wxToolBarTool
* _arg0
;
636 PyObject
* _argo0
= 0;
639 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_toolStyle_set",&_argo0
,&_arg1
))
642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
649 wxPy_BEGIN_ALLOW_THREADS
;
650 _result
= (int )wxToolBarTool_m_toolStyle_set(_arg0
,_arg1
);
652 wxPy_END_ALLOW_THREADS
;
653 } _resultobj
= Py_BuildValue("i",_result
);
657 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
658 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_get(PyObject
*self
, PyObject
*args
) {
659 PyObject
* _resultobj
;
661 wxToolBarTool
* _arg0
;
662 PyObject
* _argo0
= 0;
665 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_toolStyle_get",&_argo0
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
675 wxPy_BEGIN_ALLOW_THREADS
;
676 _result
= (int )wxToolBarTool_m_toolStyle_get(_arg0
);
678 wxPy_END_ALLOW_THREADS
;
679 } _resultobj
= Py_BuildValue("i",_result
);
683 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
684 static PyObject
*_wrap_wxToolBarTool_m_clientData_set(PyObject
*self
, PyObject
*args
) {
685 PyObject
* _resultobj
;
687 wxToolBarTool
* _arg0
;
689 PyObject
* _argo0
= 0;
690 PyObject
* _argo1
= 0;
694 if(!PyArg_ParseTuple(args
,"OO:wxToolBarTool_m_clientData_set",&_argo0
,&_argo1
))
697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
711 wxPy_BEGIN_ALLOW_THREADS
;
712 _result
= (wxObject
*)wxToolBarTool_m_clientData_set(_arg0
,_arg1
);
714 wxPy_END_ALLOW_THREADS
;
716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
717 _resultobj
= Py_BuildValue("s",_ptemp
);
720 _resultobj
= Py_None
;
725 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
726 static PyObject
*_wrap_wxToolBarTool_m_clientData_get(PyObject
*self
, PyObject
*args
) {
727 PyObject
* _resultobj
;
729 wxToolBarTool
* _arg0
;
730 PyObject
* _argo0
= 0;
734 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_clientData_get",&_argo0
))
737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
744 wxPy_BEGIN_ALLOW_THREADS
;
745 _result
= (wxObject
*)wxToolBarTool_m_clientData_get(_arg0
);
747 wxPy_END_ALLOW_THREADS
;
749 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
750 _resultobj
= Py_BuildValue("s",_ptemp
);
753 _resultobj
= Py_None
;
758 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
759 static PyObject
*_wrap_wxToolBarTool_m_index_set(PyObject
*self
, PyObject
*args
) {
760 PyObject
* _resultobj
;
762 wxToolBarTool
* _arg0
;
764 PyObject
* _argo0
= 0;
767 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_index_set",&_argo0
,&_arg1
))
770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
777 wxPy_BEGIN_ALLOW_THREADS
;
778 _result
= (int )wxToolBarTool_m_index_set(_arg0
,_arg1
);
780 wxPy_END_ALLOW_THREADS
;
781 } _resultobj
= Py_BuildValue("i",_result
);
785 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
786 static PyObject
*_wrap_wxToolBarTool_m_index_get(PyObject
*self
, PyObject
*args
) {
787 PyObject
* _resultobj
;
789 wxToolBarTool
* _arg0
;
790 PyObject
* _argo0
= 0;
793 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_index_get",&_argo0
))
796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
803 wxPy_BEGIN_ALLOW_THREADS
;
804 _result
= (int )wxToolBarTool_m_index_get(_arg0
);
806 wxPy_END_ALLOW_THREADS
;
807 } _resultobj
= Py_BuildValue("i",_result
);
811 #define wxToolBarTool_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
812 static PyObject
*_wrap_wxToolBarTool_m_x_set(PyObject
*self
, PyObject
*args
) {
813 PyObject
* _resultobj
;
815 wxToolBarTool
* _arg0
;
817 PyObject
* _argo0
= 0;
820 if(!PyArg_ParseTuple(args
,"Ol:wxToolBarTool_m_x_set",&_argo0
,&_arg1
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_set. Expected _wxToolBarTool_p.");
830 wxPy_BEGIN_ALLOW_THREADS
;
831 _result
= (long )wxToolBarTool_m_x_set(_arg0
,_arg1
);
833 wxPy_END_ALLOW_THREADS
;
834 } _resultobj
= Py_BuildValue("l",_result
);
838 #define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x)
839 static PyObject
*_wrap_wxToolBarTool_m_x_get(PyObject
*self
, PyObject
*args
) {
840 PyObject
* _resultobj
;
842 wxToolBarTool
* _arg0
;
843 PyObject
* _argo0
= 0;
846 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_x_get",&_argo0
))
849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_get. Expected _wxToolBarTool_p.");
856 wxPy_BEGIN_ALLOW_THREADS
;
857 _result
= (long )wxToolBarTool_m_x_get(_arg0
);
859 wxPy_END_ALLOW_THREADS
;
860 } _resultobj
= Py_BuildValue("l",_result
);
864 #define wxToolBarTool_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
865 static PyObject
*_wrap_wxToolBarTool_m_y_set(PyObject
*self
, PyObject
*args
) {
866 PyObject
* _resultobj
;
868 wxToolBarTool
* _arg0
;
870 PyObject
* _argo0
= 0;
873 if(!PyArg_ParseTuple(args
,"Ol:wxToolBarTool_m_y_set",&_argo0
,&_arg1
))
876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_set. Expected _wxToolBarTool_p.");
883 wxPy_BEGIN_ALLOW_THREADS
;
884 _result
= (long )wxToolBarTool_m_y_set(_arg0
,_arg1
);
886 wxPy_END_ALLOW_THREADS
;
887 } _resultobj
= Py_BuildValue("l",_result
);
891 #define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y)
892 static PyObject
*_wrap_wxToolBarTool_m_y_get(PyObject
*self
, PyObject
*args
) {
893 PyObject
* _resultobj
;
895 wxToolBarTool
* _arg0
;
896 PyObject
* _argo0
= 0;
899 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_y_get",&_argo0
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_get. Expected _wxToolBarTool_p.");
909 wxPy_BEGIN_ALLOW_THREADS
;
910 _result
= (long )wxToolBarTool_m_y_get(_arg0
);
912 wxPy_END_ALLOW_THREADS
;
913 } _resultobj
= Py_BuildValue("l",_result
);
917 #define wxToolBarTool_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
918 static PyObject
*_wrap_wxToolBarTool_m_width_set(PyObject
*self
, PyObject
*args
) {
919 PyObject
* _resultobj
;
921 wxToolBarTool
* _arg0
;
923 PyObject
* _argo0
= 0;
926 if(!PyArg_ParseTuple(args
,"Ol:wxToolBarTool_m_width_set",&_argo0
,&_arg1
))
929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_set. Expected _wxToolBarTool_p.");
936 wxPy_BEGIN_ALLOW_THREADS
;
937 _result
= (long )wxToolBarTool_m_width_set(_arg0
,_arg1
);
939 wxPy_END_ALLOW_THREADS
;
940 } _resultobj
= Py_BuildValue("l",_result
);
944 #define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width)
945 static PyObject
*_wrap_wxToolBarTool_m_width_get(PyObject
*self
, PyObject
*args
) {
946 PyObject
* _resultobj
;
948 wxToolBarTool
* _arg0
;
949 PyObject
* _argo0
= 0;
952 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_width_get",&_argo0
))
955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_get. Expected _wxToolBarTool_p.");
962 wxPy_BEGIN_ALLOW_THREADS
;
963 _result
= (long )wxToolBarTool_m_width_get(_arg0
);
965 wxPy_END_ALLOW_THREADS
;
966 } _resultobj
= Py_BuildValue("l",_result
);
970 #define wxToolBarTool_m_height_set(_swigobj,_swigval) (_swigobj->m_height = _swigval,_swigval)
971 static PyObject
*_wrap_wxToolBarTool_m_height_set(PyObject
*self
, PyObject
*args
) {
972 PyObject
* _resultobj
;
974 wxToolBarTool
* _arg0
;
976 PyObject
* _argo0
= 0;
979 if(!PyArg_ParseTuple(args
,"Ol:wxToolBarTool_m_height_set",&_argo0
,&_arg1
))
982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_set. Expected _wxToolBarTool_p.");
989 wxPy_BEGIN_ALLOW_THREADS
;
990 _result
= (long )wxToolBarTool_m_height_set(_arg0
,_arg1
);
992 wxPy_END_ALLOW_THREADS
;
993 } _resultobj
= Py_BuildValue("l",_result
);
997 #define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height)
998 static PyObject
*_wrap_wxToolBarTool_m_height_get(PyObject
*self
, PyObject
*args
) {
999 PyObject
* _resultobj
;
1001 wxToolBarTool
* _arg0
;
1002 PyObject
* _argo0
= 0;
1005 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_height_get",&_argo0
))
1008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_get. Expected _wxToolBarTool_p.");
1015 wxPy_BEGIN_ALLOW_THREADS
;
1016 _result
= (long )wxToolBarTool_m_height_get(_arg0
);
1018 wxPy_END_ALLOW_THREADS
;
1019 } _resultobj
= Py_BuildValue("l",_result
);
1023 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
1024 static PyObject
*_wrap_wxToolBarTool_m_toggleState_set(PyObject
*self
, PyObject
*args
) {
1025 PyObject
* _resultobj
;
1027 wxToolBarTool
* _arg0
;
1029 PyObject
* _argo0
= 0;
1033 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_toggleState_set",&_argo0
,&tempbool1
))
1036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
1042 _arg1
= (bool ) tempbool1
;
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 _result
= (bool )wxToolBarTool_m_toggleState_set(_arg0
,_arg1
);
1047 wxPy_END_ALLOW_THREADS
;
1048 } _resultobj
= Py_BuildValue("i",_result
);
1052 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
1053 static PyObject
*_wrap_wxToolBarTool_m_toggleState_get(PyObject
*self
, PyObject
*args
) {
1054 PyObject
* _resultobj
;
1056 wxToolBarTool
* _arg0
;
1057 PyObject
* _argo0
= 0;
1060 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_toggleState_get",&_argo0
))
1063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
1070 wxPy_BEGIN_ALLOW_THREADS
;
1071 _result
= (bool )wxToolBarTool_m_toggleState_get(_arg0
);
1073 wxPy_END_ALLOW_THREADS
;
1074 } _resultobj
= Py_BuildValue("i",_result
);
1078 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
1079 static PyObject
*_wrap_wxToolBarTool_m_isToggle_set(PyObject
*self
, PyObject
*args
) {
1080 PyObject
* _resultobj
;
1082 wxToolBarTool
* _arg0
;
1084 PyObject
* _argo0
= 0;
1088 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_isToggle_set",&_argo0
,&tempbool1
))
1091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
1097 _arg1
= (bool ) tempbool1
;
1099 wxPy_BEGIN_ALLOW_THREADS
;
1100 _result
= (bool )wxToolBarTool_m_isToggle_set(_arg0
,_arg1
);
1102 wxPy_END_ALLOW_THREADS
;
1103 } _resultobj
= Py_BuildValue("i",_result
);
1107 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
1108 static PyObject
*_wrap_wxToolBarTool_m_isToggle_get(PyObject
*self
, PyObject
*args
) {
1109 PyObject
* _resultobj
;
1111 wxToolBarTool
* _arg0
;
1112 PyObject
* _argo0
= 0;
1115 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_isToggle_get",&_argo0
))
1118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
1125 wxPy_BEGIN_ALLOW_THREADS
;
1126 _result
= (bool )wxToolBarTool_m_isToggle_get(_arg0
);
1128 wxPy_END_ALLOW_THREADS
;
1129 } _resultobj
= Py_BuildValue("i",_result
);
1133 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
1134 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject
*self
, PyObject
*args
) {
1135 PyObject
* _resultobj
;
1137 wxToolBarTool
* _arg0
;
1139 PyObject
* _argo0
= 0;
1143 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_deleteSecondBitmap_set",&_argo0
,&tempbool1
))
1146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
1152 _arg1
= (bool ) tempbool1
;
1154 wxPy_BEGIN_ALLOW_THREADS
;
1155 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0
,_arg1
);
1157 wxPy_END_ALLOW_THREADS
;
1158 } _resultobj
= Py_BuildValue("i",_result
);
1162 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
1163 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject
*self
, PyObject
*args
) {
1164 PyObject
* _resultobj
;
1166 wxToolBarTool
* _arg0
;
1167 PyObject
* _argo0
= 0;
1170 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_deleteSecondBitmap_get",&_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_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0
);
1183 wxPy_END_ALLOW_THREADS
;
1184 } _resultobj
= Py_BuildValue("i",_result
);
1188 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
1189 static PyObject
*_wrap_wxToolBarTool_m_enabled_set(PyObject
*self
, PyObject
*args
) {
1190 PyObject
* _resultobj
;
1192 wxToolBarTool
* _arg0
;
1194 PyObject
* _argo0
= 0;
1198 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_enabled_set",&_argo0
,&tempbool1
))
1201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
1207 _arg1
= (bool ) tempbool1
;
1209 wxPy_BEGIN_ALLOW_THREADS
;
1210 _result
= (bool )wxToolBarTool_m_enabled_set(_arg0
,_arg1
);
1212 wxPy_END_ALLOW_THREADS
;
1213 } _resultobj
= Py_BuildValue("i",_result
);
1217 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
1218 static PyObject
*_wrap_wxToolBarTool_m_enabled_get(PyObject
*self
, PyObject
*args
) {
1219 PyObject
* _resultobj
;
1221 wxToolBarTool
* _arg0
;
1222 PyObject
* _argo0
= 0;
1225 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_enabled_get",&_argo0
))
1228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
1235 wxPy_BEGIN_ALLOW_THREADS
;
1236 _result
= (bool )wxToolBarTool_m_enabled_get(_arg0
);
1238 wxPy_END_ALLOW_THREADS
;
1239 } _resultobj
= Py_BuildValue("i",_result
);
1243 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
1244 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_set(PyObject
*self
, PyObject
*args
) {
1245 PyObject
* _resultobj
;
1247 wxToolBarTool
* _arg0
;
1249 PyObject
* _argo0
= 0;
1250 PyObject
* _argo1
= 0;
1254 if(!PyArg_ParseTuple(args
,"OO:wxToolBarTool_m_bitmap1_set",&_argo0
,&_argo1
))
1257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
1264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
1271 wxPy_BEGIN_ALLOW_THREADS
;
1272 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_set(_arg0
,_arg1
);
1274 wxPy_END_ALLOW_THREADS
;
1276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1277 _resultobj
= Py_BuildValue("s",_ptemp
);
1280 _resultobj
= Py_None
;
1285 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
1286 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_get(PyObject
*self
, PyObject
*args
) {
1287 PyObject
* _resultobj
;
1289 wxToolBarTool
* _arg0
;
1290 PyObject
* _argo0
= 0;
1294 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_bitmap1_get",&_argo0
))
1297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1304 wxPy_BEGIN_ALLOW_THREADS
;
1305 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_get(_arg0
);
1307 wxPy_END_ALLOW_THREADS
;
1309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1310 _resultobj
= Py_BuildValue("s",_ptemp
);
1313 _resultobj
= Py_None
;
1318 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1319 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_set(PyObject
*self
, PyObject
*args
) {
1320 PyObject
* _resultobj
;
1322 wxToolBarTool
* _arg0
;
1324 PyObject
* _argo0
= 0;
1325 PyObject
* _argo1
= 0;
1329 if(!PyArg_ParseTuple(args
,"OO:wxToolBarTool_m_bitmap2_set",&_argo0
,&_argo1
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1339 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1346 wxPy_BEGIN_ALLOW_THREADS
;
1347 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_set(_arg0
,_arg1
);
1349 wxPy_END_ALLOW_THREADS
;
1351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1352 _resultobj
= Py_BuildValue("s",_ptemp
);
1355 _resultobj
= Py_None
;
1360 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1361 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_get(PyObject
*self
, PyObject
*args
) {
1362 PyObject
* _resultobj
;
1364 wxToolBarTool
* _arg0
;
1365 PyObject
* _argo0
= 0;
1369 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_bitmap2_get",&_argo0
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1379 wxPy_BEGIN_ALLOW_THREADS
;
1380 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_get(_arg0
);
1382 wxPy_END_ALLOW_THREADS
;
1384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1385 _resultobj
= Py_BuildValue("s",_ptemp
);
1388 _resultobj
= Py_None
;
1393 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1394 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject
*self
, PyObject
*args
) {
1395 PyObject
* _resultobj
;
1397 wxToolBarTool
* _arg0
;
1399 PyObject
* _argo0
= 0;
1403 if(!PyArg_ParseTuple(args
,"Oi:wxToolBarTool_m_isMenuCommand_set",&_argo0
,&tempbool1
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1412 _arg1
= (bool ) tempbool1
;
1414 wxPy_BEGIN_ALLOW_THREADS
;
1415 _result
= (bool )wxToolBarTool_m_isMenuCommand_set(_arg0
,_arg1
);
1417 wxPy_END_ALLOW_THREADS
;
1418 } _resultobj
= Py_BuildValue("i",_result
);
1422 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1423 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject
*self
, PyObject
*args
) {
1424 PyObject
* _resultobj
;
1426 wxToolBarTool
* _arg0
;
1427 PyObject
* _argo0
= 0;
1430 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_isMenuCommand_get",&_argo0
))
1433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 _result
= (bool )wxToolBarTool_m_isMenuCommand_get(_arg0
);
1443 wxPy_END_ALLOW_THREADS
;
1444 } _resultobj
= Py_BuildValue("i",_result
);
1448 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1449 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_set(PyObject
*self
, PyObject
*args
) {
1450 PyObject
* _resultobj
;
1452 wxToolBarTool
* _arg0
;
1454 PyObject
* _argo0
= 0;
1455 PyObject
* _obj1
= 0;
1458 if(!PyArg_ParseTuple(args
,"OO:wxToolBarTool_m_shortHelpString_set",&_argo0
,&_obj1
))
1461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1468 if (!PyString_Check(_obj1
)) {
1469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1472 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1475 wxPy_BEGIN_ALLOW_THREADS
;
1476 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_set(_arg0
,_arg1
);
1478 wxPy_END_ALLOW_THREADS
;
1480 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1489 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1490 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_get(PyObject
*self
, PyObject
*args
) {
1491 PyObject
* _resultobj
;
1493 wxToolBarTool
* _arg0
;
1494 PyObject
* _argo0
= 0;
1497 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_shortHelpString_get",&_argo0
))
1500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1507 wxPy_BEGIN_ALLOW_THREADS
;
1508 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_get(_arg0
);
1510 wxPy_END_ALLOW_THREADS
;
1512 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1517 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1518 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_set(PyObject
*self
, PyObject
*args
) {
1519 PyObject
* _resultobj
;
1521 wxToolBarTool
* _arg0
;
1523 PyObject
* _argo0
= 0;
1524 PyObject
* _obj1
= 0;
1527 if(!PyArg_ParseTuple(args
,"OO:wxToolBarTool_m_longHelpString_set",&_argo0
,&_obj1
))
1530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1537 if (!PyString_Check(_obj1
)) {
1538 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1541 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1544 wxPy_BEGIN_ALLOW_THREADS
;
1545 _result
= (wxString
*)wxToolBarTool_m_longHelpString_set(_arg0
,_arg1
);
1547 wxPy_END_ALLOW_THREADS
;
1549 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1558 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1559 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_get(PyObject
*self
, PyObject
*args
) {
1560 PyObject
* _resultobj
;
1562 wxToolBarTool
* _arg0
;
1563 PyObject
* _argo0
= 0;
1566 if(!PyArg_ParseTuple(args
,"O:wxToolBarTool_m_longHelpString_get",&_argo0
))
1569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1576 wxPy_BEGIN_ALLOW_THREADS
;
1577 _result
= (wxString
*)wxToolBarTool_m_longHelpString_get(_arg0
);
1579 wxPy_END_ALLOW_THREADS
;
1581 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1586 static void *SwigwxToolBarTowxControl(void *ptr
) {
1589 src
= (wxToolBar
*) ptr
;
1590 dest
= (wxControl
*) src
;
1591 return (void *) dest
;
1594 static void *SwigwxToolBarTowxWindow(void *ptr
) {
1597 src
= (wxToolBar
*) ptr
;
1598 dest
= (wxWindow
*) src
;
1599 return (void *) dest
;
1602 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
1605 src
= (wxToolBar
*) ptr
;
1606 dest
= (wxEvtHandler
*) src
;
1607 return (void *) dest
;
1610 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1611 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
) {
1612 PyObject
* _resultobj
;
1613 wxToolBar
* _result
;
1616 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1617 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1618 long _arg4
= (long ) wxTB_HORIZONTAL
|wxNO_BORDER
;
1619 char * _arg5
= (char *) "toolBar";
1620 PyObject
* _argo0
= 0;
1621 PyObject
* _argo2
= 0;
1622 PyObject
* _argo3
= 0;
1626 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxToolBar",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1636 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1637 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p.");
1643 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p.");
1650 wxPy_BEGIN_ALLOW_THREADS
;
1651 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1653 wxPy_END_ALLOW_THREADS
;
1655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
1656 _resultobj
= Py_BuildValue("s",_ptemp
);
1659 _resultobj
= Py_None
;
1664 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1665 static PyObject
*_wrap_wxToolBar_AddSeparator(PyObject
*self
, PyObject
*args
) {
1666 PyObject
* _resultobj
;
1668 PyObject
* _argo0
= 0;
1671 if(!PyArg_ParseTuple(args
,"O:wxToolBar_AddSeparator",&_argo0
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1681 wxPy_BEGIN_ALLOW_THREADS
;
1682 wxToolBar_AddSeparator(_arg0
);
1684 wxPy_END_ALLOW_THREADS
;
1685 } Py_INCREF(Py_None
);
1686 _resultobj
= Py_None
;
1690 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
) {
1691 return self
->AddTool(toolIndex
, bitmap1
, bitmap2
,
1692 isToggle
, xPos
, yPos
, NULL
,
1693 shortHelpString
, longHelpString
);
1695 static PyObject
*_wrap_wxToolBar_AddTool(PyObject
*self
, PyObject
*args
) {
1696 PyObject
* _resultobj
;
1697 wxToolBarTool
* _result
;
1701 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1702 int _arg4
= (int ) FALSE
;
1703 long _arg5
= (long ) -1;
1704 long _arg6
= (long ) -1;
1705 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1706 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1707 PyObject
* _argo0
= 0;
1708 PyObject
* _argo2
= 0;
1709 PyObject
* _argo3
= 0;
1710 PyObject
* _obj7
= 0;
1711 PyObject
* _obj8
= 0;
1715 if(!PyArg_ParseTuple(args
,"OiO|OillOO:wxToolBar_AddTool",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
,&_obj8
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1725 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1726 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1732 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1740 if (!PyString_Check(_obj7
)) {
1741 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1744 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1748 if (!PyString_Check(_obj8
)) {
1749 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1752 _arg8
= new wxString(PyString_AsString(_obj8
), PyString_Size(_obj8
));
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 _result
= (wxToolBarTool
*)wxToolBar_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1758 wxPy_END_ALLOW_THREADS
;
1760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1761 _resultobj
= Py_BuildValue("s",_ptemp
);
1764 _resultobj
= Py_None
;
1777 static wxToolBarTool
* wxToolBar_AddSimpleTool(wxToolBar
*self
,int toolIndex
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1778 return self
->AddTool(toolIndex
, bitmap
, wxNullBitmap
,
1779 FALSE
, -1, -1, NULL
,
1780 shortHelpString
, longHelpString
);
1782 static PyObject
*_wrap_wxToolBar_AddSimpleTool(PyObject
*self
, PyObject
*args
) {
1783 PyObject
* _resultobj
;
1784 wxToolBarTool
* _result
;
1788 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1789 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1790 PyObject
* _argo0
= 0;
1791 PyObject
* _argo2
= 0;
1792 PyObject
* _obj3
= 0;
1793 PyObject
* _obj4
= 0;
1797 if(!PyArg_ParseTuple(args
,"OiO|OO:wxToolBar_AddSimpleTool",&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
))
1800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1807 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1815 if (!PyString_Check(_obj3
)) {
1816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1819 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1823 if (!PyString_Check(_obj4
)) {
1824 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1827 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 _result
= (wxToolBarTool
*)wxToolBar_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
);
1833 wxPy_END_ALLOW_THREADS
;
1835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1836 _resultobj
= Py_BuildValue("s",_ptemp
);
1839 _resultobj
= Py_None
;
1852 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1853 static PyObject
*_wrap_wxToolBar_EnableTool(PyObject
*self
, PyObject
*args
) {
1854 PyObject
* _resultobj
;
1858 PyObject
* _argo0
= 0;
1862 if(!PyArg_ParseTuple(args
,"Oii:wxToolBar_EnableTool",&_argo0
,&_arg1
,&tempbool2
))
1865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1871 _arg2
= (bool ) tempbool2
;
1873 wxPy_BEGIN_ALLOW_THREADS
;
1874 wxToolBar_EnableTool(_arg0
,_arg1
,_arg2
);
1876 wxPy_END_ALLOW_THREADS
;
1877 } Py_INCREF(Py_None
);
1878 _resultobj
= Py_None
;
1882 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
1883 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
) {
1884 PyObject
* _resultobj
;
1885 wxToolBarTool
* _result
;
1889 PyObject
* _argo0
= 0;
1893 if(!PyArg_ParseTuple(args
,"Off:wxToolBar_FindToolForPosition",&_argo0
,&_arg1
,&_arg2
))
1896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
1903 wxPy_BEGIN_ALLOW_THREADS
;
1904 _result
= (wxToolBarTool
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
1906 wxPy_END_ALLOW_THREADS
;
1908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1909 _resultobj
= Py_BuildValue("s",_ptemp
);
1912 _resultobj
= Py_None
;
1917 #define wxToolBar_GetToolSize(_swigobj) (_swigobj->GetToolSize())
1918 static PyObject
*_wrap_wxToolBar_GetToolSize(PyObject
*self
, PyObject
*args
) {
1919 PyObject
* _resultobj
;
1922 PyObject
* _argo0
= 0;
1926 if(!PyArg_ParseTuple(args
,"O:wxToolBar_GetToolSize",&_argo0
))
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_GetToolSize. Expected _wxToolBar_p.");
1936 wxPy_BEGIN_ALLOW_THREADS
;
1937 _result
= new wxSize (wxToolBar_GetToolSize(_arg0
));
1939 wxPy_END_ALLOW_THREADS
;
1940 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1941 _resultobj
= Py_BuildValue("s",_ptemp
);
1945 #define wxToolBar_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
1946 static PyObject
*_wrap_wxToolBar_GetToolBitmapSize(PyObject
*self
, PyObject
*args
) {
1947 PyObject
* _resultobj
;
1950 PyObject
* _argo0
= 0;
1954 if(!PyArg_ParseTuple(args
,"O:wxToolBar_GetToolBitmapSize",&_argo0
))
1957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolBitmapSize. Expected _wxToolBar_p.");
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 _result
= new wxSize (wxToolBar_GetToolBitmapSize(_arg0
));
1967 wxPy_END_ALLOW_THREADS
;
1968 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1969 _resultobj
= Py_BuildValue("s",_ptemp
);
1973 #define wxToolBar_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
1974 static PyObject
*_wrap_wxToolBar_SetToolBitmapSize(PyObject
*self
, PyObject
*args
) {
1975 PyObject
* _resultobj
;
1978 PyObject
* _argo0
= 0;
1979 PyObject
* _argo1
= 0;
1982 if(!PyArg_ParseTuple(args
,"OO:wxToolBar_SetToolBitmapSize",&_argo0
,&_argo1
))
1985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolBitmapSize. Expected _wxToolBar_p.");
1992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetToolBitmapSize. Expected _wxSize_p.");
1999 wxPy_BEGIN_ALLOW_THREADS
;
2000 wxToolBar_SetToolBitmapSize(_arg0
,*_arg1
);
2002 wxPy_END_ALLOW_THREADS
;
2003 } Py_INCREF(Py_None
);
2004 _resultobj
= Py_None
;
2008 #define wxToolBar_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
2009 static PyObject
*_wrap_wxToolBar_GetMaxSize(PyObject
*self
, PyObject
*args
) {
2010 PyObject
* _resultobj
;
2013 PyObject
* _argo0
= 0;
2017 if(!PyArg_ParseTuple(args
,"O:wxToolBar_GetMaxSize",&_argo0
))
2020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetMaxSize. Expected _wxToolBar_p.");
2027 wxPy_BEGIN_ALLOW_THREADS
;
2028 _result
= new wxSize (wxToolBar_GetMaxSize(_arg0
));
2030 wxPy_END_ALLOW_THREADS
;
2031 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2032 _resultobj
= Py_BuildValue("s",_ptemp
);
2036 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2037 static PyObject
*_wrap_wxToolBar_GetToolEnabled(PyObject
*self
, PyObject
*args
) {
2038 PyObject
* _resultobj
;
2042 PyObject
* _argo0
= 0;
2045 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_GetToolEnabled",&_argo0
,&_arg1
))
2048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
2055 wxPy_BEGIN_ALLOW_THREADS
;
2056 _result
= (bool )wxToolBar_GetToolEnabled(_arg0
,_arg1
);
2058 wxPy_END_ALLOW_THREADS
;
2059 } _resultobj
= Py_BuildValue("i",_result
);
2063 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2064 static PyObject
*_wrap_wxToolBar_GetToolLongHelp(PyObject
*self
, PyObject
*args
) {
2065 PyObject
* _resultobj
;
2069 PyObject
* _argo0
= 0;
2072 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_GetToolLongHelp",&_argo0
,&_arg1
))
2075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
2082 wxPy_BEGIN_ALLOW_THREADS
;
2083 _result
= new wxString (wxToolBar_GetToolLongHelp(_arg0
,_arg1
));
2085 wxPy_END_ALLOW_THREADS
;
2087 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2095 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2096 static PyObject
*_wrap_wxToolBar_GetToolPacking(PyObject
*self
, PyObject
*args
) {
2097 PyObject
* _resultobj
;
2100 PyObject
* _argo0
= 0;
2103 if(!PyArg_ParseTuple(args
,"O:wxToolBar_GetToolPacking",&_argo0
))
2106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
2113 wxPy_BEGIN_ALLOW_THREADS
;
2114 _result
= (int )wxToolBar_GetToolPacking(_arg0
);
2116 wxPy_END_ALLOW_THREADS
;
2117 } _resultobj
= Py_BuildValue("i",_result
);
2121 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2122 static PyObject
*_wrap_wxToolBar_GetToolSeparation(PyObject
*self
, PyObject
*args
) {
2123 PyObject
* _resultobj
;
2126 PyObject
* _argo0
= 0;
2129 if(!PyArg_ParseTuple(args
,"O:wxToolBar_GetToolSeparation",&_argo0
))
2132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
2139 wxPy_BEGIN_ALLOW_THREADS
;
2140 _result
= (int )wxToolBar_GetToolSeparation(_arg0
);
2142 wxPy_END_ALLOW_THREADS
;
2143 } _resultobj
= Py_BuildValue("i",_result
);
2147 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2148 static PyObject
*_wrap_wxToolBar_GetToolShortHelp(PyObject
*self
, PyObject
*args
) {
2149 PyObject
* _resultobj
;
2153 PyObject
* _argo0
= 0;
2156 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_GetToolShortHelp",&_argo0
,&_arg1
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
2166 wxPy_BEGIN_ALLOW_THREADS
;
2167 _result
= new wxString (wxToolBar_GetToolShortHelp(_arg0
,_arg1
));
2169 wxPy_END_ALLOW_THREADS
;
2171 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2179 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2180 static PyObject
*_wrap_wxToolBar_GetToolState(PyObject
*self
, PyObject
*args
) {
2181 PyObject
* _resultobj
;
2185 PyObject
* _argo0
= 0;
2188 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_GetToolState",&_argo0
,&_arg1
))
2191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
2198 wxPy_BEGIN_ALLOW_THREADS
;
2199 _result
= (bool )wxToolBar_GetToolState(_arg0
,_arg1
);
2201 wxPy_END_ALLOW_THREADS
;
2202 } _resultobj
= Py_BuildValue("i",_result
);
2206 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
2207 static PyObject
*_wrap_wxToolBar_Realize(PyObject
*self
, PyObject
*args
) {
2208 PyObject
* _resultobj
;
2211 PyObject
* _argo0
= 0;
2214 if(!PyArg_ParseTuple(args
,"O:wxToolBar_Realize",&_argo0
))
2217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 _result
= (bool )wxToolBar_Realize(_arg0
);
2227 wxPy_END_ALLOW_THREADS
;
2228 } _resultobj
= Py_BuildValue("i",_result
);
2232 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2233 static PyObject
*_wrap_wxToolBar_SetToolLongHelp(PyObject
*self
, PyObject
*args
) {
2234 PyObject
* _resultobj
;
2238 PyObject
* _argo0
= 0;
2239 PyObject
* _obj2
= 0;
2242 if(!PyArg_ParseTuple(args
,"OiO:wxToolBar_SetToolLongHelp",&_argo0
,&_arg1
,&_obj2
))
2245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
2252 if (!PyString_Check(_obj2
)) {
2253 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2256 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 wxToolBar_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
2262 wxPy_END_ALLOW_THREADS
;
2263 } Py_INCREF(Py_None
);
2264 _resultobj
= Py_None
;
2272 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2273 static PyObject
*_wrap_wxToolBar_SetToolShortHelp(PyObject
*self
, PyObject
*args
) {
2274 PyObject
* _resultobj
;
2278 PyObject
* _argo0
= 0;
2279 PyObject
* _obj2
= 0;
2282 if(!PyArg_ParseTuple(args
,"OiO:wxToolBar_SetToolShortHelp",&_argo0
,&_arg1
,&_obj2
))
2285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
2292 if (!PyString_Check(_obj2
)) {
2293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2296 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2299 wxPy_BEGIN_ALLOW_THREADS
;
2300 wxToolBar_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
2302 wxPy_END_ALLOW_THREADS
;
2303 } Py_INCREF(Py_None
);
2304 _resultobj
= Py_None
;
2312 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2313 static PyObject
*_wrap_wxToolBar_SetMargins(PyObject
*self
, PyObject
*args
) {
2314 PyObject
* _resultobj
;
2317 PyObject
* _argo0
= 0;
2318 PyObject
* _argo1
= 0;
2321 if(!PyArg_ParseTuple(args
,"OO:wxToolBar_SetMargins",&_argo0
,&_argo1
))
2324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
2331 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2332 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
2333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetMargins. Expected _wxSize_p.");
2338 wxPy_BEGIN_ALLOW_THREADS
;
2339 wxToolBar_SetMargins(_arg0
,*_arg1
);
2341 wxPy_END_ALLOW_THREADS
;
2342 } Py_INCREF(Py_None
);
2343 _resultobj
= Py_None
;
2347 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2348 static PyObject
*_wrap_wxToolBar_SetToolPacking(PyObject
*self
, PyObject
*args
) {
2349 PyObject
* _resultobj
;
2352 PyObject
* _argo0
= 0;
2355 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_SetToolPacking",&_argo0
,&_arg1
))
2358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 wxToolBar_SetToolPacking(_arg0
,_arg1
);
2368 wxPy_END_ALLOW_THREADS
;
2369 } Py_INCREF(Py_None
);
2370 _resultobj
= Py_None
;
2374 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2375 static PyObject
*_wrap_wxToolBar_SetToolSeparation(PyObject
*self
, PyObject
*args
) {
2376 PyObject
* _resultobj
;
2379 PyObject
* _argo0
= 0;
2382 if(!PyArg_ParseTuple(args
,"Oi:wxToolBar_SetToolSeparation",&_argo0
,&_arg1
))
2385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
2392 wxPy_BEGIN_ALLOW_THREADS
;
2393 wxToolBar_SetToolSeparation(_arg0
,_arg1
);
2395 wxPy_END_ALLOW_THREADS
;
2396 } Py_INCREF(Py_None
);
2397 _resultobj
= Py_None
;
2401 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2402 static PyObject
*_wrap_wxToolBar_ToggleTool(PyObject
*self
, PyObject
*args
) {
2403 PyObject
* _resultobj
;
2407 PyObject
* _argo0
= 0;
2411 if(!PyArg_ParseTuple(args
,"Oii:wxToolBar_ToggleTool",&_argo0
,&_arg1
,&tempbool2
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
2420 _arg2
= (bool ) tempbool2
;
2422 wxPy_BEGIN_ALLOW_THREADS
;
2423 wxToolBar_ToggleTool(_arg0
,_arg1
,_arg2
);
2425 wxPy_END_ALLOW_THREADS
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2431 static PyMethodDef stattoolcMethods
[] = {
2432 { "wxToolBar_ToggleTool", _wrap_wxToolBar_ToggleTool
, METH_VARARGS
},
2433 { "wxToolBar_SetToolSeparation", _wrap_wxToolBar_SetToolSeparation
, METH_VARARGS
},
2434 { "wxToolBar_SetToolPacking", _wrap_wxToolBar_SetToolPacking
, METH_VARARGS
},
2435 { "wxToolBar_SetMargins", _wrap_wxToolBar_SetMargins
, METH_VARARGS
},
2436 { "wxToolBar_SetToolShortHelp", _wrap_wxToolBar_SetToolShortHelp
, METH_VARARGS
},
2437 { "wxToolBar_SetToolLongHelp", _wrap_wxToolBar_SetToolLongHelp
, METH_VARARGS
},
2438 { "wxToolBar_Realize", _wrap_wxToolBar_Realize
, METH_VARARGS
},
2439 { "wxToolBar_GetToolState", _wrap_wxToolBar_GetToolState
, METH_VARARGS
},
2440 { "wxToolBar_GetToolShortHelp", _wrap_wxToolBar_GetToolShortHelp
, METH_VARARGS
},
2441 { "wxToolBar_GetToolSeparation", _wrap_wxToolBar_GetToolSeparation
, METH_VARARGS
},
2442 { "wxToolBar_GetToolPacking", _wrap_wxToolBar_GetToolPacking
, METH_VARARGS
},
2443 { "wxToolBar_GetToolLongHelp", _wrap_wxToolBar_GetToolLongHelp
, METH_VARARGS
},
2444 { "wxToolBar_GetToolEnabled", _wrap_wxToolBar_GetToolEnabled
, METH_VARARGS
},
2445 { "wxToolBar_GetMaxSize", _wrap_wxToolBar_GetMaxSize
, METH_VARARGS
},
2446 { "wxToolBar_SetToolBitmapSize", _wrap_wxToolBar_SetToolBitmapSize
, METH_VARARGS
},
2447 { "wxToolBar_GetToolBitmapSize", _wrap_wxToolBar_GetToolBitmapSize
, METH_VARARGS
},
2448 { "wxToolBar_GetToolSize", _wrap_wxToolBar_GetToolSize
, METH_VARARGS
},
2449 { "wxToolBar_FindToolForPosition", _wrap_wxToolBar_FindToolForPosition
, METH_VARARGS
},
2450 { "wxToolBar_EnableTool", _wrap_wxToolBar_EnableTool
, METH_VARARGS
},
2451 { "wxToolBar_AddSimpleTool", _wrap_wxToolBar_AddSimpleTool
, METH_VARARGS
},
2452 { "wxToolBar_AddTool", _wrap_wxToolBar_AddTool
, METH_VARARGS
},
2453 { "wxToolBar_AddSeparator", _wrap_wxToolBar_AddSeparator
, METH_VARARGS
},
2454 { "new_wxToolBar", _wrap_new_wxToolBar
, METH_VARARGS
},
2455 { "wxToolBarTool_m_longHelpString_get", _wrap_wxToolBarTool_m_longHelpString_get
, METH_VARARGS
},
2456 { "wxToolBarTool_m_longHelpString_set", _wrap_wxToolBarTool_m_longHelpString_set
, METH_VARARGS
},
2457 { "wxToolBarTool_m_shortHelpString_get", _wrap_wxToolBarTool_m_shortHelpString_get
, METH_VARARGS
},
2458 { "wxToolBarTool_m_shortHelpString_set", _wrap_wxToolBarTool_m_shortHelpString_set
, METH_VARARGS
},
2459 { "wxToolBarTool_m_isMenuCommand_get", _wrap_wxToolBarTool_m_isMenuCommand_get
, METH_VARARGS
},
2460 { "wxToolBarTool_m_isMenuCommand_set", _wrap_wxToolBarTool_m_isMenuCommand_set
, METH_VARARGS
},
2461 { "wxToolBarTool_m_bitmap2_get", _wrap_wxToolBarTool_m_bitmap2_get
, METH_VARARGS
},
2462 { "wxToolBarTool_m_bitmap2_set", _wrap_wxToolBarTool_m_bitmap2_set
, METH_VARARGS
},
2463 { "wxToolBarTool_m_bitmap1_get", _wrap_wxToolBarTool_m_bitmap1_get
, METH_VARARGS
},
2464 { "wxToolBarTool_m_bitmap1_set", _wrap_wxToolBarTool_m_bitmap1_set
, METH_VARARGS
},
2465 { "wxToolBarTool_m_enabled_get", _wrap_wxToolBarTool_m_enabled_get
, METH_VARARGS
},
2466 { "wxToolBarTool_m_enabled_set", _wrap_wxToolBarTool_m_enabled_set
, METH_VARARGS
},
2467 { "wxToolBarTool_m_deleteSecondBitmap_get", _wrap_wxToolBarTool_m_deleteSecondBitmap_get
, METH_VARARGS
},
2468 { "wxToolBarTool_m_deleteSecondBitmap_set", _wrap_wxToolBarTool_m_deleteSecondBitmap_set
, METH_VARARGS
},
2469 { "wxToolBarTool_m_isToggle_get", _wrap_wxToolBarTool_m_isToggle_get
, METH_VARARGS
},
2470 { "wxToolBarTool_m_isToggle_set", _wrap_wxToolBarTool_m_isToggle_set
, METH_VARARGS
},
2471 { "wxToolBarTool_m_toggleState_get", _wrap_wxToolBarTool_m_toggleState_get
, METH_VARARGS
},
2472 { "wxToolBarTool_m_toggleState_set", _wrap_wxToolBarTool_m_toggleState_set
, METH_VARARGS
},
2473 { "wxToolBarTool_m_height_get", _wrap_wxToolBarTool_m_height_get
, METH_VARARGS
},
2474 { "wxToolBarTool_m_height_set", _wrap_wxToolBarTool_m_height_set
, METH_VARARGS
},
2475 { "wxToolBarTool_m_width_get", _wrap_wxToolBarTool_m_width_get
, METH_VARARGS
},
2476 { "wxToolBarTool_m_width_set", _wrap_wxToolBarTool_m_width_set
, METH_VARARGS
},
2477 { "wxToolBarTool_m_y_get", _wrap_wxToolBarTool_m_y_get
, METH_VARARGS
},
2478 { "wxToolBarTool_m_y_set", _wrap_wxToolBarTool_m_y_set
, METH_VARARGS
},
2479 { "wxToolBarTool_m_x_get", _wrap_wxToolBarTool_m_x_get
, METH_VARARGS
},
2480 { "wxToolBarTool_m_x_set", _wrap_wxToolBarTool_m_x_set
, METH_VARARGS
},
2481 { "wxToolBarTool_m_index_get", _wrap_wxToolBarTool_m_index_get
, METH_VARARGS
},
2482 { "wxToolBarTool_m_index_set", _wrap_wxToolBarTool_m_index_set
, METH_VARARGS
},
2483 { "wxToolBarTool_m_clientData_get", _wrap_wxToolBarTool_m_clientData_get
, METH_VARARGS
},
2484 { "wxToolBarTool_m_clientData_set", _wrap_wxToolBarTool_m_clientData_set
, METH_VARARGS
},
2485 { "wxToolBarTool_m_toolStyle_get", _wrap_wxToolBarTool_m_toolStyle_get
, METH_VARARGS
},
2486 { "wxToolBarTool_m_toolStyle_set", _wrap_wxToolBarTool_m_toolStyle_set
, METH_VARARGS
},
2487 { "wxToolBarTool_GetHeight", _wrap_wxToolBarTool_GetHeight
, METH_VARARGS
},
2488 { "wxToolBarTool_GetWidth", _wrap_wxToolBarTool_GetWidth
, METH_VARARGS
},
2489 { "wxToolBarTool_SetSize", _wrap_wxToolBarTool_SetSize
, METH_VARARGS
},
2490 { "delete_wxToolBarTool", _wrap_delete_wxToolBarTool
, METH_VARARGS
},
2491 { "new_wxToolBarTool", _wrap_new_wxToolBarTool
, METH_VARARGS
},
2492 { "wxStatusBar_SetStatusWidths", _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
},
2493 { "wxStatusBar_SetStatusText", _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
},
2494 { "wxStatusBar_SetFieldsCount", _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
},
2495 { "wxStatusBar_InitColours", _wrap_wxStatusBar_InitColours
, METH_VARARGS
},
2496 { "wxStatusBar_DrawFieldText", _wrap_wxStatusBar_DrawFieldText
, METH_VARARGS
},
2497 { "wxStatusBar_DrawField", _wrap_wxStatusBar_DrawField
, METH_VARARGS
},
2498 { "wxStatusBar_GetStatusText", _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
},
2499 { "wxStatusBar_GetFieldsCount", _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
},
2500 { "wxStatusBar_GetFieldRect", _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
},
2501 { "new_wxStatusBar", _wrap_new_wxStatusBar
, METH_VARARGS
},
2508 * This table is used by the pointer type-checker
2510 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2511 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2512 { "_wxEvent","_class_wxEvent",0},
2513 { "_class_wxActivateEvent","_wxActivateEvent",0},
2514 { "_signed_long","_long",0},
2515 { "_wxMenuEvent","_class_wxMenuEvent",0},
2516 { "_wxPrintQuality","_int",0},
2517 { "_wxPrintQuality","_signed_int",0},
2518 { "_wxPrintQuality","_unsigned_int",0},
2519 { "_wxPrintQuality","_wxWindowID",0},
2520 { "_wxPrintQuality","_uint",0},
2521 { "_wxPrintQuality","_EBool",0},
2522 { "_wxPrintQuality","_size_t",0},
2523 { "_class_wxRegionIterator","_wxRegionIterator",0},
2524 { "_class_wxMenuBar","_wxMenuBar",0},
2525 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2526 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2527 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2528 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2529 { "_class_wxEvtHandler","_wxEvtHandler",0},
2530 { "_wxPaintEvent","_class_wxPaintEvent",0},
2531 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2532 { "_wxCursor","_class_wxCursor",0},
2533 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2534 { "_wxMask","_class_wxMask",0},
2535 { "_wxPen","_class_wxPen",0},
2536 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2537 { "_byte","_unsigned_char",0},
2538 { "_wxStaticBox","_class_wxStaticBox",0},
2539 { "_wxChoice","_class_wxChoice",0},
2540 { "_wxSlider","_class_wxSlider",0},
2541 { "_long","_wxDash",0},
2542 { "_long","_unsigned_long",0},
2543 { "_long","_signed_long",0},
2544 { "_wxImageList","_class_wxImageList",0},
2545 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2546 { "_wxBitmapButton","_class_wxBitmapButton",0},
2547 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2548 { "_class_wxGauge","_wxGauge",0},
2549 { "_wxDC","_class_wxDC",0},
2550 { "_wxSpinEvent","_class_wxSpinEvent",0},
2551 { "_size_t","_wxPrintQuality",0},
2552 { "_size_t","_unsigned_int",0},
2553 { "_size_t","_int",0},
2554 { "_size_t","_wxWindowID",0},
2555 { "_size_t","_uint",0},
2556 { "_class_wxRealPoint","_wxRealPoint",0},
2557 { "_wxPrinterDC","_class_wxPrinterDC",0},
2558 { "_class_wxMenuItem","_wxMenuItem",0},
2559 { "_class_wxPaintEvent","_wxPaintEvent",0},
2560 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2561 { "_class_wxStatusBar","_wxStatusBar",0},
2562 { "_wxPanel","_class_wxPanel",0},
2563 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2564 { "_wxCheckBox","_class_wxCheckBox",0},
2565 { "_wxPyEvent","_class_wxPyEvent",0},
2566 { "_wxTextCtrl","_class_wxTextCtrl",0},
2567 { "_class_wxMask","_wxMask",0},
2568 { "_class_wxKeyEvent","_wxKeyEvent",0},
2569 { "_wxColour","_class_wxColour",0},
2570 { "_class_wxDialog","_wxDialog",0},
2571 { "_wxIdleEvent","_class_wxIdleEvent",0},
2572 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2573 { "_wxToolBar","_class_wxToolBar",0},
2574 { "_wxStaticLine","_class_wxStaticLine",0},
2575 { "_wxBrush","_class_wxBrush",0},
2576 { "_wxShowEvent","_class_wxShowEvent",0},
2577 { "_uint","_wxPrintQuality",0},
2578 { "_uint","_size_t",0},
2579 { "_uint","_unsigned_int",0},
2580 { "_uint","_int",0},
2581 { "_uint","_wxWindowID",0},
2582 { "_class_wxEvent","_wxEvent",0},
2583 { "_wxCheckListBox","_class_wxCheckListBox",0},
2584 { "_wxRect","_class_wxRect",0},
2585 { "_wxCommandEvent","_class_wxCommandEvent",0},
2586 { "_wxSizeEvent","_class_wxSizeEvent",0},
2587 { "_wxPoint","_class_wxPoint",0},
2588 { "_class_wxButton","_wxButton",0},
2589 { "_wxRadioBox","_class_wxRadioBox",0},
2590 { "_wxBitmap","_class_wxBitmap",0},
2591 { "_wxPyTimer","_class_wxPyTimer",0},
2592 { "_wxWindowDC","_class_wxWindowDC",0},
2593 { "_wxScrollBar","_class_wxScrollBar",0},
2594 { "_wxSpinButton","_class_wxSpinButton",0},
2595 { "_wxToolBarTool","_class_wxToolBarTool",0},
2596 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2597 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2598 { "_class_wxPyEvent","_wxPyEvent",0},
2599 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2600 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2601 { "_class_wxToolBar","_wxToolBar",0},
2602 { "_class_wxStaticLine","_wxStaticLine",0},
2603 { "_wxScrollEvent","_class_wxScrollEvent",0},
2604 { "_EBool","_wxPrintQuality",0},
2605 { "_EBool","_signed_int",0},
2606 { "_EBool","_int",0},
2607 { "_EBool","_wxWindowID",0},
2608 { "_class_wxRegion","_wxRegion",0},
2609 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2610 { "_wxStaticText","_class_wxStaticText",0},
2611 { "_wxFont","_class_wxFont",0},
2612 { "_wxCloseEvent","_class_wxCloseEvent",0},
2613 { "_unsigned_long","_wxDash",0},
2614 { "_unsigned_long","_long",0},
2615 { "_class_wxRect","_wxRect",0},
2616 { "_class_wxDC","_wxDC",0},
2617 { "_class_wxPyTimer","_wxPyTimer",0},
2618 { "_wxFocusEvent","_class_wxFocusEvent",0},
2619 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2620 { "_class_wxSpinButton","_wxSpinButton",0},
2621 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2622 { "_class_wxPanel","_wxPanel",0},
2623 { "_class_wxCheckBox","_wxCheckBox",0},
2624 { "_wxComboBox","_class_wxComboBox",0},
2625 { "_wxRadioButton","_class_wxRadioButton",0},
2626 { "_signed_int","_wxPrintQuality",0},
2627 { "_signed_int","_EBool",0},
2628 { "_signed_int","_wxWindowID",0},
2629 { "_signed_int","_int",0},
2630 { "_class_wxTextCtrl","_wxTextCtrl",0},
2631 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2632 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2633 { "_wxMenu","_class_wxMenu",0},
2634 { "_class_wxMoveEvent","_wxMoveEvent",0},
2635 { "_wxListBox","_class_wxListBox",0},
2636 { "_wxScreenDC","_class_wxScreenDC",0},
2637 { "_WXTYPE","_short",0},
2638 { "_WXTYPE","_signed_short",0},
2639 { "_WXTYPE","_unsigned_short",0},
2640 { "_class_wxBrush","_wxBrush",0},
2641 { "_unsigned_short","_WXTYPE",0},
2642 { "_unsigned_short","_short",0},
2643 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2644 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2645 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2646 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2647 { "_class_wxWindow","_wxWindow",0},
2648 { "_class_wxStaticText","_wxStaticText",0},
2649 { "_class_wxFont","_wxFont",0},
2650 { "_class_wxCloseEvent","_wxCloseEvent",0},
2651 { "_class_wxMenuEvent","_wxMenuEvent",0},
2652 { "_wxClientDC","_class_wxClientDC",0},
2653 { "_wxMouseEvent","_class_wxMouseEvent",0},
2654 { "_class_wxPoint","_wxPoint",0},
2655 { "_wxRealPoint","_class_wxRealPoint",0},
2656 { "_class_wxRadioBox","_wxRadioBox",0},
2657 { "_signed_short","_WXTYPE",0},
2658 { "_signed_short","_short",0},
2659 { "_wxMemoryDC","_class_wxMemoryDC",0},
2660 { "_wxPaintDC","_class_wxPaintDC",0},
2661 { "_class_wxWindowDC","_wxWindowDC",0},
2662 { "_class_wxFocusEvent","_wxFocusEvent",0},
2663 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2664 { "_wxStatusBar","_class_wxStatusBar",0},
2665 { "_class_wxToolBarTool","_wxToolBarTool",0},
2666 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2667 { "_class_wxCursor","_wxCursor",0},
2668 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2669 { "_unsigned_char","_byte",0},
2670 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2671 { "_class_wxMenu","_wxMenu",0},
2672 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2673 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2674 { "_wxControl","_class_wxControl",0},
2675 { "_class_wxListBox","_wxListBox",0},
2676 { "_unsigned_int","_wxPrintQuality",0},
2677 { "_unsigned_int","_size_t",0},
2678 { "_unsigned_int","_uint",0},
2679 { "_unsigned_int","_wxWindowID",0},
2680 { "_unsigned_int","_int",0},
2681 { "_wxIcon","_class_wxIcon",0},
2682 { "_wxDialog","_class_wxDialog",0},
2683 { "_class_wxPen","_wxPen",0},
2684 { "_short","_WXTYPE",0},
2685 { "_short","_unsigned_short",0},
2686 { "_short","_signed_short",0},
2687 { "_class_wxStaticBox","_wxStaticBox",0},
2688 { "_class_wxScrollEvent","_wxScrollEvent",0},
2689 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2690 { "_class_wxChoice","_wxChoice",0},
2691 { "_class_wxSlider","_wxSlider",0},
2692 { "_class_wxImageList","_wxImageList",0},
2693 { "_class_wxBitmapButton","_wxBitmapButton",0},
2694 { "_wxWindowID","_wxPrintQuality",0},
2695 { "_wxWindowID","_size_t",0},
2696 { "_wxWindowID","_EBool",0},
2697 { "_wxWindowID","_uint",0},
2698 { "_wxWindowID","_int",0},
2699 { "_wxWindowID","_signed_int",0},
2700 { "_wxWindowID","_unsigned_int",0},
2701 { "_int","_wxPrintQuality",0},
2702 { "_int","_size_t",0},
2703 { "_int","_EBool",0},
2704 { "_int","_uint",0},
2705 { "_int","_wxWindowID",0},
2706 { "_int","_unsigned_int",0},
2707 { "_int","_signed_int",0},
2708 { "_class_wxMouseEvent","_wxMouseEvent",0},
2709 { "_class_wxSpinEvent","_wxSpinEvent",0},
2710 { "_wxButton","_class_wxButton",0},
2711 { "_wxSize","_class_wxSize",0},
2712 { "_wxRegionIterator","_class_wxRegionIterator",0},
2713 { "_class_wxPrinterDC","_wxPrinterDC",0},
2714 { "_class_wxPaintDC","_wxPaintDC",0},
2715 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2716 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2717 { "_class_wxComboBox","_wxComboBox",0},
2718 { "_class_wxRadioButton","_wxRadioButton",0},
2719 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2720 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2721 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2722 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2723 { "_class_wxControl","_wxControl",0},
2724 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2725 { "_class_wxIcon","_wxIcon",0},
2726 { "_class_wxColour","_wxColour",0},
2727 { "_class_wxScreenDC","_wxScreenDC",0},
2728 { "_wxPalette","_class_wxPalette",0},
2729 { "_class_wxIdleEvent","_wxIdleEvent",0},
2730 { "_wxEraseEvent","_class_wxEraseEvent",0},
2731 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2732 { "_wxRegion","_class_wxRegion",0},
2733 { "_class_wxShowEvent","_wxShowEvent",0},
2734 { "_wxActivateEvent","_class_wxActivateEvent",0},
2735 { "_wxGauge","_class_wxGauge",0},
2736 { "_class_wxCheckListBox","_wxCheckListBox",0},
2737 { "_class_wxCommandEvent","_wxCommandEvent",0},
2738 { "_class_wxClientDC","_wxClientDC",0},
2739 { "_class_wxSizeEvent","_wxSizeEvent",0},
2740 { "_class_wxSize","_wxSize",0},
2741 { "_class_wxBitmap","_wxBitmap",0},
2742 { "_class_wxMemoryDC","_wxMemoryDC",0},
2743 { "_wxMenuBar","_class_wxMenuBar",0},
2744 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2745 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2746 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2747 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2748 { "_wxEvtHandler","_class_wxEvtHandler",0},
2749 { "_wxMenuItem","_class_wxMenuItem",0},
2750 { "_class_wxScrollBar","_wxScrollBar",0},
2751 { "_wxDash","_unsigned_long",0},
2752 { "_wxDash","_long",0},
2753 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2754 { "_wxKeyEvent","_class_wxKeyEvent",0},
2755 { "_wxMoveEvent","_class_wxMoveEvent",0},
2756 { "_class_wxPalette","_wxPalette",0},
2757 { "_class_wxEraseEvent","_wxEraseEvent",0},
2758 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2759 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2760 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2761 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2762 { "_wxWindow","_class_wxWindow",0},
2765 static PyObject
*SWIG_globals
;
2769 SWIGEXPORT(void) initstattoolc() {
2771 SWIG_globals
= SWIG_newvarlink();
2772 m
= Py_InitModule("stattoolc", stattoolcMethods
);
2773 d
= PyModule_GetDict(m
);
2776 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2777 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);