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 static char* wxStringErrorMsg
= "string type is required for parameter";
110 static wxString
wxPyEmptyStr("");
114 static void *SwigwxStatusBarTowxWindow(void *ptr
) {
117 src
= (wxStatusBar
*) ptr
;
118 dest
= (wxWindow
*) src
;
119 return (void *) dest
;
122 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) {
125 src
= (wxStatusBar
*) ptr
;
126 dest
= (wxEvtHandler
*) src
;
127 return (void *) dest
;
130 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
131 static PyObject
*_wrap_new_wxStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
133 wxStatusBar
* _result
;
136 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
137 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
138 long _arg4
= (long ) wxST_SIZEGRIP
;
139 char * _arg5
= (char *) "statusBar";
140 PyObject
* _argo0
= 0;
142 PyObject
* _obj2
= 0;
144 PyObject
* _obj3
= 0;
145 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStatusBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
161 if (! wxPoint_helper(_obj2
, &_arg2
))
167 if (! wxSize_helper(_obj3
, &_arg3
))
171 wxPy_BEGIN_ALLOW_THREADS
;
172 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
174 wxPy_END_ALLOW_THREADS
;
176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
177 _resultobj
= Py_BuildValue("s",_ptemp
);
180 _resultobj
= Py_None
;
185 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
186 wxRect
* rect
= new wxRect
;
187 self
->GetFieldRect(item
, *rect
);
190 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
191 PyObject
* _resultobj
;
195 PyObject
* _argo0
= 0;
196 char *_kwnames
[] = { "self","item", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxStatusBar_GetFieldRect",_kwnames
,&_argo0
,&_arg1
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
210 wxPy_BEGIN_ALLOW_THREADS
;
211 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
213 wxPy_END_ALLOW_THREADS
;
215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
216 _resultobj
= Py_BuildValue("s",_ptemp
);
219 _resultobj
= Py_None
;
224 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
225 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
229 PyObject
* _argo0
= 0;
230 char *_kwnames
[] = { "self", NULL
};
233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetFieldsCount",_kwnames
,&_argo0
))
236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
243 wxPy_BEGIN_ALLOW_THREADS
;
244 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
246 wxPy_END_ALLOW_THREADS
;
247 } _resultobj
= Py_BuildValue("i",_result
);
251 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
252 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
253 PyObject
* _resultobj
;
256 int _arg1
= (int ) 0;
257 PyObject
* _argo0
= 0;
258 char *_kwnames
[] = { "self","ir", NULL
};
261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_GetStatusText",_kwnames
,&_argo0
,&_arg1
))
264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
271 wxPy_BEGIN_ALLOW_THREADS
;
272 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
274 wxPy_END_ALLOW_THREADS
;
276 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
284 #define wxStatusBar_GetBorderX(_swigobj) (_swigobj->GetBorderX())
285 static PyObject
*_wrap_wxStatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
286 PyObject
* _resultobj
;
289 PyObject
* _argo0
= 0;
290 char *_kwnames
[] = { "self", NULL
};
293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderX",_kwnames
,&_argo0
))
296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderX. Expected _wxStatusBar_p.");
303 wxPy_BEGIN_ALLOW_THREADS
;
304 _result
= (int )wxStatusBar_GetBorderX(_arg0
);
306 wxPy_END_ALLOW_THREADS
;
307 } _resultobj
= Py_BuildValue("i",_result
);
311 #define wxStatusBar_GetBorderY(_swigobj) (_swigobj->GetBorderY())
312 static PyObject
*_wrap_wxStatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
313 PyObject
* _resultobj
;
316 PyObject
* _argo0
= 0;
317 char *_kwnames
[] = { "self", NULL
};
320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderY",_kwnames
,&_argo0
))
323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderY. Expected _wxStatusBar_p.");
330 wxPy_BEGIN_ALLOW_THREADS
;
331 _result
= (int )wxStatusBar_GetBorderY(_arg0
);
333 wxPy_END_ALLOW_THREADS
;
334 } _resultobj
= Py_BuildValue("i",_result
);
338 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
339 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
340 PyObject
* _resultobj
;
342 int _arg1
= (int ) 1;
343 PyObject
* _argo0
= 0;
344 char *_kwnames
[] = { "self","number", NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_SetFieldsCount",_kwnames
,&_argo0
,&_arg1
))
350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
357 wxPy_BEGIN_ALLOW_THREADS
;
358 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
360 wxPy_END_ALLOW_THREADS
;
361 } Py_INCREF(Py_None
);
362 _resultobj
= Py_None
;
366 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
367 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
371 int _arg2
= (int ) 0;
372 PyObject
* _argo0
= 0;
373 PyObject
* _obj1
= 0;
374 char *_kwnames
[] = { "self","text","i", NULL
};
377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxStatusBar_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
387 #if PYTHON_API_VERSION >= 1009
388 char* tmpPtr
; int tmpSize
;
389 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
390 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
393 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
395 _arg1
= new wxString(tmpPtr
, tmpSize
);
397 if (!PyString_Check(_obj1
)) {
398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
401 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
405 wxPy_BEGIN_ALLOW_THREADS
;
406 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
408 wxPy_END_ALLOW_THREADS
;
409 } Py_INCREF(Py_None
);
410 _resultobj
= Py_None
;
418 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
419 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
420 PyObject
* _resultobj
;
424 PyObject
* _argo0
= 0;
425 PyObject
* _obj2
= 0;
426 char *_kwnames
[] = { "self","choices", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStatusBar_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
440 _arg2
= int_LIST_helper(_obj2
);
447 _arg1
= PyList_Size(_obj2
);
454 wxPy_BEGIN_ALLOW_THREADS
;
455 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
457 wxPy_END_ALLOW_THREADS
;
458 } Py_INCREF(Py_None
);
459 _resultobj
= Py_None
;
466 #define wxStatusBar_SetMinHeight(_swigobj,_swigarg0) (_swigobj->SetMinHeight(_swigarg0))
467 static PyObject
*_wrap_wxStatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
468 PyObject
* _resultobj
;
471 PyObject
* _argo0
= 0;
472 char *_kwnames
[] = { "self","height", NULL
};
475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStatusBar_SetMinHeight",_kwnames
,&_argo0
,&_arg1
))
478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetMinHeight. Expected _wxStatusBar_p.");
485 wxPy_BEGIN_ALLOW_THREADS
;
486 wxStatusBar_SetMinHeight(_arg0
,_arg1
);
488 wxPy_END_ALLOW_THREADS
;
489 } Py_INCREF(Py_None
);
490 _resultobj
= Py_None
;
494 static void wxToolBarToolBase_Destroy(wxToolBarToolBase
*self
) { delete self
; }
495 static PyObject
*_wrap_wxToolBarToolBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
497 wxToolBarToolBase
* _arg0
;
498 PyObject
* _argo0
= 0;
499 char *_kwnames
[] = { "self", NULL
};
502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Destroy",_kwnames
,&_argo0
))
505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Destroy. Expected _wxToolBarToolBase_p.");
512 wxPy_BEGIN_ALLOW_THREADS
;
513 wxToolBarToolBase_Destroy(_arg0
);
515 wxPy_END_ALLOW_THREADS
;
516 } Py_INCREF(Py_None
);
517 _resultobj
= Py_None
;
521 #define wxToolBarToolBase_GetId(_swigobj) (_swigobj->GetId())
522 static PyObject
*_wrap_wxToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
523 PyObject
* _resultobj
;
525 wxToolBarToolBase
* _arg0
;
526 PyObject
* _argo0
= 0;
527 char *_kwnames
[] = { "self", NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetId",_kwnames
,&_argo0
))
533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetId. Expected _wxToolBarToolBase_p.");
540 wxPy_BEGIN_ALLOW_THREADS
;
541 _result
= (int )wxToolBarToolBase_GetId(_arg0
);
543 wxPy_END_ALLOW_THREADS
;
544 } _resultobj
= Py_BuildValue("i",_result
);
548 #define wxToolBarToolBase_GetControl(_swigobj) (_swigobj->GetControl())
549 static PyObject
*_wrap_wxToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
552 wxToolBarToolBase
* _arg0
;
553 PyObject
* _argo0
= 0;
554 char *_kwnames
[] = { "self", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetControl",_kwnames
,&_argo0
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetControl. Expected _wxToolBarToolBase_p.");
568 wxPy_BEGIN_ALLOW_THREADS
;
569 _result
= (wxControl
*)wxToolBarToolBase_GetControl(_arg0
);
571 wxPy_END_ALLOW_THREADS
;
573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
574 _resultobj
= Py_BuildValue("s",_ptemp
);
577 _resultobj
= Py_None
;
582 #define wxToolBarToolBase_GetToolBar(_swigobj) (_swigobj->GetToolBar())
583 static PyObject
*_wrap_wxToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
585 wxToolBarBase
* _result
;
586 wxToolBarToolBase
* _arg0
;
587 PyObject
* _argo0
= 0;
588 char *_kwnames
[] = { "self", NULL
};
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetToolBar",_kwnames
,&_argo0
))
595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetToolBar. Expected _wxToolBarToolBase_p.");
602 wxPy_BEGIN_ALLOW_THREADS
;
603 _result
= (wxToolBarBase
*)wxToolBarToolBase_GetToolBar(_arg0
);
605 wxPy_END_ALLOW_THREADS
;
607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarBase_p");
608 _resultobj
= Py_BuildValue("s",_ptemp
);
611 _resultobj
= Py_None
;
616 #define wxToolBarToolBase_IsButton(_swigobj) (_swigobj->IsButton())
617 static PyObject
*_wrap_wxToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
618 PyObject
* _resultobj
;
620 wxToolBarToolBase
* _arg0
;
621 PyObject
* _argo0
= 0;
622 char *_kwnames
[] = { "self", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsButton",_kwnames
,&_argo0
))
628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsButton. Expected _wxToolBarToolBase_p.");
635 wxPy_BEGIN_ALLOW_THREADS
;
636 _result
= (int )wxToolBarToolBase_IsButton(_arg0
);
638 wxPy_END_ALLOW_THREADS
;
639 } _resultobj
= Py_BuildValue("i",_result
);
643 #define wxToolBarToolBase_IsControl(_swigobj) (_swigobj->IsControl())
644 static PyObject
*_wrap_wxToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
647 wxToolBarToolBase
* _arg0
;
648 PyObject
* _argo0
= 0;
649 char *_kwnames
[] = { "self", NULL
};
652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsControl",_kwnames
,&_argo0
))
655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsControl. Expected _wxToolBarToolBase_p.");
662 wxPy_BEGIN_ALLOW_THREADS
;
663 _result
= (int )wxToolBarToolBase_IsControl(_arg0
);
665 wxPy_END_ALLOW_THREADS
;
666 } _resultobj
= Py_BuildValue("i",_result
);
670 #define wxToolBarToolBase_IsSeparator(_swigobj) (_swigobj->IsSeparator())
671 static PyObject
*_wrap_wxToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
672 PyObject
* _resultobj
;
674 wxToolBarToolBase
* _arg0
;
675 PyObject
* _argo0
= 0;
676 char *_kwnames
[] = { "self", NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsSeparator",_kwnames
,&_argo0
))
682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsSeparator. Expected _wxToolBarToolBase_p.");
689 wxPy_BEGIN_ALLOW_THREADS
;
690 _result
= (int )wxToolBarToolBase_IsSeparator(_arg0
);
692 wxPy_END_ALLOW_THREADS
;
693 } _resultobj
= Py_BuildValue("i",_result
);
697 #define wxToolBarToolBase_GetStyle(_swigobj) (_swigobj->GetStyle())
698 static PyObject
*_wrap_wxToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
701 wxToolBarToolBase
* _arg0
;
702 PyObject
* _argo0
= 0;
703 char *_kwnames
[] = { "self", NULL
};
706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetStyle",_kwnames
,&_argo0
))
709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetStyle. Expected _wxToolBarToolBase_p.");
716 wxPy_BEGIN_ALLOW_THREADS
;
717 _result
= (int )wxToolBarToolBase_GetStyle(_arg0
);
719 wxPy_END_ALLOW_THREADS
;
720 } _resultobj
= Py_BuildValue("i",_result
);
724 #define wxToolBarToolBase_IsEnabled(_swigobj) (_swigobj->IsEnabled())
725 static PyObject
*_wrap_wxToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
726 PyObject
* _resultobj
;
728 wxToolBarToolBase
* _arg0
;
729 PyObject
* _argo0
= 0;
730 char *_kwnames
[] = { "self", NULL
};
733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsEnabled",_kwnames
,&_argo0
))
736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsEnabled. Expected _wxToolBarToolBase_p.");
743 wxPy_BEGIN_ALLOW_THREADS
;
744 _result
= (bool )wxToolBarToolBase_IsEnabled(_arg0
);
746 wxPy_END_ALLOW_THREADS
;
747 } _resultobj
= Py_BuildValue("i",_result
);
751 #define wxToolBarToolBase_IsToggled(_swigobj) (_swigobj->IsToggled())
752 static PyObject
*_wrap_wxToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
755 wxToolBarToolBase
* _arg0
;
756 PyObject
* _argo0
= 0;
757 char *_kwnames
[] = { "self", NULL
};
760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsToggled",_kwnames
,&_argo0
))
763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsToggled. Expected _wxToolBarToolBase_p.");
770 wxPy_BEGIN_ALLOW_THREADS
;
771 _result
= (bool )wxToolBarToolBase_IsToggled(_arg0
);
773 wxPy_END_ALLOW_THREADS
;
774 } _resultobj
= Py_BuildValue("i",_result
);
778 #define wxToolBarToolBase_CanBeToggled(_swigobj) (_swigobj->CanBeToggled())
779 static PyObject
*_wrap_wxToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
782 wxToolBarToolBase
* _arg0
;
783 PyObject
* _argo0
= 0;
784 char *_kwnames
[] = { "self", NULL
};
787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_CanBeToggled",_kwnames
,&_argo0
))
790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_CanBeToggled. Expected _wxToolBarToolBase_p.");
797 wxPy_BEGIN_ALLOW_THREADS
;
798 _result
= (bool )wxToolBarToolBase_CanBeToggled(_arg0
);
800 wxPy_END_ALLOW_THREADS
;
801 } _resultobj
= Py_BuildValue("i",_result
);
805 #define wxToolBarToolBase_GetBitmap1(_swigobj) (_swigobj->GetBitmap1())
806 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
809 wxToolBarToolBase
* _arg0
;
810 PyObject
* _argo0
= 0;
811 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap1",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap1. Expected _wxToolBarToolBase_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap1(_arg0
);
827 _result
= (wxBitmap
*) &_result_ref
;
829 wxPy_END_ALLOW_THREADS
;
831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
832 _resultobj
= Py_BuildValue("s",_ptemp
);
835 _resultobj
= Py_None
;
840 #define wxToolBarToolBase_GetBitmap2(_swigobj) (_swigobj->GetBitmap2())
841 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
842 PyObject
* _resultobj
;
844 wxToolBarToolBase
* _arg0
;
845 PyObject
* _argo0
= 0;
846 char *_kwnames
[] = { "self", NULL
};
850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap2",_kwnames
,&_argo0
))
853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap2. Expected _wxToolBarToolBase_p.");
860 wxPy_BEGIN_ALLOW_THREADS
;
861 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap2(_arg0
);
862 _result
= (wxBitmap
*) &_result_ref
;
864 wxPy_END_ALLOW_THREADS
;
866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
867 _resultobj
= Py_BuildValue("s",_ptemp
);
870 _resultobj
= Py_None
;
875 #define wxToolBarToolBase_GetBitmap(_swigobj) (_swigobj->GetBitmap())
876 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
879 wxToolBarToolBase
* _arg0
;
880 PyObject
* _argo0
= 0;
881 char *_kwnames
[] = { "self", NULL
};
885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap",_kwnames
,&_argo0
))
888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap. Expected _wxToolBarToolBase_p.");
895 wxPy_BEGIN_ALLOW_THREADS
;
896 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap(_arg0
);
897 _result
= (wxBitmap
*) &_result_ref
;
899 wxPy_END_ALLOW_THREADS
;
901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
902 _resultobj
= Py_BuildValue("s",_ptemp
);
905 _resultobj
= Py_None
;
910 #define wxToolBarToolBase_GetShortHelp(_swigobj) (_swigobj->GetShortHelp())
911 static PyObject
*_wrap_wxToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
914 wxToolBarToolBase
* _arg0
;
915 PyObject
* _argo0
= 0;
916 char *_kwnames
[] = { "self", NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetShortHelp",_kwnames
,&_argo0
))
922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetShortHelp. Expected _wxToolBarToolBase_p.");
929 wxPy_BEGIN_ALLOW_THREADS
;
930 _result
= new wxString (wxToolBarToolBase_GetShortHelp(_arg0
));
932 wxPy_END_ALLOW_THREADS
;
934 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
942 #define wxToolBarToolBase_GetLongHelp(_swigobj) (_swigobj->GetLongHelp())
943 static PyObject
*_wrap_wxToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* _resultobj
;
946 wxToolBarToolBase
* _arg0
;
947 PyObject
* _argo0
= 0;
948 char *_kwnames
[] = { "self", NULL
};
951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetLongHelp",_kwnames
,&_argo0
))
954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetLongHelp. Expected _wxToolBarToolBase_p.");
961 wxPy_BEGIN_ALLOW_THREADS
;
962 _result
= new wxString (wxToolBarToolBase_GetLongHelp(_arg0
));
964 wxPy_END_ALLOW_THREADS
;
966 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
974 #define wxToolBarToolBase_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
975 static PyObject
*_wrap_wxToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 PyObject
* _resultobj
;
978 wxToolBarToolBase
* _arg0
;
980 PyObject
* _argo0
= 0;
982 char *_kwnames
[] = { "self","enable", NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Enable",_kwnames
,&_argo0
,&tempbool1
))
988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Enable. Expected _wxToolBarToolBase_p.");
994 _arg1
= (bool ) tempbool1
;
996 wxPy_BEGIN_ALLOW_THREADS
;
997 _result
= (bool )wxToolBarToolBase_Enable(_arg0
,_arg1
);
999 wxPy_END_ALLOW_THREADS
;
1000 } _resultobj
= Py_BuildValue("i",_result
);
1004 #define wxToolBarToolBase_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
1005 static PyObject
*_wrap_wxToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1008 wxToolBarToolBase
* _arg0
;
1010 PyObject
* _argo0
= 0;
1012 char *_kwnames
[] = { "self","toggle", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Toggle",_kwnames
,&_argo0
,&tempbool1
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Toggle. Expected _wxToolBarToolBase_p.");
1024 _arg1
= (bool ) tempbool1
;
1026 wxPy_BEGIN_ALLOW_THREADS
;
1027 _result
= (bool )wxToolBarToolBase_Toggle(_arg0
,_arg1
);
1029 wxPy_END_ALLOW_THREADS
;
1030 } _resultobj
= Py_BuildValue("i",_result
);
1034 #define wxToolBarToolBase_SetToggle(_swigobj,_swigarg0) (_swigobj->SetToggle(_swigarg0))
1035 static PyObject
*_wrap_wxToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1038 wxToolBarToolBase
* _arg0
;
1040 PyObject
* _argo0
= 0;
1042 char *_kwnames
[] = { "self","toggle", NULL
};
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_SetToggle",_kwnames
,&_argo0
,&tempbool1
))
1048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetToggle. Expected _wxToolBarToolBase_p.");
1054 _arg1
= (bool ) tempbool1
;
1056 wxPy_BEGIN_ALLOW_THREADS
;
1057 _result
= (bool )wxToolBarToolBase_SetToggle(_arg0
,_arg1
);
1059 wxPy_END_ALLOW_THREADS
;
1060 } _resultobj
= Py_BuildValue("i",_result
);
1064 #define wxToolBarToolBase_SetShortHelp(_swigobj,_swigarg0) (_swigobj->SetShortHelp(_swigarg0))
1065 static PyObject
*_wrap_wxToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1068 wxToolBarToolBase
* _arg0
;
1070 PyObject
* _argo0
= 0;
1071 PyObject
* _obj1
= 0;
1072 char *_kwnames
[] = { "self","help", NULL
};
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetShortHelp",_kwnames
,&_argo0
,&_obj1
))
1078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetShortHelp. Expected _wxToolBarToolBase_p.");
1085 #if PYTHON_API_VERSION >= 1009
1086 char* tmpPtr
; int tmpSize
;
1087 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1088 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1091 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1093 _arg1
= new wxString(tmpPtr
, tmpSize
);
1095 if (!PyString_Check(_obj1
)) {
1096 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1099 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 _result
= (bool )wxToolBarToolBase_SetShortHelp(_arg0
,*_arg1
);
1106 wxPy_END_ALLOW_THREADS
;
1107 } _resultobj
= Py_BuildValue("i",_result
);
1115 #define wxToolBarToolBase_SetLongHelp(_swigobj,_swigarg0) (_swigobj->SetLongHelp(_swigarg0))
1116 static PyObject
*_wrap_wxToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1119 wxToolBarToolBase
* _arg0
;
1121 PyObject
* _argo0
= 0;
1122 PyObject
* _obj1
= 0;
1123 char *_kwnames
[] = { "self","help", NULL
};
1126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetLongHelp",_kwnames
,&_argo0
,&_obj1
))
1129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetLongHelp. Expected _wxToolBarToolBase_p.");
1136 #if PYTHON_API_VERSION >= 1009
1137 char* tmpPtr
; int tmpSize
;
1138 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1139 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1142 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1144 _arg1
= new wxString(tmpPtr
, tmpSize
);
1146 if (!PyString_Check(_obj1
)) {
1147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1150 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1154 wxPy_BEGIN_ALLOW_THREADS
;
1155 _result
= (bool )wxToolBarToolBase_SetLongHelp(_arg0
,*_arg1
);
1157 wxPy_END_ALLOW_THREADS
;
1158 } _resultobj
= Py_BuildValue("i",_result
);
1166 #define wxToolBarToolBase_SetBitmap1(_swigobj,_swigarg0) (_swigobj->SetBitmap1(_swigarg0))
1167 static PyObject
*_wrap_wxToolBarToolBase_SetBitmap1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1169 wxToolBarToolBase
* _arg0
;
1171 PyObject
* _argo0
= 0;
1172 PyObject
* _argo1
= 0;
1173 char *_kwnames
[] = { "self","bmp", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetBitmap1",_kwnames
,&_argo0
,&_argo1
))
1179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetBitmap1. Expected _wxToolBarToolBase_p.");
1186 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetBitmap1. Expected _wxBitmap_p.");
1193 wxPy_BEGIN_ALLOW_THREADS
;
1194 wxToolBarToolBase_SetBitmap1(_arg0
,*_arg1
);
1196 wxPy_END_ALLOW_THREADS
;
1197 } Py_INCREF(Py_None
);
1198 _resultobj
= Py_None
;
1202 #define wxToolBarToolBase_SetBitmap2(_swigobj,_swigarg0) (_swigobj->SetBitmap2(_swigarg0))
1203 static PyObject
*_wrap_wxToolBarToolBase_SetBitmap2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1205 wxToolBarToolBase
* _arg0
;
1207 PyObject
* _argo0
= 0;
1208 PyObject
* _argo1
= 0;
1209 char *_kwnames
[] = { "self","bmp", NULL
};
1212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetBitmap2",_kwnames
,&_argo0
,&_argo1
))
1215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetBitmap2. Expected _wxToolBarToolBase_p.");
1222 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1223 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetBitmap2. Expected _wxBitmap_p.");
1229 wxPy_BEGIN_ALLOW_THREADS
;
1230 wxToolBarToolBase_SetBitmap2(_arg0
,*_arg1
);
1232 wxPy_END_ALLOW_THREADS
;
1233 } Py_INCREF(Py_None
);
1234 _resultobj
= Py_None
;
1238 #define wxToolBarToolBase_Detach(_swigobj) (_swigobj->Detach())
1239 static PyObject
*_wrap_wxToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
* _resultobj
;
1241 wxToolBarToolBase
* _arg0
;
1242 PyObject
* _argo0
= 0;
1243 char *_kwnames
[] = { "self", NULL
};
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Detach",_kwnames
,&_argo0
))
1249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Detach. Expected _wxToolBarToolBase_p.");
1256 wxPy_BEGIN_ALLOW_THREADS
;
1257 wxToolBarToolBase_Detach(_arg0
);
1259 wxPy_END_ALLOW_THREADS
;
1260 } Py_INCREF(Py_None
);
1261 _resultobj
= Py_None
;
1265 #define wxToolBarToolBase_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
1266 static PyObject
*_wrap_wxToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
* _resultobj
;
1268 wxToolBarToolBase
* _arg0
;
1269 wxToolBarBase
* _arg1
;
1270 PyObject
* _argo0
= 0;
1271 PyObject
* _argo1
= 0;
1272 char *_kwnames
[] = { "self","tbar", NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_Attach",_kwnames
,&_argo0
,&_argo1
))
1278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Attach. Expected _wxToolBarToolBase_p.");
1285 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1286 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBarBase_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_Attach. Expected _wxToolBarBase_p.");
1292 wxPy_BEGIN_ALLOW_THREADS
;
1293 wxToolBarToolBase_Attach(_arg0
,_arg1
);
1295 wxPy_END_ALLOW_THREADS
;
1296 } Py_INCREF(Py_None
);
1297 _resultobj
= Py_None
;
1301 static PyObject
* wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
) {
1302 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1304 Py_INCREF(udata
->m_obj
);
1305 return udata
->m_obj
;
1311 static PyObject
*_wrap_wxToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
* _resultobj
;
1314 wxToolBarToolBase
* _arg0
;
1315 PyObject
* _argo0
= 0;
1316 char *_kwnames
[] = { "self", NULL
};
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetClientData",_kwnames
,&_argo0
))
1322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetClientData. Expected _wxToolBarToolBase_p.");
1329 wxPy_BEGIN_ALLOW_THREADS
;
1330 _result
= (PyObject
*)wxToolBarToolBase_GetClientData(_arg0
);
1332 wxPy_END_ALLOW_THREADS
;
1334 _resultobj
= _result
;
1339 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
* clientData
) {
1340 self
->SetClientData(new wxPyUserData(clientData
));
1342 static PyObject
*_wrap_wxToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1344 wxToolBarToolBase
* _arg0
;
1346 PyObject
* _argo0
= 0;
1347 PyObject
* _obj1
= 0;
1348 char *_kwnames
[] = { "self","clientData", NULL
};
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetClientData",_kwnames
,&_argo0
,&_obj1
))
1354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetClientData. Expected _wxToolBarToolBase_p.");
1364 wxPy_BEGIN_ALLOW_THREADS
;
1365 wxToolBarToolBase_SetClientData(_arg0
,_arg1
);
1367 wxPy_END_ALLOW_THREADS
;
1368 } Py_INCREF(Py_None
);
1369 _resultobj
= Py_None
;
1373 static void *SwigwxToolBarBaseTowxControl(void *ptr
) {
1376 src
= (wxToolBarBase
*) ptr
;
1377 dest
= (wxControl
*) src
;
1378 return (void *) dest
;
1381 static void *SwigwxToolBarBaseTowxWindow(void *ptr
) {
1384 src
= (wxToolBarBase
*) ptr
;
1385 dest
= (wxWindow
*) src
;
1386 return (void *) dest
;
1389 static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr
) {
1392 src
= (wxToolBarBase
*) ptr
;
1393 dest
= (wxEvtHandler
*) src
;
1394 return (void *) dest
;
1397 static wxToolBarToolBase
* wxToolBarBase_AddTool(wxToolBarBase
*self
,int id
,const wxBitmap
& bitmap
,const wxBitmap
& pushedBitmap
,int isToggle
,PyObject
* clientData
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1398 wxPyUserData
* udata
= NULL
;
1400 udata
= new wxPyUserData(clientData
);
1401 return self
->AddTool(id
, bitmap
, pushedBitmap
, (bool)isToggle
,
1402 udata
, shortHelpString
, longHelpString
);
1404 static PyObject
*_wrap_wxToolBarBase_AddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1406 wxToolBarToolBase
* _result
;
1407 wxToolBarBase
* _arg0
;
1410 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1411 int _arg4
= (int ) FALSE
;
1412 PyObject
* _arg5
= (PyObject
*) NULL
;
1413 wxString
* _arg6
= (wxString
*) &wxPyEmptyStr
;
1414 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1415 PyObject
* _argo0
= 0;
1416 PyObject
* _argo2
= 0;
1417 PyObject
* _argo3
= 0;
1418 PyObject
* _obj5
= 0;
1419 PyObject
* _obj6
= 0;
1420 PyObject
* _obj7
= 0;
1421 char *_kwnames
[] = { "self","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OiOOO:wxToolBarBase_AddTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_obj5
,&_obj6
,&_obj7
))
1428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddTool. Expected _wxToolBarBase_p.");
1435 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1442 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1443 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1454 #if PYTHON_API_VERSION >= 1009
1455 char* tmpPtr
; int tmpSize
;
1456 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
1457 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1460 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
1462 _arg6
= new wxString(tmpPtr
, tmpSize
);
1464 if (!PyString_Check(_obj6
)) {
1465 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1468 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
1473 #if PYTHON_API_VERSION >= 1009
1474 char* tmpPtr
; int tmpSize
;
1475 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
1476 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1479 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
1481 _arg7
= new wxString(tmpPtr
, tmpSize
);
1483 if (!PyString_Check(_obj7
)) {
1484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1487 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
1491 wxPy_BEGIN_ALLOW_THREADS
;
1492 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
);
1494 wxPy_END_ALLOW_THREADS
;
1496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1497 _resultobj
= Py_BuildValue("s",_ptemp
);
1500 _resultobj
= Py_None
;
1513 static wxToolBarToolBase
* wxToolBarBase_AddSimpleTool(wxToolBarBase
*self
,int id
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
,int isToggle
) {
1514 return self
->AddTool(id
, bitmap
, wxNullBitmap
, isToggle
, NULL
,
1515 shortHelpString
, longHelpString
);
1517 static PyObject
*_wrap_wxToolBarBase_AddSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1519 wxToolBarToolBase
* _result
;
1520 wxToolBarBase
* _arg0
;
1523 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1524 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1525 int _arg5
= (int ) FALSE
;
1526 PyObject
* _argo0
= 0;
1527 PyObject
* _argo2
= 0;
1528 PyObject
* _obj3
= 0;
1529 PyObject
* _obj4
= 0;
1530 char *_kwnames
[] = { "self","id","bitmap","shortHelpString","longHelpString","isToggle", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOi:wxToolBarBase_AddSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSimpleTool. Expected _wxToolBarBase_p.");
1544 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddSimpleTool. Expected _wxBitmap_p.");
1552 #if PYTHON_API_VERSION >= 1009
1553 char* tmpPtr
; int tmpSize
;
1554 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1555 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1558 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1560 _arg3
= new wxString(tmpPtr
, tmpSize
);
1562 if (!PyString_Check(_obj3
)) {
1563 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1566 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1571 #if PYTHON_API_VERSION >= 1009
1572 char* tmpPtr
; int tmpSize
;
1573 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
1574 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1577 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
1579 _arg4
= new wxString(tmpPtr
, tmpSize
);
1581 if (!PyString_Check(_obj4
)) {
1582 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1585 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
);
1592 wxPy_END_ALLOW_THREADS
;
1594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1595 _resultobj
= Py_BuildValue("s",_ptemp
);
1598 _resultobj
= Py_None
;
1611 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
) {
1612 wxPyUserData
* udata
= NULL
;
1614 udata
= new wxPyUserData(clientData
);
1615 return self
->InsertTool(pos
, id
, bitmap
, pushedBitmap
, (bool)isToggle
,
1616 udata
, shortHelpString
, longHelpString
);
1618 static PyObject
*_wrap_wxToolBarBase_InsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
* _resultobj
;
1620 wxToolBarToolBase
* _result
;
1621 wxToolBarBase
* _arg0
;
1625 wxBitmap
* _arg4
= (wxBitmap
*) &wxNullBitmap
;
1626 int _arg5
= (int ) FALSE
;
1627 PyObject
* _arg6
= (PyObject
*) NULL
;
1628 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1629 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1630 PyObject
* _argo0
= 0;
1631 PyObject
* _argo3
= 0;
1632 PyObject
* _argo4
= 0;
1633 PyObject
* _obj6
= 0;
1634 PyObject
* _obj7
= 0;
1635 PyObject
* _obj8
= 0;
1636 char *_kwnames
[] = { "self","pos","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OiOOO:wxToolBarBase_InsertTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
,&_arg5
,&_obj6
,&_obj7
,&_obj8
))
1643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertTool. Expected _wxToolBarBase_p.");
1650 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1657 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1658 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxBitmap_p")) {
1659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1669 #if PYTHON_API_VERSION >= 1009
1670 char* tmpPtr
; int tmpSize
;
1671 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
1672 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1675 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
1677 _arg7
= new wxString(tmpPtr
, tmpSize
);
1679 if (!PyString_Check(_obj7
)) {
1680 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1683 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
1688 #if PYTHON_API_VERSION >= 1009
1689 char* tmpPtr
; int tmpSize
;
1690 if (!PyString_Check(_obj8
) && !PyUnicode_Check(_obj8
)) {
1691 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1694 if (PyString_AsStringAndSize(_obj8
, &tmpPtr
, &tmpSize
) == -1)
1696 _arg8
= new wxString(tmpPtr
, tmpSize
);
1698 if (!PyString_Check(_obj8
)) {
1699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1702 _arg8
= new wxString(PyString_AS_STRING(_obj8
), PyString_GET_SIZE(_obj8
));
1706 wxPy_BEGIN_ALLOW_THREADS
;
1707 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1709 wxPy_END_ALLOW_THREADS
;
1711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1712 _resultobj
= Py_BuildValue("s",_ptemp
);
1715 _resultobj
= Py_None
;
1728 static wxToolBarToolBase
* wxToolBarBase_InsertSimpleTool(wxToolBarBase
*self
,size_t pos
,int id
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
,int isToggle
) {
1729 return self
->InsertTool(pos
, id
, bitmap
, wxNullBitmap
, isToggle
, NULL
,
1730 shortHelpString
, longHelpString
);
1732 static PyObject
*_wrap_wxToolBarBase_InsertSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1734 wxToolBarToolBase
* _result
;
1735 wxToolBarBase
* _arg0
;
1739 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1740 wxString
* _arg5
= (wxString
*) &wxPyEmptyStr
;
1741 int _arg6
= (int ) FALSE
;
1742 PyObject
* _argo0
= 0;
1743 PyObject
* _argo3
= 0;
1744 PyObject
* _obj4
= 0;
1745 PyObject
* _obj5
= 0;
1746 char *_kwnames
[] = { "self","pos","id","bitmap","shortHelpString","longHelpString","isToggle", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OOi:wxToolBarBase_InsertSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
))
1753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSimpleTool. Expected _wxToolBarBase_p.");
1760 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1761 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertSimpleTool. Expected _wxBitmap_p.");
1768 #if PYTHON_API_VERSION >= 1009
1769 char* tmpPtr
; int tmpSize
;
1770 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
1771 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1774 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
1776 _arg4
= new wxString(tmpPtr
, tmpSize
);
1778 if (!PyString_Check(_obj4
)) {
1779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1782 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
1787 #if PYTHON_API_VERSION >= 1009
1788 char* tmpPtr
; int tmpSize
;
1789 if (!PyString_Check(_obj5
) && !PyUnicode_Check(_obj5
)) {
1790 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1793 if (PyString_AsStringAndSize(_obj5
, &tmpPtr
, &tmpSize
) == -1)
1795 _arg5
= new wxString(tmpPtr
, tmpSize
);
1797 if (!PyString_Check(_obj5
)) {
1798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1801 _arg5
= new wxString(PyString_AS_STRING(_obj5
), PyString_GET_SIZE(_obj5
));
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertSimpleTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
);
1808 wxPy_END_ALLOW_THREADS
;
1810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1811 _resultobj
= Py_BuildValue("s",_ptemp
);
1814 _resultobj
= Py_None
;
1827 #define wxToolBarBase_AddControl(_swigobj,_swigarg0) (_swigobj->AddControl(_swigarg0))
1828 static PyObject
*_wrap_wxToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1830 wxToolBarToolBase
* _result
;
1831 wxToolBarBase
* _arg0
;
1833 PyObject
* _argo0
= 0;
1834 PyObject
* _argo1
= 0;
1835 char *_kwnames
[] = { "self","control", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_AddControl",_kwnames
,&_argo0
,&_argo1
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddControl. Expected _wxToolBarBase_p.");
1849 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1850 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarBase_AddControl. Expected _wxControl_p.");
1856 wxPy_BEGIN_ALLOW_THREADS
;
1857 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddControl(_arg0
,_arg1
);
1859 wxPy_END_ALLOW_THREADS
;
1861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1862 _resultobj
= Py_BuildValue("s",_ptemp
);
1865 _resultobj
= Py_None
;
1870 #define wxToolBarBase_InsertControl(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertControl(_swigarg0,_swigarg1))
1871 static PyObject
*_wrap_wxToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1872 PyObject
* _resultobj
;
1873 wxToolBarToolBase
* _result
;
1874 wxToolBarBase
* _arg0
;
1877 PyObject
* _argo0
= 0;
1878 PyObject
* _argo2
= 0;
1879 char *_kwnames
[] = { "self","pos","control", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_InsertControl",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertControl. Expected _wxToolBarBase_p.");
1893 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxControl_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_InsertControl. Expected _wxControl_p.");
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertControl(_arg0
,_arg1
,_arg2
);
1903 wxPy_END_ALLOW_THREADS
;
1905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1906 _resultobj
= Py_BuildValue("s",_ptemp
);
1909 _resultobj
= Py_None
;
1914 #define wxToolBarBase_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1915 static PyObject
*_wrap_wxToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
* _resultobj
;
1917 wxToolBarToolBase
* _result
;
1918 wxToolBarBase
* _arg0
;
1919 PyObject
* _argo0
= 0;
1920 char *_kwnames
[] = { "self", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_AddSeparator",_kwnames
,&_argo0
))
1927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSeparator. Expected _wxToolBarBase_p.");
1934 wxPy_BEGIN_ALLOW_THREADS
;
1935 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddSeparator(_arg0
);
1937 wxPy_END_ALLOW_THREADS
;
1939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1940 _resultobj
= Py_BuildValue("s",_ptemp
);
1943 _resultobj
= Py_None
;
1948 #define wxToolBarBase_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
1949 static PyObject
*_wrap_wxToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1951 wxToolBarToolBase
* _result
;
1952 wxToolBarBase
* _arg0
;
1954 PyObject
* _argo0
= 0;
1955 char *_kwnames
[] = { "self","pos", NULL
};
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
1962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSeparator. Expected _wxToolBarBase_p.");
1969 wxPy_BEGIN_ALLOW_THREADS
;
1970 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertSeparator(_arg0
,_arg1
);
1972 wxPy_END_ALLOW_THREADS
;
1974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1975 _resultobj
= Py_BuildValue("s",_ptemp
);
1978 _resultobj
= Py_None
;
1983 #define wxToolBarBase_RemoveTool(_swigobj,_swigarg0) (_swigobj->RemoveTool(_swigarg0))
1984 static PyObject
*_wrap_wxToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1986 wxToolBarToolBase
* _result
;
1987 wxToolBarBase
* _arg0
;
1989 PyObject
* _argo0
= 0;
1990 char *_kwnames
[] = { "self","id", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_RemoveTool",_kwnames
,&_argo0
,&_arg1
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_RemoveTool. Expected _wxToolBarBase_p.");
2004 wxPy_BEGIN_ALLOW_THREADS
;
2005 _result
= (wxToolBarToolBase
*)wxToolBarBase_RemoveTool(_arg0
,_arg1
);
2007 wxPy_END_ALLOW_THREADS
;
2009 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
2010 _resultobj
= Py_BuildValue("s",_ptemp
);
2013 _resultobj
= Py_None
;
2018 #define wxToolBarBase_DeleteToolByPos(_swigobj,_swigarg0) (_swigobj->DeleteToolByPos(_swigarg0))
2019 static PyObject
*_wrap_wxToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2022 wxToolBarBase
* _arg0
;
2024 PyObject
* _argo0
= 0;
2025 char *_kwnames
[] = { "self","pos", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteToolByPos",_kwnames
,&_argo0
,&_arg1
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteToolByPos. Expected _wxToolBarBase_p.");
2038 wxPy_BEGIN_ALLOW_THREADS
;
2039 _result
= (bool )wxToolBarBase_DeleteToolByPos(_arg0
,_arg1
);
2041 wxPy_END_ALLOW_THREADS
;
2042 } _resultobj
= Py_BuildValue("i",_result
);
2046 #define wxToolBarBase_DeleteTool(_swigobj,_swigarg0) (_swigobj->DeleteTool(_swigarg0))
2047 static PyObject
*_wrap_wxToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
* _resultobj
;
2050 wxToolBarBase
* _arg0
;
2052 PyObject
* _argo0
= 0;
2053 char *_kwnames
[] = { "self","id", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteTool",_kwnames
,&_argo0
,&_arg1
))
2059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteTool. Expected _wxToolBarBase_p.");
2066 wxPy_BEGIN_ALLOW_THREADS
;
2067 _result
= (bool )wxToolBarBase_DeleteTool(_arg0
,_arg1
);
2069 wxPy_END_ALLOW_THREADS
;
2070 } _resultobj
= Py_BuildValue("i",_result
);
2074 #define wxToolBarBase_ClearTools(_swigobj) (_swigobj->ClearTools())
2075 static PyObject
*_wrap_wxToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
* _resultobj
;
2077 wxToolBarBase
* _arg0
;
2078 PyObject
* _argo0
= 0;
2079 char *_kwnames
[] = { "self", NULL
};
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_ClearTools",_kwnames
,&_argo0
))
2085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ClearTools. Expected _wxToolBarBase_p.");
2092 wxPy_BEGIN_ALLOW_THREADS
;
2093 wxToolBarBase_ClearTools(_arg0
);
2095 wxPy_END_ALLOW_THREADS
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2101 #define wxToolBarBase_Realize(_swigobj) (_swigobj->Realize())
2102 static PyObject
*_wrap_wxToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2105 wxToolBarBase
* _arg0
;
2106 PyObject
* _argo0
= 0;
2107 char *_kwnames
[] = { "self", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_Realize",_kwnames
,&_argo0
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_Realize. Expected _wxToolBarBase_p.");
2120 wxPy_BEGIN_ALLOW_THREADS
;
2121 _result
= (bool )wxToolBarBase_Realize(_arg0
);
2123 wxPy_END_ALLOW_THREADS
;
2124 } _resultobj
= Py_BuildValue("i",_result
);
2128 #define wxToolBarBase_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
2129 static PyObject
*_wrap_wxToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
* _resultobj
;
2131 wxToolBarBase
* _arg0
;
2134 PyObject
* _argo0
= 0;
2136 char *_kwnames
[] = { "self","id","enable", NULL
};
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_EnableTool. Expected _wxToolBarBase_p.");
2148 _arg2
= (bool ) tempbool2
;
2150 wxPy_BEGIN_ALLOW_THREADS
;
2151 wxToolBarBase_EnableTool(_arg0
,_arg1
,_arg2
);
2153 wxPy_END_ALLOW_THREADS
;
2154 } Py_INCREF(Py_None
);
2155 _resultobj
= Py_None
;
2159 #define wxToolBarBase_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2160 static PyObject
*_wrap_wxToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2162 wxToolBarBase
* _arg0
;
2165 PyObject
* _argo0
= 0;
2167 char *_kwnames
[] = { "self","id","toggle", NULL
};
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ToggleTool. Expected _wxToolBarBase_p.");
2179 _arg2
= (bool ) tempbool2
;
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 wxToolBarBase_ToggleTool(_arg0
,_arg1
,_arg2
);
2184 wxPy_END_ALLOW_THREADS
;
2185 } Py_INCREF(Py_None
);
2186 _resultobj
= Py_None
;
2190 #define wxToolBarBase_SetToggle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToggle(_swigarg0,_swigarg1))
2191 static PyObject
*_wrap_wxToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2193 wxToolBarBase
* _arg0
;
2196 PyObject
* _argo0
= 0;
2198 char *_kwnames
[] = { "self","id","toggle", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetToggle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToggle. Expected _wxToolBarBase_p.");
2210 _arg2
= (bool ) tempbool2
;
2212 wxPy_BEGIN_ALLOW_THREADS
;
2213 wxToolBarBase_SetToggle(_arg0
,_arg1
,_arg2
);
2215 wxPy_END_ALLOW_THREADS
;
2216 } Py_INCREF(Py_None
);
2217 _resultobj
= Py_None
;
2221 static PyObject
* wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int index
) {
2222 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(index
);
2224 Py_INCREF(udata
->m_obj
);
2225 return udata
->m_obj
;
2231 static PyObject
*_wrap_wxToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
* _resultobj
;
2234 wxToolBarBase
* _arg0
;
2236 PyObject
* _argo0
= 0;
2237 char *_kwnames
[] = { "self","index", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolClientData",_kwnames
,&_argo0
,&_arg1
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolClientData. Expected _wxToolBarBase_p.");
2250 wxPy_BEGIN_ALLOW_THREADS
;
2251 _result
= (PyObject
*)wxToolBarBase_GetToolClientData(_arg0
,_arg1
);
2253 wxPy_END_ALLOW_THREADS
;
2255 _resultobj
= _result
;
2260 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int index
,PyObject
* clientData
) {
2261 self
->SetToolClientData(index
, new wxPyUserData(clientData
));
2263 static PyObject
*_wrap_wxToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
* _resultobj
;
2265 wxToolBarBase
* _arg0
;
2268 PyObject
* _argo0
= 0;
2269 PyObject
* _obj2
= 0;
2270 char *_kwnames
[] = { "self","index","clientData", NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolClientData. Expected _wxToolBarBase_p.");
2286 wxPy_BEGIN_ALLOW_THREADS
;
2287 wxToolBarBase_SetToolClientData(_arg0
,_arg1
,_arg2
);
2289 wxPy_END_ALLOW_THREADS
;
2290 } Py_INCREF(Py_None
);
2291 _resultobj
= Py_None
;
2295 #define wxToolBarBase_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2296 static PyObject
*_wrap_wxToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2299 wxToolBarBase
* _arg0
;
2301 PyObject
* _argo0
= 0;
2302 char *_kwnames
[] = { "self","id", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolState",_kwnames
,&_argo0
,&_arg1
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolState. Expected _wxToolBarBase_p.");
2315 wxPy_BEGIN_ALLOW_THREADS
;
2316 _result
= (bool )wxToolBarBase_GetToolState(_arg0
,_arg1
);
2318 wxPy_END_ALLOW_THREADS
;
2319 } _resultobj
= Py_BuildValue("i",_result
);
2323 #define wxToolBarBase_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2324 static PyObject
*_wrap_wxToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2327 wxToolBarBase
* _arg0
;
2329 PyObject
* _argo0
= 0;
2330 char *_kwnames
[] = { "self","id", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))
2336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolEnabled. Expected _wxToolBarBase_p.");
2343 wxPy_BEGIN_ALLOW_THREADS
;
2344 _result
= (bool )wxToolBarBase_GetToolEnabled(_arg0
,_arg1
);
2346 wxPy_END_ALLOW_THREADS
;
2347 } _resultobj
= Py_BuildValue("i",_result
);
2351 #define wxToolBarBase_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2352 static PyObject
*_wrap_wxToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
* _resultobj
;
2354 wxToolBarBase
* _arg0
;
2357 PyObject
* _argo0
= 0;
2358 PyObject
* _obj2
= 0;
2359 char *_kwnames
[] = { "self","id","helpString", NULL
};
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolShortHelp. Expected _wxToolBarBase_p.");
2372 #if PYTHON_API_VERSION >= 1009
2373 char* tmpPtr
; int tmpSize
;
2374 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2375 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2378 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2380 _arg2
= new wxString(tmpPtr
, tmpSize
);
2382 if (!PyString_Check(_obj2
)) {
2383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2386 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 wxToolBarBase_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
2393 wxPy_END_ALLOW_THREADS
;
2394 } Py_INCREF(Py_None
);
2395 _resultobj
= Py_None
;
2403 #define wxToolBarBase_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2404 static PyObject
*_wrap_wxToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2407 wxToolBarBase
* _arg0
;
2409 PyObject
* _argo0
= 0;
2410 char *_kwnames
[] = { "self","id", NULL
};
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))
2416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolShortHelp. Expected _wxToolBarBase_p.");
2423 wxPy_BEGIN_ALLOW_THREADS
;
2424 _result
= new wxString (wxToolBarBase_GetToolShortHelp(_arg0
,_arg1
));
2426 wxPy_END_ALLOW_THREADS
;
2428 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2436 #define wxToolBarBase_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2437 static PyObject
*_wrap_wxToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2439 wxToolBarBase
* _arg0
;
2442 PyObject
* _argo0
= 0;
2443 PyObject
* _obj2
= 0;
2444 char *_kwnames
[] = { "self","id","helpString", NULL
};
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolLongHelp. Expected _wxToolBarBase_p.");
2457 #if PYTHON_API_VERSION >= 1009
2458 char* tmpPtr
; int tmpSize
;
2459 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2460 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2463 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2465 _arg2
= new wxString(tmpPtr
, tmpSize
);
2467 if (!PyString_Check(_obj2
)) {
2468 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2471 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 wxToolBarBase_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } Py_INCREF(Py_None
);
2480 _resultobj
= Py_None
;
2488 #define wxToolBarBase_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2489 static PyObject
*_wrap_wxToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2492 wxToolBarBase
* _arg0
;
2494 PyObject
* _argo0
= 0;
2495 char *_kwnames
[] = { "self","id", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolLongHelp. Expected _wxToolBarBase_p.");
2508 wxPy_BEGIN_ALLOW_THREADS
;
2509 _result
= new wxString (wxToolBarBase_GetToolLongHelp(_arg0
,_arg1
));
2511 wxPy_END_ALLOW_THREADS
;
2513 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2521 #define wxToolBarBase_SetMarginsXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
2522 static PyObject
*_wrap_wxToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2524 wxToolBarBase
* _arg0
;
2527 PyObject
* _argo0
= 0;
2528 char *_kwnames
[] = { "self","x","y", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMarginsXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMarginsXY. Expected _wxToolBarBase_p.");
2541 wxPy_BEGIN_ALLOW_THREADS
;
2542 wxToolBarBase_SetMarginsXY(_arg0
,_arg1
,_arg2
);
2544 wxPy_END_ALLOW_THREADS
;
2545 } Py_INCREF(Py_None
);
2546 _resultobj
= Py_None
;
2550 #define wxToolBarBase_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2551 static PyObject
*_wrap_wxToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2553 wxToolBarBase
* _arg0
;
2555 PyObject
* _argo0
= 0;
2557 PyObject
* _obj1
= 0;
2558 char *_kwnames
[] = { "self","size", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetMargins",_kwnames
,&_argo0
,&_obj1
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMargins. Expected _wxToolBarBase_p.");
2572 if (! wxSize_helper(_obj1
, &_arg1
))
2576 wxPy_BEGIN_ALLOW_THREADS
;
2577 wxToolBarBase_SetMargins(_arg0
,*_arg1
);
2579 wxPy_END_ALLOW_THREADS
;
2580 } Py_INCREF(Py_None
);
2581 _resultobj
= Py_None
;
2585 #define wxToolBarBase_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2586 static PyObject
*_wrap_wxToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2588 wxToolBarBase
* _arg0
;
2590 PyObject
* _argo0
= 0;
2591 char *_kwnames
[] = { "self","packing", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolPacking. Expected _wxToolBarBase_p.");
2604 wxPy_BEGIN_ALLOW_THREADS
;
2605 wxToolBarBase_SetToolPacking(_arg0
,_arg1
);
2607 wxPy_END_ALLOW_THREADS
;
2608 } Py_INCREF(Py_None
);
2609 _resultobj
= Py_None
;
2613 #define wxToolBarBase_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2614 static PyObject
*_wrap_wxToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2616 wxToolBarBase
* _arg0
;
2618 PyObject
* _argo0
= 0;
2619 char *_kwnames
[] = { "self","separation", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))
2625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolSeparation. Expected _wxToolBarBase_p.");
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 wxToolBarBase_SetToolSeparation(_arg0
,_arg1
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define wxToolBarBase_GetToolMargins(_swigobj) (_swigobj->GetToolMargins())
2642 static PyObject
*_wrap_wxToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2645 wxToolBarBase
* _arg0
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolMargins",_kwnames
,&_argo0
))
2654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolMargins. Expected _wxToolBarBase_p.");
2661 wxPy_BEGIN_ALLOW_THREADS
;
2662 _result
= new wxSize (wxToolBarBase_GetToolMargins(_arg0
));
2664 wxPy_END_ALLOW_THREADS
;
2665 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2666 _resultobj
= Py_BuildValue("s",_ptemp
);
2670 #define wxToolBarBase_GetMargins(_swigobj) (_swigobj->GetMargins())
2671 static PyObject
*_wrap_wxToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2674 wxToolBarBase
* _arg0
;
2675 PyObject
* _argo0
= 0;
2676 char *_kwnames
[] = { "self", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMargins",_kwnames
,&_argo0
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMargins. Expected _wxToolBarBase_p.");
2690 wxPy_BEGIN_ALLOW_THREADS
;
2691 _result
= new wxSize (wxToolBarBase_GetMargins(_arg0
));
2693 wxPy_END_ALLOW_THREADS
;
2694 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2695 _resultobj
= Py_BuildValue("s",_ptemp
);
2699 #define wxToolBarBase_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2700 static PyObject
*_wrap_wxToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
* _resultobj
;
2703 wxToolBarBase
* _arg0
;
2704 PyObject
* _argo0
= 0;
2705 char *_kwnames
[] = { "self", NULL
};
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolPacking",_kwnames
,&_argo0
))
2711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolPacking. Expected _wxToolBarBase_p.");
2718 wxPy_BEGIN_ALLOW_THREADS
;
2719 _result
= (int )wxToolBarBase_GetToolPacking(_arg0
);
2721 wxPy_END_ALLOW_THREADS
;
2722 } _resultobj
= Py_BuildValue("i",_result
);
2726 #define wxToolBarBase_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2727 static PyObject
*_wrap_wxToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
* _resultobj
;
2730 wxToolBarBase
* _arg0
;
2731 PyObject
* _argo0
= 0;
2732 char *_kwnames
[] = { "self", NULL
};
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSeparation",_kwnames
,&_argo0
))
2738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSeparation. Expected _wxToolBarBase_p.");
2745 wxPy_BEGIN_ALLOW_THREADS
;
2746 _result
= (int )wxToolBarBase_GetToolSeparation(_arg0
);
2748 wxPy_END_ALLOW_THREADS
;
2749 } _resultobj
= Py_BuildValue("i",_result
);
2753 #define wxToolBarBase_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2754 static PyObject
*_wrap_wxToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2756 wxToolBarBase
* _arg0
;
2758 PyObject
* _argo0
= 0;
2759 char *_kwnames
[] = { "self","nRows", NULL
};
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetRows",_kwnames
,&_argo0
,&_arg1
))
2765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetRows. Expected _wxToolBarBase_p.");
2772 wxPy_BEGIN_ALLOW_THREADS
;
2773 wxToolBarBase_SetRows(_arg0
,_arg1
);
2775 wxPy_END_ALLOW_THREADS
;
2776 } Py_INCREF(Py_None
);
2777 _resultobj
= Py_None
;
2781 #define wxToolBarBase_SetMaxRowsCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMaxRowsCols(_swigarg0,_swigarg1))
2782 static PyObject
*_wrap_wxToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
* _resultobj
;
2784 wxToolBarBase
* _arg0
;
2787 PyObject
* _argo0
= 0;
2788 char *_kwnames
[] = { "self","rows","cols", NULL
};
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMaxRowsCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMaxRowsCols. Expected _wxToolBarBase_p.");
2801 wxPy_BEGIN_ALLOW_THREADS
;
2802 wxToolBarBase_SetMaxRowsCols(_arg0
,_arg1
,_arg2
);
2804 wxPy_END_ALLOW_THREADS
;
2805 } Py_INCREF(Py_None
);
2806 _resultobj
= Py_None
;
2810 #define wxToolBarBase_GetMaxRows(_swigobj) (_swigobj->GetMaxRows())
2811 static PyObject
*_wrap_wxToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
* _resultobj
;
2814 wxToolBarBase
* _arg0
;
2815 PyObject
* _argo0
= 0;
2816 char *_kwnames
[] = { "self", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxRows",_kwnames
,&_argo0
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxRows. Expected _wxToolBarBase_p.");
2829 wxPy_BEGIN_ALLOW_THREADS
;
2830 _result
= (int )wxToolBarBase_GetMaxRows(_arg0
);
2832 wxPy_END_ALLOW_THREADS
;
2833 } _resultobj
= Py_BuildValue("i",_result
);
2837 #define wxToolBarBase_GetMaxCols(_swigobj) (_swigobj->GetMaxCols())
2838 static PyObject
*_wrap_wxToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2841 wxToolBarBase
* _arg0
;
2842 PyObject
* _argo0
= 0;
2843 char *_kwnames
[] = { "self", NULL
};
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxCols",_kwnames
,&_argo0
))
2849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxCols. Expected _wxToolBarBase_p.");
2856 wxPy_BEGIN_ALLOW_THREADS
;
2857 _result
= (int )wxToolBarBase_GetMaxCols(_arg0
);
2859 wxPy_END_ALLOW_THREADS
;
2860 } _resultobj
= Py_BuildValue("i",_result
);
2864 #define wxToolBarBase_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
2865 static PyObject
*_wrap_wxToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
* _resultobj
;
2867 wxToolBarBase
* _arg0
;
2869 PyObject
* _argo0
= 0;
2871 PyObject
* _obj1
= 0;
2872 char *_kwnames
[] = { "self","size", NULL
};
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetToolBitmapSize",_kwnames
,&_argo0
,&_obj1
))
2878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolBitmapSize. Expected _wxToolBarBase_p.");
2886 if (! wxSize_helper(_obj1
, &_arg1
))
2890 wxPy_BEGIN_ALLOW_THREADS
;
2891 wxToolBarBase_SetToolBitmapSize(_arg0
,*_arg1
);
2893 wxPy_END_ALLOW_THREADS
;
2894 } Py_INCREF(Py_None
);
2895 _resultobj
= Py_None
;
2899 #define wxToolBarBase_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
2900 static PyObject
*_wrap_wxToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
* _resultobj
;
2903 wxToolBarBase
* _arg0
;
2904 PyObject
* _argo0
= 0;
2905 char *_kwnames
[] = { "self", NULL
};
2909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolBitmapSize",_kwnames
,&_argo0
))
2912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolBitmapSize. Expected _wxToolBarBase_p.");
2919 wxPy_BEGIN_ALLOW_THREADS
;
2920 _result
= new wxSize (wxToolBarBase_GetToolBitmapSize(_arg0
));
2922 wxPy_END_ALLOW_THREADS
;
2923 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2924 _resultobj
= Py_BuildValue("s",_ptemp
);
2928 #define wxToolBarBase_GetToolSize(_swigobj) (_swigobj->GetToolSize())
2929 static PyObject
*_wrap_wxToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
* _resultobj
;
2932 wxToolBarBase
* _arg0
;
2933 PyObject
* _argo0
= 0;
2934 char *_kwnames
[] = { "self", NULL
};
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSize",_kwnames
,&_argo0
))
2941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSize. Expected _wxToolBarBase_p.");
2948 wxPy_BEGIN_ALLOW_THREADS
;
2949 _result
= new wxSize (wxToolBarBase_GetToolSize(_arg0
));
2951 wxPy_END_ALLOW_THREADS
;
2952 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2953 _resultobj
= Py_BuildValue("s",_ptemp
);
2957 static void *SwigwxToolBarTowxToolBarBase(void *ptr
) {
2959 wxToolBarBase
*dest
;
2960 src
= (wxToolBar
*) ptr
;
2961 dest
= (wxToolBarBase
*) src
;
2962 return (void *) dest
;
2965 static void *SwigwxToolBarTowxControl(void *ptr
) {
2968 src
= (wxToolBar
*) ptr
;
2969 dest
= (wxControl
*) src
;
2970 return (void *) dest
;
2973 static void *SwigwxToolBarTowxWindow(void *ptr
) {
2976 src
= (wxToolBar
*) ptr
;
2977 dest
= (wxWindow
*) src
;
2978 return (void *) dest
;
2981 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
2984 src
= (wxToolBar
*) ptr
;
2985 dest
= (wxEvtHandler
*) src
;
2986 return (void *) dest
;
2989 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2990 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2992 wxToolBar
* _result
;
2995 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2996 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2997 long _arg4
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
2998 char * _arg5
= (char *) wxToolBarNameStr
;
2999 PyObject
* _argo0
= 0;
3001 PyObject
* _obj2
= 0;
3003 PyObject
* _obj3
= 0;
3004 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
3020 if (! wxPoint_helper(_obj2
, &_arg2
))
3026 if (! wxSize_helper(_obj3
, &_arg3
))
3030 wxPy_BEGIN_ALLOW_THREADS
;
3031 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3033 wxPy_END_ALLOW_THREADS
;
3035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
3036 _resultobj
= Py_BuildValue("s",_ptemp
);
3039 _resultobj
= Py_None
;
3044 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3045 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
* _resultobj
;
3047 wxToolBarToolBase
* _result
;
3051 PyObject
* _argo0
= 0;
3052 char *_kwnames
[] = { "self","x","y", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
3061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
3066 wxPy_BEGIN_ALLOW_THREADS
;
3067 _result
= (wxToolBarToolBase
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
3069 wxPy_END_ALLOW_THREADS
;
3071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
3072 _resultobj
= Py_BuildValue("s",_ptemp
);
3075 _resultobj
= Py_None
;
3080 static void *SwigwxToolBarSimpleTowxToolBarBase(void *ptr
) {
3081 wxToolBarSimple
*src
;
3082 wxToolBarBase
*dest
;
3083 src
= (wxToolBarSimple
*) ptr
;
3084 dest
= (wxToolBarBase
*) src
;
3085 return (void *) dest
;
3088 static void *SwigwxToolBarSimpleTowxControl(void *ptr
) {
3089 wxToolBarSimple
*src
;
3091 src
= (wxToolBarSimple
*) ptr
;
3092 dest
= (wxControl
*) src
;
3093 return (void *) dest
;
3096 static void *SwigwxToolBarSimpleTowxWindow(void *ptr
) {
3097 wxToolBarSimple
*src
;
3099 src
= (wxToolBarSimple
*) ptr
;
3100 dest
= (wxWindow
*) src
;
3101 return (void *) dest
;
3104 static void *SwigwxToolBarSimpleTowxEvtHandler(void *ptr
) {
3105 wxToolBarSimple
*src
;
3107 src
= (wxToolBarSimple
*) ptr
;
3108 dest
= (wxEvtHandler
*) src
;
3109 return (void *) dest
;
3112 #define new_wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3113 static PyObject
*_wrap_new_wxToolBarSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
* _resultobj
;
3115 wxToolBarSimple
* _result
;
3118 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3119 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3120 long _arg4
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
3121 char * _arg5
= (char *) wxToolBarNameStr
;
3122 PyObject
* _argo0
= 0;
3124 PyObject
* _obj2
= 0;
3126 PyObject
* _obj3
= 0;
3127 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBarSimple",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBarSimple. Expected _wxWindow_p.");
3143 if (! wxPoint_helper(_obj2
, &_arg2
))
3149 if (! wxSize_helper(_obj3
, &_arg3
))
3153 wxPy_BEGIN_ALLOW_THREADS
;
3154 _result
= (wxToolBarSimple
*)new_wxToolBarSimple(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3156 wxPy_END_ALLOW_THREADS
;
3158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarSimple_p");
3159 _resultobj
= Py_BuildValue("s",_ptemp
);
3162 _resultobj
= Py_None
;
3167 #define wxToolBarSimple_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3168 static PyObject
*_wrap_wxToolBarSimple_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3170 wxToolBarToolBase
* _result
;
3171 wxToolBarSimple
* _arg0
;
3174 PyObject
* _argo0
= 0;
3175 char *_kwnames
[] = { "self","x","y", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarSimple_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarSimple_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarSimple_FindToolForPosition. Expected _wxToolBarSimple_p.");
3189 wxPy_BEGIN_ALLOW_THREADS
;
3190 _result
= (wxToolBarToolBase
*)wxToolBarSimple_FindToolForPosition(_arg0
,_arg1
,_arg2
);
3192 wxPy_END_ALLOW_THREADS
;
3194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
3195 _resultobj
= Py_BuildValue("s",_ptemp
);
3198 _resultobj
= Py_None
;
3203 static PyMethodDef stattoolcMethods
[] = {
3204 { "wxToolBarSimple_FindToolForPosition", (PyCFunction
) _wrap_wxToolBarSimple_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
3205 { "new_wxToolBarSimple", (PyCFunction
) _wrap_new_wxToolBarSimple
, METH_VARARGS
| METH_KEYWORDS
},
3206 { "wxToolBar_FindToolForPosition", (PyCFunction
) _wrap_wxToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
3207 { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS
| METH_KEYWORDS
},
3208 { "wxToolBarBase_GetToolSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
3209 { "wxToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
3210 { "wxToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
3211 { "wxToolBarBase_GetMaxCols", (PyCFunction
) _wrap_wxToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
3212 { "wxToolBarBase_GetMaxRows", (PyCFunction
) _wrap_wxToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
3213 { "wxToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_wxToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
3214 { "wxToolBarBase_SetRows", (PyCFunction
) _wrap_wxToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
3215 { "wxToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
3216 { "wxToolBarBase_GetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
3217 { "wxToolBarBase_GetMargins", (PyCFunction
) _wrap_wxToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
3218 { "wxToolBarBase_GetToolMargins", (PyCFunction
) _wrap_wxToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
3219 { "wxToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
3220 { "wxToolBarBase_SetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
3221 { "wxToolBarBase_SetMargins", (PyCFunction
) _wrap_wxToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
3222 { "wxToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_wxToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
3223 { "wxToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3224 { "wxToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3225 { "wxToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3226 { "wxToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3227 { "wxToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_wxToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3228 { "wxToolBarBase_GetToolState", (PyCFunction
) _wrap_wxToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
3229 { "wxToolBarBase_SetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
3230 { "wxToolBarBase_GetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
3231 { "wxToolBarBase_SetToggle", (PyCFunction
) _wrap_wxToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
3232 { "wxToolBarBase_ToggleTool", (PyCFunction
) _wrap_wxToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
3233 { "wxToolBarBase_EnableTool", (PyCFunction
) _wrap_wxToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
3234 { "wxToolBarBase_Realize", (PyCFunction
) _wrap_wxToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
3235 { "wxToolBarBase_ClearTools", (PyCFunction
) _wrap_wxToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
3236 { "wxToolBarBase_DeleteTool", (PyCFunction
) _wrap_wxToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
3237 { "wxToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_wxToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
3238 { "wxToolBarBase_RemoveTool", (PyCFunction
) _wrap_wxToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
3239 { "wxToolBarBase_InsertSeparator", (PyCFunction
) _wrap_wxToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3240 { "wxToolBarBase_AddSeparator", (PyCFunction
) _wrap_wxToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3241 { "wxToolBarBase_InsertControl", (PyCFunction
) _wrap_wxToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
3242 { "wxToolBarBase_AddControl", (PyCFunction
) _wrap_wxToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
3243 { "wxToolBarBase_InsertSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_InsertSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
3244 { "wxToolBarBase_InsertTool", (PyCFunction
) _wrap_wxToolBarBase_InsertTool
, METH_VARARGS
| METH_KEYWORDS
},
3245 { "wxToolBarBase_AddSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_AddSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
3246 { "wxToolBarBase_AddTool", (PyCFunction
) _wrap_wxToolBarBase_AddTool
, METH_VARARGS
| METH_KEYWORDS
},
3247 { "wxToolBarToolBase_SetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
3248 { "wxToolBarToolBase_GetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
3249 { "wxToolBarToolBase_Attach", (PyCFunction
) _wrap_wxToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
3250 { "wxToolBarToolBase_Detach", (PyCFunction
) _wrap_wxToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
3251 { "wxToolBarToolBase_SetBitmap2", (PyCFunction
) _wrap_wxToolBarToolBase_SetBitmap2
, METH_VARARGS
| METH_KEYWORDS
},
3252 { "wxToolBarToolBase_SetBitmap1", (PyCFunction
) _wrap_wxToolBarToolBase_SetBitmap1
, METH_VARARGS
| METH_KEYWORDS
},
3253 { "wxToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3254 { "wxToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3255 { "wxToolBarToolBase_SetToggle", (PyCFunction
) _wrap_wxToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
3256 { "wxToolBarToolBase_Toggle", (PyCFunction
) _wrap_wxToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
3257 { "wxToolBarToolBase_Enable", (PyCFunction
) _wrap_wxToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
3258 { "wxToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3259 { "wxToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3260 { "wxToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3261 { "wxToolBarToolBase_GetBitmap2", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap2
, METH_VARARGS
| METH_KEYWORDS
},
3262 { "wxToolBarToolBase_GetBitmap1", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap1
, METH_VARARGS
| METH_KEYWORDS
},
3263 { "wxToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_wxToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
3264 { "wxToolBarToolBase_IsToggled", (PyCFunction
) _wrap_wxToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
3265 { "wxToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_wxToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3266 { "wxToolBarToolBase_GetStyle", (PyCFunction
) _wrap_wxToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3267 { "wxToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_wxToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3268 { "wxToolBarToolBase_IsControl", (PyCFunction
) _wrap_wxToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
3269 { "wxToolBarToolBase_IsButton", (PyCFunction
) _wrap_wxToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
3270 { "wxToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_wxToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
3271 { "wxToolBarToolBase_GetControl", (PyCFunction
) _wrap_wxToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
3272 { "wxToolBarToolBase_GetId", (PyCFunction
) _wrap_wxToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3273 { "wxToolBarToolBase_Destroy", (PyCFunction
) _wrap_wxToolBarToolBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
3274 { "wxStatusBar_SetMinHeight", (PyCFunction
) _wrap_wxStatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
3275 { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
3276 { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
3277 { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
3278 { "wxStatusBar_GetBorderY", (PyCFunction
) _wrap_wxStatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
3279 { "wxStatusBar_GetBorderX", (PyCFunction
) _wrap_wxStatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
3280 { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
3281 { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
3282 { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
3283 { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
3290 * This table is used by the pointer type-checker
3292 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3293 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3294 { "_wxEvent","_class_wxEvent",0},
3295 { "_class_wxActivateEvent","_wxActivateEvent",0},
3296 { "_signed_long","_long",0},
3297 { "_wxMenuEvent","_class_wxMenuEvent",0},
3298 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3299 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3300 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
3301 { "_wxPrintQuality","_wxCoord",0},
3302 { "_wxPrintQuality","_int",0},
3303 { "_wxPrintQuality","_signed_int",0},
3304 { "_wxPrintQuality","_unsigned_int",0},
3305 { "_wxPrintQuality","_wxWindowID",0},
3306 { "_wxPrintQuality","_uint",0},
3307 { "_wxPrintQuality","_EBool",0},
3308 { "_wxPrintQuality","_size_t",0},
3309 { "_wxPrintQuality","_time_t",0},
3310 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3311 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
3312 { "_class_wxRegionIterator","_wxRegionIterator",0},
3313 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3314 { "_class_wxMenuBar","_wxMenuBar",0},
3315 { "_class_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3316 { "_class_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3317 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3318 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3319 { "_class_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3320 { "_class_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3321 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3322 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3323 { "_class_wxEvtHandler","_wxEvtHandler",0},
3324 { "_wxPaintEvent","_class_wxPaintEvent",0},
3325 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3326 { "_wxCursor","_class_wxCursor",0},
3327 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3328 { "_class_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3329 { "_class_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3330 { "_class_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3331 { "_class_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3332 { "_class_wxToolBarBase","_wxToolBarBase",0},
3333 { "_wxMask","_class_wxMask",0},
3334 { "_wxPen","_class_wxPen",0},
3335 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3336 { "_byte","_unsigned_char",0},
3337 { "_wxDataObject","_class_wxDataObject",0},
3338 { "_wxStaticBox","_class_wxStaticBox",0},
3339 { "_wxColourDatabase","_class_wxColourDatabase",0},
3340 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3341 { "_wxPyDropSource","_class_wxPyDropSource",0},
3342 { "_wxChoice","_class_wxChoice",0},
3343 { "_wxSlider","_class_wxSlider",0},
3344 { "_long","_unsigned_long",0},
3345 { "_long","_signed_long",0},
3346 { "_wxImageList","_class_wxImageList",0},
3347 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3348 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3349 { "_wxBitmapButton","_class_wxBitmapButton",0},
3350 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3351 { "_class_wxClipboard","_wxClipboard",0},
3352 { "_class_wxGauge","_wxGauge",0},
3353 { "_wxDC","_class_wxDC",0},
3354 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3355 { "_wxSpinEvent","_class_wxSpinEvent",0},
3356 { "_size_t","_wxCoord",0},
3357 { "_size_t","_wxPrintQuality",0},
3358 { "_size_t","_time_t",0},
3359 { "_size_t","_unsigned_int",0},
3360 { "_size_t","_int",0},
3361 { "_size_t","_wxWindowID",0},
3362 { "_size_t","_uint",0},
3363 { "_class_wxRealPoint","_wxRealPoint",0},
3364 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
3365 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
3366 { "_class_wxMenuItem","_wxMenuItem",0},
3367 { "_class_wxPaintEvent","_wxPaintEvent",0},
3368 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3369 { "_class_wxStatusBar","_wxStatusBar",0},
3370 { "_wxPanel","_class_wxPanel",0},
3371 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3372 { "_wxCheckBox","_class_wxCheckBox",0},
3373 { "_wxPyEvent","_class_wxPyEvent",0},
3374 { "_wxTextCtrl","_class_wxTextCtrl",0},
3375 { "_class_wxMask","_wxMask",0},
3376 { "_wxTextDataObject","_class_wxTextDataObject",0},
3377 { "_class_wxKeyEvent","_wxKeyEvent",0},
3378 { "_wxColour","_class_wxColour",0},
3379 { "_class_wxDialog","_wxDialog",0},
3380 { "_class_wxFileDataObject","_wxFileDataObject",0},
3381 { "_wxIdleEvent","_class_wxIdleEvent",0},
3382 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3383 { "_wxToolBar","_class_wxToolBar",0},
3384 { "_class_wxDataObject","_wxDataObject",0},
3385 { "_wxStaticLine","_class_wxStaticLine",0},
3386 { "_wxBrush","_class_wxBrush",0},
3387 { "_wxDataFormat","_class_wxDataFormat",0},
3388 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3389 { "_wxShowEvent","_class_wxShowEvent",0},
3390 { "_uint","_wxCoord",0},
3391 { "_uint","_wxPrintQuality",0},
3392 { "_uint","_time_t",0},
3393 { "_uint","_size_t",0},
3394 { "_uint","_unsigned_int",0},
3395 { "_uint","_int",0},
3396 { "_uint","_wxWindowID",0},
3397 { "_wxChar","_char",0},
3398 { "_wxPyValidator","_class_wxPyValidator",0},
3399 { "_class_wxEvent","_wxEvent",0},
3400 { "_wxCheckListBox","_class_wxCheckListBox",0},
3401 { "_wxRect","_class_wxRect",0},
3402 { "_wxCommandEvent","_class_wxCommandEvent",0},
3403 { "_wxSizeEvent","_class_wxSizeEvent",0},
3404 { "_wxPoint","_class_wxPoint",0},
3405 { "_class_wxButton","_wxButton",0},
3406 { "_wxRadioBox","_class_wxRadioBox",0},
3407 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
3408 { "_char","_wxChar",0},
3409 { "_wxBitmap","_class_wxBitmap",0},
3410 { "_wxPenList","_class_wxPenList",0},
3411 { "_wxWindowDC","_class_wxWindowDC",0},
3412 { "_wxTimerEvent","_class_wxTimerEvent",0},
3413 { "_wxScrollBar","_class_wxScrollBar",0},
3414 { "_wxSpinButton","_class_wxSpinButton",0},
3415 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3416 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3417 { "_class_wxValidator","_wxValidator",0},
3418 { "_class_wxPyEvent","_wxPyEvent",0},
3419 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3420 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
3421 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
3422 { "_class_wxToolBar","_wxToolBar",0},
3423 { "_wxDropTarget","_class_wxDropTarget",0},
3424 { "_class_wxStaticLine","_wxStaticLine",0},
3425 { "_class_wxColourDatabase","_wxColourDatabase",0},
3426 { "_wxScrollEvent","_class_wxScrollEvent",0},
3427 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
3428 { "_EBool","_wxCoord",0},
3429 { "_EBool","_wxPrintQuality",0},
3430 { "_EBool","_signed_int",0},
3431 { "_EBool","_int",0},
3432 { "_EBool","_wxWindowID",0},
3433 { "_class_wxRegion","_wxRegion",0},
3434 { "_class_wxDataFormat","_wxDataFormat",0},
3435 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3436 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
3437 { "_wxStaticText","_class_wxStaticText",0},
3438 { "_wxFont","_class_wxFont",0},
3439 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3440 { "_wxCloseEvent","_class_wxCloseEvent",0},
3441 { "_unsigned_long","_long",0},
3442 { "_class_wxRect","_wxRect",0},
3443 { "_class_wxDC","_wxDC",0},
3444 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3445 { "_class_wxBrushList","_wxBrushList",0},
3446 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
3447 { "_class_wxPenList","_wxPenList",0},
3448 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
3449 { "_wxFocusEvent","_class_wxFocusEvent",0},
3450 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3451 { "_class_wxTimerEvent","_wxTimerEvent",0},
3452 { "_class_wxSpinButton","_wxSpinButton",0},
3453 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3454 { "_class_wxPanel","_wxPanel",0},
3455 { "_class_wxCheckBox","_wxCheckBox",0},
3456 { "_wxComboBox","_class_wxComboBox",0},
3457 { "_wxRadioButton","_class_wxRadioButton",0},
3458 { "_signed_int","_wxCoord",0},
3459 { "_signed_int","_wxPrintQuality",0},
3460 { "_signed_int","_EBool",0},
3461 { "_signed_int","_wxWindowID",0},
3462 { "_signed_int","_int",0},
3463 { "_class_wxTextCtrl","_wxTextCtrl",0},
3464 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3465 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3466 { "_class_wxTextDataObject","_wxTextDataObject",0},
3467 { "_wxMenu","_class_wxMenu",0},
3468 { "_class_wxMoveEvent","_wxMoveEvent",0},
3469 { "_wxListBox","_class_wxListBox",0},
3470 { "_wxScreenDC","_class_wxScreenDC",0},
3471 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
3472 { "_WXTYPE","_short",0},
3473 { "_WXTYPE","_signed_short",0},
3474 { "_WXTYPE","_unsigned_short",0},
3475 { "_class_wxDropTarget","_wxDropTarget",0},
3476 { "_class_wxBrush","_wxBrush",0},
3477 { "_unsigned_short","_WXTYPE",0},
3478 { "_unsigned_short","_short",0},
3479 { "_class_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3480 { "_class_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3481 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
3482 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
3483 { "_class_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3484 { "_class_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3485 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
3486 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
3487 { "_class_wxWindow","_wxWindow",0},
3488 { "_class_wxStaticText","_wxStaticText",0},
3489 { "_class_wxFont","_wxFont",0},
3490 { "_wxClipboard","_class_wxClipboard",0},
3491 { "_class_wxPyValidator","_wxPyValidator",0},
3492 { "_class_wxCloseEvent","_wxCloseEvent",0},
3493 { "_wxBusyInfo","_class_wxBusyInfo",0},
3494 { "_wxFontList","_class_wxFontList",0},
3495 { "_class_wxMenuEvent","_wxMenuEvent",0},
3496 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3497 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3498 { "_wxClientDC","_class_wxClientDC",0},
3499 { "_wxMouseEvent","_class_wxMouseEvent",0},
3500 { "_class_wxPoint","_wxPoint",0},
3501 { "_wxRealPoint","_class_wxRealPoint",0},
3502 { "_class_wxRadioBox","_wxRadioBox",0},
3503 { "_signed_short","_WXTYPE",0},
3504 { "_signed_short","_short",0},
3505 { "_wxMemoryDC","_class_wxMemoryDC",0},
3506 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3507 { "_wxPaintDC","_class_wxPaintDC",0},
3508 { "_class_wxWindowDC","_wxWindowDC",0},
3509 { "_class_wxFocusEvent","_wxFocusEvent",0},
3510 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3511 { "_wxStatusBar","_class_wxStatusBar",0},
3512 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3513 { "_class_wxCursor","_wxCursor",0},
3514 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3515 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3516 { "_unsigned_char","_byte",0},
3517 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3518 { "_class_wxMenu","_wxMenu",0},
3519 { "_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3520 { "_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3521 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3522 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3523 { "_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3524 { "_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3525 { "_wxControl","_class_wxControl",0},
3526 { "_class_wxListBox","_wxListBox",0},
3527 { "_unsigned_int","_wxCoord",0},
3528 { "_unsigned_int","_wxPrintQuality",0},
3529 { "_unsigned_int","_time_t",0},
3530 { "_unsigned_int","_size_t",0},
3531 { "_unsigned_int","_uint",0},
3532 { "_unsigned_int","_wxWindowID",0},
3533 { "_unsigned_int","_int",0},
3534 { "_wxIcon","_class_wxIcon",0},
3535 { "_wxDialog","_class_wxDialog",0},
3536 { "_class_wxPen","_wxPen",0},
3537 { "_short","_WXTYPE",0},
3538 { "_short","_unsigned_short",0},
3539 { "_short","_signed_short",0},
3540 { "_class_wxStaticBox","_wxStaticBox",0},
3541 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3542 { "_class_wxPyDropSource","_wxPyDropSource",0},
3543 { "_class_wxScrollEvent","_wxScrollEvent",0},
3544 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3545 { "_class_wxChoice","_wxChoice",0},
3546 { "_class_wxSlider","_wxSlider",0},
3547 { "_class_wxImageList","_wxImageList",0},
3548 { "_class_wxBitmapButton","_wxBitmapButton",0},
3549 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3550 { "_wxWindowID","_wxCoord",0},
3551 { "_wxWindowID","_wxPrintQuality",0},
3552 { "_wxWindowID","_time_t",0},
3553 { "_wxWindowID","_size_t",0},
3554 { "_wxWindowID","_EBool",0},
3555 { "_wxWindowID","_uint",0},
3556 { "_wxWindowID","_int",0},
3557 { "_wxWindowID","_signed_int",0},
3558 { "_wxWindowID","_unsigned_int",0},
3559 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3560 { "_int","_wxCoord",0},
3561 { "_int","_wxPrintQuality",0},
3562 { "_int","_time_t",0},
3563 { "_int","_size_t",0},
3564 { "_int","_EBool",0},
3565 { "_int","_uint",0},
3566 { "_int","_wxWindowID",0},
3567 { "_int","_unsigned_int",0},
3568 { "_int","_signed_int",0},
3569 { "_class_wxMouseEvent","_wxMouseEvent",0},
3570 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3571 { "_class_wxSpinEvent","_wxSpinEvent",0},
3572 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3573 { "_time_t","_wxCoord",0},
3574 { "_time_t","_wxPrintQuality",0},
3575 { "_time_t","_unsigned_int",0},
3576 { "_time_t","_int",0},
3577 { "_time_t","_wxWindowID",0},
3578 { "_time_t","_uint",0},
3579 { "_time_t","_size_t",0},
3580 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3581 { "_wxButton","_class_wxButton",0},
3582 { "_wxSize","_class_wxSize",0},
3583 { "_wxRegionIterator","_class_wxRegionIterator",0},
3584 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3585 { "_class_wxPaintDC","_wxPaintDC",0},
3586 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3587 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3588 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3589 { "_class_wxComboBox","_wxComboBox",0},
3590 { "_class_wxRadioButton","_wxRadioButton",0},
3591 { "_wxValidator","_class_wxValidator",0},
3592 { "_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3593 { "_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3594 { "_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3595 { "_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3596 { "_wxToolBarBase","_class_wxToolBarBase",0},
3597 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3598 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3599 { "_class_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3600 { "_class_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3601 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3602 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3603 { "_class_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3604 { "_class_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3605 { "_class_wxControl","_wxControl",0},
3606 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3607 { "_class_wxIcon","_wxIcon",0},
3608 { "_class_wxColour","_wxColour",0},
3609 { "_class_wxScreenDC","_wxScreenDC",0},
3610 { "_wxPalette","_class_wxPalette",0},
3611 { "_class_wxIdleEvent","_wxIdleEvent",0},
3612 { "_wxCoord","_int",0},
3613 { "_wxCoord","_signed_int",0},
3614 { "_wxCoord","_unsigned_int",0},
3615 { "_wxCoord","_wxWindowID",0},
3616 { "_wxCoord","_uint",0},
3617 { "_wxCoord","_EBool",0},
3618 { "_wxCoord","_size_t",0},
3619 { "_wxCoord","_time_t",0},
3620 { "_wxCoord","_wxPrintQuality",0},
3621 { "_wxEraseEvent","_class_wxEraseEvent",0},
3622 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3623 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3624 { "_wxRegion","_class_wxRegion",0},
3625 { "_class_wxShowEvent","_wxShowEvent",0},
3626 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3627 { "_wxActivateEvent","_class_wxActivateEvent",0},
3628 { "_wxGauge","_class_wxGauge",0},
3629 { "_class_wxCheckListBox","_wxCheckListBox",0},
3630 { "_class_wxBusyInfo","_wxBusyInfo",0},
3631 { "_class_wxFontList","_wxFontList",0},
3632 { "_class_wxCommandEvent","_wxCommandEvent",0},
3633 { "_class_wxClientDC","_wxClientDC",0},
3634 { "_class_wxSizeEvent","_wxSizeEvent",0},
3635 { "_wxBrushList","_class_wxBrushList",0},
3636 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3637 { "_class_wxSize","_wxSize",0},
3638 { "_class_wxBitmap","_wxBitmap",0},
3639 { "_class_wxMemoryDC","_wxMemoryDC",0},
3640 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3641 { "_wxMenuBar","_class_wxMenuBar",0},
3642 { "_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3643 { "_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3644 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3645 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3646 { "_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3647 { "_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3648 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3649 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3650 { "_wxEvtHandler","_class_wxEvtHandler",0},
3651 { "_wxMenuItem","_class_wxMenuItem",0},
3652 { "_class_wxScrollBar","_wxScrollBar",0},
3653 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3654 { "_wxKeyEvent","_class_wxKeyEvent",0},
3655 { "_wxMoveEvent","_class_wxMoveEvent",0},
3656 { "_class_wxPalette","_wxPalette",0},
3657 { "_wxFileDataObject","_class_wxFileDataObject",0},
3658 { "_class_wxEraseEvent","_wxEraseEvent",0},
3659 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3660 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
3661 { "_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3662 { "_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3663 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
3664 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
3665 { "_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3666 { "_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3667 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
3668 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
3669 { "_wxWindow","_class_wxWindow",0},
3670 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3673 static PyObject
*SWIG_globals
;
3677 SWIGEXPORT(void) initstattoolc() {
3679 SWIG_globals
= SWIG_newvarlink();
3680 m
= Py_InitModule("stattoolc", stattoolcMethods
);
3681 d
= PyModule_GetDict(m
);
3682 PyDict_SetItemString(d
,"wxTOOL_STYLE_BUTTON", PyInt_FromLong((long) wxTOOL_STYLE_BUTTON
));
3683 PyDict_SetItemString(d
,"wxTOOL_STYLE_SEPARATOR", PyInt_FromLong((long) wxTOOL_STYLE_SEPARATOR
));
3684 PyDict_SetItemString(d
,"wxTOOL_STYLE_CONTROL", PyInt_FromLong((long) wxTOOL_STYLE_CONTROL
));
3687 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3688 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);