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 #define new_wxToolBarTool() (new wxToolBarTool())
500 static PyObject
*_wrap_new_wxToolBarTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
501 PyObject
* _resultobj
;
502 wxToolBarTool
* _result
;
503 char *_kwnames
[] = { NULL
};
507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxToolBarTool",_kwnames
))
510 wxPy_BEGIN_ALLOW_THREADS
;
511 _result
= (wxToolBarTool
*)new_wxToolBarTool();
513 wxPy_END_ALLOW_THREADS
;
515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
516 _resultobj
= Py_BuildValue("s",_ptemp
);
519 _resultobj
= Py_None
;
524 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
525 static PyObject
*_wrap_delete_wxToolBarTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
526 PyObject
* _resultobj
;
527 wxToolBarTool
* _arg0
;
528 PyObject
* _argo0
= 0;
529 char *_kwnames
[] = { "self", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxToolBarTool",_kwnames
,&_argo0
))
535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
542 wxPy_BEGIN_ALLOW_THREADS
;
543 delete_wxToolBarTool(_arg0
);
545 wxPy_END_ALLOW_THREADS
;
546 } Py_INCREF(Py_None
);
547 _resultobj
= Py_None
;
551 #define wxToolBarTool_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
552 static PyObject
*_wrap_wxToolBarTool_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
553 PyObject
* _resultobj
;
554 wxToolBarTool
* _arg0
;
557 PyObject
* _argo0
= 0;
558 char *_kwnames
[] = { "self","w","h", NULL
};
561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxToolBarTool_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_SetSize. Expected _wxToolBarTool_p.");
571 wxPy_BEGIN_ALLOW_THREADS
;
572 wxToolBarTool_SetSize(_arg0
,_arg1
,_arg2
);
574 wxPy_END_ALLOW_THREADS
;
575 } Py_INCREF(Py_None
);
576 _resultobj
= Py_None
;
580 #define wxToolBarTool_GetWidth(_swigobj) (_swigobj->GetWidth())
581 static PyObject
*_wrap_wxToolBarTool_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
584 wxToolBarTool
* _arg0
;
585 PyObject
* _argo0
= 0;
586 char *_kwnames
[] = { "self", NULL
};
589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_GetWidth",_kwnames
,&_argo0
))
592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetWidth. Expected _wxToolBarTool_p.");
599 wxPy_BEGIN_ALLOW_THREADS
;
600 _result
= (long )wxToolBarTool_GetWidth(_arg0
);
602 wxPy_END_ALLOW_THREADS
;
603 } _resultobj
= Py_BuildValue("l",_result
);
607 #define wxToolBarTool_GetHeight(_swigobj) (_swigobj->GetHeight())
608 static PyObject
*_wrap_wxToolBarTool_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
611 wxToolBarTool
* _arg0
;
612 PyObject
* _argo0
= 0;
613 char *_kwnames
[] = { "self", NULL
};
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_GetHeight",_kwnames
,&_argo0
))
619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetHeight. Expected _wxToolBarTool_p.");
626 wxPy_BEGIN_ALLOW_THREADS
;
627 _result
= (long )wxToolBarTool_GetHeight(_arg0
);
629 wxPy_END_ALLOW_THREADS
;
630 } _resultobj
= Py_BuildValue("l",_result
);
634 #define wxToolBarTool_GetControl(_swigobj) (_swigobj->GetControl())
635 static PyObject
*_wrap_wxToolBarTool_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
638 wxToolBarTool
* _arg0
;
639 PyObject
* _argo0
= 0;
640 char *_kwnames
[] = { "self", NULL
};
644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_GetControl",_kwnames
,&_argo0
))
647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetControl. Expected _wxToolBarTool_p.");
654 wxPy_BEGIN_ALLOW_THREADS
;
655 _result
= (wxControl
*)wxToolBarTool_GetControl(_arg0
);
657 wxPy_END_ALLOW_THREADS
;
659 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
660 _resultobj
= Py_BuildValue("s",_ptemp
);
663 _resultobj
= Py_None
;
668 #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
669 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
670 PyObject
* _resultobj
;
672 wxToolBarTool
* _arg0
;
674 PyObject
* _argo0
= 0;
675 char *_kwnames
[] = { "self","m_toolStyle", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_toolStyle_set",_kwnames
,&_argo0
,&_arg1
))
681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
688 wxPy_BEGIN_ALLOW_THREADS
;
689 _result
= (int )wxToolBarTool_m_toolStyle_set(_arg0
,_arg1
);
691 wxPy_END_ALLOW_THREADS
;
692 } _resultobj
= Py_BuildValue("i",_result
);
696 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
697 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 PyObject
* _resultobj
;
700 wxToolBarTool
* _arg0
;
701 PyObject
* _argo0
= 0;
702 char *_kwnames
[] = { "self", NULL
};
705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_toolStyle_get",_kwnames
,&_argo0
))
708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
715 wxPy_BEGIN_ALLOW_THREADS
;
716 _result
= (int )wxToolBarTool_m_toolStyle_get(_arg0
);
718 wxPy_END_ALLOW_THREADS
;
719 } _resultobj
= Py_BuildValue("i",_result
);
723 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
724 static PyObject
*_wrap_wxToolBarTool_m_clientData_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
727 wxToolBarTool
* _arg0
;
729 PyObject
* _argo0
= 0;
730 PyObject
* _argo1
= 0;
731 char *_kwnames
[] = { "self","m_clientData", NULL
};
735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_clientData_set",_kwnames
,&_argo0
,&_argo1
))
738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
752 wxPy_BEGIN_ALLOW_THREADS
;
753 _result
= (wxObject
*)wxToolBarTool_m_clientData_set(_arg0
,_arg1
);
755 wxPy_END_ALLOW_THREADS
;
757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
758 _resultobj
= Py_BuildValue("s",_ptemp
);
761 _resultobj
= Py_None
;
766 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
767 static PyObject
*_wrap_wxToolBarTool_m_clientData_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
768 PyObject
* _resultobj
;
770 wxToolBarTool
* _arg0
;
771 PyObject
* _argo0
= 0;
772 char *_kwnames
[] = { "self", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_clientData_get",_kwnames
,&_argo0
))
779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
786 wxPy_BEGIN_ALLOW_THREADS
;
787 _result
= (wxObject
*)wxToolBarTool_m_clientData_get(_arg0
);
789 wxPy_END_ALLOW_THREADS
;
791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
792 _resultobj
= Py_BuildValue("s",_ptemp
);
795 _resultobj
= Py_None
;
800 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
801 static PyObject
*_wrap_wxToolBarTool_m_index_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
804 wxToolBarTool
* _arg0
;
806 PyObject
* _argo0
= 0;
807 char *_kwnames
[] = { "self","m_index", NULL
};
810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_index_set",_kwnames
,&_argo0
,&_arg1
))
813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
820 wxPy_BEGIN_ALLOW_THREADS
;
821 _result
= (int )wxToolBarTool_m_index_set(_arg0
,_arg1
);
823 wxPy_END_ALLOW_THREADS
;
824 } _resultobj
= Py_BuildValue("i",_result
);
828 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
829 static PyObject
*_wrap_wxToolBarTool_m_index_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
830 PyObject
* _resultobj
;
832 wxToolBarTool
* _arg0
;
833 PyObject
* _argo0
= 0;
834 char *_kwnames
[] = { "self", NULL
};
837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_index_get",_kwnames
,&_argo0
))
840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
847 wxPy_BEGIN_ALLOW_THREADS
;
848 _result
= (int )wxToolBarTool_m_index_get(_arg0
);
850 wxPy_END_ALLOW_THREADS
;
851 } _resultobj
= Py_BuildValue("i",_result
);
855 #define wxToolBarTool_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
856 static PyObject
*_wrap_wxToolBarTool_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
859 wxToolBarTool
* _arg0
;
861 PyObject
* _argo0
= 0;
862 char *_kwnames
[] = { "self","m_x", NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_x_set",_kwnames
,&_argo0
,&_arg1
))
868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_set. Expected _wxToolBarTool_p.");
875 wxPy_BEGIN_ALLOW_THREADS
;
876 _result
= (long )wxToolBarTool_m_x_set(_arg0
,_arg1
);
878 wxPy_END_ALLOW_THREADS
;
879 } _resultobj
= Py_BuildValue("l",_result
);
883 #define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x)
884 static PyObject
*_wrap_wxToolBarTool_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
885 PyObject
* _resultobj
;
887 wxToolBarTool
* _arg0
;
888 PyObject
* _argo0
= 0;
889 char *_kwnames
[] = { "self", NULL
};
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_x_get",_kwnames
,&_argo0
))
895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_get. Expected _wxToolBarTool_p.");
902 wxPy_BEGIN_ALLOW_THREADS
;
903 _result
= (long )wxToolBarTool_m_x_get(_arg0
);
905 wxPy_END_ALLOW_THREADS
;
906 } _resultobj
= Py_BuildValue("l",_result
);
910 #define wxToolBarTool_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
911 static PyObject
*_wrap_wxToolBarTool_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
914 wxToolBarTool
* _arg0
;
916 PyObject
* _argo0
= 0;
917 char *_kwnames
[] = { "self","m_y", NULL
};
920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_y_set",_kwnames
,&_argo0
,&_arg1
))
923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_set. Expected _wxToolBarTool_p.");
930 wxPy_BEGIN_ALLOW_THREADS
;
931 _result
= (long )wxToolBarTool_m_y_set(_arg0
,_arg1
);
933 wxPy_END_ALLOW_THREADS
;
934 } _resultobj
= Py_BuildValue("l",_result
);
938 #define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y)
939 static PyObject
*_wrap_wxToolBarTool_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
940 PyObject
* _resultobj
;
942 wxToolBarTool
* _arg0
;
943 PyObject
* _argo0
= 0;
944 char *_kwnames
[] = { "self", NULL
};
947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_y_get",_kwnames
,&_argo0
))
950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_get. Expected _wxToolBarTool_p.");
957 wxPy_BEGIN_ALLOW_THREADS
;
958 _result
= (long )wxToolBarTool_m_y_get(_arg0
);
960 wxPy_END_ALLOW_THREADS
;
961 } _resultobj
= Py_BuildValue("l",_result
);
965 #define wxToolBarTool_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
966 static PyObject
*_wrap_wxToolBarTool_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
967 PyObject
* _resultobj
;
969 wxToolBarTool
* _arg0
;
971 PyObject
* _argo0
= 0;
972 char *_kwnames
[] = { "self","m_width", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_width_set",_kwnames
,&_argo0
,&_arg1
))
978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_set. Expected _wxToolBarTool_p.");
985 wxPy_BEGIN_ALLOW_THREADS
;
986 _result
= (long )wxToolBarTool_m_width_set(_arg0
,_arg1
);
988 wxPy_END_ALLOW_THREADS
;
989 } _resultobj
= Py_BuildValue("l",_result
);
993 #define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width)
994 static PyObject
*_wrap_wxToolBarTool_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
995 PyObject
* _resultobj
;
997 wxToolBarTool
* _arg0
;
998 PyObject
* _argo0
= 0;
999 char *_kwnames
[] = { "self", NULL
};
1002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_width_get",_kwnames
,&_argo0
))
1005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_get. Expected _wxToolBarTool_p.");
1012 wxPy_BEGIN_ALLOW_THREADS
;
1013 _result
= (long )wxToolBarTool_m_width_get(_arg0
);
1015 wxPy_END_ALLOW_THREADS
;
1016 } _resultobj
= Py_BuildValue("l",_result
);
1020 #define wxToolBarTool_m_height_set(_swigobj,_swigval) (_swigobj->m_height = _swigval,_swigval)
1021 static PyObject
*_wrap_wxToolBarTool_m_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1022 PyObject
* _resultobj
;
1024 wxToolBarTool
* _arg0
;
1026 PyObject
* _argo0
= 0;
1027 char *_kwnames
[] = { "self","m_height", NULL
};
1030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_height_set",_kwnames
,&_argo0
,&_arg1
))
1033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_set. Expected _wxToolBarTool_p.");
1040 wxPy_BEGIN_ALLOW_THREADS
;
1041 _result
= (long )wxToolBarTool_m_height_set(_arg0
,_arg1
);
1043 wxPy_END_ALLOW_THREADS
;
1044 } _resultobj
= Py_BuildValue("l",_result
);
1048 #define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height)
1049 static PyObject
*_wrap_wxToolBarTool_m_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
* _resultobj
;
1052 wxToolBarTool
* _arg0
;
1053 PyObject
* _argo0
= 0;
1054 char *_kwnames
[] = { "self", NULL
};
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_height_get",_kwnames
,&_argo0
))
1060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_get. Expected _wxToolBarTool_p.");
1067 wxPy_BEGIN_ALLOW_THREADS
;
1068 _result
= (long )wxToolBarTool_m_height_get(_arg0
);
1070 wxPy_END_ALLOW_THREADS
;
1071 } _resultobj
= Py_BuildValue("l",_result
);
1075 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
1076 static PyObject
*_wrap_wxToolBarTool_m_toggleState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1077 PyObject
* _resultobj
;
1079 wxToolBarTool
* _arg0
;
1081 PyObject
* _argo0
= 0;
1083 char *_kwnames
[] = { "self","m_toggleState", NULL
};
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_toggleState_set",_kwnames
,&_argo0
,&tempbool1
))
1089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
1095 _arg1
= (bool ) tempbool1
;
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 _result
= (bool )wxToolBarTool_m_toggleState_set(_arg0
,_arg1
);
1100 wxPy_END_ALLOW_THREADS
;
1101 } _resultobj
= Py_BuildValue("i",_result
);
1105 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
1106 static PyObject
*_wrap_wxToolBarTool_m_toggleState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1107 PyObject
* _resultobj
;
1109 wxToolBarTool
* _arg0
;
1110 PyObject
* _argo0
= 0;
1111 char *_kwnames
[] = { "self", NULL
};
1114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_toggleState_get",_kwnames
,&_argo0
))
1117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
1124 wxPy_BEGIN_ALLOW_THREADS
;
1125 _result
= (bool )wxToolBarTool_m_toggleState_get(_arg0
);
1127 wxPy_END_ALLOW_THREADS
;
1128 } _resultobj
= Py_BuildValue("i",_result
);
1132 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
1133 static PyObject
*_wrap_wxToolBarTool_m_isToggle_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1136 wxToolBarTool
* _arg0
;
1138 PyObject
* _argo0
= 0;
1140 char *_kwnames
[] = { "self","m_isToggle", NULL
};
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_isToggle_set",_kwnames
,&_argo0
,&tempbool1
))
1146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
1152 _arg1
= (bool ) tempbool1
;
1154 wxPy_BEGIN_ALLOW_THREADS
;
1155 _result
= (bool )wxToolBarTool_m_isToggle_set(_arg0
,_arg1
);
1157 wxPy_END_ALLOW_THREADS
;
1158 } _resultobj
= Py_BuildValue("i",_result
);
1162 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
1163 static PyObject
*_wrap_wxToolBarTool_m_isToggle_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1166 wxToolBarTool
* _arg0
;
1167 PyObject
* _argo0
= 0;
1168 char *_kwnames
[] = { "self", NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_isToggle_get",_kwnames
,&_argo0
))
1174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
1181 wxPy_BEGIN_ALLOW_THREADS
;
1182 _result
= (bool )wxToolBarTool_m_isToggle_get(_arg0
);
1184 wxPy_END_ALLOW_THREADS
;
1185 } _resultobj
= Py_BuildValue("i",_result
);
1189 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
1190 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1193 wxToolBarTool
* _arg0
;
1195 PyObject
* _argo0
= 0;
1197 char *_kwnames
[] = { "self","m_deleteSecondBitmap", NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_deleteSecondBitmap_set",_kwnames
,&_argo0
,&tempbool1
))
1203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
1209 _arg1
= (bool ) tempbool1
;
1211 wxPy_BEGIN_ALLOW_THREADS
;
1212 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0
,_arg1
);
1214 wxPy_END_ALLOW_THREADS
;
1215 } _resultobj
= Py_BuildValue("i",_result
);
1219 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
1220 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1221 PyObject
* _resultobj
;
1223 wxToolBarTool
* _arg0
;
1224 PyObject
* _argo0
= 0;
1225 char *_kwnames
[] = { "self", NULL
};
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_deleteSecondBitmap_get",_kwnames
,&_argo0
))
1231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
1238 wxPy_BEGIN_ALLOW_THREADS
;
1239 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0
);
1241 wxPy_END_ALLOW_THREADS
;
1242 } _resultobj
= Py_BuildValue("i",_result
);
1246 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
1247 static PyObject
*_wrap_wxToolBarTool_m_enabled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1250 wxToolBarTool
* _arg0
;
1252 PyObject
* _argo0
= 0;
1254 char *_kwnames
[] = { "self","m_enabled", NULL
};
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_enabled_set",_kwnames
,&_argo0
,&tempbool1
))
1260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
1266 _arg1
= (bool ) tempbool1
;
1268 wxPy_BEGIN_ALLOW_THREADS
;
1269 _result
= (bool )wxToolBarTool_m_enabled_set(_arg0
,_arg1
);
1271 wxPy_END_ALLOW_THREADS
;
1272 } _resultobj
= Py_BuildValue("i",_result
);
1276 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
1277 static PyObject
*_wrap_wxToolBarTool_m_enabled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1280 wxToolBarTool
* _arg0
;
1281 PyObject
* _argo0
= 0;
1282 char *_kwnames
[] = { "self", NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_enabled_get",_kwnames
,&_argo0
))
1288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
1295 wxPy_BEGIN_ALLOW_THREADS
;
1296 _result
= (bool )wxToolBarTool_m_enabled_get(_arg0
);
1298 wxPy_END_ALLOW_THREADS
;
1299 } _resultobj
= Py_BuildValue("i",_result
);
1303 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
1304 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1307 wxToolBarTool
* _arg0
;
1309 PyObject
* _argo0
= 0;
1310 PyObject
* _argo1
= 0;
1311 char *_kwnames
[] = { "self","m_bitmap1", NULL
};
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_bitmap1_set",_kwnames
,&_argo0
,&_argo1
))
1318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
1325 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1326 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
1332 wxPy_BEGIN_ALLOW_THREADS
;
1333 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_set(_arg0
,_arg1
);
1335 wxPy_END_ALLOW_THREADS
;
1337 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1338 _resultobj
= Py_BuildValue("s",_ptemp
);
1341 _resultobj
= Py_None
;
1346 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
1347 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1350 wxToolBarTool
* _arg0
;
1351 PyObject
* _argo0
= 0;
1352 char *_kwnames
[] = { "self", NULL
};
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_bitmap1_get",_kwnames
,&_argo0
))
1359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1366 wxPy_BEGIN_ALLOW_THREADS
;
1367 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_get(_arg0
);
1369 wxPy_END_ALLOW_THREADS
;
1371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1372 _resultobj
= Py_BuildValue("s",_ptemp
);
1375 _resultobj
= Py_None
;
1380 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1381 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1384 wxToolBarTool
* _arg0
;
1386 PyObject
* _argo0
= 0;
1387 PyObject
* _argo1
= 0;
1388 char *_kwnames
[] = { "self","m_bitmap2", NULL
};
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_bitmap2_set",_kwnames
,&_argo0
,&_argo1
))
1395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1402 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1403 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1409 wxPy_BEGIN_ALLOW_THREADS
;
1410 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_set(_arg0
,_arg1
);
1412 wxPy_END_ALLOW_THREADS
;
1414 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1415 _resultobj
= Py_BuildValue("s",_ptemp
);
1418 _resultobj
= Py_None
;
1423 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1424 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1427 wxToolBarTool
* _arg0
;
1428 PyObject
* _argo0
= 0;
1429 char *_kwnames
[] = { "self", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_bitmap2_get",_kwnames
,&_argo0
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_get(_arg0
);
1446 wxPy_END_ALLOW_THREADS
;
1448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1449 _resultobj
= Py_BuildValue("s",_ptemp
);
1452 _resultobj
= Py_None
;
1457 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1458 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
* _resultobj
;
1461 wxToolBarTool
* _arg0
;
1463 PyObject
* _argo0
= 0;
1465 char *_kwnames
[] = { "self","m_isMenuCommand", NULL
};
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_isMenuCommand_set",_kwnames
,&_argo0
,&tempbool1
))
1471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1477 _arg1
= (bool ) tempbool1
;
1479 wxPy_BEGIN_ALLOW_THREADS
;
1480 _result
= (bool )wxToolBarTool_m_isMenuCommand_set(_arg0
,_arg1
);
1482 wxPy_END_ALLOW_THREADS
;
1483 } _resultobj
= Py_BuildValue("i",_result
);
1487 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1488 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
* _resultobj
;
1491 wxToolBarTool
* _arg0
;
1492 PyObject
* _argo0
= 0;
1493 char *_kwnames
[] = { "self", NULL
};
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_isMenuCommand_get",_kwnames
,&_argo0
))
1499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 _result
= (bool )wxToolBarTool_m_isMenuCommand_get(_arg0
);
1509 wxPy_END_ALLOW_THREADS
;
1510 } _resultobj
= Py_BuildValue("i",_result
);
1514 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1515 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1518 wxToolBarTool
* _arg0
;
1520 PyObject
* _argo0
= 0;
1521 PyObject
* _obj1
= 0;
1522 char *_kwnames
[] = { "self","m_shortHelpString", NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_shortHelpString_set",_kwnames
,&_argo0
,&_obj1
))
1528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1535 if (!PyString_Check(_obj1
)) {
1536 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1539 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1542 wxPy_BEGIN_ALLOW_THREADS
;
1543 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_set(_arg0
,_arg1
);
1545 wxPy_END_ALLOW_THREADS
;
1547 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1556 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1557 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1560 wxToolBarTool
* _arg0
;
1561 PyObject
* _argo0
= 0;
1562 char *_kwnames
[] = { "self", NULL
};
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_shortHelpString_get",_kwnames
,&_argo0
))
1568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1575 wxPy_BEGIN_ALLOW_THREADS
;
1576 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_get(_arg0
);
1578 wxPy_END_ALLOW_THREADS
;
1580 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1585 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1586 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
* _resultobj
;
1589 wxToolBarTool
* _arg0
;
1591 PyObject
* _argo0
= 0;
1592 PyObject
* _obj1
= 0;
1593 char *_kwnames
[] = { "self","m_longHelpString", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_longHelpString_set",_kwnames
,&_argo0
,&_obj1
))
1599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1606 if (!PyString_Check(_obj1
)) {
1607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1610 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1613 wxPy_BEGIN_ALLOW_THREADS
;
1614 _result
= (wxString
*)wxToolBarTool_m_longHelpString_set(_arg0
,_arg1
);
1616 wxPy_END_ALLOW_THREADS
;
1618 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1627 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1628 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1631 wxToolBarTool
* _arg0
;
1632 PyObject
* _argo0
= 0;
1633 char *_kwnames
[] = { "self", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_longHelpString_get",_kwnames
,&_argo0
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1646 wxPy_BEGIN_ALLOW_THREADS
;
1647 _result
= (wxString
*)wxToolBarTool_m_longHelpString_get(_arg0
);
1649 wxPy_END_ALLOW_THREADS
;
1651 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1656 static void *SwigwxToolBarTowxControl(void *ptr
) {
1659 src
= (wxToolBar
*) ptr
;
1660 dest
= (wxControl
*) src
;
1661 return (void *) dest
;
1664 static void *SwigwxToolBarTowxWindow(void *ptr
) {
1667 src
= (wxToolBar
*) ptr
;
1668 dest
= (wxWindow
*) src
;
1669 return (void *) dest
;
1672 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
1675 src
= (wxToolBar
*) ptr
;
1676 dest
= (wxEvtHandler
*) src
;
1677 return (void *) dest
;
1680 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1681 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
* _resultobj
;
1683 wxToolBar
* _result
;
1686 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1687 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1688 long _arg4
= (long ) wxTB_HORIZONTAL
|wxNO_BORDER
;
1689 char * _arg5
= (char *) "toolBar";
1690 PyObject
* _argo0
= 0;
1692 PyObject
* _obj2
= 0;
1694 PyObject
* _obj3
= 0;
1695 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1711 if (! wxPoint_helper(_obj2
, &_arg2
))
1717 if (! wxSize_helper(_obj3
, &_arg3
))
1721 wxPy_BEGIN_ALLOW_THREADS
;
1722 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1724 wxPy_END_ALLOW_THREADS
;
1726 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
1727 _resultobj
= Py_BuildValue("s",_ptemp
);
1730 _resultobj
= Py_None
;
1735 #define wxToolBar_AddControl(_swigobj,_swigarg0) (_swigobj->AddControl(_swigarg0))
1736 static PyObject
*_wrap_wxToolBar_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1742 PyObject
* _argo1
= 0;
1743 char *_kwnames
[] = { "self","control", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBar_AddControl",_kwnames
,&_argo0
,&_argo1
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddControl. Expected _wxToolBar_p.");
1756 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_AddControl. Expected _wxControl_p.");
1763 wxPy_BEGIN_ALLOW_THREADS
;
1764 _result
= (bool )wxToolBar_AddControl(_arg0
,_arg1
);
1766 wxPy_END_ALLOW_THREADS
;
1767 } _resultobj
= Py_BuildValue("i",_result
);
1771 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1772 static PyObject
*_wrap_wxToolBar_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
* _resultobj
;
1775 PyObject
* _argo0
= 0;
1776 char *_kwnames
[] = { "self", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_AddSeparator",_kwnames
,&_argo0
))
1782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 wxToolBar_AddSeparator(_arg0
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } Py_INCREF(Py_None
);
1794 _resultobj
= Py_None
;
1798 #define wxToolBar_ClearTools(_swigobj) (_swigobj->ClearTools())
1799 static PyObject
*_wrap_wxToolBar_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_ClearTools",_kwnames
,&_argo0
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_ClearTools. Expected _wxToolBar_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 wxToolBar_ClearTools(_arg0
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 static wxToolBarTool
* wxToolBar_AddTool(wxToolBar
*self
,int toolIndex
,const wxBitmap
& bitmap1
,const wxBitmap
& bitmap2
,int isToggle
,long xPos
,long yPos
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1826 return self
->AddTool(toolIndex
, bitmap1
, bitmap2
,
1827 isToggle
, xPos
, yPos
, NULL
,
1828 shortHelpString
, longHelpString
);
1830 static PyObject
*_wrap_wxToolBar_AddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
* _resultobj
;
1832 wxToolBarTool
* _result
;
1836 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1837 int _arg4
= (int ) FALSE
;
1838 long _arg5
= (long ) -1;
1839 long _arg6
= (long ) -1;
1840 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1841 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1842 PyObject
* _argo0
= 0;
1843 PyObject
* _argo2
= 0;
1844 PyObject
* _argo3
= 0;
1845 PyObject
* _obj7
= 0;
1846 PyObject
* _obj8
= 0;
1847 char *_kwnames
[] = { "self","toolIndex","bitmap1","bitmap2","isToggle","xPos","yPos","shortHelpString","longHelpString", NULL
};
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OillOO:wxToolBar_AddTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
,&_obj8
))
1854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1861 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1862 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1868 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1869 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1876 if (!PyString_Check(_obj7
)) {
1877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1880 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1884 if (!PyString_Check(_obj8
)) {
1885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1888 _arg8
= new wxString(PyString_AsString(_obj8
), PyString_Size(_obj8
));
1891 wxPy_BEGIN_ALLOW_THREADS
;
1892 _result
= (wxToolBarTool
*)wxToolBar_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1894 wxPy_END_ALLOW_THREADS
;
1896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1897 _resultobj
= Py_BuildValue("s",_ptemp
);
1900 _resultobj
= Py_None
;
1913 static wxToolBarTool
* wxToolBar_AddSimpleTool(wxToolBar
*self
,int toolIndex
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1914 return self
->AddTool(toolIndex
, bitmap
, wxNullBitmap
,
1915 FALSE
, -1, -1, NULL
,
1916 shortHelpString
, longHelpString
);
1918 static PyObject
*_wrap_wxToolBar_AddSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1920 wxToolBarTool
* _result
;
1924 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1925 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1926 PyObject
* _argo0
= 0;
1927 PyObject
* _argo2
= 0;
1928 PyObject
* _obj3
= 0;
1929 PyObject
* _obj4
= 0;
1930 char *_kwnames
[] = { "self","toolIndex","bitmap","shortHelpString","longHelpString", NULL
};
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OO:wxToolBar_AddSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
))
1937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1944 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1945 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1952 if (!PyString_Check(_obj3
)) {
1953 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1956 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1960 if (!PyString_Check(_obj4
)) {
1961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1964 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 _result
= (wxToolBarTool
*)wxToolBar_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
);
1970 wxPy_END_ALLOW_THREADS
;
1972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1973 _resultobj
= Py_BuildValue("s",_ptemp
);
1976 _resultobj
= Py_None
;
1989 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1990 static PyObject
*_wrap_wxToolBar_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1995 PyObject
* _argo0
= 0;
1997 char *_kwnames
[] = { "self","toolIndex","enable", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
2009 _arg2
= (bool ) tempbool2
;
2011 wxPy_BEGIN_ALLOW_THREADS
;
2012 wxToolBar_EnableTool(_arg0
,_arg1
,_arg2
);
2014 wxPy_END_ALLOW_THREADS
;
2015 } Py_INCREF(Py_None
);
2016 _resultobj
= Py_None
;
2020 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
2021 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2023 wxToolBarTool
* _result
;
2027 PyObject
* _argo0
= 0;
2028 char *_kwnames
[] = { "self","x","y", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxToolBar_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 _result
= (wxToolBarTool
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
2045 wxPy_END_ALLOW_THREADS
;
2047 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
2048 _resultobj
= Py_BuildValue("s",_ptemp
);
2051 _resultobj
= Py_None
;
2056 #define wxToolBar_GetToolSize(_swigobj) (_swigobj->GetToolSize())
2057 static PyObject
*_wrap_wxToolBar_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2061 PyObject
* _argo0
= 0;
2062 char *_kwnames
[] = { "self", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolSize",_kwnames
,&_argo0
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSize. Expected _wxToolBar_p.");
2076 wxPy_BEGIN_ALLOW_THREADS
;
2077 _result
= new wxSize (wxToolBar_GetToolSize(_arg0
));
2079 wxPy_END_ALLOW_THREADS
;
2080 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2081 _resultobj
= Py_BuildValue("s",_ptemp
);
2085 #define wxToolBar_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
2086 static PyObject
*_wrap_wxToolBar_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2090 PyObject
* _argo0
= 0;
2091 char *_kwnames
[] = { "self", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolBitmapSize",_kwnames
,&_argo0
))
2098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolBitmapSize. Expected _wxToolBar_p.");
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 _result
= new wxSize (wxToolBar_GetToolBitmapSize(_arg0
));
2108 wxPy_END_ALLOW_THREADS
;
2109 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2110 _resultobj
= Py_BuildValue("s",_ptemp
);
2114 #define wxToolBar_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
2115 static PyObject
*_wrap_wxToolBar_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2119 PyObject
* _argo0
= 0;
2121 PyObject
* _obj1
= 0;
2122 char *_kwnames
[] = { "self","size", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBar_SetToolBitmapSize",_kwnames
,&_argo0
,&_obj1
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolBitmapSize. Expected _wxToolBar_p.");
2136 if (! wxSize_helper(_obj1
, &_arg1
))
2140 wxPy_BEGIN_ALLOW_THREADS
;
2141 wxToolBar_SetToolBitmapSize(_arg0
,*_arg1
);
2143 wxPy_END_ALLOW_THREADS
;
2144 } Py_INCREF(Py_None
);
2145 _resultobj
= Py_None
;
2149 #define wxToolBar_GetToolMargins(_swigobj) (_swigobj->GetToolMargins())
2150 static PyObject
*_wrap_wxToolBar_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
* _resultobj
;
2154 PyObject
* _argo0
= 0;
2155 char *_kwnames
[] = { "self", NULL
};
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolMargins",_kwnames
,&_argo0
))
2162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolMargins. Expected _wxToolBar_p.");
2169 wxPy_BEGIN_ALLOW_THREADS
;
2170 _result
= new wxSize (wxToolBar_GetToolMargins(_arg0
));
2172 wxPy_END_ALLOW_THREADS
;
2173 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2174 _resultobj
= Py_BuildValue("s",_ptemp
);
2178 #define wxToolBar_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
2179 static PyObject
*_wrap_wxToolBar_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2183 PyObject
* _argo0
= 0;
2184 char *_kwnames
[] = { "self", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetMaxSize",_kwnames
,&_argo0
))
2191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetMaxSize. Expected _wxToolBar_p.");
2198 wxPy_BEGIN_ALLOW_THREADS
;
2199 _result
= new wxSize (wxToolBar_GetMaxSize(_arg0
));
2201 wxPy_END_ALLOW_THREADS
;
2202 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2203 _resultobj
= Py_BuildValue("s",_ptemp
);
2207 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2208 static PyObject
*_wrap_wxToolBar_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2213 PyObject
* _argo0
= 0;
2214 char *_kwnames
[] = { "self","toolIndex", NULL
};
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))
2220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
2227 wxPy_BEGIN_ALLOW_THREADS
;
2228 _result
= (bool )wxToolBar_GetToolEnabled(_arg0
,_arg1
);
2230 wxPy_END_ALLOW_THREADS
;
2231 } _resultobj
= Py_BuildValue("i",_result
);
2235 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2236 static PyObject
*_wrap_wxToolBar_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
* _resultobj
;
2241 PyObject
* _argo0
= 0;
2242 char *_kwnames
[] = { "self","toolIndex", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))
2248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
2255 wxPy_BEGIN_ALLOW_THREADS
;
2256 _result
= new wxString (wxToolBar_GetToolLongHelp(_arg0
,_arg1
));
2258 wxPy_END_ALLOW_THREADS
;
2260 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2268 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2269 static PyObject
*_wrap_wxToolBar_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2273 PyObject
* _argo0
= 0;
2274 char *_kwnames
[] = { "self", NULL
};
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolPacking",_kwnames
,&_argo0
))
2280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
2287 wxPy_BEGIN_ALLOW_THREADS
;
2288 _result
= (int )wxToolBar_GetToolPacking(_arg0
);
2290 wxPy_END_ALLOW_THREADS
;
2291 } _resultobj
= Py_BuildValue("i",_result
);
2295 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2296 static PyObject
*_wrap_wxToolBar_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2300 PyObject
* _argo0
= 0;
2301 char *_kwnames
[] = { "self", NULL
};
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolSeparation",_kwnames
,&_argo0
))
2307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
2314 wxPy_BEGIN_ALLOW_THREADS
;
2315 _result
= (int )wxToolBar_GetToolSeparation(_arg0
);
2317 wxPy_END_ALLOW_THREADS
;
2318 } _resultobj
= Py_BuildValue("i",_result
);
2322 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2323 static PyObject
*_wrap_wxToolBar_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2328 PyObject
* _argo0
= 0;
2329 char *_kwnames
[] = { "self","toolIndex", NULL
};
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))
2335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
2342 wxPy_BEGIN_ALLOW_THREADS
;
2343 _result
= new wxString (wxToolBar_GetToolShortHelp(_arg0
,_arg1
));
2345 wxPy_END_ALLOW_THREADS
;
2347 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2355 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2356 static PyObject
*_wrap_wxToolBar_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
* _resultobj
;
2361 PyObject
* _argo0
= 0;
2362 char *_kwnames
[] = { "self","toolIndex", NULL
};
2365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolState",_kwnames
,&_argo0
,&_arg1
))
2368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
2375 wxPy_BEGIN_ALLOW_THREADS
;
2376 _result
= (bool )wxToolBar_GetToolState(_arg0
,_arg1
);
2378 wxPy_END_ALLOW_THREADS
;
2379 } _resultobj
= Py_BuildValue("i",_result
);
2383 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
2384 static PyObject
*_wrap_wxToolBar_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
* _resultobj
;
2388 PyObject
* _argo0
= 0;
2389 char *_kwnames
[] = { "self", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_Realize",_kwnames
,&_argo0
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
2402 wxPy_BEGIN_ALLOW_THREADS
;
2403 _result
= (bool )wxToolBar_Realize(_arg0
);
2405 wxPy_END_ALLOW_THREADS
;
2406 } _resultobj
= Py_BuildValue("i",_result
);
2410 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2411 static PyObject
*_wrap_wxToolBar_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2416 PyObject
* _argo0
= 0;
2417 PyObject
* _obj2
= 0;
2418 char *_kwnames
[] = { "self","toolIndex","helpString", NULL
};
2421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBar_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
2431 if (!PyString_Check(_obj2
)) {
2432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2435 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2438 wxPy_BEGIN_ALLOW_THREADS
;
2439 wxToolBar_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
2441 wxPy_END_ALLOW_THREADS
;
2442 } Py_INCREF(Py_None
);
2443 _resultobj
= Py_None
;
2451 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2452 static PyObject
*_wrap_wxToolBar_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
* _resultobj
;
2457 PyObject
* _argo0
= 0;
2458 PyObject
* _obj2
= 0;
2459 char *_kwnames
[] = { "self","toolIndex","helpString", NULL
};
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBar_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
2472 if (!PyString_Check(_obj2
)) {
2473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2476 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2479 wxPy_BEGIN_ALLOW_THREADS
;
2480 wxToolBar_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
2482 wxPy_END_ALLOW_THREADS
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2492 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2493 static PyObject
*_wrap_wxToolBar_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2497 PyObject
* _argo0
= 0;
2499 PyObject
* _obj1
= 0;
2500 char *_kwnames
[] = { "self","size", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBar_SetMargins",_kwnames
,&_argo0
,&_obj1
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
2514 if (! wxSize_helper(_obj1
, &_arg1
))
2518 wxPy_BEGIN_ALLOW_THREADS
;
2519 wxToolBar_SetMargins(_arg0
,*_arg1
);
2521 wxPy_END_ALLOW_THREADS
;
2522 } Py_INCREF(Py_None
);
2523 _resultobj
= Py_None
;
2527 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2528 static PyObject
*_wrap_wxToolBar_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2532 PyObject
* _argo0
= 0;
2533 char *_kwnames
[] = { "self","packing", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
2546 wxPy_BEGIN_ALLOW_THREADS
;
2547 wxToolBar_SetToolPacking(_arg0
,_arg1
);
2549 wxPy_END_ALLOW_THREADS
;
2550 } Py_INCREF(Py_None
);
2551 _resultobj
= Py_None
;
2555 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2556 static PyObject
*_wrap_wxToolBar_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2560 PyObject
* _argo0
= 0;
2561 char *_kwnames
[] = { "self","separation", NULL
};
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))
2567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
2574 wxPy_BEGIN_ALLOW_THREADS
;
2575 wxToolBar_SetToolSeparation(_arg0
,_arg1
);
2577 wxPy_END_ALLOW_THREADS
;
2578 } Py_INCREF(Py_None
);
2579 _resultobj
= Py_None
;
2583 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2584 static PyObject
*_wrap_wxToolBar_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2589 PyObject
* _argo0
= 0;
2591 char *_kwnames
[] = { "self","toolIndex","toggle", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
2603 _arg2
= (bool ) tempbool2
;
2605 wxPy_BEGIN_ALLOW_THREADS
;
2606 wxToolBar_ToggleTool(_arg0
,_arg1
,_arg2
);
2608 wxPy_END_ALLOW_THREADS
;
2609 } Py_INCREF(Py_None
);
2610 _resultobj
= Py_None
;
2614 #define wxToolBar_SetToggle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToggle(_swigarg0,_swigarg1))
2615 static PyObject
*_wrap_wxToolBar_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2620 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self","toolIndex","toggle", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_SetToggle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToggle. Expected _wxToolBar_p.");
2634 _arg2
= (bool ) tempbool2
;
2636 wxPy_BEGIN_ALLOW_THREADS
;
2637 wxToolBar_SetToggle(_arg0
,_arg1
,_arg2
);
2639 wxPy_END_ALLOW_THREADS
;
2640 } Py_INCREF(Py_None
);
2641 _resultobj
= Py_None
;
2645 #define wxToolBar_SetMaxRowsCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMaxRowsCols(_swigarg0,_swigarg1))
2646 static PyObject
*_wrap_wxToolBar_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2651 PyObject
* _argo0
= 0;
2652 char *_kwnames
[] = { "self","rows","cols", NULL
};
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_SetMaxRowsCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetMaxRowsCols. Expected _wxToolBar_p.");
2665 wxPy_BEGIN_ALLOW_THREADS
;
2666 wxToolBar_SetMaxRowsCols(_arg0
,_arg1
,_arg2
);
2668 wxPy_END_ALLOW_THREADS
;
2669 } Py_INCREF(Py_None
);
2670 _resultobj
= Py_None
;
2674 #define wxToolBar_GetMaxRows(_swigobj) (_swigobj->GetMaxRows())
2675 static PyObject
*_wrap_wxToolBar_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
* _resultobj
;
2679 PyObject
* _argo0
= 0;
2680 char *_kwnames
[] = { "self", NULL
};
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetMaxRows",_kwnames
,&_argo0
))
2686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetMaxRows. Expected _wxToolBar_p.");
2693 wxPy_BEGIN_ALLOW_THREADS
;
2694 _result
= (int )wxToolBar_GetMaxRows(_arg0
);
2696 wxPy_END_ALLOW_THREADS
;
2697 } _resultobj
= Py_BuildValue("i",_result
);
2701 #define wxToolBar_GetMaxCols(_swigobj) (_swigobj->GetMaxCols())
2702 static PyObject
*_wrap_wxToolBar_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2706 PyObject
* _argo0
= 0;
2707 char *_kwnames
[] = { "self", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetMaxCols",_kwnames
,&_argo0
))
2713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetMaxCols. Expected _wxToolBar_p.");
2720 wxPy_BEGIN_ALLOW_THREADS
;
2721 _result
= (int )wxToolBar_GetMaxCols(_arg0
);
2723 wxPy_END_ALLOW_THREADS
;
2724 } _resultobj
= Py_BuildValue("i",_result
);
2728 static PyMethodDef stattoolcMethods
[] = {
2729 { "wxToolBar_GetMaxCols", (PyCFunction
) _wrap_wxToolBar_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
2730 { "wxToolBar_GetMaxRows", (PyCFunction
) _wrap_wxToolBar_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
2731 { "wxToolBar_SetMaxRowsCols", (PyCFunction
) _wrap_wxToolBar_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
2732 { "wxToolBar_SetToggle", (PyCFunction
) _wrap_wxToolBar_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
2733 { "wxToolBar_ToggleTool", (PyCFunction
) _wrap_wxToolBar_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
2734 { "wxToolBar_SetToolSeparation", (PyCFunction
) _wrap_wxToolBar_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
2735 { "wxToolBar_SetToolPacking", (PyCFunction
) _wrap_wxToolBar_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
2736 { "wxToolBar_SetMargins", (PyCFunction
) _wrap_wxToolBar_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
2737 { "wxToolBar_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBar_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
2738 { "wxToolBar_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBar_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
2739 { "wxToolBar_Realize", (PyCFunction
) _wrap_wxToolBar_Realize
, METH_VARARGS
| METH_KEYWORDS
},
2740 { "wxToolBar_GetToolState", (PyCFunction
) _wrap_wxToolBar_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
2741 { "wxToolBar_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBar_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
2742 { "wxToolBar_GetToolSeparation", (PyCFunction
) _wrap_wxToolBar_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
2743 { "wxToolBar_GetToolPacking", (PyCFunction
) _wrap_wxToolBar_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
2744 { "wxToolBar_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBar_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
2745 { "wxToolBar_GetToolEnabled", (PyCFunction
) _wrap_wxToolBar_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
2746 { "wxToolBar_GetMaxSize", (PyCFunction
) _wrap_wxToolBar_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
2747 { "wxToolBar_GetToolMargins", (PyCFunction
) _wrap_wxToolBar_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
2748 { "wxToolBar_SetToolBitmapSize", (PyCFunction
) _wrap_wxToolBar_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
2749 { "wxToolBar_GetToolBitmapSize", (PyCFunction
) _wrap_wxToolBar_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
2750 { "wxToolBar_GetToolSize", (PyCFunction
) _wrap_wxToolBar_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
2751 { "wxToolBar_FindToolForPosition", (PyCFunction
) _wrap_wxToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
2752 { "wxToolBar_EnableTool", (PyCFunction
) _wrap_wxToolBar_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
2753 { "wxToolBar_AddSimpleTool", (PyCFunction
) _wrap_wxToolBar_AddSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
2754 { "wxToolBar_AddTool", (PyCFunction
) _wrap_wxToolBar_AddTool
, METH_VARARGS
| METH_KEYWORDS
},
2755 { "wxToolBar_ClearTools", (PyCFunction
) _wrap_wxToolBar_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
2756 { "wxToolBar_AddSeparator", (PyCFunction
) _wrap_wxToolBar_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
2757 { "wxToolBar_AddControl", (PyCFunction
) _wrap_wxToolBar_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
2758 { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2759 { "wxToolBarTool_m_longHelpString_get", (PyCFunction
) _wrap_wxToolBarTool_m_longHelpString_get
, METH_VARARGS
| METH_KEYWORDS
},
2760 { "wxToolBarTool_m_longHelpString_set", (PyCFunction
) _wrap_wxToolBarTool_m_longHelpString_set
, METH_VARARGS
| METH_KEYWORDS
},
2761 { "wxToolBarTool_m_shortHelpString_get", (PyCFunction
) _wrap_wxToolBarTool_m_shortHelpString_get
, METH_VARARGS
| METH_KEYWORDS
},
2762 { "wxToolBarTool_m_shortHelpString_set", (PyCFunction
) _wrap_wxToolBarTool_m_shortHelpString_set
, METH_VARARGS
| METH_KEYWORDS
},
2763 { "wxToolBarTool_m_isMenuCommand_get", (PyCFunction
) _wrap_wxToolBarTool_m_isMenuCommand_get
, METH_VARARGS
| METH_KEYWORDS
},
2764 { "wxToolBarTool_m_isMenuCommand_set", (PyCFunction
) _wrap_wxToolBarTool_m_isMenuCommand_set
, METH_VARARGS
| METH_KEYWORDS
},
2765 { "wxToolBarTool_m_bitmap2_get", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap2_get
, METH_VARARGS
| METH_KEYWORDS
},
2766 { "wxToolBarTool_m_bitmap2_set", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap2_set
, METH_VARARGS
| METH_KEYWORDS
},
2767 { "wxToolBarTool_m_bitmap1_get", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap1_get
, METH_VARARGS
| METH_KEYWORDS
},
2768 { "wxToolBarTool_m_bitmap1_set", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap1_set
, METH_VARARGS
| METH_KEYWORDS
},
2769 { "wxToolBarTool_m_enabled_get", (PyCFunction
) _wrap_wxToolBarTool_m_enabled_get
, METH_VARARGS
| METH_KEYWORDS
},
2770 { "wxToolBarTool_m_enabled_set", (PyCFunction
) _wrap_wxToolBarTool_m_enabled_set
, METH_VARARGS
| METH_KEYWORDS
},
2771 { "wxToolBarTool_m_deleteSecondBitmap_get", (PyCFunction
) _wrap_wxToolBarTool_m_deleteSecondBitmap_get
, METH_VARARGS
| METH_KEYWORDS
},
2772 { "wxToolBarTool_m_deleteSecondBitmap_set", (PyCFunction
) _wrap_wxToolBarTool_m_deleteSecondBitmap_set
, METH_VARARGS
| METH_KEYWORDS
},
2773 { "wxToolBarTool_m_isToggle_get", (PyCFunction
) _wrap_wxToolBarTool_m_isToggle_get
, METH_VARARGS
| METH_KEYWORDS
},
2774 { "wxToolBarTool_m_isToggle_set", (PyCFunction
) _wrap_wxToolBarTool_m_isToggle_set
, METH_VARARGS
| METH_KEYWORDS
},
2775 { "wxToolBarTool_m_toggleState_get", (PyCFunction
) _wrap_wxToolBarTool_m_toggleState_get
, METH_VARARGS
| METH_KEYWORDS
},
2776 { "wxToolBarTool_m_toggleState_set", (PyCFunction
) _wrap_wxToolBarTool_m_toggleState_set
, METH_VARARGS
| METH_KEYWORDS
},
2777 { "wxToolBarTool_m_height_get", (PyCFunction
) _wrap_wxToolBarTool_m_height_get
, METH_VARARGS
| METH_KEYWORDS
},
2778 { "wxToolBarTool_m_height_set", (PyCFunction
) _wrap_wxToolBarTool_m_height_set
, METH_VARARGS
| METH_KEYWORDS
},
2779 { "wxToolBarTool_m_width_get", (PyCFunction
) _wrap_wxToolBarTool_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
2780 { "wxToolBarTool_m_width_set", (PyCFunction
) _wrap_wxToolBarTool_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
2781 { "wxToolBarTool_m_y_get", (PyCFunction
) _wrap_wxToolBarTool_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
2782 { "wxToolBarTool_m_y_set", (PyCFunction
) _wrap_wxToolBarTool_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
2783 { "wxToolBarTool_m_x_get", (PyCFunction
) _wrap_wxToolBarTool_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
2784 { "wxToolBarTool_m_x_set", (PyCFunction
) _wrap_wxToolBarTool_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
2785 { "wxToolBarTool_m_index_get", (PyCFunction
) _wrap_wxToolBarTool_m_index_get
, METH_VARARGS
| METH_KEYWORDS
},
2786 { "wxToolBarTool_m_index_set", (PyCFunction
) _wrap_wxToolBarTool_m_index_set
, METH_VARARGS
| METH_KEYWORDS
},
2787 { "wxToolBarTool_m_clientData_get", (PyCFunction
) _wrap_wxToolBarTool_m_clientData_get
, METH_VARARGS
| METH_KEYWORDS
},
2788 { "wxToolBarTool_m_clientData_set", (PyCFunction
) _wrap_wxToolBarTool_m_clientData_set
, METH_VARARGS
| METH_KEYWORDS
},
2789 { "wxToolBarTool_m_toolStyle_get", (PyCFunction
) _wrap_wxToolBarTool_m_toolStyle_get
, METH_VARARGS
| METH_KEYWORDS
},
2790 { "wxToolBarTool_m_toolStyle_set", (PyCFunction
) _wrap_wxToolBarTool_m_toolStyle_set
, METH_VARARGS
| METH_KEYWORDS
},
2791 { "wxToolBarTool_GetControl", (PyCFunction
) _wrap_wxToolBarTool_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
2792 { "wxToolBarTool_GetHeight", (PyCFunction
) _wrap_wxToolBarTool_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
2793 { "wxToolBarTool_GetWidth", (PyCFunction
) _wrap_wxToolBarTool_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
2794 { "wxToolBarTool_SetSize", (PyCFunction
) _wrap_wxToolBarTool_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2795 { "delete_wxToolBarTool", (PyCFunction
) _wrap_delete_wxToolBarTool
, METH_VARARGS
| METH_KEYWORDS
},
2796 { "new_wxToolBarTool", (PyCFunction
) _wrap_new_wxToolBarTool
, METH_VARARGS
| METH_KEYWORDS
},
2797 { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2798 { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2799 { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
2800 { "wxStatusBar_InitColours", (PyCFunction
) _wrap_wxStatusBar_InitColours
, METH_VARARGS
| METH_KEYWORDS
},
2801 { "wxStatusBar_DrawFieldText", (PyCFunction
) _wrap_wxStatusBar_DrawFieldText
, METH_VARARGS
| METH_KEYWORDS
},
2802 { "wxStatusBar_DrawField", (PyCFunction
) _wrap_wxStatusBar_DrawField
, METH_VARARGS
| METH_KEYWORDS
},
2803 { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2804 { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
2805 { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
2806 { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2813 * This table is used by the pointer type-checker
2815 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2816 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2817 { "_wxEvent","_class_wxEvent",0},
2818 { "_class_wxActivateEvent","_wxActivateEvent",0},
2819 { "_signed_long","_long",0},
2820 { "_wxMenuEvent","_class_wxMenuEvent",0},
2821 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
2822 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
2823 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2824 { "_wxPrintQuality","_wxCoord",0},
2825 { "_wxPrintQuality","_int",0},
2826 { "_wxPrintQuality","_signed_int",0},
2827 { "_wxPrintQuality","_unsigned_int",0},
2828 { "_wxPrintQuality","_wxWindowID",0},
2829 { "_wxPrintQuality","_uint",0},
2830 { "_wxPrintQuality","_EBool",0},
2831 { "_wxPrintQuality","_size_t",0},
2832 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
2833 { "_class_wxRegionIterator","_wxRegionIterator",0},
2834 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
2835 { "_class_wxMenuBar","_wxMenuBar",0},
2836 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2837 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2838 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2839 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2840 { "_class_wxEvtHandler","_wxEvtHandler",0},
2841 { "_wxPaintEvent","_class_wxPaintEvent",0},
2842 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2843 { "_wxCursor","_class_wxCursor",0},
2844 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2845 { "_wxMask","_class_wxMask",0},
2846 { "_wxPen","_class_wxPen",0},
2847 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2848 { "_byte","_unsigned_char",0},
2849 { "_wxDataObject","_class_wxDataObject",0},
2850 { "_wxStaticBox","_class_wxStaticBox",0},
2851 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
2852 { "_wxPyDropSource","_class_wxPyDropSource",0},
2853 { "_wxChoice","_class_wxChoice",0},
2854 { "_wxSlider","_class_wxSlider",0},
2855 { "_long","_wxDash",0},
2856 { "_long","_unsigned_long",0},
2857 { "_long","_signed_long",0},
2858 { "_wxImageList","_class_wxImageList",0},
2859 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
2860 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2861 { "_wxBitmapButton","_class_wxBitmapButton",0},
2862 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2863 { "_class_wxClipboard","_wxClipboard",0},
2864 { "_class_wxGauge","_wxGauge",0},
2865 { "_wxDC","_class_wxDC",0},
2866 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
2867 { "_wxSpinEvent","_class_wxSpinEvent",0},
2868 { "_size_t","_wxCoord",0},
2869 { "_size_t","_wxPrintQuality",0},
2870 { "_size_t","_unsigned_int",0},
2871 { "_size_t","_int",0},
2872 { "_size_t","_wxWindowID",0},
2873 { "_size_t","_uint",0},
2874 { "_class_wxRealPoint","_wxRealPoint",0},
2875 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2876 { "_wxPrinterDC","_class_wxPrinterDC",0},
2877 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2878 { "_class_wxMenuItem","_wxMenuItem",0},
2879 { "_class_wxPaintEvent","_wxPaintEvent",0},
2880 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2881 { "_class_wxStatusBar","_wxStatusBar",0},
2882 { "_wxPanel","_class_wxPanel",0},
2883 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2884 { "_wxCheckBox","_class_wxCheckBox",0},
2885 { "_wxPyEvent","_class_wxPyEvent",0},
2886 { "_wxTextCtrl","_class_wxTextCtrl",0},
2887 { "_class_wxMask","_wxMask",0},
2888 { "_wxTextDataObject","_class_wxTextDataObject",0},
2889 { "_class_wxKeyEvent","_wxKeyEvent",0},
2890 { "_wxColour","_class_wxColour",0},
2891 { "_class_wxDialog","_wxDialog",0},
2892 { "_class_wxFileDataObject","_wxFileDataObject",0},
2893 { "_wxIdleEvent","_class_wxIdleEvent",0},
2894 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2895 { "_wxToolBar","_class_wxToolBar",0},
2896 { "_class_wxDataObject","_wxDataObject",0},
2897 { "_wxStaticLine","_class_wxStaticLine",0},
2898 { "_wxBrush","_class_wxBrush",0},
2899 { "_wxDataFormat","_class_wxDataFormat",0},
2900 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
2901 { "_wxShowEvent","_class_wxShowEvent",0},
2902 { "_uint","_wxCoord",0},
2903 { "_uint","_wxPrintQuality",0},
2904 { "_uint","_size_t",0},
2905 { "_uint","_unsigned_int",0},
2906 { "_uint","_int",0},
2907 { "_uint","_wxWindowID",0},
2908 { "_wxPyValidator","_class_wxPyValidator",0},
2909 { "_class_wxEvent","_wxEvent",0},
2910 { "_wxCheckListBox","_class_wxCheckListBox",0},
2911 { "_wxRect","_class_wxRect",0},
2912 { "_wxCommandEvent","_class_wxCommandEvent",0},
2913 { "_wxSizeEvent","_class_wxSizeEvent",0},
2914 { "_wxPoint","_class_wxPoint",0},
2915 { "_class_wxButton","_wxButton",0},
2916 { "_wxRadioBox","_class_wxRadioBox",0},
2917 { "_wxBitmap","_class_wxBitmap",0},
2918 { "_wxPyTimer","_class_wxPyTimer",0},
2919 { "_wxWindowDC","_class_wxWindowDC",0},
2920 { "_wxScrollBar","_class_wxScrollBar",0},
2921 { "_wxSpinButton","_class_wxSpinButton",0},
2922 { "_wxToolBarTool","_class_wxToolBarTool",0},
2923 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2924 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2925 { "_class_wxValidator","_wxValidator",0},
2926 { "_class_wxPyEvent","_wxPyEvent",0},
2927 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2928 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2929 { "_class_wxToolBar","_wxToolBar",0},
2930 { "_wxDropTarget","_class_wxDropTarget",0},
2931 { "_class_wxStaticLine","_wxStaticLine",0},
2932 { "_wxScrollEvent","_class_wxScrollEvent",0},
2933 { "_EBool","_wxCoord",0},
2934 { "_EBool","_wxPrintQuality",0},
2935 { "_EBool","_signed_int",0},
2936 { "_EBool","_int",0},
2937 { "_EBool","_wxWindowID",0},
2938 { "_class_wxRegion","_wxRegion",0},
2939 { "_class_wxDataFormat","_wxDataFormat",0},
2940 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2941 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2942 { "_wxGDIImage","_class_wxGDIImage",0},
2943 { "_wxStaticText","_class_wxStaticText",0},
2944 { "_wxFont","_class_wxFont",0},
2945 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
2946 { "_wxCloseEvent","_class_wxCloseEvent",0},
2947 { "_unsigned_long","_wxDash",0},
2948 { "_unsigned_long","_long",0},
2949 { "_class_wxRect","_wxRect",0},
2950 { "_class_wxDC","_wxDC",0},
2951 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2952 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2953 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2954 { "_class_wxPyTimer","_wxPyTimer",0},
2955 { "_wxFocusEvent","_class_wxFocusEvent",0},
2956 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2957 { "_class_wxSpinButton","_wxSpinButton",0},
2958 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2959 { "_class_wxPanel","_wxPanel",0},
2960 { "_class_wxCheckBox","_wxCheckBox",0},
2961 { "_wxComboBox","_class_wxComboBox",0},
2962 { "_wxRadioButton","_class_wxRadioButton",0},
2963 { "_signed_int","_wxCoord",0},
2964 { "_signed_int","_wxPrintQuality",0},
2965 { "_signed_int","_EBool",0},
2966 { "_signed_int","_wxWindowID",0},
2967 { "_signed_int","_int",0},
2968 { "_class_wxTextCtrl","_wxTextCtrl",0},
2969 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2970 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2971 { "_class_wxTextDataObject","_wxTextDataObject",0},
2972 { "_wxMenu","_class_wxMenu",0},
2973 { "_class_wxMoveEvent","_wxMoveEvent",0},
2974 { "_wxListBox","_class_wxListBox",0},
2975 { "_wxScreenDC","_class_wxScreenDC",0},
2976 { "_WXTYPE","_short",0},
2977 { "_WXTYPE","_signed_short",0},
2978 { "_WXTYPE","_unsigned_short",0},
2979 { "_class_wxDropTarget","_wxDropTarget",0},
2980 { "_class_wxBrush","_wxBrush",0},
2981 { "_unsigned_short","_WXTYPE",0},
2982 { "_unsigned_short","_short",0},
2983 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2984 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2985 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2986 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2987 { "_class_wxWindow","_wxWindow",0},
2988 { "_class_wxStaticText","_wxStaticText",0},
2989 { "_class_wxFont","_wxFont",0},
2990 { "_wxClipboard","_class_wxClipboard",0},
2991 { "_class_wxPyValidator","_wxPyValidator",0},
2992 { "_class_wxCloseEvent","_wxCloseEvent",0},
2993 { "_wxBusyInfo","_class_wxBusyInfo",0},
2994 { "_class_wxMenuEvent","_wxMenuEvent",0},
2995 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2996 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
2997 { "_wxClientDC","_class_wxClientDC",0},
2998 { "_wxMouseEvent","_class_wxMouseEvent",0},
2999 { "_class_wxPoint","_wxPoint",0},
3000 { "_wxRealPoint","_class_wxRealPoint",0},
3001 { "_class_wxRadioBox","_wxRadioBox",0},
3002 { "_signed_short","_WXTYPE",0},
3003 { "_signed_short","_short",0},
3004 { "_wxMemoryDC","_class_wxMemoryDC",0},
3005 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3006 { "_wxPaintDC","_class_wxPaintDC",0},
3007 { "_class_wxWindowDC","_wxWindowDC",0},
3008 { "_class_wxFocusEvent","_wxFocusEvent",0},
3009 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3010 { "_wxStatusBar","_class_wxStatusBar",0},
3011 { "_class_wxToolBarTool","_wxToolBarTool",0},
3012 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3013 { "_class_wxCursor","_wxCursor",0},
3014 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3015 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3016 { "_unsigned_char","_byte",0},
3017 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3018 { "_class_wxMenu","_wxMenu",0},
3019 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3020 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3021 { "_wxControl","_class_wxControl",0},
3022 { "_class_wxListBox","_wxListBox",0},
3023 { "_unsigned_int","_wxCoord",0},
3024 { "_unsigned_int","_wxPrintQuality",0},
3025 { "_unsigned_int","_size_t",0},
3026 { "_unsigned_int","_uint",0},
3027 { "_unsigned_int","_wxWindowID",0},
3028 { "_unsigned_int","_int",0},
3029 { "_wxIcon","_class_wxIcon",0},
3030 { "_wxDialog","_class_wxDialog",0},
3031 { "_class_wxPen","_wxPen",0},
3032 { "_short","_WXTYPE",0},
3033 { "_short","_unsigned_short",0},
3034 { "_short","_signed_short",0},
3035 { "_class_wxStaticBox","_wxStaticBox",0},
3036 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3037 { "_class_wxPyDropSource","_wxPyDropSource",0},
3038 { "_class_wxScrollEvent","_wxScrollEvent",0},
3039 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3040 { "_class_wxChoice","_wxChoice",0},
3041 { "_class_wxSlider","_wxSlider",0},
3042 { "_class_wxImageList","_wxImageList",0},
3043 { "_class_wxBitmapButton","_wxBitmapButton",0},
3044 { "_class_wxGDIImage","_wxGDIImage",0},
3045 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3046 { "_wxWindowID","_wxCoord",0},
3047 { "_wxWindowID","_wxPrintQuality",0},
3048 { "_wxWindowID","_size_t",0},
3049 { "_wxWindowID","_EBool",0},
3050 { "_wxWindowID","_uint",0},
3051 { "_wxWindowID","_int",0},
3052 { "_wxWindowID","_signed_int",0},
3053 { "_wxWindowID","_unsigned_int",0},
3054 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3055 { "_int","_wxCoord",0},
3056 { "_int","_wxPrintQuality",0},
3057 { "_int","_size_t",0},
3058 { "_int","_EBool",0},
3059 { "_int","_uint",0},
3060 { "_int","_wxWindowID",0},
3061 { "_int","_unsigned_int",0},
3062 { "_int","_signed_int",0},
3063 { "_class_wxMouseEvent","_wxMouseEvent",0},
3064 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3065 { "_class_wxSpinEvent","_wxSpinEvent",0},
3066 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3067 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3068 { "_wxButton","_class_wxButton",0},
3069 { "_wxSize","_class_wxSize",0},
3070 { "_wxRegionIterator","_class_wxRegionIterator",0},
3071 { "_class_wxPrinterDC","_wxPrinterDC",0},
3072 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3073 { "_class_wxPaintDC","_wxPaintDC",0},
3074 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3075 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3076 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3077 { "_class_wxComboBox","_wxComboBox",0},
3078 { "_class_wxRadioButton","_wxRadioButton",0},
3079 { "_wxValidator","_class_wxValidator",0},
3080 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3081 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3082 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3083 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3084 { "_class_wxControl","_wxControl",0},
3085 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3086 { "_class_wxIcon","_wxIcon",0},
3087 { "_class_wxColour","_wxColour",0},
3088 { "_class_wxScreenDC","_wxScreenDC",0},
3089 { "_wxPalette","_class_wxPalette",0},
3090 { "_class_wxIdleEvent","_wxIdleEvent",0},
3091 { "_wxCoord","_int",0},
3092 { "_wxCoord","_signed_int",0},
3093 { "_wxCoord","_unsigned_int",0},
3094 { "_wxCoord","_wxWindowID",0},
3095 { "_wxCoord","_uint",0},
3096 { "_wxCoord","_EBool",0},
3097 { "_wxCoord","_size_t",0},
3098 { "_wxCoord","_wxPrintQuality",0},
3099 { "_wxEraseEvent","_class_wxEraseEvent",0},
3100 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3101 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3102 { "_wxRegion","_class_wxRegion",0},
3103 { "_class_wxShowEvent","_wxShowEvent",0},
3104 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3105 { "_wxActivateEvent","_class_wxActivateEvent",0},
3106 { "_wxGauge","_class_wxGauge",0},
3107 { "_class_wxCheckListBox","_wxCheckListBox",0},
3108 { "_class_wxBusyInfo","_wxBusyInfo",0},
3109 { "_class_wxCommandEvent","_wxCommandEvent",0},
3110 { "_class_wxClientDC","_wxClientDC",0},
3111 { "_class_wxSizeEvent","_wxSizeEvent",0},
3112 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3113 { "_class_wxSize","_wxSize",0},
3114 { "_class_wxBitmap","_wxBitmap",0},
3115 { "_class_wxMemoryDC","_wxMemoryDC",0},
3116 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3117 { "_wxMenuBar","_class_wxMenuBar",0},
3118 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3119 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3120 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3121 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3122 { "_wxEvtHandler","_class_wxEvtHandler",0},
3123 { "_wxMenuItem","_class_wxMenuItem",0},
3124 { "_class_wxScrollBar","_wxScrollBar",0},
3125 { "_wxDash","_unsigned_long",0},
3126 { "_wxDash","_long",0},
3127 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3128 { "_wxKeyEvent","_class_wxKeyEvent",0},
3129 { "_wxMoveEvent","_class_wxMoveEvent",0},
3130 { "_class_wxPalette","_wxPalette",0},
3131 { "_wxFileDataObject","_class_wxFileDataObject",0},
3132 { "_class_wxEraseEvent","_wxEraseEvent",0},
3133 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3134 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
3135 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
3136 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
3137 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
3138 { "_wxWindow","_class_wxWindow",0},
3139 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3142 static PyObject
*SWIG_globals
;
3146 SWIGEXPORT(void) initstattoolc() {
3148 SWIG_globals
= SWIG_newvarlink();
3149 m
= Py_InitModule("stattoolc", stattoolcMethods
);
3150 d
= PyModule_GetDict(m
);
3153 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3154 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);