2 * FILE : gtk/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_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
552 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
553 PyObject
* _resultobj
;
555 wxToolBarTool
* _arg0
;
557 PyObject
* _argo0
= 0;
558 char *_kwnames
[] = { "self","m_toolStyle", NULL
};
561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_toolStyle_set",_kwnames
,&_argo0
,&_arg1
))
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_m_toolStyle_set. Expected _wxToolBarTool_p.");
571 wxPy_BEGIN_ALLOW_THREADS
;
572 _result
= (int )wxToolBarTool_m_toolStyle_set(_arg0
,_arg1
);
574 wxPy_END_ALLOW_THREADS
;
575 } _resultobj
= Py_BuildValue("i",_result
);
579 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
580 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
581 PyObject
* _resultobj
;
583 wxToolBarTool
* _arg0
;
584 PyObject
* _argo0
= 0;
585 char *_kwnames
[] = { "self", NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_toolStyle_get",_kwnames
,&_argo0
))
591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
598 wxPy_BEGIN_ALLOW_THREADS
;
599 _result
= (int )wxToolBarTool_m_toolStyle_get(_arg0
);
601 wxPy_END_ALLOW_THREADS
;
602 } _resultobj
= Py_BuildValue("i",_result
);
606 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
607 static PyObject
*_wrap_wxToolBarTool_m_clientData_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
610 wxToolBarTool
* _arg0
;
612 PyObject
* _argo0
= 0;
613 PyObject
* _argo1
= 0;
614 char *_kwnames
[] = { "self","m_clientData", NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_clientData_set",_kwnames
,&_argo0
,&_argo1
))
621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
628 if (_argo1
== Py_None
) { _arg1
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
635 wxPy_BEGIN_ALLOW_THREADS
;
636 _result
= (wxObject
*)wxToolBarTool_m_clientData_set(_arg0
,_arg1
);
638 wxPy_END_ALLOW_THREADS
;
640 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
641 _resultobj
= Py_BuildValue("s",_ptemp
);
644 _resultobj
= Py_None
;
649 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
650 static PyObject
*_wrap_wxToolBarTool_m_clientData_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
651 PyObject
* _resultobj
;
653 wxToolBarTool
* _arg0
;
654 PyObject
* _argo0
= 0;
655 char *_kwnames
[] = { "self", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_clientData_get",_kwnames
,&_argo0
))
662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
669 wxPy_BEGIN_ALLOW_THREADS
;
670 _result
= (wxObject
*)wxToolBarTool_m_clientData_get(_arg0
);
672 wxPy_END_ALLOW_THREADS
;
674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
675 _resultobj
= Py_BuildValue("s",_ptemp
);
678 _resultobj
= Py_None
;
683 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
684 static PyObject
*_wrap_wxToolBarTool_m_index_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
685 PyObject
* _resultobj
;
687 wxToolBarTool
* _arg0
;
689 PyObject
* _argo0
= 0;
690 char *_kwnames
[] = { "self","m_index", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_index_set",_kwnames
,&_argo0
,&_arg1
))
696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
703 wxPy_BEGIN_ALLOW_THREADS
;
704 _result
= (int )wxToolBarTool_m_index_set(_arg0
,_arg1
);
706 wxPy_END_ALLOW_THREADS
;
707 } _resultobj
= Py_BuildValue("i",_result
);
711 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
712 static PyObject
*_wrap_wxToolBarTool_m_index_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
715 wxToolBarTool
* _arg0
;
716 PyObject
* _argo0
= 0;
717 char *_kwnames
[] = { "self", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_index_get",_kwnames
,&_argo0
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
730 wxPy_BEGIN_ALLOW_THREADS
;
731 _result
= (int )wxToolBarTool_m_index_get(_arg0
);
733 wxPy_END_ALLOW_THREADS
;
734 } _resultobj
= Py_BuildValue("i",_result
);
738 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
739 static PyObject
*_wrap_wxToolBarTool_m_toggleState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
740 PyObject
* _resultobj
;
742 wxToolBarTool
* _arg0
;
744 PyObject
* _argo0
= 0;
746 char *_kwnames
[] = { "self","m_toggleState", NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_toggleState_set",_kwnames
,&_argo0
,&tempbool1
))
752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
758 _arg1
= (bool ) tempbool1
;
760 wxPy_BEGIN_ALLOW_THREADS
;
761 _result
= (bool )wxToolBarTool_m_toggleState_set(_arg0
,_arg1
);
763 wxPy_END_ALLOW_THREADS
;
764 } _resultobj
= Py_BuildValue("i",_result
);
768 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
769 static PyObject
*_wrap_wxToolBarTool_m_toggleState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
772 wxToolBarTool
* _arg0
;
773 PyObject
* _argo0
= 0;
774 char *_kwnames
[] = { "self", NULL
};
777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_toggleState_get",_kwnames
,&_argo0
))
780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
787 wxPy_BEGIN_ALLOW_THREADS
;
788 _result
= (bool )wxToolBarTool_m_toggleState_get(_arg0
);
790 wxPy_END_ALLOW_THREADS
;
791 } _resultobj
= Py_BuildValue("i",_result
);
795 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
796 static PyObject
*_wrap_wxToolBarTool_m_isToggle_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
797 PyObject
* _resultobj
;
799 wxToolBarTool
* _arg0
;
801 PyObject
* _argo0
= 0;
803 char *_kwnames
[] = { "self","m_isToggle", NULL
};
806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_isToggle_set",_kwnames
,&_argo0
,&tempbool1
))
809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
815 _arg1
= (bool ) tempbool1
;
817 wxPy_BEGIN_ALLOW_THREADS
;
818 _result
= (bool )wxToolBarTool_m_isToggle_set(_arg0
,_arg1
);
820 wxPy_END_ALLOW_THREADS
;
821 } _resultobj
= Py_BuildValue("i",_result
);
825 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
826 static PyObject
*_wrap_wxToolBarTool_m_isToggle_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 PyObject
* _resultobj
;
829 wxToolBarTool
* _arg0
;
830 PyObject
* _argo0
= 0;
831 char *_kwnames
[] = { "self", NULL
};
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_isToggle_get",_kwnames
,&_argo0
))
837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
844 wxPy_BEGIN_ALLOW_THREADS
;
845 _result
= (bool )wxToolBarTool_m_isToggle_get(_arg0
);
847 wxPy_END_ALLOW_THREADS
;
848 } _resultobj
= Py_BuildValue("i",_result
);
852 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
853 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
856 wxToolBarTool
* _arg0
;
858 PyObject
* _argo0
= 0;
860 char *_kwnames
[] = { "self","m_deleteSecondBitmap", NULL
};
863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_deleteSecondBitmap_set",_kwnames
,&_argo0
,&tempbool1
))
866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
872 _arg1
= (bool ) tempbool1
;
874 wxPy_BEGIN_ALLOW_THREADS
;
875 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0
,_arg1
);
877 wxPy_END_ALLOW_THREADS
;
878 } _resultobj
= Py_BuildValue("i",_result
);
882 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
883 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
884 PyObject
* _resultobj
;
886 wxToolBarTool
* _arg0
;
887 PyObject
* _argo0
= 0;
888 char *_kwnames
[] = { "self", NULL
};
891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_deleteSecondBitmap_get",_kwnames
,&_argo0
))
894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
901 wxPy_BEGIN_ALLOW_THREADS
;
902 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0
);
904 wxPy_END_ALLOW_THREADS
;
905 } _resultobj
= Py_BuildValue("i",_result
);
909 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
910 static PyObject
*_wrap_wxToolBarTool_m_enabled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 PyObject
* _resultobj
;
913 wxToolBarTool
* _arg0
;
915 PyObject
* _argo0
= 0;
917 char *_kwnames
[] = { "self","m_enabled", NULL
};
920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_enabled_set",_kwnames
,&_argo0
,&tempbool1
))
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_enabled_set. Expected _wxToolBarTool_p.");
929 _arg1
= (bool ) tempbool1
;
931 wxPy_BEGIN_ALLOW_THREADS
;
932 _result
= (bool )wxToolBarTool_m_enabled_set(_arg0
,_arg1
);
934 wxPy_END_ALLOW_THREADS
;
935 } _resultobj
= Py_BuildValue("i",_result
);
939 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
940 static PyObject
*_wrap_wxToolBarTool_m_enabled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
941 PyObject
* _resultobj
;
943 wxToolBarTool
* _arg0
;
944 PyObject
* _argo0
= 0;
945 char *_kwnames
[] = { "self", NULL
};
948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_enabled_get",_kwnames
,&_argo0
))
951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
958 wxPy_BEGIN_ALLOW_THREADS
;
959 _result
= (bool )wxToolBarTool_m_enabled_get(_arg0
);
961 wxPy_END_ALLOW_THREADS
;
962 } _resultobj
= Py_BuildValue("i",_result
);
966 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
967 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
970 wxToolBarTool
* _arg0
;
972 PyObject
* _argo0
= 0;
973 PyObject
* _argo1
= 0;
974 char *_kwnames
[] = { "self","m_bitmap1", NULL
};
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_bitmap1_set",_kwnames
,&_argo0
,&_argo1
))
981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
988 if (_argo1
== Py_None
) { _arg1
= NULL
; }
989 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
995 wxPy_BEGIN_ALLOW_THREADS
;
996 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_set(_arg0
,_arg1
);
998 wxPy_END_ALLOW_THREADS
;
1000 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1001 _resultobj
= Py_BuildValue("s",_ptemp
);
1004 _resultobj
= Py_None
;
1009 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
1010 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1011 PyObject
* _resultobj
;
1013 wxToolBarTool
* _arg0
;
1014 PyObject
* _argo0
= 0;
1015 char *_kwnames
[] = { "self", NULL
};
1019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_bitmap1_get",_kwnames
,&_argo0
))
1022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1029 wxPy_BEGIN_ALLOW_THREADS
;
1030 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_get(_arg0
);
1032 wxPy_END_ALLOW_THREADS
;
1034 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1035 _resultobj
= Py_BuildValue("s",_ptemp
);
1038 _resultobj
= Py_None
;
1043 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1044 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
* _resultobj
;
1047 wxToolBarTool
* _arg0
;
1049 PyObject
* _argo0
= 0;
1050 PyObject
* _argo1
= 0;
1051 char *_kwnames
[] = { "self","m_bitmap2", NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_bitmap2_set",_kwnames
,&_argo0
,&_argo1
))
1058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1072 wxPy_BEGIN_ALLOW_THREADS
;
1073 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_set(_arg0
,_arg1
);
1075 wxPy_END_ALLOW_THREADS
;
1077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1078 _resultobj
= Py_BuildValue("s",_ptemp
);
1081 _resultobj
= Py_None
;
1086 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1087 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1088 PyObject
* _resultobj
;
1090 wxToolBarTool
* _arg0
;
1091 PyObject
* _argo0
= 0;
1092 char *_kwnames
[] = { "self", NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_bitmap2_get",_kwnames
,&_argo0
))
1099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1106 wxPy_BEGIN_ALLOW_THREADS
;
1107 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_get(_arg0
);
1109 wxPy_END_ALLOW_THREADS
;
1111 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1112 _resultobj
= Py_BuildValue("s",_ptemp
);
1115 _resultobj
= Py_None
;
1120 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1121 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1124 wxToolBarTool
* _arg0
;
1126 PyObject
* _argo0
= 0;
1128 char *_kwnames
[] = { "self","m_isMenuCommand", NULL
};
1131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_isMenuCommand_set",_kwnames
,&_argo0
,&tempbool1
))
1134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1140 _arg1
= (bool ) tempbool1
;
1142 wxPy_BEGIN_ALLOW_THREADS
;
1143 _result
= (bool )wxToolBarTool_m_isMenuCommand_set(_arg0
,_arg1
);
1145 wxPy_END_ALLOW_THREADS
;
1146 } _resultobj
= Py_BuildValue("i",_result
);
1150 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1151 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
* _resultobj
;
1154 wxToolBarTool
* _arg0
;
1155 PyObject
* _argo0
= 0;
1156 char *_kwnames
[] = { "self", NULL
};
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_isMenuCommand_get",_kwnames
,&_argo0
))
1162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1169 wxPy_BEGIN_ALLOW_THREADS
;
1170 _result
= (bool )wxToolBarTool_m_isMenuCommand_get(_arg0
);
1172 wxPy_END_ALLOW_THREADS
;
1173 } _resultobj
= Py_BuildValue("i",_result
);
1177 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1178 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
* _resultobj
;
1181 wxToolBarTool
* _arg0
;
1183 PyObject
* _argo0
= 0;
1184 PyObject
* _obj1
= 0;
1185 char *_kwnames
[] = { "self","m_shortHelpString", NULL
};
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_shortHelpString_set",_kwnames
,&_argo0
,&_obj1
))
1191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1198 if (!PyString_Check(_obj1
)) {
1199 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1202 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1205 wxPy_BEGIN_ALLOW_THREADS
;
1206 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_set(_arg0
,_arg1
);
1208 wxPy_END_ALLOW_THREADS
;
1210 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1219 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1220 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_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_shortHelpString_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_shortHelpString_get. Expected _wxToolBarTool_p.");
1238 wxPy_BEGIN_ALLOW_THREADS
;
1239 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_get(_arg0
);
1241 wxPy_END_ALLOW_THREADS
;
1243 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1248 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1249 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
* _resultobj
;
1252 wxToolBarTool
* _arg0
;
1254 PyObject
* _argo0
= 0;
1255 PyObject
* _obj1
= 0;
1256 char *_kwnames
[] = { "self","m_longHelpString", NULL
};
1259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_longHelpString_set",_kwnames
,&_argo0
,&_obj1
))
1262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1269 if (!PyString_Check(_obj1
)) {
1270 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1273 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1276 wxPy_BEGIN_ALLOW_THREADS
;
1277 _result
= (wxString
*)wxToolBarTool_m_longHelpString_set(_arg0
,_arg1
);
1279 wxPy_END_ALLOW_THREADS
;
1281 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1290 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1291 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1294 wxToolBarTool
* _arg0
;
1295 PyObject
* _argo0
= 0;
1296 char *_kwnames
[] = { "self", NULL
};
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_longHelpString_get",_kwnames
,&_argo0
))
1302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1309 wxPy_BEGIN_ALLOW_THREADS
;
1310 _result
= (wxString
*)wxToolBarTool_m_longHelpString_get(_arg0
);
1312 wxPy_END_ALLOW_THREADS
;
1314 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1319 static void *SwigwxToolBarTowxControl(void *ptr
) {
1322 src
= (wxToolBar
*) ptr
;
1323 dest
= (wxControl
*) src
;
1324 return (void *) dest
;
1327 static void *SwigwxToolBarTowxWindow(void *ptr
) {
1330 src
= (wxToolBar
*) ptr
;
1331 dest
= (wxWindow
*) src
;
1332 return (void *) dest
;
1335 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
1338 src
= (wxToolBar
*) ptr
;
1339 dest
= (wxEvtHandler
*) src
;
1340 return (void *) dest
;
1343 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1344 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1346 wxToolBar
* _result
;
1349 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1350 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1351 long _arg4
= (long ) wxTB_HORIZONTAL
|wxNO_BORDER
;
1352 char * _arg5
= (char *) "toolBar";
1353 PyObject
* _argo0
= 0;
1355 PyObject
* _obj2
= 0;
1357 PyObject
* _obj3
= 0;
1358 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
1365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1374 if (! wxPoint_helper(_obj2
, &_arg2
))
1380 if (! wxSize_helper(_obj3
, &_arg3
))
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1387 wxPy_END_ALLOW_THREADS
;
1389 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
1390 _resultobj
= Py_BuildValue("s",_ptemp
);
1393 _resultobj
= Py_None
;
1398 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1399 static PyObject
*_wrap_wxToolBar_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1402 PyObject
* _argo0
= 0;
1403 char *_kwnames
[] = { "self", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_AddSeparator",_kwnames
,&_argo0
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1416 wxPy_BEGIN_ALLOW_THREADS
;
1417 wxToolBar_AddSeparator(_arg0
);
1419 wxPy_END_ALLOW_THREADS
;
1420 } Py_INCREF(Py_None
);
1421 _resultobj
= Py_None
;
1425 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
) {
1426 return self
->AddTool(toolIndex
, bitmap1
, bitmap2
,
1427 isToggle
, xPos
, yPos
, NULL
,
1428 shortHelpString
, longHelpString
);
1430 static PyObject
*_wrap_wxToolBar_AddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1432 wxToolBarTool
* _result
;
1436 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1437 int _arg4
= (int ) FALSE
;
1438 long _arg5
= (long ) -1;
1439 long _arg6
= (long ) -1;
1440 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1441 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1442 PyObject
* _argo0
= 0;
1443 PyObject
* _argo2
= 0;
1444 PyObject
* _argo3
= 0;
1445 PyObject
* _obj7
= 0;
1446 PyObject
* _obj8
= 0;
1447 char *_kwnames
[] = { "self","toolIndex","bitmap1","bitmap2","isToggle","xPos","yPos","shortHelpString","longHelpString", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OillOO:wxToolBar_AddTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
,&_obj8
))
1454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1461 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1462 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1468 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1476 if (!PyString_Check(_obj7
)) {
1477 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1480 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1484 if (!PyString_Check(_obj8
)) {
1485 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1488 _arg8
= new wxString(PyString_AsString(_obj8
), PyString_Size(_obj8
));
1491 wxPy_BEGIN_ALLOW_THREADS
;
1492 _result
= (wxToolBarTool
*)wxToolBar_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1494 wxPy_END_ALLOW_THREADS
;
1496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1497 _resultobj
= Py_BuildValue("s",_ptemp
);
1500 _resultobj
= Py_None
;
1513 static wxToolBarTool
* wxToolBar_AddSimpleTool(wxToolBar
*self
,int toolIndex
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1514 return self
->AddTool(toolIndex
, bitmap
, wxNullBitmap
,
1515 FALSE
, -1, -1, NULL
,
1516 shortHelpString
, longHelpString
);
1518 static PyObject
*_wrap_wxToolBar_AddSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1520 wxToolBarTool
* _result
;
1524 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1525 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1526 PyObject
* _argo0
= 0;
1527 PyObject
* _argo2
= 0;
1528 PyObject
* _obj3
= 0;
1529 PyObject
* _obj4
= 0;
1530 char *_kwnames
[] = { "self","toolIndex","bitmap","shortHelpString","longHelpString", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OO:wxToolBar_AddSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1544 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1552 if (!PyString_Check(_obj3
)) {
1553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1556 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1560 if (!PyString_Check(_obj4
)) {
1561 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1564 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1567 wxPy_BEGIN_ALLOW_THREADS
;
1568 _result
= (wxToolBarTool
*)wxToolBar_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
);
1570 wxPy_END_ALLOW_THREADS
;
1572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1573 _resultobj
= Py_BuildValue("s",_ptemp
);
1576 _resultobj
= Py_None
;
1589 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1590 static PyObject
*_wrap_wxToolBar_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1595 PyObject
* _argo0
= 0;
1597 char *_kwnames
[] = { "self","toolIndex","enable", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1609 _arg2
= (bool ) tempbool2
;
1611 wxPy_BEGIN_ALLOW_THREADS
;
1612 wxToolBar_EnableTool(_arg0
,_arg1
,_arg2
);
1614 wxPy_END_ALLOW_THREADS
;
1615 } Py_INCREF(Py_None
);
1616 _resultobj
= Py_None
;
1620 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
1621 static PyObject
*_wrap_wxToolBar_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1626 PyObject
* _argo0
= 0;
1627 char *_kwnames
[] = { "self","toolIndex", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
1640 wxPy_BEGIN_ALLOW_THREADS
;
1641 _result
= (bool )wxToolBar_GetToolEnabled(_arg0
,_arg1
);
1643 wxPy_END_ALLOW_THREADS
;
1644 } _resultobj
= Py_BuildValue("i",_result
);
1648 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
1649 static PyObject
*_wrap_wxToolBar_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1654 PyObject
* _argo0
= 0;
1655 char *_kwnames
[] = { "self","toolIndex", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))
1661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
1668 wxPy_BEGIN_ALLOW_THREADS
;
1669 _result
= new wxString (wxToolBar_GetToolLongHelp(_arg0
,_arg1
));
1671 wxPy_END_ALLOW_THREADS
;
1673 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1681 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
1682 static PyObject
*_wrap_wxToolBar_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
* _resultobj
;
1686 PyObject
* _argo0
= 0;
1687 char *_kwnames
[] = { "self", NULL
};
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolPacking",_kwnames
,&_argo0
))
1693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
1700 wxPy_BEGIN_ALLOW_THREADS
;
1701 _result
= (int )wxToolBar_GetToolPacking(_arg0
);
1703 wxPy_END_ALLOW_THREADS
;
1704 } _resultobj
= Py_BuildValue("i",_result
);
1708 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
1709 static PyObject
*_wrap_wxToolBar_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolSeparation",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 _result
= (int )wxToolBar_GetToolSeparation(_arg0
);
1730 wxPy_END_ALLOW_THREADS
;
1731 } _resultobj
= Py_BuildValue("i",_result
);
1735 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
1736 static PyObject
*_wrap_wxToolBar_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self","toolIndex", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 _result
= new wxString (wxToolBar_GetToolShortHelp(_arg0
,_arg1
));
1758 wxPy_END_ALLOW_THREADS
;
1760 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1768 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
1769 static PyObject
*_wrap_wxToolBar_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "self","toolIndex", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolState",_kwnames
,&_argo0
,&_arg1
))
1781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
1788 wxPy_BEGIN_ALLOW_THREADS
;
1789 _result
= (bool )wxToolBar_GetToolState(_arg0
,_arg1
);
1791 wxPy_END_ALLOW_THREADS
;
1792 } _resultobj
= Py_BuildValue("i",_result
);
1796 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
1797 static PyObject
*_wrap_wxToolBar_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1801 PyObject
* _argo0
= 0;
1802 char *_kwnames
[] = { "self", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_Realize",_kwnames
,&_argo0
))
1808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
1815 wxPy_BEGIN_ALLOW_THREADS
;
1816 _result
= (bool )wxToolBar_Realize(_arg0
);
1818 wxPy_END_ALLOW_THREADS
;
1819 } _resultobj
= Py_BuildValue("i",_result
);
1823 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
1824 static PyObject
*_wrap_wxToolBar_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
* _resultobj
;
1829 PyObject
* _argo0
= 0;
1830 PyObject
* _obj2
= 0;
1831 char *_kwnames
[] = { "self","toolIndex","helpString", NULL
};
1834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBar_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
1844 if (!PyString_Check(_obj2
)) {
1845 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1848 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 wxToolBar_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
1854 wxPy_END_ALLOW_THREADS
;
1855 } Py_INCREF(Py_None
);
1856 _resultobj
= Py_None
;
1864 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
1865 static PyObject
*_wrap_wxToolBar_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1870 PyObject
* _argo0
= 0;
1871 PyObject
* _obj2
= 0;
1872 char *_kwnames
[] = { "self","toolIndex","helpString", NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBar_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
1885 if (!PyString_Check(_obj2
)) {
1886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1889 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1892 wxPy_BEGIN_ALLOW_THREADS
;
1893 wxToolBar_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
1895 wxPy_END_ALLOW_THREADS
;
1896 } Py_INCREF(Py_None
);
1897 _resultobj
= Py_None
;
1905 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
1906 static PyObject
*_wrap_wxToolBar_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1910 PyObject
* _argo0
= 0;
1912 PyObject
* _obj1
= 0;
1913 char *_kwnames
[] = { "self","size", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBar_SetMargins",_kwnames
,&_argo0
,&_obj1
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
1927 if (! wxSize_helper(_obj1
, &_arg1
))
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 wxToolBar_SetMargins(_arg0
,*_arg1
);
1934 wxPy_END_ALLOW_THREADS
;
1935 } Py_INCREF(Py_None
);
1936 _resultobj
= Py_None
;
1940 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
1941 static PyObject
*_wrap_wxToolBar_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1945 PyObject
* _argo0
= 0;
1946 char *_kwnames
[] = { "self","packing", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
1959 wxPy_BEGIN_ALLOW_THREADS
;
1960 wxToolBar_SetToolPacking(_arg0
,_arg1
);
1962 wxPy_END_ALLOW_THREADS
;
1963 } Py_INCREF(Py_None
);
1964 _resultobj
= Py_None
;
1968 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
1969 static PyObject
*_wrap_wxToolBar_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1973 PyObject
* _argo0
= 0;
1974 char *_kwnames
[] = { "self","separation", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))
1980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
1987 wxPy_BEGIN_ALLOW_THREADS
;
1988 wxToolBar_SetToolSeparation(_arg0
,_arg1
);
1990 wxPy_END_ALLOW_THREADS
;
1991 } Py_INCREF(Py_None
);
1992 _resultobj
= Py_None
;
1996 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
1997 static PyObject
*_wrap_wxToolBar_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2002 PyObject
* _argo0
= 0;
2004 char *_kwnames
[] = { "self","toolIndex","toggle", NULL
};
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
2016 _arg2
= (bool ) tempbool2
;
2018 wxPy_BEGIN_ALLOW_THREADS
;
2019 wxToolBar_ToggleTool(_arg0
,_arg1
,_arg2
);
2021 wxPy_END_ALLOW_THREADS
;
2022 } Py_INCREF(Py_None
);
2023 _resultobj
= Py_None
;
2027 static PyMethodDef stattoolcMethods
[] = {
2028 { "wxToolBar_ToggleTool", (PyCFunction
) _wrap_wxToolBar_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
2029 { "wxToolBar_SetToolSeparation", (PyCFunction
) _wrap_wxToolBar_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
2030 { "wxToolBar_SetToolPacking", (PyCFunction
) _wrap_wxToolBar_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
2031 { "wxToolBar_SetMargins", (PyCFunction
) _wrap_wxToolBar_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
2032 { "wxToolBar_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBar_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
2033 { "wxToolBar_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBar_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
2034 { "wxToolBar_Realize", (PyCFunction
) _wrap_wxToolBar_Realize
, METH_VARARGS
| METH_KEYWORDS
},
2035 { "wxToolBar_GetToolState", (PyCFunction
) _wrap_wxToolBar_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
2036 { "wxToolBar_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBar_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
2037 { "wxToolBar_GetToolSeparation", (PyCFunction
) _wrap_wxToolBar_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
2038 { "wxToolBar_GetToolPacking", (PyCFunction
) _wrap_wxToolBar_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
2039 { "wxToolBar_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBar_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
2040 { "wxToolBar_GetToolEnabled", (PyCFunction
) _wrap_wxToolBar_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
2041 { "wxToolBar_EnableTool", (PyCFunction
) _wrap_wxToolBar_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
2042 { "wxToolBar_AddSimpleTool", (PyCFunction
) _wrap_wxToolBar_AddSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
2043 { "wxToolBar_AddTool", (PyCFunction
) _wrap_wxToolBar_AddTool
, METH_VARARGS
| METH_KEYWORDS
},
2044 { "wxToolBar_AddSeparator", (PyCFunction
) _wrap_wxToolBar_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
2045 { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2046 { "wxToolBarTool_m_longHelpString_get", (PyCFunction
) _wrap_wxToolBarTool_m_longHelpString_get
, METH_VARARGS
| METH_KEYWORDS
},
2047 { "wxToolBarTool_m_longHelpString_set", (PyCFunction
) _wrap_wxToolBarTool_m_longHelpString_set
, METH_VARARGS
| METH_KEYWORDS
},
2048 { "wxToolBarTool_m_shortHelpString_get", (PyCFunction
) _wrap_wxToolBarTool_m_shortHelpString_get
, METH_VARARGS
| METH_KEYWORDS
},
2049 { "wxToolBarTool_m_shortHelpString_set", (PyCFunction
) _wrap_wxToolBarTool_m_shortHelpString_set
, METH_VARARGS
| METH_KEYWORDS
},
2050 { "wxToolBarTool_m_isMenuCommand_get", (PyCFunction
) _wrap_wxToolBarTool_m_isMenuCommand_get
, METH_VARARGS
| METH_KEYWORDS
},
2051 { "wxToolBarTool_m_isMenuCommand_set", (PyCFunction
) _wrap_wxToolBarTool_m_isMenuCommand_set
, METH_VARARGS
| METH_KEYWORDS
},
2052 { "wxToolBarTool_m_bitmap2_get", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap2_get
, METH_VARARGS
| METH_KEYWORDS
},
2053 { "wxToolBarTool_m_bitmap2_set", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap2_set
, METH_VARARGS
| METH_KEYWORDS
},
2054 { "wxToolBarTool_m_bitmap1_get", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap1_get
, METH_VARARGS
| METH_KEYWORDS
},
2055 { "wxToolBarTool_m_bitmap1_set", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap1_set
, METH_VARARGS
| METH_KEYWORDS
},
2056 { "wxToolBarTool_m_enabled_get", (PyCFunction
) _wrap_wxToolBarTool_m_enabled_get
, METH_VARARGS
| METH_KEYWORDS
},
2057 { "wxToolBarTool_m_enabled_set", (PyCFunction
) _wrap_wxToolBarTool_m_enabled_set
, METH_VARARGS
| METH_KEYWORDS
},
2058 { "wxToolBarTool_m_deleteSecondBitmap_get", (PyCFunction
) _wrap_wxToolBarTool_m_deleteSecondBitmap_get
, METH_VARARGS
| METH_KEYWORDS
},
2059 { "wxToolBarTool_m_deleteSecondBitmap_set", (PyCFunction
) _wrap_wxToolBarTool_m_deleteSecondBitmap_set
, METH_VARARGS
| METH_KEYWORDS
},
2060 { "wxToolBarTool_m_isToggle_get", (PyCFunction
) _wrap_wxToolBarTool_m_isToggle_get
, METH_VARARGS
| METH_KEYWORDS
},
2061 { "wxToolBarTool_m_isToggle_set", (PyCFunction
) _wrap_wxToolBarTool_m_isToggle_set
, METH_VARARGS
| METH_KEYWORDS
},
2062 { "wxToolBarTool_m_toggleState_get", (PyCFunction
) _wrap_wxToolBarTool_m_toggleState_get
, METH_VARARGS
| METH_KEYWORDS
},
2063 { "wxToolBarTool_m_toggleState_set", (PyCFunction
) _wrap_wxToolBarTool_m_toggleState_set
, METH_VARARGS
| METH_KEYWORDS
},
2064 { "wxToolBarTool_m_index_get", (PyCFunction
) _wrap_wxToolBarTool_m_index_get
, METH_VARARGS
| METH_KEYWORDS
},
2065 { "wxToolBarTool_m_index_set", (PyCFunction
) _wrap_wxToolBarTool_m_index_set
, METH_VARARGS
| METH_KEYWORDS
},
2066 { "wxToolBarTool_m_clientData_get", (PyCFunction
) _wrap_wxToolBarTool_m_clientData_get
, METH_VARARGS
| METH_KEYWORDS
},
2067 { "wxToolBarTool_m_clientData_set", (PyCFunction
) _wrap_wxToolBarTool_m_clientData_set
, METH_VARARGS
| METH_KEYWORDS
},
2068 { "wxToolBarTool_m_toolStyle_get", (PyCFunction
) _wrap_wxToolBarTool_m_toolStyle_get
, METH_VARARGS
| METH_KEYWORDS
},
2069 { "wxToolBarTool_m_toolStyle_set", (PyCFunction
) _wrap_wxToolBarTool_m_toolStyle_set
, METH_VARARGS
| METH_KEYWORDS
},
2070 { "delete_wxToolBarTool", (PyCFunction
) _wrap_delete_wxToolBarTool
, METH_VARARGS
| METH_KEYWORDS
},
2071 { "new_wxToolBarTool", (PyCFunction
) _wrap_new_wxToolBarTool
, METH_VARARGS
| METH_KEYWORDS
},
2072 { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2073 { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2074 { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
2075 { "wxStatusBar_InitColours", (PyCFunction
) _wrap_wxStatusBar_InitColours
, METH_VARARGS
| METH_KEYWORDS
},
2076 { "wxStatusBar_DrawFieldText", (PyCFunction
) _wrap_wxStatusBar_DrawFieldText
, METH_VARARGS
| METH_KEYWORDS
},
2077 { "wxStatusBar_DrawField", (PyCFunction
) _wrap_wxStatusBar_DrawField
, METH_VARARGS
| METH_KEYWORDS
},
2078 { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2079 { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
2080 { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
2081 { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2088 * This table is used by the pointer type-checker
2090 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2091 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2092 { "_wxEvent","_class_wxEvent",0},
2093 { "_class_wxActivateEvent","_wxActivateEvent",0},
2094 { "_signed_long","_long",0},
2095 { "_wxMenuEvent","_class_wxMenuEvent",0},
2096 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
2097 { "_wxPrintQuality","_int",0},
2098 { "_wxPrintQuality","_signed_int",0},
2099 { "_wxPrintQuality","_unsigned_int",0},
2100 { "_wxPrintQuality","_wxWindowID",0},
2101 { "_wxPrintQuality","_uint",0},
2102 { "_wxPrintQuality","_EBool",0},
2103 { "_wxPrintQuality","_size_t",0},
2104 { "_class_wxRegionIterator","_wxRegionIterator",0},
2105 { "_class_wxMenuBar","_wxMenuBar",0},
2106 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2107 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2108 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2109 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2110 { "_class_wxEvtHandler","_wxEvtHandler",0},
2111 { "_wxPaintEvent","_class_wxPaintEvent",0},
2112 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2113 { "_wxCursor","_class_wxCursor",0},
2114 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2115 { "_wxMask","_class_wxMask",0},
2116 { "_wxPen","_class_wxPen",0},
2117 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2118 { "_byte","_unsigned_char",0},
2119 { "_wxStaticBox","_class_wxStaticBox",0},
2120 { "_wxChoice","_class_wxChoice",0},
2121 { "_wxSlider","_class_wxSlider",0},
2122 { "_long","_wxDash",0},
2123 { "_long","_unsigned_long",0},
2124 { "_long","_signed_long",0},
2125 { "_wxImageList","_class_wxImageList",0},
2126 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2127 { "_wxBitmapButton","_class_wxBitmapButton",0},
2128 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2129 { "_class_wxGauge","_wxGauge",0},
2130 { "_wxDC","_class_wxDC",0},
2131 { "_wxSpinEvent","_class_wxSpinEvent",0},
2132 { "_size_t","_wxPrintQuality",0},
2133 { "_size_t","_unsigned_int",0},
2134 { "_size_t","_int",0},
2135 { "_size_t","_wxWindowID",0},
2136 { "_size_t","_uint",0},
2137 { "_class_wxRealPoint","_wxRealPoint",0},
2138 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
2139 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
2140 { "_class_wxMenuItem","_wxMenuItem",0},
2141 { "_class_wxPaintEvent","_wxPaintEvent",0},
2142 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2143 { "_class_wxStatusBar","_wxStatusBar",0},
2144 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
2145 { "_wxPanel","_class_wxPanel",0},
2146 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2147 { "_wxCheckBox","_class_wxCheckBox",0},
2148 { "_wxPyEvent","_class_wxPyEvent",0},
2149 { "_wxTextCtrl","_class_wxTextCtrl",0},
2150 { "_class_wxMask","_wxMask",0},
2151 { "_class_wxKeyEvent","_wxKeyEvent",0},
2152 { "_wxColour","_class_wxColour",0},
2153 { "_class_wxDialog","_wxDialog",0},
2154 { "_wxIdleEvent","_class_wxIdleEvent",0},
2155 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2156 { "_wxToolBar","_class_wxToolBar",0},
2157 { "_wxStaticLine","_class_wxStaticLine",0},
2158 { "_wxBrush","_class_wxBrush",0},
2159 { "_wxShowEvent","_class_wxShowEvent",0},
2160 { "_uint","_wxPrintQuality",0},
2161 { "_uint","_size_t",0},
2162 { "_uint","_unsigned_int",0},
2163 { "_uint","_int",0},
2164 { "_uint","_wxWindowID",0},
2165 { "_wxPyValidator","_class_wxPyValidator",0},
2166 { "_class_wxEvent","_wxEvent",0},
2167 { "_wxCheckListBox","_class_wxCheckListBox",0},
2168 { "_wxRect","_class_wxRect",0},
2169 { "_wxCommandEvent","_class_wxCommandEvent",0},
2170 { "_wxSizeEvent","_class_wxSizeEvent",0},
2171 { "_wxPoint","_class_wxPoint",0},
2172 { "_class_wxButton","_wxButton",0},
2173 { "_wxRadioBox","_class_wxRadioBox",0},
2174 { "_wxBitmap","_class_wxBitmap",0},
2175 { "_wxPyTimer","_class_wxPyTimer",0},
2176 { "_wxWindowDC","_class_wxWindowDC",0},
2177 { "_wxScrollBar","_class_wxScrollBar",0},
2178 { "_wxSpinButton","_class_wxSpinButton",0},
2179 { "_wxToolBarTool","_class_wxToolBarTool",0},
2180 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2181 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2182 { "_class_wxValidator","_wxValidator",0},
2183 { "_class_wxPyEvent","_wxPyEvent",0},
2184 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2185 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2186 { "_class_wxToolBar","_wxToolBar",0},
2187 { "_class_wxStaticLine","_wxStaticLine",0},
2188 { "_wxScrollEvent","_class_wxScrollEvent",0},
2189 { "_EBool","_wxPrintQuality",0},
2190 { "_EBool","_signed_int",0},
2191 { "_EBool","_int",0},
2192 { "_EBool","_wxWindowID",0},
2193 { "_class_wxRegion","_wxRegion",0},
2194 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2195 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
2196 { "_wxStaticText","_class_wxStaticText",0},
2197 { "_wxFont","_class_wxFont",0},
2198 { "_wxCloseEvent","_class_wxCloseEvent",0},
2199 { "_unsigned_long","_wxDash",0},
2200 { "_unsigned_long","_long",0},
2201 { "_class_wxRect","_wxRect",0},
2202 { "_class_wxDC","_wxDC",0},
2203 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2204 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
2205 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
2206 { "_class_wxPyTimer","_wxPyTimer",0},
2207 { "_wxFocusEvent","_class_wxFocusEvent",0},
2208 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2209 { "_class_wxSpinButton","_wxSpinButton",0},
2210 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2211 { "_class_wxPanel","_wxPanel",0},
2212 { "_class_wxCheckBox","_wxCheckBox",0},
2213 { "_wxComboBox","_class_wxComboBox",0},
2214 { "_wxRadioButton","_class_wxRadioButton",0},
2215 { "_signed_int","_wxPrintQuality",0},
2216 { "_signed_int","_EBool",0},
2217 { "_signed_int","_wxWindowID",0},
2218 { "_signed_int","_int",0},
2219 { "_class_wxTextCtrl","_wxTextCtrl",0},
2220 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2221 { "_wxMenu","_class_wxMenu",0},
2222 { "_class_wxMoveEvent","_wxMoveEvent",0},
2223 { "_wxListBox","_class_wxListBox",0},
2224 { "_wxScreenDC","_class_wxScreenDC",0},
2225 { "_WXTYPE","_short",0},
2226 { "_WXTYPE","_signed_short",0},
2227 { "_WXTYPE","_unsigned_short",0},
2228 { "_class_wxBrush","_wxBrush",0},
2229 { "_unsigned_short","_WXTYPE",0},
2230 { "_unsigned_short","_short",0},
2231 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2232 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2233 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2234 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2235 { "_class_wxWindow","_wxWindow",0},
2236 { "_class_wxStaticText","_wxStaticText",0},
2237 { "_class_wxFont","_wxFont",0},
2238 { "_class_wxPyValidator","_wxPyValidator",0},
2239 { "_class_wxCloseEvent","_wxCloseEvent",0},
2240 { "_class_wxMenuEvent","_wxMenuEvent",0},
2241 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
2242 { "_wxClientDC","_class_wxClientDC",0},
2243 { "_wxMouseEvent","_class_wxMouseEvent",0},
2244 { "_class_wxPoint","_wxPoint",0},
2245 { "_wxRealPoint","_class_wxRealPoint",0},
2246 { "_class_wxRadioBox","_wxRadioBox",0},
2247 { "_signed_short","_WXTYPE",0},
2248 { "_signed_short","_short",0},
2249 { "_wxMemoryDC","_class_wxMemoryDC",0},
2250 { "_wxPaintDC","_class_wxPaintDC",0},
2251 { "_class_wxWindowDC","_wxWindowDC",0},
2252 { "_class_wxFocusEvent","_wxFocusEvent",0},
2253 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2254 { "_wxStatusBar","_class_wxStatusBar",0},
2255 { "_class_wxToolBarTool","_wxToolBarTool",0},
2256 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2257 { "_class_wxCursor","_wxCursor",0},
2258 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
2259 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2260 { "_unsigned_char","_byte",0},
2261 { "_class_wxMenu","_wxMenu",0},
2262 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2263 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2264 { "_wxControl","_class_wxControl",0},
2265 { "_class_wxListBox","_wxListBox",0},
2266 { "_unsigned_int","_wxPrintQuality",0},
2267 { "_unsigned_int","_size_t",0},
2268 { "_unsigned_int","_uint",0},
2269 { "_unsigned_int","_wxWindowID",0},
2270 { "_unsigned_int","_int",0},
2271 { "_wxIcon","_class_wxIcon",0},
2272 { "_wxDialog","_class_wxDialog",0},
2273 { "_class_wxPen","_wxPen",0},
2274 { "_short","_WXTYPE",0},
2275 { "_short","_unsigned_short",0},
2276 { "_short","_signed_short",0},
2277 { "_class_wxStaticBox","_wxStaticBox",0},
2278 { "_class_wxScrollEvent","_wxScrollEvent",0},
2279 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2280 { "_class_wxChoice","_wxChoice",0},
2281 { "_class_wxSlider","_wxSlider",0},
2282 { "_class_wxImageList","_wxImageList",0},
2283 { "_class_wxBitmapButton","_wxBitmapButton",0},
2284 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
2285 { "_wxWindowID","_wxPrintQuality",0},
2286 { "_wxWindowID","_size_t",0},
2287 { "_wxWindowID","_EBool",0},
2288 { "_wxWindowID","_uint",0},
2289 { "_wxWindowID","_int",0},
2290 { "_wxWindowID","_signed_int",0},
2291 { "_wxWindowID","_unsigned_int",0},
2292 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2293 { "_int","_wxPrintQuality",0},
2294 { "_int","_size_t",0},
2295 { "_int","_EBool",0},
2296 { "_int","_uint",0},
2297 { "_int","_wxWindowID",0},
2298 { "_int","_unsigned_int",0},
2299 { "_int","_signed_int",0},
2300 { "_class_wxMouseEvent","_wxMouseEvent",0},
2301 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
2302 { "_class_wxSpinEvent","_wxSpinEvent",0},
2303 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
2304 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
2305 { "_wxButton","_class_wxButton",0},
2306 { "_wxSize","_class_wxSize",0},
2307 { "_wxRegionIterator","_class_wxRegionIterator",0},
2308 { "_class_wxPaintDC","_wxPaintDC",0},
2309 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2310 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2311 { "_class_wxComboBox","_wxComboBox",0},
2312 { "_class_wxRadioButton","_wxRadioButton",0},
2313 { "_wxValidator","_class_wxValidator",0},
2314 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2315 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2316 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2317 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2318 { "_class_wxControl","_wxControl",0},
2319 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2320 { "_class_wxIcon","_wxIcon",0},
2321 { "_class_wxColour","_wxColour",0},
2322 { "_class_wxScreenDC","_wxScreenDC",0},
2323 { "_wxPalette","_class_wxPalette",0},
2324 { "_class_wxIdleEvent","_wxIdleEvent",0},
2325 { "_wxEraseEvent","_class_wxEraseEvent",0},
2326 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2327 { "_wxRegion","_class_wxRegion",0},
2328 { "_class_wxShowEvent","_wxShowEvent",0},
2329 { "_wxActivateEvent","_class_wxActivateEvent",0},
2330 { "_wxGauge","_class_wxGauge",0},
2331 { "_class_wxCheckListBox","_wxCheckListBox",0},
2332 { "_class_wxCommandEvent","_wxCommandEvent",0},
2333 { "_class_wxClientDC","_wxClientDC",0},
2334 { "_class_wxSizeEvent","_wxSizeEvent",0},
2335 { "_class_wxSize","_wxSize",0},
2336 { "_class_wxBitmap","_wxBitmap",0},
2337 { "_class_wxMemoryDC","_wxMemoryDC",0},
2338 { "_wxMenuBar","_class_wxMenuBar",0},
2339 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2340 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2341 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2342 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2343 { "_wxEvtHandler","_class_wxEvtHandler",0},
2344 { "_wxMenuItem","_class_wxMenuItem",0},
2345 { "_class_wxScrollBar","_wxScrollBar",0},
2346 { "_wxDash","_unsigned_long",0},
2347 { "_wxDash","_long",0},
2348 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2349 { "_wxKeyEvent","_class_wxKeyEvent",0},
2350 { "_wxMoveEvent","_class_wxMoveEvent",0},
2351 { "_class_wxPalette","_wxPalette",0},
2352 { "_class_wxEraseEvent","_wxEraseEvent",0},
2353 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2354 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2355 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2356 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2357 { "_wxWindow","_class_wxWindow",0},
2358 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
2361 static PyObject
*SWIG_globals
;
2365 SWIGEXPORT(void) initstattoolc() {
2367 SWIG_globals
= SWIG_newvarlink();
2368 m
= Py_InitModule("stattoolc", stattoolcMethods
);
2369 d
= PyModule_GetDict(m
);
2372 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2373 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);