2 * FILE : msw/stattool.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initstattoolc
54 #define SWIG_name "stattoolc"
57 #include <wx/toolbar.h>
58 #include <wx/tbarsmpl.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
111 static void *SwigwxStatusBarTowxWindow(void *ptr
) {
114 src
= (wxStatusBar
*) ptr
;
115 dest
= (wxWindow
*) src
;
116 return (void *) dest
;
119 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) {
122 src
= (wxStatusBar
*) ptr
;
123 dest
= (wxEvtHandler
*) src
;
124 return (void *) dest
;
127 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
128 static PyObject
*_wrap_new_wxStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
129 PyObject
* _resultobj
;
130 wxStatusBar
* _result
;
133 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
134 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
135 long _arg4
= (long ) wxST_SIZEGRIP
;
136 char * _arg5
= (char *) "statusBar";
137 PyObject
* _argo0
= 0;
139 PyObject
* _obj2
= 0;
141 PyObject
* _obj3
= 0;
142 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStatusBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
158 if (! wxPoint_helper(_obj2
, &_arg2
))
164 if (! wxSize_helper(_obj3
, &_arg3
))
168 wxPy_BEGIN_ALLOW_THREADS
;
169 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
171 wxPy_END_ALLOW_THREADS
;
173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
174 _resultobj
= Py_BuildValue("s",_ptemp
);
177 _resultobj
= Py_None
;
182 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
183 wxRect
* rect
= new wxRect
;
184 self
->GetFieldRect(item
, *rect
);
187 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
188 PyObject
* _resultobj
;
192 PyObject
* _argo0
= 0;
193 char *_kwnames
[] = { "self","item", NULL
};
197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxStatusBar_GetFieldRect",_kwnames
,&_argo0
,&_arg1
))
200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
207 wxPy_BEGIN_ALLOW_THREADS
;
208 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
210 wxPy_END_ALLOW_THREADS
;
212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
213 _resultobj
= Py_BuildValue("s",_ptemp
);
216 _resultobj
= Py_None
;
221 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
222 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
226 PyObject
* _argo0
= 0;
227 char *_kwnames
[] = { "self", NULL
};
230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetFieldsCount",_kwnames
,&_argo0
))
233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
240 wxPy_BEGIN_ALLOW_THREADS
;
241 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
243 wxPy_END_ALLOW_THREADS
;
244 } _resultobj
= Py_BuildValue("i",_result
);
248 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
249 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
250 PyObject
* _resultobj
;
253 int _arg1
= (int ) 0;
254 PyObject
* _argo0
= 0;
255 char *_kwnames
[] = { "self","ir", NULL
};
258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_GetStatusText",_kwnames
,&_argo0
,&_arg1
))
261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
268 wxPy_BEGIN_ALLOW_THREADS
;
269 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
271 wxPy_END_ALLOW_THREADS
;
273 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
281 #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
282 static PyObject
*_wrap_wxStatusBar_DrawField(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
283 PyObject
* _resultobj
;
287 PyObject
* _argo0
= 0;
288 PyObject
* _argo1
= 0;
289 char *_kwnames
[] = { "self","dc","i", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxStatusBar_DrawField",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
309 wxPy_BEGIN_ALLOW_THREADS
;
310 wxStatusBar_DrawField(_arg0
,*_arg1
,_arg2
);
312 wxPy_END_ALLOW_THREADS
;
313 } Py_INCREF(Py_None
);
314 _resultobj
= Py_None
;
318 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
319 static PyObject
*_wrap_wxStatusBar_DrawFieldText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
320 PyObject
* _resultobj
;
324 PyObject
* _argo0
= 0;
325 PyObject
* _argo1
= 0;
326 char *_kwnames
[] = { "self","dc","i", NULL
};
329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxStatusBar_DrawFieldText",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
339 if (_argo1
== Py_None
) { _arg1
= NULL
; }
340 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
346 wxPy_BEGIN_ALLOW_THREADS
;
347 wxStatusBar_DrawFieldText(_arg0
,*_arg1
,_arg2
);
349 wxPy_END_ALLOW_THREADS
;
350 } Py_INCREF(Py_None
);
351 _resultobj
= Py_None
;
355 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
356 static PyObject
*_wrap_wxStatusBar_InitColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
357 PyObject
* _resultobj
;
359 PyObject
* _argo0
= 0;
360 char *_kwnames
[] = { "self", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_InitColours",_kwnames
,&_argo0
))
366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
373 wxPy_BEGIN_ALLOW_THREADS
;
374 wxStatusBar_InitColours(_arg0
);
376 wxPy_END_ALLOW_THREADS
;
377 } Py_INCREF(Py_None
);
378 _resultobj
= Py_None
;
382 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
383 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
384 PyObject
* _resultobj
;
386 int _arg1
= (int ) 1;
387 PyObject
* _argo0
= 0;
388 char *_kwnames
[] = { "self","number", NULL
};
391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_SetFieldsCount",_kwnames
,&_argo0
,&_arg1
))
394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
401 wxPy_BEGIN_ALLOW_THREADS
;
402 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
404 wxPy_END_ALLOW_THREADS
;
405 } Py_INCREF(Py_None
);
406 _resultobj
= Py_None
;
410 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
411 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
412 PyObject
* _resultobj
;
415 int _arg2
= (int ) 0;
416 PyObject
* _argo0
= 0;
417 PyObject
* _obj1
= 0;
418 char *_kwnames
[] = { "self","text","i", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxStatusBar_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
431 if (!PyString_Check(_obj1
)) {
432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
435 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
438 wxPy_BEGIN_ALLOW_THREADS
;
439 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
441 wxPy_END_ALLOW_THREADS
;
442 } Py_INCREF(Py_None
);
443 _resultobj
= Py_None
;
451 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
452 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
457 PyObject
* _argo0
= 0;
458 PyObject
* _obj2
= 0;
459 char *_kwnames
[] = { "self","LIST", NULL
};
462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStatusBar_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
473 _arg2
= int_LIST_helper(_obj2
);
480 _arg1
= PyList_Size(_obj2
);
487 wxPy_BEGIN_ALLOW_THREADS
;
488 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
490 wxPy_END_ALLOW_THREADS
;
491 } Py_INCREF(Py_None
);
492 _resultobj
= Py_None
;
499 static void wxToolBarToolBase_Destroy(wxToolBarToolBase
*self
) { delete self
; }
500 static PyObject
*_wrap_wxToolBarToolBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
501 PyObject
* _resultobj
;
502 wxToolBarToolBase
* _arg0
;
503 PyObject
* _argo0
= 0;
504 char *_kwnames
[] = { "self", NULL
};
507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Destroy",_kwnames
,&_argo0
))
510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Destroy. Expected _wxToolBarToolBase_p.");
517 wxPy_BEGIN_ALLOW_THREADS
;
518 wxToolBarToolBase_Destroy(_arg0
);
520 wxPy_END_ALLOW_THREADS
;
521 } Py_INCREF(Py_None
);
522 _resultobj
= Py_None
;
526 #define wxToolBarToolBase_GetId(_swigobj) (_swigobj->GetId())
527 static PyObject
*_wrap_wxToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
528 PyObject
* _resultobj
;
530 wxToolBarToolBase
* _arg0
;
531 PyObject
* _argo0
= 0;
532 char *_kwnames
[] = { "self", NULL
};
535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetId",_kwnames
,&_argo0
))
538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetId. Expected _wxToolBarToolBase_p.");
545 wxPy_BEGIN_ALLOW_THREADS
;
546 _result
= (int )wxToolBarToolBase_GetId(_arg0
);
548 wxPy_END_ALLOW_THREADS
;
549 } _resultobj
= Py_BuildValue("i",_result
);
553 #define wxToolBarToolBase_GetControl(_swigobj) (_swigobj->GetControl())
554 static PyObject
*_wrap_wxToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
557 wxToolBarToolBase
* _arg0
;
558 PyObject
* _argo0
= 0;
559 char *_kwnames
[] = { "self", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetControl",_kwnames
,&_argo0
))
566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetControl. Expected _wxToolBarToolBase_p.");
573 wxPy_BEGIN_ALLOW_THREADS
;
574 _result
= (wxControl
*)wxToolBarToolBase_GetControl(_arg0
);
576 wxPy_END_ALLOW_THREADS
;
578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
579 _resultobj
= Py_BuildValue("s",_ptemp
);
582 _resultobj
= Py_None
;
587 #define wxToolBarToolBase_GetToolBar(_swigobj) (_swigobj->GetToolBar())
588 static PyObject
*_wrap_wxToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
590 wxToolBarBase
* _result
;
591 wxToolBarToolBase
* _arg0
;
592 PyObject
* _argo0
= 0;
593 char *_kwnames
[] = { "self", NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetToolBar",_kwnames
,&_argo0
))
600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetToolBar. Expected _wxToolBarToolBase_p.");
607 wxPy_BEGIN_ALLOW_THREADS
;
608 _result
= (wxToolBarBase
*)wxToolBarToolBase_GetToolBar(_arg0
);
610 wxPy_END_ALLOW_THREADS
;
612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarBase_p");
613 _resultobj
= Py_BuildValue("s",_ptemp
);
616 _resultobj
= Py_None
;
621 #define wxToolBarToolBase_IsButton(_swigobj) (_swigobj->IsButton())
622 static PyObject
*_wrap_wxToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
625 wxToolBarToolBase
* _arg0
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsButton",_kwnames
,&_argo0
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsButton. Expected _wxToolBarToolBase_p.");
640 wxPy_BEGIN_ALLOW_THREADS
;
641 _result
= (int )wxToolBarToolBase_IsButton(_arg0
);
643 wxPy_END_ALLOW_THREADS
;
644 } _resultobj
= Py_BuildValue("i",_result
);
648 #define wxToolBarToolBase_IsControl(_swigobj) (_swigobj->IsControl())
649 static PyObject
*_wrap_wxToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
650 PyObject
* _resultobj
;
652 wxToolBarToolBase
* _arg0
;
653 PyObject
* _argo0
= 0;
654 char *_kwnames
[] = { "self", NULL
};
657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsControl",_kwnames
,&_argo0
))
660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsControl. Expected _wxToolBarToolBase_p.");
667 wxPy_BEGIN_ALLOW_THREADS
;
668 _result
= (int )wxToolBarToolBase_IsControl(_arg0
);
670 wxPy_END_ALLOW_THREADS
;
671 } _resultobj
= Py_BuildValue("i",_result
);
675 #define wxToolBarToolBase_IsSeparator(_swigobj) (_swigobj->IsSeparator())
676 static PyObject
*_wrap_wxToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
679 wxToolBarToolBase
* _arg0
;
680 PyObject
* _argo0
= 0;
681 char *_kwnames
[] = { "self", NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsSeparator",_kwnames
,&_argo0
))
687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsSeparator. Expected _wxToolBarToolBase_p.");
694 wxPy_BEGIN_ALLOW_THREADS
;
695 _result
= (int )wxToolBarToolBase_IsSeparator(_arg0
);
697 wxPy_END_ALLOW_THREADS
;
698 } _resultobj
= Py_BuildValue("i",_result
);
702 #define wxToolBarToolBase_GetStyle(_swigobj) (_swigobj->GetStyle())
703 static PyObject
*_wrap_wxToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
704 PyObject
* _resultobj
;
706 wxToolBarToolBase
* _arg0
;
707 PyObject
* _argo0
= 0;
708 char *_kwnames
[] = { "self", NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetStyle",_kwnames
,&_argo0
))
714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetStyle. Expected _wxToolBarToolBase_p.");
721 wxPy_BEGIN_ALLOW_THREADS
;
722 _result
= (int )wxToolBarToolBase_GetStyle(_arg0
);
724 wxPy_END_ALLOW_THREADS
;
725 } _resultobj
= Py_BuildValue("i",_result
);
729 #define wxToolBarToolBase_IsEnabled(_swigobj) (_swigobj->IsEnabled())
730 static PyObject
*_wrap_wxToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 PyObject
* _resultobj
;
733 wxToolBarToolBase
* _arg0
;
734 PyObject
* _argo0
= 0;
735 char *_kwnames
[] = { "self", NULL
};
738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsEnabled",_kwnames
,&_argo0
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsEnabled. Expected _wxToolBarToolBase_p.");
748 wxPy_BEGIN_ALLOW_THREADS
;
749 _result
= (bool )wxToolBarToolBase_IsEnabled(_arg0
);
751 wxPy_END_ALLOW_THREADS
;
752 } _resultobj
= Py_BuildValue("i",_result
);
756 #define wxToolBarToolBase_IsToggled(_swigobj) (_swigobj->IsToggled())
757 static PyObject
*_wrap_wxToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
760 wxToolBarToolBase
* _arg0
;
761 PyObject
* _argo0
= 0;
762 char *_kwnames
[] = { "self", NULL
};
765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsToggled",_kwnames
,&_argo0
))
768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsToggled. Expected _wxToolBarToolBase_p.");
775 wxPy_BEGIN_ALLOW_THREADS
;
776 _result
= (bool )wxToolBarToolBase_IsToggled(_arg0
);
778 wxPy_END_ALLOW_THREADS
;
779 } _resultobj
= Py_BuildValue("i",_result
);
783 #define wxToolBarToolBase_CanBeToggled(_swigobj) (_swigobj->CanBeToggled())
784 static PyObject
*_wrap_wxToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
785 PyObject
* _resultobj
;
787 wxToolBarToolBase
* _arg0
;
788 PyObject
* _argo0
= 0;
789 char *_kwnames
[] = { "self", NULL
};
792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_CanBeToggled",_kwnames
,&_argo0
))
795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_CanBeToggled. Expected _wxToolBarToolBase_p.");
802 wxPy_BEGIN_ALLOW_THREADS
;
803 _result
= (bool )wxToolBarToolBase_CanBeToggled(_arg0
);
805 wxPy_END_ALLOW_THREADS
;
806 } _resultobj
= Py_BuildValue("i",_result
);
810 #define wxToolBarToolBase_GetBitmap1(_swigobj) (_swigobj->GetBitmap1())
811 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
812 PyObject
* _resultobj
;
814 wxToolBarToolBase
* _arg0
;
815 PyObject
* _argo0
= 0;
816 char *_kwnames
[] = { "self", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap1",_kwnames
,&_argo0
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap1. Expected _wxToolBarToolBase_p.");
830 wxPy_BEGIN_ALLOW_THREADS
;
831 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap1(_arg0
);
832 _result
= (wxBitmap
*) &_result_ref
;
834 wxPy_END_ALLOW_THREADS
;
836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
837 _resultobj
= Py_BuildValue("s",_ptemp
);
840 _resultobj
= Py_None
;
845 #define wxToolBarToolBase_GetBitmap2(_swigobj) (_swigobj->GetBitmap2())
846 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
847 PyObject
* _resultobj
;
849 wxToolBarToolBase
* _arg0
;
850 PyObject
* _argo0
= 0;
851 char *_kwnames
[] = { "self", NULL
};
855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap2",_kwnames
,&_argo0
))
858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap2. Expected _wxToolBarToolBase_p.");
865 wxPy_BEGIN_ALLOW_THREADS
;
866 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap2(_arg0
);
867 _result
= (wxBitmap
*) &_result_ref
;
869 wxPy_END_ALLOW_THREADS
;
871 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
872 _resultobj
= Py_BuildValue("s",_ptemp
);
875 _resultobj
= Py_None
;
880 #define wxToolBarToolBase_GetBitmap(_swigobj) (_swigobj->GetBitmap())
881 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 PyObject
* _resultobj
;
884 wxToolBarToolBase
* _arg0
;
885 PyObject
* _argo0
= 0;
886 char *_kwnames
[] = { "self", NULL
};
890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap",_kwnames
,&_argo0
))
893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap. Expected _wxToolBarToolBase_p.");
900 wxPy_BEGIN_ALLOW_THREADS
;
901 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap(_arg0
);
902 _result
= (wxBitmap
*) &_result_ref
;
904 wxPy_END_ALLOW_THREADS
;
906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
907 _resultobj
= Py_BuildValue("s",_ptemp
);
910 _resultobj
= Py_None
;
915 #define wxToolBarToolBase_GetShortHelp(_swigobj) (_swigobj->GetShortHelp())
916 static PyObject
*_wrap_wxToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
919 wxToolBarToolBase
* _arg0
;
920 PyObject
* _argo0
= 0;
921 char *_kwnames
[] = { "self", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetShortHelp",_kwnames
,&_argo0
))
927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetShortHelp. Expected _wxToolBarToolBase_p.");
934 wxPy_BEGIN_ALLOW_THREADS
;
935 _result
= new wxString (wxToolBarToolBase_GetShortHelp(_arg0
));
937 wxPy_END_ALLOW_THREADS
;
939 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
947 #define wxToolBarToolBase_GetLongHelp(_swigobj) (_swigobj->GetLongHelp())
948 static PyObject
*_wrap_wxToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
949 PyObject
* _resultobj
;
951 wxToolBarToolBase
* _arg0
;
952 PyObject
* _argo0
= 0;
953 char *_kwnames
[] = { "self", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetLongHelp",_kwnames
,&_argo0
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetLongHelp. Expected _wxToolBarToolBase_p.");
966 wxPy_BEGIN_ALLOW_THREADS
;
967 _result
= new wxString (wxToolBarToolBase_GetLongHelp(_arg0
));
969 wxPy_END_ALLOW_THREADS
;
971 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
979 #define wxToolBarToolBase_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
980 static PyObject
*_wrap_wxToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
983 wxToolBarToolBase
* _arg0
;
985 PyObject
* _argo0
= 0;
987 char *_kwnames
[] = { "self","enable", NULL
};
990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Enable",_kwnames
,&_argo0
,&tempbool1
))
993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Enable. Expected _wxToolBarToolBase_p.");
999 _arg1
= (bool ) tempbool1
;
1001 wxPy_BEGIN_ALLOW_THREADS
;
1002 _result
= (bool )wxToolBarToolBase_Enable(_arg0
,_arg1
);
1004 wxPy_END_ALLOW_THREADS
;
1005 } _resultobj
= Py_BuildValue("i",_result
);
1009 #define wxToolBarToolBase_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
1010 static PyObject
*_wrap_wxToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1011 PyObject
* _resultobj
;
1013 wxToolBarToolBase
* _arg0
;
1015 PyObject
* _argo0
= 0;
1017 char *_kwnames
[] = { "self","toggle", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Toggle",_kwnames
,&_argo0
,&tempbool1
))
1023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Toggle. Expected _wxToolBarToolBase_p.");
1029 _arg1
= (bool ) tempbool1
;
1031 wxPy_BEGIN_ALLOW_THREADS
;
1032 _result
= (bool )wxToolBarToolBase_Toggle(_arg0
,_arg1
);
1034 wxPy_END_ALLOW_THREADS
;
1035 } _resultobj
= Py_BuildValue("i",_result
);
1039 #define wxToolBarToolBase_SetToggle(_swigobj,_swigarg0) (_swigobj->SetToggle(_swigarg0))
1040 static PyObject
*_wrap_wxToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
* _resultobj
;
1043 wxToolBarToolBase
* _arg0
;
1045 PyObject
* _argo0
= 0;
1047 char *_kwnames
[] = { "self","toggle", NULL
};
1050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_SetToggle",_kwnames
,&_argo0
,&tempbool1
))
1053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetToggle. Expected _wxToolBarToolBase_p.");
1059 _arg1
= (bool ) tempbool1
;
1061 wxPy_BEGIN_ALLOW_THREADS
;
1062 _result
= (bool )wxToolBarToolBase_SetToggle(_arg0
,_arg1
);
1064 wxPy_END_ALLOW_THREADS
;
1065 } _resultobj
= Py_BuildValue("i",_result
);
1069 #define wxToolBarToolBase_SetShortHelp(_swigobj,_swigarg0) (_swigobj->SetShortHelp(_swigarg0))
1070 static PyObject
*_wrap_wxToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1073 wxToolBarToolBase
* _arg0
;
1075 PyObject
* _argo0
= 0;
1076 PyObject
* _obj1
= 0;
1077 char *_kwnames
[] = { "self","help", NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetShortHelp",_kwnames
,&_argo0
,&_obj1
))
1083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetShortHelp. Expected _wxToolBarToolBase_p.");
1090 if (!PyString_Check(_obj1
)) {
1091 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1094 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 _result
= (bool )wxToolBarToolBase_SetShortHelp(_arg0
,*_arg1
);
1100 wxPy_END_ALLOW_THREADS
;
1101 } _resultobj
= Py_BuildValue("i",_result
);
1109 #define wxToolBarToolBase_SetLongHelp(_swigobj,_swigarg0) (_swigobj->SetLongHelp(_swigarg0))
1110 static PyObject
*_wrap_wxToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1113 wxToolBarToolBase
* _arg0
;
1115 PyObject
* _argo0
= 0;
1116 PyObject
* _obj1
= 0;
1117 char *_kwnames
[] = { "self","help", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetLongHelp",_kwnames
,&_argo0
,&_obj1
))
1123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetLongHelp. Expected _wxToolBarToolBase_p.");
1130 if (!PyString_Check(_obj1
)) {
1131 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1134 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= (bool )wxToolBarToolBase_SetLongHelp(_arg0
,*_arg1
);
1140 wxPy_END_ALLOW_THREADS
;
1141 } _resultobj
= Py_BuildValue("i",_result
);
1149 #define wxToolBarToolBase_SetBitmap1(_swigobj,_swigarg0) (_swigobj->SetBitmap1(_swigarg0))
1150 static PyObject
*_wrap_wxToolBarToolBase_SetBitmap1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
* _resultobj
;
1152 wxToolBarToolBase
* _arg0
;
1154 PyObject
* _argo0
= 0;
1155 PyObject
* _argo1
= 0;
1156 char *_kwnames
[] = { "self","bmp", NULL
};
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetBitmap1",_kwnames
,&_argo0
,&_argo1
))
1162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetBitmap1. Expected _wxToolBarToolBase_p.");
1169 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetBitmap1. Expected _wxBitmap_p.");
1176 wxPy_BEGIN_ALLOW_THREADS
;
1177 wxToolBarToolBase_SetBitmap1(_arg0
,*_arg1
);
1179 wxPy_END_ALLOW_THREADS
;
1180 } Py_INCREF(Py_None
);
1181 _resultobj
= Py_None
;
1185 #define wxToolBarToolBase_SetBitmap2(_swigobj,_swigarg0) (_swigobj->SetBitmap2(_swigarg0))
1186 static PyObject
*_wrap_wxToolBarToolBase_SetBitmap2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
* _resultobj
;
1188 wxToolBarToolBase
* _arg0
;
1190 PyObject
* _argo0
= 0;
1191 PyObject
* _argo1
= 0;
1192 char *_kwnames
[] = { "self","bmp", NULL
};
1195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetBitmap2",_kwnames
,&_argo0
,&_argo1
))
1198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetBitmap2. Expected _wxToolBarToolBase_p.");
1205 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetBitmap2. Expected _wxBitmap_p.");
1212 wxPy_BEGIN_ALLOW_THREADS
;
1213 wxToolBarToolBase_SetBitmap2(_arg0
,*_arg1
);
1215 wxPy_END_ALLOW_THREADS
;
1216 } Py_INCREF(Py_None
);
1217 _resultobj
= Py_None
;
1221 #define wxToolBarToolBase_Detach(_swigobj) (_swigobj->Detach())
1222 static PyObject
*_wrap_wxToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
* _resultobj
;
1224 wxToolBarToolBase
* _arg0
;
1225 PyObject
* _argo0
= 0;
1226 char *_kwnames
[] = { "self", NULL
};
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Detach",_kwnames
,&_argo0
))
1232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Detach. Expected _wxToolBarToolBase_p.");
1239 wxPy_BEGIN_ALLOW_THREADS
;
1240 wxToolBarToolBase_Detach(_arg0
);
1242 wxPy_END_ALLOW_THREADS
;
1243 } Py_INCREF(Py_None
);
1244 _resultobj
= Py_None
;
1248 #define wxToolBarToolBase_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
1249 static PyObject
*_wrap_wxToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
* _resultobj
;
1251 wxToolBarToolBase
* _arg0
;
1252 wxToolBarBase
* _arg1
;
1253 PyObject
* _argo0
= 0;
1254 PyObject
* _argo1
= 0;
1255 char *_kwnames
[] = { "self","tbar", NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_Attach",_kwnames
,&_argo0
,&_argo1
))
1261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Attach. Expected _wxToolBarToolBase_p.");
1268 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1269 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBarBase_p")) {
1270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_Attach. Expected _wxToolBarBase_p.");
1275 wxPy_BEGIN_ALLOW_THREADS
;
1276 wxToolBarToolBase_Attach(_arg0
,_arg1
);
1278 wxPy_END_ALLOW_THREADS
;
1279 } Py_INCREF(Py_None
);
1280 _resultobj
= Py_None
;
1284 static PyObject
* wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
) {
1285 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1287 Py_INCREF(udata
->m_obj
);
1288 return udata
->m_obj
;
1294 static PyObject
*_wrap_wxToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1297 wxToolBarToolBase
* _arg0
;
1298 PyObject
* _argo0
= 0;
1299 char *_kwnames
[] = { "self", NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetClientData",_kwnames
,&_argo0
))
1305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetClientData. Expected _wxToolBarToolBase_p.");
1312 wxPy_BEGIN_ALLOW_THREADS
;
1313 _result
= (PyObject
*)wxToolBarToolBase_GetClientData(_arg0
);
1315 wxPy_END_ALLOW_THREADS
;
1317 _resultobj
= _result
;
1322 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
* clientData
) {
1323 self
->SetClientData(new wxPyUserData(clientData
));
1325 static PyObject
*_wrap_wxToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1327 wxToolBarToolBase
* _arg0
;
1329 PyObject
* _argo0
= 0;
1330 PyObject
* _obj1
= 0;
1331 char *_kwnames
[] = { "self","clientData", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetClientData",_kwnames
,&_argo0
,&_obj1
))
1337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetClientData. Expected _wxToolBarToolBase_p.");
1347 wxPy_BEGIN_ALLOW_THREADS
;
1348 wxToolBarToolBase_SetClientData(_arg0
,_arg1
);
1350 wxPy_END_ALLOW_THREADS
;
1351 } Py_INCREF(Py_None
);
1352 _resultobj
= Py_None
;
1356 static void *SwigwxToolBarBaseTowxControl(void *ptr
) {
1359 src
= (wxToolBarBase
*) ptr
;
1360 dest
= (wxControl
*) src
;
1361 return (void *) dest
;
1364 static void *SwigwxToolBarBaseTowxWindow(void *ptr
) {
1367 src
= (wxToolBarBase
*) ptr
;
1368 dest
= (wxWindow
*) src
;
1369 return (void *) dest
;
1372 static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr
) {
1375 src
= (wxToolBarBase
*) ptr
;
1376 dest
= (wxEvtHandler
*) src
;
1377 return (void *) dest
;
1380 static wxToolBarToolBase
* wxToolBarBase_AddTool(wxToolBarBase
*self
,int id
,const wxBitmap
& bitmap
,const wxBitmap
& pushedBitmap
,int toggle
,PyObject
* clientData
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1381 wxPyUserData
* udata
= NULL
;
1383 udata
= new wxPyUserData(clientData
);
1384 return self
->AddTool(id
, bitmap
, pushedBitmap
, (bool)toggle
,
1385 udata
, shortHelpString
, longHelpString
);
1387 static PyObject
*_wrap_wxToolBarBase_AddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1388 PyObject
* _resultobj
;
1389 wxToolBarToolBase
* _result
;
1390 wxToolBarBase
* _arg0
;
1393 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1394 int _arg4
= (int ) FALSE
;
1395 PyObject
* _arg5
= (PyObject
*) NULL
;
1396 wxString
* _arg6
= (wxString
*) &wxPyEmptyStr
;
1397 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1398 PyObject
* _argo0
= 0;
1399 PyObject
* _argo2
= 0;
1400 PyObject
* _argo3
= 0;
1401 PyObject
* _obj5
= 0;
1402 PyObject
* _obj6
= 0;
1403 PyObject
* _obj7
= 0;
1404 char *_kwnames
[] = { "self","id","bitmap","pushedBitmap","toggle","clientData","shortHelpString","longHelpString", NULL
};
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OiOOO:wxToolBarBase_AddTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_obj5
,&_obj6
,&_obj7
))
1411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddTool. Expected _wxToolBarBase_p.");
1418 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1419 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1425 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1426 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1437 if (!PyString_Check(_obj6
)) {
1438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1441 _arg6
= new wxString(PyString_AsString(_obj6
), PyString_Size(_obj6
));
1445 if (!PyString_Check(_obj7
)) {
1446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1449 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1452 wxPy_BEGIN_ALLOW_THREADS
;
1453 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
);
1455 wxPy_END_ALLOW_THREADS
;
1457 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1458 _resultobj
= Py_BuildValue("s",_ptemp
);
1461 _resultobj
= Py_None
;
1474 static wxToolBarToolBase
* wxToolBarBase_AddSimpleTool(wxToolBarBase
*self
,int id
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
,int toggle
) {
1475 return self
->AddTool(id
, bitmap
, wxNullBitmap
, toggle
, NULL
,
1476 shortHelpString
, longHelpString
);
1478 static PyObject
*_wrap_wxToolBarBase_AddSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1480 wxToolBarToolBase
* _result
;
1481 wxToolBarBase
* _arg0
;
1484 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1485 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1486 int _arg5
= (int ) FALSE
;
1487 PyObject
* _argo0
= 0;
1488 PyObject
* _argo2
= 0;
1489 PyObject
* _obj3
= 0;
1490 PyObject
* _obj4
= 0;
1491 char *_kwnames
[] = { "self","id","bitmap","shortHelpString","longHelpString","toggle", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOi:wxToolBarBase_AddSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
))
1498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSimpleTool. Expected _wxToolBarBase_p.");
1505 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddSimpleTool. Expected _wxBitmap_p.");
1513 if (!PyString_Check(_obj3
)) {
1514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1517 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1521 if (!PyString_Check(_obj4
)) {
1522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1525 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1528 wxPy_BEGIN_ALLOW_THREADS
;
1529 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
);
1531 wxPy_END_ALLOW_THREADS
;
1533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1534 _resultobj
= Py_BuildValue("s",_ptemp
);
1537 _resultobj
= Py_None
;
1550 static wxToolBarToolBase
* wxToolBarBase_InsertTool(wxToolBarBase
*self
,size_t pos
,int id
,const wxBitmap
& bitmap
,const wxBitmap
& pushedBitmap
,int toggle
,PyObject
* clientData
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1551 wxPyUserData
* udata
= NULL
;
1553 udata
= new wxPyUserData(clientData
);
1554 return self
->InsertTool(pos
, id
, bitmap
, pushedBitmap
, (bool)toggle
,
1555 udata
, shortHelpString
, longHelpString
);
1557 static PyObject
*_wrap_wxToolBarBase_InsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1559 wxToolBarToolBase
* _result
;
1560 wxToolBarBase
* _arg0
;
1564 wxBitmap
* _arg4
= (wxBitmap
*) &wxNullBitmap
;
1565 int _arg5
= (int ) FALSE
;
1566 PyObject
* _arg6
= (PyObject
*) NULL
;
1567 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1568 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1569 PyObject
* _argo0
= 0;
1570 PyObject
* _argo3
= 0;
1571 PyObject
* _argo4
= 0;
1572 PyObject
* _obj6
= 0;
1573 PyObject
* _obj7
= 0;
1574 PyObject
* _obj8
= 0;
1575 char *_kwnames
[] = { "self","pos","id","bitmap","pushedBitmap","toggle","clientData","shortHelpString","longHelpString", NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OiOOO:wxToolBarBase_InsertTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
,&_arg5
,&_obj6
,&_obj7
,&_obj8
))
1582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertTool. Expected _wxToolBarBase_p.");
1589 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1590 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1596 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxBitmap_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1608 if (!PyString_Check(_obj7
)) {
1609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1612 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1616 if (!PyString_Check(_obj8
)) {
1617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1620 _arg8
= new wxString(PyString_AsString(_obj8
), PyString_Size(_obj8
));
1623 wxPy_BEGIN_ALLOW_THREADS
;
1624 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1626 wxPy_END_ALLOW_THREADS
;
1628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1629 _resultobj
= Py_BuildValue("s",_ptemp
);
1632 _resultobj
= Py_None
;
1645 static wxToolBarToolBase
* wxToolBarBase_InsertSimpleTool(wxToolBarBase
*self
,size_t pos
,int id
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
,int toggle
) {
1646 return self
->InsertTool(pos
, id
, bitmap
, wxNullBitmap
, toggle
, NULL
,
1647 shortHelpString
, longHelpString
);
1649 static PyObject
*_wrap_wxToolBarBase_InsertSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1651 wxToolBarToolBase
* _result
;
1652 wxToolBarBase
* _arg0
;
1656 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1657 wxString
* _arg5
= (wxString
*) &wxPyEmptyStr
;
1658 int _arg6
= (int ) FALSE
;
1659 PyObject
* _argo0
= 0;
1660 PyObject
* _argo3
= 0;
1661 PyObject
* _obj4
= 0;
1662 PyObject
* _obj5
= 0;
1663 char *_kwnames
[] = { "self","pos","id","bitmap","shortHelpString","longHelpString","toggle", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OOi:wxToolBarBase_InsertSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
))
1670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSimpleTool. Expected _wxToolBarBase_p.");
1677 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertSimpleTool. Expected _wxBitmap_p.");
1685 if (!PyString_Check(_obj4
)) {
1686 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1689 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1693 if (!PyString_Check(_obj5
)) {
1694 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1697 _arg5
= new wxString(PyString_AsString(_obj5
), PyString_Size(_obj5
));
1700 wxPy_BEGIN_ALLOW_THREADS
;
1701 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertSimpleTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
);
1703 wxPy_END_ALLOW_THREADS
;
1705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1706 _resultobj
= Py_BuildValue("s",_ptemp
);
1709 _resultobj
= Py_None
;
1722 #define wxToolBarBase_AddControl(_swigobj,_swigarg0) (_swigobj->AddControl(_swigarg0))
1723 static PyObject
*_wrap_wxToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1725 wxToolBarToolBase
* _result
;
1726 wxToolBarBase
* _arg0
;
1728 PyObject
* _argo0
= 0;
1729 PyObject
* _argo1
= 0;
1730 char *_kwnames
[] = { "self","control", NULL
};
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_AddControl",_kwnames
,&_argo0
,&_argo1
))
1737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddControl. Expected _wxToolBarBase_p.");
1744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarBase_AddControl. Expected _wxControl_p.");
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddControl(_arg0
,_arg1
);
1754 wxPy_END_ALLOW_THREADS
;
1756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1757 _resultobj
= Py_BuildValue("s",_ptemp
);
1760 _resultobj
= Py_None
;
1765 #define wxToolBarBase_InsertControl(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertControl(_swigarg0,_swigarg1))
1766 static PyObject
*_wrap_wxToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1768 wxToolBarToolBase
* _result
;
1769 wxToolBarBase
* _arg0
;
1772 PyObject
* _argo0
= 0;
1773 PyObject
* _argo2
= 0;
1774 char *_kwnames
[] = { "self","pos","control", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_InsertControl",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertControl. Expected _wxToolBarBase_p.");
1788 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1789 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxControl_p")) {
1790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_InsertControl. Expected _wxControl_p.");
1795 wxPy_BEGIN_ALLOW_THREADS
;
1796 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertControl(_arg0
,_arg1
,_arg2
);
1798 wxPy_END_ALLOW_THREADS
;
1800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1801 _resultobj
= Py_BuildValue("s",_ptemp
);
1804 _resultobj
= Py_None
;
1809 #define wxToolBarBase_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1810 static PyObject
*_wrap_wxToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
* _resultobj
;
1812 wxToolBarToolBase
* _result
;
1813 wxToolBarBase
* _arg0
;
1814 PyObject
* _argo0
= 0;
1815 char *_kwnames
[] = { "self", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_AddSeparator",_kwnames
,&_argo0
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSeparator. Expected _wxToolBarBase_p.");
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddSeparator(_arg0
);
1832 wxPy_END_ALLOW_THREADS
;
1834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1835 _resultobj
= Py_BuildValue("s",_ptemp
);
1838 _resultobj
= Py_None
;
1843 #define wxToolBarBase_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
1844 static PyObject
*_wrap_wxToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1846 wxToolBarToolBase
* _result
;
1847 wxToolBarBase
* _arg0
;
1849 PyObject
* _argo0
= 0;
1850 char *_kwnames
[] = { "self","pos", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
1857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSeparator. Expected _wxToolBarBase_p.");
1864 wxPy_BEGIN_ALLOW_THREADS
;
1865 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertSeparator(_arg0
,_arg1
);
1867 wxPy_END_ALLOW_THREADS
;
1869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1870 _resultobj
= Py_BuildValue("s",_ptemp
);
1873 _resultobj
= Py_None
;
1878 #define wxToolBarBase_RemoveTool(_swigobj,_swigarg0) (_swigobj->RemoveTool(_swigarg0))
1879 static PyObject
*_wrap_wxToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1881 wxToolBarToolBase
* _result
;
1882 wxToolBarBase
* _arg0
;
1884 PyObject
* _argo0
= 0;
1885 char *_kwnames
[] = { "self","id", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_RemoveTool",_kwnames
,&_argo0
,&_arg1
))
1892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_RemoveTool. Expected _wxToolBarBase_p.");
1899 wxPy_BEGIN_ALLOW_THREADS
;
1900 _result
= (wxToolBarToolBase
*)wxToolBarBase_RemoveTool(_arg0
,_arg1
);
1902 wxPy_END_ALLOW_THREADS
;
1904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1905 _resultobj
= Py_BuildValue("s",_ptemp
);
1908 _resultobj
= Py_None
;
1913 #define wxToolBarBase_DeleteToolByPos(_swigobj,_swigarg0) (_swigobj->DeleteToolByPos(_swigarg0))
1914 static PyObject
*_wrap_wxToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
* _resultobj
;
1917 wxToolBarBase
* _arg0
;
1919 PyObject
* _argo0
= 0;
1920 char *_kwnames
[] = { "self","pos", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteToolByPos",_kwnames
,&_argo0
,&_arg1
))
1926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteToolByPos. Expected _wxToolBarBase_p.");
1933 wxPy_BEGIN_ALLOW_THREADS
;
1934 _result
= (bool )wxToolBarBase_DeleteToolByPos(_arg0
,_arg1
);
1936 wxPy_END_ALLOW_THREADS
;
1937 } _resultobj
= Py_BuildValue("i",_result
);
1941 #define wxToolBarBase_DeleteTool(_swigobj,_swigarg0) (_swigobj->DeleteTool(_swigarg0))
1942 static PyObject
*_wrap_wxToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1945 wxToolBarBase
* _arg0
;
1947 PyObject
* _argo0
= 0;
1948 char *_kwnames
[] = { "self","id", NULL
};
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteTool",_kwnames
,&_argo0
,&_arg1
))
1954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteTool. Expected _wxToolBarBase_p.");
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 _result
= (bool )wxToolBarBase_DeleteTool(_arg0
,_arg1
);
1964 wxPy_END_ALLOW_THREADS
;
1965 } _resultobj
= Py_BuildValue("i",_result
);
1969 #define wxToolBarBase_ClearTools(_swigobj) (_swigobj->ClearTools())
1970 static PyObject
*_wrap_wxToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1972 wxToolBarBase
* _arg0
;
1973 PyObject
* _argo0
= 0;
1974 char *_kwnames
[] = { "self", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_ClearTools",_kwnames
,&_argo0
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ClearTools. Expected _wxToolBarBase_p.");
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 wxToolBarBase_ClearTools(_arg0
);
1990 wxPy_END_ALLOW_THREADS
;
1991 } Py_INCREF(Py_None
);
1992 _resultobj
= Py_None
;
1996 #define wxToolBarBase_Realize(_swigobj) (_swigobj->Realize())
1997 static PyObject
*_wrap_wxToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2000 wxToolBarBase
* _arg0
;
2001 PyObject
* _argo0
= 0;
2002 char *_kwnames
[] = { "self", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_Realize",_kwnames
,&_argo0
))
2008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_Realize. Expected _wxToolBarBase_p.");
2015 wxPy_BEGIN_ALLOW_THREADS
;
2016 _result
= (bool )wxToolBarBase_Realize(_arg0
);
2018 wxPy_END_ALLOW_THREADS
;
2019 } _resultobj
= Py_BuildValue("i",_result
);
2023 #define wxToolBarBase_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
2024 static PyObject
*_wrap_wxToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2026 wxToolBarBase
* _arg0
;
2029 PyObject
* _argo0
= 0;
2031 char *_kwnames
[] = { "self","id","enable", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_EnableTool. Expected _wxToolBarBase_p.");
2043 _arg2
= (bool ) tempbool2
;
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 wxToolBarBase_EnableTool(_arg0
,_arg1
,_arg2
);
2048 wxPy_END_ALLOW_THREADS
;
2049 } Py_INCREF(Py_None
);
2050 _resultobj
= Py_None
;
2054 #define wxToolBarBase_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2055 static PyObject
*_wrap_wxToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxToolBarBase
* _arg0
;
2060 PyObject
* _argo0
= 0;
2062 char *_kwnames
[] = { "self","id","toggle", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ToggleTool. Expected _wxToolBarBase_p.");
2074 _arg2
= (bool ) tempbool2
;
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 wxToolBarBase_ToggleTool(_arg0
,_arg1
,_arg2
);
2079 wxPy_END_ALLOW_THREADS
;
2080 } Py_INCREF(Py_None
);
2081 _resultobj
= Py_None
;
2085 #define wxToolBarBase_SetToggle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToggle(_swigarg0,_swigarg1))
2086 static PyObject
*_wrap_wxToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2088 wxToolBarBase
* _arg0
;
2091 PyObject
* _argo0
= 0;
2093 char *_kwnames
[] = { "self","id","toggle", NULL
};
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetToggle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToggle. Expected _wxToolBarBase_p.");
2105 _arg2
= (bool ) tempbool2
;
2107 wxPy_BEGIN_ALLOW_THREADS
;
2108 wxToolBarBase_SetToggle(_arg0
,_arg1
,_arg2
);
2110 wxPy_END_ALLOW_THREADS
;
2111 } Py_INCREF(Py_None
);
2112 _resultobj
= Py_None
;
2116 static PyObject
* wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int index
) {
2117 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(index
);
2119 Py_INCREF(udata
->m_obj
);
2120 return udata
->m_obj
;
2126 static PyObject
*_wrap_wxToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2129 wxToolBarBase
* _arg0
;
2131 PyObject
* _argo0
= 0;
2132 char *_kwnames
[] = { "self","index", NULL
};
2135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolClientData",_kwnames
,&_argo0
,&_arg1
))
2138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolClientData. Expected _wxToolBarBase_p.");
2145 wxPy_BEGIN_ALLOW_THREADS
;
2146 _result
= (PyObject
*)wxToolBarBase_GetToolClientData(_arg0
,_arg1
);
2148 wxPy_END_ALLOW_THREADS
;
2150 _resultobj
= _result
;
2155 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int index
,PyObject
* clientData
) {
2156 self
->SetToolClientData(index
, new wxPyUserData(clientData
));
2158 static PyObject
*_wrap_wxToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
* _resultobj
;
2160 wxToolBarBase
* _arg0
;
2163 PyObject
* _argo0
= 0;
2164 PyObject
* _obj2
= 0;
2165 char *_kwnames
[] = { "self","index","clientData", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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_SetToolClientData. Expected _wxToolBarBase_p.");
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 wxToolBarBase_SetToolClientData(_arg0
,_arg1
,_arg2
);
2184 wxPy_END_ALLOW_THREADS
;
2185 } Py_INCREF(Py_None
);
2186 _resultobj
= Py_None
;
2190 #define wxToolBarBase_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2191 static PyObject
*_wrap_wxToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2194 wxToolBarBase
* _arg0
;
2196 PyObject
* _argo0
= 0;
2197 char *_kwnames
[] = { "self","id", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolState",_kwnames
,&_argo0
,&_arg1
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolState. Expected _wxToolBarBase_p.");
2210 wxPy_BEGIN_ALLOW_THREADS
;
2211 _result
= (bool )wxToolBarBase_GetToolState(_arg0
,_arg1
);
2213 wxPy_END_ALLOW_THREADS
;
2214 } _resultobj
= Py_BuildValue("i",_result
);
2218 #define wxToolBarBase_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2219 static PyObject
*_wrap_wxToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
* _resultobj
;
2222 wxToolBarBase
* _arg0
;
2224 PyObject
* _argo0
= 0;
2225 char *_kwnames
[] = { "self","id", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))
2231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolEnabled. Expected _wxToolBarBase_p.");
2238 wxPy_BEGIN_ALLOW_THREADS
;
2239 _result
= (bool )wxToolBarBase_GetToolEnabled(_arg0
,_arg1
);
2241 wxPy_END_ALLOW_THREADS
;
2242 } _resultobj
= Py_BuildValue("i",_result
);
2246 #define wxToolBarBase_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2247 static PyObject
*_wrap_wxToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2249 wxToolBarBase
* _arg0
;
2252 PyObject
* _argo0
= 0;
2253 PyObject
* _obj2
= 0;
2254 char *_kwnames
[] = { "self","id","helpString", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolShortHelp. Expected _wxToolBarBase_p.");
2267 if (!PyString_Check(_obj2
)) {
2268 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2271 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2274 wxPy_BEGIN_ALLOW_THREADS
;
2275 wxToolBarBase_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
2277 wxPy_END_ALLOW_THREADS
;
2278 } Py_INCREF(Py_None
);
2279 _resultobj
= Py_None
;
2287 #define wxToolBarBase_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2288 static PyObject
*_wrap_wxToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
* _resultobj
;
2291 wxToolBarBase
* _arg0
;
2293 PyObject
* _argo0
= 0;
2294 char *_kwnames
[] = { "self","id", NULL
};
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))
2300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolShortHelp. Expected _wxToolBarBase_p.");
2307 wxPy_BEGIN_ALLOW_THREADS
;
2308 _result
= new wxString (wxToolBarBase_GetToolShortHelp(_arg0
,_arg1
));
2310 wxPy_END_ALLOW_THREADS
;
2312 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2320 #define wxToolBarBase_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2321 static PyObject
*_wrap_wxToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2323 wxToolBarBase
* _arg0
;
2326 PyObject
* _argo0
= 0;
2327 PyObject
* _obj2
= 0;
2328 char *_kwnames
[] = { "self","id","helpString", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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_SetToolLongHelp. Expected _wxToolBarBase_p.");
2341 if (!PyString_Check(_obj2
)) {
2342 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2345 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 wxToolBarBase_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
2351 wxPy_END_ALLOW_THREADS
;
2352 } Py_INCREF(Py_None
);
2353 _resultobj
= Py_None
;
2361 #define wxToolBarBase_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2362 static PyObject
*_wrap_wxToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2365 wxToolBarBase
* _arg0
;
2367 PyObject
* _argo0
= 0;
2368 char *_kwnames
[] = { "self","id", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))
2374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolLongHelp. Expected _wxToolBarBase_p.");
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 _result
= new wxString (wxToolBarBase_GetToolLongHelp(_arg0
,_arg1
));
2384 wxPy_END_ALLOW_THREADS
;
2386 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2394 #define wxToolBarBase_SetMarginsXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
2395 static PyObject
*_wrap_wxToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2397 wxToolBarBase
* _arg0
;
2400 PyObject
* _argo0
= 0;
2401 char *_kwnames
[] = { "self","x","y", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMarginsXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMarginsXY. Expected _wxToolBarBase_p.");
2414 wxPy_BEGIN_ALLOW_THREADS
;
2415 wxToolBarBase_SetMarginsXY(_arg0
,_arg1
,_arg2
);
2417 wxPy_END_ALLOW_THREADS
;
2418 } Py_INCREF(Py_None
);
2419 _resultobj
= Py_None
;
2423 #define wxToolBarBase_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2424 static PyObject
*_wrap_wxToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2426 wxToolBarBase
* _arg0
;
2428 PyObject
* _argo0
= 0;
2430 PyObject
* _obj1
= 0;
2431 char *_kwnames
[] = { "self","size", NULL
};
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetMargins",_kwnames
,&_argo0
,&_obj1
))
2437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMargins. Expected _wxToolBarBase_p.");
2445 if (! wxSize_helper(_obj1
, &_arg1
))
2449 wxPy_BEGIN_ALLOW_THREADS
;
2450 wxToolBarBase_SetMargins(_arg0
,*_arg1
);
2452 wxPy_END_ALLOW_THREADS
;
2453 } Py_INCREF(Py_None
);
2454 _resultobj
= Py_None
;
2458 #define wxToolBarBase_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2459 static PyObject
*_wrap_wxToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2461 wxToolBarBase
* _arg0
;
2463 PyObject
* _argo0
= 0;
2464 char *_kwnames
[] = { "self","packing", NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))
2470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolPacking. Expected _wxToolBarBase_p.");
2477 wxPy_BEGIN_ALLOW_THREADS
;
2478 wxToolBarBase_SetToolPacking(_arg0
,_arg1
);
2480 wxPy_END_ALLOW_THREADS
;
2481 } Py_INCREF(Py_None
);
2482 _resultobj
= Py_None
;
2486 #define wxToolBarBase_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2487 static PyObject
*_wrap_wxToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2489 wxToolBarBase
* _arg0
;
2491 PyObject
* _argo0
= 0;
2492 char *_kwnames
[] = { "self","separation", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolSeparation. Expected _wxToolBarBase_p.");
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 wxToolBarBase_SetToolSeparation(_arg0
,_arg1
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } Py_INCREF(Py_None
);
2510 _resultobj
= Py_None
;
2514 #define wxToolBarBase_GetToolMargins(_swigobj) (_swigobj->GetToolMargins())
2515 static PyObject
*_wrap_wxToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
* _resultobj
;
2518 wxToolBarBase
* _arg0
;
2519 PyObject
* _argo0
= 0;
2520 char *_kwnames
[] = { "self", NULL
};
2524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolMargins",_kwnames
,&_argo0
))
2527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolMargins. Expected _wxToolBarBase_p.");
2534 wxPy_BEGIN_ALLOW_THREADS
;
2535 _result
= new wxSize (wxToolBarBase_GetToolMargins(_arg0
));
2537 wxPy_END_ALLOW_THREADS
;
2538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2539 _resultobj
= Py_BuildValue("s",_ptemp
);
2543 #define wxToolBarBase_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2544 static PyObject
*_wrap_wxToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
* _resultobj
;
2547 wxToolBarBase
* _arg0
;
2548 PyObject
* _argo0
= 0;
2549 char *_kwnames
[] = { "self", NULL
};
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolPacking",_kwnames
,&_argo0
))
2555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolPacking. Expected _wxToolBarBase_p.");
2562 wxPy_BEGIN_ALLOW_THREADS
;
2563 _result
= (int )wxToolBarBase_GetToolPacking(_arg0
);
2565 wxPy_END_ALLOW_THREADS
;
2566 } _resultobj
= Py_BuildValue("i",_result
);
2570 #define wxToolBarBase_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2571 static PyObject
*_wrap_wxToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2574 wxToolBarBase
* _arg0
;
2575 PyObject
* _argo0
= 0;
2576 char *_kwnames
[] = { "self", NULL
};
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSeparation",_kwnames
,&_argo0
))
2582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSeparation. Expected _wxToolBarBase_p.");
2589 wxPy_BEGIN_ALLOW_THREADS
;
2590 _result
= (int )wxToolBarBase_GetToolSeparation(_arg0
);
2592 wxPy_END_ALLOW_THREADS
;
2593 } _resultobj
= Py_BuildValue("i",_result
);
2597 #define wxToolBarBase_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2598 static PyObject
*_wrap_wxToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2600 wxToolBarBase
* _arg0
;
2602 PyObject
* _argo0
= 0;
2603 char *_kwnames
[] = { "self","nRows", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetRows",_kwnames
,&_argo0
,&_arg1
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetRows. Expected _wxToolBarBase_p.");
2616 wxPy_BEGIN_ALLOW_THREADS
;
2617 wxToolBarBase_SetRows(_arg0
,_arg1
);
2619 wxPy_END_ALLOW_THREADS
;
2620 } Py_INCREF(Py_None
);
2621 _resultobj
= Py_None
;
2625 #define wxToolBarBase_SetMaxRowsCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMaxRowsCols(_swigarg0,_swigarg1))
2626 static PyObject
*_wrap_wxToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2627 PyObject
* _resultobj
;
2628 wxToolBarBase
* _arg0
;
2631 PyObject
* _argo0
= 0;
2632 char *_kwnames
[] = { "self","rows","cols", NULL
};
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMaxRowsCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMaxRowsCols. Expected _wxToolBarBase_p.");
2645 wxPy_BEGIN_ALLOW_THREADS
;
2646 wxToolBarBase_SetMaxRowsCols(_arg0
,_arg1
,_arg2
);
2648 wxPy_END_ALLOW_THREADS
;
2649 } Py_INCREF(Py_None
);
2650 _resultobj
= Py_None
;
2654 #define wxToolBarBase_GetMaxRows(_swigobj) (_swigobj->GetMaxRows())
2655 static PyObject
*_wrap_wxToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2658 wxToolBarBase
* _arg0
;
2659 PyObject
* _argo0
= 0;
2660 char *_kwnames
[] = { "self", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxRows",_kwnames
,&_argo0
))
2666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxRows. Expected _wxToolBarBase_p.");
2673 wxPy_BEGIN_ALLOW_THREADS
;
2674 _result
= (int )wxToolBarBase_GetMaxRows(_arg0
);
2676 wxPy_END_ALLOW_THREADS
;
2677 } _resultobj
= Py_BuildValue("i",_result
);
2681 #define wxToolBarBase_GetMaxCols(_swigobj) (_swigobj->GetMaxCols())
2682 static PyObject
*_wrap_wxToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
* _resultobj
;
2685 wxToolBarBase
* _arg0
;
2686 PyObject
* _argo0
= 0;
2687 char *_kwnames
[] = { "self", NULL
};
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxCols",_kwnames
,&_argo0
))
2693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxCols. Expected _wxToolBarBase_p.");
2700 wxPy_BEGIN_ALLOW_THREADS
;
2701 _result
= (int )wxToolBarBase_GetMaxCols(_arg0
);
2703 wxPy_END_ALLOW_THREADS
;
2704 } _resultobj
= Py_BuildValue("i",_result
);
2708 #define wxToolBarBase_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
2709 static PyObject
*_wrap_wxToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2711 wxToolBarBase
* _arg0
;
2713 PyObject
* _argo0
= 0;
2715 PyObject
* _obj1
= 0;
2716 char *_kwnames
[] = { "self","size", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetToolBitmapSize",_kwnames
,&_argo0
,&_obj1
))
2722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolBitmapSize. Expected _wxToolBarBase_p.");
2730 if (! wxSize_helper(_obj1
, &_arg1
))
2734 wxPy_BEGIN_ALLOW_THREADS
;
2735 wxToolBarBase_SetToolBitmapSize(_arg0
,*_arg1
);
2737 wxPy_END_ALLOW_THREADS
;
2738 } Py_INCREF(Py_None
);
2739 _resultobj
= Py_None
;
2743 #define wxToolBarBase_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
2744 static PyObject
*_wrap_wxToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2747 wxToolBarBase
* _arg0
;
2748 PyObject
* _argo0
= 0;
2749 char *_kwnames
[] = { "self", NULL
};
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolBitmapSize",_kwnames
,&_argo0
))
2756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolBitmapSize. Expected _wxToolBarBase_p.");
2763 wxPy_BEGIN_ALLOW_THREADS
;
2764 _result
= new wxSize (wxToolBarBase_GetToolBitmapSize(_arg0
));
2766 wxPy_END_ALLOW_THREADS
;
2767 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2768 _resultobj
= Py_BuildValue("s",_ptemp
);
2772 #define wxToolBarBase_GetToolSize(_swigobj) (_swigobj->GetToolSize())
2773 static PyObject
*_wrap_wxToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2776 wxToolBarBase
* _arg0
;
2777 PyObject
* _argo0
= 0;
2778 char *_kwnames
[] = { "self", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSize",_kwnames
,&_argo0
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSize. Expected _wxToolBarBase_p.");
2792 wxPy_BEGIN_ALLOW_THREADS
;
2793 _result
= new wxSize (wxToolBarBase_GetToolSize(_arg0
));
2795 wxPy_END_ALLOW_THREADS
;
2796 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2797 _resultobj
= Py_BuildValue("s",_ptemp
);
2801 static void *SwigwxToolBarTowxToolBarBase(void *ptr
) {
2803 wxToolBarBase
*dest
;
2804 src
= (wxToolBar
*) ptr
;
2805 dest
= (wxToolBarBase
*) src
;
2806 return (void *) dest
;
2809 static void *SwigwxToolBarTowxControl(void *ptr
) {
2812 src
= (wxToolBar
*) ptr
;
2813 dest
= (wxControl
*) src
;
2814 return (void *) dest
;
2817 static void *SwigwxToolBarTowxWindow(void *ptr
) {
2820 src
= (wxToolBar
*) ptr
;
2821 dest
= (wxWindow
*) src
;
2822 return (void *) dest
;
2825 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
2828 src
= (wxToolBar
*) ptr
;
2829 dest
= (wxEvtHandler
*) src
;
2830 return (void *) dest
;
2833 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2834 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
* _resultobj
;
2836 wxToolBar
* _result
;
2839 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2840 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2841 long _arg4
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
2842 wxString
* _arg5
= (wxString
*) &wxToolBarNameStr
;
2843 PyObject
* _argo0
= 0;
2845 PyObject
* _obj2
= 0;
2847 PyObject
* _obj3
= 0;
2848 PyObject
* _obj5
= 0;
2849 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
2865 if (! wxPoint_helper(_obj2
, &_arg2
))
2871 if (! wxSize_helper(_obj3
, &_arg3
))
2876 if (!PyString_Check(_obj5
)) {
2877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2880 _arg5
= new wxString(PyString_AsString(_obj5
), PyString_Size(_obj5
));
2883 wxPy_BEGIN_ALLOW_THREADS
;
2884 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
2886 wxPy_END_ALLOW_THREADS
;
2888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
2889 _resultobj
= Py_BuildValue("s",_ptemp
);
2892 _resultobj
= Py_None
;
2901 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
2902 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
* _resultobj
;
2904 wxToolBarToolBase
* _result
;
2908 PyObject
* _argo0
= 0;
2909 char *_kwnames
[] = { "self","x","y", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= (wxToolBarToolBase
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
2926 wxPy_END_ALLOW_THREADS
;
2928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
2929 _resultobj
= Py_BuildValue("s",_ptemp
);
2932 _resultobj
= Py_None
;
2937 static void *SwigwxToolBarSimpleTowxToolBarBase(void *ptr
) {
2938 wxToolBarSimple
*src
;
2939 wxToolBarBase
*dest
;
2940 src
= (wxToolBarSimple
*) ptr
;
2941 dest
= (wxToolBarBase
*) src
;
2942 return (void *) dest
;
2945 static void *SwigwxToolBarSimpleTowxControl(void *ptr
) {
2946 wxToolBarSimple
*src
;
2948 src
= (wxToolBarSimple
*) ptr
;
2949 dest
= (wxControl
*) src
;
2950 return (void *) dest
;
2953 static void *SwigwxToolBarSimpleTowxWindow(void *ptr
) {
2954 wxToolBarSimple
*src
;
2956 src
= (wxToolBarSimple
*) ptr
;
2957 dest
= (wxWindow
*) src
;
2958 return (void *) dest
;
2961 static void *SwigwxToolBarSimpleTowxEvtHandler(void *ptr
) {
2962 wxToolBarSimple
*src
;
2964 src
= (wxToolBarSimple
*) ptr
;
2965 dest
= (wxEvtHandler
*) src
;
2966 return (void *) dest
;
2969 #define new_wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2970 static PyObject
*_wrap_new_wxToolBarSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2972 wxToolBarSimple
* _result
;
2975 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2976 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2977 long _arg4
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
2978 wxString
* _arg5
= (wxString
*) &wxToolBarNameStr
;
2979 PyObject
* _argo0
= 0;
2981 PyObject
* _obj2
= 0;
2983 PyObject
* _obj3
= 0;
2984 PyObject
* _obj5
= 0;
2985 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxToolBarSimple",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBarSimple. Expected _wxWindow_p.");
3001 if (! wxPoint_helper(_obj2
, &_arg2
))
3007 if (! wxSize_helper(_obj3
, &_arg3
))
3012 if (!PyString_Check(_obj5
)) {
3013 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3016 _arg5
= new wxString(PyString_AsString(_obj5
), PyString_Size(_obj5
));
3019 wxPy_BEGIN_ALLOW_THREADS
;
3020 _result
= (wxToolBarSimple
*)new_wxToolBarSimple(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
3022 wxPy_END_ALLOW_THREADS
;
3024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarSimple_p");
3025 _resultobj
= Py_BuildValue("s",_ptemp
);
3028 _resultobj
= Py_None
;
3037 #define wxToolBarSimple_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
3038 static PyObject
*_wrap_wxToolBarSimple_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3040 wxToolBarToolBase
* _result
;
3041 wxToolBarSimple
* _arg0
;
3044 PyObject
* _argo0
= 0;
3045 char *_kwnames
[] = { "self","x","y", NULL
};
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarSimple_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarSimple_p")) {
3054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarSimple_FindToolForPosition. Expected _wxToolBarSimple_p.");
3059 wxPy_BEGIN_ALLOW_THREADS
;
3060 _result
= (wxToolBarToolBase
*)wxToolBarSimple_FindToolForPosition(_arg0
,_arg1
,_arg2
);
3062 wxPy_END_ALLOW_THREADS
;
3064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
3065 _resultobj
= Py_BuildValue("s",_ptemp
);
3068 _resultobj
= Py_None
;
3073 static PyMethodDef stattoolcMethods
[] = {
3074 { "wxToolBarSimple_FindToolForPosition", (PyCFunction
) _wrap_wxToolBarSimple_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
3075 { "new_wxToolBarSimple", (PyCFunction
) _wrap_new_wxToolBarSimple
, METH_VARARGS
| METH_KEYWORDS
},
3076 { "wxToolBar_FindToolForPosition", (PyCFunction
) _wrap_wxToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
3077 { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS
| METH_KEYWORDS
},
3078 { "wxToolBarBase_GetToolSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
3079 { "wxToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
3080 { "wxToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
3081 { "wxToolBarBase_GetMaxCols", (PyCFunction
) _wrap_wxToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
3082 { "wxToolBarBase_GetMaxRows", (PyCFunction
) _wrap_wxToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
3083 { "wxToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_wxToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
3084 { "wxToolBarBase_SetRows", (PyCFunction
) _wrap_wxToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
3085 { "wxToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
3086 { "wxToolBarBase_GetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
3087 { "wxToolBarBase_GetToolMargins", (PyCFunction
) _wrap_wxToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
3088 { "wxToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
3089 { "wxToolBarBase_SetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
3090 { "wxToolBarBase_SetMargins", (PyCFunction
) _wrap_wxToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
3091 { "wxToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_wxToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
3092 { "wxToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3093 { "wxToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3094 { "wxToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3095 { "wxToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3096 { "wxToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_wxToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3097 { "wxToolBarBase_GetToolState", (PyCFunction
) _wrap_wxToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
3098 { "wxToolBarBase_SetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
3099 { "wxToolBarBase_GetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
3100 { "wxToolBarBase_SetToggle", (PyCFunction
) _wrap_wxToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
3101 { "wxToolBarBase_ToggleTool", (PyCFunction
) _wrap_wxToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
3102 { "wxToolBarBase_EnableTool", (PyCFunction
) _wrap_wxToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
3103 { "wxToolBarBase_Realize", (PyCFunction
) _wrap_wxToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
3104 { "wxToolBarBase_ClearTools", (PyCFunction
) _wrap_wxToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
3105 { "wxToolBarBase_DeleteTool", (PyCFunction
) _wrap_wxToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
3106 { "wxToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_wxToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
3107 { "wxToolBarBase_RemoveTool", (PyCFunction
) _wrap_wxToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
3108 { "wxToolBarBase_InsertSeparator", (PyCFunction
) _wrap_wxToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3109 { "wxToolBarBase_AddSeparator", (PyCFunction
) _wrap_wxToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3110 { "wxToolBarBase_InsertControl", (PyCFunction
) _wrap_wxToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
3111 { "wxToolBarBase_AddControl", (PyCFunction
) _wrap_wxToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
3112 { "wxToolBarBase_InsertSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_InsertSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
3113 { "wxToolBarBase_InsertTool", (PyCFunction
) _wrap_wxToolBarBase_InsertTool
, METH_VARARGS
| METH_KEYWORDS
},
3114 { "wxToolBarBase_AddSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_AddSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
3115 { "wxToolBarBase_AddTool", (PyCFunction
) _wrap_wxToolBarBase_AddTool
, METH_VARARGS
| METH_KEYWORDS
},
3116 { "wxToolBarToolBase_SetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
3117 { "wxToolBarToolBase_GetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
3118 { "wxToolBarToolBase_Attach", (PyCFunction
) _wrap_wxToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
3119 { "wxToolBarToolBase_Detach", (PyCFunction
) _wrap_wxToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
3120 { "wxToolBarToolBase_SetBitmap2", (PyCFunction
) _wrap_wxToolBarToolBase_SetBitmap2
, METH_VARARGS
| METH_KEYWORDS
},
3121 { "wxToolBarToolBase_SetBitmap1", (PyCFunction
) _wrap_wxToolBarToolBase_SetBitmap1
, METH_VARARGS
| METH_KEYWORDS
},
3122 { "wxToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3123 { "wxToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3124 { "wxToolBarToolBase_SetToggle", (PyCFunction
) _wrap_wxToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
3125 { "wxToolBarToolBase_Toggle", (PyCFunction
) _wrap_wxToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
3126 { "wxToolBarToolBase_Enable", (PyCFunction
) _wrap_wxToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
3127 { "wxToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3128 { "wxToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3129 { "wxToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3130 { "wxToolBarToolBase_GetBitmap2", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap2
, METH_VARARGS
| METH_KEYWORDS
},
3131 { "wxToolBarToolBase_GetBitmap1", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap1
, METH_VARARGS
| METH_KEYWORDS
},
3132 { "wxToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_wxToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
3133 { "wxToolBarToolBase_IsToggled", (PyCFunction
) _wrap_wxToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
3134 { "wxToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_wxToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3135 { "wxToolBarToolBase_GetStyle", (PyCFunction
) _wrap_wxToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3136 { "wxToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_wxToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3137 { "wxToolBarToolBase_IsControl", (PyCFunction
) _wrap_wxToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
3138 { "wxToolBarToolBase_IsButton", (PyCFunction
) _wrap_wxToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
3139 { "wxToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_wxToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
3140 { "wxToolBarToolBase_GetControl", (PyCFunction
) _wrap_wxToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
3141 { "wxToolBarToolBase_GetId", (PyCFunction
) _wrap_wxToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3142 { "wxToolBarToolBase_Destroy", (PyCFunction
) _wrap_wxToolBarToolBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
3143 { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
3144 { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
3145 { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
3146 { "wxStatusBar_InitColours", (PyCFunction
) _wrap_wxStatusBar_InitColours
, METH_VARARGS
| METH_KEYWORDS
},
3147 { "wxStatusBar_DrawFieldText", (PyCFunction
) _wrap_wxStatusBar_DrawFieldText
, METH_VARARGS
| METH_KEYWORDS
},
3148 { "wxStatusBar_DrawField", (PyCFunction
) _wrap_wxStatusBar_DrawField
, METH_VARARGS
| METH_KEYWORDS
},
3149 { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
3150 { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
3151 { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
3152 { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
3159 * This table is used by the pointer type-checker
3161 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3162 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3163 { "_wxEvent","_class_wxEvent",0},
3164 { "_class_wxActivateEvent","_wxActivateEvent",0},
3165 { "_signed_long","_long",0},
3166 { "_wxMenuEvent","_class_wxMenuEvent",0},
3167 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3168 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3169 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
3170 { "_wxPrintQuality","_wxCoord",0},
3171 { "_wxPrintQuality","_int",0},
3172 { "_wxPrintQuality","_signed_int",0},
3173 { "_wxPrintQuality","_unsigned_int",0},
3174 { "_wxPrintQuality","_wxWindowID",0},
3175 { "_wxPrintQuality","_uint",0},
3176 { "_wxPrintQuality","_EBool",0},
3177 { "_wxPrintQuality","_size_t",0},
3178 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3179 { "_class_wxRegionIterator","_wxRegionIterator",0},
3180 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3181 { "_class_wxMenuBar","_wxMenuBar",0},
3182 { "_class_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3183 { "_class_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3184 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3185 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3186 { "_class_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3187 { "_class_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3188 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3189 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3190 { "_class_wxEvtHandler","_wxEvtHandler",0},
3191 { "_wxPaintEvent","_class_wxPaintEvent",0},
3192 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3193 { "_wxCursor","_class_wxCursor",0},
3194 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3195 { "_class_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3196 { "_class_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3197 { "_class_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3198 { "_class_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3199 { "_class_wxToolBarBase","_wxToolBarBase",0},
3200 { "_wxMask","_class_wxMask",0},
3201 { "_wxPen","_class_wxPen",0},
3202 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3203 { "_byte","_unsigned_char",0},
3204 { "_wxDataObject","_class_wxDataObject",0},
3205 { "_wxStaticBox","_class_wxStaticBox",0},
3206 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3207 { "_wxPyDropSource","_class_wxPyDropSource",0},
3208 { "_wxChoice","_class_wxChoice",0},
3209 { "_wxSlider","_class_wxSlider",0},
3210 { "_long","_wxDash",0},
3211 { "_long","_unsigned_long",0},
3212 { "_long","_signed_long",0},
3213 { "_wxImageList","_class_wxImageList",0},
3214 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3215 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3216 { "_wxBitmapButton","_class_wxBitmapButton",0},
3217 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3218 { "_class_wxClipboard","_wxClipboard",0},
3219 { "_class_wxGauge","_wxGauge",0},
3220 { "_wxDC","_class_wxDC",0},
3221 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3222 { "_wxSpinEvent","_class_wxSpinEvent",0},
3223 { "_size_t","_wxCoord",0},
3224 { "_size_t","_wxPrintQuality",0},
3225 { "_size_t","_unsigned_int",0},
3226 { "_size_t","_int",0},
3227 { "_size_t","_wxWindowID",0},
3228 { "_size_t","_uint",0},
3229 { "_class_wxRealPoint","_wxRealPoint",0},
3230 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
3231 { "_wxPrinterDC","_class_wxPrinterDC",0},
3232 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
3233 { "_class_wxMenuItem","_wxMenuItem",0},
3234 { "_class_wxPaintEvent","_wxPaintEvent",0},
3235 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3236 { "_class_wxStatusBar","_wxStatusBar",0},
3237 { "_wxPanel","_class_wxPanel",0},
3238 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3239 { "_wxCheckBox","_class_wxCheckBox",0},
3240 { "_wxPyEvent","_class_wxPyEvent",0},
3241 { "_wxTextCtrl","_class_wxTextCtrl",0},
3242 { "_class_wxMask","_wxMask",0},
3243 { "_wxTextDataObject","_class_wxTextDataObject",0},
3244 { "_class_wxKeyEvent","_wxKeyEvent",0},
3245 { "_wxColour","_class_wxColour",0},
3246 { "_class_wxDialog","_wxDialog",0},
3247 { "_class_wxFileDataObject","_wxFileDataObject",0},
3248 { "_wxIdleEvent","_class_wxIdleEvent",0},
3249 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3250 { "_wxToolBar","_class_wxToolBar",0},
3251 { "_class_wxDataObject","_wxDataObject",0},
3252 { "_wxStaticLine","_class_wxStaticLine",0},
3253 { "_wxBrush","_class_wxBrush",0},
3254 { "_wxDataFormat","_class_wxDataFormat",0},
3255 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3256 { "_wxShowEvent","_class_wxShowEvent",0},
3257 { "_uint","_wxCoord",0},
3258 { "_uint","_wxPrintQuality",0},
3259 { "_uint","_size_t",0},
3260 { "_uint","_unsigned_int",0},
3261 { "_uint","_int",0},
3262 { "_uint","_wxWindowID",0},
3263 { "_wxPyValidator","_class_wxPyValidator",0},
3264 { "_class_wxEvent","_wxEvent",0},
3265 { "_wxCheckListBox","_class_wxCheckListBox",0},
3266 { "_wxRect","_class_wxRect",0},
3267 { "_wxCommandEvent","_class_wxCommandEvent",0},
3268 { "_wxSizeEvent","_class_wxSizeEvent",0},
3269 { "_wxPoint","_class_wxPoint",0},
3270 { "_class_wxButton","_wxButton",0},
3271 { "_wxRadioBox","_class_wxRadioBox",0},
3272 { "_wxBitmap","_class_wxBitmap",0},
3273 { "_wxPyTimer","_class_wxPyTimer",0},
3274 { "_wxWindowDC","_class_wxWindowDC",0},
3275 { "_wxScrollBar","_class_wxScrollBar",0},
3276 { "_wxSpinButton","_class_wxSpinButton",0},
3277 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3278 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3279 { "_class_wxValidator","_wxValidator",0},
3280 { "_class_wxPyEvent","_wxPyEvent",0},
3281 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3282 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
3283 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
3284 { "_class_wxToolBar","_wxToolBar",0},
3285 { "_wxDropTarget","_class_wxDropTarget",0},
3286 { "_class_wxStaticLine","_wxStaticLine",0},
3287 { "_wxScrollEvent","_class_wxScrollEvent",0},
3288 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
3289 { "_EBool","_wxCoord",0},
3290 { "_EBool","_wxPrintQuality",0},
3291 { "_EBool","_signed_int",0},
3292 { "_EBool","_int",0},
3293 { "_EBool","_wxWindowID",0},
3294 { "_class_wxRegion","_wxRegion",0},
3295 { "_class_wxDataFormat","_wxDataFormat",0},
3296 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3297 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
3298 { "_wxStaticText","_class_wxStaticText",0},
3299 { "_wxFont","_class_wxFont",0},
3300 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3301 { "_wxCloseEvent","_class_wxCloseEvent",0},
3302 { "_unsigned_long","_wxDash",0},
3303 { "_unsigned_long","_long",0},
3304 { "_class_wxRect","_wxRect",0},
3305 { "_class_wxDC","_wxDC",0},
3306 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3307 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
3308 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
3309 { "_class_wxPyTimer","_wxPyTimer",0},
3310 { "_wxFocusEvent","_class_wxFocusEvent",0},
3311 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3312 { "_class_wxSpinButton","_wxSpinButton",0},
3313 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3314 { "_class_wxPanel","_wxPanel",0},
3315 { "_class_wxCheckBox","_wxCheckBox",0},
3316 { "_wxComboBox","_class_wxComboBox",0},
3317 { "_wxRadioButton","_class_wxRadioButton",0},
3318 { "_signed_int","_wxCoord",0},
3319 { "_signed_int","_wxPrintQuality",0},
3320 { "_signed_int","_EBool",0},
3321 { "_signed_int","_wxWindowID",0},
3322 { "_signed_int","_int",0},
3323 { "_class_wxTextCtrl","_wxTextCtrl",0},
3324 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3325 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3326 { "_class_wxTextDataObject","_wxTextDataObject",0},
3327 { "_wxMenu","_class_wxMenu",0},
3328 { "_class_wxMoveEvent","_wxMoveEvent",0},
3329 { "_wxListBox","_class_wxListBox",0},
3330 { "_wxScreenDC","_class_wxScreenDC",0},
3331 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
3332 { "_WXTYPE","_short",0},
3333 { "_WXTYPE","_signed_short",0},
3334 { "_WXTYPE","_unsigned_short",0},
3335 { "_class_wxDropTarget","_wxDropTarget",0},
3336 { "_class_wxBrush","_wxBrush",0},
3337 { "_unsigned_short","_WXTYPE",0},
3338 { "_unsigned_short","_short",0},
3339 { "_class_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3340 { "_class_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3341 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
3342 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
3343 { "_class_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3344 { "_class_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3345 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
3346 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
3347 { "_class_wxWindow","_wxWindow",0},
3348 { "_class_wxStaticText","_wxStaticText",0},
3349 { "_class_wxFont","_wxFont",0},
3350 { "_wxClipboard","_class_wxClipboard",0},
3351 { "_class_wxPyValidator","_wxPyValidator",0},
3352 { "_class_wxCloseEvent","_wxCloseEvent",0},
3353 { "_wxBusyInfo","_class_wxBusyInfo",0},
3354 { "_class_wxMenuEvent","_wxMenuEvent",0},
3355 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3356 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3357 { "_wxClientDC","_class_wxClientDC",0},
3358 { "_wxMouseEvent","_class_wxMouseEvent",0},
3359 { "_class_wxPoint","_wxPoint",0},
3360 { "_wxRealPoint","_class_wxRealPoint",0},
3361 { "_class_wxRadioBox","_wxRadioBox",0},
3362 { "_signed_short","_WXTYPE",0},
3363 { "_signed_short","_short",0},
3364 { "_wxMemoryDC","_class_wxMemoryDC",0},
3365 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3366 { "_wxPaintDC","_class_wxPaintDC",0},
3367 { "_class_wxWindowDC","_wxWindowDC",0},
3368 { "_class_wxFocusEvent","_wxFocusEvent",0},
3369 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3370 { "_wxStatusBar","_class_wxStatusBar",0},
3371 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3372 { "_class_wxCursor","_wxCursor",0},
3373 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3374 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3375 { "_unsigned_char","_byte",0},
3376 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3377 { "_class_wxMenu","_wxMenu",0},
3378 { "_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3379 { "_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3380 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3381 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3382 { "_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3383 { "_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3384 { "_wxControl","_class_wxControl",0},
3385 { "_class_wxListBox","_wxListBox",0},
3386 { "_unsigned_int","_wxCoord",0},
3387 { "_unsigned_int","_wxPrintQuality",0},
3388 { "_unsigned_int","_size_t",0},
3389 { "_unsigned_int","_uint",0},
3390 { "_unsigned_int","_wxWindowID",0},
3391 { "_unsigned_int","_int",0},
3392 { "_wxIcon","_class_wxIcon",0},
3393 { "_wxDialog","_class_wxDialog",0},
3394 { "_class_wxPen","_wxPen",0},
3395 { "_short","_WXTYPE",0},
3396 { "_short","_unsigned_short",0},
3397 { "_short","_signed_short",0},
3398 { "_class_wxStaticBox","_wxStaticBox",0},
3399 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3400 { "_class_wxPyDropSource","_wxPyDropSource",0},
3401 { "_class_wxScrollEvent","_wxScrollEvent",0},
3402 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3403 { "_class_wxChoice","_wxChoice",0},
3404 { "_class_wxSlider","_wxSlider",0},
3405 { "_class_wxImageList","_wxImageList",0},
3406 { "_class_wxBitmapButton","_wxBitmapButton",0},
3407 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3408 { "_wxWindowID","_wxCoord",0},
3409 { "_wxWindowID","_wxPrintQuality",0},
3410 { "_wxWindowID","_size_t",0},
3411 { "_wxWindowID","_EBool",0},
3412 { "_wxWindowID","_uint",0},
3413 { "_wxWindowID","_int",0},
3414 { "_wxWindowID","_signed_int",0},
3415 { "_wxWindowID","_unsigned_int",0},
3416 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3417 { "_int","_wxCoord",0},
3418 { "_int","_wxPrintQuality",0},
3419 { "_int","_size_t",0},
3420 { "_int","_EBool",0},
3421 { "_int","_uint",0},
3422 { "_int","_wxWindowID",0},
3423 { "_int","_unsigned_int",0},
3424 { "_int","_signed_int",0},
3425 { "_class_wxMouseEvent","_wxMouseEvent",0},
3426 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3427 { "_class_wxSpinEvent","_wxSpinEvent",0},
3428 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3429 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3430 { "_wxButton","_class_wxButton",0},
3431 { "_wxSize","_class_wxSize",0},
3432 { "_wxRegionIterator","_class_wxRegionIterator",0},
3433 { "_class_wxPrinterDC","_wxPrinterDC",0},
3434 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3435 { "_class_wxPaintDC","_wxPaintDC",0},
3436 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3437 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3438 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3439 { "_class_wxComboBox","_wxComboBox",0},
3440 { "_class_wxRadioButton","_wxRadioButton",0},
3441 { "_wxValidator","_class_wxValidator",0},
3442 { "_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3443 { "_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3444 { "_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3445 { "_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3446 { "_wxToolBarBase","_class_wxToolBarBase",0},
3447 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3448 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3449 { "_class_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3450 { "_class_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3451 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3452 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3453 { "_class_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3454 { "_class_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3455 { "_class_wxControl","_wxControl",0},
3456 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3457 { "_class_wxIcon","_wxIcon",0},
3458 { "_class_wxColour","_wxColour",0},
3459 { "_class_wxScreenDC","_wxScreenDC",0},
3460 { "_wxPalette","_class_wxPalette",0},
3461 { "_class_wxIdleEvent","_wxIdleEvent",0},
3462 { "_wxCoord","_int",0},
3463 { "_wxCoord","_signed_int",0},
3464 { "_wxCoord","_unsigned_int",0},
3465 { "_wxCoord","_wxWindowID",0},
3466 { "_wxCoord","_uint",0},
3467 { "_wxCoord","_EBool",0},
3468 { "_wxCoord","_size_t",0},
3469 { "_wxCoord","_wxPrintQuality",0},
3470 { "_wxEraseEvent","_class_wxEraseEvent",0},
3471 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3472 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3473 { "_wxRegion","_class_wxRegion",0},
3474 { "_class_wxShowEvent","_wxShowEvent",0},
3475 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3476 { "_wxActivateEvent","_class_wxActivateEvent",0},
3477 { "_wxGauge","_class_wxGauge",0},
3478 { "_class_wxCheckListBox","_wxCheckListBox",0},
3479 { "_class_wxBusyInfo","_wxBusyInfo",0},
3480 { "_class_wxCommandEvent","_wxCommandEvent",0},
3481 { "_class_wxClientDC","_wxClientDC",0},
3482 { "_class_wxSizeEvent","_wxSizeEvent",0},
3483 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3484 { "_class_wxSize","_wxSize",0},
3485 { "_class_wxBitmap","_wxBitmap",0},
3486 { "_class_wxMemoryDC","_wxMemoryDC",0},
3487 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3488 { "_wxMenuBar","_class_wxMenuBar",0},
3489 { "_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3490 { "_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3491 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3492 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3493 { "_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3494 { "_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3495 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3496 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3497 { "_wxEvtHandler","_class_wxEvtHandler",0},
3498 { "_wxMenuItem","_class_wxMenuItem",0},
3499 { "_class_wxScrollBar","_wxScrollBar",0},
3500 { "_wxDash","_unsigned_long",0},
3501 { "_wxDash","_long",0},
3502 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3503 { "_wxKeyEvent","_class_wxKeyEvent",0},
3504 { "_wxMoveEvent","_class_wxMoveEvent",0},
3505 { "_class_wxPalette","_wxPalette",0},
3506 { "_wxFileDataObject","_class_wxFileDataObject",0},
3507 { "_class_wxEraseEvent","_wxEraseEvent",0},
3508 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3509 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
3510 { "_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3511 { "_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3512 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
3513 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
3514 { "_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3515 { "_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3516 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
3517 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
3518 { "_wxWindow","_class_wxWindow",0},
3519 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3522 static PyObject
*SWIG_globals
;
3526 SWIGEXPORT(void) initstattoolc() {
3528 SWIG_globals
= SWIG_newvarlink();
3529 m
= Py_InitModule("stattoolc", stattoolcMethods
);
3530 d
= PyModule_GetDict(m
);
3531 PyDict_SetItemString(d
,"wxTOOL_STYLE_BUTTON", PyInt_FromLong((long) wxTOOL_STYLE_BUTTON
));
3532 PyDict_SetItemString(d
,"wxTOOL_STYLE_SEPARATOR", PyInt_FromLong((long) wxTOOL_STYLE_SEPARATOR
));
3533 PyDict_SetItemString(d
,"wxTOOL_STYLE_CONTROL", PyInt_FromLong((long) wxTOOL_STYLE_CONTROL
));
3536 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3537 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);