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
);
108 HELPEREXPORT byte
* byte_LIST_helper(PyObject
* source
);
109 HELPEREXPORT
int* int_LIST_helper(PyObject
* source
);
110 HELPEREXPORT
long* long_LIST_helper(PyObject
* source
);
111 HELPEREXPORT
char** string_LIST_helper(PyObject
* source
);
112 HELPEREXPORT wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
113 HELPEREXPORT wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
114 HELPEREXPORT wxString
* wxString_LIST_helper(PyObject
* source
);
115 HELPEREXPORT wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
122 static void *SwigwxStatusBarTowxWindow(void *ptr
) {
125 src
= (wxStatusBar
*) ptr
;
126 dest
= (wxWindow
*) src
;
127 return (void *) dest
;
130 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) {
133 src
= (wxStatusBar
*) ptr
;
134 dest
= (wxEvtHandler
*) src
;
135 return (void *) dest
;
138 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
139 static PyObject
*_wrap_new_wxStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
140 PyObject
* _resultobj
;
141 wxStatusBar
* _result
;
144 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
145 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
146 long _arg4
= (long ) wxST_SIZEGRIP
;
147 char * _arg5
= (char *) "statusBar";
148 PyObject
* _argo0
= 0;
149 PyObject
* _argo2
= 0;
150 PyObject
* _argo3
= 0;
151 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStatusBar",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
165 if (_argo2
== Py_None
) { _arg2
= NULL
; }
166 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStatusBar. Expected _wxPoint_p.");
172 if (_argo3
== Py_None
) { _arg3
= NULL
; }
173 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxStatusBar. Expected _wxSize_p.");
179 wxPy_BEGIN_ALLOW_THREADS
;
180 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
182 wxPy_END_ALLOW_THREADS
;
184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
185 _resultobj
= Py_BuildValue("s",_ptemp
);
188 _resultobj
= Py_None
;
193 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
194 wxRect
* rect
= new wxRect
;
195 self
->GetFieldRect(item
, *rect
);
198 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
203 PyObject
* _argo0
= 0;
204 char *_kwnames
[] = { "self","item", NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxStatusBar_GetFieldRect",_kwnames
,&_argo0
,&_arg1
))
211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
218 wxPy_BEGIN_ALLOW_THREADS
;
219 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
221 wxPy_END_ALLOW_THREADS
;
223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
224 _resultobj
= Py_BuildValue("s",_ptemp
);
227 _resultobj
= Py_None
;
232 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
233 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
237 PyObject
* _argo0
= 0;
238 char *_kwnames
[] = { "self", NULL
};
241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetFieldsCount",_kwnames
,&_argo0
))
244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
251 wxPy_BEGIN_ALLOW_THREADS
;
252 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
254 wxPy_END_ALLOW_THREADS
;
255 } _resultobj
= Py_BuildValue("i",_result
);
259 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
260 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
261 PyObject
* _resultobj
;
264 int _arg1
= (int ) 0;
265 PyObject
* _argo0
= 0;
266 char *_kwnames
[] = { "self","ir", NULL
};
269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_GetStatusText",_kwnames
,&_argo0
,&_arg1
))
272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
279 wxPy_BEGIN_ALLOW_THREADS
;
280 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
282 wxPy_END_ALLOW_THREADS
;
284 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
292 #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
293 static PyObject
*_wrap_wxStatusBar_DrawField(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
298 PyObject
* _argo0
= 0;
299 PyObject
* _argo1
= 0;
300 char *_kwnames
[] = { "self","dc","i", NULL
};
303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxStatusBar_DrawField",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
313 if (_argo1
== Py_None
) { _arg1
= NULL
; }
314 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
320 wxPy_BEGIN_ALLOW_THREADS
;
321 wxStatusBar_DrawField(_arg0
,*_arg1
,_arg2
);
323 wxPy_END_ALLOW_THREADS
;
324 } Py_INCREF(Py_None
);
325 _resultobj
= Py_None
;
329 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
330 static PyObject
*_wrap_wxStatusBar_DrawFieldText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
335 PyObject
* _argo0
= 0;
336 PyObject
* _argo1
= 0;
337 char *_kwnames
[] = { "self","dc","i", NULL
};
340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxStatusBar_DrawFieldText",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDC_p")) {
352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
357 wxPy_BEGIN_ALLOW_THREADS
;
358 wxStatusBar_DrawFieldText(_arg0
,*_arg1
,_arg2
);
360 wxPy_END_ALLOW_THREADS
;
361 } Py_INCREF(Py_None
);
362 _resultobj
= Py_None
;
366 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
367 static PyObject
*_wrap_wxStatusBar_InitColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
370 PyObject
* _argo0
= 0;
371 char *_kwnames
[] = { "self", NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_InitColours",_kwnames
,&_argo0
))
377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
384 wxPy_BEGIN_ALLOW_THREADS
;
385 wxStatusBar_InitColours(_arg0
);
387 wxPy_END_ALLOW_THREADS
;
388 } Py_INCREF(Py_None
);
389 _resultobj
= Py_None
;
393 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
394 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
397 int _arg1
= (int ) 1;
398 PyObject
* _argo0
= 0;
399 char *_kwnames
[] = { "self","number", NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_SetFieldsCount",_kwnames
,&_argo0
,&_arg1
))
405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
412 wxPy_BEGIN_ALLOW_THREADS
;
413 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
415 wxPy_END_ALLOW_THREADS
;
416 } Py_INCREF(Py_None
);
417 _resultobj
= Py_None
;
421 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
422 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
423 PyObject
* _resultobj
;
426 int _arg2
= (int ) 0;
427 PyObject
* _argo0
= 0;
428 PyObject
* _obj1
= 0;
429 char *_kwnames
[] = { "self","text","i", NULL
};
432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxStatusBar_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
442 if (!PyString_Check(_obj1
)) {
443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
446 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
449 wxPy_BEGIN_ALLOW_THREADS
;
450 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
452 wxPy_END_ALLOW_THREADS
;
453 } Py_INCREF(Py_None
);
454 _resultobj
= Py_None
;
462 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
463 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
468 PyObject
* _argo0
= 0;
469 PyObject
* _obj2
= 0;
470 char *_kwnames
[] = { "self","LIST", NULL
};
473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStatusBar_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
484 _arg2
= int_LIST_helper(_obj2
);
491 _arg1
= PyList_Size(_obj2
);
498 wxPy_BEGIN_ALLOW_THREADS
;
499 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
501 wxPy_END_ALLOW_THREADS
;
502 } Py_INCREF(Py_None
);
503 _resultobj
= Py_None
;
510 #define new_wxToolBarTool() (new wxToolBarTool())
511 static PyObject
*_wrap_new_wxToolBarTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
512 PyObject
* _resultobj
;
513 wxToolBarTool
* _result
;
514 char *_kwnames
[] = { NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxToolBarTool",_kwnames
))
521 wxPy_BEGIN_ALLOW_THREADS
;
522 _result
= (wxToolBarTool
*)new_wxToolBarTool();
524 wxPy_END_ALLOW_THREADS
;
526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
527 _resultobj
= Py_BuildValue("s",_ptemp
);
530 _resultobj
= Py_None
;
535 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
536 static PyObject
*_wrap_delete_wxToolBarTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
537 PyObject
* _resultobj
;
538 wxToolBarTool
* _arg0
;
539 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxToolBarTool",_kwnames
,&_argo0
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
553 wxPy_BEGIN_ALLOW_THREADS
;
554 delete_wxToolBarTool(_arg0
);
556 wxPy_END_ALLOW_THREADS
;
557 } Py_INCREF(Py_None
);
558 _resultobj
= Py_None
;
562 #define wxToolBarTool_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
563 static PyObject
*_wrap_wxToolBarTool_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
564 PyObject
* _resultobj
;
565 wxToolBarTool
* _arg0
;
568 PyObject
* _argo0
= 0;
569 char *_kwnames
[] = { "self","w","h", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxToolBarTool_SetSize",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_SetSize. Expected _wxToolBarTool_p.");
582 wxPy_BEGIN_ALLOW_THREADS
;
583 wxToolBarTool_SetSize(_arg0
,_arg1
,_arg2
);
585 wxPy_END_ALLOW_THREADS
;
586 } Py_INCREF(Py_None
);
587 _resultobj
= Py_None
;
591 #define wxToolBarTool_GetWidth(_swigobj) (_swigobj->GetWidth())
592 static PyObject
*_wrap_wxToolBarTool_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
595 wxToolBarTool
* _arg0
;
596 PyObject
* _argo0
= 0;
597 char *_kwnames
[] = { "self", NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_GetWidth",_kwnames
,&_argo0
))
603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetWidth. Expected _wxToolBarTool_p.");
610 wxPy_BEGIN_ALLOW_THREADS
;
611 _result
= (long )wxToolBarTool_GetWidth(_arg0
);
613 wxPy_END_ALLOW_THREADS
;
614 } _resultobj
= Py_BuildValue("l",_result
);
618 #define wxToolBarTool_GetHeight(_swigobj) (_swigobj->GetHeight())
619 static PyObject
*_wrap_wxToolBarTool_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
620 PyObject
* _resultobj
;
622 wxToolBarTool
* _arg0
;
623 PyObject
* _argo0
= 0;
624 char *_kwnames
[] = { "self", NULL
};
627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_GetHeight",_kwnames
,&_argo0
))
630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetHeight. Expected _wxToolBarTool_p.");
637 wxPy_BEGIN_ALLOW_THREADS
;
638 _result
= (long )wxToolBarTool_GetHeight(_arg0
);
640 wxPy_END_ALLOW_THREADS
;
641 } _resultobj
= Py_BuildValue("l",_result
);
645 #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
646 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
649 wxToolBarTool
* _arg0
;
651 PyObject
* _argo0
= 0;
652 char *_kwnames
[] = { "self","m_toolStyle", NULL
};
655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_toolStyle_set",_kwnames
,&_argo0
,&_arg1
))
658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
665 wxPy_BEGIN_ALLOW_THREADS
;
666 _result
= (int )wxToolBarTool_m_toolStyle_set(_arg0
,_arg1
);
668 wxPy_END_ALLOW_THREADS
;
669 } _resultobj
= Py_BuildValue("i",_result
);
673 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
674 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
677 wxToolBarTool
* _arg0
;
678 PyObject
* _argo0
= 0;
679 char *_kwnames
[] = { "self", NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_toolStyle_get",_kwnames
,&_argo0
))
685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 _result
= (int )wxToolBarTool_m_toolStyle_get(_arg0
);
695 wxPy_END_ALLOW_THREADS
;
696 } _resultobj
= Py_BuildValue("i",_result
);
700 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
701 static PyObject
*_wrap_wxToolBarTool_m_clientData_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 PyObject
* _resultobj
;
704 wxToolBarTool
* _arg0
;
706 PyObject
* _argo0
= 0;
707 PyObject
* _argo1
= 0;
708 char *_kwnames
[] = { "self","m_clientData", NULL
};
712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_clientData_set",_kwnames
,&_argo0
,&_argo1
))
715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxObject_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
729 wxPy_BEGIN_ALLOW_THREADS
;
730 _result
= (wxObject
*)wxToolBarTool_m_clientData_set(_arg0
,_arg1
);
732 wxPy_END_ALLOW_THREADS
;
734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
735 _resultobj
= Py_BuildValue("s",_ptemp
);
738 _resultobj
= Py_None
;
743 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
744 static PyObject
*_wrap_wxToolBarTool_m_clientData_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
745 PyObject
* _resultobj
;
747 wxToolBarTool
* _arg0
;
748 PyObject
* _argo0
= 0;
749 char *_kwnames
[] = { "self", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_clientData_get",_kwnames
,&_argo0
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
763 wxPy_BEGIN_ALLOW_THREADS
;
764 _result
= (wxObject
*)wxToolBarTool_m_clientData_get(_arg0
);
766 wxPy_END_ALLOW_THREADS
;
768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
769 _resultobj
= Py_BuildValue("s",_ptemp
);
772 _resultobj
= Py_None
;
777 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
778 static PyObject
*_wrap_wxToolBarTool_m_index_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
781 wxToolBarTool
* _arg0
;
783 PyObject
* _argo0
= 0;
784 char *_kwnames
[] = { "self","m_index", NULL
};
787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_index_set",_kwnames
,&_argo0
,&_arg1
))
790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
797 wxPy_BEGIN_ALLOW_THREADS
;
798 _result
= (int )wxToolBarTool_m_index_set(_arg0
,_arg1
);
800 wxPy_END_ALLOW_THREADS
;
801 } _resultobj
= Py_BuildValue("i",_result
);
805 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
806 static PyObject
*_wrap_wxToolBarTool_m_index_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
809 wxToolBarTool
* _arg0
;
810 PyObject
* _argo0
= 0;
811 char *_kwnames
[] = { "self", NULL
};
814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_index_get",_kwnames
,&_argo0
))
817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
824 wxPy_BEGIN_ALLOW_THREADS
;
825 _result
= (int )wxToolBarTool_m_index_get(_arg0
);
827 wxPy_END_ALLOW_THREADS
;
828 } _resultobj
= Py_BuildValue("i",_result
);
832 #define wxToolBarTool_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
833 static PyObject
*_wrap_wxToolBarTool_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
834 PyObject
* _resultobj
;
836 wxToolBarTool
* _arg0
;
838 PyObject
* _argo0
= 0;
839 char *_kwnames
[] = { "self","m_x", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_x_set",_kwnames
,&_argo0
,&_arg1
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_set. Expected _wxToolBarTool_p.");
852 wxPy_BEGIN_ALLOW_THREADS
;
853 _result
= (long )wxToolBarTool_m_x_set(_arg0
,_arg1
);
855 wxPy_END_ALLOW_THREADS
;
856 } _resultobj
= Py_BuildValue("l",_result
);
860 #define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x)
861 static PyObject
*_wrap_wxToolBarTool_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
862 PyObject
* _resultobj
;
864 wxToolBarTool
* _arg0
;
865 PyObject
* _argo0
= 0;
866 char *_kwnames
[] = { "self", NULL
};
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_x_get",_kwnames
,&_argo0
))
872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_get. Expected _wxToolBarTool_p.");
879 wxPy_BEGIN_ALLOW_THREADS
;
880 _result
= (long )wxToolBarTool_m_x_get(_arg0
);
882 wxPy_END_ALLOW_THREADS
;
883 } _resultobj
= Py_BuildValue("l",_result
);
887 #define wxToolBarTool_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
888 static PyObject
*_wrap_wxToolBarTool_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
889 PyObject
* _resultobj
;
891 wxToolBarTool
* _arg0
;
893 PyObject
* _argo0
= 0;
894 char *_kwnames
[] = { "self","m_y", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_y_set",_kwnames
,&_argo0
,&_arg1
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_set. Expected _wxToolBarTool_p.");
907 wxPy_BEGIN_ALLOW_THREADS
;
908 _result
= (long )wxToolBarTool_m_y_set(_arg0
,_arg1
);
910 wxPy_END_ALLOW_THREADS
;
911 } _resultobj
= Py_BuildValue("l",_result
);
915 #define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y)
916 static PyObject
*_wrap_wxToolBarTool_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
919 wxToolBarTool
* _arg0
;
920 PyObject
* _argo0
= 0;
921 char *_kwnames
[] = { "self", NULL
};
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_y_get",_kwnames
,&_argo0
))
927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_get. Expected _wxToolBarTool_p.");
934 wxPy_BEGIN_ALLOW_THREADS
;
935 _result
= (long )wxToolBarTool_m_y_get(_arg0
);
937 wxPy_END_ALLOW_THREADS
;
938 } _resultobj
= Py_BuildValue("l",_result
);
942 #define wxToolBarTool_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
943 static PyObject
*_wrap_wxToolBarTool_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* _resultobj
;
946 wxToolBarTool
* _arg0
;
948 PyObject
* _argo0
= 0;
949 char *_kwnames
[] = { "self","m_width", NULL
};
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_width_set",_kwnames
,&_argo0
,&_arg1
))
955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_set. Expected _wxToolBarTool_p.");
962 wxPy_BEGIN_ALLOW_THREADS
;
963 _result
= (long )wxToolBarTool_m_width_set(_arg0
,_arg1
);
965 wxPy_END_ALLOW_THREADS
;
966 } _resultobj
= Py_BuildValue("l",_result
);
970 #define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width)
971 static PyObject
*_wrap_wxToolBarTool_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
974 wxToolBarTool
* _arg0
;
975 PyObject
* _argo0
= 0;
976 char *_kwnames
[] = { "self", NULL
};
979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_width_get",_kwnames
,&_argo0
))
982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_get. Expected _wxToolBarTool_p.");
989 wxPy_BEGIN_ALLOW_THREADS
;
990 _result
= (long )wxToolBarTool_m_width_get(_arg0
);
992 wxPy_END_ALLOW_THREADS
;
993 } _resultobj
= Py_BuildValue("l",_result
);
997 #define wxToolBarTool_m_height_set(_swigobj,_swigval) (_swigobj->m_height = _swigval,_swigval)
998 static PyObject
*_wrap_wxToolBarTool_m_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 PyObject
* _resultobj
;
1001 wxToolBarTool
* _arg0
;
1003 PyObject
* _argo0
= 0;
1004 char *_kwnames
[] = { "self","m_height", NULL
};
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxToolBarTool_m_height_set",_kwnames
,&_argo0
,&_arg1
))
1010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_set. Expected _wxToolBarTool_p.");
1017 wxPy_BEGIN_ALLOW_THREADS
;
1018 _result
= (long )wxToolBarTool_m_height_set(_arg0
,_arg1
);
1020 wxPy_END_ALLOW_THREADS
;
1021 } _resultobj
= Py_BuildValue("l",_result
);
1025 #define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height)
1026 static PyObject
*_wrap_wxToolBarTool_m_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1029 wxToolBarTool
* _arg0
;
1030 PyObject
* _argo0
= 0;
1031 char *_kwnames
[] = { "self", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_height_get",_kwnames
,&_argo0
))
1037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_get. Expected _wxToolBarTool_p.");
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 _result
= (long )wxToolBarTool_m_height_get(_arg0
);
1047 wxPy_END_ALLOW_THREADS
;
1048 } _resultobj
= Py_BuildValue("l",_result
);
1052 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
1053 static PyObject
*_wrap_wxToolBarTool_m_toggleState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1056 wxToolBarTool
* _arg0
;
1058 PyObject
* _argo0
= 0;
1060 char *_kwnames
[] = { "self","m_toggleState", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_toggleState_set",_kwnames
,&_argo0
,&tempbool1
))
1066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
1072 _arg1
= (bool ) tempbool1
;
1074 wxPy_BEGIN_ALLOW_THREADS
;
1075 _result
= (bool )wxToolBarTool_m_toggleState_set(_arg0
,_arg1
);
1077 wxPy_END_ALLOW_THREADS
;
1078 } _resultobj
= Py_BuildValue("i",_result
);
1082 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
1083 static PyObject
*_wrap_wxToolBarTool_m_toggleState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1084 PyObject
* _resultobj
;
1086 wxToolBarTool
* _arg0
;
1087 PyObject
* _argo0
= 0;
1088 char *_kwnames
[] = { "self", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_toggleState_get",_kwnames
,&_argo0
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
1101 wxPy_BEGIN_ALLOW_THREADS
;
1102 _result
= (bool )wxToolBarTool_m_toggleState_get(_arg0
);
1104 wxPy_END_ALLOW_THREADS
;
1105 } _resultobj
= Py_BuildValue("i",_result
);
1109 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
1110 static PyObject
*_wrap_wxToolBarTool_m_isToggle_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1113 wxToolBarTool
* _arg0
;
1115 PyObject
* _argo0
= 0;
1117 char *_kwnames
[] = { "self","m_isToggle", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_isToggle_set",_kwnames
,&_argo0
,&tempbool1
))
1123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
1129 _arg1
= (bool ) tempbool1
;
1131 wxPy_BEGIN_ALLOW_THREADS
;
1132 _result
= (bool )wxToolBarTool_m_isToggle_set(_arg0
,_arg1
);
1134 wxPy_END_ALLOW_THREADS
;
1135 } _resultobj
= Py_BuildValue("i",_result
);
1139 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
1140 static PyObject
*_wrap_wxToolBarTool_m_isToggle_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1143 wxToolBarTool
* _arg0
;
1144 PyObject
* _argo0
= 0;
1145 char *_kwnames
[] = { "self", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_isToggle_get",_kwnames
,&_argo0
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
1158 wxPy_BEGIN_ALLOW_THREADS
;
1159 _result
= (bool )wxToolBarTool_m_isToggle_get(_arg0
);
1161 wxPy_END_ALLOW_THREADS
;
1162 } _resultobj
= Py_BuildValue("i",_result
);
1166 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
1167 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1170 wxToolBarTool
* _arg0
;
1172 PyObject
* _argo0
= 0;
1174 char *_kwnames
[] = { "self","m_deleteSecondBitmap", NULL
};
1177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_deleteSecondBitmap_set",_kwnames
,&_argo0
,&tempbool1
))
1180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
1186 _arg1
= (bool ) tempbool1
;
1188 wxPy_BEGIN_ALLOW_THREADS
;
1189 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0
,_arg1
);
1191 wxPy_END_ALLOW_THREADS
;
1192 } _resultobj
= Py_BuildValue("i",_result
);
1196 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
1197 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1200 wxToolBarTool
* _arg0
;
1201 PyObject
* _argo0
= 0;
1202 char *_kwnames
[] = { "self", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_deleteSecondBitmap_get",_kwnames
,&_argo0
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
1215 wxPy_BEGIN_ALLOW_THREADS
;
1216 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0
);
1218 wxPy_END_ALLOW_THREADS
;
1219 } _resultobj
= Py_BuildValue("i",_result
);
1223 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
1224 static PyObject
*_wrap_wxToolBarTool_m_enabled_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
* _resultobj
;
1227 wxToolBarTool
* _arg0
;
1229 PyObject
* _argo0
= 0;
1231 char *_kwnames
[] = { "self","m_enabled", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_enabled_set",_kwnames
,&_argo0
,&tempbool1
))
1237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
1243 _arg1
= (bool ) tempbool1
;
1245 wxPy_BEGIN_ALLOW_THREADS
;
1246 _result
= (bool )wxToolBarTool_m_enabled_set(_arg0
,_arg1
);
1248 wxPy_END_ALLOW_THREADS
;
1249 } _resultobj
= Py_BuildValue("i",_result
);
1253 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
1254 static PyObject
*_wrap_wxToolBarTool_m_enabled_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1257 wxToolBarTool
* _arg0
;
1258 PyObject
* _argo0
= 0;
1259 char *_kwnames
[] = { "self", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_enabled_get",_kwnames
,&_argo0
))
1265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
1272 wxPy_BEGIN_ALLOW_THREADS
;
1273 _result
= (bool )wxToolBarTool_m_enabled_get(_arg0
);
1275 wxPy_END_ALLOW_THREADS
;
1276 } _resultobj
= Py_BuildValue("i",_result
);
1280 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
1281 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1284 wxToolBarTool
* _arg0
;
1286 PyObject
* _argo0
= 0;
1287 PyObject
* _argo1
= 0;
1288 char *_kwnames
[] = { "self","m_bitmap1", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_bitmap1_set",_kwnames
,&_argo0
,&_argo1
))
1295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
1302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
1309 wxPy_BEGIN_ALLOW_THREADS
;
1310 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_set(_arg0
,_arg1
);
1312 wxPy_END_ALLOW_THREADS
;
1314 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1315 _resultobj
= Py_BuildValue("s",_ptemp
);
1318 _resultobj
= Py_None
;
1323 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
1324 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1327 wxToolBarTool
* _arg0
;
1328 PyObject
* _argo0
= 0;
1329 char *_kwnames
[] = { "self", NULL
};
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_bitmap1_get",_kwnames
,&_argo0
))
1336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1343 wxPy_BEGIN_ALLOW_THREADS
;
1344 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_get(_arg0
);
1346 wxPy_END_ALLOW_THREADS
;
1348 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1349 _resultobj
= Py_BuildValue("s",_ptemp
);
1352 _resultobj
= Py_None
;
1357 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1358 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1359 PyObject
* _resultobj
;
1361 wxToolBarTool
* _arg0
;
1363 PyObject
* _argo0
= 0;
1364 PyObject
* _argo1
= 0;
1365 char *_kwnames
[] = { "self","m_bitmap2", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_bitmap2_set",_kwnames
,&_argo0
,&_argo1
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_set(_arg0
,_arg1
);
1389 wxPy_END_ALLOW_THREADS
;
1391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1392 _resultobj
= Py_BuildValue("s",_ptemp
);
1395 _resultobj
= Py_None
;
1400 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1401 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1404 wxToolBarTool
* _arg0
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "self", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_bitmap2_get",_kwnames
,&_argo0
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1420 wxPy_BEGIN_ALLOW_THREADS
;
1421 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_get(_arg0
);
1423 wxPy_END_ALLOW_THREADS
;
1425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1426 _resultobj
= Py_BuildValue("s",_ptemp
);
1429 _resultobj
= Py_None
;
1434 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1435 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1438 wxToolBarTool
* _arg0
;
1440 PyObject
* _argo0
= 0;
1442 char *_kwnames
[] = { "self","m_isMenuCommand", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarTool_m_isMenuCommand_set",_kwnames
,&_argo0
,&tempbool1
))
1448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1454 _arg1
= (bool ) tempbool1
;
1456 wxPy_BEGIN_ALLOW_THREADS
;
1457 _result
= (bool )wxToolBarTool_m_isMenuCommand_set(_arg0
,_arg1
);
1459 wxPy_END_ALLOW_THREADS
;
1460 } _resultobj
= Py_BuildValue("i",_result
);
1464 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1465 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1466 PyObject
* _resultobj
;
1468 wxToolBarTool
* _arg0
;
1469 PyObject
* _argo0
= 0;
1470 char *_kwnames
[] = { "self", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_isMenuCommand_get",_kwnames
,&_argo0
))
1476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1483 wxPy_BEGIN_ALLOW_THREADS
;
1484 _result
= (bool )wxToolBarTool_m_isMenuCommand_get(_arg0
);
1486 wxPy_END_ALLOW_THREADS
;
1487 } _resultobj
= Py_BuildValue("i",_result
);
1491 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1492 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1495 wxToolBarTool
* _arg0
;
1497 PyObject
* _argo0
= 0;
1498 PyObject
* _obj1
= 0;
1499 char *_kwnames
[] = { "self","m_shortHelpString", NULL
};
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_shortHelpString_set",_kwnames
,&_argo0
,&_obj1
))
1505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1512 if (!PyString_Check(_obj1
)) {
1513 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1516 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1519 wxPy_BEGIN_ALLOW_THREADS
;
1520 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_set(_arg0
,_arg1
);
1522 wxPy_END_ALLOW_THREADS
;
1524 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1533 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1534 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1537 wxToolBarTool
* _arg0
;
1538 PyObject
* _argo0
= 0;
1539 char *_kwnames
[] = { "self", NULL
};
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_shortHelpString_get",_kwnames
,&_argo0
))
1545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1552 wxPy_BEGIN_ALLOW_THREADS
;
1553 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_get(_arg0
);
1555 wxPy_END_ALLOW_THREADS
;
1557 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1562 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1563 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1566 wxToolBarTool
* _arg0
;
1568 PyObject
* _argo0
= 0;
1569 PyObject
* _obj1
= 0;
1570 char *_kwnames
[] = { "self","m_longHelpString", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarTool_m_longHelpString_set",_kwnames
,&_argo0
,&_obj1
))
1576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1583 if (!PyString_Check(_obj1
)) {
1584 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1587 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1590 wxPy_BEGIN_ALLOW_THREADS
;
1591 _result
= (wxString
*)wxToolBarTool_m_longHelpString_set(_arg0
,_arg1
);
1593 wxPy_END_ALLOW_THREADS
;
1595 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1604 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1605 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1608 wxToolBarTool
* _arg0
;
1609 PyObject
* _argo0
= 0;
1610 char *_kwnames
[] = { "self", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarTool_m_longHelpString_get",_kwnames
,&_argo0
))
1616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1623 wxPy_BEGIN_ALLOW_THREADS
;
1624 _result
= (wxString
*)wxToolBarTool_m_longHelpString_get(_arg0
);
1626 wxPy_END_ALLOW_THREADS
;
1628 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1633 static void *SwigwxToolBarTowxControl(void *ptr
) {
1636 src
= (wxToolBar
*) ptr
;
1637 dest
= (wxControl
*) src
;
1638 return (void *) dest
;
1641 static void *SwigwxToolBarTowxWindow(void *ptr
) {
1644 src
= (wxToolBar
*) ptr
;
1645 dest
= (wxWindow
*) src
;
1646 return (void *) dest
;
1649 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
1652 src
= (wxToolBar
*) ptr
;
1653 dest
= (wxEvtHandler
*) src
;
1654 return (void *) dest
;
1657 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1658 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1660 wxToolBar
* _result
;
1663 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1664 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1665 long _arg4
= (long ) wxTB_HORIZONTAL
|wxNO_BORDER
;
1666 char * _arg5
= (char *) "toolBar";
1667 PyObject
* _argo0
= 0;
1668 PyObject
* _argo2
= 0;
1669 PyObject
* _argo3
= 0;
1670 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
1677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1684 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1685 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
1686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p.");
1691 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p.");
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1701 wxPy_END_ALLOW_THREADS
;
1703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
1704 _resultobj
= Py_BuildValue("s",_ptemp
);
1707 _resultobj
= Py_None
;
1712 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1713 static PyObject
*_wrap_wxToolBar_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1716 PyObject
* _argo0
= 0;
1717 char *_kwnames
[] = { "self", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_AddSeparator",_kwnames
,&_argo0
))
1723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1730 wxPy_BEGIN_ALLOW_THREADS
;
1731 wxToolBar_AddSeparator(_arg0
);
1733 wxPy_END_ALLOW_THREADS
;
1734 } Py_INCREF(Py_None
);
1735 _resultobj
= Py_None
;
1739 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
) {
1740 return self
->AddTool(toolIndex
, bitmap1
, bitmap2
,
1741 isToggle
, xPos
, yPos
, NULL
,
1742 shortHelpString
, longHelpString
);
1744 static PyObject
*_wrap_wxToolBar_AddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1746 wxToolBarTool
* _result
;
1750 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1751 int _arg4
= (int ) FALSE
;
1752 long _arg5
= (long ) -1;
1753 long _arg6
= (long ) -1;
1754 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1755 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1756 PyObject
* _argo0
= 0;
1757 PyObject
* _argo2
= 0;
1758 PyObject
* _argo3
= 0;
1759 PyObject
* _obj7
= 0;
1760 PyObject
* _obj8
= 0;
1761 char *_kwnames
[] = { "self","toolIndex","bitmap1","bitmap2","isToggle","xPos","yPos","shortHelpString","longHelpString", NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OillOO:wxToolBar_AddTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
,&_obj8
))
1768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1775 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1776 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1782 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1790 if (!PyString_Check(_obj7
)) {
1791 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1794 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1798 if (!PyString_Check(_obj8
)) {
1799 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1802 _arg8
= new wxString(PyString_AsString(_obj8
), PyString_Size(_obj8
));
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 _result
= (wxToolBarTool
*)wxToolBar_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1808 wxPy_END_ALLOW_THREADS
;
1810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1811 _resultobj
= Py_BuildValue("s",_ptemp
);
1814 _resultobj
= Py_None
;
1827 static wxToolBarTool
* wxToolBar_AddSimpleTool(wxToolBar
*self
,int toolIndex
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1828 return self
->AddTool(toolIndex
, bitmap
, wxNullBitmap
,
1829 FALSE
, -1, -1, NULL
,
1830 shortHelpString
, longHelpString
);
1832 static PyObject
*_wrap_wxToolBar_AddSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1834 wxToolBarTool
* _result
;
1838 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1839 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1840 PyObject
* _argo0
= 0;
1841 PyObject
* _argo2
= 0;
1842 PyObject
* _obj3
= 0;
1843 PyObject
* _obj4
= 0;
1844 char *_kwnames
[] = { "self","toolIndex","bitmap","shortHelpString","longHelpString", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OO:wxToolBar_AddSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
))
1851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1858 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1859 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1866 if (!PyString_Check(_obj3
)) {
1867 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1870 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1874 if (!PyString_Check(_obj4
)) {
1875 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1878 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1881 wxPy_BEGIN_ALLOW_THREADS
;
1882 _result
= (wxToolBarTool
*)wxToolBar_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
);
1884 wxPy_END_ALLOW_THREADS
;
1886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1887 _resultobj
= Py_BuildValue("s",_ptemp
);
1890 _resultobj
= Py_None
;
1903 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1904 static PyObject
*_wrap_wxToolBar_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1909 PyObject
* _argo0
= 0;
1911 char *_kwnames
[] = { "self","toolIndex","enable", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1923 _arg2
= (bool ) tempbool2
;
1925 wxPy_BEGIN_ALLOW_THREADS
;
1926 wxToolBar_EnableTool(_arg0
,_arg1
,_arg2
);
1928 wxPy_END_ALLOW_THREADS
;
1929 } Py_INCREF(Py_None
);
1930 _resultobj
= Py_None
;
1934 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
1935 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1937 wxToolBarTool
* _result
;
1941 PyObject
* _argo0
= 0;
1942 char *_kwnames
[] = { "self","x","y", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Off:wxToolBar_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
1956 wxPy_BEGIN_ALLOW_THREADS
;
1957 _result
= (wxToolBarTool
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
1959 wxPy_END_ALLOW_THREADS
;
1961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1962 _resultobj
= Py_BuildValue("s",_ptemp
);
1965 _resultobj
= Py_None
;
1970 #define wxToolBar_GetToolSize(_swigobj) (_swigobj->GetToolSize())
1971 static PyObject
*_wrap_wxToolBar_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1975 PyObject
* _argo0
= 0;
1976 char *_kwnames
[] = { "self", NULL
};
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolSize",_kwnames
,&_argo0
))
1983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
1985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSize. Expected _wxToolBar_p.");
1990 wxPy_BEGIN_ALLOW_THREADS
;
1991 _result
= new wxSize (wxToolBar_GetToolSize(_arg0
));
1993 wxPy_END_ALLOW_THREADS
;
1994 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1995 _resultobj
= Py_BuildValue("s",_ptemp
);
1999 #define wxToolBar_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
2000 static PyObject
*_wrap_wxToolBar_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2004 PyObject
* _argo0
= 0;
2005 char *_kwnames
[] = { "self", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolBitmapSize",_kwnames
,&_argo0
))
2012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolBitmapSize. Expected _wxToolBar_p.");
2019 wxPy_BEGIN_ALLOW_THREADS
;
2020 _result
= new wxSize (wxToolBar_GetToolBitmapSize(_arg0
));
2022 wxPy_END_ALLOW_THREADS
;
2023 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2024 _resultobj
= Py_BuildValue("s",_ptemp
);
2028 #define wxToolBar_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
2029 static PyObject
*_wrap_wxToolBar_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2033 PyObject
* _argo0
= 0;
2034 PyObject
* _argo1
= 0;
2035 char *_kwnames
[] = { "self","size", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBar_SetToolBitmapSize",_kwnames
,&_argo0
,&_argo1
))
2041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolBitmapSize. Expected _wxToolBar_p.");
2048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
2050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetToolBitmapSize. Expected _wxSize_p.");
2055 wxPy_BEGIN_ALLOW_THREADS
;
2056 wxToolBar_SetToolBitmapSize(_arg0
,*_arg1
);
2058 wxPy_END_ALLOW_THREADS
;
2059 } Py_INCREF(Py_None
);
2060 _resultobj
= Py_None
;
2064 #define wxToolBar_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
2065 static PyObject
*_wrap_wxToolBar_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
* _resultobj
;
2069 PyObject
* _argo0
= 0;
2070 char *_kwnames
[] = { "self", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetMaxSize",_kwnames
,&_argo0
))
2077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetMaxSize. Expected _wxToolBar_p.");
2084 wxPy_BEGIN_ALLOW_THREADS
;
2085 _result
= new wxSize (wxToolBar_GetMaxSize(_arg0
));
2087 wxPy_END_ALLOW_THREADS
;
2088 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2089 _resultobj
= Py_BuildValue("s",_ptemp
);
2093 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2094 static PyObject
*_wrap_wxToolBar_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2099 PyObject
* _argo0
= 0;
2100 char *_kwnames
[] = { "self","toolIndex", NULL
};
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))
2106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
2113 wxPy_BEGIN_ALLOW_THREADS
;
2114 _result
= (bool )wxToolBar_GetToolEnabled(_arg0
,_arg1
);
2116 wxPy_END_ALLOW_THREADS
;
2117 } _resultobj
= Py_BuildValue("i",_result
);
2121 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2122 static PyObject
*_wrap_wxToolBar_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
* _resultobj
;
2127 PyObject
* _argo0
= 0;
2128 char *_kwnames
[] = { "self","toolIndex", NULL
};
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))
2134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
2141 wxPy_BEGIN_ALLOW_THREADS
;
2142 _result
= new wxString (wxToolBar_GetToolLongHelp(_arg0
,_arg1
));
2144 wxPy_END_ALLOW_THREADS
;
2146 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2154 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2155 static PyObject
*_wrap_wxToolBar_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
* _resultobj
;
2159 PyObject
* _argo0
= 0;
2160 char *_kwnames
[] = { "self", NULL
};
2163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolPacking",_kwnames
,&_argo0
))
2166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
2173 wxPy_BEGIN_ALLOW_THREADS
;
2174 _result
= (int )wxToolBar_GetToolPacking(_arg0
);
2176 wxPy_END_ALLOW_THREADS
;
2177 } _resultobj
= Py_BuildValue("i",_result
);
2181 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2182 static PyObject
*_wrap_wxToolBar_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2186 PyObject
* _argo0
= 0;
2187 char *_kwnames
[] = { "self", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_GetToolSeparation",_kwnames
,&_argo0
))
2193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
2200 wxPy_BEGIN_ALLOW_THREADS
;
2201 _result
= (int )wxToolBar_GetToolSeparation(_arg0
);
2203 wxPy_END_ALLOW_THREADS
;
2204 } _resultobj
= Py_BuildValue("i",_result
);
2208 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2209 static PyObject
*_wrap_wxToolBar_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
* _resultobj
;
2214 PyObject
* _argo0
= 0;
2215 char *_kwnames
[] = { "self","toolIndex", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))
2221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
2228 wxPy_BEGIN_ALLOW_THREADS
;
2229 _result
= new wxString (wxToolBar_GetToolShortHelp(_arg0
,_arg1
));
2231 wxPy_END_ALLOW_THREADS
;
2233 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2241 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2242 static PyObject
*_wrap_wxToolBar_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2247 PyObject
* _argo0
= 0;
2248 char *_kwnames
[] = { "self","toolIndex", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_GetToolState",_kwnames
,&_argo0
,&_arg1
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
2261 wxPy_BEGIN_ALLOW_THREADS
;
2262 _result
= (bool )wxToolBar_GetToolState(_arg0
,_arg1
);
2264 wxPy_END_ALLOW_THREADS
;
2265 } _resultobj
= Py_BuildValue("i",_result
);
2269 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
2270 static PyObject
*_wrap_wxToolBar_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
* _resultobj
;
2274 PyObject
* _argo0
= 0;
2275 char *_kwnames
[] = { "self", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBar_Realize",_kwnames
,&_argo0
))
2281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
2288 wxPy_BEGIN_ALLOW_THREADS
;
2289 _result
= (bool )wxToolBar_Realize(_arg0
);
2291 wxPy_END_ALLOW_THREADS
;
2292 } _resultobj
= Py_BuildValue("i",_result
);
2296 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2297 static PyObject
*_wrap_wxToolBar_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
* _resultobj
;
2302 PyObject
* _argo0
= 0;
2303 PyObject
* _obj2
= 0;
2304 char *_kwnames
[] = { "self","toolIndex","helpString", NULL
};
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBar_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
2317 if (!PyString_Check(_obj2
)) {
2318 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2321 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2324 wxPy_BEGIN_ALLOW_THREADS
;
2325 wxToolBar_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
2327 wxPy_END_ALLOW_THREADS
;
2328 } Py_INCREF(Py_None
);
2329 _resultobj
= Py_None
;
2337 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2338 static PyObject
*_wrap_wxToolBar_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2343 PyObject
* _argo0
= 0;
2344 PyObject
* _obj2
= 0;
2345 char *_kwnames
[] = { "self","toolIndex","helpString", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBar_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
2358 if (!PyString_Check(_obj2
)) {
2359 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2362 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 wxToolBar_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
2368 wxPy_END_ALLOW_THREADS
;
2369 } Py_INCREF(Py_None
);
2370 _resultobj
= Py_None
;
2378 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2379 static PyObject
*_wrap_wxToolBar_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
* _resultobj
;
2383 PyObject
* _argo0
= 0;
2384 PyObject
* _argo1
= 0;
2385 char *_kwnames
[] = { "self","size", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBar_SetMargins",_kwnames
,&_argo0
,&_argo1
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
2398 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2399 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxSize_p")) {
2400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetMargins. Expected _wxSize_p.");
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 wxToolBar_SetMargins(_arg0
,*_arg1
);
2408 wxPy_END_ALLOW_THREADS
;
2409 } Py_INCREF(Py_None
);
2410 _resultobj
= Py_None
;
2414 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2415 static PyObject
*_wrap_wxToolBar_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
* _resultobj
;
2419 PyObject
* _argo0
= 0;
2420 char *_kwnames
[] = { "self","packing", NULL
};
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))
2426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
2433 wxPy_BEGIN_ALLOW_THREADS
;
2434 wxToolBar_SetToolPacking(_arg0
,_arg1
);
2436 wxPy_END_ALLOW_THREADS
;
2437 } Py_INCREF(Py_None
);
2438 _resultobj
= Py_None
;
2442 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2443 static PyObject
*_wrap_wxToolBar_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
* _resultobj
;
2447 PyObject
* _argo0
= 0;
2448 char *_kwnames
[] = { "self","separation", NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBar_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))
2454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
2461 wxPy_BEGIN_ALLOW_THREADS
;
2462 wxToolBar_SetToolSeparation(_arg0
,_arg1
);
2464 wxPy_END_ALLOW_THREADS
;
2465 } Py_INCREF(Py_None
);
2466 _resultobj
= Py_None
;
2470 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2471 static PyObject
*_wrap_wxToolBar_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2476 PyObject
* _argo0
= 0;
2478 char *_kwnames
[] = { "self","toolIndex","toggle", NULL
};
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
2490 _arg2
= (bool ) tempbool2
;
2492 wxPy_BEGIN_ALLOW_THREADS
;
2493 wxToolBar_ToggleTool(_arg0
,_arg1
,_arg2
);
2495 wxPy_END_ALLOW_THREADS
;
2496 } Py_INCREF(Py_None
);
2497 _resultobj
= Py_None
;
2501 static PyMethodDef stattoolcMethods
[] = {
2502 { "wxToolBar_ToggleTool", (PyCFunction
) _wrap_wxToolBar_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
2503 { "wxToolBar_SetToolSeparation", (PyCFunction
) _wrap_wxToolBar_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
2504 { "wxToolBar_SetToolPacking", (PyCFunction
) _wrap_wxToolBar_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
2505 { "wxToolBar_SetMargins", (PyCFunction
) _wrap_wxToolBar_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
2506 { "wxToolBar_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBar_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
2507 { "wxToolBar_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBar_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
2508 { "wxToolBar_Realize", (PyCFunction
) _wrap_wxToolBar_Realize
, METH_VARARGS
| METH_KEYWORDS
},
2509 { "wxToolBar_GetToolState", (PyCFunction
) _wrap_wxToolBar_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
2510 { "wxToolBar_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBar_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
2511 { "wxToolBar_GetToolSeparation", (PyCFunction
) _wrap_wxToolBar_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
2512 { "wxToolBar_GetToolPacking", (PyCFunction
) _wrap_wxToolBar_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
2513 { "wxToolBar_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBar_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
2514 { "wxToolBar_GetToolEnabled", (PyCFunction
) _wrap_wxToolBar_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
2515 { "wxToolBar_GetMaxSize", (PyCFunction
) _wrap_wxToolBar_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
2516 { "wxToolBar_SetToolBitmapSize", (PyCFunction
) _wrap_wxToolBar_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
2517 { "wxToolBar_GetToolBitmapSize", (PyCFunction
) _wrap_wxToolBar_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
2518 { "wxToolBar_GetToolSize", (PyCFunction
) _wrap_wxToolBar_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
2519 { "wxToolBar_FindToolForPosition", (PyCFunction
) _wrap_wxToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
2520 { "wxToolBar_EnableTool", (PyCFunction
) _wrap_wxToolBar_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
2521 { "wxToolBar_AddSimpleTool", (PyCFunction
) _wrap_wxToolBar_AddSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
2522 { "wxToolBar_AddTool", (PyCFunction
) _wrap_wxToolBar_AddTool
, METH_VARARGS
| METH_KEYWORDS
},
2523 { "wxToolBar_AddSeparator", (PyCFunction
) _wrap_wxToolBar_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
2524 { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS
| METH_KEYWORDS
},
2525 { "wxToolBarTool_m_longHelpString_get", (PyCFunction
) _wrap_wxToolBarTool_m_longHelpString_get
, METH_VARARGS
| METH_KEYWORDS
},
2526 { "wxToolBarTool_m_longHelpString_set", (PyCFunction
) _wrap_wxToolBarTool_m_longHelpString_set
, METH_VARARGS
| METH_KEYWORDS
},
2527 { "wxToolBarTool_m_shortHelpString_get", (PyCFunction
) _wrap_wxToolBarTool_m_shortHelpString_get
, METH_VARARGS
| METH_KEYWORDS
},
2528 { "wxToolBarTool_m_shortHelpString_set", (PyCFunction
) _wrap_wxToolBarTool_m_shortHelpString_set
, METH_VARARGS
| METH_KEYWORDS
},
2529 { "wxToolBarTool_m_isMenuCommand_get", (PyCFunction
) _wrap_wxToolBarTool_m_isMenuCommand_get
, METH_VARARGS
| METH_KEYWORDS
},
2530 { "wxToolBarTool_m_isMenuCommand_set", (PyCFunction
) _wrap_wxToolBarTool_m_isMenuCommand_set
, METH_VARARGS
| METH_KEYWORDS
},
2531 { "wxToolBarTool_m_bitmap2_get", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap2_get
, METH_VARARGS
| METH_KEYWORDS
},
2532 { "wxToolBarTool_m_bitmap2_set", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap2_set
, METH_VARARGS
| METH_KEYWORDS
},
2533 { "wxToolBarTool_m_bitmap1_get", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap1_get
, METH_VARARGS
| METH_KEYWORDS
},
2534 { "wxToolBarTool_m_bitmap1_set", (PyCFunction
) _wrap_wxToolBarTool_m_bitmap1_set
, METH_VARARGS
| METH_KEYWORDS
},
2535 { "wxToolBarTool_m_enabled_get", (PyCFunction
) _wrap_wxToolBarTool_m_enabled_get
, METH_VARARGS
| METH_KEYWORDS
},
2536 { "wxToolBarTool_m_enabled_set", (PyCFunction
) _wrap_wxToolBarTool_m_enabled_set
, METH_VARARGS
| METH_KEYWORDS
},
2537 { "wxToolBarTool_m_deleteSecondBitmap_get", (PyCFunction
) _wrap_wxToolBarTool_m_deleteSecondBitmap_get
, METH_VARARGS
| METH_KEYWORDS
},
2538 { "wxToolBarTool_m_deleteSecondBitmap_set", (PyCFunction
) _wrap_wxToolBarTool_m_deleteSecondBitmap_set
, METH_VARARGS
| METH_KEYWORDS
},
2539 { "wxToolBarTool_m_isToggle_get", (PyCFunction
) _wrap_wxToolBarTool_m_isToggle_get
, METH_VARARGS
| METH_KEYWORDS
},
2540 { "wxToolBarTool_m_isToggle_set", (PyCFunction
) _wrap_wxToolBarTool_m_isToggle_set
, METH_VARARGS
| METH_KEYWORDS
},
2541 { "wxToolBarTool_m_toggleState_get", (PyCFunction
) _wrap_wxToolBarTool_m_toggleState_get
, METH_VARARGS
| METH_KEYWORDS
},
2542 { "wxToolBarTool_m_toggleState_set", (PyCFunction
) _wrap_wxToolBarTool_m_toggleState_set
, METH_VARARGS
| METH_KEYWORDS
},
2543 { "wxToolBarTool_m_height_get", (PyCFunction
) _wrap_wxToolBarTool_m_height_get
, METH_VARARGS
| METH_KEYWORDS
},
2544 { "wxToolBarTool_m_height_set", (PyCFunction
) _wrap_wxToolBarTool_m_height_set
, METH_VARARGS
| METH_KEYWORDS
},
2545 { "wxToolBarTool_m_width_get", (PyCFunction
) _wrap_wxToolBarTool_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
2546 { "wxToolBarTool_m_width_set", (PyCFunction
) _wrap_wxToolBarTool_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
2547 { "wxToolBarTool_m_y_get", (PyCFunction
) _wrap_wxToolBarTool_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
2548 { "wxToolBarTool_m_y_set", (PyCFunction
) _wrap_wxToolBarTool_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
2549 { "wxToolBarTool_m_x_get", (PyCFunction
) _wrap_wxToolBarTool_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
2550 { "wxToolBarTool_m_x_set", (PyCFunction
) _wrap_wxToolBarTool_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
2551 { "wxToolBarTool_m_index_get", (PyCFunction
) _wrap_wxToolBarTool_m_index_get
, METH_VARARGS
| METH_KEYWORDS
},
2552 { "wxToolBarTool_m_index_set", (PyCFunction
) _wrap_wxToolBarTool_m_index_set
, METH_VARARGS
| METH_KEYWORDS
},
2553 { "wxToolBarTool_m_clientData_get", (PyCFunction
) _wrap_wxToolBarTool_m_clientData_get
, METH_VARARGS
| METH_KEYWORDS
},
2554 { "wxToolBarTool_m_clientData_set", (PyCFunction
) _wrap_wxToolBarTool_m_clientData_set
, METH_VARARGS
| METH_KEYWORDS
},
2555 { "wxToolBarTool_m_toolStyle_get", (PyCFunction
) _wrap_wxToolBarTool_m_toolStyle_get
, METH_VARARGS
| METH_KEYWORDS
},
2556 { "wxToolBarTool_m_toolStyle_set", (PyCFunction
) _wrap_wxToolBarTool_m_toolStyle_set
, METH_VARARGS
| METH_KEYWORDS
},
2557 { "wxToolBarTool_GetHeight", (PyCFunction
) _wrap_wxToolBarTool_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
2558 { "wxToolBarTool_GetWidth", (PyCFunction
) _wrap_wxToolBarTool_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
2559 { "wxToolBarTool_SetSize", (PyCFunction
) _wrap_wxToolBarTool_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
2560 { "delete_wxToolBarTool", (PyCFunction
) _wrap_delete_wxToolBarTool
, METH_VARARGS
| METH_KEYWORDS
},
2561 { "new_wxToolBarTool", (PyCFunction
) _wrap_new_wxToolBarTool
, METH_VARARGS
| METH_KEYWORDS
},
2562 { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
2563 { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2564 { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
2565 { "wxStatusBar_InitColours", (PyCFunction
) _wrap_wxStatusBar_InitColours
, METH_VARARGS
| METH_KEYWORDS
},
2566 { "wxStatusBar_DrawFieldText", (PyCFunction
) _wrap_wxStatusBar_DrawFieldText
, METH_VARARGS
| METH_KEYWORDS
},
2567 { "wxStatusBar_DrawField", (PyCFunction
) _wrap_wxStatusBar_DrawField
, METH_VARARGS
| METH_KEYWORDS
},
2568 { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
2569 { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
2570 { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
2571 { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
2578 * This table is used by the pointer type-checker
2580 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
2581 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
2582 { "_wxEvent","_class_wxEvent",0},
2583 { "_class_wxActivateEvent","_wxActivateEvent",0},
2584 { "_signed_long","_long",0},
2585 { "_wxMenuEvent","_class_wxMenuEvent",0},
2586 { "_wxPrintQuality","_int",0},
2587 { "_wxPrintQuality","_signed_int",0},
2588 { "_wxPrintQuality","_unsigned_int",0},
2589 { "_wxPrintQuality","_wxWindowID",0},
2590 { "_wxPrintQuality","_uint",0},
2591 { "_wxPrintQuality","_EBool",0},
2592 { "_wxPrintQuality","_size_t",0},
2593 { "_class_wxRegionIterator","_wxRegionIterator",0},
2594 { "_class_wxMenuBar","_wxMenuBar",0},
2595 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2596 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2597 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2598 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2599 { "_class_wxEvtHandler","_wxEvtHandler",0},
2600 { "_wxPaintEvent","_class_wxPaintEvent",0},
2601 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
2602 { "_wxCursor","_class_wxCursor",0},
2603 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
2604 { "_wxMask","_class_wxMask",0},
2605 { "_wxPen","_class_wxPen",0},
2606 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
2607 { "_byte","_unsigned_char",0},
2608 { "_wxStaticBox","_class_wxStaticBox",0},
2609 { "_wxChoice","_class_wxChoice",0},
2610 { "_wxSlider","_class_wxSlider",0},
2611 { "_long","_wxDash",0},
2612 { "_long","_unsigned_long",0},
2613 { "_long","_signed_long",0},
2614 { "_wxImageList","_class_wxImageList",0},
2615 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
2616 { "_wxBitmapButton","_class_wxBitmapButton",0},
2617 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
2618 { "_class_wxGauge","_wxGauge",0},
2619 { "_wxDC","_class_wxDC",0},
2620 { "_wxSpinEvent","_class_wxSpinEvent",0},
2621 { "_size_t","_wxPrintQuality",0},
2622 { "_size_t","_unsigned_int",0},
2623 { "_size_t","_int",0},
2624 { "_size_t","_wxWindowID",0},
2625 { "_size_t","_uint",0},
2626 { "_class_wxRealPoint","_wxRealPoint",0},
2627 { "_wxPrinterDC","_class_wxPrinterDC",0},
2628 { "_class_wxMenuItem","_wxMenuItem",0},
2629 { "_class_wxPaintEvent","_wxPaintEvent",0},
2630 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
2631 { "_class_wxStatusBar","_wxStatusBar",0},
2632 { "_wxPanel","_class_wxPanel",0},
2633 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
2634 { "_wxCheckBox","_class_wxCheckBox",0},
2635 { "_wxPyEvent","_class_wxPyEvent",0},
2636 { "_wxTextCtrl","_class_wxTextCtrl",0},
2637 { "_class_wxMask","_wxMask",0},
2638 { "_class_wxKeyEvent","_wxKeyEvent",0},
2639 { "_wxColour","_class_wxColour",0},
2640 { "_class_wxDialog","_wxDialog",0},
2641 { "_wxIdleEvent","_class_wxIdleEvent",0},
2642 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
2643 { "_wxToolBar","_class_wxToolBar",0},
2644 { "_wxStaticLine","_class_wxStaticLine",0},
2645 { "_wxBrush","_class_wxBrush",0},
2646 { "_wxShowEvent","_class_wxShowEvent",0},
2647 { "_uint","_wxPrintQuality",0},
2648 { "_uint","_size_t",0},
2649 { "_uint","_unsigned_int",0},
2650 { "_uint","_int",0},
2651 { "_uint","_wxWindowID",0},
2652 { "_class_wxEvent","_wxEvent",0},
2653 { "_wxCheckListBox","_class_wxCheckListBox",0},
2654 { "_wxRect","_class_wxRect",0},
2655 { "_wxCommandEvent","_class_wxCommandEvent",0},
2656 { "_wxSizeEvent","_class_wxSizeEvent",0},
2657 { "_wxPoint","_class_wxPoint",0},
2658 { "_class_wxButton","_wxButton",0},
2659 { "_wxRadioBox","_class_wxRadioBox",0},
2660 { "_wxBitmap","_class_wxBitmap",0},
2661 { "_wxPyTimer","_class_wxPyTimer",0},
2662 { "_wxWindowDC","_class_wxWindowDC",0},
2663 { "_wxScrollBar","_class_wxScrollBar",0},
2664 { "_wxSpinButton","_class_wxSpinButton",0},
2665 { "_wxToolBarTool","_class_wxToolBarTool",0},
2666 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
2667 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
2668 { "_class_wxPyEvent","_wxPyEvent",0},
2669 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
2670 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
2671 { "_class_wxToolBar","_wxToolBar",0},
2672 { "_class_wxStaticLine","_wxStaticLine",0},
2673 { "_wxScrollEvent","_class_wxScrollEvent",0},
2674 { "_EBool","_wxPrintQuality",0},
2675 { "_EBool","_signed_int",0},
2676 { "_EBool","_int",0},
2677 { "_EBool","_wxWindowID",0},
2678 { "_class_wxRegion","_wxRegion",0},
2679 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
2680 { "_wxStaticText","_class_wxStaticText",0},
2681 { "_wxFont","_class_wxFont",0},
2682 { "_wxCloseEvent","_class_wxCloseEvent",0},
2683 { "_unsigned_long","_wxDash",0},
2684 { "_unsigned_long","_long",0},
2685 { "_class_wxRect","_wxRect",0},
2686 { "_class_wxDC","_wxDC",0},
2687 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
2688 { "_class_wxPyTimer","_wxPyTimer",0},
2689 { "_wxFocusEvent","_class_wxFocusEvent",0},
2690 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
2691 { "_class_wxSpinButton","_wxSpinButton",0},
2692 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
2693 { "_class_wxPanel","_wxPanel",0},
2694 { "_class_wxCheckBox","_wxCheckBox",0},
2695 { "_wxComboBox","_class_wxComboBox",0},
2696 { "_wxRadioButton","_class_wxRadioButton",0},
2697 { "_signed_int","_wxPrintQuality",0},
2698 { "_signed_int","_EBool",0},
2699 { "_signed_int","_wxWindowID",0},
2700 { "_signed_int","_int",0},
2701 { "_class_wxTextCtrl","_wxTextCtrl",0},
2702 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
2703 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
2704 { "_wxMenu","_class_wxMenu",0},
2705 { "_class_wxMoveEvent","_wxMoveEvent",0},
2706 { "_wxListBox","_class_wxListBox",0},
2707 { "_wxScreenDC","_class_wxScreenDC",0},
2708 { "_WXTYPE","_short",0},
2709 { "_WXTYPE","_signed_short",0},
2710 { "_WXTYPE","_unsigned_short",0},
2711 { "_class_wxBrush","_wxBrush",0},
2712 { "_unsigned_short","_WXTYPE",0},
2713 { "_unsigned_short","_short",0},
2714 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2715 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2716 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2717 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2718 { "_class_wxWindow","_wxWindow",0},
2719 { "_class_wxStaticText","_wxStaticText",0},
2720 { "_class_wxFont","_wxFont",0},
2721 { "_class_wxCloseEvent","_wxCloseEvent",0},
2722 { "_class_wxMenuEvent","_wxMenuEvent",0},
2723 { "_wxClientDC","_class_wxClientDC",0},
2724 { "_wxMouseEvent","_class_wxMouseEvent",0},
2725 { "_class_wxPoint","_wxPoint",0},
2726 { "_wxRealPoint","_class_wxRealPoint",0},
2727 { "_class_wxRadioBox","_wxRadioBox",0},
2728 { "_signed_short","_WXTYPE",0},
2729 { "_signed_short","_short",0},
2730 { "_wxMemoryDC","_class_wxMemoryDC",0},
2731 { "_wxPaintDC","_class_wxPaintDC",0},
2732 { "_class_wxWindowDC","_wxWindowDC",0},
2733 { "_class_wxFocusEvent","_wxFocusEvent",0},
2734 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
2735 { "_wxStatusBar","_class_wxStatusBar",0},
2736 { "_class_wxToolBarTool","_wxToolBarTool",0},
2737 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
2738 { "_class_wxCursor","_wxCursor",0},
2739 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
2740 { "_unsigned_char","_byte",0},
2741 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
2742 { "_class_wxMenu","_wxMenu",0},
2743 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2744 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2745 { "_wxControl","_class_wxControl",0},
2746 { "_class_wxListBox","_wxListBox",0},
2747 { "_unsigned_int","_wxPrintQuality",0},
2748 { "_unsigned_int","_size_t",0},
2749 { "_unsigned_int","_uint",0},
2750 { "_unsigned_int","_wxWindowID",0},
2751 { "_unsigned_int","_int",0},
2752 { "_wxIcon","_class_wxIcon",0},
2753 { "_wxDialog","_class_wxDialog",0},
2754 { "_class_wxPen","_wxPen",0},
2755 { "_short","_WXTYPE",0},
2756 { "_short","_unsigned_short",0},
2757 { "_short","_signed_short",0},
2758 { "_class_wxStaticBox","_wxStaticBox",0},
2759 { "_class_wxScrollEvent","_wxScrollEvent",0},
2760 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
2761 { "_class_wxChoice","_wxChoice",0},
2762 { "_class_wxSlider","_wxSlider",0},
2763 { "_class_wxImageList","_wxImageList",0},
2764 { "_class_wxBitmapButton","_wxBitmapButton",0},
2765 { "_wxWindowID","_wxPrintQuality",0},
2766 { "_wxWindowID","_size_t",0},
2767 { "_wxWindowID","_EBool",0},
2768 { "_wxWindowID","_uint",0},
2769 { "_wxWindowID","_int",0},
2770 { "_wxWindowID","_signed_int",0},
2771 { "_wxWindowID","_unsigned_int",0},
2772 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
2773 { "_int","_wxPrintQuality",0},
2774 { "_int","_size_t",0},
2775 { "_int","_EBool",0},
2776 { "_int","_uint",0},
2777 { "_int","_wxWindowID",0},
2778 { "_int","_unsigned_int",0},
2779 { "_int","_signed_int",0},
2780 { "_class_wxMouseEvent","_wxMouseEvent",0},
2781 { "_class_wxSpinEvent","_wxSpinEvent",0},
2782 { "_wxButton","_class_wxButton",0},
2783 { "_wxSize","_class_wxSize",0},
2784 { "_wxRegionIterator","_class_wxRegionIterator",0},
2785 { "_class_wxPrinterDC","_wxPrinterDC",0},
2786 { "_class_wxPaintDC","_wxPaintDC",0},
2787 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
2788 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
2789 { "_class_wxComboBox","_wxComboBox",0},
2790 { "_class_wxRadioButton","_wxRadioButton",0},
2791 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
2792 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
2793 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
2794 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
2795 { "_class_wxControl","_wxControl",0},
2796 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
2797 { "_class_wxIcon","_wxIcon",0},
2798 { "_class_wxColour","_wxColour",0},
2799 { "_class_wxScreenDC","_wxScreenDC",0},
2800 { "_wxPalette","_class_wxPalette",0},
2801 { "_class_wxIdleEvent","_wxIdleEvent",0},
2802 { "_wxEraseEvent","_class_wxEraseEvent",0},
2803 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
2804 { "_wxRegion","_class_wxRegion",0},
2805 { "_class_wxShowEvent","_wxShowEvent",0},
2806 { "_wxActivateEvent","_class_wxActivateEvent",0},
2807 { "_wxGauge","_class_wxGauge",0},
2808 { "_class_wxCheckListBox","_wxCheckListBox",0},
2809 { "_class_wxCommandEvent","_wxCommandEvent",0},
2810 { "_class_wxClientDC","_wxClientDC",0},
2811 { "_class_wxSizeEvent","_wxSizeEvent",0},
2812 { "_class_wxSize","_wxSize",0},
2813 { "_class_wxBitmap","_wxBitmap",0},
2814 { "_class_wxMemoryDC","_wxMemoryDC",0},
2815 { "_wxMenuBar","_class_wxMenuBar",0},
2816 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2817 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
2818 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2819 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
2820 { "_wxEvtHandler","_class_wxEvtHandler",0},
2821 { "_wxMenuItem","_class_wxMenuItem",0},
2822 { "_class_wxScrollBar","_wxScrollBar",0},
2823 { "_wxDash","_unsigned_long",0},
2824 { "_wxDash","_long",0},
2825 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
2826 { "_wxKeyEvent","_class_wxKeyEvent",0},
2827 { "_wxMoveEvent","_class_wxMoveEvent",0},
2828 { "_class_wxPalette","_wxPalette",0},
2829 { "_class_wxEraseEvent","_wxEraseEvent",0},
2830 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
2831 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
2832 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
2833 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
2834 { "_wxWindow","_class_wxWindow",0},
2837 static PyObject
*SWIG_globals
;
2841 SWIGEXPORT(void) initstattoolc() {
2843 SWIG_globals
= SWIG_newvarlink();
2844 m
= Py_InitModule("stattoolc", stattoolcMethods
);
2845 d
= PyModule_GetDict(m
);
2848 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2849 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);