2 * FILE : msw/stattool.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 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
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
107 extern byte
* byte_LIST_helper(PyObject
* source
);
108 extern int* int_LIST_helper(PyObject
* source
);
109 extern long* long_LIST_helper(PyObject
* source
);
110 extern char** string_LIST_helper(PyObject
* source
);
111 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
112 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
113 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
118 static void *SwigwxStatusBarTowxWindow(void *ptr
) {
121 src
= (wxStatusBar
*) ptr
;
122 dest
= (wxWindow
*) src
;
123 return (void *) dest
;
126 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) {
129 src
= (wxStatusBar
*) ptr
;
130 dest
= (wxEvtHandler
*) src
;
131 return (void *) dest
;
134 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
135 static PyObject
*_wrap_new_wxStatusBar(PyObject
*self
, PyObject
*args
) {
136 PyObject
* _resultobj
;
137 wxStatusBar
* _result
;
140 wxPoint
* _arg2
= &wxPyDefaultPosition
;
141 wxSize
* _arg3
= &wxPyDefaultSize
;
142 long _arg4
= (wxST_SIZEGRIP
);
143 char * _arg5
= "statusBar";
150 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxStatusBar",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
153 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
159 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStatusBar. Expected _wxPoint_p.");
165 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxStatusBar. Expected _wxSize_p.");
171 wxPy_BEGIN_ALLOW_THREADS
;
172 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
174 wxPy_END_ALLOW_THREADS
;
175 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
176 _resultobj
= Py_BuildValue("s",_ptemp
);
180 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
181 wxRect
* rect
= new wxRect
;
182 self
->GetFieldRect(item
, *rect
);
185 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
) {
186 PyObject
* _resultobj
;
194 if(!PyArg_ParseTuple(args
,"sl:wxStatusBar_GetFieldRect",&_argc0
,&_arg1
))
197 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
203 wxPy_BEGIN_ALLOW_THREADS
;
204 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
206 wxPy_END_ALLOW_THREADS
;
207 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
208 _resultobj
= Py_BuildValue("s",_ptemp
);
212 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
213 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
) {
214 PyObject
* _resultobj
;
220 if(!PyArg_ParseTuple(args
,"s:wxStatusBar_GetFieldsCount",&_argc0
))
223 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
229 wxPy_BEGIN_ALLOW_THREADS
;
230 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
232 wxPy_END_ALLOW_THREADS
;
233 } _resultobj
= Py_BuildValue("i",_result
);
237 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
238 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
) {
239 PyObject
* _resultobj
;
246 if(!PyArg_ParseTuple(args
,"s|i:wxStatusBar_GetStatusText",&_argc0
,&_arg1
))
249 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
255 wxPy_BEGIN_ALLOW_THREADS
;
256 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
258 wxPy_END_ALLOW_THREADS
;
260 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
268 #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
269 static PyObject
*_wrap_wxStatusBar_DrawField(PyObject
*self
, PyObject
*args
) {
270 PyObject
* _resultobj
;
278 if(!PyArg_ParseTuple(args
,"ssi:wxStatusBar_DrawField",&_argc0
,&_argc1
,&_arg2
))
281 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
287 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
293 wxPy_BEGIN_ALLOW_THREADS
;
294 wxStatusBar_DrawField(_arg0
,*_arg1
,_arg2
);
296 wxPy_END_ALLOW_THREADS
;
297 } Py_INCREF(Py_None
);
298 _resultobj
= Py_None
;
302 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
303 static PyObject
*_wrap_wxStatusBar_DrawFieldText(PyObject
*self
, PyObject
*args
) {
304 PyObject
* _resultobj
;
312 if(!PyArg_ParseTuple(args
,"ssi:wxStatusBar_DrawFieldText",&_argc0
,&_argc1
,&_arg2
))
315 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
321 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
327 wxPy_BEGIN_ALLOW_THREADS
;
328 wxStatusBar_DrawFieldText(_arg0
,*_arg1
,_arg2
);
330 wxPy_END_ALLOW_THREADS
;
331 } Py_INCREF(Py_None
);
332 _resultobj
= Py_None
;
336 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
337 static PyObject
*_wrap_wxStatusBar_InitColours(PyObject
*self
, PyObject
*args
) {
338 PyObject
* _resultobj
;
343 if(!PyArg_ParseTuple(args
,"s:wxStatusBar_InitColours",&_argc0
))
346 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
352 wxPy_BEGIN_ALLOW_THREADS
;
353 wxStatusBar_InitColours(_arg0
);
355 wxPy_END_ALLOW_THREADS
;
356 } Py_INCREF(Py_None
);
357 _resultobj
= Py_None
;
361 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
362 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
) {
363 PyObject
* _resultobj
;
369 if(!PyArg_ParseTuple(args
,"s|i:wxStatusBar_SetFieldsCount",&_argc0
,&_arg1
))
372 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
378 wxPy_BEGIN_ALLOW_THREADS
;
379 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
381 wxPy_END_ALLOW_THREADS
;
382 } Py_INCREF(Py_None
);
383 _resultobj
= Py_None
;
387 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
388 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
) {
389 PyObject
* _resultobj
;
394 PyObject
* _obj1
= 0;
397 if(!PyArg_ParseTuple(args
,"sO|i:wxStatusBar_SetStatusText",&_argc0
,&_obj1
,&_arg2
))
400 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
406 if (!PyString_Check(_obj1
)) {
407 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
410 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
413 wxPy_BEGIN_ALLOW_THREADS
;
414 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
416 wxPy_END_ALLOW_THREADS
;
417 } Py_INCREF(Py_None
);
418 _resultobj
= Py_None
;
426 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
427 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
) {
428 PyObject
* _resultobj
;
433 PyObject
* _obj2
= 0;
436 if(!PyArg_ParseTuple(args
,"sO:wxStatusBar_SetStatusWidths",&_argc0
,&_obj2
))
439 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
446 _arg2
= int_LIST_helper(_obj2
);
453 _arg1
= PyList_Size(_obj2
);
460 wxPy_BEGIN_ALLOW_THREADS
;
461 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
463 wxPy_END_ALLOW_THREADS
;
464 } Py_INCREF(Py_None
);
465 _resultobj
= Py_None
;
472 #define new_wxToolBarTool() (new wxToolBarTool())
473 static PyObject
*_wrap_new_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
474 PyObject
* _resultobj
;
475 wxToolBarTool
* _result
;
479 if(!PyArg_ParseTuple(args
,":new_wxToolBarTool"))
482 wxPy_BEGIN_ALLOW_THREADS
;
483 _result
= (wxToolBarTool
*)new_wxToolBarTool();
485 wxPy_END_ALLOW_THREADS
;
486 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
487 _resultobj
= Py_BuildValue("s",_ptemp
);
491 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
492 static PyObject
*_wrap_delete_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
493 PyObject
* _resultobj
;
494 wxToolBarTool
* _arg0
;
498 if(!PyArg_ParseTuple(args
,"s:delete_wxToolBarTool",&_argc0
))
501 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
507 wxPy_BEGIN_ALLOW_THREADS
;
508 delete_wxToolBarTool(_arg0
);
510 wxPy_END_ALLOW_THREADS
;
511 } Py_INCREF(Py_None
);
512 _resultobj
= Py_None
;
516 #define wxToolBarTool_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
517 static PyObject
*_wrap_wxToolBarTool_SetSize(PyObject
*self
, PyObject
*args
) {
518 PyObject
* _resultobj
;
519 wxToolBarTool
* _arg0
;
525 if(!PyArg_ParseTuple(args
,"sll:wxToolBarTool_SetSize",&_argc0
,&_arg1
,&_arg2
))
528 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_SetSize. Expected _wxToolBarTool_p.");
534 wxPy_BEGIN_ALLOW_THREADS
;
535 wxToolBarTool_SetSize(_arg0
,_arg1
,_arg2
);
537 wxPy_END_ALLOW_THREADS
;
538 } Py_INCREF(Py_None
);
539 _resultobj
= Py_None
;
543 #define wxToolBarTool_GetWidth(_swigobj) (_swigobj->GetWidth())
544 static PyObject
*_wrap_wxToolBarTool_GetWidth(PyObject
*self
, PyObject
*args
) {
545 PyObject
* _resultobj
;
547 wxToolBarTool
* _arg0
;
551 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_GetWidth",&_argc0
))
554 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetWidth. Expected _wxToolBarTool_p.");
560 wxPy_BEGIN_ALLOW_THREADS
;
561 _result
= (long )wxToolBarTool_GetWidth(_arg0
);
563 wxPy_END_ALLOW_THREADS
;
564 } _resultobj
= Py_BuildValue("l",_result
);
568 #define wxToolBarTool_GetHeight(_swigobj) (_swigobj->GetHeight())
569 static PyObject
*_wrap_wxToolBarTool_GetHeight(PyObject
*self
, PyObject
*args
) {
570 PyObject
* _resultobj
;
572 wxToolBarTool
* _arg0
;
576 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_GetHeight",&_argc0
))
579 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetHeight. Expected _wxToolBarTool_p.");
585 wxPy_BEGIN_ALLOW_THREADS
;
586 _result
= (long )wxToolBarTool_GetHeight(_arg0
);
588 wxPy_END_ALLOW_THREADS
;
589 } _resultobj
= Py_BuildValue("l",_result
);
593 #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
594 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_set(PyObject
*self
, PyObject
*args
) {
595 PyObject
* _resultobj
;
597 wxToolBarTool
* _arg0
;
602 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_toolStyle_set",&_argc0
,&_arg1
))
605 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
611 wxPy_BEGIN_ALLOW_THREADS
;
612 _result
= (int )wxToolBarTool_m_toolStyle_set(_arg0
,_arg1
);
614 wxPy_END_ALLOW_THREADS
;
615 } _resultobj
= Py_BuildValue("i",_result
);
619 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
620 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_get(PyObject
*self
, PyObject
*args
) {
621 PyObject
* _resultobj
;
623 wxToolBarTool
* _arg0
;
627 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_toolStyle_get",&_argc0
))
630 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
636 wxPy_BEGIN_ALLOW_THREADS
;
637 _result
= (int )wxToolBarTool_m_toolStyle_get(_arg0
);
639 wxPy_END_ALLOW_THREADS
;
640 } _resultobj
= Py_BuildValue("i",_result
);
644 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
645 static PyObject
*_wrap_wxToolBarTool_m_clientData_set(PyObject
*self
, PyObject
*args
) {
646 PyObject
* _resultobj
;
648 wxToolBarTool
* _arg0
;
655 if(!PyArg_ParseTuple(args
,"ss:wxToolBarTool_m_clientData_set",&_argc0
,&_argc1
))
658 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
664 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxObject_p")) {
665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
670 wxPy_BEGIN_ALLOW_THREADS
;
671 _result
= (wxObject
*)wxToolBarTool_m_clientData_set(_arg0
,_arg1
);
673 wxPy_END_ALLOW_THREADS
;
674 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
675 _resultobj
= Py_BuildValue("s",_ptemp
);
679 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
680 static PyObject
*_wrap_wxToolBarTool_m_clientData_get(PyObject
*self
, PyObject
*args
) {
681 PyObject
* _resultobj
;
683 wxToolBarTool
* _arg0
;
688 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_clientData_get",&_argc0
))
691 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
697 wxPy_BEGIN_ALLOW_THREADS
;
698 _result
= (wxObject
*)wxToolBarTool_m_clientData_get(_arg0
);
700 wxPy_END_ALLOW_THREADS
;
701 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
702 _resultobj
= Py_BuildValue("s",_ptemp
);
706 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
707 static PyObject
*_wrap_wxToolBarTool_m_index_set(PyObject
*self
, PyObject
*args
) {
708 PyObject
* _resultobj
;
710 wxToolBarTool
* _arg0
;
715 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_index_set",&_argc0
,&_arg1
))
718 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
724 wxPy_BEGIN_ALLOW_THREADS
;
725 _result
= (int )wxToolBarTool_m_index_set(_arg0
,_arg1
);
727 wxPy_END_ALLOW_THREADS
;
728 } _resultobj
= Py_BuildValue("i",_result
);
732 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
733 static PyObject
*_wrap_wxToolBarTool_m_index_get(PyObject
*self
, PyObject
*args
) {
734 PyObject
* _resultobj
;
736 wxToolBarTool
* _arg0
;
740 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_index_get",&_argc0
))
743 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
749 wxPy_BEGIN_ALLOW_THREADS
;
750 _result
= (int )wxToolBarTool_m_index_get(_arg0
);
752 wxPy_END_ALLOW_THREADS
;
753 } _resultobj
= Py_BuildValue("i",_result
);
757 #define wxToolBarTool_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
758 static PyObject
*_wrap_wxToolBarTool_m_x_set(PyObject
*self
, PyObject
*args
) {
759 PyObject
* _resultobj
;
761 wxToolBarTool
* _arg0
;
766 if(!PyArg_ParseTuple(args
,"sl:wxToolBarTool_m_x_set",&_argc0
,&_arg1
))
769 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_set. Expected _wxToolBarTool_p.");
775 wxPy_BEGIN_ALLOW_THREADS
;
776 _result
= (long )wxToolBarTool_m_x_set(_arg0
,_arg1
);
778 wxPy_END_ALLOW_THREADS
;
779 } _resultobj
= Py_BuildValue("l",_result
);
783 #define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x)
784 static PyObject
*_wrap_wxToolBarTool_m_x_get(PyObject
*self
, PyObject
*args
) {
785 PyObject
* _resultobj
;
787 wxToolBarTool
* _arg0
;
791 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_x_get",&_argc0
))
794 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_get. Expected _wxToolBarTool_p.");
800 wxPy_BEGIN_ALLOW_THREADS
;
801 _result
= (long )wxToolBarTool_m_x_get(_arg0
);
803 wxPy_END_ALLOW_THREADS
;
804 } _resultobj
= Py_BuildValue("l",_result
);
808 #define wxToolBarTool_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
809 static PyObject
*_wrap_wxToolBarTool_m_y_set(PyObject
*self
, PyObject
*args
) {
810 PyObject
* _resultobj
;
812 wxToolBarTool
* _arg0
;
817 if(!PyArg_ParseTuple(args
,"sl:wxToolBarTool_m_y_set",&_argc0
,&_arg1
))
820 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_set. Expected _wxToolBarTool_p.");
826 wxPy_BEGIN_ALLOW_THREADS
;
827 _result
= (long )wxToolBarTool_m_y_set(_arg0
,_arg1
);
829 wxPy_END_ALLOW_THREADS
;
830 } _resultobj
= Py_BuildValue("l",_result
);
834 #define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y)
835 static PyObject
*_wrap_wxToolBarTool_m_y_get(PyObject
*self
, PyObject
*args
) {
836 PyObject
* _resultobj
;
838 wxToolBarTool
* _arg0
;
842 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_y_get",&_argc0
))
845 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_get. Expected _wxToolBarTool_p.");
851 wxPy_BEGIN_ALLOW_THREADS
;
852 _result
= (long )wxToolBarTool_m_y_get(_arg0
);
854 wxPy_END_ALLOW_THREADS
;
855 } _resultobj
= Py_BuildValue("l",_result
);
859 #define wxToolBarTool_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
860 static PyObject
*_wrap_wxToolBarTool_m_width_set(PyObject
*self
, PyObject
*args
) {
861 PyObject
* _resultobj
;
863 wxToolBarTool
* _arg0
;
868 if(!PyArg_ParseTuple(args
,"sl:wxToolBarTool_m_width_set",&_argc0
,&_arg1
))
871 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_set. Expected _wxToolBarTool_p.");
877 wxPy_BEGIN_ALLOW_THREADS
;
878 _result
= (long )wxToolBarTool_m_width_set(_arg0
,_arg1
);
880 wxPy_END_ALLOW_THREADS
;
881 } _resultobj
= Py_BuildValue("l",_result
);
885 #define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width)
886 static PyObject
*_wrap_wxToolBarTool_m_width_get(PyObject
*self
, PyObject
*args
) {
887 PyObject
* _resultobj
;
889 wxToolBarTool
* _arg0
;
893 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_width_get",&_argc0
))
896 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_get. Expected _wxToolBarTool_p.");
902 wxPy_BEGIN_ALLOW_THREADS
;
903 _result
= (long )wxToolBarTool_m_width_get(_arg0
);
905 wxPy_END_ALLOW_THREADS
;
906 } _resultobj
= Py_BuildValue("l",_result
);
910 #define wxToolBarTool_m_height_set(_swigobj,_swigval) (_swigobj->m_height = _swigval,_swigval)
911 static PyObject
*_wrap_wxToolBarTool_m_height_set(PyObject
*self
, PyObject
*args
) {
912 PyObject
* _resultobj
;
914 wxToolBarTool
* _arg0
;
919 if(!PyArg_ParseTuple(args
,"sl:wxToolBarTool_m_height_set",&_argc0
,&_arg1
))
922 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_set. Expected _wxToolBarTool_p.");
928 wxPy_BEGIN_ALLOW_THREADS
;
929 _result
= (long )wxToolBarTool_m_height_set(_arg0
,_arg1
);
931 wxPy_END_ALLOW_THREADS
;
932 } _resultobj
= Py_BuildValue("l",_result
);
936 #define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height)
937 static PyObject
*_wrap_wxToolBarTool_m_height_get(PyObject
*self
, PyObject
*args
) {
938 PyObject
* _resultobj
;
940 wxToolBarTool
* _arg0
;
944 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_height_get",&_argc0
))
947 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_get. Expected _wxToolBarTool_p.");
953 wxPy_BEGIN_ALLOW_THREADS
;
954 _result
= (long )wxToolBarTool_m_height_get(_arg0
);
956 wxPy_END_ALLOW_THREADS
;
957 } _resultobj
= Py_BuildValue("l",_result
);
961 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
962 static PyObject
*_wrap_wxToolBarTool_m_toggleState_set(PyObject
*self
, PyObject
*args
) {
963 PyObject
* _resultobj
;
965 wxToolBarTool
* _arg0
;
971 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_toggleState_set",&_argc0
,&tempbool1
))
974 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
979 _arg1
= (bool ) tempbool1
;
981 wxPy_BEGIN_ALLOW_THREADS
;
982 _result
= (bool )wxToolBarTool_m_toggleState_set(_arg0
,_arg1
);
984 wxPy_END_ALLOW_THREADS
;
985 } _resultobj
= Py_BuildValue("i",_result
);
989 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
990 static PyObject
*_wrap_wxToolBarTool_m_toggleState_get(PyObject
*self
, PyObject
*args
) {
991 PyObject
* _resultobj
;
993 wxToolBarTool
* _arg0
;
997 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_toggleState_get",&_argc0
))
1000 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
1006 wxPy_BEGIN_ALLOW_THREADS
;
1007 _result
= (bool )wxToolBarTool_m_toggleState_get(_arg0
);
1009 wxPy_END_ALLOW_THREADS
;
1010 } _resultobj
= Py_BuildValue("i",_result
);
1014 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
1015 static PyObject
*_wrap_wxToolBarTool_m_isToggle_set(PyObject
*self
, PyObject
*args
) {
1016 PyObject
* _resultobj
;
1018 wxToolBarTool
* _arg0
;
1024 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_isToggle_set",&_argc0
,&tempbool1
))
1027 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
1032 _arg1
= (bool ) tempbool1
;
1034 wxPy_BEGIN_ALLOW_THREADS
;
1035 _result
= (bool )wxToolBarTool_m_isToggle_set(_arg0
,_arg1
);
1037 wxPy_END_ALLOW_THREADS
;
1038 } _resultobj
= Py_BuildValue("i",_result
);
1042 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
1043 static PyObject
*_wrap_wxToolBarTool_m_isToggle_get(PyObject
*self
, PyObject
*args
) {
1044 PyObject
* _resultobj
;
1046 wxToolBarTool
* _arg0
;
1050 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_isToggle_get",&_argc0
))
1053 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
1059 wxPy_BEGIN_ALLOW_THREADS
;
1060 _result
= (bool )wxToolBarTool_m_isToggle_get(_arg0
);
1062 wxPy_END_ALLOW_THREADS
;
1063 } _resultobj
= Py_BuildValue("i",_result
);
1067 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
1068 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject
*self
, PyObject
*args
) {
1069 PyObject
* _resultobj
;
1071 wxToolBarTool
* _arg0
;
1077 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_deleteSecondBitmap_set",&_argc0
,&tempbool1
))
1080 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
1085 _arg1
= (bool ) tempbool1
;
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0
,_arg1
);
1090 wxPy_END_ALLOW_THREADS
;
1091 } _resultobj
= Py_BuildValue("i",_result
);
1095 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
1096 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject
*self
, PyObject
*args
) {
1097 PyObject
* _resultobj
;
1099 wxToolBarTool
* _arg0
;
1103 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_deleteSecondBitmap_get",&_argc0
))
1106 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
1112 wxPy_BEGIN_ALLOW_THREADS
;
1113 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0
);
1115 wxPy_END_ALLOW_THREADS
;
1116 } _resultobj
= Py_BuildValue("i",_result
);
1120 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
1121 static PyObject
*_wrap_wxToolBarTool_m_enabled_set(PyObject
*self
, PyObject
*args
) {
1122 PyObject
* _resultobj
;
1124 wxToolBarTool
* _arg0
;
1130 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_enabled_set",&_argc0
,&tempbool1
))
1133 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
1138 _arg1
= (bool ) tempbool1
;
1140 wxPy_BEGIN_ALLOW_THREADS
;
1141 _result
= (bool )wxToolBarTool_m_enabled_set(_arg0
,_arg1
);
1143 wxPy_END_ALLOW_THREADS
;
1144 } _resultobj
= Py_BuildValue("i",_result
);
1148 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
1149 static PyObject
*_wrap_wxToolBarTool_m_enabled_get(PyObject
*self
, PyObject
*args
) {
1150 PyObject
* _resultobj
;
1152 wxToolBarTool
* _arg0
;
1156 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_enabled_get",&_argc0
))
1159 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
1165 wxPy_BEGIN_ALLOW_THREADS
;
1166 _result
= (bool )wxToolBarTool_m_enabled_get(_arg0
);
1168 wxPy_END_ALLOW_THREADS
;
1169 } _resultobj
= Py_BuildValue("i",_result
);
1173 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
1174 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_set(PyObject
*self
, PyObject
*args
) {
1175 PyObject
* _resultobj
;
1177 wxToolBarTool
* _arg0
;
1184 if(!PyArg_ParseTuple(args
,"ss:wxToolBarTool_m_bitmap1_set",&_argc0
,&_argc1
))
1187 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
1193 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
1194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
1199 wxPy_BEGIN_ALLOW_THREADS
;
1200 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_set(_arg0
,_arg1
);
1202 wxPy_END_ALLOW_THREADS
;
1203 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1204 _resultobj
= Py_BuildValue("s",_ptemp
);
1208 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
1209 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_get(PyObject
*self
, PyObject
*args
) {
1210 PyObject
* _resultobj
;
1212 wxToolBarTool
* _arg0
;
1217 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_bitmap1_get",&_argc0
))
1220 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1226 wxPy_BEGIN_ALLOW_THREADS
;
1227 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_get(_arg0
);
1229 wxPy_END_ALLOW_THREADS
;
1230 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1231 _resultobj
= Py_BuildValue("s",_ptemp
);
1235 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1236 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_set(PyObject
*self
, PyObject
*args
) {
1237 PyObject
* _resultobj
;
1239 wxToolBarTool
* _arg0
;
1246 if(!PyArg_ParseTuple(args
,"ss:wxToolBarTool_m_bitmap2_set",&_argc0
,&_argc1
))
1249 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1255 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1261 wxPy_BEGIN_ALLOW_THREADS
;
1262 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_set(_arg0
,_arg1
);
1264 wxPy_END_ALLOW_THREADS
;
1265 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1266 _resultobj
= Py_BuildValue("s",_ptemp
);
1270 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1271 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_get(PyObject
*self
, PyObject
*args
) {
1272 PyObject
* _resultobj
;
1274 wxToolBarTool
* _arg0
;
1279 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_bitmap2_get",&_argc0
))
1282 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1288 wxPy_BEGIN_ALLOW_THREADS
;
1289 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_get(_arg0
);
1291 wxPy_END_ALLOW_THREADS
;
1292 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1293 _resultobj
= Py_BuildValue("s",_ptemp
);
1297 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1298 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject
*self
, PyObject
*args
) {
1299 PyObject
* _resultobj
;
1301 wxToolBarTool
* _arg0
;
1307 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_isMenuCommand_set",&_argc0
,&tempbool1
))
1310 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1315 _arg1
= (bool ) tempbool1
;
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 _result
= (bool )wxToolBarTool_m_isMenuCommand_set(_arg0
,_arg1
);
1320 wxPy_END_ALLOW_THREADS
;
1321 } _resultobj
= Py_BuildValue("i",_result
);
1325 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1326 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject
*self
, PyObject
*args
) {
1327 PyObject
* _resultobj
;
1329 wxToolBarTool
* _arg0
;
1333 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_isMenuCommand_get",&_argc0
))
1336 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1342 wxPy_BEGIN_ALLOW_THREADS
;
1343 _result
= (bool )wxToolBarTool_m_isMenuCommand_get(_arg0
);
1345 wxPy_END_ALLOW_THREADS
;
1346 } _resultobj
= Py_BuildValue("i",_result
);
1350 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1351 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_set(PyObject
*self
, PyObject
*args
) {
1352 PyObject
* _resultobj
;
1354 wxToolBarTool
* _arg0
;
1357 PyObject
* _obj1
= 0;
1360 if(!PyArg_ParseTuple(args
,"sO:wxToolBarTool_m_shortHelpString_set",&_argc0
,&_obj1
))
1363 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1369 if (!PyString_Check(_obj1
)) {
1370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1373 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1376 wxPy_BEGIN_ALLOW_THREADS
;
1377 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_set(_arg0
,_arg1
);
1379 wxPy_END_ALLOW_THREADS
;
1381 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1390 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1391 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_get(PyObject
*self
, PyObject
*args
) {
1392 PyObject
* _resultobj
;
1394 wxToolBarTool
* _arg0
;
1398 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_shortHelpString_get",&_argc0
))
1401 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1407 wxPy_BEGIN_ALLOW_THREADS
;
1408 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_get(_arg0
);
1410 wxPy_END_ALLOW_THREADS
;
1412 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1417 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1418 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_set(PyObject
*self
, PyObject
*args
) {
1419 PyObject
* _resultobj
;
1421 wxToolBarTool
* _arg0
;
1424 PyObject
* _obj1
= 0;
1427 if(!PyArg_ParseTuple(args
,"sO:wxToolBarTool_m_longHelpString_set",&_argc0
,&_obj1
))
1430 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1436 if (!PyString_Check(_obj1
)) {
1437 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1440 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 _result
= (wxString
*)wxToolBarTool_m_longHelpString_set(_arg0
,_arg1
);
1446 wxPy_END_ALLOW_THREADS
;
1448 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1457 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1458 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_get(PyObject
*self
, PyObject
*args
) {
1459 PyObject
* _resultobj
;
1461 wxToolBarTool
* _arg0
;
1465 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_longHelpString_get",&_argc0
))
1468 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1474 wxPy_BEGIN_ALLOW_THREADS
;
1475 _result
= (wxString
*)wxToolBarTool_m_longHelpString_get(_arg0
);
1477 wxPy_END_ALLOW_THREADS
;
1479 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1484 static void *SwigwxToolBarTowxControl(void *ptr
) {
1487 src
= (wxToolBar
*) ptr
;
1488 dest
= (wxControl
*) src
;
1489 return (void *) dest
;
1492 static void *SwigwxToolBarTowxWindow(void *ptr
) {
1495 src
= (wxToolBar
*) ptr
;
1496 dest
= (wxWindow
*) src
;
1497 return (void *) dest
;
1500 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
1503 src
= (wxToolBar
*) ptr
;
1504 dest
= (wxEvtHandler
*) src
;
1505 return (void *) dest
;
1508 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1509 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
) {
1510 PyObject
* _resultobj
;
1511 wxToolBar
* _result
;
1514 wxPoint
* _arg2
= &wxPyDefaultPosition
;
1515 wxSize
* _arg3
= &wxPyDefaultSize
;
1516 long _arg4
= (wxTB_HORIZONTAL
)|(wxNO_BORDER
);
1517 char * _arg5
= "toolBar";
1524 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxToolBar",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
1527 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1533 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p.");
1539 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
1540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p.");
1545 wxPy_BEGIN_ALLOW_THREADS
;
1546 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1548 wxPy_END_ALLOW_THREADS
;
1549 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
1550 _resultobj
= Py_BuildValue("s",_ptemp
);
1554 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1555 static PyObject
*_wrap_wxToolBar_AddSeparator(PyObject
*self
, PyObject
*args
) {
1556 PyObject
* _resultobj
;
1561 if(!PyArg_ParseTuple(args
,"s:wxToolBar_AddSeparator",&_argc0
))
1564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1570 wxPy_BEGIN_ALLOW_THREADS
;
1571 wxToolBar_AddSeparator(_arg0
);
1573 wxPy_END_ALLOW_THREADS
;
1574 } Py_INCREF(Py_None
);
1575 _resultobj
= Py_None
;
1579 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
) {
1580 return self
->AddTool(toolIndex
, bitmap1
, bitmap2
,
1581 isToggle
, xPos
, yPos
, NULL
,
1582 shortHelpString
, longHelpString
);
1584 static PyObject
*_wrap_wxToolBar_AddTool(PyObject
*self
, PyObject
*args
) {
1585 PyObject
* _resultobj
;
1586 wxToolBarTool
* _result
;
1590 wxBitmap
* _arg3
= &wxNullBitmap
;
1594 wxString
* _arg7
= &wxPyEmptyStr
;
1595 wxString
* _arg8
= &wxPyEmptyStr
;
1599 PyObject
* _obj7
= 0;
1600 PyObject
* _obj8
= 0;
1604 if(!PyArg_ParseTuple(args
,"sis|sillOO:wxToolBar_AddTool",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
,&_obj8
))
1607 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1613 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
1614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1619 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxBitmap_p")) {
1620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1626 if (!PyString_Check(_obj7
)) {
1627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1630 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1634 if (!PyString_Check(_obj8
)) {
1635 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1638 _arg8
= new wxString(PyString_AsString(_obj8
), PyString_Size(_obj8
));
1641 wxPy_BEGIN_ALLOW_THREADS
;
1642 _result
= (wxToolBarTool
*)wxToolBar_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1644 wxPy_END_ALLOW_THREADS
;
1645 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1646 _resultobj
= Py_BuildValue("s",_ptemp
);
1658 static wxToolBarTool
* wxToolBar_AddSimpleTool(wxToolBar
*self
,int toolIndex
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1659 return self
->AddTool(toolIndex
, bitmap
, wxNullBitmap
,
1660 FALSE
, -1, -1, NULL
,
1661 shortHelpString
, longHelpString
);
1663 static PyObject
*_wrap_wxToolBar_AddSimpleTool(PyObject
*self
, PyObject
*args
) {
1664 PyObject
* _resultobj
;
1665 wxToolBarTool
* _result
;
1669 wxString
* _arg3
= &wxPyEmptyStr
;
1670 wxString
* _arg4
= &wxPyEmptyStr
;
1673 PyObject
* _obj3
= 0;
1674 PyObject
* _obj4
= 0;
1678 if(!PyArg_ParseTuple(args
,"sis|OO:wxToolBar_AddSimpleTool",&_argc0
,&_arg1
,&_argc2
,&_obj3
,&_obj4
))
1681 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1687 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1694 if (!PyString_Check(_obj3
)) {
1695 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1698 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1702 if (!PyString_Check(_obj4
)) {
1703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1706 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 _result
= (wxToolBarTool
*)wxToolBar_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
);
1712 wxPy_END_ALLOW_THREADS
;
1713 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1714 _resultobj
= Py_BuildValue("s",_ptemp
);
1726 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1727 static PyObject
*_wrap_wxToolBar_EnableTool(PyObject
*self
, PyObject
*args
) {
1728 PyObject
* _resultobj
;
1736 if(!PyArg_ParseTuple(args
,"sii:wxToolBar_EnableTool",&_argc0
,&_arg1
,&tempbool2
))
1739 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1744 _arg2
= (bool ) tempbool2
;
1746 wxPy_BEGIN_ALLOW_THREADS
;
1747 wxToolBar_EnableTool(_arg0
,_arg1
,_arg2
);
1749 wxPy_END_ALLOW_THREADS
;
1750 } Py_INCREF(Py_None
);
1751 _resultobj
= Py_None
;
1755 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
1756 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
) {
1757 PyObject
* _resultobj
;
1758 wxToolBarTool
* _result
;
1766 if(!PyArg_ParseTuple(args
,"sff:wxToolBar_FindToolForPosition",&_argc0
,&_arg1
,&_arg2
))
1769 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
1775 wxPy_BEGIN_ALLOW_THREADS
;
1776 _result
= (wxToolBarTool
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
1778 wxPy_END_ALLOW_THREADS
;
1779 } SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1780 _resultobj
= Py_BuildValue("s",_ptemp
);
1784 #define wxToolBar_GetToolSize(_swigobj) (_swigobj->GetToolSize())
1785 static PyObject
*_wrap_wxToolBar_GetToolSize(PyObject
*self
, PyObject
*args
) {
1786 PyObject
* _resultobj
;
1793 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolSize",&_argc0
))
1796 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSize. Expected _wxToolBar_p.");
1802 wxPy_BEGIN_ALLOW_THREADS
;
1803 _result
= new wxSize (wxToolBar_GetToolSize(_arg0
));
1805 wxPy_END_ALLOW_THREADS
;
1806 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1807 _resultobj
= Py_BuildValue("s",_ptemp
);
1811 #define wxToolBar_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
1812 static PyObject
*_wrap_wxToolBar_GetToolBitmapSize(PyObject
*self
, PyObject
*args
) {
1813 PyObject
* _resultobj
;
1820 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolBitmapSize",&_argc0
))
1823 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolBitmapSize. Expected _wxToolBar_p.");
1829 wxPy_BEGIN_ALLOW_THREADS
;
1830 _result
= new wxSize (wxToolBar_GetToolBitmapSize(_arg0
));
1832 wxPy_END_ALLOW_THREADS
;
1833 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1834 _resultobj
= Py_BuildValue("s",_ptemp
);
1838 #define wxToolBar_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
1839 static PyObject
*_wrap_wxToolBar_SetToolBitmapSize(PyObject
*self
, PyObject
*args
) {
1840 PyObject
* _resultobj
;
1847 if(!PyArg_ParseTuple(args
,"ss:wxToolBar_SetToolBitmapSize",&_argc0
,&_argc1
))
1850 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolBitmapSize. Expected _wxToolBar_p.");
1856 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetToolBitmapSize. Expected _wxSize_p.");
1862 wxPy_BEGIN_ALLOW_THREADS
;
1863 wxToolBar_SetToolBitmapSize(_arg0
,*_arg1
);
1865 wxPy_END_ALLOW_THREADS
;
1866 } Py_INCREF(Py_None
);
1867 _resultobj
= Py_None
;
1871 #define wxToolBar_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
1872 static PyObject
*_wrap_wxToolBar_GetMaxSize(PyObject
*self
, PyObject
*args
) {
1873 PyObject
* _resultobj
;
1880 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetMaxSize",&_argc0
))
1883 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetMaxSize. Expected _wxToolBar_p.");
1889 wxPy_BEGIN_ALLOW_THREADS
;
1890 _result
= new wxSize (wxToolBar_GetMaxSize(_arg0
));
1892 wxPy_END_ALLOW_THREADS
;
1893 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1894 _resultobj
= Py_BuildValue("s",_ptemp
);
1898 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
1899 static PyObject
*_wrap_wxToolBar_GetToolEnabled(PyObject
*self
, PyObject
*args
) {
1900 PyObject
* _resultobj
;
1907 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolEnabled",&_argc0
,&_arg1
))
1910 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
1916 wxPy_BEGIN_ALLOW_THREADS
;
1917 _result
= (bool )wxToolBar_GetToolEnabled(_arg0
,_arg1
);
1919 wxPy_END_ALLOW_THREADS
;
1920 } _resultobj
= Py_BuildValue("i",_result
);
1924 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
1925 static PyObject
*_wrap_wxToolBar_GetToolLongHelp(PyObject
*self
, PyObject
*args
) {
1926 PyObject
* _resultobj
;
1933 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolLongHelp",&_argc0
,&_arg1
))
1936 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
1942 wxPy_BEGIN_ALLOW_THREADS
;
1943 _result
= new wxString (wxToolBar_GetToolLongHelp(_arg0
,_arg1
));
1945 wxPy_END_ALLOW_THREADS
;
1947 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1955 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
1956 static PyObject
*_wrap_wxToolBar_GetToolPacking(PyObject
*self
, PyObject
*args
) {
1957 PyObject
* _resultobj
;
1963 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolPacking",&_argc0
))
1966 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
1972 wxPy_BEGIN_ALLOW_THREADS
;
1973 _result
= (int )wxToolBar_GetToolPacking(_arg0
);
1975 wxPy_END_ALLOW_THREADS
;
1976 } _resultobj
= Py_BuildValue("i",_result
);
1980 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
1981 static PyObject
*_wrap_wxToolBar_GetToolSeparation(PyObject
*self
, PyObject
*args
) {
1982 PyObject
* _resultobj
;
1988 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolSeparation",&_argc0
))
1991 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
1997 wxPy_BEGIN_ALLOW_THREADS
;
1998 _result
= (int )wxToolBar_GetToolSeparation(_arg0
);
2000 wxPy_END_ALLOW_THREADS
;
2001 } _resultobj
= Py_BuildValue("i",_result
);
2005 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2006 static PyObject
*_wrap_wxToolBar_GetToolShortHelp(PyObject
*self
, PyObject
*args
) {
2007 PyObject
* _resultobj
;
2014 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolShortHelp",&_argc0
,&_arg1
))
2017 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
2023 wxPy_BEGIN_ALLOW_THREADS
;
2024 _result
= new wxString (wxToolBar_GetToolShortHelp(_arg0
,_arg1
));
2026 wxPy_END_ALLOW_THREADS
;
2028 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2036 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2037 static PyObject
*_wrap_wxToolBar_GetToolState(PyObject
*self
, PyObject
*args
) {
2038 PyObject
* _resultobj
;
2045 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolState",&_argc0
,&_arg1
))
2048 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
2054 wxPy_BEGIN_ALLOW_THREADS
;
2055 _result
= (bool )wxToolBar_GetToolState(_arg0
,_arg1
);
2057 wxPy_END_ALLOW_THREADS
;
2058 } _resultobj
= Py_BuildValue("i",_result
);
2062 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
2063 static PyObject
*_wrap_wxToolBar_Realize(PyObject
*self
, PyObject
*args
) {
2064 PyObject
* _resultobj
;
2070 if(!PyArg_ParseTuple(args
,"s:wxToolBar_Realize",&_argc0
))
2073 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
2074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
2079 wxPy_BEGIN_ALLOW_THREADS
;
2080 _result
= (bool )wxToolBar_Realize(_arg0
);
2082 wxPy_END_ALLOW_THREADS
;
2083 } _resultobj
= Py_BuildValue("i",_result
);
2087 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2088 static PyObject
*_wrap_wxToolBar_SetToolLongHelp(PyObject
*self
, PyObject
*args
) {
2089 PyObject
* _resultobj
;
2094 PyObject
* _obj2
= 0;
2097 if(!PyArg_ParseTuple(args
,"siO:wxToolBar_SetToolLongHelp",&_argc0
,&_arg1
,&_obj2
))
2100 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
2101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
2106 if (!PyString_Check(_obj2
)) {
2107 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2110 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2113 wxPy_BEGIN_ALLOW_THREADS
;
2114 wxToolBar_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
2116 wxPy_END_ALLOW_THREADS
;
2117 } Py_INCREF(Py_None
);
2118 _resultobj
= Py_None
;
2126 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2127 static PyObject
*_wrap_wxToolBar_SetToolShortHelp(PyObject
*self
, PyObject
*args
) {
2128 PyObject
* _resultobj
;
2133 PyObject
* _obj2
= 0;
2136 if(!PyArg_ParseTuple(args
,"siO:wxToolBar_SetToolShortHelp",&_argc0
,&_arg1
,&_obj2
))
2139 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
2140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
2145 if (!PyString_Check(_obj2
)) {
2146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2149 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2152 wxPy_BEGIN_ALLOW_THREADS
;
2153 wxToolBar_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
2155 wxPy_END_ALLOW_THREADS
;
2156 } Py_INCREF(Py_None
);
2157 _resultobj
= Py_None
;
2165 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2166 static PyObject
*_wrap_wxToolBar_SetMargins(PyObject
*self
, PyObject
*args
) {
2167 PyObject
* _resultobj
;
2174 if(!PyArg_ParseTuple(args
,"ss:wxToolBar_SetMargins",&_argc0
,&_argc1
))
2177 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
2183 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetMargins. Expected _wxSize_p.");
2189 wxPy_BEGIN_ALLOW_THREADS
;
2190 wxToolBar_SetMargins(_arg0
,*_arg1
);
2192 wxPy_END_ALLOW_THREADS
;
2193 } Py_INCREF(Py_None
);
2194 _resultobj
= Py_None
;
2198 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2199 static PyObject
*_wrap_wxToolBar_SetToolPacking(PyObject
*self
, PyObject
*args
) {
2200 PyObject
* _resultobj
;
2206 if(!PyArg_ParseTuple(args
,"si:wxToolBar_SetToolPacking",&_argc0
,&_arg1
))
2209 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 wxToolBar_SetToolPacking(_arg0
,_arg1
);
2218 wxPy_END_ALLOW_THREADS
;
2219 } Py_INCREF(Py_None
);
2220 _resultobj
= Py_None
;
2224 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2225 static PyObject
*_wrap_wxToolBar_SetToolSeparation(PyObject
*self
, PyObject
*args
) {
2226 PyObject
* _resultobj
;
2232 if(!PyArg_ParseTuple(args
,"si:wxToolBar_SetToolSeparation",&_argc0
,&_arg1
))
2235 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 wxToolBar_SetToolSeparation(_arg0
,_arg1
);
2244 wxPy_END_ALLOW_THREADS
;
2245 } Py_INCREF(Py_None
);
2246 _resultobj
= Py_None
;
2250 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2251 static PyObject
*_wrap_wxToolBar_ToggleTool(PyObject
*self
, PyObject
*args
) {
2252 PyObject
* _resultobj
;
2260 if(!PyArg_ParseTuple(args
,"sii:wxToolBar_ToggleTool",&_argc0
,&_arg1
,&tempbool2
))
2263 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
2268 _arg2
= (bool ) tempbool2
;
2270 wxPy_BEGIN_ALLOW_THREADS
;
2271 wxToolBar_ToggleTool(_arg0
,_arg1
,_arg2
);
2273 wxPy_END_ALLOW_THREADS
;
2274 } Py_INCREF(Py_None
);
2275 _resultobj
= Py_None
;
2279 static PyMethodDef stattoolcMethods
[] = {
2280 { "wxToolBar_ToggleTool", _wrap_wxToolBar_ToggleTool
, 1 },
2281 { "wxToolBar_SetToolSeparation", _wrap_wxToolBar_SetToolSeparation
, 1 },
2282 { "wxToolBar_SetToolPacking", _wrap_wxToolBar_SetToolPacking
, 1 },
2283 { "wxToolBar_SetMargins", _wrap_wxToolBar_SetMargins
, 1 },
2284 { "wxToolBar_SetToolShortHelp", _wrap_wxToolBar_SetToolShortHelp
, 1 },
2285 { "wxToolBar_SetToolLongHelp", _wrap_wxToolBar_SetToolLongHelp
, 1 },
2286 { "wxToolBar_Realize", _wrap_wxToolBar_Realize
, 1 },
2287 { "wxToolBar_GetToolState", _wrap_wxToolBar_GetToolState
, 1 },
2288 { "wxToolBar_GetToolShortHelp", _wrap_wxToolBar_GetToolShortHelp
, 1 },
2289 { "wxToolBar_GetToolSeparation", _wrap_wxToolBar_GetToolSeparation
, 1 },
2290 { "wxToolBar_GetToolPacking", _wrap_wxToolBar_GetToolPacking
, 1 },
2291 { "wxToolBar_GetToolLongHelp", _wrap_wxToolBar_GetToolLongHelp
, 1 },
2292 { "wxToolBar_GetToolEnabled", _wrap_wxToolBar_GetToolEnabled
, 1 },
2293 { "wxToolBar_GetMaxSize", _wrap_wxToolBar_GetMaxSize
, 1 },
2294 { "wxToolBar_SetToolBitmapSize", _wrap_wxToolBar_SetToolBitmapSize
, 1 },
2295 { "wxToolBar_GetToolBitmapSize", _wrap_wxToolBar_GetToolBitmapSize
, 1 },
2296 { "wxToolBar_GetToolSize", _wrap_wxToolBar_GetToolSize
, 1 },
2297 { "wxToolBar_FindToolForPosition", _wrap_wxToolBar_FindToolForPosition
, 1 },
2298 { "wxToolBar_EnableTool", _wrap_wxToolBar_EnableTool
, 1 },
2299 { "wxToolBar_AddSimpleTool", _wrap_wxToolBar_AddSimpleTool
, 1 },
2300 { "wxToolBar_AddTool", _wrap_wxToolBar_AddTool
, 1 },
2301 { "wxToolBar_AddSeparator", _wrap_wxToolBar_AddSeparator
, 1 },
2302 { "new_wxToolBar", _wrap_new_wxToolBar
, 1 },
2303 { "wxToolBarTool_m_longHelpString_get", _wrap_wxToolBarTool_m_longHelpString_get
, 1 },
2304 { "wxToolBarTool_m_longHelpString_set", _wrap_wxToolBarTool_m_longHelpString_set
, 1 },
2305 { "wxToolBarTool_m_shortHelpString_get", _wrap_wxToolBarTool_m_shortHelpString_get
, 1 },
2306 { "wxToolBarTool_m_shortHelpString_set", _wrap_wxToolBarTool_m_shortHelpString_set
, 1 },
2307 { "wxToolBarTool_m_isMenuCommand_get", _wrap_wxToolBarTool_m_isMenuCommand_get
, 1 },
2308 { "wxToolBarTool_m_isMenuCommand_set", _wrap_wxToolBarTool_m_isMenuCommand_set
, 1 },
2309 { "wxToolBarTool_m_bitmap2_get", _wrap_wxToolBarTool_m_bitmap2_get
, 1 },
2310 { "wxToolBarTool_m_bitmap2_set", _wrap_wxToolBarTool_m_bitmap2_set
, 1 },
2311 { "wxToolBarTool_m_bitmap1_get", _wrap_wxToolBarTool_m_bitmap1_get
, 1 },
2312 { "wxToolBarTool_m_bitmap1_set", _wrap_wxToolBarTool_m_bitmap1_set
, 1 },
2313 { "wxToolBarTool_m_enabled_get", _wrap_wxToolBarTool_m_enabled_get
, 1 },
2314 { "wxToolBarTool_m_enabled_set", _wrap_wxToolBarTool_m_enabled_set
, 1 },
2315 { "wxToolBarTool_m_deleteSecondBitmap_get", _wrap_wxToolBarTool_m_deleteSecondBitmap_get
, 1 },
2316 { "wxToolBarTool_m_deleteSecondBitmap_set", _wrap_wxToolBarTool_m_deleteSecondBitmap_set
, 1 },
2317 { "wxToolBarTool_m_isToggle_get", _wrap_wxToolBarTool_m_isToggle_get
, 1 },
2318 { "wxToolBarTool_m_isToggle_set", _wrap_wxToolBarTool_m_isToggle_set
, 1 },
2319 { "wxToolBarTool_m_toggleState_get", _wrap_wxToolBarTool_m_toggleState_get
, 1 },
2320 { "wxToolBarTool_m_toggleState_set", _wrap_wxToolBarTool_m_toggleState_set
, 1 },
2321 { "wxToolBarTool_m_height_get", _wrap_wxToolBarTool_m_height_get
, 1 },
2322 { "wxToolBarTool_m_height_set", _wrap_wxToolBarTool_m_height_set
, 1 },
2323 { "wxToolBarTool_m_width_get", _wrap_wxToolBarTool_m_width_get
, 1 },
2324 { "wxToolBarTool_m_width_set", _wrap_wxToolBarTool_m_width_set
, 1 },
2325 { "wxToolBarTool_m_y_get", _wrap_wxToolBarTool_m_y_get
, 1 },
2326 { "wxToolBarTool_m_y_set", _wrap_wxToolBarTool_m_y_set
, 1 },
2327 { "wxToolBarTool_m_x_get", _wrap_wxToolBarTool_m_x_get
, 1 },
2328 { "wxToolBarTool_m_x_set", _wrap_wxToolBarTool_m_x_set
, 1 },
2329 { "wxToolBarTool_m_index_get", _wrap_wxToolBarTool_m_index_get
, 1 },
2330 { "wxToolBarTool_m_index_set", _wrap_wxToolBarTool_m_index_set
, 1 },
2331 { "wxToolBarTool_m_clientData_get", _wrap_wxToolBarTool_m_clientData_get
, 1 },
2332 { "wxToolBarTool_m_clientData_set", _wrap_wxToolBarTool_m_clientData_set
, 1 },
2333 { "wxToolBarTool_m_toolStyle_get", _wrap_wxToolBarTool_m_toolStyle_get
, 1 },
2334 { "wxToolBarTool_m_toolStyle_set", _wrap_wxToolBarTool_m_toolStyle_set
, 1 },
2335 { "wxToolBarTool_GetHeight", _wrap_wxToolBarTool_GetHeight
, 1 },
2336 { "wxToolBarTool_GetWidth", _wrap_wxToolBarTool_GetWidth
, 1 },
2337 { "wxToolBarTool_SetSize", _wrap_wxToolBarTool_SetSize
, 1 },
2338 { "delete_wxToolBarTool", _wrap_delete_wxToolBarTool
, 1 },
2339 { "new_wxToolBarTool", _wrap_new_wxToolBarTool
, 1 },
2340 { "wxStatusBar_SetStatusWidths", _wrap_wxStatusBar_SetStatusWidths
, 1 },
2341 { "wxStatusBar_SetStatusText", _wrap_wxStatusBar_SetStatusText
, 1 },
2342 { "wxStatusBar_SetFieldsCount", _wrap_wxStatusBar_SetFieldsCount
, 1 },
2343 { "wxStatusBar_InitColours", _wrap_wxStatusBar_InitColours
, 1 },
2344 { "wxStatusBar_DrawFieldText", _wrap_wxStatusBar_DrawFieldText
, 1 },
2345 { "wxStatusBar_DrawField", _wrap_wxStatusBar_DrawField
, 1 },
2346 { "wxStatusBar_GetStatusText", _wrap_wxStatusBar_GetStatusText
, 1 },
2347 { "wxStatusBar_GetFieldsCount", _wrap_wxStatusBar_GetFieldsCount
, 1 },
2348 { "wxStatusBar_GetFieldRect", _wrap_wxStatusBar_GetFieldRect
, 1 },
2349 { "new_wxStatusBar", _wrap_new_wxStatusBar
, 1 },
2352 static PyObject
*SWIG_globals
;
2356 SWIGEXPORT(void,initstattoolc
)() {
2358 SWIG_globals
= SWIG_newvarlink();
2359 m
= Py_InitModule("stattoolc", stattoolcMethods
);
2360 d
= PyModule_GetDict(m
);
2362 * These are the pointer type-equivalency mappings.
2363 * (Used by the SWIG pointer type-checker).
2365 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
2366 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
2367 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
2368 SWIG_RegisterMapping("_signed_long","_long",0);
2369 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
2370 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
2371 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
2372 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
);
2373 SWIG_RegisterMapping("_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
);
2374 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
2375 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
2376 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
2377 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
2378 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2379 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
2380 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
2381 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
2382 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
2383 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
2384 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
2385 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2386 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
2387 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
2388 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
2389 SWIG_RegisterMapping("_long","_wxDash",0);
2390 SWIG_RegisterMapping("_long","_unsigned_long",0);
2391 SWIG_RegisterMapping("_long","_signed_long",0);
2392 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
2393 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
2394 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
2395 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
2396 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
2397 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
2398 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
2399 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
2400 SWIG_RegisterMapping("_size_t","_int",0);
2401 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
2402 SWIG_RegisterMapping("_size_t","_uint",0);
2403 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2404 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
2405 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
2406 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
2407 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
2408 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
2409 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
2410 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
2411 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
2412 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
2413 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
2414 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
2415 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
2416 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
2417 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
2418 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
2419 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
2420 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
2421 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
2422 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
2423 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
2424 SWIG_RegisterMapping("_uint","_size_t",0);
2425 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2426 SWIG_RegisterMapping("_uint","_int",0);
2427 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2428 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
2429 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
2430 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2431 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
2432 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
2433 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2434 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
2435 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
2436 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
2437 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2438 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
2439 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
2440 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
2441 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
2442 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2443 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
2444 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
2445 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
2446 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
2447 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
2448 SWIG_RegisterMapping("_EBool","_signed_int",0);
2449 SWIG_RegisterMapping("_EBool","_int",0);
2450 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2451 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
2452 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
2453 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
2454 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
2455 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
2456 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
2457 SWIG_RegisterMapping("_unsigned_long","_long",0);
2458 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2459 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
2460 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2461 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
2462 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
2463 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
2464 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
2465 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
2466 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
2467 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
2468 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
2469 SWIG_RegisterMapping("_signed_int","_EBool",0);
2470 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2471 SWIG_RegisterMapping("_signed_int","_int",0);
2472 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
2473 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2474 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
2475 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
2476 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
2477 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
2478 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
2479 SWIG_RegisterMapping("_WXTYPE","_short",0);
2480 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2481 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2482 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
2483 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2484 SWIG_RegisterMapping("_unsigned_short","_short",0);
2485 SWIG_RegisterMapping("_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
);
2486 SWIG_RegisterMapping("_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
);
2487 SWIG_RegisterMapping("_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
);
2488 SWIG_RegisterMapping("_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
);
2489 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
2490 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
2491 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
2492 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
2493 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
2494 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
2495 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
2496 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2497 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2498 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
2499 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2500 SWIG_RegisterMapping("_signed_short","_short",0);
2501 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
2502 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
2503 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
2504 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
2505 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
2506 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
2507 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
2508 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
2509 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
2510 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
2511 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2512 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
2513 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
2514 SWIG_RegisterMapping("_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
);
2515 SWIG_RegisterMapping("_wxControl","_wxToolBar",SwigwxToolBarTowxControl
);
2516 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
2517 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
2518 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
2519 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2520 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2521 SWIG_RegisterMapping("_unsigned_int","_int",0);
2522 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
2523 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
2524 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
2525 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
2526 SWIG_RegisterMapping("_short","_WXTYPE",0);
2527 SWIG_RegisterMapping("_short","_unsigned_short",0);
2528 SWIG_RegisterMapping("_short","_signed_short",0);
2529 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
2530 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
2531 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
2532 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
2533 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
2534 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
2535 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
2536 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
2537 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2538 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2539 SWIG_RegisterMapping("_wxWindowID","_int",0);
2540 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2541 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2542 SWIG_RegisterMapping("_int","_size_t",0);
2543 SWIG_RegisterMapping("_int","_EBool",0);
2544 SWIG_RegisterMapping("_int","_uint",0);
2545 SWIG_RegisterMapping("_int","_wxWindowID",0);
2546 SWIG_RegisterMapping("_int","_unsigned_int",0);
2547 SWIG_RegisterMapping("_int","_signed_int",0);
2548 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
2549 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
2550 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
2551 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2552 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
2553 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
2554 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
2555 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
2556 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
2557 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
2558 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
2559 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2560 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
2561 SWIG_RegisterMapping("_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
);
2562 SWIG_RegisterMapping("_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
);
2563 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
2564 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
2565 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
2566 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
2567 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
2568 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
2569 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
2570 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
2571 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
2572 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
2573 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
2574 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
2575 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
2576 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
2577 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
2578 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
2579 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
2580 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
2581 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
2582 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
2583 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
2584 SWIG_RegisterMapping("_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
);
2585 SWIG_RegisterMapping("_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
);
2586 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
2587 SWIG_RegisterMapping("_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
2588 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
2589 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
2590 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
2591 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
2592 SWIG_RegisterMapping("_wxDash","_long",0);
2593 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
2594 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
2595 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
2596 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
2597 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
2598 SWIG_RegisterMapping("_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
);
2599 SWIG_RegisterMapping("_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
);
2600 SWIG_RegisterMapping("_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
);
2601 SWIG_RegisterMapping("_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
);
2602 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);