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_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
635 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
638 wxToolBarTool
* _arg0
;
640 PyObject
* _argo0
= 0;
641 char *_kwnames
[] = { "self","m_toolStyle", NULL
};
644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_toolStyle_set",_kwnames
,&_argo0
,&_arg1
))
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_m_toolStyle_set. Expected _wxToolBarTool_p.");
654 wxPy_BEGIN_ALLOW_THREADS
;
655 _result
= (int )wxToolBarTool_m_toolStyle_set(_arg0
,_arg1
);
657 wxPy_END_ALLOW_THREADS
;
658 } _resultobj
= Py_BuildValue("i",_result
);
662 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
663 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
664 PyObject
* _resultobj
;
666 wxToolBarTool
* _arg0
;
667 PyObject
* _argo0
= 0;
668 char *_kwnames
[] = { "self", NULL
};
671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_toolStyle_get",_kwnames
,&_argo0
))
674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
681 wxPy_BEGIN_ALLOW_THREADS
;
682 _result
= (int )wxToolBarTool_m_toolStyle_get(_arg0
);
684 wxPy_END_ALLOW_THREADS
;
685 } _resultobj
= Py_BuildValue("i",_result
);
689 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
690 static PyObject
*_wrap_wxToolBarTool_m_clientData_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
693 wxToolBarTool
* _arg0
;
695 PyObject
* _argo0
= 0;
696 PyObject
* _argo1
= 0;
697 char *_kwnames
[] = { "self","m_clientData", NULL
};
701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_clientData_set",_kwnames
,&_argo0
,&_argo1
))
704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
711 if (_argo1
== Py_None
) { _arg1
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
718 wxPy_BEGIN_ALLOW_THREADS
;
719 _result
= (wxObject
*)wxToolBarTool_m_clientData_set(_arg0
,_arg1
);
721 wxPy_END_ALLOW_THREADS
;
723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
724 _resultobj
= Py_BuildValue("s",_ptemp
);
727 _resultobj
= Py_None
;
732 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
733 static PyObject
*_wrap_wxToolBarTool_m_clientData_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
734 PyObject
* _resultobj
;
736 wxToolBarTool
* _arg0
;
737 PyObject
* _argo0
= 0;
738 char *_kwnames
[] = { "self", NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_clientData_get",_kwnames
,&_argo0
))
745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
752 wxPy_BEGIN_ALLOW_THREADS
;
753 _result
= (wxObject
*)wxToolBarTool_m_clientData_get(_arg0
);
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_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
767 static PyObject
*_wrap_wxToolBarTool_m_index_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
768 PyObject
* _resultobj
;
770 wxToolBarTool
* _arg0
;
772 PyObject
* _argo0
= 0;
773 char *_kwnames
[] = { "self","m_index", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_index_set",_kwnames
,&_argo0
,&_arg1
))
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_index_set. Expected _wxToolBarTool_p.");
786 wxPy_BEGIN_ALLOW_THREADS
;
787 _result
= (int )wxToolBarTool_m_index_set(_arg0
,_arg1
);
789 wxPy_END_ALLOW_THREADS
;
790 } _resultobj
= Py_BuildValue("i",_result
);
794 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
795 static PyObject
*_wrap_wxToolBarTool_m_index_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
798 wxToolBarTool
* _arg0
;
799 PyObject
* _argo0
= 0;
800 char *_kwnames
[] = { "self", NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_index_get",_kwnames
,&_argo0
))
806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
813 wxPy_BEGIN_ALLOW_THREADS
;
814 _result
= (int )wxToolBarTool_m_index_get(_arg0
);
816 wxPy_END_ALLOW_THREADS
;
817 } _resultobj
= Py_BuildValue("i",_result
);
821 #define wxToolBarTool_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
822 static PyObject
*_wrap_wxToolBarTool_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
825 wxToolBarTool
* _arg0
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self","m_x", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_x_set",_kwnames
,&_argo0
,&_arg1
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_set. Expected _wxToolBarTool_p.");
841 wxPy_BEGIN_ALLOW_THREADS
;
842 _result
= (long )wxToolBarTool_m_x_set(_arg0
,_arg1
);
844 wxPy_END_ALLOW_THREADS
;
845 } _resultobj
= Py_BuildValue("l",_result
);
849 #define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x)
850 static PyObject
*_wrap_wxToolBarTool_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
851 PyObject
* _resultobj
;
853 wxToolBarTool
* _arg0
;
854 PyObject
* _argo0
= 0;
855 char *_kwnames
[] = { "self", NULL
};
858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_x_get",_kwnames
,&_argo0
))
861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_get. Expected _wxToolBarTool_p.");
868 wxPy_BEGIN_ALLOW_THREADS
;
869 _result
= (long )wxToolBarTool_m_x_get(_arg0
);
871 wxPy_END_ALLOW_THREADS
;
872 } _resultobj
= Py_BuildValue("l",_result
);
876 #define wxToolBarTool_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
877 static PyObject
*_wrap_wxToolBarTool_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
878 PyObject
* _resultobj
;
880 wxToolBarTool
* _arg0
;
882 PyObject
* _argo0
= 0;
883 char *_kwnames
[] = { "self","m_y", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_y_set",_kwnames
,&_argo0
,&_arg1
))
889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_set. Expected _wxToolBarTool_p.");
896 wxPy_BEGIN_ALLOW_THREADS
;
897 _result
= (long )wxToolBarTool_m_y_set(_arg0
,_arg1
);
899 wxPy_END_ALLOW_THREADS
;
900 } _resultobj
= Py_BuildValue("l",_result
);
904 #define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y)
905 static PyObject
*_wrap_wxToolBarTool_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
906 PyObject
* _resultobj
;
908 wxToolBarTool
* _arg0
;
909 PyObject
* _argo0
= 0;
910 char *_kwnames
[] = { "self", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_y_get",_kwnames
,&_argo0
))
916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_get. Expected _wxToolBarTool_p.");
923 wxPy_BEGIN_ALLOW_THREADS
;
924 _result
= (long )wxToolBarTool_m_y_get(_arg0
);
926 wxPy_END_ALLOW_THREADS
;
927 } _resultobj
= Py_BuildValue("l",_result
);
931 #define wxToolBarTool_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
932 static PyObject
*_wrap_wxToolBarTool_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
933 PyObject
* _resultobj
;
935 wxToolBarTool
* _arg0
;
937 PyObject
* _argo0
= 0;
938 char *_kwnames
[] = { "self","m_width", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_width_set",_kwnames
,&_argo0
,&_arg1
))
944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_set. Expected _wxToolBarTool_p.");
951 wxPy_BEGIN_ALLOW_THREADS
;
952 _result
= (long )wxToolBarTool_m_width_set(_arg0
,_arg1
);
954 wxPy_END_ALLOW_THREADS
;
955 } _resultobj
= Py_BuildValue("l",_result
);
959 #define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width)
960 static PyObject
*_wrap_wxToolBarTool_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
963 wxToolBarTool
* _arg0
;
964 PyObject
* _argo0
= 0;
965 char *_kwnames
[] = { "self", NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_width_get",_kwnames
,&_argo0
))
971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_get. Expected _wxToolBarTool_p.");
978 wxPy_BEGIN_ALLOW_THREADS
;
979 _result
= (long )wxToolBarTool_m_width_get(_arg0
);
981 wxPy_END_ALLOW_THREADS
;
982 } _resultobj
= Py_BuildValue("l",_result
);
986 #define wxToolBarTool_m_height_set(_swigobj,_swigval) (_swigobj->m_height = _swigval,_swigval)
987 static PyObject
*_wrap_wxToolBarTool_m_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
990 wxToolBarTool
* _arg0
;
992 PyObject
* _argo0
= 0;
993 char *_kwnames
[] = { "self","m_height", NULL
};
996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_height_set",_kwnames
,&_argo0
,&_arg1
))
999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_set. Expected _wxToolBarTool_p.");
1006 wxPy_BEGIN_ALLOW_THREADS
;
1007 _result
= (long )wxToolBarTool_m_height_set(_arg0
,_arg1
);
1009 wxPy_END_ALLOW_THREADS
;
1010 } _resultobj
= Py_BuildValue("l",_result
);
1014 #define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height)
1015 static PyObject
*_wrap_wxToolBarTool_m_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
* _resultobj
;
1018 wxToolBarTool
* _arg0
;
1019 PyObject
* _argo0
= 0;
1020 char *_kwnames
[] = { "self", NULL
};
1023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_height_get",_kwnames
,&_argo0
))
1026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_get. Expected _wxToolBarTool_p.");
1033 wxPy_BEGIN_ALLOW_THREADS
;
1034 _result
= (long )wxToolBarTool_m_height_get(_arg0
);
1036 wxPy_END_ALLOW_THREADS
;
1037 } _resultobj
= Py_BuildValue("l",_result
);
1041 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
1042 static PyObject
*_wrap_wxToolBarTool_m_toggleState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1045 wxToolBarTool
* _arg0
;
1047 PyObject
* _argo0
= 0;
1049 char *_kwnames
[] = { "self","m_toggleState", NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_toggleState_set",_kwnames
,&_argo0
,&tempbool1
))
1055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
1061 _arg1
= (bool ) tempbool1
;
1063 wxPy_BEGIN_ALLOW_THREADS
;
1064 _result
= (bool )wxToolBarTool_m_toggleState_set(_arg0
,_arg1
);
1066 wxPy_END_ALLOW_THREADS
;
1067 } _resultobj
= Py_BuildValue("i",_result
);
1071 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
1072 static PyObject
*_wrap_wxToolBarTool_m_toggleState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1075 wxToolBarTool
* _arg0
;
1076 PyObject
* _argo0
= 0;
1077 char *_kwnames
[] = { "self", NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_toggleState_get",_kwnames
,&_argo0
))
1083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
1090 wxPy_BEGIN_ALLOW_THREADS
;
1091 _result
= (bool )wxToolBarTool_m_toggleState_get(_arg0
);
1093 wxPy_END_ALLOW_THREADS
;
1094 } _resultobj
= Py_BuildValue("i",_result
);
1098 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
1099 static PyObject
*_wrap_wxToolBarTool_m_isToggle_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1102 wxToolBarTool
* _arg0
;
1104 PyObject
* _argo0
= 0;
1106 char *_kwnames
[] = { "self","m_isToggle", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_isToggle_set",_kwnames
,&_argo0
,&tempbool1
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
1118 _arg1
= (bool ) tempbool1
;
1120 wxPy_BEGIN_ALLOW_THREADS
;
1121 _result
= (bool )wxToolBarTool_m_isToggle_set(_arg0
,_arg1
);
1123 wxPy_END_ALLOW_THREADS
;
1124 } _resultobj
= Py_BuildValue("i",_result
);
1128 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
1129 static PyObject
*_wrap_wxToolBarTool_m_isToggle_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1132 wxToolBarTool
* _arg0
;
1133 PyObject
* _argo0
= 0;
1134 char *_kwnames
[] = { "self", NULL
};
1137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_isToggle_get",_kwnames
,&_argo0
))
1140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
1147 wxPy_BEGIN_ALLOW_THREADS
;
1148 _result
= (bool )wxToolBarTool_m_isToggle_get(_arg0
);
1150 wxPy_END_ALLOW_THREADS
;
1151 } _resultobj
= Py_BuildValue("i",_result
);
1155 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
1156 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 wxToolBarTool
* _arg0
;
1161 PyObject
* _argo0
= 0;
1163 char *_kwnames
[] = { "self","m_deleteSecondBitmap", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_deleteSecondBitmap_set",_kwnames
,&_argo0
,&tempbool1
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
1175 _arg1
= (bool ) tempbool1
;
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0
,_arg1
);
1180 wxPy_END_ALLOW_THREADS
;
1181 } _resultobj
= Py_BuildValue("i",_result
);
1185 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
1186 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
* _resultobj
;
1189 wxToolBarTool
* _arg0
;
1190 PyObject
* _argo0
= 0;
1191 char *_kwnames
[] = { "self", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_deleteSecondBitmap_get",_kwnames
,&_argo0
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
1204 wxPy_BEGIN_ALLOW_THREADS
;
1205 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0
);
1207 wxPy_END_ALLOW_THREADS
;
1208 } _resultobj
= Py_BuildValue("i",_result
);
1212 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
1213 static PyObject
*_wrap_wxToolBarTool_m_enabled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1216 wxToolBarTool
* _arg0
;
1218 PyObject
* _argo0
= 0;
1220 char *_kwnames
[] = { "self","m_enabled", NULL
};
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_enabled_set",_kwnames
,&_argo0
,&tempbool1
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
1232 _arg1
= (bool ) tempbool1
;
1234 wxPy_BEGIN_ALLOW_THREADS
;
1235 _result
= (bool )wxToolBarTool_m_enabled_set(_arg0
,_arg1
);
1237 wxPy_END_ALLOW_THREADS
;
1238 } _resultobj
= Py_BuildValue("i",_result
);
1242 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
1243 static PyObject
*_wrap_wxToolBarTool_m_enabled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1246 wxToolBarTool
* _arg0
;
1247 PyObject
* _argo0
= 0;
1248 char *_kwnames
[] = { "self", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_enabled_get",_kwnames
,&_argo0
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
1261 wxPy_BEGIN_ALLOW_THREADS
;
1262 _result
= (bool )wxToolBarTool_m_enabled_get(_arg0
);
1264 wxPy_END_ALLOW_THREADS
;
1265 } _resultobj
= Py_BuildValue("i",_result
);
1269 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
1270 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1273 wxToolBarTool
* _arg0
;
1275 PyObject
* _argo0
= 0;
1276 PyObject
* _argo1
= 0;
1277 char *_kwnames
[] = { "self","m_bitmap1", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_bitmap1_set",_kwnames
,&_argo0
,&_argo1
))
1284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
1291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
1298 wxPy_BEGIN_ALLOW_THREADS
;
1299 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_set(_arg0
,_arg1
);
1301 wxPy_END_ALLOW_THREADS
;
1303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1304 _resultobj
= Py_BuildValue("s",_ptemp
);
1307 _resultobj
= Py_None
;
1312 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
1313 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1316 wxToolBarTool
* _arg0
;
1317 PyObject
* _argo0
= 0;
1318 char *_kwnames
[] = { "self", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_bitmap1_get",_kwnames
,&_argo0
))
1325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1332 wxPy_BEGIN_ALLOW_THREADS
;
1333 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_get(_arg0
);
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_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1347 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
* _resultobj
;
1350 wxToolBarTool
* _arg0
;
1352 PyObject
* _argo0
= 0;
1353 PyObject
* _argo1
= 0;
1354 char *_kwnames
[] = { "self","m_bitmap2", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_bitmap2_set",_kwnames
,&_argo0
,&_argo1
))
1361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1375 wxPy_BEGIN_ALLOW_THREADS
;
1376 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_set(_arg0
,_arg1
);
1378 wxPy_END_ALLOW_THREADS
;
1380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1381 _resultobj
= Py_BuildValue("s",_ptemp
);
1384 _resultobj
= Py_None
;
1389 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1390 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
* _resultobj
;
1393 wxToolBarTool
* _arg0
;
1394 PyObject
* _argo0
= 0;
1395 char *_kwnames
[] = { "self", NULL
};
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_bitmap2_get",_kwnames
,&_argo0
))
1402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1409 wxPy_BEGIN_ALLOW_THREADS
;
1410 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_get(_arg0
);
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_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1424 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1427 wxToolBarTool
* _arg0
;
1429 PyObject
* _argo0
= 0;
1431 char *_kwnames
[] = { "self","m_isMenuCommand", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_isMenuCommand_set",_kwnames
,&_argo0
,&tempbool1
))
1437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1443 _arg1
= (bool ) tempbool1
;
1445 wxPy_BEGIN_ALLOW_THREADS
;
1446 _result
= (bool )wxToolBarTool_m_isMenuCommand_set(_arg0
,_arg1
);
1448 wxPy_END_ALLOW_THREADS
;
1449 } _resultobj
= Py_BuildValue("i",_result
);
1453 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1454 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1457 wxToolBarTool
* _arg0
;
1458 PyObject
* _argo0
= 0;
1459 char *_kwnames
[] = { "self", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_isMenuCommand_get",_kwnames
,&_argo0
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1472 wxPy_BEGIN_ALLOW_THREADS
;
1473 _result
= (bool )wxToolBarTool_m_isMenuCommand_get(_arg0
);
1475 wxPy_END_ALLOW_THREADS
;
1476 } _resultobj
= Py_BuildValue("i",_result
);
1480 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1481 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1484 wxToolBarTool
* _arg0
;
1486 PyObject
* _argo0
= 0;
1487 PyObject
* _obj1
= 0;
1488 char *_kwnames
[] = { "self","m_shortHelpString", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_shortHelpString_set",_kwnames
,&_argo0
,&_obj1
))
1494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1501 if (!PyString_Check(_obj1
)) {
1502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1505 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1508 wxPy_BEGIN_ALLOW_THREADS
;
1509 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_set(_arg0
,_arg1
);
1511 wxPy_END_ALLOW_THREADS
;
1513 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1522 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1523 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1526 wxToolBarTool
* _arg0
;
1527 PyObject
* _argo0
= 0;
1528 char *_kwnames
[] = { "self", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_shortHelpString_get",_kwnames
,&_argo0
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_get(_arg0
);
1544 wxPy_END_ALLOW_THREADS
;
1546 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1551 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1552 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1555 wxToolBarTool
* _arg0
;
1557 PyObject
* _argo0
= 0;
1558 PyObject
* _obj1
= 0;
1559 char *_kwnames
[] = { "self","m_longHelpString", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_longHelpString_set",_kwnames
,&_argo0
,&_obj1
))
1565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1572 if (!PyString_Check(_obj1
)) {
1573 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1576 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1579 wxPy_BEGIN_ALLOW_THREADS
;
1580 _result
= (wxString
*)wxToolBarTool_m_longHelpString_set(_arg0
,_arg1
);
1582 wxPy_END_ALLOW_THREADS
;
1584 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1593 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1594 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1597 wxToolBarTool
* _arg0
;
1598 PyObject
* _argo0
= 0;
1599 char *_kwnames
[] = { "self", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_longHelpString_get",_kwnames
,&_argo0
))
1605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1612 wxPy_BEGIN_ALLOW_THREADS
;
1613 _result
= (wxString
*)wxToolBarTool_m_longHelpString_get(_arg0
);
1615 wxPy_END_ALLOW_THREADS
;
1617 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1622 static void *SwigwxToolBarTowxControl(void *ptr
) {
1625 src
= (wxToolBar
*) ptr
;
1626 dest
= (wxControl
*) src
;
1627 return (void *) dest
;
1630 static void *SwigwxToolBarTowxWindow(void *ptr
) {
1633 src
= (wxToolBar
*) ptr
;
1634 dest
= (wxWindow
*) src
;
1635 return (void *) dest
;
1638 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
1641 src
= (wxToolBar
*) ptr
;
1642 dest
= (wxEvtHandler
*) src
;
1643 return (void *) dest
;
1646 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1647 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
* _resultobj
;
1649 wxToolBar
* _result
;
1652 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1653 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1654 long _arg4
= (long ) wxTB_HORIZONTAL
|wxNO_BORDER
;
1655 char * _arg5
= (char *) "toolBar";
1656 PyObject
* _argo0
= 0;
1658 PyObject
* _obj2
= 0;
1660 PyObject
* _obj3
= 0;
1661 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1677 if (! wxPoint_helper(_obj2
, &_arg2
))
1683 if (! wxSize_helper(_obj3
, &_arg3
))
1687 wxPy_BEGIN_ALLOW_THREADS
;
1688 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1690 wxPy_END_ALLOW_THREADS
;
1692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
1693 _resultobj
= Py_BuildValue("s",_ptemp
);
1696 _resultobj
= Py_None
;
1701 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1702 static PyObject
*_wrap_wxToolBar_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
* _resultobj
;
1705 PyObject
* _argo0
= 0;
1706 char *_kwnames
[] = { "self", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_AddSeparator",_kwnames
,&_argo0
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1719 wxPy_BEGIN_ALLOW_THREADS
;
1720 wxToolBar_AddSeparator(_arg0
);
1722 wxPy_END_ALLOW_THREADS
;
1723 } Py_INCREF(Py_None
);
1724 _resultobj
= Py_None
;
1728 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
) {
1729 return self
->AddTool(toolIndex
, bitmap1
, bitmap2
,
1730 isToggle
, xPos
, yPos
, NULL
,
1731 shortHelpString
, longHelpString
);
1733 static PyObject
*_wrap_wxToolBar_AddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
* _resultobj
;
1735 wxToolBarTool
* _result
;
1739 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1740 int _arg4
= (int ) FALSE
;
1741 long _arg5
= (long ) -1;
1742 long _arg6
= (long ) -1;
1743 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1744 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1745 PyObject
* _argo0
= 0;
1746 PyObject
* _argo2
= 0;
1747 PyObject
* _argo3
= 0;
1748 PyObject
* _obj7
= 0;
1749 PyObject
* _obj8
= 0;
1750 char *_kwnames
[] = { "self","toolIndex","bitmap1","bitmap2","isToggle","xPos","yPos","shortHelpString","longHelpString", NULL
};
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OillOO:wxToolBar_AddTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
,&_obj8
))
1757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1764 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1765 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1771 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1772 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1779 if (!PyString_Check(_obj7
)) {
1780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1783 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1787 if (!PyString_Check(_obj8
)) {
1788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1791 _arg8
= new wxString(PyString_AsString(_obj8
), PyString_Size(_obj8
));
1794 wxPy_BEGIN_ALLOW_THREADS
;
1795 _result
= (wxToolBarTool
*)wxToolBar_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1797 wxPy_END_ALLOW_THREADS
;
1799 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1800 _resultobj
= Py_BuildValue("s",_ptemp
);
1803 _resultobj
= Py_None
;
1816 static wxToolBarTool
* wxToolBar_AddSimpleTool(wxToolBar
*self
,int toolIndex
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1817 return self
->AddTool(toolIndex
, bitmap
, wxNullBitmap
,
1818 FALSE
, -1, -1, NULL
,
1819 shortHelpString
, longHelpString
);
1821 static PyObject
*_wrap_wxToolBar_AddSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1823 wxToolBarTool
* _result
;
1827 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1828 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1829 PyObject
* _argo0
= 0;
1830 PyObject
* _argo2
= 0;
1831 PyObject
* _obj3
= 0;
1832 PyObject
* _obj4
= 0;
1833 char *_kwnames
[] = { "self","toolIndex","bitmap","shortHelpString","longHelpString", NULL
};
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OO:wxToolBar_AddSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
))
1840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1847 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1848 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1855 if (!PyString_Check(_obj3
)) {
1856 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1859 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1863 if (!PyString_Check(_obj4
)) {
1864 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1867 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1870 wxPy_BEGIN_ALLOW_THREADS
;
1871 _result
= (wxToolBarTool
*)wxToolBar_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
);
1873 wxPy_END_ALLOW_THREADS
;
1875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1876 _resultobj
= Py_BuildValue("s",_ptemp
);
1879 _resultobj
= Py_None
;
1892 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1893 static PyObject
*_wrap_wxToolBar_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1898 PyObject
* _argo0
= 0;
1900 char *_kwnames
[] = { "self","toolIndex","enable", NULL
};
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1912 _arg2
= (bool ) tempbool2
;
1914 wxPy_BEGIN_ALLOW_THREADS
;
1915 wxToolBar_EnableTool(_arg0
,_arg1
,_arg2
);
1917 wxPy_END_ALLOW_THREADS
;
1918 } Py_INCREF(Py_None
);
1919 _resultobj
= Py_None
;
1923 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
1924 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
* _resultobj
;
1926 wxToolBarTool
* _result
;
1930 PyObject
* _argo0
= 0;
1931 char *_kwnames
[] = { "self","x","y", NULL
};
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Off:wxToolBar_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
1945 wxPy_BEGIN_ALLOW_THREADS
;
1946 _result
= (wxToolBarTool
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
1948 wxPy_END_ALLOW_THREADS
;
1950 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1951 _resultobj
= Py_BuildValue("s",_ptemp
);
1954 _resultobj
= Py_None
;
1959 #define wxToolBar_GetToolSize(_swigobj) (_swigobj->GetToolSize())
1960 static PyObject
*_wrap_wxToolBar_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1964 PyObject
* _argo0
= 0;
1965 char *_kwnames
[] = { "self", NULL
};
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolSize",_kwnames
,&_argo0
))
1972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSize. Expected _wxToolBar_p.");
1979 wxPy_BEGIN_ALLOW_THREADS
;
1980 _result
= new wxSize (wxToolBar_GetToolSize(_arg0
));
1982 wxPy_END_ALLOW_THREADS
;
1983 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1984 _resultobj
= Py_BuildValue("s",_ptemp
);
1988 #define wxToolBar_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
1989 static PyObject
*_wrap_wxToolBar_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
* _resultobj
;
1993 PyObject
* _argo0
= 0;
1994 char *_kwnames
[] = { "self", NULL
};
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolBitmapSize",_kwnames
,&_argo0
))
2001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolBitmapSize. Expected _wxToolBar_p.");
2008 wxPy_BEGIN_ALLOW_THREADS
;
2009 _result
= new wxSize (wxToolBar_GetToolBitmapSize(_arg0
));
2011 wxPy_END_ALLOW_THREADS
;
2012 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2013 _resultobj
= Py_BuildValue("s",_ptemp
);
2017 #define wxToolBar_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
2018 static PyObject
*_wrap_wxToolBar_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2022 PyObject
* _argo0
= 0;
2024 PyObject
* _obj1
= 0;
2025 char *_kwnames
[] = { "self","size", NULL
};
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBar_SetToolBitmapSize",_kwnames
,&_argo0
,&_obj1
))
2031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolBitmapSize. Expected _wxToolBar_p.");
2039 if (! wxSize_helper(_obj1
, &_arg1
))
2043 wxPy_BEGIN_ALLOW_THREADS
;
2044 wxToolBar_SetToolBitmapSize(_arg0
,*_arg1
);
2046 wxPy_END_ALLOW_THREADS
;
2047 } Py_INCREF(Py_None
);
2048 _resultobj
= Py_None
;
2052 #define wxToolBar_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
2053 static PyObject
*_wrap_wxToolBar_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
* _resultobj
;
2057 PyObject
* _argo0
= 0;
2058 char *_kwnames
[] = { "self", NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetMaxSize",_kwnames
,&_argo0
))
2065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetMaxSize. Expected _wxToolBar_p.");
2072 wxPy_BEGIN_ALLOW_THREADS
;
2073 _result
= new wxSize (wxToolBar_GetMaxSize(_arg0
));
2075 wxPy_END_ALLOW_THREADS
;
2076 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2077 _resultobj
= Py_BuildValue("s",_ptemp
);
2081 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2082 static PyObject
*_wrap_wxToolBar_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
* _resultobj
;
2087 PyObject
* _argo0
= 0;
2088 char *_kwnames
[] = { "self","toolIndex", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
2101 wxPy_BEGIN_ALLOW_THREADS
;
2102 _result
= (bool )wxToolBar_GetToolEnabled(_arg0
,_arg1
);
2104 wxPy_END_ALLOW_THREADS
;
2105 } _resultobj
= Py_BuildValue("i",_result
);
2109 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2110 static PyObject
*_wrap_wxToolBar_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2115 PyObject
* _argo0
= 0;
2116 char *_kwnames
[] = { "self","toolIndex", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))
2122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
2129 wxPy_BEGIN_ALLOW_THREADS
;
2130 _result
= new wxString (wxToolBar_GetToolLongHelp(_arg0
,_arg1
));
2132 wxPy_END_ALLOW_THREADS
;
2134 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2142 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2143 static PyObject
*_wrap_wxToolBar_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2147 PyObject
* _argo0
= 0;
2148 char *_kwnames
[] = { "self", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolPacking",_kwnames
,&_argo0
))
2154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
2161 wxPy_BEGIN_ALLOW_THREADS
;
2162 _result
= (int )wxToolBar_GetToolPacking(_arg0
);
2164 wxPy_END_ALLOW_THREADS
;
2165 } _resultobj
= Py_BuildValue("i",_result
);
2169 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2170 static PyObject
*_wrap_wxToolBar_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2174 PyObject
* _argo0
= 0;
2175 char *_kwnames
[] = { "self", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolSeparation",_kwnames
,&_argo0
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
2188 wxPy_BEGIN_ALLOW_THREADS
;
2189 _result
= (int )wxToolBar_GetToolSeparation(_arg0
);
2191 wxPy_END_ALLOW_THREADS
;
2192 } _resultobj
= Py_BuildValue("i",_result
);
2196 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2197 static PyObject
*_wrap_wxToolBar_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2202 PyObject
* _argo0
= 0;
2203 char *_kwnames
[] = { "self","toolIndex", NULL
};
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))
2209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
2216 wxPy_BEGIN_ALLOW_THREADS
;
2217 _result
= new wxString (wxToolBar_GetToolShortHelp(_arg0
,_arg1
));
2219 wxPy_END_ALLOW_THREADS
;
2221 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2229 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2230 static PyObject
*_wrap_wxToolBar_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
* _resultobj
;
2235 PyObject
* _argo0
= 0;
2236 char *_kwnames
[] = { "self","toolIndex", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolState",_kwnames
,&_argo0
,&_arg1
))
2242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
2249 wxPy_BEGIN_ALLOW_THREADS
;
2250 _result
= (bool )wxToolBar_GetToolState(_arg0
,_arg1
);
2252 wxPy_END_ALLOW_THREADS
;
2253 } _resultobj
= Py_BuildValue("i",_result
);
2257 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
2258 static PyObject
*_wrap_wxToolBar_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
* _resultobj
;
2262 PyObject
* _argo0
= 0;
2263 char *_kwnames
[] = { "self", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_Realize",_kwnames
,&_argo0
))
2269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
2276 wxPy_BEGIN_ALLOW_THREADS
;
2277 _result
= (bool )wxToolBar_Realize(_arg0
);
2279 wxPy_END_ALLOW_THREADS
;
2280 } _resultobj
= Py_BuildValue("i",_result
);
2284 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2285 static PyObject
*_wrap_wxToolBar_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2290 PyObject
* _argo0
= 0;
2291 PyObject
* _obj2
= 0;
2292 char *_kwnames
[] = { "self","toolIndex","helpString", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBar_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
2305 if (!PyString_Check(_obj2
)) {
2306 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2309 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2312 wxPy_BEGIN_ALLOW_THREADS
;
2313 wxToolBar_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
2315 wxPy_END_ALLOW_THREADS
;
2316 } Py_INCREF(Py_None
);
2317 _resultobj
= Py_None
;
2325 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2326 static PyObject
*_wrap_wxToolBar_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
* _resultobj
;
2331 PyObject
* _argo0
= 0;
2332 PyObject
* _obj2
= 0;
2333 char *_kwnames
[] = { "self","toolIndex","helpString", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBar_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
2346 if (!PyString_Check(_obj2
)) {
2347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2350 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 wxToolBar_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
2356 wxPy_END_ALLOW_THREADS
;
2357 } Py_INCREF(Py_None
);
2358 _resultobj
= Py_None
;
2366 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2367 static PyObject
*_wrap_wxToolBar_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2371 PyObject
* _argo0
= 0;
2373 PyObject
* _obj1
= 0;
2374 char *_kwnames
[] = { "self","size", NULL
};
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBar_SetMargins",_kwnames
,&_argo0
,&_obj1
))
2380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
2388 if (! wxSize_helper(_obj1
, &_arg1
))
2392 wxPy_BEGIN_ALLOW_THREADS
;
2393 wxToolBar_SetMargins(_arg0
,*_arg1
);
2395 wxPy_END_ALLOW_THREADS
;
2396 } Py_INCREF(Py_None
);
2397 _resultobj
= Py_None
;
2401 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2402 static PyObject
*_wrap_wxToolBar_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
* _resultobj
;
2406 PyObject
* _argo0
= 0;
2407 char *_kwnames
[] = { "self","packing", NULL
};
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))
2413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 wxToolBar_SetToolPacking(_arg0
,_arg1
);
2423 wxPy_END_ALLOW_THREADS
;
2424 } Py_INCREF(Py_None
);
2425 _resultobj
= Py_None
;
2429 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2430 static PyObject
*_wrap_wxToolBar_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
* _resultobj
;
2434 PyObject
* _argo0
= 0;
2435 char *_kwnames
[] = { "self","separation", NULL
};
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))
2441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
2448 wxPy_BEGIN_ALLOW_THREADS
;
2449 wxToolBar_SetToolSeparation(_arg0
,_arg1
);
2451 wxPy_END_ALLOW_THREADS
;
2452 } Py_INCREF(Py_None
);
2453 _resultobj
= Py_None
;
2457 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2458 static PyObject
*_wrap_wxToolBar_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2463 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self","toolIndex","toggle", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
2477 _arg2
= (bool ) tempbool2
;
2479 wxPy_BEGIN_ALLOW_THREADS
;
2480 wxToolBar_ToggleTool(_arg0
,_arg1
,_arg2
);
2482 wxPy_END_ALLOW_THREADS
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2488 static PyMethodDef stattoolcMethods
[] = {
2489 { "wxToolBar_ToggleTool", (PyCFunction
) _wrap_wxToolBar_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
2490 { "wxToolBar_SetToolSeparation", (PyCFunction
) _wrap_wxToolBar_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
2491 { "wxToolBar_SetToolPacking", (PyCFunction
) _wrap_wxToolBar_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
2492 { "wxToolBar_SetMargins", (PyCFunction
) _wrap_wxToolBar_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
2493 { "wxToolBar_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBar_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
2494 { "wxToolBar_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBar_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
2495 { "wxToolBar_Realize", (PyCFunction
) _wrap_wxToolBar_Realize
, METH_VARARGS
| METH_KEYWORDS
},
2496 { "wxToolBar_GetToolState", (PyCFunction
) _wrap_wxToolBar_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
2497 { "wxToolBar_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBar_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
2498 { "wxToolBar_GetToolSeparation", (PyCFunction
) _wrap_wxToolBar_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
2499 { "wxToolBar_GetToolPacking", (PyCFunction
) _wrap_wxToolBar_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
2500 { "wxToolBar_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBar_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
2501 { "wxToolBar_GetToolEnabled", (PyCFunction
) _wrap_wxToolBar_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
2502 { "wxToolBar_GetMaxSize", (PyCFunction
) _wrap_wxToolBar_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
2503 { "wxToolBar_SetToolBitmapSize", (PyCFunction
) _wrap_wxToolBar_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
2504 { "wxToolBar_GetToolBitmapSize", (PyCFunction
) _wrap_wxToolBar_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
2505 { "wxToolBar_GetToolSize", (PyCFunction
) _wrap_wxToolBar_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
2506 { "wxToolBar_FindToolForPosition", (PyCFunction
) _wrap_wxToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
2507 { "wxToolBar_EnableTool", (PyCFunction
) _wrap_wxToolBar_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
2508 { "wxToolBar_AddSimpleTool", (PyCFunction
) _wrap_wxToolBar_AddSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
2509 { "wxToolBar_AddTool", (PyCFunction
) _wrap_wxToolBar_AddTool
, METH_VARARGS
| METH_KEYWORDS
},
2510 { "wxToolBar_AddSeparator", (PyCFunction
) _wrap_wxToolBar_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
2511 { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2512 { "wxToolBarTool_m_longHelpString_get", (PyCFunction
) _wrap_wxToolBarTool_m_longHelpString_get
, METH_VARARGS
| METH_KEYWORDS
},
2513 { "wxToolBarTool_m_longHelpString_set", (PyCFunction
) _wrap_wxToolBarTool_m_longHelpString_set
, METH_VARARGS
| METH_KEYWORDS
},
2514 { "wxToolBarTool_m_shortHelpString_get", (PyCFunction
) _wrap_wxToolBarTool_m_shortHelpString_get
, METH_VARARGS
| METH_KEYWORDS
},
2515 { "wxToolBarTool_m_shortHelpString_set", (PyCFunction
) _wrap_wxToolBarTool_m_shortHelpString_set
, METH_VARARGS
| METH_KEYWORDS
},
2516 { "wxToolBarTool_m_isMenuCommand_get", (PyCFunction
) _wrap_wxToolBarTool_m_isMenuCommand_get
, METH_VARARGS
| METH_KEYWORDS
},
2517 { "wxToolBarTool_m_isMenuCommand_set", (PyCFunction
) _wrap_wxToolBarTool_m_isMenuCommand_set
, METH_VARARGS
| METH_KEYWORDS
},
2518 { "wxToolBarTool_m_bitmap2_get", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap2_get
, METH_VARARGS
| METH_KEYWORDS
},
2519 { "wxToolBarTool_m_bitmap2_set", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap2_set
, METH_VARARGS
| METH_KEYWORDS
},
2520 { "wxToolBarTool_m_bitmap1_get", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap1_get
, METH_VARARGS
| METH_KEYWORDS
},
2521 { "wxToolBarTool_m_bitmap1_set", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap1_set
, METH_VARARGS
| METH_KEYWORDS
},
2522 { "wxToolBarTool_m_enabled_get", (PyCFunction
) _wrap_wxToolBarTool_m_enabled_get
, METH_VARARGS
| METH_KEYWORDS
},
2523 { "wxToolBarTool_m_enabled_set", (PyCFunction
) _wrap_wxToolBarTool_m_enabled_set
, METH_VARARGS
| METH_KEYWORDS
},
2524 { "wxToolBarTool_m_deleteSecondBitmap_get", (PyCFunction
) _wrap_wxToolBarTool_m_deleteSecondBitmap_get
, METH_VARARGS
| METH_KEYWORDS
},
2525 { "wxToolBarTool_m_deleteSecondBitmap_set", (PyCFunction
) _wrap_wxToolBarTool_m_deleteSecondBitmap_set
, METH_VARARGS
| METH_KEYWORDS
},
2526 { "wxToolBarTool_m_isToggle_get", (PyCFunction
) _wrap_wxToolBarTool_m_isToggle_get
, METH_VARARGS
| METH_KEYWORDS
},
2527 { "wxToolBarTool_m_isToggle_set", (PyCFunction
) _wrap_wxToolBarTool_m_isToggle_set
, METH_VARARGS
| METH_KEYWORDS
},
2528 { "wxToolBarTool_m_toggleState_get", (PyCFunction
) _wrap_wxToolBarTool_m_toggleState_get
, METH_VARARGS
| METH_KEYWORDS
},
2529 { "wxToolBarTool_m_toggleState_set", (PyCFunction
) _wrap_wxToolBarTool_m_toggleState_set
, METH_VARARGS
| METH_KEYWORDS
},
2530 { "wxToolBarTool_m_height_get", (PyCFunction
) _wrap_wxToolBarTool_m_height_get
, METH_VARARGS
| METH_KEYWORDS
},
2531 { "wxToolBarTool_m_height_set", (PyCFunction
) _wrap_wxToolBarTool_m_height_set
, METH_VARARGS
| METH_KEYWORDS
},
2532 { "wxToolBarTool_m_width_get", (PyCFunction
) _wrap_wxToolBarTool_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
2533 { "wxToolBarTool_m_width_set", (PyCFunction
) _wrap_wxToolBarTool_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
2534 { "wxToolBarTool_m_y_get", (PyCFunction
) _wrap_wxToolBarTool_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
2535 { "wxToolBarTool_m_y_set", (PyCFunction
) _wrap_wxToolBarTool_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
2536 { "wxToolBarTool_m_x_get", (PyCFunction
) _wrap_wxToolBarTool_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
2537 { "wxToolBarTool_m_x_set", (PyCFunction
) _wrap_wxToolBarTool_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
2538 { "wxToolBarTool_m_index_get", (PyCFunction
) _wrap_wxToolBarTool_m_index_get
, METH_VARARGS
| METH_KEYWORDS
},
2539 { "wxToolBarTool_m_index_set", (PyCFunction
) _wrap_wxToolBarTool_m_index_set
, METH_VARARGS
| METH_KEYWORDS
},
2540 { "wxToolBarTool_m_clientData_get", (PyCFunction
) _wrap_wxToolBarTool_m_clientData_get
, METH_VARARGS
| METH_KEYWORDS
},
2541 { "wxToolBarTool_m_clientData_set", (PyCFunction
) _wrap_wxToolBarTool_m_clientData_set
, METH_VARARGS
| METH_KEYWORDS
},
2542 { "wxToolBarTool_m_toolStyle_get", (PyCFunction
) _wrap_wxToolBarTool_m_toolStyle_get
, METH_VARARGS
| METH_KEYWORDS
},
2543 { "wxToolBarTool_m_toolStyle_set", (PyCFunction
) _wrap_wxToolBarTool_m_toolStyle_set
, METH_VARARGS
| METH_KEYWORDS
},
2544 { "wxToolBarTool_GetHeight", (PyCFunction
) _wrap_wxToolBarTool_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
2545 { "wxToolBarTool_GetWidth", (PyCFunction
) _wrap_wxToolBarTool_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
2546 { "wxToolBarTool_SetSize", (PyCFunction
) _wrap_wxToolBarTool_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2547 { "delete_wxToolBarTool", (PyCFunction
) _wrap_delete_wxToolBarTool
, METH_VARARGS
| METH_KEYWORDS
},
2548 { "new_wxToolBarTool", (PyCFunction
) _wrap_new_wxToolBarTool
, METH_VARARGS
| METH_KEYWORDS
},
2549 { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2550 { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2551 { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
2552 { "wxStatusBar_InitColours", (PyCFunction
) _wrap_wxStatusBar_InitColours
, METH_VARARGS
| METH_KEYWORDS
},
2553 { "wxStatusBar_DrawFieldText", (PyCFunction
) _wrap_wxStatusBar_DrawFieldText
, METH_VARARGS
| METH_KEYWORDS
},
2554 { "wxStatusBar_DrawField", (PyCFunction
) _wrap_wxStatusBar_DrawField
, METH_VARARGS
| METH_KEYWORDS
},
2555 { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2556 { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
2557 { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
2558 { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2565 * This table is used by the pointer type-checker
2567 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2568 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2569 { "_wxEvent","_class_wxEvent",0},
2570 { "_class_wxActivateEvent","_wxActivateEvent",0},
2571 { "_signed_long","_long",0},
2572 { "_wxMenuEvent","_class_wxMenuEvent",0},
2573 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2574 { "_wxPrintQuality","_int",0},
2575 { "_wxPrintQuality","_signed_int",0},
2576 { "_wxPrintQuality","_unsigned_int",0},
2577 { "_wxPrintQuality","_wxWindowID",0},
2578 { "_wxPrintQuality","_uint",0},
2579 { "_wxPrintQuality","_EBool",0},
2580 { "_wxPrintQuality","_size_t",0},
2581 { "_class_wxRegionIterator","_wxRegionIterator",0},
2582 { "_class_wxMenuBar","_wxMenuBar",0},
2583 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2584 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2585 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2586 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2587 { "_class_wxEvtHandler","_wxEvtHandler",0},
2588 { "_wxPaintEvent","_class_wxPaintEvent",0},
2589 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2590 { "_wxCursor","_class_wxCursor",0},
2591 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2592 { "_wxMask","_class_wxMask",0},
2593 { "_wxPen","_class_wxPen",0},
2594 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2595 { "_byte","_unsigned_char",0},
2596 { "_wxStaticBox","_class_wxStaticBox",0},
2597 { "_wxChoice","_class_wxChoice",0},
2598 { "_wxSlider","_class_wxSlider",0},
2599 { "_long","_wxDash",0},
2600 { "_long","_unsigned_long",0},
2601 { "_long","_signed_long",0},
2602 { "_wxImageList","_class_wxImageList",0},
2603 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2604 { "_wxBitmapButton","_class_wxBitmapButton",0},
2605 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2606 { "_class_wxGauge","_wxGauge",0},
2607 { "_wxDC","_class_wxDC",0},
2608 { "_wxSpinEvent","_class_wxSpinEvent",0},
2609 { "_size_t","_wxPrintQuality",0},
2610 { "_size_t","_unsigned_int",0},
2611 { "_size_t","_int",0},
2612 { "_size_t","_wxWindowID",0},
2613 { "_size_t","_uint",0},
2614 { "_class_wxRealPoint","_wxRealPoint",0},
2615 { "_wxPrinterDC","_class_wxPrinterDC",0},
2616 { "_class_wxMenuItem","_wxMenuItem",0},
2617 { "_class_wxPaintEvent","_wxPaintEvent",0},
2618 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2619 { "_class_wxStatusBar","_wxStatusBar",0},
2620 { "_wxPanel","_class_wxPanel",0},
2621 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2622 { "_wxCheckBox","_class_wxCheckBox",0},
2623 { "_wxPyEvent","_class_wxPyEvent",0},
2624 { "_wxTextCtrl","_class_wxTextCtrl",0},
2625 { "_class_wxMask","_wxMask",0},
2626 { "_class_wxKeyEvent","_wxKeyEvent",0},
2627 { "_wxColour","_class_wxColour",0},
2628 { "_class_wxDialog","_wxDialog",0},
2629 { "_wxIdleEvent","_class_wxIdleEvent",0},
2630 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2631 { "_wxToolBar","_class_wxToolBar",0},
2632 { "_wxStaticLine","_class_wxStaticLine",0},
2633 { "_wxBrush","_class_wxBrush",0},
2634 { "_wxShowEvent","_class_wxShowEvent",0},
2635 { "_uint","_wxPrintQuality",0},
2636 { "_uint","_size_t",0},
2637 { "_uint","_unsigned_int",0},
2638 { "_uint","_int",0},
2639 { "_uint","_wxWindowID",0},
2640 { "_wxPyValidator","_class_wxPyValidator",0},
2641 { "_class_wxEvent","_wxEvent",0},
2642 { "_wxCheckListBox","_class_wxCheckListBox",0},
2643 { "_wxRect","_class_wxRect",0},
2644 { "_wxCommandEvent","_class_wxCommandEvent",0},
2645 { "_wxSizeEvent","_class_wxSizeEvent",0},
2646 { "_wxPoint","_class_wxPoint",0},
2647 { "_class_wxButton","_wxButton",0},
2648 { "_wxRadioBox","_class_wxRadioBox",0},
2649 { "_wxBitmap","_class_wxBitmap",0},
2650 { "_wxPyTimer","_class_wxPyTimer",0},
2651 { "_wxWindowDC","_class_wxWindowDC",0},
2652 { "_wxScrollBar","_class_wxScrollBar",0},
2653 { "_wxSpinButton","_class_wxSpinButton",0},
2654 { "_wxToolBarTool","_class_wxToolBarTool",0},
2655 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2656 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2657 { "_class_wxValidator","_wxValidator",0},
2658 { "_class_wxPyEvent","_wxPyEvent",0},
2659 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2660 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2661 { "_class_wxToolBar","_wxToolBar",0},
2662 { "_class_wxStaticLine","_wxStaticLine",0},
2663 { "_wxScrollEvent","_class_wxScrollEvent",0},
2664 { "_EBool","_wxPrintQuality",0},
2665 { "_EBool","_signed_int",0},
2666 { "_EBool","_int",0},
2667 { "_EBool","_wxWindowID",0},
2668 { "_class_wxRegion","_wxRegion",0},
2669 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2670 { "_wxStaticText","_class_wxStaticText",0},
2671 { "_wxFont","_class_wxFont",0},
2672 { "_wxCloseEvent","_class_wxCloseEvent",0},
2673 { "_unsigned_long","_wxDash",0},
2674 { "_unsigned_long","_long",0},
2675 { "_class_wxRect","_wxRect",0},
2676 { "_class_wxDC","_wxDC",0},
2677 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2678 { "_class_wxPyTimer","_wxPyTimer",0},
2679 { "_wxFocusEvent","_class_wxFocusEvent",0},
2680 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2681 { "_class_wxSpinButton","_wxSpinButton",0},
2682 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2683 { "_class_wxPanel","_wxPanel",0},
2684 { "_class_wxCheckBox","_wxCheckBox",0},
2685 { "_wxComboBox","_class_wxComboBox",0},
2686 { "_wxRadioButton","_class_wxRadioButton",0},
2687 { "_signed_int","_wxPrintQuality",0},
2688 { "_signed_int","_EBool",0},
2689 { "_signed_int","_wxWindowID",0},
2690 { "_signed_int","_int",0},
2691 { "_class_wxTextCtrl","_wxTextCtrl",0},
2692 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2693 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2694 { "_wxMenu","_class_wxMenu",0},
2695 { "_class_wxMoveEvent","_wxMoveEvent",0},
2696 { "_wxListBox","_class_wxListBox",0},
2697 { "_wxScreenDC","_class_wxScreenDC",0},
2698 { "_WXTYPE","_short",0},
2699 { "_WXTYPE","_signed_short",0},
2700 { "_WXTYPE","_unsigned_short",0},
2701 { "_class_wxBrush","_wxBrush",0},
2702 { "_unsigned_short","_WXTYPE",0},
2703 { "_unsigned_short","_short",0},
2704 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2705 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2706 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2707 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2708 { "_class_wxWindow","_wxWindow",0},
2709 { "_class_wxStaticText","_wxStaticText",0},
2710 { "_class_wxFont","_wxFont",0},
2711 { "_class_wxPyValidator","_wxPyValidator",0},
2712 { "_class_wxCloseEvent","_wxCloseEvent",0},
2713 { "_class_wxMenuEvent","_wxMenuEvent",0},
2714 { "_wxClientDC","_class_wxClientDC",0},
2715 { "_wxMouseEvent","_class_wxMouseEvent",0},
2716 { "_class_wxPoint","_wxPoint",0},
2717 { "_wxRealPoint","_class_wxRealPoint",0},
2718 { "_class_wxRadioBox","_wxRadioBox",0},
2719 { "_signed_short","_WXTYPE",0},
2720 { "_signed_short","_short",0},
2721 { "_wxMemoryDC","_class_wxMemoryDC",0},
2722 { "_wxPaintDC","_class_wxPaintDC",0},
2723 { "_class_wxWindowDC","_wxWindowDC",0},
2724 { "_class_wxFocusEvent","_wxFocusEvent",0},
2725 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2726 { "_wxStatusBar","_class_wxStatusBar",0},
2727 { "_class_wxToolBarTool","_wxToolBarTool",0},
2728 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2729 { "_class_wxCursor","_wxCursor",0},
2730 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2731 { "_unsigned_char","_byte",0},
2732 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2733 { "_class_wxMenu","_wxMenu",0},
2734 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2735 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2736 { "_wxControl","_class_wxControl",0},
2737 { "_class_wxListBox","_wxListBox",0},
2738 { "_unsigned_int","_wxPrintQuality",0},
2739 { "_unsigned_int","_size_t",0},
2740 { "_unsigned_int","_uint",0},
2741 { "_unsigned_int","_wxWindowID",0},
2742 { "_unsigned_int","_int",0},
2743 { "_wxIcon","_class_wxIcon",0},
2744 { "_wxDialog","_class_wxDialog",0},
2745 { "_class_wxPen","_wxPen",0},
2746 { "_short","_WXTYPE",0},
2747 { "_short","_unsigned_short",0},
2748 { "_short","_signed_short",0},
2749 { "_class_wxStaticBox","_wxStaticBox",0},
2750 { "_class_wxScrollEvent","_wxScrollEvent",0},
2751 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2752 { "_class_wxChoice","_wxChoice",0},
2753 { "_class_wxSlider","_wxSlider",0},
2754 { "_class_wxImageList","_wxImageList",0},
2755 { "_class_wxBitmapButton","_wxBitmapButton",0},
2756 { "_wxWindowID","_wxPrintQuality",0},
2757 { "_wxWindowID","_size_t",0},
2758 { "_wxWindowID","_EBool",0},
2759 { "_wxWindowID","_uint",0},
2760 { "_wxWindowID","_int",0},
2761 { "_wxWindowID","_signed_int",0},
2762 { "_wxWindowID","_unsigned_int",0},
2763 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2764 { "_int","_wxPrintQuality",0},
2765 { "_int","_size_t",0},
2766 { "_int","_EBool",0},
2767 { "_int","_uint",0},
2768 { "_int","_wxWindowID",0},
2769 { "_int","_unsigned_int",0},
2770 { "_int","_signed_int",0},
2771 { "_class_wxMouseEvent","_wxMouseEvent",0},
2772 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2773 { "_class_wxSpinEvent","_wxSpinEvent",0},
2774 { "_wxButton","_class_wxButton",0},
2775 { "_wxSize","_class_wxSize",0},
2776 { "_wxRegionIterator","_class_wxRegionIterator",0},
2777 { "_class_wxPrinterDC","_wxPrinterDC",0},
2778 { "_class_wxPaintDC","_wxPaintDC",0},
2779 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2780 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2781 { "_class_wxComboBox","_wxComboBox",0},
2782 { "_class_wxRadioButton","_wxRadioButton",0},
2783 { "_wxValidator","_class_wxValidator",0},
2784 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2785 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2786 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2787 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2788 { "_class_wxControl","_wxControl",0},
2789 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2790 { "_class_wxIcon","_wxIcon",0},
2791 { "_class_wxColour","_wxColour",0},
2792 { "_class_wxScreenDC","_wxScreenDC",0},
2793 { "_wxPalette","_class_wxPalette",0},
2794 { "_class_wxIdleEvent","_wxIdleEvent",0},
2795 { "_wxEraseEvent","_class_wxEraseEvent",0},
2796 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2797 { "_wxRegion","_class_wxRegion",0},
2798 { "_class_wxShowEvent","_wxShowEvent",0},
2799 { "_wxActivateEvent","_class_wxActivateEvent",0},
2800 { "_wxGauge","_class_wxGauge",0},
2801 { "_class_wxCheckListBox","_wxCheckListBox",0},
2802 { "_class_wxCommandEvent","_wxCommandEvent",0},
2803 { "_class_wxClientDC","_wxClientDC",0},
2804 { "_class_wxSizeEvent","_wxSizeEvent",0},
2805 { "_class_wxSize","_wxSize",0},
2806 { "_class_wxBitmap","_wxBitmap",0},
2807 { "_class_wxMemoryDC","_wxMemoryDC",0},
2808 { "_wxMenuBar","_class_wxMenuBar",0},
2809 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2810 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2811 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2812 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2813 { "_wxEvtHandler","_class_wxEvtHandler",0},
2814 { "_wxMenuItem","_class_wxMenuItem",0},
2815 { "_class_wxScrollBar","_wxScrollBar",0},
2816 { "_wxDash","_unsigned_long",0},
2817 { "_wxDash","_long",0},
2818 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2819 { "_wxKeyEvent","_class_wxKeyEvent",0},
2820 { "_wxMoveEvent","_class_wxMoveEvent",0},
2821 { "_class_wxPalette","_wxPalette",0},
2822 { "_class_wxEraseEvent","_wxEraseEvent",0},
2823 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2824 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2825 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2826 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2827 { "_wxWindow","_class_wxWindow",0},
2830 static PyObject
*SWIG_globals
;
2834 SWIGEXPORT(void) initstattoolc() {
2836 SWIG_globals
= SWIG_newvarlink();
2837 m
= Py_InitModule("stattoolc", stattoolcMethods
);
2838 d
= PyModule_GetDict(m
);
2841 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2842 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);