2 * FILE : src/msw/stattool.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initstattoolc
56 #define SWIG_name "stattoolc"
59 #include <wx/toolbar.h>
60 #include <wx/tbarsmpl.h>
62 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
66 } else if (target
== Py_None
) {
70 if (!PyList_Check(target
)) {
72 target
= PyList_New(0);
73 PyList_Append(target
, o2
);
76 PyList_Append(target
,o
);
82 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
88 } else if (target
== Py_None
) {
92 if (!PyTuple_Check(target
)) {
94 target
= PyTuple_New(1);
95 PyTuple_SetItem(target
, 0, o2
);
98 PyTuple_SetItem(o3
, 0, o
);
101 target
= PySequence_Concat(o2
, o3
);
108 #if PYTHON_API_VERSION >= 1009
109 static char* wxStringErrorMsg
= "String or Unicode type required";
111 static char* wxStringErrorMsg
= "string type is required for parameter";
114 static wxString
wxPyEmptyStr("");
118 static void *SwigwxStatusBarTowxWindow(void *ptr
) {
121 src
= (wxStatusBar
*) ptr
;
122 dest
= (wxWindow
*) src
;
123 return (void *) dest
;
126 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) {
129 src
= (wxStatusBar
*) ptr
;
130 dest
= (wxEvtHandler
*) src
;
131 return (void *) dest
;
134 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
135 static PyObject
*_wrap_new_wxStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
136 PyObject
* _resultobj
;
137 wxStatusBar
* _result
;
140 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
141 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
142 long _arg4
= (long ) wxST_SIZEGRIP
;
143 char * _arg5
= (char *) "statusBar";
144 PyObject
* _argo0
= 0;
146 PyObject
* _obj2
= 0;
148 PyObject
* _obj3
= 0;
149 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStatusBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
165 if (! wxPoint_helper(_obj2
, &_arg2
))
171 if (! wxSize_helper(_obj3
, &_arg3
))
175 wxPy_BEGIN_ALLOW_THREADS
;
176 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
178 wxPy_END_ALLOW_THREADS
;
180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
181 _resultobj
= Py_BuildValue("s",_ptemp
);
184 _resultobj
= Py_None
;
189 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
190 wxRect
* rect
= new wxRect
;
191 self
->GetFieldRect(item
, *rect
);
194 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
199 PyObject
* _argo0
= 0;
200 char *_kwnames
[] = { "self","item", NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxStatusBar_GetFieldRect",_kwnames
,&_argo0
,&_arg1
))
207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
214 wxPy_BEGIN_ALLOW_THREADS
;
215 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
217 wxPy_END_ALLOW_THREADS
;
219 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
220 _resultobj
= Py_BuildValue("s",_ptemp
);
223 _resultobj
= Py_None
;
228 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
229 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
230 PyObject
* _resultobj
;
233 PyObject
* _argo0
= 0;
234 char *_kwnames
[] = { "self", NULL
};
237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetFieldsCount",_kwnames
,&_argo0
))
240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
247 wxPy_BEGIN_ALLOW_THREADS
;
248 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
250 wxPy_END_ALLOW_THREADS
;
251 } _resultobj
= Py_BuildValue("i",_result
);
255 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
256 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
260 int _arg1
= (int ) 0;
261 PyObject
* _argo0
= 0;
262 char *_kwnames
[] = { "self","ir", NULL
};
265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_GetStatusText",_kwnames
,&_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_FromStringAndSize(_result
->c_str(), _result
->Len());
288 #define wxStatusBar_GetBorderX(_swigobj) (_swigobj->GetBorderX())
289 static PyObject
*_wrap_wxStatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
293 PyObject
* _argo0
= 0;
294 char *_kwnames
[] = { "self", NULL
};
297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderX",_kwnames
,&_argo0
))
300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderX. Expected _wxStatusBar_p.");
307 wxPy_BEGIN_ALLOW_THREADS
;
308 _result
= (int )wxStatusBar_GetBorderX(_arg0
);
310 wxPy_END_ALLOW_THREADS
;
311 } _resultobj
= Py_BuildValue("i",_result
);
315 #define wxStatusBar_GetBorderY(_swigobj) (_swigobj->GetBorderY())
316 static PyObject
*_wrap_wxStatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
320 PyObject
* _argo0
= 0;
321 char *_kwnames
[] = { "self", NULL
};
324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderY",_kwnames
,&_argo0
))
327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderY. Expected _wxStatusBar_p.");
334 wxPy_BEGIN_ALLOW_THREADS
;
335 _result
= (int )wxStatusBar_GetBorderY(_arg0
);
337 wxPy_END_ALLOW_THREADS
;
338 } _resultobj
= Py_BuildValue("i",_result
);
342 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
343 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
344 PyObject
* _resultobj
;
346 int _arg1
= (int ) 1;
347 PyObject
* _argo0
= 0;
348 char *_kwnames
[] = { "self","number", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_SetFieldsCount",_kwnames
,&_argo0
,&_arg1
))
354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
361 wxPy_BEGIN_ALLOW_THREADS
;
362 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
364 wxPy_END_ALLOW_THREADS
;
365 } Py_INCREF(Py_None
);
366 _resultobj
= Py_None
;
370 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
371 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
372 PyObject
* _resultobj
;
375 int _arg2
= (int ) 0;
376 PyObject
* _argo0
= 0;
377 PyObject
* _obj1
= 0;
378 char *_kwnames
[] = { "self","text","i", NULL
};
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxStatusBar_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
391 #if PYTHON_API_VERSION >= 1009
392 char* tmpPtr
; int tmpSize
;
393 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
397 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
399 _arg1
= new wxString(tmpPtr
, tmpSize
);
401 if (!PyString_Check(_obj1
)) {
402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
405 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
409 wxPy_BEGIN_ALLOW_THREADS
;
410 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
412 wxPy_END_ALLOW_THREADS
;
413 } Py_INCREF(Py_None
);
414 _resultobj
= Py_None
;
422 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
423 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
428 PyObject
* _argo0
= 0;
429 PyObject
* _obj2
= 0;
430 char *_kwnames
[] = { "self","choices", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStatusBar_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
444 _arg2
= int_LIST_helper(_obj2
);
451 _arg1
= PyList_Size(_obj2
);
458 wxPy_BEGIN_ALLOW_THREADS
;
459 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
461 wxPy_END_ALLOW_THREADS
;
462 } Py_INCREF(Py_None
);
463 _resultobj
= Py_None
;
470 #define wxStatusBar_SetMinHeight(_swigobj,_swigarg0) (_swigobj->SetMinHeight(_swigarg0))
471 static PyObject
*_wrap_wxStatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
472 PyObject
* _resultobj
;
475 PyObject
* _argo0
= 0;
476 char *_kwnames
[] = { "self","height", NULL
};
479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStatusBar_SetMinHeight",_kwnames
,&_argo0
,&_arg1
))
482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetMinHeight. Expected _wxStatusBar_p.");
489 wxPy_BEGIN_ALLOW_THREADS
;
490 wxStatusBar_SetMinHeight(_arg0
,_arg1
);
492 wxPy_END_ALLOW_THREADS
;
493 } Py_INCREF(Py_None
);
494 _resultobj
= Py_None
;
498 static void wxToolBarToolBase_Destroy(wxToolBarToolBase
*self
) { delete self
; }
499 static PyObject
*_wrap_wxToolBarToolBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
500 PyObject
* _resultobj
;
501 wxToolBarToolBase
* _arg0
;
502 PyObject
* _argo0
= 0;
503 char *_kwnames
[] = { "self", NULL
};
506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Destroy",_kwnames
,&_argo0
))
509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Destroy. Expected _wxToolBarToolBase_p.");
516 wxPy_BEGIN_ALLOW_THREADS
;
517 wxToolBarToolBase_Destroy(_arg0
);
519 wxPy_END_ALLOW_THREADS
;
520 } Py_INCREF(Py_None
);
521 _resultobj
= Py_None
;
525 #define wxToolBarToolBase_GetId(_swigobj) (_swigobj->GetId())
526 static PyObject
*_wrap_wxToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
527 PyObject
* _resultobj
;
529 wxToolBarToolBase
* _arg0
;
530 PyObject
* _argo0
= 0;
531 char *_kwnames
[] = { "self", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetId",_kwnames
,&_argo0
))
537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetId. Expected _wxToolBarToolBase_p.");
544 wxPy_BEGIN_ALLOW_THREADS
;
545 _result
= (int )wxToolBarToolBase_GetId(_arg0
);
547 wxPy_END_ALLOW_THREADS
;
548 } _resultobj
= Py_BuildValue("i",_result
);
552 #define wxToolBarToolBase_GetControl(_swigobj) (_swigobj->GetControl())
553 static PyObject
*_wrap_wxToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
556 wxToolBarToolBase
* _arg0
;
557 PyObject
* _argo0
= 0;
558 char *_kwnames
[] = { "self", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetControl",_kwnames
,&_argo0
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetControl. Expected _wxToolBarToolBase_p.");
572 wxPy_BEGIN_ALLOW_THREADS
;
573 _result
= (wxControl
*)wxToolBarToolBase_GetControl(_arg0
);
575 wxPy_END_ALLOW_THREADS
;
577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
578 _resultobj
= Py_BuildValue("s",_ptemp
);
581 _resultobj
= Py_None
;
586 #define wxToolBarToolBase_GetToolBar(_swigobj) (_swigobj->GetToolBar())
587 static PyObject
*_wrap_wxToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
588 PyObject
* _resultobj
;
589 wxToolBarBase
* _result
;
590 wxToolBarToolBase
* _arg0
;
591 PyObject
* _argo0
= 0;
592 char *_kwnames
[] = { "self", NULL
};
596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetToolBar",_kwnames
,&_argo0
))
599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetToolBar. Expected _wxToolBarToolBase_p.");
606 wxPy_BEGIN_ALLOW_THREADS
;
607 _result
= (wxToolBarBase
*)wxToolBarToolBase_GetToolBar(_arg0
);
609 wxPy_END_ALLOW_THREADS
;
611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarBase_p");
612 _resultobj
= Py_BuildValue("s",_ptemp
);
615 _resultobj
= Py_None
;
620 #define wxToolBarToolBase_IsButton(_swigobj) (_swigobj->IsButton())
621 static PyObject
*_wrap_wxToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
622 PyObject
* _resultobj
;
624 wxToolBarToolBase
* _arg0
;
625 PyObject
* _argo0
= 0;
626 char *_kwnames
[] = { "self", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsButton",_kwnames
,&_argo0
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsButton. Expected _wxToolBarToolBase_p.");
639 wxPy_BEGIN_ALLOW_THREADS
;
640 _result
= (int )wxToolBarToolBase_IsButton(_arg0
);
642 wxPy_END_ALLOW_THREADS
;
643 } _resultobj
= Py_BuildValue("i",_result
);
647 #define wxToolBarToolBase_IsControl(_swigobj) (_swigobj->IsControl())
648 static PyObject
*_wrap_wxToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
649 PyObject
* _resultobj
;
651 wxToolBarToolBase
* _arg0
;
652 PyObject
* _argo0
= 0;
653 char *_kwnames
[] = { "self", NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsControl",_kwnames
,&_argo0
))
659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsControl. Expected _wxToolBarToolBase_p.");
666 wxPy_BEGIN_ALLOW_THREADS
;
667 _result
= (int )wxToolBarToolBase_IsControl(_arg0
);
669 wxPy_END_ALLOW_THREADS
;
670 } _resultobj
= Py_BuildValue("i",_result
);
674 #define wxToolBarToolBase_IsSeparator(_swigobj) (_swigobj->IsSeparator())
675 static PyObject
*_wrap_wxToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
676 PyObject
* _resultobj
;
678 wxToolBarToolBase
* _arg0
;
679 PyObject
* _argo0
= 0;
680 char *_kwnames
[] = { "self", NULL
};
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsSeparator",_kwnames
,&_argo0
))
686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsSeparator. Expected _wxToolBarToolBase_p.");
693 wxPy_BEGIN_ALLOW_THREADS
;
694 _result
= (int )wxToolBarToolBase_IsSeparator(_arg0
);
696 wxPy_END_ALLOW_THREADS
;
697 } _resultobj
= Py_BuildValue("i",_result
);
701 #define wxToolBarToolBase_GetStyle(_swigobj) (_swigobj->GetStyle())
702 static PyObject
*_wrap_wxToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
705 wxToolBarToolBase
* _arg0
;
706 PyObject
* _argo0
= 0;
707 char *_kwnames
[] = { "self", NULL
};
710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetStyle",_kwnames
,&_argo0
))
713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetStyle. Expected _wxToolBarToolBase_p.");
720 wxPy_BEGIN_ALLOW_THREADS
;
721 _result
= (int )wxToolBarToolBase_GetStyle(_arg0
);
723 wxPy_END_ALLOW_THREADS
;
724 } _resultobj
= Py_BuildValue("i",_result
);
728 #define wxToolBarToolBase_IsEnabled(_swigobj) (_swigobj->IsEnabled())
729 static PyObject
*_wrap_wxToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
732 wxToolBarToolBase
* _arg0
;
733 PyObject
* _argo0
= 0;
734 char *_kwnames
[] = { "self", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsEnabled",_kwnames
,&_argo0
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsEnabled. Expected _wxToolBarToolBase_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 _result
= (bool )wxToolBarToolBase_IsEnabled(_arg0
);
750 wxPy_END_ALLOW_THREADS
;
751 } _resultobj
= Py_BuildValue("i",_result
);
755 #define wxToolBarToolBase_IsToggled(_swigobj) (_swigobj->IsToggled())
756 static PyObject
*_wrap_wxToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
759 wxToolBarToolBase
* _arg0
;
760 PyObject
* _argo0
= 0;
761 char *_kwnames
[] = { "self", NULL
};
764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsToggled",_kwnames
,&_argo0
))
767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsToggled. Expected _wxToolBarToolBase_p.");
774 wxPy_BEGIN_ALLOW_THREADS
;
775 _result
= (bool )wxToolBarToolBase_IsToggled(_arg0
);
777 wxPy_END_ALLOW_THREADS
;
778 } _resultobj
= Py_BuildValue("i",_result
);
782 #define wxToolBarToolBase_CanBeToggled(_swigobj) (_swigobj->CanBeToggled())
783 static PyObject
*_wrap_wxToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
784 PyObject
* _resultobj
;
786 wxToolBarToolBase
* _arg0
;
787 PyObject
* _argo0
= 0;
788 char *_kwnames
[] = { "self", NULL
};
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_CanBeToggled",_kwnames
,&_argo0
))
794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_CanBeToggled. Expected _wxToolBarToolBase_p.");
801 wxPy_BEGIN_ALLOW_THREADS
;
802 _result
= (bool )wxToolBarToolBase_CanBeToggled(_arg0
);
804 wxPy_END_ALLOW_THREADS
;
805 } _resultobj
= Py_BuildValue("i",_result
);
809 #define wxToolBarToolBase_GetBitmap1(_swigobj) (_swigobj->GetBitmap1())
810 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
811 PyObject
* _resultobj
;
813 wxToolBarToolBase
* _arg0
;
814 PyObject
* _argo0
= 0;
815 char *_kwnames
[] = { "self", NULL
};
819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap1",_kwnames
,&_argo0
))
822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap1. Expected _wxToolBarToolBase_p.");
829 wxPy_BEGIN_ALLOW_THREADS
;
830 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap1(_arg0
);
831 _result
= (wxBitmap
*) &_result_ref
;
833 wxPy_END_ALLOW_THREADS
;
835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
836 _resultobj
= Py_BuildValue("s",_ptemp
);
839 _resultobj
= Py_None
;
844 #define wxToolBarToolBase_GetBitmap2(_swigobj) (_swigobj->GetBitmap2())
845 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* _resultobj
;
848 wxToolBarToolBase
* _arg0
;
849 PyObject
* _argo0
= 0;
850 char *_kwnames
[] = { "self", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap2",_kwnames
,&_argo0
))
857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap2. Expected _wxToolBarToolBase_p.");
864 wxPy_BEGIN_ALLOW_THREADS
;
865 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap2(_arg0
);
866 _result
= (wxBitmap
*) &_result_ref
;
868 wxPy_END_ALLOW_THREADS
;
870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
871 _resultobj
= Py_BuildValue("s",_ptemp
);
874 _resultobj
= Py_None
;
879 #define wxToolBarToolBase_GetBitmap(_swigobj) (_swigobj->GetBitmap())
880 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
881 PyObject
* _resultobj
;
883 wxToolBarToolBase
* _arg0
;
884 PyObject
* _argo0
= 0;
885 char *_kwnames
[] = { "self", NULL
};
889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap",_kwnames
,&_argo0
))
892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap. Expected _wxToolBarToolBase_p.");
899 wxPy_BEGIN_ALLOW_THREADS
;
900 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap(_arg0
);
901 _result
= (wxBitmap
*) &_result_ref
;
903 wxPy_END_ALLOW_THREADS
;
905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
906 _resultobj
= Py_BuildValue("s",_ptemp
);
909 _resultobj
= Py_None
;
914 #define wxToolBarToolBase_GetShortHelp(_swigobj) (_swigobj->GetShortHelp())
915 static PyObject
*_wrap_wxToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
916 PyObject
* _resultobj
;
918 wxToolBarToolBase
* _arg0
;
919 PyObject
* _argo0
= 0;
920 char *_kwnames
[] = { "self", NULL
};
923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetShortHelp",_kwnames
,&_argo0
))
926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetShortHelp. Expected _wxToolBarToolBase_p.");
933 wxPy_BEGIN_ALLOW_THREADS
;
934 _result
= new wxString (wxToolBarToolBase_GetShortHelp(_arg0
));
936 wxPy_END_ALLOW_THREADS
;
938 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
946 #define wxToolBarToolBase_GetLongHelp(_swigobj) (_swigobj->GetLongHelp())
947 static PyObject
*_wrap_wxToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
948 PyObject
* _resultobj
;
950 wxToolBarToolBase
* _arg0
;
951 PyObject
* _argo0
= 0;
952 char *_kwnames
[] = { "self", NULL
};
955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetLongHelp",_kwnames
,&_argo0
))
958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetLongHelp. Expected _wxToolBarToolBase_p.");
965 wxPy_BEGIN_ALLOW_THREADS
;
966 _result
= new wxString (wxToolBarToolBase_GetLongHelp(_arg0
));
968 wxPy_END_ALLOW_THREADS
;
970 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
978 #define wxToolBarToolBase_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
979 static PyObject
*_wrap_wxToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 PyObject
* _resultobj
;
982 wxToolBarToolBase
* _arg0
;
984 PyObject
* _argo0
= 0;
986 char *_kwnames
[] = { "self","enable", NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Enable",_kwnames
,&_argo0
,&tempbool1
))
992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Enable. Expected _wxToolBarToolBase_p.");
998 _arg1
= (bool ) tempbool1
;
1000 wxPy_BEGIN_ALLOW_THREADS
;
1001 _result
= (bool )wxToolBarToolBase_Enable(_arg0
,_arg1
);
1003 wxPy_END_ALLOW_THREADS
;
1004 } _resultobj
= Py_BuildValue("i",_result
);
1008 #define wxToolBarToolBase_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
1009 static PyObject
*_wrap_wxToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1010 PyObject
* _resultobj
;
1012 wxToolBarToolBase
* _arg0
;
1014 PyObject
* _argo0
= 0;
1016 char *_kwnames
[] = { "self","toggle", NULL
};
1019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Toggle",_kwnames
,&_argo0
,&tempbool1
))
1022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Toggle. Expected _wxToolBarToolBase_p.");
1028 _arg1
= (bool ) tempbool1
;
1030 wxPy_BEGIN_ALLOW_THREADS
;
1031 _result
= (bool )wxToolBarToolBase_Toggle(_arg0
,_arg1
);
1033 wxPy_END_ALLOW_THREADS
;
1034 } _resultobj
= Py_BuildValue("i",_result
);
1038 #define wxToolBarToolBase_SetToggle(_swigobj,_swigarg0) (_swigobj->SetToggle(_swigarg0))
1039 static PyObject
*_wrap_wxToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
* _resultobj
;
1042 wxToolBarToolBase
* _arg0
;
1044 PyObject
* _argo0
= 0;
1046 char *_kwnames
[] = { "self","toggle", NULL
};
1049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_SetToggle",_kwnames
,&_argo0
,&tempbool1
))
1052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetToggle. Expected _wxToolBarToolBase_p.");
1058 _arg1
= (bool ) tempbool1
;
1060 wxPy_BEGIN_ALLOW_THREADS
;
1061 _result
= (bool )wxToolBarToolBase_SetToggle(_arg0
,_arg1
);
1063 wxPy_END_ALLOW_THREADS
;
1064 } _resultobj
= Py_BuildValue("i",_result
);
1068 #define wxToolBarToolBase_SetShortHelp(_swigobj,_swigarg0) (_swigobj->SetShortHelp(_swigarg0))
1069 static PyObject
*_wrap_wxToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1072 wxToolBarToolBase
* _arg0
;
1074 PyObject
* _argo0
= 0;
1075 PyObject
* _obj1
= 0;
1076 char *_kwnames
[] = { "self","help", NULL
};
1079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetShortHelp",_kwnames
,&_argo0
,&_obj1
))
1082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetShortHelp. Expected _wxToolBarToolBase_p.");
1089 #if PYTHON_API_VERSION >= 1009
1090 char* tmpPtr
; int tmpSize
;
1091 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1092 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1095 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1097 _arg1
= new wxString(tmpPtr
, tmpSize
);
1099 if (!PyString_Check(_obj1
)) {
1100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1103 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1107 wxPy_BEGIN_ALLOW_THREADS
;
1108 _result
= (bool )wxToolBarToolBase_SetShortHelp(_arg0
,*_arg1
);
1110 wxPy_END_ALLOW_THREADS
;
1111 } _resultobj
= Py_BuildValue("i",_result
);
1119 #define wxToolBarToolBase_SetLongHelp(_swigobj,_swigarg0) (_swigobj->SetLongHelp(_swigarg0))
1120 static PyObject
*_wrap_wxToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1123 wxToolBarToolBase
* _arg0
;
1125 PyObject
* _argo0
= 0;
1126 PyObject
* _obj1
= 0;
1127 char *_kwnames
[] = { "self","help", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetLongHelp",_kwnames
,&_argo0
,&_obj1
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetLongHelp. Expected _wxToolBarToolBase_p.");
1140 #if PYTHON_API_VERSION >= 1009
1141 char* tmpPtr
; int tmpSize
;
1142 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1143 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1146 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1148 _arg1
= new wxString(tmpPtr
, tmpSize
);
1150 if (!PyString_Check(_obj1
)) {
1151 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1154 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1158 wxPy_BEGIN_ALLOW_THREADS
;
1159 _result
= (bool )wxToolBarToolBase_SetLongHelp(_arg0
,*_arg1
);
1161 wxPy_END_ALLOW_THREADS
;
1162 } _resultobj
= Py_BuildValue("i",_result
);
1170 #define wxToolBarToolBase_SetBitmap1(_swigobj,_swigarg0) (_swigobj->SetBitmap1(_swigarg0))
1171 static PyObject
*_wrap_wxToolBarToolBase_SetBitmap1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
* _resultobj
;
1173 wxToolBarToolBase
* _arg0
;
1175 PyObject
* _argo0
= 0;
1176 PyObject
* _argo1
= 0;
1177 char *_kwnames
[] = { "self","bmp", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetBitmap1",_kwnames
,&_argo0
,&_argo1
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetBitmap1. Expected _wxToolBarToolBase_p.");
1190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetBitmap1. Expected _wxBitmap_p.");
1197 wxPy_BEGIN_ALLOW_THREADS
;
1198 wxToolBarToolBase_SetBitmap1(_arg0
,*_arg1
);
1200 wxPy_END_ALLOW_THREADS
;
1201 } Py_INCREF(Py_None
);
1202 _resultobj
= Py_None
;
1206 #define wxToolBarToolBase_SetBitmap2(_swigobj,_swigarg0) (_swigobj->SetBitmap2(_swigarg0))
1207 static PyObject
*_wrap_wxToolBarToolBase_SetBitmap2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1208 PyObject
* _resultobj
;
1209 wxToolBarToolBase
* _arg0
;
1211 PyObject
* _argo0
= 0;
1212 PyObject
* _argo1
= 0;
1213 char *_kwnames
[] = { "self","bmp", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetBitmap2",_kwnames
,&_argo0
,&_argo1
))
1219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetBitmap2. Expected _wxToolBarToolBase_p.");
1226 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetBitmap2. Expected _wxBitmap_p.");
1233 wxPy_BEGIN_ALLOW_THREADS
;
1234 wxToolBarToolBase_SetBitmap2(_arg0
,*_arg1
);
1236 wxPy_END_ALLOW_THREADS
;
1237 } Py_INCREF(Py_None
);
1238 _resultobj
= Py_None
;
1242 #define wxToolBarToolBase_Detach(_swigobj) (_swigobj->Detach())
1243 static PyObject
*_wrap_wxToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1245 wxToolBarToolBase
* _arg0
;
1246 PyObject
* _argo0
= 0;
1247 char *_kwnames
[] = { "self", NULL
};
1250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Detach",_kwnames
,&_argo0
))
1253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Detach. Expected _wxToolBarToolBase_p.");
1260 wxPy_BEGIN_ALLOW_THREADS
;
1261 wxToolBarToolBase_Detach(_arg0
);
1263 wxPy_END_ALLOW_THREADS
;
1264 } Py_INCREF(Py_None
);
1265 _resultobj
= Py_None
;
1269 #define wxToolBarToolBase_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
1270 static PyObject
*_wrap_wxToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1272 wxToolBarToolBase
* _arg0
;
1273 wxToolBarBase
* _arg1
;
1274 PyObject
* _argo0
= 0;
1275 PyObject
* _argo1
= 0;
1276 char *_kwnames
[] = { "self","tbar", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_Attach",_kwnames
,&_argo0
,&_argo1
))
1282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Attach. Expected _wxToolBarToolBase_p.");
1289 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1290 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBarBase_p")) {
1291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_Attach. Expected _wxToolBarBase_p.");
1296 wxPy_BEGIN_ALLOW_THREADS
;
1297 wxToolBarToolBase_Attach(_arg0
,_arg1
);
1299 wxPy_END_ALLOW_THREADS
;
1300 } Py_INCREF(Py_None
);
1301 _resultobj
= Py_None
;
1305 static PyObject
* wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
) {
1306 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1308 Py_INCREF(udata
->m_obj
);
1309 return udata
->m_obj
;
1315 static PyObject
*_wrap_wxToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1316 PyObject
* _resultobj
;
1318 wxToolBarToolBase
* _arg0
;
1319 PyObject
* _argo0
= 0;
1320 char *_kwnames
[] = { "self", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetClientData",_kwnames
,&_argo0
))
1326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetClientData. Expected _wxToolBarToolBase_p.");
1333 wxPy_BEGIN_ALLOW_THREADS
;
1334 _result
= (PyObject
*)wxToolBarToolBase_GetClientData(_arg0
);
1336 wxPy_END_ALLOW_THREADS
;
1338 _resultobj
= _result
;
1343 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
* clientData
) {
1344 self
->SetClientData(new wxPyUserData(clientData
));
1346 static PyObject
*_wrap_wxToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
* _resultobj
;
1348 wxToolBarToolBase
* _arg0
;
1350 PyObject
* _argo0
= 0;
1351 PyObject
* _obj1
= 0;
1352 char *_kwnames
[] = { "self","clientData", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetClientData",_kwnames
,&_argo0
,&_obj1
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetClientData. Expected _wxToolBarToolBase_p.");
1368 wxPy_BEGIN_ALLOW_THREADS
;
1369 wxToolBarToolBase_SetClientData(_arg0
,_arg1
);
1371 wxPy_END_ALLOW_THREADS
;
1372 } Py_INCREF(Py_None
);
1373 _resultobj
= Py_None
;
1377 static void *SwigwxToolBarBaseTowxControl(void *ptr
) {
1380 src
= (wxToolBarBase
*) ptr
;
1381 dest
= (wxControl
*) src
;
1382 return (void *) dest
;
1385 static void *SwigwxToolBarBaseTowxWindow(void *ptr
) {
1388 src
= (wxToolBarBase
*) ptr
;
1389 dest
= (wxWindow
*) src
;
1390 return (void *) dest
;
1393 static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr
) {
1396 src
= (wxToolBarBase
*) ptr
;
1397 dest
= (wxEvtHandler
*) src
;
1398 return (void *) dest
;
1401 static wxToolBarToolBase
* wxToolBarBase_AddTool(wxToolBarBase
*self
,int id
,const wxBitmap
& bitmap
,const wxBitmap
& pushedBitmap
,int isToggle
,PyObject
* clientData
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1402 wxPyUserData
* udata
= NULL
;
1404 udata
= new wxPyUserData(clientData
);
1405 return self
->AddTool(id
, bitmap
, pushedBitmap
, (bool)isToggle
,
1406 udata
, shortHelpString
, longHelpString
);
1408 static PyObject
*_wrap_wxToolBarBase_AddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
* _resultobj
;
1410 wxToolBarToolBase
* _result
;
1411 wxToolBarBase
* _arg0
;
1414 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1415 int _arg4
= (int ) FALSE
;
1416 PyObject
* _arg5
= (PyObject
*) NULL
;
1417 wxString
* _arg6
= (wxString
*) &wxPyEmptyStr
;
1418 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1419 PyObject
* _argo0
= 0;
1420 PyObject
* _argo2
= 0;
1421 PyObject
* _argo3
= 0;
1422 PyObject
* _obj5
= 0;
1423 PyObject
* _obj6
= 0;
1424 PyObject
* _obj7
= 0;
1425 char *_kwnames
[] = { "self","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OiOOO:wxToolBarBase_AddTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_obj5
,&_obj6
,&_obj7
))
1432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddTool. Expected _wxToolBarBase_p.");
1439 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1446 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1447 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1458 #if PYTHON_API_VERSION >= 1009
1459 char* tmpPtr
; int tmpSize
;
1460 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
1461 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1464 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
1466 _arg6
= new wxString(tmpPtr
, tmpSize
);
1468 if (!PyString_Check(_obj6
)) {
1469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1472 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
1477 #if PYTHON_API_VERSION >= 1009
1478 char* tmpPtr
; int tmpSize
;
1479 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
1480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1483 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
1485 _arg7
= new wxString(tmpPtr
, tmpSize
);
1487 if (!PyString_Check(_obj7
)) {
1488 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1491 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
1495 wxPy_BEGIN_ALLOW_THREADS
;
1496 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
);
1498 wxPy_END_ALLOW_THREADS
;
1500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1501 _resultobj
= Py_BuildValue("s",_ptemp
);
1504 _resultobj
= Py_None
;
1517 static wxToolBarToolBase
* wxToolBarBase_AddSimpleTool(wxToolBarBase
*self
,int id
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
,int isToggle
) {
1518 return self
->AddTool(id
, bitmap
, wxNullBitmap
, isToggle
, NULL
,
1519 shortHelpString
, longHelpString
);
1521 static PyObject
*_wrap_wxToolBarBase_AddSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1523 wxToolBarToolBase
* _result
;
1524 wxToolBarBase
* _arg0
;
1527 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1528 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1529 int _arg5
= (int ) FALSE
;
1530 PyObject
* _argo0
= 0;
1531 PyObject
* _argo2
= 0;
1532 PyObject
* _obj3
= 0;
1533 PyObject
* _obj4
= 0;
1534 char *_kwnames
[] = { "self","id","bitmap","shortHelpString","longHelpString","isToggle", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOi:wxToolBarBase_AddSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
))
1541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSimpleTool. Expected _wxToolBarBase_p.");
1548 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddSimpleTool. Expected _wxBitmap_p.");
1556 #if PYTHON_API_VERSION >= 1009
1557 char* tmpPtr
; int tmpSize
;
1558 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1562 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1564 _arg3
= new wxString(tmpPtr
, tmpSize
);
1566 if (!PyString_Check(_obj3
)) {
1567 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1570 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1575 #if PYTHON_API_VERSION >= 1009
1576 char* tmpPtr
; int tmpSize
;
1577 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
1578 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1581 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
1583 _arg4
= new wxString(tmpPtr
, tmpSize
);
1585 if (!PyString_Check(_obj4
)) {
1586 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1589 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
1593 wxPy_BEGIN_ALLOW_THREADS
;
1594 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
);
1596 wxPy_END_ALLOW_THREADS
;
1598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1599 _resultobj
= Py_BuildValue("s",_ptemp
);
1602 _resultobj
= Py_None
;
1615 static wxToolBarToolBase
* wxToolBarBase_InsertTool(wxToolBarBase
*self
,size_t pos
,int id
,const wxBitmap
& bitmap
,const wxBitmap
& pushedBitmap
,int isToggle
,PyObject
* clientData
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1616 wxPyUserData
* udata
= NULL
;
1618 udata
= new wxPyUserData(clientData
);
1619 return self
->InsertTool(pos
, id
, bitmap
, pushedBitmap
, (bool)isToggle
,
1620 udata
, shortHelpString
, longHelpString
);
1622 static PyObject
*_wrap_wxToolBarBase_InsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1624 wxToolBarToolBase
* _result
;
1625 wxToolBarBase
* _arg0
;
1629 wxBitmap
* _arg4
= (wxBitmap
*) &wxNullBitmap
;
1630 int _arg5
= (int ) FALSE
;
1631 PyObject
* _arg6
= (PyObject
*) NULL
;
1632 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1633 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1634 PyObject
* _argo0
= 0;
1635 PyObject
* _argo3
= 0;
1636 PyObject
* _argo4
= 0;
1637 PyObject
* _obj6
= 0;
1638 PyObject
* _obj7
= 0;
1639 PyObject
* _obj8
= 0;
1640 char *_kwnames
[] = { "self","pos","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OiOOO:wxToolBarBase_InsertTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
,&_arg5
,&_obj6
,&_obj7
,&_obj8
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertTool. Expected _wxToolBarBase_p.");
1654 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1655 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1661 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxBitmap_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1673 #if PYTHON_API_VERSION >= 1009
1674 char* tmpPtr
; int tmpSize
;
1675 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
1676 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1679 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
1681 _arg7
= new wxString(tmpPtr
, tmpSize
);
1683 if (!PyString_Check(_obj7
)) {
1684 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1687 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
1692 #if PYTHON_API_VERSION >= 1009
1693 char* tmpPtr
; int tmpSize
;
1694 if (!PyString_Check(_obj8
) && !PyUnicode_Check(_obj8
)) {
1695 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1698 if (PyString_AsStringAndSize(_obj8
, &tmpPtr
, &tmpSize
) == -1)
1700 _arg8
= new wxString(tmpPtr
, tmpSize
);
1702 if (!PyString_Check(_obj8
)) {
1703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1706 _arg8
= new wxString(PyString_AS_STRING(_obj8
), PyString_GET_SIZE(_obj8
));
1710 wxPy_BEGIN_ALLOW_THREADS
;
1711 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1713 wxPy_END_ALLOW_THREADS
;
1715 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1716 _resultobj
= Py_BuildValue("s",_ptemp
);
1719 _resultobj
= Py_None
;
1732 static wxToolBarToolBase
* wxToolBarBase_InsertSimpleTool(wxToolBarBase
*self
,size_t pos
,int id
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
,int isToggle
) {
1733 return self
->InsertTool(pos
, id
, bitmap
, wxNullBitmap
, isToggle
, NULL
,
1734 shortHelpString
, longHelpString
);
1736 static PyObject
*_wrap_wxToolBarBase_InsertSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1738 wxToolBarToolBase
* _result
;
1739 wxToolBarBase
* _arg0
;
1743 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1744 wxString
* _arg5
= (wxString
*) &wxPyEmptyStr
;
1745 int _arg6
= (int ) FALSE
;
1746 PyObject
* _argo0
= 0;
1747 PyObject
* _argo3
= 0;
1748 PyObject
* _obj4
= 0;
1749 PyObject
* _obj5
= 0;
1750 char *_kwnames
[] = { "self","pos","id","bitmap","shortHelpString","longHelpString","isToggle", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OOi:wxToolBarBase_InsertSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSimpleTool. Expected _wxToolBarBase_p.");
1764 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1765 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertSimpleTool. Expected _wxBitmap_p.");
1772 #if PYTHON_API_VERSION >= 1009
1773 char* tmpPtr
; int tmpSize
;
1774 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
1775 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1778 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
1780 _arg4
= new wxString(tmpPtr
, tmpSize
);
1782 if (!PyString_Check(_obj4
)) {
1783 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1786 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
1791 #if PYTHON_API_VERSION >= 1009
1792 char* tmpPtr
; int tmpSize
;
1793 if (!PyString_Check(_obj5
) && !PyUnicode_Check(_obj5
)) {
1794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1797 if (PyString_AsStringAndSize(_obj5
, &tmpPtr
, &tmpSize
) == -1)
1799 _arg5
= new wxString(tmpPtr
, tmpSize
);
1801 if (!PyString_Check(_obj5
)) {
1802 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1805 _arg5
= new wxString(PyString_AS_STRING(_obj5
), PyString_GET_SIZE(_obj5
));
1809 wxPy_BEGIN_ALLOW_THREADS
;
1810 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertSimpleTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
);
1812 wxPy_END_ALLOW_THREADS
;
1814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1815 _resultobj
= Py_BuildValue("s",_ptemp
);
1818 _resultobj
= Py_None
;
1831 #define wxToolBarBase_AddControl(_swigobj,_swigarg0) (_swigobj->AddControl(_swigarg0))
1832 static PyObject
*_wrap_wxToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1834 wxToolBarToolBase
* _result
;
1835 wxToolBarBase
* _arg0
;
1837 PyObject
* _argo0
= 0;
1838 PyObject
* _argo1
= 0;
1839 char *_kwnames
[] = { "self","control", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_AddControl",_kwnames
,&_argo0
,&_argo1
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddControl. Expected _wxToolBarBase_p.");
1853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarBase_AddControl. Expected _wxControl_p.");
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddControl(_arg0
,_arg1
);
1863 wxPy_END_ALLOW_THREADS
;
1865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1866 _resultobj
= Py_BuildValue("s",_ptemp
);
1869 _resultobj
= Py_None
;
1874 #define wxToolBarBase_InsertControl(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertControl(_swigarg0,_swigarg1))
1875 static PyObject
*_wrap_wxToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1877 wxToolBarToolBase
* _result
;
1878 wxToolBarBase
* _arg0
;
1881 PyObject
* _argo0
= 0;
1882 PyObject
* _argo2
= 0;
1883 char *_kwnames
[] = { "self","pos","control", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_InsertControl",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertControl. Expected _wxToolBarBase_p.");
1897 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxControl_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_InsertControl. Expected _wxControl_p.");
1904 wxPy_BEGIN_ALLOW_THREADS
;
1905 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertControl(_arg0
,_arg1
,_arg2
);
1907 wxPy_END_ALLOW_THREADS
;
1909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1910 _resultobj
= Py_BuildValue("s",_ptemp
);
1913 _resultobj
= Py_None
;
1918 #define wxToolBarBase_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1919 static PyObject
*_wrap_wxToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1920 PyObject
* _resultobj
;
1921 wxToolBarToolBase
* _result
;
1922 wxToolBarBase
* _arg0
;
1923 PyObject
* _argo0
= 0;
1924 char *_kwnames
[] = { "self", NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_AddSeparator",_kwnames
,&_argo0
))
1931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSeparator. Expected _wxToolBarBase_p.");
1938 wxPy_BEGIN_ALLOW_THREADS
;
1939 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddSeparator(_arg0
);
1941 wxPy_END_ALLOW_THREADS
;
1943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1944 _resultobj
= Py_BuildValue("s",_ptemp
);
1947 _resultobj
= Py_None
;
1952 #define wxToolBarBase_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
1953 static PyObject
*_wrap_wxToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1955 wxToolBarToolBase
* _result
;
1956 wxToolBarBase
* _arg0
;
1958 PyObject
* _argo0
= 0;
1959 char *_kwnames
[] = { "self","pos", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
1966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSeparator. Expected _wxToolBarBase_p.");
1973 wxPy_BEGIN_ALLOW_THREADS
;
1974 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertSeparator(_arg0
,_arg1
);
1976 wxPy_END_ALLOW_THREADS
;
1978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1979 _resultobj
= Py_BuildValue("s",_ptemp
);
1982 _resultobj
= Py_None
;
1987 #define wxToolBarBase_RemoveTool(_swigobj,_swigarg0) (_swigobj->RemoveTool(_swigarg0))
1988 static PyObject
*_wrap_wxToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1990 wxToolBarToolBase
* _result
;
1991 wxToolBarBase
* _arg0
;
1993 PyObject
* _argo0
= 0;
1994 char *_kwnames
[] = { "self","id", NULL
};
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_RemoveTool",_kwnames
,&_argo0
,&_arg1
))
2001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_RemoveTool. Expected _wxToolBarBase_p.");
2008 wxPy_BEGIN_ALLOW_THREADS
;
2009 _result
= (wxToolBarToolBase
*)wxToolBarBase_RemoveTool(_arg0
,_arg1
);
2011 wxPy_END_ALLOW_THREADS
;
2013 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
2014 _resultobj
= Py_BuildValue("s",_ptemp
);
2017 _resultobj
= Py_None
;
2022 #define wxToolBarBase_DeleteToolByPos(_swigobj,_swigarg0) (_swigobj->DeleteToolByPos(_swigarg0))
2023 static PyObject
*_wrap_wxToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
* _resultobj
;
2026 wxToolBarBase
* _arg0
;
2028 PyObject
* _argo0
= 0;
2029 char *_kwnames
[] = { "self","pos", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteToolByPos",_kwnames
,&_argo0
,&_arg1
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteToolByPos. Expected _wxToolBarBase_p.");
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 _result
= (bool )wxToolBarBase_DeleteToolByPos(_arg0
,_arg1
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } _resultobj
= Py_BuildValue("i",_result
);
2050 #define wxToolBarBase_DeleteTool(_swigobj,_swigarg0) (_swigobj->DeleteTool(_swigarg0))
2051 static PyObject
*_wrap_wxToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2054 wxToolBarBase
* _arg0
;
2056 PyObject
* _argo0
= 0;
2057 char *_kwnames
[] = { "self","id", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteTool",_kwnames
,&_argo0
,&_arg1
))
2063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteTool. Expected _wxToolBarBase_p.");
2070 wxPy_BEGIN_ALLOW_THREADS
;
2071 _result
= (bool )wxToolBarBase_DeleteTool(_arg0
,_arg1
);
2073 wxPy_END_ALLOW_THREADS
;
2074 } _resultobj
= Py_BuildValue("i",_result
);
2078 #define wxToolBarBase_ClearTools(_swigobj) (_swigobj->ClearTools())
2079 static PyObject
*_wrap_wxToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2081 wxToolBarBase
* _arg0
;
2082 PyObject
* _argo0
= 0;
2083 char *_kwnames
[] = { "self", NULL
};
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_ClearTools",_kwnames
,&_argo0
))
2089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ClearTools. Expected _wxToolBarBase_p.");
2096 wxPy_BEGIN_ALLOW_THREADS
;
2097 wxToolBarBase_ClearTools(_arg0
);
2099 wxPy_END_ALLOW_THREADS
;
2100 } Py_INCREF(Py_None
);
2101 _resultobj
= Py_None
;
2105 #define wxToolBarBase_Realize(_swigobj) (_swigobj->Realize())
2106 static PyObject
*_wrap_wxToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2109 wxToolBarBase
* _arg0
;
2110 PyObject
* _argo0
= 0;
2111 char *_kwnames
[] = { "self", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_Realize",_kwnames
,&_argo0
))
2117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_Realize. Expected _wxToolBarBase_p.");
2124 wxPy_BEGIN_ALLOW_THREADS
;
2125 _result
= (bool )wxToolBarBase_Realize(_arg0
);
2127 wxPy_END_ALLOW_THREADS
;
2128 } _resultobj
= Py_BuildValue("i",_result
);
2132 #define wxToolBarBase_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
2133 static PyObject
*_wrap_wxToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2135 wxToolBarBase
* _arg0
;
2138 PyObject
* _argo0
= 0;
2140 char *_kwnames
[] = { "self","id","enable", NULL
};
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_EnableTool. Expected _wxToolBarBase_p.");
2152 _arg2
= (bool ) tempbool2
;
2154 wxPy_BEGIN_ALLOW_THREADS
;
2155 wxToolBarBase_EnableTool(_arg0
,_arg1
,_arg2
);
2157 wxPy_END_ALLOW_THREADS
;
2158 } Py_INCREF(Py_None
);
2159 _resultobj
= Py_None
;
2163 #define wxToolBarBase_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2164 static PyObject
*_wrap_wxToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
* _resultobj
;
2166 wxToolBarBase
* _arg0
;
2169 PyObject
* _argo0
= 0;
2171 char *_kwnames
[] = { "self","id","toggle", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ToggleTool. Expected _wxToolBarBase_p.");
2183 _arg2
= (bool ) tempbool2
;
2185 wxPy_BEGIN_ALLOW_THREADS
;
2186 wxToolBarBase_ToggleTool(_arg0
,_arg1
,_arg2
);
2188 wxPy_END_ALLOW_THREADS
;
2189 } Py_INCREF(Py_None
);
2190 _resultobj
= Py_None
;
2194 #define wxToolBarBase_SetToggle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToggle(_swigarg0,_swigarg1))
2195 static PyObject
*_wrap_wxToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2197 wxToolBarBase
* _arg0
;
2200 PyObject
* _argo0
= 0;
2202 char *_kwnames
[] = { "self","id","toggle", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetToggle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToggle. Expected _wxToolBarBase_p.");
2214 _arg2
= (bool ) tempbool2
;
2216 wxPy_BEGIN_ALLOW_THREADS
;
2217 wxToolBarBase_SetToggle(_arg0
,_arg1
,_arg2
);
2219 wxPy_END_ALLOW_THREADS
;
2220 } Py_INCREF(Py_None
);
2221 _resultobj
= Py_None
;
2225 static PyObject
* wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int index
) {
2226 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(index
);
2228 Py_INCREF(udata
->m_obj
);
2229 return udata
->m_obj
;
2235 static PyObject
*_wrap_wxToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2238 wxToolBarBase
* _arg0
;
2240 PyObject
* _argo0
= 0;
2241 char *_kwnames
[] = { "self","index", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolClientData",_kwnames
,&_argo0
,&_arg1
))
2247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolClientData. Expected _wxToolBarBase_p.");
2254 wxPy_BEGIN_ALLOW_THREADS
;
2255 _result
= (PyObject
*)wxToolBarBase_GetToolClientData(_arg0
,_arg1
);
2257 wxPy_END_ALLOW_THREADS
;
2259 _resultobj
= _result
;
2264 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int index
,PyObject
* clientData
) {
2265 self
->SetToolClientData(index
, new wxPyUserData(clientData
));
2267 static PyObject
*_wrap_wxToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2269 wxToolBarBase
* _arg0
;
2272 PyObject
* _argo0
= 0;
2273 PyObject
* _obj2
= 0;
2274 char *_kwnames
[] = { "self","index","clientData", NULL
};
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolClientData. Expected _wxToolBarBase_p.");
2290 wxPy_BEGIN_ALLOW_THREADS
;
2291 wxToolBarBase_SetToolClientData(_arg0
,_arg1
,_arg2
);
2293 wxPy_END_ALLOW_THREADS
;
2294 } Py_INCREF(Py_None
);
2295 _resultobj
= Py_None
;
2299 #define wxToolBarBase_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2300 static PyObject
*_wrap_wxToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2303 wxToolBarBase
* _arg0
;
2305 PyObject
* _argo0
= 0;
2306 char *_kwnames
[] = { "self","id", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolState",_kwnames
,&_argo0
,&_arg1
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolState. Expected _wxToolBarBase_p.");
2319 wxPy_BEGIN_ALLOW_THREADS
;
2320 _result
= (bool )wxToolBarBase_GetToolState(_arg0
,_arg1
);
2322 wxPy_END_ALLOW_THREADS
;
2323 } _resultobj
= Py_BuildValue("i",_result
);
2327 #define wxToolBarBase_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2328 static PyObject
*_wrap_wxToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2331 wxToolBarBase
* _arg0
;
2333 PyObject
* _argo0
= 0;
2334 char *_kwnames
[] = { "self","id", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))
2340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolEnabled. Expected _wxToolBarBase_p.");
2347 wxPy_BEGIN_ALLOW_THREADS
;
2348 _result
= (bool )wxToolBarBase_GetToolEnabled(_arg0
,_arg1
);
2350 wxPy_END_ALLOW_THREADS
;
2351 } _resultobj
= Py_BuildValue("i",_result
);
2355 #define wxToolBarBase_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2356 static PyObject
*_wrap_wxToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
* _resultobj
;
2358 wxToolBarBase
* _arg0
;
2361 PyObject
* _argo0
= 0;
2362 PyObject
* _obj2
= 0;
2363 char *_kwnames
[] = { "self","id","helpString", NULL
};
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolShortHelp. Expected _wxToolBarBase_p.");
2376 #if PYTHON_API_VERSION >= 1009
2377 char* tmpPtr
; int tmpSize
;
2378 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2379 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2382 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2384 _arg2
= new wxString(tmpPtr
, tmpSize
);
2386 if (!PyString_Check(_obj2
)) {
2387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2390 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2394 wxPy_BEGIN_ALLOW_THREADS
;
2395 wxToolBarBase_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
2397 wxPy_END_ALLOW_THREADS
;
2398 } Py_INCREF(Py_None
);
2399 _resultobj
= Py_None
;
2407 #define wxToolBarBase_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2408 static PyObject
*_wrap_wxToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2411 wxToolBarBase
* _arg0
;
2413 PyObject
* _argo0
= 0;
2414 char *_kwnames
[] = { "self","id", NULL
};
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))
2420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolShortHelp. Expected _wxToolBarBase_p.");
2427 wxPy_BEGIN_ALLOW_THREADS
;
2428 _result
= new wxString (wxToolBarBase_GetToolShortHelp(_arg0
,_arg1
));
2430 wxPy_END_ALLOW_THREADS
;
2432 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2440 #define wxToolBarBase_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2441 static PyObject
*_wrap_wxToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2443 wxToolBarBase
* _arg0
;
2446 PyObject
* _argo0
= 0;
2447 PyObject
* _obj2
= 0;
2448 char *_kwnames
[] = { "self","id","helpString", NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolLongHelp. Expected _wxToolBarBase_p.");
2461 #if PYTHON_API_VERSION >= 1009
2462 char* tmpPtr
; int tmpSize
;
2463 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2464 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2467 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2469 _arg2
= new wxString(tmpPtr
, tmpSize
);
2471 if (!PyString_Check(_obj2
)) {
2472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2475 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2479 wxPy_BEGIN_ALLOW_THREADS
;
2480 wxToolBarBase_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
2482 wxPy_END_ALLOW_THREADS
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2492 #define wxToolBarBase_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2493 static PyObject
*_wrap_wxToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2496 wxToolBarBase
* _arg0
;
2498 PyObject
* _argo0
= 0;
2499 char *_kwnames
[] = { "self","id", NULL
};
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))
2505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolLongHelp. Expected _wxToolBarBase_p.");
2512 wxPy_BEGIN_ALLOW_THREADS
;
2513 _result
= new wxString (wxToolBarBase_GetToolLongHelp(_arg0
,_arg1
));
2515 wxPy_END_ALLOW_THREADS
;
2517 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2525 #define wxToolBarBase_SetMarginsXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
2526 static PyObject
*_wrap_wxToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2528 wxToolBarBase
* _arg0
;
2531 PyObject
* _argo0
= 0;
2532 char *_kwnames
[] = { "self","x","y", NULL
};
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMarginsXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMarginsXY. Expected _wxToolBarBase_p.");
2545 wxPy_BEGIN_ALLOW_THREADS
;
2546 wxToolBarBase_SetMarginsXY(_arg0
,_arg1
,_arg2
);
2548 wxPy_END_ALLOW_THREADS
;
2549 } Py_INCREF(Py_None
);
2550 _resultobj
= Py_None
;
2554 #define wxToolBarBase_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2555 static PyObject
*_wrap_wxToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2557 wxToolBarBase
* _arg0
;
2559 PyObject
* _argo0
= 0;
2561 PyObject
* _obj1
= 0;
2562 char *_kwnames
[] = { "self","size", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetMargins",_kwnames
,&_argo0
,&_obj1
))
2568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMargins. Expected _wxToolBarBase_p.");
2576 if (! wxSize_helper(_obj1
, &_arg1
))
2580 wxPy_BEGIN_ALLOW_THREADS
;
2581 wxToolBarBase_SetMargins(_arg0
,*_arg1
);
2583 wxPy_END_ALLOW_THREADS
;
2584 } Py_INCREF(Py_None
);
2585 _resultobj
= Py_None
;
2589 #define wxToolBarBase_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2590 static PyObject
*_wrap_wxToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2592 wxToolBarBase
* _arg0
;
2594 PyObject
* _argo0
= 0;
2595 char *_kwnames
[] = { "self","packing", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolPacking. Expected _wxToolBarBase_p.");
2608 wxPy_BEGIN_ALLOW_THREADS
;
2609 wxToolBarBase_SetToolPacking(_arg0
,_arg1
);
2611 wxPy_END_ALLOW_THREADS
;
2612 } Py_INCREF(Py_None
);
2613 _resultobj
= Py_None
;
2617 #define wxToolBarBase_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2618 static PyObject
*_wrap_wxToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2620 wxToolBarBase
* _arg0
;
2622 PyObject
* _argo0
= 0;
2623 char *_kwnames
[] = { "self","separation", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolSeparation. Expected _wxToolBarBase_p.");
2636 wxPy_BEGIN_ALLOW_THREADS
;
2637 wxToolBarBase_SetToolSeparation(_arg0
,_arg1
);
2639 wxPy_END_ALLOW_THREADS
;
2640 } Py_INCREF(Py_None
);
2641 _resultobj
= Py_None
;
2645 #define wxToolBarBase_GetToolMargins(_swigobj) (_swigobj->GetToolMargins())
2646 static PyObject
*_wrap_wxToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2649 wxToolBarBase
* _arg0
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self", NULL
};
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolMargins",_kwnames
,&_argo0
))
2658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolMargins. Expected _wxToolBarBase_p.");
2665 wxPy_BEGIN_ALLOW_THREADS
;
2666 _result
= new wxSize (wxToolBarBase_GetToolMargins(_arg0
));
2668 wxPy_END_ALLOW_THREADS
;
2669 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2670 _resultobj
= Py_BuildValue("s",_ptemp
);
2674 #define wxToolBarBase_GetMargins(_swigobj) (_swigobj->GetMargins())
2675 static PyObject
*_wrap_wxToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
* _resultobj
;
2678 wxToolBarBase
* _arg0
;
2679 PyObject
* _argo0
= 0;
2680 char *_kwnames
[] = { "self", NULL
};
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMargins",_kwnames
,&_argo0
))
2687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMargins. Expected _wxToolBarBase_p.");
2694 wxPy_BEGIN_ALLOW_THREADS
;
2695 _result
= new wxSize (wxToolBarBase_GetMargins(_arg0
));
2697 wxPy_END_ALLOW_THREADS
;
2698 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2699 _resultobj
= Py_BuildValue("s",_ptemp
);
2703 #define wxToolBarBase_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2704 static PyObject
*_wrap_wxToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2707 wxToolBarBase
* _arg0
;
2708 PyObject
* _argo0
= 0;
2709 char *_kwnames
[] = { "self", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolPacking",_kwnames
,&_argo0
))
2715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolPacking. Expected _wxToolBarBase_p.");
2722 wxPy_BEGIN_ALLOW_THREADS
;
2723 _result
= (int )wxToolBarBase_GetToolPacking(_arg0
);
2725 wxPy_END_ALLOW_THREADS
;
2726 } _resultobj
= Py_BuildValue("i",_result
);
2730 #define wxToolBarBase_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2731 static PyObject
*_wrap_wxToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
* _resultobj
;
2734 wxToolBarBase
* _arg0
;
2735 PyObject
* _argo0
= 0;
2736 char *_kwnames
[] = { "self", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSeparation",_kwnames
,&_argo0
))
2742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSeparation. Expected _wxToolBarBase_p.");
2749 wxPy_BEGIN_ALLOW_THREADS
;
2750 _result
= (int )wxToolBarBase_GetToolSeparation(_arg0
);
2752 wxPy_END_ALLOW_THREADS
;
2753 } _resultobj
= Py_BuildValue("i",_result
);
2757 #define wxToolBarBase_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2758 static PyObject
*_wrap_wxToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
* _resultobj
;
2760 wxToolBarBase
* _arg0
;
2762 PyObject
* _argo0
= 0;
2763 char *_kwnames
[] = { "self","nRows", NULL
};
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetRows",_kwnames
,&_argo0
,&_arg1
))
2769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetRows. Expected _wxToolBarBase_p.");
2776 wxPy_BEGIN_ALLOW_THREADS
;
2777 wxToolBarBase_SetRows(_arg0
,_arg1
);
2779 wxPy_END_ALLOW_THREADS
;
2780 } Py_INCREF(Py_None
);
2781 _resultobj
= Py_None
;
2785 #define wxToolBarBase_SetMaxRowsCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMaxRowsCols(_swigarg0,_swigarg1))
2786 static PyObject
*_wrap_wxToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
* _resultobj
;
2788 wxToolBarBase
* _arg0
;
2791 PyObject
* _argo0
= 0;
2792 char *_kwnames
[] = { "self","rows","cols", NULL
};
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMaxRowsCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMaxRowsCols. Expected _wxToolBarBase_p.");
2805 wxPy_BEGIN_ALLOW_THREADS
;
2806 wxToolBarBase_SetMaxRowsCols(_arg0
,_arg1
,_arg2
);
2808 wxPy_END_ALLOW_THREADS
;
2809 } Py_INCREF(Py_None
);
2810 _resultobj
= Py_None
;
2814 #define wxToolBarBase_GetMaxRows(_swigobj) (_swigobj->GetMaxRows())
2815 static PyObject
*_wrap_wxToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2818 wxToolBarBase
* _arg0
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxRows",_kwnames
,&_argo0
))
2826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxRows. Expected _wxToolBarBase_p.");
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 _result
= (int )wxToolBarBase_GetMaxRows(_arg0
);
2836 wxPy_END_ALLOW_THREADS
;
2837 } _resultobj
= Py_BuildValue("i",_result
);
2841 #define wxToolBarBase_GetMaxCols(_swigobj) (_swigobj->GetMaxCols())
2842 static PyObject
*_wrap_wxToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2845 wxToolBarBase
* _arg0
;
2846 PyObject
* _argo0
= 0;
2847 char *_kwnames
[] = { "self", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxCols",_kwnames
,&_argo0
))
2853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxCols. Expected _wxToolBarBase_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 _result
= (int )wxToolBarBase_GetMaxCols(_arg0
);
2863 wxPy_END_ALLOW_THREADS
;
2864 } _resultobj
= Py_BuildValue("i",_result
);
2868 #define wxToolBarBase_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
2869 static PyObject
*_wrap_wxToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2871 wxToolBarBase
* _arg0
;
2873 PyObject
* _argo0
= 0;
2875 PyObject
* _obj1
= 0;
2876 char *_kwnames
[] = { "self","size", NULL
};
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetToolBitmapSize",_kwnames
,&_argo0
,&_obj1
))
2882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolBitmapSize. Expected _wxToolBarBase_p.");
2890 if (! wxSize_helper(_obj1
, &_arg1
))
2894 wxPy_BEGIN_ALLOW_THREADS
;
2895 wxToolBarBase_SetToolBitmapSize(_arg0
,*_arg1
);
2897 wxPy_END_ALLOW_THREADS
;
2898 } Py_INCREF(Py_None
);
2899 _resultobj
= Py_None
;
2903 #define wxToolBarBase_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
2904 static PyObject
*_wrap_wxToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
* _resultobj
;
2907 wxToolBarBase
* _arg0
;
2908 PyObject
* _argo0
= 0;
2909 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolBitmapSize",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolBitmapSize. Expected _wxToolBarBase_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= new wxSize (wxToolBarBase_GetToolBitmapSize(_arg0
));
2926 wxPy_END_ALLOW_THREADS
;
2927 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2928 _resultobj
= Py_BuildValue("s",_ptemp
);
2932 #define wxToolBarBase_GetToolSize(_swigobj) (_swigobj->GetToolSize())
2933 static PyObject
*_wrap_wxToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2936 wxToolBarBase
* _arg0
;
2937 PyObject
* _argo0
= 0;
2938 char *_kwnames
[] = { "self", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSize",_kwnames
,&_argo0
))
2945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSize. Expected _wxToolBarBase_p.");
2952 wxPy_BEGIN_ALLOW_THREADS
;
2953 _result
= new wxSize (wxToolBarBase_GetToolSize(_arg0
));
2955 wxPy_END_ALLOW_THREADS
;
2956 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2957 _resultobj
= Py_BuildValue("s",_ptemp
);
2961 static void *SwigwxToolBarTowxToolBarBase(void *ptr
) {
2963 wxToolBarBase
*dest
;
2964 src
= (wxToolBar
*) ptr
;
2965 dest
= (wxToolBarBase
*) src
;
2966 return (void *) dest
;
2969 static void *SwigwxToolBarTowxControl(void *ptr
) {
2972 src
= (wxToolBar
*) ptr
;
2973 dest
= (wxControl
*) src
;
2974 return (void *) dest
;
2977 static void *SwigwxToolBarTowxWindow(void *ptr
) {
2980 src
= (wxToolBar
*) ptr
;
2981 dest
= (wxWindow
*) src
;
2982 return (void *) dest
;
2985 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
2988 src
= (wxToolBar
*) ptr
;
2989 dest
= (wxEvtHandler
*) src
;
2990 return (void *) dest
;
2993 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2994 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
2996 wxToolBar
* _result
;
2999 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3000 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3001 long _arg4
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
3002 char * _arg5
= (char *) wxToolBarNameStr
;
3003 PyObject
* _argo0
= 0;
3005 PyObject
* _obj2
= 0;
3007 PyObject
* _obj3
= 0;
3008 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
3024 if (! wxPoint_helper(_obj2
, &_arg2
))
3030 if (! wxSize_helper(_obj3
, &_arg3
))
3034 wxPy_BEGIN_ALLOW_THREADS
;
3035 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3037 wxPy_END_ALLOW_THREADS
;
3039 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
3040 _resultobj
= Py_BuildValue("s",_ptemp
);
3043 _resultobj
= Py_None
;
3048 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3049 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3051 wxToolBarToolBase
* _result
;
3055 PyObject
* _argo0
= 0;
3056 char *_kwnames
[] = { "self","x","y", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 _result
= (wxToolBarToolBase
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
3073 wxPy_END_ALLOW_THREADS
;
3075 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
3076 _resultobj
= Py_BuildValue("s",_ptemp
);
3079 _resultobj
= Py_None
;
3084 static void *SwigwxToolBarSimpleTowxToolBarBase(void *ptr
) {
3085 wxToolBarSimple
*src
;
3086 wxToolBarBase
*dest
;
3087 src
= (wxToolBarSimple
*) ptr
;
3088 dest
= (wxToolBarBase
*) src
;
3089 return (void *) dest
;
3092 static void *SwigwxToolBarSimpleTowxControl(void *ptr
) {
3093 wxToolBarSimple
*src
;
3095 src
= (wxToolBarSimple
*) ptr
;
3096 dest
= (wxControl
*) src
;
3097 return (void *) dest
;
3100 static void *SwigwxToolBarSimpleTowxWindow(void *ptr
) {
3101 wxToolBarSimple
*src
;
3103 src
= (wxToolBarSimple
*) ptr
;
3104 dest
= (wxWindow
*) src
;
3105 return (void *) dest
;
3108 static void *SwigwxToolBarSimpleTowxEvtHandler(void *ptr
) {
3109 wxToolBarSimple
*src
;
3111 src
= (wxToolBarSimple
*) ptr
;
3112 dest
= (wxEvtHandler
*) src
;
3113 return (void *) dest
;
3116 #define new_wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3117 static PyObject
*_wrap_new_wxToolBarSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
* _resultobj
;
3119 wxToolBarSimple
* _result
;
3122 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3123 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3124 long _arg4
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
3125 char * _arg5
= (char *) wxToolBarNameStr
;
3126 PyObject
* _argo0
= 0;
3128 PyObject
* _obj2
= 0;
3130 PyObject
* _obj3
= 0;
3131 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBarSimple",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBarSimple. Expected _wxWindow_p.");
3147 if (! wxPoint_helper(_obj2
, &_arg2
))
3153 if (! wxSize_helper(_obj3
, &_arg3
))
3157 wxPy_BEGIN_ALLOW_THREADS
;
3158 _result
= (wxToolBarSimple
*)new_wxToolBarSimple(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3160 wxPy_END_ALLOW_THREADS
;
3162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarSimple_p");
3163 _resultobj
= Py_BuildValue("s",_ptemp
);
3166 _resultobj
= Py_None
;
3171 #define wxToolBarSimple_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3172 static PyObject
*_wrap_wxToolBarSimple_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
* _resultobj
;
3174 wxToolBarToolBase
* _result
;
3175 wxToolBarSimple
* _arg0
;
3178 PyObject
* _argo0
= 0;
3179 char *_kwnames
[] = { "self","x","y", NULL
};
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarSimple_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarSimple_p")) {
3188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarSimple_FindToolForPosition. Expected _wxToolBarSimple_p.");
3193 wxPy_BEGIN_ALLOW_THREADS
;
3194 _result
= (wxToolBarToolBase
*)wxToolBarSimple_FindToolForPosition(_arg0
,_arg1
,_arg2
);
3196 wxPy_END_ALLOW_THREADS
;
3198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
3199 _resultobj
= Py_BuildValue("s",_ptemp
);
3202 _resultobj
= Py_None
;
3207 static PyMethodDef stattoolcMethods
[] = {
3208 { "wxToolBarSimple_FindToolForPosition", (PyCFunction
) _wrap_wxToolBarSimple_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
3209 { "new_wxToolBarSimple", (PyCFunction
) _wrap_new_wxToolBarSimple
, METH_VARARGS
| METH_KEYWORDS
},
3210 { "wxToolBar_FindToolForPosition", (PyCFunction
) _wrap_wxToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
3211 { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS
| METH_KEYWORDS
},
3212 { "wxToolBarBase_GetToolSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
3213 { "wxToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
3214 { "wxToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
3215 { "wxToolBarBase_GetMaxCols", (PyCFunction
) _wrap_wxToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
3216 { "wxToolBarBase_GetMaxRows", (PyCFunction
) _wrap_wxToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
3217 { "wxToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_wxToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
3218 { "wxToolBarBase_SetRows", (PyCFunction
) _wrap_wxToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
3219 { "wxToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
3220 { "wxToolBarBase_GetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
3221 { "wxToolBarBase_GetMargins", (PyCFunction
) _wrap_wxToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
3222 { "wxToolBarBase_GetToolMargins", (PyCFunction
) _wrap_wxToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
3223 { "wxToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
3224 { "wxToolBarBase_SetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
3225 { "wxToolBarBase_SetMargins", (PyCFunction
) _wrap_wxToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
3226 { "wxToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_wxToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
3227 { "wxToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3228 { "wxToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3229 { "wxToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3230 { "wxToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3231 { "wxToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_wxToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3232 { "wxToolBarBase_GetToolState", (PyCFunction
) _wrap_wxToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
3233 { "wxToolBarBase_SetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
3234 { "wxToolBarBase_GetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
3235 { "wxToolBarBase_SetToggle", (PyCFunction
) _wrap_wxToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
3236 { "wxToolBarBase_ToggleTool", (PyCFunction
) _wrap_wxToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
3237 { "wxToolBarBase_EnableTool", (PyCFunction
) _wrap_wxToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
3238 { "wxToolBarBase_Realize", (PyCFunction
) _wrap_wxToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
3239 { "wxToolBarBase_ClearTools", (PyCFunction
) _wrap_wxToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
3240 { "wxToolBarBase_DeleteTool", (PyCFunction
) _wrap_wxToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
3241 { "wxToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_wxToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
3242 { "wxToolBarBase_RemoveTool", (PyCFunction
) _wrap_wxToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
3243 { "wxToolBarBase_InsertSeparator", (PyCFunction
) _wrap_wxToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3244 { "wxToolBarBase_AddSeparator", (PyCFunction
) _wrap_wxToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3245 { "wxToolBarBase_InsertControl", (PyCFunction
) _wrap_wxToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
3246 { "wxToolBarBase_AddControl", (PyCFunction
) _wrap_wxToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
3247 { "wxToolBarBase_InsertSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_InsertSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
3248 { "wxToolBarBase_InsertTool", (PyCFunction
) _wrap_wxToolBarBase_InsertTool
, METH_VARARGS
| METH_KEYWORDS
},
3249 { "wxToolBarBase_AddSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_AddSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
3250 { "wxToolBarBase_AddTool", (PyCFunction
) _wrap_wxToolBarBase_AddTool
, METH_VARARGS
| METH_KEYWORDS
},
3251 { "wxToolBarToolBase_SetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
3252 { "wxToolBarToolBase_GetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
3253 { "wxToolBarToolBase_Attach", (PyCFunction
) _wrap_wxToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
3254 { "wxToolBarToolBase_Detach", (PyCFunction
) _wrap_wxToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
3255 { "wxToolBarToolBase_SetBitmap2", (PyCFunction
) _wrap_wxToolBarToolBase_SetBitmap2
, METH_VARARGS
| METH_KEYWORDS
},
3256 { "wxToolBarToolBase_SetBitmap1", (PyCFunction
) _wrap_wxToolBarToolBase_SetBitmap1
, METH_VARARGS
| METH_KEYWORDS
},
3257 { "wxToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3258 { "wxToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3259 { "wxToolBarToolBase_SetToggle", (PyCFunction
) _wrap_wxToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
3260 { "wxToolBarToolBase_Toggle", (PyCFunction
) _wrap_wxToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
3261 { "wxToolBarToolBase_Enable", (PyCFunction
) _wrap_wxToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
3262 { "wxToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3263 { "wxToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3264 { "wxToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3265 { "wxToolBarToolBase_GetBitmap2", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap2
, METH_VARARGS
| METH_KEYWORDS
},
3266 { "wxToolBarToolBase_GetBitmap1", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap1
, METH_VARARGS
| METH_KEYWORDS
},
3267 { "wxToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_wxToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
3268 { "wxToolBarToolBase_IsToggled", (PyCFunction
) _wrap_wxToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
3269 { "wxToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_wxToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3270 { "wxToolBarToolBase_GetStyle", (PyCFunction
) _wrap_wxToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3271 { "wxToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_wxToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3272 { "wxToolBarToolBase_IsControl", (PyCFunction
) _wrap_wxToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
3273 { "wxToolBarToolBase_IsButton", (PyCFunction
) _wrap_wxToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
3274 { "wxToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_wxToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
3275 { "wxToolBarToolBase_GetControl", (PyCFunction
) _wrap_wxToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
3276 { "wxToolBarToolBase_GetId", (PyCFunction
) _wrap_wxToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3277 { "wxToolBarToolBase_Destroy", (PyCFunction
) _wrap_wxToolBarToolBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
3278 { "wxStatusBar_SetMinHeight", (PyCFunction
) _wrap_wxStatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
3279 { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
3280 { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
3281 { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
3282 { "wxStatusBar_GetBorderY", (PyCFunction
) _wrap_wxStatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
3283 { "wxStatusBar_GetBorderX", (PyCFunction
) _wrap_wxStatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
3284 { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
3285 { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
3286 { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
3287 { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
3294 * This table is used by the pointer type-checker
3296 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3297 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3298 { "_wxEvent","_class_wxEvent",0},
3299 { "_class_wxActivateEvent","_wxActivateEvent",0},
3300 { "_signed_long","_long",0},
3301 { "_wxMenuEvent","_class_wxMenuEvent",0},
3302 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3303 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3304 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
3305 { "_wxPrintQuality","_wxCoord",0},
3306 { "_wxPrintQuality","_int",0},
3307 { "_wxPrintQuality","_signed_int",0},
3308 { "_wxPrintQuality","_unsigned_int",0},
3309 { "_wxPrintQuality","_wxWindowID",0},
3310 { "_wxPrintQuality","_uint",0},
3311 { "_wxPrintQuality","_EBool",0},
3312 { "_wxPrintQuality","_size_t",0},
3313 { "_wxPrintQuality","_time_t",0},
3314 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3315 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
3316 { "_class_wxRegionIterator","_wxRegionIterator",0},
3317 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3318 { "_class_wxMenuBar","_wxMenuBar",0},
3319 { "_class_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3320 { "_class_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3321 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3322 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3323 { "_class_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3324 { "_class_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3325 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3326 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3327 { "_class_wxEvtHandler","_wxEvtHandler",0},
3328 { "_wxPaintEvent","_class_wxPaintEvent",0},
3329 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3330 { "_wxCursor","_class_wxCursor",0},
3331 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3332 { "_class_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3333 { "_class_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3334 { "_class_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3335 { "_class_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3336 { "_class_wxToolBarBase","_wxToolBarBase",0},
3337 { "_wxMask","_class_wxMask",0},
3338 { "_wxPen","_class_wxPen",0},
3339 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3340 { "_byte","_unsigned_char",0},
3341 { "_wxDataObject","_class_wxDataObject",0},
3342 { "_wxStaticBox","_class_wxStaticBox",0},
3343 { "_wxColourDatabase","_class_wxColourDatabase",0},
3344 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3345 { "_wxPyDropSource","_class_wxPyDropSource",0},
3346 { "_wxChoice","_class_wxChoice",0},
3347 { "_wxSlider","_class_wxSlider",0},
3348 { "_long","_unsigned_long",0},
3349 { "_long","_signed_long",0},
3350 { "_wxImageList","_class_wxImageList",0},
3351 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3352 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3353 { "_wxBitmapButton","_class_wxBitmapButton",0},
3354 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3355 { "_class_wxClipboard","_wxClipboard",0},
3356 { "_class_wxGauge","_wxGauge",0},
3357 { "_wxDC","_class_wxDC",0},
3358 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3359 { "_wxSpinEvent","_class_wxSpinEvent",0},
3360 { "_size_t","_wxCoord",0},
3361 { "_size_t","_wxPrintQuality",0},
3362 { "_size_t","_time_t",0},
3363 { "_size_t","_unsigned_int",0},
3364 { "_size_t","_int",0},
3365 { "_size_t","_wxWindowID",0},
3366 { "_size_t","_uint",0},
3367 { "_class_wxRealPoint","_wxRealPoint",0},
3368 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
3369 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
3370 { "_class_wxMenuItem","_wxMenuItem",0},
3371 { "_class_wxPaintEvent","_wxPaintEvent",0},
3372 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3373 { "_class_wxStatusBar","_wxStatusBar",0},
3374 { "_wxPanel","_class_wxPanel",0},
3375 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3376 { "_wxCheckBox","_class_wxCheckBox",0},
3377 { "_wxPyEvent","_class_wxPyEvent",0},
3378 { "_wxTextCtrl","_class_wxTextCtrl",0},
3379 { "_class_wxMask","_wxMask",0},
3380 { "_wxTextDataObject","_class_wxTextDataObject",0},
3381 { "_class_wxKeyEvent","_wxKeyEvent",0},
3382 { "_wxColour","_class_wxColour",0},
3383 { "_class_wxDialog","_wxDialog",0},
3384 { "_class_wxFileDataObject","_wxFileDataObject",0},
3385 { "_wxIdleEvent","_class_wxIdleEvent",0},
3386 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3387 { "_wxToolBar","_class_wxToolBar",0},
3388 { "_class_wxDataObject","_wxDataObject",0},
3389 { "_wxStaticLine","_class_wxStaticLine",0},
3390 { "_wxBrush","_class_wxBrush",0},
3391 { "_wxToggleButton","_class_wxToggleButton",0},
3392 { "_wxDataFormat","_class_wxDataFormat",0},
3393 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3394 { "_wxShowEvent","_class_wxShowEvent",0},
3395 { "_uint","_wxCoord",0},
3396 { "_uint","_wxPrintQuality",0},
3397 { "_uint","_time_t",0},
3398 { "_uint","_size_t",0},
3399 { "_uint","_unsigned_int",0},
3400 { "_uint","_int",0},
3401 { "_uint","_wxWindowID",0},
3402 { "_wxChar","_char",0},
3403 { "_wxPyValidator","_class_wxPyValidator",0},
3404 { "_class_wxEvent","_wxEvent",0},
3405 { "_wxCheckListBox","_class_wxCheckListBox",0},
3406 { "_wxRect","_class_wxRect",0},
3407 { "_wxCommandEvent","_class_wxCommandEvent",0},
3408 { "_wxSizeEvent","_class_wxSizeEvent",0},
3409 { "_wxPoint","_class_wxPoint",0},
3410 { "_class_wxButton","_wxButton",0},
3411 { "_wxRadioBox","_class_wxRadioBox",0},
3412 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
3413 { "_char","_wxChar",0},
3414 { "_wxBitmap","_class_wxBitmap",0},
3415 { "_wxPenList","_class_wxPenList",0},
3416 { "_wxWindowDC","_class_wxWindowDC",0},
3417 { "_wxTimerEvent","_class_wxTimerEvent",0},
3418 { "_wxScrollBar","_class_wxScrollBar",0},
3419 { "_wxSpinButton","_class_wxSpinButton",0},
3420 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3421 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3422 { "_class_wxValidator","_wxValidator",0},
3423 { "_class_wxPyEvent","_wxPyEvent",0},
3424 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3425 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
3426 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
3427 { "_class_wxToolBar","_wxToolBar",0},
3428 { "_wxDropTarget","_class_wxDropTarget",0},
3429 { "_class_wxStaticLine","_wxStaticLine",0},
3430 { "_class_wxColourDatabase","_wxColourDatabase",0},
3431 { "_wxScrollEvent","_class_wxScrollEvent",0},
3432 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
3433 { "_EBool","_wxCoord",0},
3434 { "_EBool","_wxPrintQuality",0},
3435 { "_EBool","_signed_int",0},
3436 { "_EBool","_int",0},
3437 { "_EBool","_wxWindowID",0},
3438 { "_class_wxRegion","_wxRegion",0},
3439 { "_class_wxDataFormat","_wxDataFormat",0},
3440 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3441 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
3442 { "_wxStaticText","_class_wxStaticText",0},
3443 { "_wxFont","_class_wxFont",0},
3444 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3445 { "_wxCloseEvent","_class_wxCloseEvent",0},
3446 { "_unsigned_long","_long",0},
3447 { "_class_wxRect","_wxRect",0},
3448 { "_class_wxDC","_wxDC",0},
3449 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3450 { "_class_wxBrushList","_wxBrushList",0},
3451 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
3452 { "_class_wxPenList","_wxPenList",0},
3453 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
3454 { "_wxFocusEvent","_class_wxFocusEvent",0},
3455 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3456 { "_class_wxTimerEvent","_wxTimerEvent",0},
3457 { "_class_wxSpinButton","_wxSpinButton",0},
3458 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3459 { "_class_wxPanel","_wxPanel",0},
3460 { "_class_wxCheckBox","_wxCheckBox",0},
3461 { "_wxComboBox","_class_wxComboBox",0},
3462 { "_wxRadioButton","_class_wxRadioButton",0},
3463 { "_signed_int","_wxCoord",0},
3464 { "_signed_int","_wxPrintQuality",0},
3465 { "_signed_int","_EBool",0},
3466 { "_signed_int","_wxWindowID",0},
3467 { "_signed_int","_int",0},
3468 { "_class_wxTextCtrl","_wxTextCtrl",0},
3469 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3470 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3471 { "_class_wxTextDataObject","_wxTextDataObject",0},
3472 { "_wxMenu","_class_wxMenu",0},
3473 { "_class_wxMoveEvent","_wxMoveEvent",0},
3474 { "_wxListBox","_class_wxListBox",0},
3475 { "_wxScreenDC","_class_wxScreenDC",0},
3476 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
3477 { "_WXTYPE","_short",0},
3478 { "_WXTYPE","_signed_short",0},
3479 { "_WXTYPE","_unsigned_short",0},
3480 { "_class_wxDropTarget","_wxDropTarget",0},
3481 { "_class_wxBrush","_wxBrush",0},
3482 { "_unsigned_short","_WXTYPE",0},
3483 { "_unsigned_short","_short",0},
3484 { "_class_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3485 { "_class_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3486 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
3487 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
3488 { "_class_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3489 { "_class_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3490 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
3491 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
3492 { "_class_wxWindow","_wxWindow",0},
3493 { "_class_wxStaticText","_wxStaticText",0},
3494 { "_class_wxFont","_wxFont",0},
3495 { "_wxClipboard","_class_wxClipboard",0},
3496 { "_class_wxPyValidator","_wxPyValidator",0},
3497 { "_class_wxCloseEvent","_wxCloseEvent",0},
3498 { "_wxBusyInfo","_class_wxBusyInfo",0},
3499 { "_wxFontList","_class_wxFontList",0},
3500 { "_class_wxMenuEvent","_wxMenuEvent",0},
3501 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3502 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3503 { "_wxClientDC","_class_wxClientDC",0},
3504 { "_wxMouseEvent","_class_wxMouseEvent",0},
3505 { "_class_wxPoint","_wxPoint",0},
3506 { "_wxRealPoint","_class_wxRealPoint",0},
3507 { "_class_wxRadioBox","_wxRadioBox",0},
3508 { "_signed_short","_WXTYPE",0},
3509 { "_signed_short","_short",0},
3510 { "_wxMemoryDC","_class_wxMemoryDC",0},
3511 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3512 { "_wxPaintDC","_class_wxPaintDC",0},
3513 { "_class_wxWindowDC","_wxWindowDC",0},
3514 { "_class_wxFocusEvent","_wxFocusEvent",0},
3515 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3516 { "_wxStatusBar","_class_wxStatusBar",0},
3517 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3518 { "_class_wxCursor","_wxCursor",0},
3519 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3520 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3521 { "_unsigned_char","_byte",0},
3522 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3523 { "_class_wxMenu","_wxMenu",0},
3524 { "_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3525 { "_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3526 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3527 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3528 { "_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3529 { "_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3530 { "_wxControl","_class_wxControl",0},
3531 { "_class_wxListBox","_wxListBox",0},
3532 { "_unsigned_int","_wxCoord",0},
3533 { "_unsigned_int","_wxPrintQuality",0},
3534 { "_unsigned_int","_time_t",0},
3535 { "_unsigned_int","_size_t",0},
3536 { "_unsigned_int","_uint",0},
3537 { "_unsigned_int","_wxWindowID",0},
3538 { "_unsigned_int","_int",0},
3539 { "_wxIcon","_class_wxIcon",0},
3540 { "_wxDialog","_class_wxDialog",0},
3541 { "_class_wxPen","_wxPen",0},
3542 { "_short","_WXTYPE",0},
3543 { "_short","_unsigned_short",0},
3544 { "_short","_signed_short",0},
3545 { "_class_wxStaticBox","_wxStaticBox",0},
3546 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3547 { "_class_wxPyDropSource","_wxPyDropSource",0},
3548 { "_class_wxScrollEvent","_wxScrollEvent",0},
3549 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3550 { "_class_wxChoice","_wxChoice",0},
3551 { "_class_wxSlider","_wxSlider",0},
3552 { "_class_wxImageList","_wxImageList",0},
3553 { "_class_wxBitmapButton","_wxBitmapButton",0},
3554 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3555 { "_wxWindowID","_wxCoord",0},
3556 { "_wxWindowID","_wxPrintQuality",0},
3557 { "_wxWindowID","_time_t",0},
3558 { "_wxWindowID","_size_t",0},
3559 { "_wxWindowID","_EBool",0},
3560 { "_wxWindowID","_uint",0},
3561 { "_wxWindowID","_int",0},
3562 { "_wxWindowID","_signed_int",0},
3563 { "_wxWindowID","_unsigned_int",0},
3564 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3565 { "_int","_wxCoord",0},
3566 { "_int","_wxPrintQuality",0},
3567 { "_int","_time_t",0},
3568 { "_int","_size_t",0},
3569 { "_int","_EBool",0},
3570 { "_int","_uint",0},
3571 { "_int","_wxWindowID",0},
3572 { "_int","_unsigned_int",0},
3573 { "_int","_signed_int",0},
3574 { "_class_wxMouseEvent","_wxMouseEvent",0},
3575 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3576 { "_class_wxSpinEvent","_wxSpinEvent",0},
3577 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3578 { "_time_t","_wxCoord",0},
3579 { "_time_t","_wxPrintQuality",0},
3580 { "_time_t","_unsigned_int",0},
3581 { "_time_t","_int",0},
3582 { "_time_t","_wxWindowID",0},
3583 { "_time_t","_uint",0},
3584 { "_time_t","_size_t",0},
3585 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3586 { "_wxButton","_class_wxButton",0},
3587 { "_wxSize","_class_wxSize",0},
3588 { "_wxRegionIterator","_class_wxRegionIterator",0},
3589 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3590 { "_class_wxPaintDC","_wxPaintDC",0},
3591 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3592 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3593 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3594 { "_class_wxComboBox","_wxComboBox",0},
3595 { "_class_wxRadioButton","_wxRadioButton",0},
3596 { "_wxValidator","_class_wxValidator",0},
3597 { "_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3598 { "_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3599 { "_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3600 { "_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3601 { "_wxToolBarBase","_class_wxToolBarBase",0},
3602 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3603 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3604 { "_class_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3605 { "_class_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3606 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3607 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3608 { "_class_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3609 { "_class_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3610 { "_class_wxControl","_wxControl",0},
3611 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3612 { "_class_wxIcon","_wxIcon",0},
3613 { "_class_wxColour","_wxColour",0},
3614 { "_class_wxScreenDC","_wxScreenDC",0},
3615 { "_wxPalette","_class_wxPalette",0},
3616 { "_class_wxIdleEvent","_wxIdleEvent",0},
3617 { "_wxCoord","_int",0},
3618 { "_wxCoord","_signed_int",0},
3619 { "_wxCoord","_unsigned_int",0},
3620 { "_wxCoord","_wxWindowID",0},
3621 { "_wxCoord","_uint",0},
3622 { "_wxCoord","_EBool",0},
3623 { "_wxCoord","_size_t",0},
3624 { "_wxCoord","_time_t",0},
3625 { "_wxCoord","_wxPrintQuality",0},
3626 { "_wxEraseEvent","_class_wxEraseEvent",0},
3627 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3628 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3629 { "_class_wxToggleButton","_wxToggleButton",0},
3630 { "_wxRegion","_class_wxRegion",0},
3631 { "_class_wxShowEvent","_wxShowEvent",0},
3632 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3633 { "_wxActivateEvent","_class_wxActivateEvent",0},
3634 { "_wxGauge","_class_wxGauge",0},
3635 { "_class_wxCheckListBox","_wxCheckListBox",0},
3636 { "_class_wxBusyInfo","_wxBusyInfo",0},
3637 { "_class_wxFontList","_wxFontList",0},
3638 { "_class_wxCommandEvent","_wxCommandEvent",0},
3639 { "_class_wxClientDC","_wxClientDC",0},
3640 { "_class_wxSizeEvent","_wxSizeEvent",0},
3641 { "_wxBrushList","_class_wxBrushList",0},
3642 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3643 { "_class_wxSize","_wxSize",0},
3644 { "_class_wxBitmap","_wxBitmap",0},
3645 { "_class_wxMemoryDC","_wxMemoryDC",0},
3646 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3647 { "_wxMenuBar","_class_wxMenuBar",0},
3648 { "_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3649 { "_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3650 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3651 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3652 { "_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3653 { "_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3654 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3655 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3656 { "_wxEvtHandler","_class_wxEvtHandler",0},
3657 { "_wxMenuItem","_class_wxMenuItem",0},
3658 { "_class_wxScrollBar","_wxScrollBar",0},
3659 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3660 { "_wxKeyEvent","_class_wxKeyEvent",0},
3661 { "_wxMoveEvent","_class_wxMoveEvent",0},
3662 { "_class_wxPalette","_wxPalette",0},
3663 { "_wxFileDataObject","_class_wxFileDataObject",0},
3664 { "_class_wxEraseEvent","_wxEraseEvent",0},
3665 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3666 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
3667 { "_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3668 { "_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3669 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
3670 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
3671 { "_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3672 { "_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3673 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
3674 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
3675 { "_wxWindow","_class_wxWindow",0},
3676 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3679 static PyObject
*SWIG_globals
;
3683 SWIGEXPORT(void) initstattoolc() {
3685 SWIG_globals
= SWIG_newvarlink();
3686 m
= Py_InitModule("stattoolc", stattoolcMethods
);
3687 d
= PyModule_GetDict(m
);
3688 PyDict_SetItemString(d
,"wxTOOL_STYLE_BUTTON", PyInt_FromLong((long) wxTOOL_STYLE_BUTTON
));
3689 PyDict_SetItemString(d
,"wxTOOL_STYLE_SEPARATOR", PyInt_FromLong((long) wxTOOL_STYLE_SEPARATOR
));
3690 PyDict_SetItemString(d
,"wxTOOL_STYLE_CONTROL", PyInt_FromLong((long) wxTOOL_STYLE_CONTROL
));
3693 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3694 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);