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";
112 static void *SwigwxStatusBarTowxWindow(void *ptr
) {
115 src
= (wxStatusBar
*) ptr
;
116 dest
= (wxWindow
*) src
;
117 return (void *) dest
;
120 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) {
123 src
= (wxStatusBar
*) ptr
;
124 dest
= (wxEvtHandler
*) src
;
125 return (void *) dest
;
128 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
129 static PyObject
*_wrap_new_wxStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
130 PyObject
* _resultobj
;
131 wxStatusBar
* _result
;
134 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
135 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
136 long _arg4
= (long ) wxST_SIZEGRIP
;
137 char * _arg5
= (char *) "statusBar";
138 PyObject
* _argo0
= 0;
140 PyObject
* _obj2
= 0;
142 PyObject
* _obj3
= 0;
143 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStatusBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
159 if (! wxPoint_helper(_obj2
, &_arg2
))
165 if (! wxSize_helper(_obj3
, &_arg3
))
169 wxPy_BEGIN_ALLOW_THREADS
;
170 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
172 wxPy_END_ALLOW_THREADS
;
174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
175 _resultobj
= Py_BuildValue("s",_ptemp
);
178 _resultobj
= Py_None
;
183 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
184 wxRect
* rect
= new wxRect
;
185 self
->GetFieldRect(item
, *rect
);
188 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
189 PyObject
* _resultobj
;
193 PyObject
* _argo0
= 0;
194 char *_kwnames
[] = { "self","item", NULL
};
198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxStatusBar_GetFieldRect",_kwnames
,&_argo0
,&_arg1
))
201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
208 wxPy_BEGIN_ALLOW_THREADS
;
209 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
211 wxPy_END_ALLOW_THREADS
;
213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
214 _resultobj
= Py_BuildValue("s",_ptemp
);
217 _resultobj
= Py_None
;
222 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
223 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
227 PyObject
* _argo0
= 0;
228 char *_kwnames
[] = { "self", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetFieldsCount",_kwnames
,&_argo0
))
234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
241 wxPy_BEGIN_ALLOW_THREADS
;
242 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
244 wxPy_END_ALLOW_THREADS
;
245 } _resultobj
= Py_BuildValue("i",_result
);
249 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
250 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
251 PyObject
* _resultobj
;
254 int _arg1
= (int ) 0;
255 PyObject
* _argo0
= 0;
256 char *_kwnames
[] = { "self","ir", NULL
};
259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_GetStatusText",_kwnames
,&_argo0
,&_arg1
))
262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
269 wxPy_BEGIN_ALLOW_THREADS
;
270 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
272 wxPy_END_ALLOW_THREADS
;
274 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
282 #define wxStatusBar_GetBorderX(_swigobj) (_swigobj->GetBorderX())
283 static PyObject
*_wrap_wxStatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
284 PyObject
* _resultobj
;
287 PyObject
* _argo0
= 0;
288 char *_kwnames
[] = { "self", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderX",_kwnames
,&_argo0
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderX. Expected _wxStatusBar_p.");
301 wxPy_BEGIN_ALLOW_THREADS
;
302 _result
= (int )wxStatusBar_GetBorderX(_arg0
);
304 wxPy_END_ALLOW_THREADS
;
305 } _resultobj
= Py_BuildValue("i",_result
);
309 #define wxStatusBar_GetBorderY(_swigobj) (_swigobj->GetBorderY())
310 static PyObject
*_wrap_wxStatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
314 PyObject
* _argo0
= 0;
315 char *_kwnames
[] = { "self", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderY",_kwnames
,&_argo0
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderY. Expected _wxStatusBar_p.");
328 wxPy_BEGIN_ALLOW_THREADS
;
329 _result
= (int )wxStatusBar_GetBorderY(_arg0
);
331 wxPy_END_ALLOW_THREADS
;
332 } _resultobj
= Py_BuildValue("i",_result
);
336 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
337 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
338 PyObject
* _resultobj
;
340 int _arg1
= (int ) 1;
341 PyObject
* _argo0
= 0;
342 char *_kwnames
[] = { "self","number", NULL
};
345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_SetFieldsCount",_kwnames
,&_argo0
,&_arg1
))
348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
355 wxPy_BEGIN_ALLOW_THREADS
;
356 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
358 wxPy_END_ALLOW_THREADS
;
359 } Py_INCREF(Py_None
);
360 _resultobj
= Py_None
;
364 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
365 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
366 PyObject
* _resultobj
;
369 int _arg2
= (int ) 0;
370 PyObject
* _argo0
= 0;
371 PyObject
* _obj1
= 0;
372 char *_kwnames
[] = { "self","text","i", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxStatusBar_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
385 #if PYTHON_API_VERSION >= 1009
386 char* tmpPtr
; int tmpSize
;
387 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
388 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
391 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
393 _arg1
= new wxString(tmpPtr
, tmpSize
);
395 if (!PyString_Check(_obj1
)) {
396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
399 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
403 wxPy_BEGIN_ALLOW_THREADS
;
404 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
406 wxPy_END_ALLOW_THREADS
;
407 } Py_INCREF(Py_None
);
408 _resultobj
= Py_None
;
416 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
417 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
422 PyObject
* _argo0
= 0;
423 PyObject
* _obj2
= 0;
424 char *_kwnames
[] = { "self","choices", NULL
};
427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStatusBar_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
438 _arg2
= int_LIST_helper(_obj2
);
445 _arg1
= PyList_Size(_obj2
);
452 wxPy_BEGIN_ALLOW_THREADS
;
453 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
455 wxPy_END_ALLOW_THREADS
;
456 } Py_INCREF(Py_None
);
457 _resultobj
= Py_None
;
464 #define wxStatusBar_SetMinHeight(_swigobj,_swigarg0) (_swigobj->SetMinHeight(_swigarg0))
465 static PyObject
*_wrap_wxStatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
469 PyObject
* _argo0
= 0;
470 char *_kwnames
[] = { "self","height", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStatusBar_SetMinHeight",_kwnames
,&_argo0
,&_arg1
))
476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetMinHeight. Expected _wxStatusBar_p.");
483 wxPy_BEGIN_ALLOW_THREADS
;
484 wxStatusBar_SetMinHeight(_arg0
,_arg1
);
486 wxPy_END_ALLOW_THREADS
;
487 } Py_INCREF(Py_None
);
488 _resultobj
= Py_None
;
492 static void wxToolBarToolBase_Destroy(wxToolBarToolBase
*self
) { delete self
; }
493 static PyObject
*_wrap_wxToolBarToolBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
495 wxToolBarToolBase
* _arg0
;
496 PyObject
* _argo0
= 0;
497 char *_kwnames
[] = { "self", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Destroy",_kwnames
,&_argo0
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Destroy. Expected _wxToolBarToolBase_p.");
510 wxPy_BEGIN_ALLOW_THREADS
;
511 wxToolBarToolBase_Destroy(_arg0
);
513 wxPy_END_ALLOW_THREADS
;
514 } Py_INCREF(Py_None
);
515 _resultobj
= Py_None
;
519 #define wxToolBarToolBase_GetId(_swigobj) (_swigobj->GetId())
520 static PyObject
*_wrap_wxToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 wxToolBarToolBase
* _arg0
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetId",_kwnames
,&_argo0
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetId. Expected _wxToolBarToolBase_p.");
538 wxPy_BEGIN_ALLOW_THREADS
;
539 _result
= (int )wxToolBarToolBase_GetId(_arg0
);
541 wxPy_END_ALLOW_THREADS
;
542 } _resultobj
= Py_BuildValue("i",_result
);
546 #define wxToolBarToolBase_GetControl(_swigobj) (_swigobj->GetControl())
547 static PyObject
*_wrap_wxToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
550 wxToolBarToolBase
* _arg0
;
551 PyObject
* _argo0
= 0;
552 char *_kwnames
[] = { "self", NULL
};
556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetControl",_kwnames
,&_argo0
))
559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetControl. Expected _wxToolBarToolBase_p.");
566 wxPy_BEGIN_ALLOW_THREADS
;
567 _result
= (wxControl
*)wxToolBarToolBase_GetControl(_arg0
);
569 wxPy_END_ALLOW_THREADS
;
571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
572 _resultobj
= Py_BuildValue("s",_ptemp
);
575 _resultobj
= Py_None
;
580 #define wxToolBarToolBase_GetToolBar(_swigobj) (_swigobj->GetToolBar())
581 static PyObject
*_wrap_wxToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
583 wxToolBarBase
* _result
;
584 wxToolBarToolBase
* _arg0
;
585 PyObject
* _argo0
= 0;
586 char *_kwnames
[] = { "self", NULL
};
590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetToolBar",_kwnames
,&_argo0
))
593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetToolBar. Expected _wxToolBarToolBase_p.");
600 wxPy_BEGIN_ALLOW_THREADS
;
601 _result
= (wxToolBarBase
*)wxToolBarToolBase_GetToolBar(_arg0
);
603 wxPy_END_ALLOW_THREADS
;
605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarBase_p");
606 _resultobj
= Py_BuildValue("s",_ptemp
);
609 _resultobj
= Py_None
;
614 #define wxToolBarToolBase_IsButton(_swigobj) (_swigobj->IsButton())
615 static PyObject
*_wrap_wxToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
618 wxToolBarToolBase
* _arg0
;
619 PyObject
* _argo0
= 0;
620 char *_kwnames
[] = { "self", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsButton",_kwnames
,&_argo0
))
626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsButton. Expected _wxToolBarToolBase_p.");
633 wxPy_BEGIN_ALLOW_THREADS
;
634 _result
= (int )wxToolBarToolBase_IsButton(_arg0
);
636 wxPy_END_ALLOW_THREADS
;
637 } _resultobj
= Py_BuildValue("i",_result
);
641 #define wxToolBarToolBase_IsControl(_swigobj) (_swigobj->IsControl())
642 static PyObject
*_wrap_wxToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 PyObject
* _resultobj
;
645 wxToolBarToolBase
* _arg0
;
646 PyObject
* _argo0
= 0;
647 char *_kwnames
[] = { "self", NULL
};
650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsControl",_kwnames
,&_argo0
))
653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsControl. Expected _wxToolBarToolBase_p.");
660 wxPy_BEGIN_ALLOW_THREADS
;
661 _result
= (int )wxToolBarToolBase_IsControl(_arg0
);
663 wxPy_END_ALLOW_THREADS
;
664 } _resultobj
= Py_BuildValue("i",_result
);
668 #define wxToolBarToolBase_IsSeparator(_swigobj) (_swigobj->IsSeparator())
669 static PyObject
*_wrap_wxToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
670 PyObject
* _resultobj
;
672 wxToolBarToolBase
* _arg0
;
673 PyObject
* _argo0
= 0;
674 char *_kwnames
[] = { "self", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsSeparator",_kwnames
,&_argo0
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsSeparator. Expected _wxToolBarToolBase_p.");
687 wxPy_BEGIN_ALLOW_THREADS
;
688 _result
= (int )wxToolBarToolBase_IsSeparator(_arg0
);
690 wxPy_END_ALLOW_THREADS
;
691 } _resultobj
= Py_BuildValue("i",_result
);
695 #define wxToolBarToolBase_GetStyle(_swigobj) (_swigobj->GetStyle())
696 static PyObject
*_wrap_wxToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
697 PyObject
* _resultobj
;
699 wxToolBarToolBase
* _arg0
;
700 PyObject
* _argo0
= 0;
701 char *_kwnames
[] = { "self", NULL
};
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetStyle",_kwnames
,&_argo0
))
707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetStyle. Expected _wxToolBarToolBase_p.");
714 wxPy_BEGIN_ALLOW_THREADS
;
715 _result
= (int )wxToolBarToolBase_GetStyle(_arg0
);
717 wxPy_END_ALLOW_THREADS
;
718 } _resultobj
= Py_BuildValue("i",_result
);
722 #define wxToolBarToolBase_IsEnabled(_swigobj) (_swigobj->IsEnabled())
723 static PyObject
*_wrap_wxToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
724 PyObject
* _resultobj
;
726 wxToolBarToolBase
* _arg0
;
727 PyObject
* _argo0
= 0;
728 char *_kwnames
[] = { "self", NULL
};
731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsEnabled",_kwnames
,&_argo0
))
734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsEnabled. Expected _wxToolBarToolBase_p.");
741 wxPy_BEGIN_ALLOW_THREADS
;
742 _result
= (bool )wxToolBarToolBase_IsEnabled(_arg0
);
744 wxPy_END_ALLOW_THREADS
;
745 } _resultobj
= Py_BuildValue("i",_result
);
749 #define wxToolBarToolBase_IsToggled(_swigobj) (_swigobj->IsToggled())
750 static PyObject
*_wrap_wxToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
751 PyObject
* _resultobj
;
753 wxToolBarToolBase
* _arg0
;
754 PyObject
* _argo0
= 0;
755 char *_kwnames
[] = { "self", NULL
};
758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsToggled",_kwnames
,&_argo0
))
761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsToggled. Expected _wxToolBarToolBase_p.");
768 wxPy_BEGIN_ALLOW_THREADS
;
769 _result
= (bool )wxToolBarToolBase_IsToggled(_arg0
);
771 wxPy_END_ALLOW_THREADS
;
772 } _resultobj
= Py_BuildValue("i",_result
);
776 #define wxToolBarToolBase_CanBeToggled(_swigobj) (_swigobj->CanBeToggled())
777 static PyObject
*_wrap_wxToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
778 PyObject
* _resultobj
;
780 wxToolBarToolBase
* _arg0
;
781 PyObject
* _argo0
= 0;
782 char *_kwnames
[] = { "self", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_CanBeToggled",_kwnames
,&_argo0
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_CanBeToggled. Expected _wxToolBarToolBase_p.");
795 wxPy_BEGIN_ALLOW_THREADS
;
796 _result
= (bool )wxToolBarToolBase_CanBeToggled(_arg0
);
798 wxPy_END_ALLOW_THREADS
;
799 } _resultobj
= Py_BuildValue("i",_result
);
803 #define wxToolBarToolBase_GetBitmap1(_swigobj) (_swigobj->GetBitmap1())
804 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
807 wxToolBarToolBase
* _arg0
;
808 PyObject
* _argo0
= 0;
809 char *_kwnames
[] = { "self", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap1",_kwnames
,&_argo0
))
816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap1. Expected _wxToolBarToolBase_p.");
823 wxPy_BEGIN_ALLOW_THREADS
;
824 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap1(_arg0
);
825 _result
= (wxBitmap
*) &_result_ref
;
827 wxPy_END_ALLOW_THREADS
;
829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
830 _resultobj
= Py_BuildValue("s",_ptemp
);
833 _resultobj
= Py_None
;
838 #define wxToolBarToolBase_GetBitmap2(_swigobj) (_swigobj->GetBitmap2())
839 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
842 wxToolBarToolBase
* _arg0
;
843 PyObject
* _argo0
= 0;
844 char *_kwnames
[] = { "self", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap2",_kwnames
,&_argo0
))
851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap2. Expected _wxToolBarToolBase_p.");
858 wxPy_BEGIN_ALLOW_THREADS
;
859 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap2(_arg0
);
860 _result
= (wxBitmap
*) &_result_ref
;
862 wxPy_END_ALLOW_THREADS
;
864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
865 _resultobj
= Py_BuildValue("s",_ptemp
);
868 _resultobj
= Py_None
;
873 #define wxToolBarToolBase_GetBitmap(_swigobj) (_swigobj->GetBitmap())
874 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
875 PyObject
* _resultobj
;
877 wxToolBarToolBase
* _arg0
;
878 PyObject
* _argo0
= 0;
879 char *_kwnames
[] = { "self", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap",_kwnames
,&_argo0
))
886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap. Expected _wxToolBarToolBase_p.");
893 wxPy_BEGIN_ALLOW_THREADS
;
894 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap(_arg0
);
895 _result
= (wxBitmap
*) &_result_ref
;
897 wxPy_END_ALLOW_THREADS
;
899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
900 _resultobj
= Py_BuildValue("s",_ptemp
);
903 _resultobj
= Py_None
;
908 #define wxToolBarToolBase_GetShortHelp(_swigobj) (_swigobj->GetShortHelp())
909 static PyObject
*_wrap_wxToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
912 wxToolBarToolBase
* _arg0
;
913 PyObject
* _argo0
= 0;
914 char *_kwnames
[] = { "self", NULL
};
917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetShortHelp",_kwnames
,&_argo0
))
920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetShortHelp. Expected _wxToolBarToolBase_p.");
927 wxPy_BEGIN_ALLOW_THREADS
;
928 _result
= new wxString (wxToolBarToolBase_GetShortHelp(_arg0
));
930 wxPy_END_ALLOW_THREADS
;
932 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
940 #define wxToolBarToolBase_GetLongHelp(_swigobj) (_swigobj->GetLongHelp())
941 static PyObject
*_wrap_wxToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
944 wxToolBarToolBase
* _arg0
;
945 PyObject
* _argo0
= 0;
946 char *_kwnames
[] = { "self", NULL
};
949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetLongHelp",_kwnames
,&_argo0
))
952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetLongHelp. Expected _wxToolBarToolBase_p.");
959 wxPy_BEGIN_ALLOW_THREADS
;
960 _result
= new wxString (wxToolBarToolBase_GetLongHelp(_arg0
));
962 wxPy_END_ALLOW_THREADS
;
964 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
972 #define wxToolBarToolBase_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
973 static PyObject
*_wrap_wxToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
976 wxToolBarToolBase
* _arg0
;
978 PyObject
* _argo0
= 0;
980 char *_kwnames
[] = { "self","enable", NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Enable",_kwnames
,&_argo0
,&tempbool1
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Enable. Expected _wxToolBarToolBase_p.");
992 _arg1
= (bool ) tempbool1
;
994 wxPy_BEGIN_ALLOW_THREADS
;
995 _result
= (bool )wxToolBarToolBase_Enable(_arg0
,_arg1
);
997 wxPy_END_ALLOW_THREADS
;
998 } _resultobj
= Py_BuildValue("i",_result
);
1002 #define wxToolBarToolBase_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
1003 static PyObject
*_wrap_wxToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1004 PyObject
* _resultobj
;
1006 wxToolBarToolBase
* _arg0
;
1008 PyObject
* _argo0
= 0;
1010 char *_kwnames
[] = { "self","toggle", NULL
};
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Toggle",_kwnames
,&_argo0
,&tempbool1
))
1016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Toggle. Expected _wxToolBarToolBase_p.");
1022 _arg1
= (bool ) tempbool1
;
1024 wxPy_BEGIN_ALLOW_THREADS
;
1025 _result
= (bool )wxToolBarToolBase_Toggle(_arg0
,_arg1
);
1027 wxPy_END_ALLOW_THREADS
;
1028 } _resultobj
= Py_BuildValue("i",_result
);
1032 #define wxToolBarToolBase_SetToggle(_swigobj,_swigarg0) (_swigobj->SetToggle(_swigarg0))
1033 static PyObject
*_wrap_wxToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
* _resultobj
;
1036 wxToolBarToolBase
* _arg0
;
1038 PyObject
* _argo0
= 0;
1040 char *_kwnames
[] = { "self","toggle", NULL
};
1043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_SetToggle",_kwnames
,&_argo0
,&tempbool1
))
1046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetToggle. Expected _wxToolBarToolBase_p.");
1052 _arg1
= (bool ) tempbool1
;
1054 wxPy_BEGIN_ALLOW_THREADS
;
1055 _result
= (bool )wxToolBarToolBase_SetToggle(_arg0
,_arg1
);
1057 wxPy_END_ALLOW_THREADS
;
1058 } _resultobj
= Py_BuildValue("i",_result
);
1062 #define wxToolBarToolBase_SetShortHelp(_swigobj,_swigarg0) (_swigobj->SetShortHelp(_swigarg0))
1063 static PyObject
*_wrap_wxToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1066 wxToolBarToolBase
* _arg0
;
1068 PyObject
* _argo0
= 0;
1069 PyObject
* _obj1
= 0;
1070 char *_kwnames
[] = { "self","help", NULL
};
1073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetShortHelp",_kwnames
,&_argo0
,&_obj1
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetShortHelp. Expected _wxToolBarToolBase_p.");
1083 #if PYTHON_API_VERSION >= 1009
1084 char* tmpPtr
; int tmpSize
;
1085 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1086 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1089 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1091 _arg1
= new wxString(tmpPtr
, tmpSize
);
1093 if (!PyString_Check(_obj1
)) {
1094 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1097 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1101 wxPy_BEGIN_ALLOW_THREADS
;
1102 _result
= (bool )wxToolBarToolBase_SetShortHelp(_arg0
,*_arg1
);
1104 wxPy_END_ALLOW_THREADS
;
1105 } _resultobj
= Py_BuildValue("i",_result
);
1113 #define wxToolBarToolBase_SetLongHelp(_swigobj,_swigarg0) (_swigobj->SetLongHelp(_swigarg0))
1114 static PyObject
*_wrap_wxToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1117 wxToolBarToolBase
* _arg0
;
1119 PyObject
* _argo0
= 0;
1120 PyObject
* _obj1
= 0;
1121 char *_kwnames
[] = { "self","help", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetLongHelp",_kwnames
,&_argo0
,&_obj1
))
1127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetLongHelp. Expected _wxToolBarToolBase_p.");
1134 #if PYTHON_API_VERSION >= 1009
1135 char* tmpPtr
; int tmpSize
;
1136 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1137 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1140 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1142 _arg1
= new wxString(tmpPtr
, tmpSize
);
1144 if (!PyString_Check(_obj1
)) {
1145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1148 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1152 wxPy_BEGIN_ALLOW_THREADS
;
1153 _result
= (bool )wxToolBarToolBase_SetLongHelp(_arg0
,*_arg1
);
1155 wxPy_END_ALLOW_THREADS
;
1156 } _resultobj
= Py_BuildValue("i",_result
);
1164 #define wxToolBarToolBase_SetBitmap1(_swigobj,_swigarg0) (_swigobj->SetBitmap1(_swigarg0))
1165 static PyObject
*_wrap_wxToolBarToolBase_SetBitmap1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
* _resultobj
;
1167 wxToolBarToolBase
* _arg0
;
1169 PyObject
* _argo0
= 0;
1170 PyObject
* _argo1
= 0;
1171 char *_kwnames
[] = { "self","bmp", NULL
};
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetBitmap1",_kwnames
,&_argo0
,&_argo1
))
1177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetBitmap1. Expected _wxToolBarToolBase_p.");
1184 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1185 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetBitmap1. Expected _wxBitmap_p.");
1191 wxPy_BEGIN_ALLOW_THREADS
;
1192 wxToolBarToolBase_SetBitmap1(_arg0
,*_arg1
);
1194 wxPy_END_ALLOW_THREADS
;
1195 } Py_INCREF(Py_None
);
1196 _resultobj
= Py_None
;
1200 #define wxToolBarToolBase_SetBitmap2(_swigobj,_swigarg0) (_swigobj->SetBitmap2(_swigarg0))
1201 static PyObject
*_wrap_wxToolBarToolBase_SetBitmap2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1203 wxToolBarToolBase
* _arg0
;
1205 PyObject
* _argo0
= 0;
1206 PyObject
* _argo1
= 0;
1207 char *_kwnames
[] = { "self","bmp", NULL
};
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetBitmap2",_kwnames
,&_argo0
,&_argo1
))
1213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetBitmap2. Expected _wxToolBarToolBase_p.");
1220 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1221 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetBitmap2. Expected _wxBitmap_p.");
1227 wxPy_BEGIN_ALLOW_THREADS
;
1228 wxToolBarToolBase_SetBitmap2(_arg0
,*_arg1
);
1230 wxPy_END_ALLOW_THREADS
;
1231 } Py_INCREF(Py_None
);
1232 _resultobj
= Py_None
;
1236 #define wxToolBarToolBase_Detach(_swigobj) (_swigobj->Detach())
1237 static PyObject
*_wrap_wxToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1239 wxToolBarToolBase
* _arg0
;
1240 PyObject
* _argo0
= 0;
1241 char *_kwnames
[] = { "self", NULL
};
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Detach",_kwnames
,&_argo0
))
1247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Detach. Expected _wxToolBarToolBase_p.");
1254 wxPy_BEGIN_ALLOW_THREADS
;
1255 wxToolBarToolBase_Detach(_arg0
);
1257 wxPy_END_ALLOW_THREADS
;
1258 } Py_INCREF(Py_None
);
1259 _resultobj
= Py_None
;
1263 #define wxToolBarToolBase_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
1264 static PyObject
*_wrap_wxToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
* _resultobj
;
1266 wxToolBarToolBase
* _arg0
;
1267 wxToolBarBase
* _arg1
;
1268 PyObject
* _argo0
= 0;
1269 PyObject
* _argo1
= 0;
1270 char *_kwnames
[] = { "self","tbar", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_Attach",_kwnames
,&_argo0
,&_argo1
))
1276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Attach. Expected _wxToolBarToolBase_p.");
1283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBarBase_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_Attach. Expected _wxToolBarBase_p.");
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 wxToolBarToolBase_Attach(_arg0
,_arg1
);
1293 wxPy_END_ALLOW_THREADS
;
1294 } Py_INCREF(Py_None
);
1295 _resultobj
= Py_None
;
1299 static PyObject
* wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
) {
1300 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1302 Py_INCREF(udata
->m_obj
);
1303 return udata
->m_obj
;
1309 static PyObject
*_wrap_wxToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1312 wxToolBarToolBase
* _arg0
;
1313 PyObject
* _argo0
= 0;
1314 char *_kwnames
[] = { "self", NULL
};
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetClientData",_kwnames
,&_argo0
))
1320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetClientData. Expected _wxToolBarToolBase_p.");
1327 wxPy_BEGIN_ALLOW_THREADS
;
1328 _result
= (PyObject
*)wxToolBarToolBase_GetClientData(_arg0
);
1330 wxPy_END_ALLOW_THREADS
;
1332 _resultobj
= _result
;
1337 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
* clientData
) {
1338 self
->SetClientData(new wxPyUserData(clientData
));
1340 static PyObject
*_wrap_wxToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1342 wxToolBarToolBase
* _arg0
;
1344 PyObject
* _argo0
= 0;
1345 PyObject
* _obj1
= 0;
1346 char *_kwnames
[] = { "self","clientData", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetClientData",_kwnames
,&_argo0
,&_obj1
))
1352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetClientData. Expected _wxToolBarToolBase_p.");
1362 wxPy_BEGIN_ALLOW_THREADS
;
1363 wxToolBarToolBase_SetClientData(_arg0
,_arg1
);
1365 wxPy_END_ALLOW_THREADS
;
1366 } Py_INCREF(Py_None
);
1367 _resultobj
= Py_None
;
1371 static void *SwigwxToolBarBaseTowxControl(void *ptr
) {
1374 src
= (wxToolBarBase
*) ptr
;
1375 dest
= (wxControl
*) src
;
1376 return (void *) dest
;
1379 static void *SwigwxToolBarBaseTowxWindow(void *ptr
) {
1382 src
= (wxToolBarBase
*) ptr
;
1383 dest
= (wxWindow
*) src
;
1384 return (void *) dest
;
1387 static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr
) {
1390 src
= (wxToolBarBase
*) ptr
;
1391 dest
= (wxEvtHandler
*) src
;
1392 return (void *) dest
;
1395 static wxToolBarToolBase
* wxToolBarBase_AddTool(wxToolBarBase
*self
,int id
,const wxBitmap
& bitmap
,const wxBitmap
& pushedBitmap
,int isToggle
,PyObject
* clientData
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1396 wxPyUserData
* udata
= NULL
;
1398 udata
= new wxPyUserData(clientData
);
1399 return self
->AddTool(id
, bitmap
, pushedBitmap
, (bool)isToggle
,
1400 udata
, shortHelpString
, longHelpString
);
1402 static PyObject
*_wrap_wxToolBarBase_AddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1404 wxToolBarToolBase
* _result
;
1405 wxToolBarBase
* _arg0
;
1408 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1409 int _arg4
= (int ) FALSE
;
1410 PyObject
* _arg5
= (PyObject
*) NULL
;
1411 wxString
* _arg6
= (wxString
*) &wxPyEmptyStr
;
1412 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1413 PyObject
* _argo0
= 0;
1414 PyObject
* _argo2
= 0;
1415 PyObject
* _argo3
= 0;
1416 PyObject
* _obj5
= 0;
1417 PyObject
* _obj6
= 0;
1418 PyObject
* _obj7
= 0;
1419 char *_kwnames
[] = { "self","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL
};
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OiOOO:wxToolBarBase_AddTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_obj5
,&_obj6
,&_obj7
))
1426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddTool. Expected _wxToolBarBase_p.");
1433 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1434 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1440 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1441 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1452 #if PYTHON_API_VERSION >= 1009
1453 char* tmpPtr
; int tmpSize
;
1454 if (!PyString_Check(_obj6
) && !PyUnicode_Check(_obj6
)) {
1455 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1458 if (PyString_AsStringAndSize(_obj6
, &tmpPtr
, &tmpSize
) == -1)
1460 _arg6
= new wxString(tmpPtr
, tmpSize
);
1462 if (!PyString_Check(_obj6
)) {
1463 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1466 _arg6
= new wxString(PyString_AS_STRING(_obj6
), PyString_GET_SIZE(_obj6
));
1471 #if PYTHON_API_VERSION >= 1009
1472 char* tmpPtr
; int tmpSize
;
1473 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
1474 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1477 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
1479 _arg7
= new wxString(tmpPtr
, tmpSize
);
1481 if (!PyString_Check(_obj7
)) {
1482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1485 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
);
1492 wxPy_END_ALLOW_THREADS
;
1494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1495 _resultobj
= Py_BuildValue("s",_ptemp
);
1498 _resultobj
= Py_None
;
1511 static wxToolBarToolBase
* wxToolBarBase_AddSimpleTool(wxToolBarBase
*self
,int id
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
,int isToggle
) {
1512 return self
->AddTool(id
, bitmap
, wxNullBitmap
, isToggle
, NULL
,
1513 shortHelpString
, longHelpString
);
1515 static PyObject
*_wrap_wxToolBarBase_AddSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1517 wxToolBarToolBase
* _result
;
1518 wxToolBarBase
* _arg0
;
1521 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1522 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1523 int _arg5
= (int ) FALSE
;
1524 PyObject
* _argo0
= 0;
1525 PyObject
* _argo2
= 0;
1526 PyObject
* _obj3
= 0;
1527 PyObject
* _obj4
= 0;
1528 char *_kwnames
[] = { "self","id","bitmap","shortHelpString","longHelpString","isToggle", NULL
};
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOi:wxToolBarBase_AddSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
))
1535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSimpleTool. Expected _wxToolBarBase_p.");
1542 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddSimpleTool. Expected _wxBitmap_p.");
1550 #if PYTHON_API_VERSION >= 1009
1551 char* tmpPtr
; int tmpSize
;
1552 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1553 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1556 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1558 _arg3
= new wxString(tmpPtr
, tmpSize
);
1560 if (!PyString_Check(_obj3
)) {
1561 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1564 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1569 #if PYTHON_API_VERSION >= 1009
1570 char* tmpPtr
; int tmpSize
;
1571 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
1572 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1575 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
1577 _arg4
= new wxString(tmpPtr
, tmpSize
);
1579 if (!PyString_Check(_obj4
)) {
1580 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1583 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
1587 wxPy_BEGIN_ALLOW_THREADS
;
1588 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
);
1590 wxPy_END_ALLOW_THREADS
;
1592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1593 _resultobj
= Py_BuildValue("s",_ptemp
);
1596 _resultobj
= Py_None
;
1609 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
) {
1610 wxPyUserData
* udata
= NULL
;
1612 udata
= new wxPyUserData(clientData
);
1613 return self
->InsertTool(pos
, id
, bitmap
, pushedBitmap
, (bool)isToggle
,
1614 udata
, shortHelpString
, longHelpString
);
1616 static PyObject
*_wrap_wxToolBarBase_InsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1618 wxToolBarToolBase
* _result
;
1619 wxToolBarBase
* _arg0
;
1623 wxBitmap
* _arg4
= (wxBitmap
*) &wxNullBitmap
;
1624 int _arg5
= (int ) FALSE
;
1625 PyObject
* _arg6
= (PyObject
*) NULL
;
1626 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1627 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1628 PyObject
* _argo0
= 0;
1629 PyObject
* _argo3
= 0;
1630 PyObject
* _argo4
= 0;
1631 PyObject
* _obj6
= 0;
1632 PyObject
* _obj7
= 0;
1633 PyObject
* _obj8
= 0;
1634 char *_kwnames
[] = { "self","pos","id","bitmap","pushedBitmap","isToggle","clientData","shortHelpString","longHelpString", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OiOOO:wxToolBarBase_InsertTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
,&_arg5
,&_obj6
,&_obj7
,&_obj8
))
1641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertTool. Expected _wxToolBarBase_p.");
1648 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1649 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1655 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1656 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxBitmap_p")) {
1657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1667 #if PYTHON_API_VERSION >= 1009
1668 char* tmpPtr
; int tmpSize
;
1669 if (!PyString_Check(_obj7
) && !PyUnicode_Check(_obj7
)) {
1670 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1673 if (PyString_AsStringAndSize(_obj7
, &tmpPtr
, &tmpSize
) == -1)
1675 _arg7
= new wxString(tmpPtr
, tmpSize
);
1677 if (!PyString_Check(_obj7
)) {
1678 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1681 _arg7
= new wxString(PyString_AS_STRING(_obj7
), PyString_GET_SIZE(_obj7
));
1686 #if PYTHON_API_VERSION >= 1009
1687 char* tmpPtr
; int tmpSize
;
1688 if (!PyString_Check(_obj8
) && !PyUnicode_Check(_obj8
)) {
1689 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1692 if (PyString_AsStringAndSize(_obj8
, &tmpPtr
, &tmpSize
) == -1)
1694 _arg8
= new wxString(tmpPtr
, tmpSize
);
1696 if (!PyString_Check(_obj8
)) {
1697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1700 _arg8
= new wxString(PyString_AS_STRING(_obj8
), PyString_GET_SIZE(_obj8
));
1704 wxPy_BEGIN_ALLOW_THREADS
;
1705 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1707 wxPy_END_ALLOW_THREADS
;
1709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1710 _resultobj
= Py_BuildValue("s",_ptemp
);
1713 _resultobj
= Py_None
;
1726 static wxToolBarToolBase
* wxToolBarBase_InsertSimpleTool(wxToolBarBase
*self
,size_t pos
,int id
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
,int isToggle
) {
1727 return self
->InsertTool(pos
, id
, bitmap
, wxNullBitmap
, isToggle
, NULL
,
1728 shortHelpString
, longHelpString
);
1730 static PyObject
*_wrap_wxToolBarBase_InsertSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
* _resultobj
;
1732 wxToolBarToolBase
* _result
;
1733 wxToolBarBase
* _arg0
;
1737 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1738 wxString
* _arg5
= (wxString
*) &wxPyEmptyStr
;
1739 int _arg6
= (int ) FALSE
;
1740 PyObject
* _argo0
= 0;
1741 PyObject
* _argo3
= 0;
1742 PyObject
* _obj4
= 0;
1743 PyObject
* _obj5
= 0;
1744 char *_kwnames
[] = { "self","pos","id","bitmap","shortHelpString","longHelpString","isToggle", NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OOi:wxToolBarBase_InsertSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
))
1751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSimpleTool. Expected _wxToolBarBase_p.");
1758 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1759 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertSimpleTool. Expected _wxBitmap_p.");
1766 #if PYTHON_API_VERSION >= 1009
1767 char* tmpPtr
; int tmpSize
;
1768 if (!PyString_Check(_obj4
) && !PyUnicode_Check(_obj4
)) {
1769 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1772 if (PyString_AsStringAndSize(_obj4
, &tmpPtr
, &tmpSize
) == -1)
1774 _arg4
= new wxString(tmpPtr
, tmpSize
);
1776 if (!PyString_Check(_obj4
)) {
1777 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1780 _arg4
= new wxString(PyString_AS_STRING(_obj4
), PyString_GET_SIZE(_obj4
));
1785 #if PYTHON_API_VERSION >= 1009
1786 char* tmpPtr
; int tmpSize
;
1787 if (!PyString_Check(_obj5
) && !PyUnicode_Check(_obj5
)) {
1788 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1791 if (PyString_AsStringAndSize(_obj5
, &tmpPtr
, &tmpSize
) == -1)
1793 _arg5
= new wxString(tmpPtr
, tmpSize
);
1795 if (!PyString_Check(_obj5
)) {
1796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1799 _arg5
= new wxString(PyString_AS_STRING(_obj5
), PyString_GET_SIZE(_obj5
));
1803 wxPy_BEGIN_ALLOW_THREADS
;
1804 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertSimpleTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
);
1806 wxPy_END_ALLOW_THREADS
;
1808 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1809 _resultobj
= Py_BuildValue("s",_ptemp
);
1812 _resultobj
= Py_None
;
1825 #define wxToolBarBase_AddControl(_swigobj,_swigarg0) (_swigobj->AddControl(_swigarg0))
1826 static PyObject
*_wrap_wxToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1828 wxToolBarToolBase
* _result
;
1829 wxToolBarBase
* _arg0
;
1831 PyObject
* _argo0
= 0;
1832 PyObject
* _argo1
= 0;
1833 char *_kwnames
[] = { "self","control", NULL
};
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_AddControl",_kwnames
,&_argo0
,&_argo1
))
1840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddControl. Expected _wxToolBarBase_p.");
1847 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1848 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarBase_AddControl. Expected _wxControl_p.");
1854 wxPy_BEGIN_ALLOW_THREADS
;
1855 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddControl(_arg0
,_arg1
);
1857 wxPy_END_ALLOW_THREADS
;
1859 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1860 _resultobj
= Py_BuildValue("s",_ptemp
);
1863 _resultobj
= Py_None
;
1868 #define wxToolBarBase_InsertControl(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertControl(_swigarg0,_swigarg1))
1869 static PyObject
*_wrap_wxToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1871 wxToolBarToolBase
* _result
;
1872 wxToolBarBase
* _arg0
;
1875 PyObject
* _argo0
= 0;
1876 PyObject
* _argo2
= 0;
1877 char *_kwnames
[] = { "self","pos","control", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_InsertControl",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertControl. Expected _wxToolBarBase_p.");
1891 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxControl_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_InsertControl. Expected _wxControl_p.");
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertControl(_arg0
,_arg1
,_arg2
);
1901 wxPy_END_ALLOW_THREADS
;
1903 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1904 _resultobj
= Py_BuildValue("s",_ptemp
);
1907 _resultobj
= Py_None
;
1912 #define wxToolBarBase_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1913 static PyObject
*_wrap_wxToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1915 wxToolBarToolBase
* _result
;
1916 wxToolBarBase
* _arg0
;
1917 PyObject
* _argo0
= 0;
1918 char *_kwnames
[] = { "self", NULL
};
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_AddSeparator",_kwnames
,&_argo0
))
1925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSeparator. Expected _wxToolBarBase_p.");
1932 wxPy_BEGIN_ALLOW_THREADS
;
1933 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddSeparator(_arg0
);
1935 wxPy_END_ALLOW_THREADS
;
1937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1938 _resultobj
= Py_BuildValue("s",_ptemp
);
1941 _resultobj
= Py_None
;
1946 #define wxToolBarBase_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
1947 static PyObject
*_wrap_wxToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
* _resultobj
;
1949 wxToolBarToolBase
* _result
;
1950 wxToolBarBase
* _arg0
;
1952 PyObject
* _argo0
= 0;
1953 char *_kwnames
[] = { "self","pos", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSeparator. Expected _wxToolBarBase_p.");
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertSeparator(_arg0
,_arg1
);
1970 wxPy_END_ALLOW_THREADS
;
1972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1973 _resultobj
= Py_BuildValue("s",_ptemp
);
1976 _resultobj
= Py_None
;
1981 #define wxToolBarBase_RemoveTool(_swigobj,_swigarg0) (_swigobj->RemoveTool(_swigarg0))
1982 static PyObject
*_wrap_wxToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1984 wxToolBarToolBase
* _result
;
1985 wxToolBarBase
* _arg0
;
1987 PyObject
* _argo0
= 0;
1988 char *_kwnames
[] = { "self","id", NULL
};
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_RemoveTool",_kwnames
,&_argo0
,&_arg1
))
1995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_RemoveTool. Expected _wxToolBarBase_p.");
2002 wxPy_BEGIN_ALLOW_THREADS
;
2003 _result
= (wxToolBarToolBase
*)wxToolBarBase_RemoveTool(_arg0
,_arg1
);
2005 wxPy_END_ALLOW_THREADS
;
2007 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
2008 _resultobj
= Py_BuildValue("s",_ptemp
);
2011 _resultobj
= Py_None
;
2016 #define wxToolBarBase_DeleteToolByPos(_swigobj,_swigarg0) (_swigobj->DeleteToolByPos(_swigarg0))
2017 static PyObject
*_wrap_wxToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2020 wxToolBarBase
* _arg0
;
2022 PyObject
* _argo0
= 0;
2023 char *_kwnames
[] = { "self","pos", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteToolByPos",_kwnames
,&_argo0
,&_arg1
))
2029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteToolByPos. Expected _wxToolBarBase_p.");
2036 wxPy_BEGIN_ALLOW_THREADS
;
2037 _result
= (bool )wxToolBarBase_DeleteToolByPos(_arg0
,_arg1
);
2039 wxPy_END_ALLOW_THREADS
;
2040 } _resultobj
= Py_BuildValue("i",_result
);
2044 #define wxToolBarBase_DeleteTool(_swigobj,_swigarg0) (_swigobj->DeleteTool(_swigarg0))
2045 static PyObject
*_wrap_wxToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
* _resultobj
;
2048 wxToolBarBase
* _arg0
;
2050 PyObject
* _argo0
= 0;
2051 char *_kwnames
[] = { "self","id", NULL
};
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteTool",_kwnames
,&_argo0
,&_arg1
))
2057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteTool. Expected _wxToolBarBase_p.");
2064 wxPy_BEGIN_ALLOW_THREADS
;
2065 _result
= (bool )wxToolBarBase_DeleteTool(_arg0
,_arg1
);
2067 wxPy_END_ALLOW_THREADS
;
2068 } _resultobj
= Py_BuildValue("i",_result
);
2072 #define wxToolBarBase_ClearTools(_swigobj) (_swigobj->ClearTools())
2073 static PyObject
*_wrap_wxToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
* _resultobj
;
2075 wxToolBarBase
* _arg0
;
2076 PyObject
* _argo0
= 0;
2077 char *_kwnames
[] = { "self", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_ClearTools",_kwnames
,&_argo0
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ClearTools. Expected _wxToolBarBase_p.");
2090 wxPy_BEGIN_ALLOW_THREADS
;
2091 wxToolBarBase_ClearTools(_arg0
);
2093 wxPy_END_ALLOW_THREADS
;
2094 } Py_INCREF(Py_None
);
2095 _resultobj
= Py_None
;
2099 #define wxToolBarBase_Realize(_swigobj) (_swigobj->Realize())
2100 static PyObject
*_wrap_wxToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2103 wxToolBarBase
* _arg0
;
2104 PyObject
* _argo0
= 0;
2105 char *_kwnames
[] = { "self", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_Realize",_kwnames
,&_argo0
))
2111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_Realize. Expected _wxToolBarBase_p.");
2118 wxPy_BEGIN_ALLOW_THREADS
;
2119 _result
= (bool )wxToolBarBase_Realize(_arg0
);
2121 wxPy_END_ALLOW_THREADS
;
2122 } _resultobj
= Py_BuildValue("i",_result
);
2126 #define wxToolBarBase_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
2127 static PyObject
*_wrap_wxToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
* _resultobj
;
2129 wxToolBarBase
* _arg0
;
2132 PyObject
* _argo0
= 0;
2134 char *_kwnames
[] = { "self","id","enable", NULL
};
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_EnableTool. Expected _wxToolBarBase_p.");
2146 _arg2
= (bool ) tempbool2
;
2148 wxPy_BEGIN_ALLOW_THREADS
;
2149 wxToolBarBase_EnableTool(_arg0
,_arg1
,_arg2
);
2151 wxPy_END_ALLOW_THREADS
;
2152 } Py_INCREF(Py_None
);
2153 _resultobj
= Py_None
;
2157 #define wxToolBarBase_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2158 static PyObject
*_wrap_wxToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2160 wxToolBarBase
* _arg0
;
2163 PyObject
* _argo0
= 0;
2165 char *_kwnames
[] = { "self","id","toggle", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ToggleTool. Expected _wxToolBarBase_p.");
2177 _arg2
= (bool ) tempbool2
;
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 wxToolBarBase_ToggleTool(_arg0
,_arg1
,_arg2
);
2182 wxPy_END_ALLOW_THREADS
;
2183 } Py_INCREF(Py_None
);
2184 _resultobj
= Py_None
;
2188 #define wxToolBarBase_SetToggle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToggle(_swigarg0,_swigarg1))
2189 static PyObject
*_wrap_wxToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
* _resultobj
;
2191 wxToolBarBase
* _arg0
;
2194 PyObject
* _argo0
= 0;
2196 char *_kwnames
[] = { "self","id","toggle", NULL
};
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetToggle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToggle. Expected _wxToolBarBase_p.");
2208 _arg2
= (bool ) tempbool2
;
2210 wxPy_BEGIN_ALLOW_THREADS
;
2211 wxToolBarBase_SetToggle(_arg0
,_arg1
,_arg2
);
2213 wxPy_END_ALLOW_THREADS
;
2214 } Py_INCREF(Py_None
);
2215 _resultobj
= Py_None
;
2219 static PyObject
* wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int index
) {
2220 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(index
);
2222 Py_INCREF(udata
->m_obj
);
2223 return udata
->m_obj
;
2229 static PyObject
*_wrap_wxToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2232 wxToolBarBase
* _arg0
;
2234 PyObject
* _argo0
= 0;
2235 char *_kwnames
[] = { "self","index", NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolClientData",_kwnames
,&_argo0
,&_arg1
))
2241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolClientData. Expected _wxToolBarBase_p.");
2248 wxPy_BEGIN_ALLOW_THREADS
;
2249 _result
= (PyObject
*)wxToolBarBase_GetToolClientData(_arg0
,_arg1
);
2251 wxPy_END_ALLOW_THREADS
;
2253 _resultobj
= _result
;
2258 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int index
,PyObject
* clientData
) {
2259 self
->SetToolClientData(index
, new wxPyUserData(clientData
));
2261 static PyObject
*_wrap_wxToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
* _resultobj
;
2263 wxToolBarBase
* _arg0
;
2266 PyObject
* _argo0
= 0;
2267 PyObject
* _obj2
= 0;
2268 char *_kwnames
[] = { "self","index","clientData", NULL
};
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolClientData. Expected _wxToolBarBase_p.");
2284 wxPy_BEGIN_ALLOW_THREADS
;
2285 wxToolBarBase_SetToolClientData(_arg0
,_arg1
,_arg2
);
2287 wxPy_END_ALLOW_THREADS
;
2288 } Py_INCREF(Py_None
);
2289 _resultobj
= Py_None
;
2293 #define wxToolBarBase_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2294 static PyObject
*_wrap_wxToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2297 wxToolBarBase
* _arg0
;
2299 PyObject
* _argo0
= 0;
2300 char *_kwnames
[] = { "self","id", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolState",_kwnames
,&_argo0
,&_arg1
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolState. Expected _wxToolBarBase_p.");
2313 wxPy_BEGIN_ALLOW_THREADS
;
2314 _result
= (bool )wxToolBarBase_GetToolState(_arg0
,_arg1
);
2316 wxPy_END_ALLOW_THREADS
;
2317 } _resultobj
= Py_BuildValue("i",_result
);
2321 #define wxToolBarBase_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2322 static PyObject
*_wrap_wxToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2325 wxToolBarBase
* _arg0
;
2327 PyObject
* _argo0
= 0;
2328 char *_kwnames
[] = { "self","id", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))
2334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolEnabled. Expected _wxToolBarBase_p.");
2341 wxPy_BEGIN_ALLOW_THREADS
;
2342 _result
= (bool )wxToolBarBase_GetToolEnabled(_arg0
,_arg1
);
2344 wxPy_END_ALLOW_THREADS
;
2345 } _resultobj
= Py_BuildValue("i",_result
);
2349 #define wxToolBarBase_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2350 static PyObject
*_wrap_wxToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2352 wxToolBarBase
* _arg0
;
2355 PyObject
* _argo0
= 0;
2356 PyObject
* _obj2
= 0;
2357 char *_kwnames
[] = { "self","id","helpString", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolShortHelp. Expected _wxToolBarBase_p.");
2370 #if PYTHON_API_VERSION >= 1009
2371 char* tmpPtr
; int tmpSize
;
2372 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2373 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2376 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2378 _arg2
= new wxString(tmpPtr
, tmpSize
);
2380 if (!PyString_Check(_obj2
)) {
2381 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2384 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2388 wxPy_BEGIN_ALLOW_THREADS
;
2389 wxToolBarBase_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
2391 wxPy_END_ALLOW_THREADS
;
2392 } Py_INCREF(Py_None
);
2393 _resultobj
= Py_None
;
2401 #define wxToolBarBase_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2402 static PyObject
*_wrap_wxToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
* _resultobj
;
2405 wxToolBarBase
* _arg0
;
2407 PyObject
* _argo0
= 0;
2408 char *_kwnames
[] = { "self","id", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolShortHelp. Expected _wxToolBarBase_p.");
2421 wxPy_BEGIN_ALLOW_THREADS
;
2422 _result
= new wxString (wxToolBarBase_GetToolShortHelp(_arg0
,_arg1
));
2424 wxPy_END_ALLOW_THREADS
;
2426 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2434 #define wxToolBarBase_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2435 static PyObject
*_wrap_wxToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
* _resultobj
;
2437 wxToolBarBase
* _arg0
;
2440 PyObject
* _argo0
= 0;
2441 PyObject
* _obj2
= 0;
2442 char *_kwnames
[] = { "self","id","helpString", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolLongHelp. Expected _wxToolBarBase_p.");
2455 #if PYTHON_API_VERSION >= 1009
2456 char* tmpPtr
; int tmpSize
;
2457 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2458 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2461 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2463 _arg2
= new wxString(tmpPtr
, tmpSize
);
2465 if (!PyString_Check(_obj2
)) {
2466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2469 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2473 wxPy_BEGIN_ALLOW_THREADS
;
2474 wxToolBarBase_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
2476 wxPy_END_ALLOW_THREADS
;
2477 } Py_INCREF(Py_None
);
2478 _resultobj
= Py_None
;
2486 #define wxToolBarBase_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2487 static PyObject
*_wrap_wxToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2490 wxToolBarBase
* _arg0
;
2492 PyObject
* _argo0
= 0;
2493 char *_kwnames
[] = { "self","id", NULL
};
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))
2499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolLongHelp. Expected _wxToolBarBase_p.");
2506 wxPy_BEGIN_ALLOW_THREADS
;
2507 _result
= new wxString (wxToolBarBase_GetToolLongHelp(_arg0
,_arg1
));
2509 wxPy_END_ALLOW_THREADS
;
2511 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2519 #define wxToolBarBase_SetMarginsXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
2520 static PyObject
*_wrap_wxToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2522 wxToolBarBase
* _arg0
;
2525 PyObject
* _argo0
= 0;
2526 char *_kwnames
[] = { "self","x","y", NULL
};
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMarginsXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMarginsXY. Expected _wxToolBarBase_p.");
2539 wxPy_BEGIN_ALLOW_THREADS
;
2540 wxToolBarBase_SetMarginsXY(_arg0
,_arg1
,_arg2
);
2542 wxPy_END_ALLOW_THREADS
;
2543 } Py_INCREF(Py_None
);
2544 _resultobj
= Py_None
;
2548 #define wxToolBarBase_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2549 static PyObject
*_wrap_wxToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2551 wxToolBarBase
* _arg0
;
2553 PyObject
* _argo0
= 0;
2555 PyObject
* _obj1
= 0;
2556 char *_kwnames
[] = { "self","size", NULL
};
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetMargins",_kwnames
,&_argo0
,&_obj1
))
2562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMargins. Expected _wxToolBarBase_p.");
2570 if (! wxSize_helper(_obj1
, &_arg1
))
2574 wxPy_BEGIN_ALLOW_THREADS
;
2575 wxToolBarBase_SetMargins(_arg0
,*_arg1
);
2577 wxPy_END_ALLOW_THREADS
;
2578 } Py_INCREF(Py_None
);
2579 _resultobj
= Py_None
;
2583 #define wxToolBarBase_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2584 static PyObject
*_wrap_wxToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2586 wxToolBarBase
* _arg0
;
2588 PyObject
* _argo0
= 0;
2589 char *_kwnames
[] = { "self","packing", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))
2595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolPacking. Expected _wxToolBarBase_p.");
2602 wxPy_BEGIN_ALLOW_THREADS
;
2603 wxToolBarBase_SetToolPacking(_arg0
,_arg1
);
2605 wxPy_END_ALLOW_THREADS
;
2606 } Py_INCREF(Py_None
);
2607 _resultobj
= Py_None
;
2611 #define wxToolBarBase_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2612 static PyObject
*_wrap_wxToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
* _resultobj
;
2614 wxToolBarBase
* _arg0
;
2616 PyObject
* _argo0
= 0;
2617 char *_kwnames
[] = { "self","separation", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolSeparation. Expected _wxToolBarBase_p.");
2630 wxPy_BEGIN_ALLOW_THREADS
;
2631 wxToolBarBase_SetToolSeparation(_arg0
,_arg1
);
2633 wxPy_END_ALLOW_THREADS
;
2634 } Py_INCREF(Py_None
);
2635 _resultobj
= Py_None
;
2639 #define wxToolBarBase_GetToolMargins(_swigobj) (_swigobj->GetToolMargins())
2640 static PyObject
*_wrap_wxToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2643 wxToolBarBase
* _arg0
;
2644 PyObject
* _argo0
= 0;
2645 char *_kwnames
[] = { "self", NULL
};
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolMargins",_kwnames
,&_argo0
))
2652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolMargins. Expected _wxToolBarBase_p.");
2659 wxPy_BEGIN_ALLOW_THREADS
;
2660 _result
= new wxSize (wxToolBarBase_GetToolMargins(_arg0
));
2662 wxPy_END_ALLOW_THREADS
;
2663 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2664 _resultobj
= Py_BuildValue("s",_ptemp
);
2668 #define wxToolBarBase_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2669 static PyObject
*_wrap_wxToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
* _resultobj
;
2672 wxToolBarBase
* _arg0
;
2673 PyObject
* _argo0
= 0;
2674 char *_kwnames
[] = { "self", NULL
};
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolPacking",_kwnames
,&_argo0
))
2680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolPacking. Expected _wxToolBarBase_p.");
2687 wxPy_BEGIN_ALLOW_THREADS
;
2688 _result
= (int )wxToolBarBase_GetToolPacking(_arg0
);
2690 wxPy_END_ALLOW_THREADS
;
2691 } _resultobj
= Py_BuildValue("i",_result
);
2695 #define wxToolBarBase_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2696 static PyObject
*_wrap_wxToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2699 wxToolBarBase
* _arg0
;
2700 PyObject
* _argo0
= 0;
2701 char *_kwnames
[] = { "self", NULL
};
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSeparation",_kwnames
,&_argo0
))
2707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSeparation. Expected _wxToolBarBase_p.");
2714 wxPy_BEGIN_ALLOW_THREADS
;
2715 _result
= (int )wxToolBarBase_GetToolSeparation(_arg0
);
2717 wxPy_END_ALLOW_THREADS
;
2718 } _resultobj
= Py_BuildValue("i",_result
);
2722 #define wxToolBarBase_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2723 static PyObject
*_wrap_wxToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2725 wxToolBarBase
* _arg0
;
2727 PyObject
* _argo0
= 0;
2728 char *_kwnames
[] = { "self","nRows", NULL
};
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetRows",_kwnames
,&_argo0
,&_arg1
))
2734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetRows. Expected _wxToolBarBase_p.");
2741 wxPy_BEGIN_ALLOW_THREADS
;
2742 wxToolBarBase_SetRows(_arg0
,_arg1
);
2744 wxPy_END_ALLOW_THREADS
;
2745 } Py_INCREF(Py_None
);
2746 _resultobj
= Py_None
;
2750 #define wxToolBarBase_SetMaxRowsCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMaxRowsCols(_swigarg0,_swigarg1))
2751 static PyObject
*_wrap_wxToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
* _resultobj
;
2753 wxToolBarBase
* _arg0
;
2756 PyObject
* _argo0
= 0;
2757 char *_kwnames
[] = { "self","rows","cols", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMaxRowsCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMaxRowsCols. Expected _wxToolBarBase_p.");
2770 wxPy_BEGIN_ALLOW_THREADS
;
2771 wxToolBarBase_SetMaxRowsCols(_arg0
,_arg1
,_arg2
);
2773 wxPy_END_ALLOW_THREADS
;
2774 } Py_INCREF(Py_None
);
2775 _resultobj
= Py_None
;
2779 #define wxToolBarBase_GetMaxRows(_swigobj) (_swigobj->GetMaxRows())
2780 static PyObject
*_wrap_wxToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
* _resultobj
;
2783 wxToolBarBase
* _arg0
;
2784 PyObject
* _argo0
= 0;
2785 char *_kwnames
[] = { "self", NULL
};
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxRows",_kwnames
,&_argo0
))
2791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxRows. Expected _wxToolBarBase_p.");
2798 wxPy_BEGIN_ALLOW_THREADS
;
2799 _result
= (int )wxToolBarBase_GetMaxRows(_arg0
);
2801 wxPy_END_ALLOW_THREADS
;
2802 } _resultobj
= Py_BuildValue("i",_result
);
2806 #define wxToolBarBase_GetMaxCols(_swigobj) (_swigobj->GetMaxCols())
2807 static PyObject
*_wrap_wxToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2810 wxToolBarBase
* _arg0
;
2811 PyObject
* _argo0
= 0;
2812 char *_kwnames
[] = { "self", NULL
};
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxCols",_kwnames
,&_argo0
))
2818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxCols. Expected _wxToolBarBase_p.");
2825 wxPy_BEGIN_ALLOW_THREADS
;
2826 _result
= (int )wxToolBarBase_GetMaxCols(_arg0
);
2828 wxPy_END_ALLOW_THREADS
;
2829 } _resultobj
= Py_BuildValue("i",_result
);
2833 #define wxToolBarBase_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
2834 static PyObject
*_wrap_wxToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
* _resultobj
;
2836 wxToolBarBase
* _arg0
;
2838 PyObject
* _argo0
= 0;
2840 PyObject
* _obj1
= 0;
2841 char *_kwnames
[] = { "self","size", NULL
};
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetToolBitmapSize",_kwnames
,&_argo0
,&_obj1
))
2847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolBitmapSize. Expected _wxToolBarBase_p.");
2855 if (! wxSize_helper(_obj1
, &_arg1
))
2859 wxPy_BEGIN_ALLOW_THREADS
;
2860 wxToolBarBase_SetToolBitmapSize(_arg0
,*_arg1
);
2862 wxPy_END_ALLOW_THREADS
;
2863 } Py_INCREF(Py_None
);
2864 _resultobj
= Py_None
;
2868 #define wxToolBarBase_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
2869 static PyObject
*_wrap_wxToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2872 wxToolBarBase
* _arg0
;
2873 PyObject
* _argo0
= 0;
2874 char *_kwnames
[] = { "self", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolBitmapSize",_kwnames
,&_argo0
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolBitmapSize. Expected _wxToolBarBase_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 _result
= new wxSize (wxToolBarBase_GetToolBitmapSize(_arg0
));
2891 wxPy_END_ALLOW_THREADS
;
2892 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2893 _resultobj
= Py_BuildValue("s",_ptemp
);
2897 #define wxToolBarBase_GetToolSize(_swigobj) (_swigobj->GetToolSize())
2898 static PyObject
*_wrap_wxToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2901 wxToolBarBase
* _arg0
;
2902 PyObject
* _argo0
= 0;
2903 char *_kwnames
[] = { "self", NULL
};
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSize",_kwnames
,&_argo0
))
2910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSize. Expected _wxToolBarBase_p.");
2917 wxPy_BEGIN_ALLOW_THREADS
;
2918 _result
= new wxSize (wxToolBarBase_GetToolSize(_arg0
));
2920 wxPy_END_ALLOW_THREADS
;
2921 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2922 _resultobj
= Py_BuildValue("s",_ptemp
);
2926 static void *SwigwxToolBarTowxToolBarBase(void *ptr
) {
2928 wxToolBarBase
*dest
;
2929 src
= (wxToolBar
*) ptr
;
2930 dest
= (wxToolBarBase
*) src
;
2931 return (void *) dest
;
2934 static void *SwigwxToolBarTowxControl(void *ptr
) {
2937 src
= (wxToolBar
*) ptr
;
2938 dest
= (wxControl
*) src
;
2939 return (void *) dest
;
2942 static void *SwigwxToolBarTowxWindow(void *ptr
) {
2945 src
= (wxToolBar
*) ptr
;
2946 dest
= (wxWindow
*) src
;
2947 return (void *) dest
;
2950 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
2953 src
= (wxToolBar
*) ptr
;
2954 dest
= (wxEvtHandler
*) src
;
2955 return (void *) dest
;
2958 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2959 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
* _resultobj
;
2961 wxToolBar
* _result
;
2964 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2965 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2966 long _arg4
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
2967 char * _arg5
= (char *) wxToolBarNameStr
;
2968 PyObject
* _argo0
= 0;
2970 PyObject
* _obj2
= 0;
2972 PyObject
* _obj3
= 0;
2973 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
2989 if (! wxPoint_helper(_obj2
, &_arg2
))
2995 if (! wxSize_helper(_obj3
, &_arg3
))
2999 wxPy_BEGIN_ALLOW_THREADS
;
3000 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3002 wxPy_END_ALLOW_THREADS
;
3004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
3005 _resultobj
= Py_BuildValue("s",_ptemp
);
3008 _resultobj
= Py_None
;
3013 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3014 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3016 wxToolBarToolBase
* _result
;
3020 PyObject
* _argo0
= 0;
3021 char *_kwnames
[] = { "self","x","y", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
3035 wxPy_BEGIN_ALLOW_THREADS
;
3036 _result
= (wxToolBarToolBase
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
3038 wxPy_END_ALLOW_THREADS
;
3040 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
3041 _resultobj
= Py_BuildValue("s",_ptemp
);
3044 _resultobj
= Py_None
;
3049 static void *SwigwxToolBarSimpleTowxToolBarBase(void *ptr
) {
3050 wxToolBarSimple
*src
;
3051 wxToolBarBase
*dest
;
3052 src
= (wxToolBarSimple
*) ptr
;
3053 dest
= (wxToolBarBase
*) src
;
3054 return (void *) dest
;
3057 static void *SwigwxToolBarSimpleTowxControl(void *ptr
) {
3058 wxToolBarSimple
*src
;
3060 src
= (wxToolBarSimple
*) ptr
;
3061 dest
= (wxControl
*) src
;
3062 return (void *) dest
;
3065 static void *SwigwxToolBarSimpleTowxWindow(void *ptr
) {
3066 wxToolBarSimple
*src
;
3068 src
= (wxToolBarSimple
*) ptr
;
3069 dest
= (wxWindow
*) src
;
3070 return (void *) dest
;
3073 static void *SwigwxToolBarSimpleTowxEvtHandler(void *ptr
) {
3074 wxToolBarSimple
*src
;
3076 src
= (wxToolBarSimple
*) ptr
;
3077 dest
= (wxEvtHandler
*) src
;
3078 return (void *) dest
;
3081 #define new_wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3082 static PyObject
*_wrap_new_wxToolBarSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3084 wxToolBarSimple
* _result
;
3087 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3088 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3089 long _arg4
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
3090 char * _arg5
= (char *) wxToolBarNameStr
;
3091 PyObject
* _argo0
= 0;
3093 PyObject
* _obj2
= 0;
3095 PyObject
* _obj3
= 0;
3096 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBarSimple",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBarSimple. Expected _wxWindow_p.");
3112 if (! wxPoint_helper(_obj2
, &_arg2
))
3118 if (! wxSize_helper(_obj3
, &_arg3
))
3122 wxPy_BEGIN_ALLOW_THREADS
;
3123 _result
= (wxToolBarSimple
*)new_wxToolBarSimple(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3125 wxPy_END_ALLOW_THREADS
;
3127 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarSimple_p");
3128 _resultobj
= Py_BuildValue("s",_ptemp
);
3131 _resultobj
= Py_None
;
3136 #define wxToolBarSimple_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3137 static PyObject
*_wrap_wxToolBarSimple_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3139 wxToolBarToolBase
* _result
;
3140 wxToolBarSimple
* _arg0
;
3143 PyObject
* _argo0
= 0;
3144 char *_kwnames
[] = { "self","x","y", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarSimple_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarSimple_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarSimple_FindToolForPosition. Expected _wxToolBarSimple_p.");
3158 wxPy_BEGIN_ALLOW_THREADS
;
3159 _result
= (wxToolBarToolBase
*)wxToolBarSimple_FindToolForPosition(_arg0
,_arg1
,_arg2
);
3161 wxPy_END_ALLOW_THREADS
;
3163 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
3164 _resultobj
= Py_BuildValue("s",_ptemp
);
3167 _resultobj
= Py_None
;
3172 static PyMethodDef stattoolcMethods
[] = {
3173 { "wxToolBarSimple_FindToolForPosition", (PyCFunction
) _wrap_wxToolBarSimple_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
3174 { "new_wxToolBarSimple", (PyCFunction
) _wrap_new_wxToolBarSimple
, METH_VARARGS
| METH_KEYWORDS
},
3175 { "wxToolBar_FindToolForPosition", (PyCFunction
) _wrap_wxToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
3176 { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS
| METH_KEYWORDS
},
3177 { "wxToolBarBase_GetToolSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
3178 { "wxToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
3179 { "wxToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
3180 { "wxToolBarBase_GetMaxCols", (PyCFunction
) _wrap_wxToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
3181 { "wxToolBarBase_GetMaxRows", (PyCFunction
) _wrap_wxToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
3182 { "wxToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_wxToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
3183 { "wxToolBarBase_SetRows", (PyCFunction
) _wrap_wxToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
3184 { "wxToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
3185 { "wxToolBarBase_GetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
3186 { "wxToolBarBase_GetToolMargins", (PyCFunction
) _wrap_wxToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
3187 { "wxToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
3188 { "wxToolBarBase_SetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
3189 { "wxToolBarBase_SetMargins", (PyCFunction
) _wrap_wxToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
3190 { "wxToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_wxToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
3191 { "wxToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3192 { "wxToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3193 { "wxToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3194 { "wxToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3195 { "wxToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_wxToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3196 { "wxToolBarBase_GetToolState", (PyCFunction
) _wrap_wxToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
3197 { "wxToolBarBase_SetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
3198 { "wxToolBarBase_GetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
3199 { "wxToolBarBase_SetToggle", (PyCFunction
) _wrap_wxToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
3200 { "wxToolBarBase_ToggleTool", (PyCFunction
) _wrap_wxToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
3201 { "wxToolBarBase_EnableTool", (PyCFunction
) _wrap_wxToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
3202 { "wxToolBarBase_Realize", (PyCFunction
) _wrap_wxToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
3203 { "wxToolBarBase_ClearTools", (PyCFunction
) _wrap_wxToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
3204 { "wxToolBarBase_DeleteTool", (PyCFunction
) _wrap_wxToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
3205 { "wxToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_wxToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
3206 { "wxToolBarBase_RemoveTool", (PyCFunction
) _wrap_wxToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
3207 { "wxToolBarBase_InsertSeparator", (PyCFunction
) _wrap_wxToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3208 { "wxToolBarBase_AddSeparator", (PyCFunction
) _wrap_wxToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3209 { "wxToolBarBase_InsertControl", (PyCFunction
) _wrap_wxToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
3210 { "wxToolBarBase_AddControl", (PyCFunction
) _wrap_wxToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
3211 { "wxToolBarBase_InsertSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_InsertSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
3212 { "wxToolBarBase_InsertTool", (PyCFunction
) _wrap_wxToolBarBase_InsertTool
, METH_VARARGS
| METH_KEYWORDS
},
3213 { "wxToolBarBase_AddSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_AddSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
3214 { "wxToolBarBase_AddTool", (PyCFunction
) _wrap_wxToolBarBase_AddTool
, METH_VARARGS
| METH_KEYWORDS
},
3215 { "wxToolBarToolBase_SetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
3216 { "wxToolBarToolBase_GetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
3217 { "wxToolBarToolBase_Attach", (PyCFunction
) _wrap_wxToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
3218 { "wxToolBarToolBase_Detach", (PyCFunction
) _wrap_wxToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
3219 { "wxToolBarToolBase_SetBitmap2", (PyCFunction
) _wrap_wxToolBarToolBase_SetBitmap2
, METH_VARARGS
| METH_KEYWORDS
},
3220 { "wxToolBarToolBase_SetBitmap1", (PyCFunction
) _wrap_wxToolBarToolBase_SetBitmap1
, METH_VARARGS
| METH_KEYWORDS
},
3221 { "wxToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3222 { "wxToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3223 { "wxToolBarToolBase_SetToggle", (PyCFunction
) _wrap_wxToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
3224 { "wxToolBarToolBase_Toggle", (PyCFunction
) _wrap_wxToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
3225 { "wxToolBarToolBase_Enable", (PyCFunction
) _wrap_wxToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
3226 { "wxToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3227 { "wxToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3228 { "wxToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3229 { "wxToolBarToolBase_GetBitmap2", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap2
, METH_VARARGS
| METH_KEYWORDS
},
3230 { "wxToolBarToolBase_GetBitmap1", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap1
, METH_VARARGS
| METH_KEYWORDS
},
3231 { "wxToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_wxToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
3232 { "wxToolBarToolBase_IsToggled", (PyCFunction
) _wrap_wxToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
3233 { "wxToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_wxToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3234 { "wxToolBarToolBase_GetStyle", (PyCFunction
) _wrap_wxToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3235 { "wxToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_wxToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3236 { "wxToolBarToolBase_IsControl", (PyCFunction
) _wrap_wxToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
3237 { "wxToolBarToolBase_IsButton", (PyCFunction
) _wrap_wxToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
3238 { "wxToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_wxToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
3239 { "wxToolBarToolBase_GetControl", (PyCFunction
) _wrap_wxToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
3240 { "wxToolBarToolBase_GetId", (PyCFunction
) _wrap_wxToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3241 { "wxToolBarToolBase_Destroy", (PyCFunction
) _wrap_wxToolBarToolBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
3242 { "wxStatusBar_SetMinHeight", (PyCFunction
) _wrap_wxStatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
3243 { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
3244 { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
3245 { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
3246 { "wxStatusBar_GetBorderY", (PyCFunction
) _wrap_wxStatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
3247 { "wxStatusBar_GetBorderX", (PyCFunction
) _wrap_wxStatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
3248 { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
3249 { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
3250 { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
3251 { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
3258 * This table is used by the pointer type-checker
3260 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3261 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3262 { "_wxEvent","_class_wxEvent",0},
3263 { "_class_wxActivateEvent","_wxActivateEvent",0},
3264 { "_signed_long","_long",0},
3265 { "_wxMenuEvent","_class_wxMenuEvent",0},
3266 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3267 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3268 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
3269 { "_wxPrintQuality","_wxCoord",0},
3270 { "_wxPrintQuality","_int",0},
3271 { "_wxPrintQuality","_signed_int",0},
3272 { "_wxPrintQuality","_unsigned_int",0},
3273 { "_wxPrintQuality","_wxWindowID",0},
3274 { "_wxPrintQuality","_uint",0},
3275 { "_wxPrintQuality","_EBool",0},
3276 { "_wxPrintQuality","_size_t",0},
3277 { "_wxPrintQuality","_time_t",0},
3278 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3279 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
3280 { "_class_wxRegionIterator","_wxRegionIterator",0},
3281 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3282 { "_class_wxMenuBar","_wxMenuBar",0},
3283 { "_class_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3284 { "_class_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3285 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3286 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3287 { "_class_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3288 { "_class_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3289 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3290 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3291 { "_class_wxEvtHandler","_wxEvtHandler",0},
3292 { "_wxPaintEvent","_class_wxPaintEvent",0},
3293 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3294 { "_wxCursor","_class_wxCursor",0},
3295 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3296 { "_class_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3297 { "_class_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3298 { "_class_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3299 { "_class_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3300 { "_class_wxToolBarBase","_wxToolBarBase",0},
3301 { "_wxMask","_class_wxMask",0},
3302 { "_wxPen","_class_wxPen",0},
3303 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3304 { "_byte","_unsigned_char",0},
3305 { "_wxDataObject","_class_wxDataObject",0},
3306 { "_wxStaticBox","_class_wxStaticBox",0},
3307 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3308 { "_wxPyDropSource","_class_wxPyDropSource",0},
3309 { "_wxChoice","_class_wxChoice",0},
3310 { "_wxSlider","_class_wxSlider",0},
3311 { "_long","_unsigned_long",0},
3312 { "_long","_signed_long",0},
3313 { "_wxImageList","_class_wxImageList",0},
3314 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3315 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3316 { "_wxBitmapButton","_class_wxBitmapButton",0},
3317 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3318 { "_class_wxClipboard","_wxClipboard",0},
3319 { "_class_wxGauge","_wxGauge",0},
3320 { "_wxDC","_class_wxDC",0},
3321 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3322 { "_wxSpinEvent","_class_wxSpinEvent",0},
3323 { "_size_t","_wxCoord",0},
3324 { "_size_t","_wxPrintQuality",0},
3325 { "_size_t","_time_t",0},
3326 { "_size_t","_unsigned_int",0},
3327 { "_size_t","_int",0},
3328 { "_size_t","_wxWindowID",0},
3329 { "_size_t","_uint",0},
3330 { "_class_wxRealPoint","_wxRealPoint",0},
3331 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
3332 { "_wxPrinterDC","_class_wxPrinterDC",0},
3333 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
3334 { "_class_wxMenuItem","_wxMenuItem",0},
3335 { "_class_wxPaintEvent","_wxPaintEvent",0},
3336 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3337 { "_class_wxStatusBar","_wxStatusBar",0},
3338 { "_wxPanel","_class_wxPanel",0},
3339 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3340 { "_wxCheckBox","_class_wxCheckBox",0},
3341 { "_wxPyEvent","_class_wxPyEvent",0},
3342 { "_wxTextCtrl","_class_wxTextCtrl",0},
3343 { "_class_wxMask","_wxMask",0},
3344 { "_wxTextDataObject","_class_wxTextDataObject",0},
3345 { "_class_wxKeyEvent","_wxKeyEvent",0},
3346 { "_wxColour","_class_wxColour",0},
3347 { "_class_wxDialog","_wxDialog",0},
3348 { "_class_wxFileDataObject","_wxFileDataObject",0},
3349 { "_wxIdleEvent","_class_wxIdleEvent",0},
3350 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3351 { "_wxToolBar","_class_wxToolBar",0},
3352 { "_class_wxDataObject","_wxDataObject",0},
3353 { "_wxStaticLine","_class_wxStaticLine",0},
3354 { "_wxBrush","_class_wxBrush",0},
3355 { "_wxDataFormat","_class_wxDataFormat",0},
3356 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3357 { "_wxShowEvent","_class_wxShowEvent",0},
3358 { "_uint","_wxCoord",0},
3359 { "_uint","_wxPrintQuality",0},
3360 { "_uint","_time_t",0},
3361 { "_uint","_size_t",0},
3362 { "_uint","_unsigned_int",0},
3363 { "_uint","_int",0},
3364 { "_uint","_wxWindowID",0},
3365 { "_wxChar","_char",0},
3366 { "_wxPyValidator","_class_wxPyValidator",0},
3367 { "_class_wxEvent","_wxEvent",0},
3368 { "_wxCheckListBox","_class_wxCheckListBox",0},
3369 { "_wxRect","_class_wxRect",0},
3370 { "_wxCommandEvent","_class_wxCommandEvent",0},
3371 { "_wxSizeEvent","_class_wxSizeEvent",0},
3372 { "_wxPoint","_class_wxPoint",0},
3373 { "_class_wxButton","_wxButton",0},
3374 { "_wxRadioBox","_class_wxRadioBox",0},
3375 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
3376 { "_char","_wxChar",0},
3377 { "_wxBitmap","_class_wxBitmap",0},
3378 { "_wxWindowDC","_class_wxWindowDC",0},
3379 { "_wxTimerEvent","_class_wxTimerEvent",0},
3380 { "_wxScrollBar","_class_wxScrollBar",0},
3381 { "_wxSpinButton","_class_wxSpinButton",0},
3382 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3383 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3384 { "_class_wxValidator","_wxValidator",0},
3385 { "_class_wxPyEvent","_wxPyEvent",0},
3386 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3387 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
3388 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
3389 { "_class_wxToolBar","_wxToolBar",0},
3390 { "_wxDropTarget","_class_wxDropTarget",0},
3391 { "_class_wxStaticLine","_wxStaticLine",0},
3392 { "_wxScrollEvent","_class_wxScrollEvent",0},
3393 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
3394 { "_EBool","_wxCoord",0},
3395 { "_EBool","_wxPrintQuality",0},
3396 { "_EBool","_signed_int",0},
3397 { "_EBool","_int",0},
3398 { "_EBool","_wxWindowID",0},
3399 { "_class_wxRegion","_wxRegion",0},
3400 { "_class_wxDataFormat","_wxDataFormat",0},
3401 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3402 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
3403 { "_wxStaticText","_class_wxStaticText",0},
3404 { "_wxFont","_class_wxFont",0},
3405 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3406 { "_wxCloseEvent","_class_wxCloseEvent",0},
3407 { "_unsigned_long","_long",0},
3408 { "_class_wxRect","_wxRect",0},
3409 { "_class_wxDC","_wxDC",0},
3410 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3411 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
3412 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
3413 { "_wxFocusEvent","_class_wxFocusEvent",0},
3414 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3415 { "_class_wxTimerEvent","_wxTimerEvent",0},
3416 { "_class_wxSpinButton","_wxSpinButton",0},
3417 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3418 { "_class_wxPanel","_wxPanel",0},
3419 { "_class_wxCheckBox","_wxCheckBox",0},
3420 { "_wxComboBox","_class_wxComboBox",0},
3421 { "_wxRadioButton","_class_wxRadioButton",0},
3422 { "_signed_int","_wxCoord",0},
3423 { "_signed_int","_wxPrintQuality",0},
3424 { "_signed_int","_EBool",0},
3425 { "_signed_int","_wxWindowID",0},
3426 { "_signed_int","_int",0},
3427 { "_class_wxTextCtrl","_wxTextCtrl",0},
3428 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3429 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3430 { "_class_wxTextDataObject","_wxTextDataObject",0},
3431 { "_wxMenu","_class_wxMenu",0},
3432 { "_class_wxMoveEvent","_wxMoveEvent",0},
3433 { "_wxListBox","_class_wxListBox",0},
3434 { "_wxScreenDC","_class_wxScreenDC",0},
3435 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
3436 { "_WXTYPE","_short",0},
3437 { "_WXTYPE","_signed_short",0},
3438 { "_WXTYPE","_unsigned_short",0},
3439 { "_class_wxDropTarget","_wxDropTarget",0},
3440 { "_class_wxBrush","_wxBrush",0},
3441 { "_unsigned_short","_WXTYPE",0},
3442 { "_unsigned_short","_short",0},
3443 { "_class_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3444 { "_class_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3445 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
3446 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
3447 { "_class_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3448 { "_class_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3449 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
3450 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
3451 { "_class_wxWindow","_wxWindow",0},
3452 { "_class_wxStaticText","_wxStaticText",0},
3453 { "_class_wxFont","_wxFont",0},
3454 { "_wxClipboard","_class_wxClipboard",0},
3455 { "_class_wxPyValidator","_wxPyValidator",0},
3456 { "_class_wxCloseEvent","_wxCloseEvent",0},
3457 { "_wxBusyInfo","_class_wxBusyInfo",0},
3458 { "_class_wxMenuEvent","_wxMenuEvent",0},
3459 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3460 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3461 { "_wxClientDC","_class_wxClientDC",0},
3462 { "_wxMouseEvent","_class_wxMouseEvent",0},
3463 { "_class_wxPoint","_wxPoint",0},
3464 { "_wxRealPoint","_class_wxRealPoint",0},
3465 { "_class_wxRadioBox","_wxRadioBox",0},
3466 { "_signed_short","_WXTYPE",0},
3467 { "_signed_short","_short",0},
3468 { "_wxMemoryDC","_class_wxMemoryDC",0},
3469 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3470 { "_wxPaintDC","_class_wxPaintDC",0},
3471 { "_class_wxWindowDC","_wxWindowDC",0},
3472 { "_class_wxFocusEvent","_wxFocusEvent",0},
3473 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3474 { "_wxStatusBar","_class_wxStatusBar",0},
3475 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3476 { "_class_wxCursor","_wxCursor",0},
3477 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3478 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3479 { "_unsigned_char","_byte",0},
3480 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3481 { "_class_wxMenu","_wxMenu",0},
3482 { "_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3483 { "_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3484 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3485 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3486 { "_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3487 { "_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3488 { "_wxControl","_class_wxControl",0},
3489 { "_class_wxListBox","_wxListBox",0},
3490 { "_unsigned_int","_wxCoord",0},
3491 { "_unsigned_int","_wxPrintQuality",0},
3492 { "_unsigned_int","_time_t",0},
3493 { "_unsigned_int","_size_t",0},
3494 { "_unsigned_int","_uint",0},
3495 { "_unsigned_int","_wxWindowID",0},
3496 { "_unsigned_int","_int",0},
3497 { "_wxIcon","_class_wxIcon",0},
3498 { "_wxDialog","_class_wxDialog",0},
3499 { "_class_wxPen","_wxPen",0},
3500 { "_short","_WXTYPE",0},
3501 { "_short","_unsigned_short",0},
3502 { "_short","_signed_short",0},
3503 { "_class_wxStaticBox","_wxStaticBox",0},
3504 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3505 { "_class_wxPyDropSource","_wxPyDropSource",0},
3506 { "_class_wxScrollEvent","_wxScrollEvent",0},
3507 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3508 { "_class_wxChoice","_wxChoice",0},
3509 { "_class_wxSlider","_wxSlider",0},
3510 { "_class_wxImageList","_wxImageList",0},
3511 { "_class_wxBitmapButton","_wxBitmapButton",0},
3512 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3513 { "_wxWindowID","_wxCoord",0},
3514 { "_wxWindowID","_wxPrintQuality",0},
3515 { "_wxWindowID","_time_t",0},
3516 { "_wxWindowID","_size_t",0},
3517 { "_wxWindowID","_EBool",0},
3518 { "_wxWindowID","_uint",0},
3519 { "_wxWindowID","_int",0},
3520 { "_wxWindowID","_signed_int",0},
3521 { "_wxWindowID","_unsigned_int",0},
3522 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3523 { "_int","_wxCoord",0},
3524 { "_int","_wxPrintQuality",0},
3525 { "_int","_time_t",0},
3526 { "_int","_size_t",0},
3527 { "_int","_EBool",0},
3528 { "_int","_uint",0},
3529 { "_int","_wxWindowID",0},
3530 { "_int","_unsigned_int",0},
3531 { "_int","_signed_int",0},
3532 { "_class_wxMouseEvent","_wxMouseEvent",0},
3533 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3534 { "_class_wxSpinEvent","_wxSpinEvent",0},
3535 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3536 { "_time_t","_wxCoord",0},
3537 { "_time_t","_wxPrintQuality",0},
3538 { "_time_t","_unsigned_int",0},
3539 { "_time_t","_int",0},
3540 { "_time_t","_wxWindowID",0},
3541 { "_time_t","_uint",0},
3542 { "_time_t","_size_t",0},
3543 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3544 { "_wxButton","_class_wxButton",0},
3545 { "_wxSize","_class_wxSize",0},
3546 { "_wxRegionIterator","_class_wxRegionIterator",0},
3547 { "_class_wxPrinterDC","_wxPrinterDC",0},
3548 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3549 { "_class_wxPaintDC","_wxPaintDC",0},
3550 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3551 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3552 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3553 { "_class_wxComboBox","_wxComboBox",0},
3554 { "_class_wxRadioButton","_wxRadioButton",0},
3555 { "_wxValidator","_class_wxValidator",0},
3556 { "_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3557 { "_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3558 { "_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3559 { "_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3560 { "_wxToolBarBase","_class_wxToolBarBase",0},
3561 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3562 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3563 { "_class_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3564 { "_class_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3565 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3566 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3567 { "_class_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3568 { "_class_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3569 { "_class_wxControl","_wxControl",0},
3570 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3571 { "_class_wxIcon","_wxIcon",0},
3572 { "_class_wxColour","_wxColour",0},
3573 { "_class_wxScreenDC","_wxScreenDC",0},
3574 { "_wxPalette","_class_wxPalette",0},
3575 { "_class_wxIdleEvent","_wxIdleEvent",0},
3576 { "_wxCoord","_int",0},
3577 { "_wxCoord","_signed_int",0},
3578 { "_wxCoord","_unsigned_int",0},
3579 { "_wxCoord","_wxWindowID",0},
3580 { "_wxCoord","_uint",0},
3581 { "_wxCoord","_EBool",0},
3582 { "_wxCoord","_size_t",0},
3583 { "_wxCoord","_time_t",0},
3584 { "_wxCoord","_wxPrintQuality",0},
3585 { "_wxEraseEvent","_class_wxEraseEvent",0},
3586 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3587 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3588 { "_wxRegion","_class_wxRegion",0},
3589 { "_class_wxShowEvent","_wxShowEvent",0},
3590 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3591 { "_wxActivateEvent","_class_wxActivateEvent",0},
3592 { "_wxGauge","_class_wxGauge",0},
3593 { "_class_wxCheckListBox","_wxCheckListBox",0},
3594 { "_class_wxBusyInfo","_wxBusyInfo",0},
3595 { "_class_wxCommandEvent","_wxCommandEvent",0},
3596 { "_class_wxClientDC","_wxClientDC",0},
3597 { "_class_wxSizeEvent","_wxSizeEvent",0},
3598 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3599 { "_class_wxSize","_wxSize",0},
3600 { "_class_wxBitmap","_wxBitmap",0},
3601 { "_class_wxMemoryDC","_wxMemoryDC",0},
3602 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3603 { "_wxMenuBar","_class_wxMenuBar",0},
3604 { "_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3605 { "_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3606 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3607 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3608 { "_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3609 { "_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3610 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3611 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3612 { "_wxEvtHandler","_class_wxEvtHandler",0},
3613 { "_wxMenuItem","_class_wxMenuItem",0},
3614 { "_class_wxScrollBar","_wxScrollBar",0},
3615 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3616 { "_wxKeyEvent","_class_wxKeyEvent",0},
3617 { "_wxMoveEvent","_class_wxMoveEvent",0},
3618 { "_class_wxPalette","_wxPalette",0},
3619 { "_wxFileDataObject","_class_wxFileDataObject",0},
3620 { "_class_wxEraseEvent","_wxEraseEvent",0},
3621 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3622 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
3623 { "_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3624 { "_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3625 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
3626 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
3627 { "_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3628 { "_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3629 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
3630 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
3631 { "_wxWindow","_class_wxWindow",0},
3632 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3635 static PyObject
*SWIG_globals
;
3639 SWIGEXPORT(void) initstattoolc() {
3641 SWIG_globals
= SWIG_newvarlink();
3642 m
= Py_InitModule("stattoolc", stattoolcMethods
);
3643 d
= PyModule_GetDict(m
);
3644 PyDict_SetItemString(d
,"wxTOOL_STYLE_BUTTON", PyInt_FromLong((long) wxTOOL_STYLE_BUTTON
));
3645 PyDict_SetItemString(d
,"wxTOOL_STYLE_SEPARATOR", PyInt_FromLong((long) wxTOOL_STYLE_SEPARATOR
));
3646 PyDict_SetItemString(d
,"wxTOOL_STYLE_CONTROL", PyInt_FromLong((long) wxTOOL_STYLE_CONTROL
));
3649 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3650 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);