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.");
170 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
172 _resultobj
= Py_BuildValue("s",_ptemp
);
176 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
177 wxRect
* rect
= new wxRect
;
178 self
->GetFieldRect(item
, *rect
);
181 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
) {
182 PyObject
* _resultobj
;
190 if(!PyArg_ParseTuple(args
,"sl:wxStatusBar_GetFieldRect",&_argc0
,&_arg1
))
193 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
198 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
200 _resultobj
= Py_BuildValue("s",_ptemp
);
204 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
205 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
) {
206 PyObject
* _resultobj
;
212 if(!PyArg_ParseTuple(args
,"s:wxStatusBar_GetFieldsCount",&_argc0
))
215 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
220 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
221 _resultobj
= Py_BuildValue("i",_result
);
225 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
226 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
) {
227 PyObject
* _resultobj
;
234 if(!PyArg_ParseTuple(args
,"s|i:wxStatusBar_GetStatusText",&_argc0
,&_arg1
))
237 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
242 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
244 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
252 #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
253 static PyObject
*_wrap_wxStatusBar_DrawField(PyObject
*self
, PyObject
*args
) {
254 PyObject
* _resultobj
;
262 if(!PyArg_ParseTuple(args
,"ssi:wxStatusBar_DrawField",&_argc0
,&_argc1
,&_arg2
))
265 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
271 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
276 wxStatusBar_DrawField(_arg0
,*_arg1
,_arg2
);
278 _resultobj
= Py_None
;
282 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
283 static PyObject
*_wrap_wxStatusBar_DrawFieldText(PyObject
*self
, PyObject
*args
) {
284 PyObject
* _resultobj
;
292 if(!PyArg_ParseTuple(args
,"ssi:wxStatusBar_DrawFieldText",&_argc0
,&_argc1
,&_arg2
))
295 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
301 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
306 wxStatusBar_DrawFieldText(_arg0
,*_arg1
,_arg2
);
308 _resultobj
= Py_None
;
312 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
313 static PyObject
*_wrap_wxStatusBar_InitColours(PyObject
*self
, PyObject
*args
) {
314 PyObject
* _resultobj
;
319 if(!PyArg_ParseTuple(args
,"s:wxStatusBar_InitColours",&_argc0
))
322 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
327 wxStatusBar_InitColours(_arg0
);
329 _resultobj
= Py_None
;
333 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
334 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
) {
335 PyObject
* _resultobj
;
341 if(!PyArg_ParseTuple(args
,"s|i:wxStatusBar_SetFieldsCount",&_argc0
,&_arg1
))
344 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
349 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
351 _resultobj
= Py_None
;
355 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
356 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
) {
357 PyObject
* _resultobj
;
362 PyObject
* _obj1
= 0;
365 if(!PyArg_ParseTuple(args
,"sO|i:wxStatusBar_SetStatusText",&_argc0
,&_obj1
,&_arg2
))
368 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
374 if (!PyString_Check(_obj1
)) {
375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
378 _arg1
= new wxString(PyString_AsString(_obj1
));
380 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
382 _resultobj
= Py_None
;
390 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
391 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
) {
392 PyObject
* _resultobj
;
397 PyObject
* _obj2
= 0;
400 if(!PyArg_ParseTuple(args
,"sO:wxStatusBar_SetStatusWidths",&_argc0
,&_obj2
))
403 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
410 _arg2
= int_LIST_helper(_obj2
);
416 _arg1
= PyList_Size(_obj2
);
418 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
420 _resultobj
= Py_None
;
427 #define new_wxToolBarTool() (new wxToolBarTool())
428 static PyObject
*_wrap_new_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
429 PyObject
* _resultobj
;
430 wxToolBarTool
* _result
;
434 if(!PyArg_ParseTuple(args
,":new_wxToolBarTool"))
436 _result
= (wxToolBarTool
*)new_wxToolBarTool();
437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
438 _resultobj
= Py_BuildValue("s",_ptemp
);
442 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
443 static PyObject
*_wrap_delete_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
444 PyObject
* _resultobj
;
445 wxToolBarTool
* _arg0
;
449 if(!PyArg_ParseTuple(args
,"s:delete_wxToolBarTool",&_argc0
))
452 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
457 delete_wxToolBarTool(_arg0
);
459 _resultobj
= Py_None
;
463 #define wxToolBarTool_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
464 static PyObject
*_wrap_wxToolBarTool_SetSize(PyObject
*self
, PyObject
*args
) {
465 PyObject
* _resultobj
;
466 wxToolBarTool
* _arg0
;
472 if(!PyArg_ParseTuple(args
,"sll:wxToolBarTool_SetSize",&_argc0
,&_arg1
,&_arg2
))
475 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_SetSize. Expected _wxToolBarTool_p.");
480 wxToolBarTool_SetSize(_arg0
,_arg1
,_arg2
);
482 _resultobj
= Py_None
;
486 #define wxToolBarTool_GetWidth(_swigobj) (_swigobj->GetWidth())
487 static PyObject
*_wrap_wxToolBarTool_GetWidth(PyObject
*self
, PyObject
*args
) {
488 PyObject
* _resultobj
;
490 wxToolBarTool
* _arg0
;
494 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_GetWidth",&_argc0
))
497 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetWidth. Expected _wxToolBarTool_p.");
502 _result
= (long )wxToolBarTool_GetWidth(_arg0
);
503 _resultobj
= Py_BuildValue("l",_result
);
507 #define wxToolBarTool_GetHeight(_swigobj) (_swigobj->GetHeight())
508 static PyObject
*_wrap_wxToolBarTool_GetHeight(PyObject
*self
, PyObject
*args
) {
509 PyObject
* _resultobj
;
511 wxToolBarTool
* _arg0
;
515 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_GetHeight",&_argc0
))
518 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetHeight. Expected _wxToolBarTool_p.");
523 _result
= (long )wxToolBarTool_GetHeight(_arg0
);
524 _resultobj
= Py_BuildValue("l",_result
);
528 #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval)
529 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_set(PyObject
*self
, PyObject
*args
) {
530 PyObject
* _resultobj
;
532 wxToolBarTool
* _arg0
;
537 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_toolStyle_set",&_argc0
,&_arg1
))
540 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p.");
545 _result
= (int )wxToolBarTool_m_toolStyle_set(_arg0
,_arg1
);
546 _resultobj
= Py_BuildValue("i",_result
);
550 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
551 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_get(PyObject
*self
, PyObject
*args
) {
552 PyObject
* _resultobj
;
554 wxToolBarTool
* _arg0
;
558 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_toolStyle_get",&_argc0
))
561 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
566 _result
= (int )wxToolBarTool_m_toolStyle_get(_arg0
);
567 _resultobj
= Py_BuildValue("i",_result
);
571 #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval)
572 static PyObject
*_wrap_wxToolBarTool_m_clientData_set(PyObject
*self
, PyObject
*args
) {
573 PyObject
* _resultobj
;
575 wxToolBarTool
* _arg0
;
582 if(!PyArg_ParseTuple(args
,"ss:wxToolBarTool_m_clientData_set",&_argc0
,&_argc1
))
585 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p.");
591 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxObject_p")) {
592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p.");
596 _result
= (wxObject
*)wxToolBarTool_m_clientData_set(_arg0
,_arg1
);
597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
598 _resultobj
= Py_BuildValue("s",_ptemp
);
602 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
603 static PyObject
*_wrap_wxToolBarTool_m_clientData_get(PyObject
*self
, PyObject
*args
) {
604 PyObject
* _resultobj
;
606 wxToolBarTool
* _arg0
;
611 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_clientData_get",&_argc0
))
614 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
619 _result
= (wxObject
*)wxToolBarTool_m_clientData_get(_arg0
);
620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
621 _resultobj
= Py_BuildValue("s",_ptemp
);
625 #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval)
626 static PyObject
*_wrap_wxToolBarTool_m_index_set(PyObject
*self
, PyObject
*args
) {
627 PyObject
* _resultobj
;
629 wxToolBarTool
* _arg0
;
634 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_index_set",&_argc0
,&_arg1
))
637 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p.");
642 _result
= (int )wxToolBarTool_m_index_set(_arg0
,_arg1
);
643 _resultobj
= Py_BuildValue("i",_result
);
647 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
648 static PyObject
*_wrap_wxToolBarTool_m_index_get(PyObject
*self
, PyObject
*args
) {
649 PyObject
* _resultobj
;
651 wxToolBarTool
* _arg0
;
655 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_index_get",&_argc0
))
658 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
663 _result
= (int )wxToolBarTool_m_index_get(_arg0
);
664 _resultobj
= Py_BuildValue("i",_result
);
668 #define wxToolBarTool_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
669 static PyObject
*_wrap_wxToolBarTool_m_x_set(PyObject
*self
, PyObject
*args
) {
670 PyObject
* _resultobj
;
672 wxToolBarTool
* _arg0
;
677 if(!PyArg_ParseTuple(args
,"sl:wxToolBarTool_m_x_set",&_argc0
,&_arg1
))
680 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_set. Expected _wxToolBarTool_p.");
685 _result
= (long )wxToolBarTool_m_x_set(_arg0
,_arg1
);
686 _resultobj
= Py_BuildValue("l",_result
);
690 #define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x)
691 static PyObject
*_wrap_wxToolBarTool_m_x_get(PyObject
*self
, PyObject
*args
) {
692 PyObject
* _resultobj
;
694 wxToolBarTool
* _arg0
;
698 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_x_get",&_argc0
))
701 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_get. Expected _wxToolBarTool_p.");
706 _result
= (long )wxToolBarTool_m_x_get(_arg0
);
707 _resultobj
= Py_BuildValue("l",_result
);
711 #define wxToolBarTool_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
712 static PyObject
*_wrap_wxToolBarTool_m_y_set(PyObject
*self
, PyObject
*args
) {
713 PyObject
* _resultobj
;
715 wxToolBarTool
* _arg0
;
720 if(!PyArg_ParseTuple(args
,"sl:wxToolBarTool_m_y_set",&_argc0
,&_arg1
))
723 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_set. Expected _wxToolBarTool_p.");
728 _result
= (long )wxToolBarTool_m_y_set(_arg0
,_arg1
);
729 _resultobj
= Py_BuildValue("l",_result
);
733 #define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y)
734 static PyObject
*_wrap_wxToolBarTool_m_y_get(PyObject
*self
, PyObject
*args
) {
735 PyObject
* _resultobj
;
737 wxToolBarTool
* _arg0
;
741 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_y_get",&_argc0
))
744 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_get. Expected _wxToolBarTool_p.");
749 _result
= (long )wxToolBarTool_m_y_get(_arg0
);
750 _resultobj
= Py_BuildValue("l",_result
);
754 #define wxToolBarTool_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval)
755 static PyObject
*_wrap_wxToolBarTool_m_width_set(PyObject
*self
, PyObject
*args
) {
756 PyObject
* _resultobj
;
758 wxToolBarTool
* _arg0
;
763 if(!PyArg_ParseTuple(args
,"sl:wxToolBarTool_m_width_set",&_argc0
,&_arg1
))
766 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_set. Expected _wxToolBarTool_p.");
771 _result
= (long )wxToolBarTool_m_width_set(_arg0
,_arg1
);
772 _resultobj
= Py_BuildValue("l",_result
);
776 #define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width)
777 static PyObject
*_wrap_wxToolBarTool_m_width_get(PyObject
*self
, PyObject
*args
) {
778 PyObject
* _resultobj
;
780 wxToolBarTool
* _arg0
;
784 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_width_get",&_argc0
))
787 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_get. Expected _wxToolBarTool_p.");
792 _result
= (long )wxToolBarTool_m_width_get(_arg0
);
793 _resultobj
= Py_BuildValue("l",_result
);
797 #define wxToolBarTool_m_height_set(_swigobj,_swigval) (_swigobj->m_height = _swigval,_swigval)
798 static PyObject
*_wrap_wxToolBarTool_m_height_set(PyObject
*self
, PyObject
*args
) {
799 PyObject
* _resultobj
;
801 wxToolBarTool
* _arg0
;
806 if(!PyArg_ParseTuple(args
,"sl:wxToolBarTool_m_height_set",&_argc0
,&_arg1
))
809 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_set. Expected _wxToolBarTool_p.");
814 _result
= (long )wxToolBarTool_m_height_set(_arg0
,_arg1
);
815 _resultobj
= Py_BuildValue("l",_result
);
819 #define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height)
820 static PyObject
*_wrap_wxToolBarTool_m_height_get(PyObject
*self
, PyObject
*args
) {
821 PyObject
* _resultobj
;
823 wxToolBarTool
* _arg0
;
827 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_height_get",&_argc0
))
830 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_get. Expected _wxToolBarTool_p.");
835 _result
= (long )wxToolBarTool_m_height_get(_arg0
);
836 _resultobj
= Py_BuildValue("l",_result
);
840 #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval)
841 static PyObject
*_wrap_wxToolBarTool_m_toggleState_set(PyObject
*self
, PyObject
*args
) {
842 PyObject
* _resultobj
;
844 wxToolBarTool
* _arg0
;
850 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_toggleState_set",&_argc0
,&tempbool1
))
853 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p.");
858 _arg1
= (bool ) tempbool1
;
859 _result
= (bool )wxToolBarTool_m_toggleState_set(_arg0
,_arg1
);
860 _resultobj
= Py_BuildValue("i",_result
);
864 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
865 static PyObject
*_wrap_wxToolBarTool_m_toggleState_get(PyObject
*self
, PyObject
*args
) {
866 PyObject
* _resultobj
;
868 wxToolBarTool
* _arg0
;
872 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_toggleState_get",&_argc0
))
875 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
880 _result
= (bool )wxToolBarTool_m_toggleState_get(_arg0
);
881 _resultobj
= Py_BuildValue("i",_result
);
885 #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval)
886 static PyObject
*_wrap_wxToolBarTool_m_isToggle_set(PyObject
*self
, PyObject
*args
) {
887 PyObject
* _resultobj
;
889 wxToolBarTool
* _arg0
;
895 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_isToggle_set",&_argc0
,&tempbool1
))
898 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p.");
903 _arg1
= (bool ) tempbool1
;
904 _result
= (bool )wxToolBarTool_m_isToggle_set(_arg0
,_arg1
);
905 _resultobj
= Py_BuildValue("i",_result
);
909 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
910 static PyObject
*_wrap_wxToolBarTool_m_isToggle_get(PyObject
*self
, PyObject
*args
) {
911 PyObject
* _resultobj
;
913 wxToolBarTool
* _arg0
;
917 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_isToggle_get",&_argc0
))
920 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
925 _result
= (bool )wxToolBarTool_m_isToggle_get(_arg0
);
926 _resultobj
= Py_BuildValue("i",_result
);
930 #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval)
931 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject
*self
, PyObject
*args
) {
932 PyObject
* _resultobj
;
934 wxToolBarTool
* _arg0
;
940 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_deleteSecondBitmap_set",&_argc0
,&tempbool1
))
943 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p.");
948 _arg1
= (bool ) tempbool1
;
949 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0
,_arg1
);
950 _resultobj
= Py_BuildValue("i",_result
);
954 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
955 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject
*self
, PyObject
*args
) {
956 PyObject
* _resultobj
;
958 wxToolBarTool
* _arg0
;
962 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_deleteSecondBitmap_get",&_argc0
))
965 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
970 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0
);
971 _resultobj
= Py_BuildValue("i",_result
);
975 #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval)
976 static PyObject
*_wrap_wxToolBarTool_m_enabled_set(PyObject
*self
, PyObject
*args
) {
977 PyObject
* _resultobj
;
979 wxToolBarTool
* _arg0
;
985 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_enabled_set",&_argc0
,&tempbool1
))
988 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p.");
993 _arg1
= (bool ) tempbool1
;
994 _result
= (bool )wxToolBarTool_m_enabled_set(_arg0
,_arg1
);
995 _resultobj
= Py_BuildValue("i",_result
);
999 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
1000 static PyObject
*_wrap_wxToolBarTool_m_enabled_get(PyObject
*self
, PyObject
*args
) {
1001 PyObject
* _resultobj
;
1003 wxToolBarTool
* _arg0
;
1007 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_enabled_get",&_argc0
))
1010 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
1015 _result
= (bool )wxToolBarTool_m_enabled_get(_arg0
);
1016 _resultobj
= Py_BuildValue("i",_result
);
1020 #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval)
1021 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_set(PyObject
*self
, PyObject
*args
) {
1022 PyObject
* _resultobj
;
1024 wxToolBarTool
* _arg0
;
1031 if(!PyArg_ParseTuple(args
,"ss:wxToolBarTool_m_bitmap1_set",&_argc0
,&_argc1
))
1034 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p.");
1040 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p.");
1045 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_set(_arg0
,_arg1
);
1046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1047 _resultobj
= Py_BuildValue("s",_ptemp
);
1051 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
1052 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_get(PyObject
*self
, PyObject
*args
) {
1053 PyObject
* _resultobj
;
1055 wxToolBarTool
* _arg0
;
1060 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_bitmap1_get",&_argc0
))
1063 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
1068 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_get(_arg0
);
1069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1070 _resultobj
= Py_BuildValue("s",_ptemp
);
1074 #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval)
1075 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_set(PyObject
*self
, PyObject
*args
) {
1076 PyObject
* _resultobj
;
1078 wxToolBarTool
* _arg0
;
1085 if(!PyArg_ParseTuple(args
,"ss:wxToolBarTool_m_bitmap2_set",&_argc0
,&_argc1
))
1088 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p.");
1094 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxBitmap_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p.");
1099 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_set(_arg0
,_arg1
);
1100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1101 _resultobj
= Py_BuildValue("s",_ptemp
);
1105 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
1106 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_get(PyObject
*self
, PyObject
*args
) {
1107 PyObject
* _resultobj
;
1109 wxToolBarTool
* _arg0
;
1114 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_bitmap2_get",&_argc0
))
1117 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
1122 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_get(_arg0
);
1123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1124 _resultobj
= Py_BuildValue("s",_ptemp
);
1128 #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval)
1129 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject
*self
, PyObject
*args
) {
1130 PyObject
* _resultobj
;
1132 wxToolBarTool
* _arg0
;
1138 if(!PyArg_ParseTuple(args
,"si:wxToolBarTool_m_isMenuCommand_set",&_argc0
,&tempbool1
))
1141 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p.");
1146 _arg1
= (bool ) tempbool1
;
1147 _result
= (bool )wxToolBarTool_m_isMenuCommand_set(_arg0
,_arg1
);
1148 _resultobj
= Py_BuildValue("i",_result
);
1152 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
1153 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject
*self
, PyObject
*args
) {
1154 PyObject
* _resultobj
;
1156 wxToolBarTool
* _arg0
;
1160 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_isMenuCommand_get",&_argc0
))
1163 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
1168 _result
= (bool )wxToolBarTool_m_isMenuCommand_get(_arg0
);
1169 _resultobj
= Py_BuildValue("i",_result
);
1173 #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval)
1174 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_set(PyObject
*self
, PyObject
*args
) {
1175 PyObject
* _resultobj
;
1177 wxToolBarTool
* _arg0
;
1180 PyObject
* _obj1
= 0;
1183 if(!PyArg_ParseTuple(args
,"sO:wxToolBarTool_m_shortHelpString_set",&_argc0
,&_obj1
))
1186 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p.");
1192 if (!PyString_Check(_obj1
)) {
1193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1196 _arg1
= new wxString(PyString_AsString(_obj1
));
1198 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_set(_arg0
,_arg1
);
1200 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1209 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
1210 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_get(PyObject
*self
, PyObject
*args
) {
1211 PyObject
* _resultobj
;
1213 wxToolBarTool
* _arg0
;
1217 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_shortHelpString_get",&_argc0
))
1220 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
1225 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_get(_arg0
);
1227 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1232 #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval)
1233 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_set(PyObject
*self
, PyObject
*args
) {
1234 PyObject
* _resultobj
;
1236 wxToolBarTool
* _arg0
;
1239 PyObject
* _obj1
= 0;
1242 if(!PyArg_ParseTuple(args
,"sO:wxToolBarTool_m_longHelpString_set",&_argc0
,&_obj1
))
1245 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p.");
1251 if (!PyString_Check(_obj1
)) {
1252 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1255 _arg1
= new wxString(PyString_AsString(_obj1
));
1257 _result
= (wxString
*)wxToolBarTool_m_longHelpString_set(_arg0
,_arg1
);
1259 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1268 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
1269 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_get(PyObject
*self
, PyObject
*args
) {
1270 PyObject
* _resultobj
;
1272 wxToolBarTool
* _arg0
;
1276 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_longHelpString_get",&_argc0
))
1279 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
1284 _result
= (wxString
*)wxToolBarTool_m_longHelpString_get(_arg0
);
1286 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
1291 static void *SwigwxToolBarTowxControl(void *ptr
) {
1294 src
= (wxToolBar
*) ptr
;
1295 dest
= (wxControl
*) src
;
1296 return (void *) dest
;
1299 static void *SwigwxToolBarTowxWindow(void *ptr
) {
1302 src
= (wxToolBar
*) ptr
;
1303 dest
= (wxWindow
*) src
;
1304 return (void *) dest
;
1307 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
1310 src
= (wxToolBar
*) ptr
;
1311 dest
= (wxEvtHandler
*) src
;
1312 return (void *) dest
;
1315 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
1316 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
) {
1317 PyObject
* _resultobj
;
1318 wxToolBar
* _result
;
1321 wxPoint
* _arg2
= &wxPyDefaultPosition
;
1322 wxSize
* _arg3
= &wxPyDefaultSize
;
1323 long _arg4
= (wxTB_HORIZONTAL
)|(wxNO_BORDER
);
1324 char * _arg5
= "toolBar";
1331 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxToolBar",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
1334 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
1335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
1340 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p.");
1346 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
1347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p.");
1351 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
1352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
1353 _resultobj
= Py_BuildValue("s",_ptemp
);
1357 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1358 static PyObject
*_wrap_wxToolBar_AddSeparator(PyObject
*self
, PyObject
*args
) {
1359 PyObject
* _resultobj
;
1364 if(!PyArg_ParseTuple(args
,"s:wxToolBar_AddSeparator",&_argc0
))
1367 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
1372 wxToolBar_AddSeparator(_arg0
);
1374 _resultobj
= Py_None
;
1378 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
) {
1379 return self
->AddTool(toolIndex
, bitmap1
, bitmap2
,
1380 isToggle
, xPos
, yPos
, NULL
,
1381 shortHelpString
, longHelpString
);
1383 static PyObject
*_wrap_wxToolBar_AddTool(PyObject
*self
, PyObject
*args
) {
1384 PyObject
* _resultobj
;
1385 wxToolBarTool
* _result
;
1389 wxBitmap
* _arg3
= &wxNullBitmap
;
1393 wxString
* _arg7
= &wxPyEmptyStr
;
1394 wxString
* _arg8
= &wxPyEmptyStr
;
1398 PyObject
* _obj7
= 0;
1399 PyObject
* _obj8
= 0;
1403 if(!PyArg_ParseTuple(args
,"sis|sillOO:wxToolBar_AddTool",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
,&_obj8
))
1406 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
1412 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1418 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxBitmap_p")) {
1419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1425 if (!PyString_Check(_obj7
)) {
1426 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1429 _arg7
= new wxString(PyString_AsString(_obj7
));
1433 if (!PyString_Check(_obj8
)) {
1434 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1437 _arg8
= new wxString(PyString_AsString(_obj8
));
1439 _result
= (wxToolBarTool
*)wxToolBar_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1441 _resultobj
= Py_BuildValue("s",_ptemp
);
1453 static wxToolBarTool
* wxToolBar_AddSimpleTool(wxToolBar
*self
,int toolIndex
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1454 return self
->AddTool(toolIndex
, bitmap
, wxNullBitmap
,
1455 FALSE
, -1, -1, NULL
,
1456 shortHelpString
, longHelpString
);
1458 static PyObject
*_wrap_wxToolBar_AddSimpleTool(PyObject
*self
, PyObject
*args
) {
1459 PyObject
* _resultobj
;
1460 wxToolBarTool
* _result
;
1464 wxString
* _arg3
= &wxPyEmptyStr
;
1465 wxString
* _arg4
= &wxPyEmptyStr
;
1468 PyObject
* _obj3
= 0;
1469 PyObject
* _obj4
= 0;
1473 if(!PyArg_ParseTuple(args
,"sis|OO:wxToolBar_AddSimpleTool",&_argc0
,&_arg1
,&_argc2
,&_obj3
,&_obj4
))
1476 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p.");
1482 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p.");
1489 if (!PyString_Check(_obj3
)) {
1490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1493 _arg3
= new wxString(PyString_AsString(_obj3
));
1497 if (!PyString_Check(_obj4
)) {
1498 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1501 _arg4
= new wxString(PyString_AsString(_obj4
));
1503 _result
= (wxToolBarTool
*)wxToolBar_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
);
1504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1505 _resultobj
= Py_BuildValue("s",_ptemp
);
1517 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1518 static PyObject
*_wrap_wxToolBar_EnableTool(PyObject
*self
, PyObject
*args
) {
1519 PyObject
* _resultobj
;
1527 if(!PyArg_ParseTuple(args
,"sii:wxToolBar_EnableTool",&_argc0
,&_arg1
,&tempbool2
))
1530 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1535 _arg2
= (bool ) tempbool2
;
1536 wxToolBar_EnableTool(_arg0
,_arg1
,_arg2
);
1538 _resultobj
= Py_None
;
1542 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
1543 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
) {
1544 PyObject
* _resultobj
;
1545 wxToolBarTool
* _result
;
1553 if(!PyArg_ParseTuple(args
,"sff:wxToolBar_FindToolForPosition",&_argc0
,&_arg1
,&_arg2
))
1556 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
1561 _result
= (wxToolBarTool
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
1562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1563 _resultobj
= Py_BuildValue("s",_ptemp
);
1567 #define wxToolBar_GetToolSize(_swigobj) (_swigobj->GetToolSize())
1568 static PyObject
*_wrap_wxToolBar_GetToolSize(PyObject
*self
, PyObject
*args
) {
1569 PyObject
* _resultobj
;
1576 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolSize",&_argc0
))
1579 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSize. Expected _wxToolBar_p.");
1584 _result
= new wxSize (wxToolBar_GetToolSize(_arg0
));
1585 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1586 _resultobj
= Py_BuildValue("s",_ptemp
);
1590 #define wxToolBar_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
1591 static PyObject
*_wrap_wxToolBar_GetToolBitmapSize(PyObject
*self
, PyObject
*args
) {
1592 PyObject
* _resultobj
;
1599 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolBitmapSize",&_argc0
))
1602 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolBitmapSize. Expected _wxToolBar_p.");
1607 _result
= new wxSize (wxToolBar_GetToolBitmapSize(_arg0
));
1608 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1609 _resultobj
= Py_BuildValue("s",_ptemp
);
1613 #define wxToolBar_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
1614 static PyObject
*_wrap_wxToolBar_SetToolBitmapSize(PyObject
*self
, PyObject
*args
) {
1615 PyObject
* _resultobj
;
1622 if(!PyArg_ParseTuple(args
,"ss:wxToolBar_SetToolBitmapSize",&_argc0
,&_argc1
))
1625 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolBitmapSize. Expected _wxToolBar_p.");
1631 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetToolBitmapSize. Expected _wxSize_p.");
1636 wxToolBar_SetToolBitmapSize(_arg0
,*_arg1
);
1638 _resultobj
= Py_None
;
1642 #define wxToolBar_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
1643 static PyObject
*_wrap_wxToolBar_GetMaxSize(PyObject
*self
, PyObject
*args
) {
1644 PyObject
* _resultobj
;
1651 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetMaxSize",&_argc0
))
1654 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetMaxSize. Expected _wxToolBar_p.");
1659 _result
= new wxSize (wxToolBar_GetMaxSize(_arg0
));
1660 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1661 _resultobj
= Py_BuildValue("s",_ptemp
);
1665 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
1666 static PyObject
*_wrap_wxToolBar_GetToolEnabled(PyObject
*self
, PyObject
*args
) {
1667 PyObject
* _resultobj
;
1674 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolEnabled",&_argc0
,&_arg1
))
1677 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
1682 _result
= (bool )wxToolBar_GetToolEnabled(_arg0
,_arg1
);
1683 _resultobj
= Py_BuildValue("i",_result
);
1687 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
1688 static PyObject
*_wrap_wxToolBar_GetToolLongHelp(PyObject
*self
, PyObject
*args
) {
1689 PyObject
* _resultobj
;
1696 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolLongHelp",&_argc0
,&_arg1
))
1699 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
1704 _result
= new wxString (wxToolBar_GetToolLongHelp(_arg0
,_arg1
));
1706 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1714 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
1715 static PyObject
*_wrap_wxToolBar_GetToolPacking(PyObject
*self
, PyObject
*args
) {
1716 PyObject
* _resultobj
;
1722 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolPacking",&_argc0
))
1725 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
1730 _result
= (int )wxToolBar_GetToolPacking(_arg0
);
1731 _resultobj
= Py_BuildValue("i",_result
);
1735 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
1736 static PyObject
*_wrap_wxToolBar_GetToolSeparation(PyObject
*self
, PyObject
*args
) {
1737 PyObject
* _resultobj
;
1743 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolSeparation",&_argc0
))
1746 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
1751 _result
= (int )wxToolBar_GetToolSeparation(_arg0
);
1752 _resultobj
= Py_BuildValue("i",_result
);
1756 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
1757 static PyObject
*_wrap_wxToolBar_GetToolShortHelp(PyObject
*self
, PyObject
*args
) {
1758 PyObject
* _resultobj
;
1765 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolShortHelp",&_argc0
,&_arg1
))
1768 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
1773 _result
= new wxString (wxToolBar_GetToolShortHelp(_arg0
,_arg1
));
1775 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1783 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
1784 static PyObject
*_wrap_wxToolBar_GetToolState(PyObject
*self
, PyObject
*args
) {
1785 PyObject
* _resultobj
;
1792 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolState",&_argc0
,&_arg1
))
1795 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
1800 _result
= (bool )wxToolBar_GetToolState(_arg0
,_arg1
);
1801 _resultobj
= Py_BuildValue("i",_result
);
1805 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
1806 static PyObject
*_wrap_wxToolBar_Realize(PyObject
*self
, PyObject
*args
) {
1807 PyObject
* _resultobj
;
1813 if(!PyArg_ParseTuple(args
,"s:wxToolBar_Realize",&_argc0
))
1816 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
1821 _result
= (bool )wxToolBar_Realize(_arg0
);
1822 _resultobj
= Py_BuildValue("i",_result
);
1826 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
1827 static PyObject
*_wrap_wxToolBar_SetToolLongHelp(PyObject
*self
, PyObject
*args
) {
1828 PyObject
* _resultobj
;
1833 PyObject
* _obj2
= 0;
1836 if(!PyArg_ParseTuple(args
,"siO:wxToolBar_SetToolLongHelp",&_argc0
,&_arg1
,&_obj2
))
1839 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
1845 if (!PyString_Check(_obj2
)) {
1846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1849 _arg2
= new wxString(PyString_AsString(_obj2
));
1851 wxToolBar_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
1853 _resultobj
= Py_None
;
1861 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
1862 static PyObject
*_wrap_wxToolBar_SetToolShortHelp(PyObject
*self
, PyObject
*args
) {
1863 PyObject
* _resultobj
;
1868 PyObject
* _obj2
= 0;
1871 if(!PyArg_ParseTuple(args
,"siO:wxToolBar_SetToolShortHelp",&_argc0
,&_arg1
,&_obj2
))
1874 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
1880 if (!PyString_Check(_obj2
)) {
1881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1884 _arg2
= new wxString(PyString_AsString(_obj2
));
1886 wxToolBar_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
1888 _resultobj
= Py_None
;
1896 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
1897 static PyObject
*_wrap_wxToolBar_SetMargins(PyObject
*self
, PyObject
*args
) {
1898 PyObject
* _resultobj
;
1905 if(!PyArg_ParseTuple(args
,"ss:wxToolBar_SetMargins",&_argc0
,&_argc1
))
1908 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
1914 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetMargins. Expected _wxSize_p.");
1919 wxToolBar_SetMargins(_arg0
,*_arg1
);
1921 _resultobj
= Py_None
;
1925 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
1926 static PyObject
*_wrap_wxToolBar_SetToolPacking(PyObject
*self
, PyObject
*args
) {
1927 PyObject
* _resultobj
;
1933 if(!PyArg_ParseTuple(args
,"si:wxToolBar_SetToolPacking",&_argc0
,&_arg1
))
1936 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
1941 wxToolBar_SetToolPacking(_arg0
,_arg1
);
1943 _resultobj
= Py_None
;
1947 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
1948 static PyObject
*_wrap_wxToolBar_SetToolSeparation(PyObject
*self
, PyObject
*args
) {
1949 PyObject
* _resultobj
;
1955 if(!PyArg_ParseTuple(args
,"si:wxToolBar_SetToolSeparation",&_argc0
,&_arg1
))
1958 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
1963 wxToolBar_SetToolSeparation(_arg0
,_arg1
);
1965 _resultobj
= Py_None
;
1969 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
1970 static PyObject
*_wrap_wxToolBar_ToggleTool(PyObject
*self
, PyObject
*args
) {
1971 PyObject
* _resultobj
;
1979 if(!PyArg_ParseTuple(args
,"sii:wxToolBar_ToggleTool",&_argc0
,&_arg1
,&tempbool2
))
1982 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
1987 _arg2
= (bool ) tempbool2
;
1988 wxToolBar_ToggleTool(_arg0
,_arg1
,_arg2
);
1990 _resultobj
= Py_None
;
1994 static PyMethodDef stattoolcMethods
[] = {
1995 { "wxToolBar_ToggleTool", _wrap_wxToolBar_ToggleTool
, 1 },
1996 { "wxToolBar_SetToolSeparation", _wrap_wxToolBar_SetToolSeparation
, 1 },
1997 { "wxToolBar_SetToolPacking", _wrap_wxToolBar_SetToolPacking
, 1 },
1998 { "wxToolBar_SetMargins", _wrap_wxToolBar_SetMargins
, 1 },
1999 { "wxToolBar_SetToolShortHelp", _wrap_wxToolBar_SetToolShortHelp
, 1 },
2000 { "wxToolBar_SetToolLongHelp", _wrap_wxToolBar_SetToolLongHelp
, 1 },
2001 { "wxToolBar_Realize", _wrap_wxToolBar_Realize
, 1 },
2002 { "wxToolBar_GetToolState", _wrap_wxToolBar_GetToolState
, 1 },
2003 { "wxToolBar_GetToolShortHelp", _wrap_wxToolBar_GetToolShortHelp
, 1 },
2004 { "wxToolBar_GetToolSeparation", _wrap_wxToolBar_GetToolSeparation
, 1 },
2005 { "wxToolBar_GetToolPacking", _wrap_wxToolBar_GetToolPacking
, 1 },
2006 { "wxToolBar_GetToolLongHelp", _wrap_wxToolBar_GetToolLongHelp
, 1 },
2007 { "wxToolBar_GetToolEnabled", _wrap_wxToolBar_GetToolEnabled
, 1 },
2008 { "wxToolBar_GetMaxSize", _wrap_wxToolBar_GetMaxSize
, 1 },
2009 { "wxToolBar_SetToolBitmapSize", _wrap_wxToolBar_SetToolBitmapSize
, 1 },
2010 { "wxToolBar_GetToolBitmapSize", _wrap_wxToolBar_GetToolBitmapSize
, 1 },
2011 { "wxToolBar_GetToolSize", _wrap_wxToolBar_GetToolSize
, 1 },
2012 { "wxToolBar_FindToolForPosition", _wrap_wxToolBar_FindToolForPosition
, 1 },
2013 { "wxToolBar_EnableTool", _wrap_wxToolBar_EnableTool
, 1 },
2014 { "wxToolBar_AddSimpleTool", _wrap_wxToolBar_AddSimpleTool
, 1 },
2015 { "wxToolBar_AddTool", _wrap_wxToolBar_AddTool
, 1 },
2016 { "wxToolBar_AddSeparator", _wrap_wxToolBar_AddSeparator
, 1 },
2017 { "new_wxToolBar", _wrap_new_wxToolBar
, 1 },
2018 { "wxToolBarTool_m_longHelpString_get", _wrap_wxToolBarTool_m_longHelpString_get
, 1 },
2019 { "wxToolBarTool_m_longHelpString_set", _wrap_wxToolBarTool_m_longHelpString_set
, 1 },
2020 { "wxToolBarTool_m_shortHelpString_get", _wrap_wxToolBarTool_m_shortHelpString_get
, 1 },
2021 { "wxToolBarTool_m_shortHelpString_set", _wrap_wxToolBarTool_m_shortHelpString_set
, 1 },
2022 { "wxToolBarTool_m_isMenuCommand_get", _wrap_wxToolBarTool_m_isMenuCommand_get
, 1 },
2023 { "wxToolBarTool_m_isMenuCommand_set", _wrap_wxToolBarTool_m_isMenuCommand_set
, 1 },
2024 { "wxToolBarTool_m_bitmap2_get", _wrap_wxToolBarTool_m_bitmap2_get
, 1 },
2025 { "wxToolBarTool_m_bitmap2_set", _wrap_wxToolBarTool_m_bitmap2_set
, 1 },
2026 { "wxToolBarTool_m_bitmap1_get", _wrap_wxToolBarTool_m_bitmap1_get
, 1 },
2027 { "wxToolBarTool_m_bitmap1_set", _wrap_wxToolBarTool_m_bitmap1_set
, 1 },
2028 { "wxToolBarTool_m_enabled_get", _wrap_wxToolBarTool_m_enabled_get
, 1 },
2029 { "wxToolBarTool_m_enabled_set", _wrap_wxToolBarTool_m_enabled_set
, 1 },
2030 { "wxToolBarTool_m_deleteSecondBitmap_get", _wrap_wxToolBarTool_m_deleteSecondBitmap_get
, 1 },
2031 { "wxToolBarTool_m_deleteSecondBitmap_set", _wrap_wxToolBarTool_m_deleteSecondBitmap_set
, 1 },
2032 { "wxToolBarTool_m_isToggle_get", _wrap_wxToolBarTool_m_isToggle_get
, 1 },
2033 { "wxToolBarTool_m_isToggle_set", _wrap_wxToolBarTool_m_isToggle_set
, 1 },
2034 { "wxToolBarTool_m_toggleState_get", _wrap_wxToolBarTool_m_toggleState_get
, 1 },
2035 { "wxToolBarTool_m_toggleState_set", _wrap_wxToolBarTool_m_toggleState_set
, 1 },
2036 { "wxToolBarTool_m_height_get", _wrap_wxToolBarTool_m_height_get
, 1 },
2037 { "wxToolBarTool_m_height_set", _wrap_wxToolBarTool_m_height_set
, 1 },
2038 { "wxToolBarTool_m_width_get", _wrap_wxToolBarTool_m_width_get
, 1 },
2039 { "wxToolBarTool_m_width_set", _wrap_wxToolBarTool_m_width_set
, 1 },
2040 { "wxToolBarTool_m_y_get", _wrap_wxToolBarTool_m_y_get
, 1 },
2041 { "wxToolBarTool_m_y_set", _wrap_wxToolBarTool_m_y_set
, 1 },
2042 { "wxToolBarTool_m_x_get", _wrap_wxToolBarTool_m_x_get
, 1 },
2043 { "wxToolBarTool_m_x_set", _wrap_wxToolBarTool_m_x_set
, 1 },
2044 { "wxToolBarTool_m_index_get", _wrap_wxToolBarTool_m_index_get
, 1 },
2045 { "wxToolBarTool_m_index_set", _wrap_wxToolBarTool_m_index_set
, 1 },
2046 { "wxToolBarTool_m_clientData_get", _wrap_wxToolBarTool_m_clientData_get
, 1 },
2047 { "wxToolBarTool_m_clientData_set", _wrap_wxToolBarTool_m_clientData_set
, 1 },
2048 { "wxToolBarTool_m_toolStyle_get", _wrap_wxToolBarTool_m_toolStyle_get
, 1 },
2049 { "wxToolBarTool_m_toolStyle_set", _wrap_wxToolBarTool_m_toolStyle_set
, 1 },
2050 { "wxToolBarTool_GetHeight", _wrap_wxToolBarTool_GetHeight
, 1 },
2051 { "wxToolBarTool_GetWidth", _wrap_wxToolBarTool_GetWidth
, 1 },
2052 { "wxToolBarTool_SetSize", _wrap_wxToolBarTool_SetSize
, 1 },
2053 { "delete_wxToolBarTool", _wrap_delete_wxToolBarTool
, 1 },
2054 { "new_wxToolBarTool", _wrap_new_wxToolBarTool
, 1 },
2055 { "wxStatusBar_SetStatusWidths", _wrap_wxStatusBar_SetStatusWidths
, 1 },
2056 { "wxStatusBar_SetStatusText", _wrap_wxStatusBar_SetStatusText
, 1 },
2057 { "wxStatusBar_SetFieldsCount", _wrap_wxStatusBar_SetFieldsCount
, 1 },
2058 { "wxStatusBar_InitColours", _wrap_wxStatusBar_InitColours
, 1 },
2059 { "wxStatusBar_DrawFieldText", _wrap_wxStatusBar_DrawFieldText
, 1 },
2060 { "wxStatusBar_DrawField", _wrap_wxStatusBar_DrawField
, 1 },
2061 { "wxStatusBar_GetStatusText", _wrap_wxStatusBar_GetStatusText
, 1 },
2062 { "wxStatusBar_GetFieldsCount", _wrap_wxStatusBar_GetFieldsCount
, 1 },
2063 { "wxStatusBar_GetFieldRect", _wrap_wxStatusBar_GetFieldRect
, 1 },
2064 { "new_wxStatusBar", _wrap_new_wxStatusBar
, 1 },
2067 static PyObject
*SWIG_globals
;
2071 SWIGEXPORT(void,initstattoolc
)() {
2073 SWIG_globals
= SWIG_newvarlink();
2074 m
= Py_InitModule("stattoolc", stattoolcMethods
);
2075 d
= PyModule_GetDict(m
);
2077 * These are the pointer type-equivalency mappings.
2078 * (Used by the SWIG pointer type-checker).
2080 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
2081 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
2082 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
2083 SWIG_RegisterMapping("_signed_long","_long",0);
2084 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
2085 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
2086 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
2087 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
);
2088 SWIG_RegisterMapping("_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
);
2089 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
2090 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
2091 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
2092 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
2093 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
2094 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
2095 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
2096 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
2097 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
2098 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
2099 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
2100 SWIG_RegisterMapping("_byte","_unsigned_char",0);
2101 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
2102 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
2103 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
2104 SWIG_RegisterMapping("_long","_wxDash",0);
2105 SWIG_RegisterMapping("_long","_unsigned_long",0);
2106 SWIG_RegisterMapping("_long","_signed_long",0);
2107 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
2108 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
2109 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
2110 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
2111 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
2112 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
2113 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
2114 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
2115 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
2116 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
2117 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
2118 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
2119 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
2120 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
2121 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
2122 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
2123 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
2124 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
2125 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
2126 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
2127 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
2128 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
2129 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
2130 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
2131 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
2132 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
2133 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
2134 SWIG_RegisterMapping("_uint","_unsigned_int",0);
2135 SWIG_RegisterMapping("_uint","_int",0);
2136 SWIG_RegisterMapping("_uint","_wxWindowID",0);
2137 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
2138 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
2139 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
2140 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
2141 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
2142 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
2143 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
2144 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
2145 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
2146 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
2147 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
2148 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
2149 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
2150 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
2151 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
2152 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
2153 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
2154 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
2155 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
2156 SWIG_RegisterMapping("_EBool","_signed_int",0);
2157 SWIG_RegisterMapping("_EBool","_int",0);
2158 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
2159 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
2160 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
2161 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
2162 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
2163 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
2164 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
2165 SWIG_RegisterMapping("_unsigned_long","_long",0);
2166 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
2167 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
2168 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
2169 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
2170 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
2171 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
2172 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
2173 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
2174 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
2175 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
2176 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
2177 SWIG_RegisterMapping("_signed_int","_EBool",0);
2178 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
2179 SWIG_RegisterMapping("_signed_int","_int",0);
2180 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
2181 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
2182 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
2183 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
2184 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
2185 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
2186 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
2187 SWIG_RegisterMapping("_WXTYPE","_short",0);
2188 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
2189 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
2190 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
2191 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
2192 SWIG_RegisterMapping("_unsigned_short","_short",0);
2193 SWIG_RegisterMapping("_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
);
2194 SWIG_RegisterMapping("_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
);
2195 SWIG_RegisterMapping("_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
);
2196 SWIG_RegisterMapping("_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
);
2197 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
2198 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
2199 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
2200 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
2201 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
2202 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
2203 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
2204 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
2205 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
2206 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
2207 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
2208 SWIG_RegisterMapping("_signed_short","_short",0);
2209 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
2210 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
2211 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
2212 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
2213 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
2214 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
2215 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
2216 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
2217 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
2218 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
2219 SWIG_RegisterMapping("_unsigned_char","_byte",0);
2220 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
2221 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
2222 SWIG_RegisterMapping("_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
);
2223 SWIG_RegisterMapping("_wxControl","_wxToolBar",SwigwxToolBarTowxControl
);
2224 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
2225 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
2226 SWIG_RegisterMapping("_unsigned_int","_uint",0);
2227 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
2228 SWIG_RegisterMapping("_unsigned_int","_int",0);
2229 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
2230 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
2231 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
2232 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
2233 SWIG_RegisterMapping("_short","_WXTYPE",0);
2234 SWIG_RegisterMapping("_short","_unsigned_short",0);
2235 SWIG_RegisterMapping("_short","_signed_short",0);
2236 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
2237 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
2238 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
2239 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
2240 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
2241 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
2242 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
2243 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
2244 SWIG_RegisterMapping("_wxWindowID","_uint",0);
2245 SWIG_RegisterMapping("_wxWindowID","_int",0);
2246 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
2247 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
2248 SWIG_RegisterMapping("_int","_EBool",0);
2249 SWIG_RegisterMapping("_int","_uint",0);
2250 SWIG_RegisterMapping("_int","_wxWindowID",0);
2251 SWIG_RegisterMapping("_int","_unsigned_int",0);
2252 SWIG_RegisterMapping("_int","_signed_int",0);
2253 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
2254 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
2255 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
2256 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
2257 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
2258 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
2259 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
2260 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
2261 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
2262 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
2263 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
2264 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
2265 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
2266 SWIG_RegisterMapping("_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
);
2267 SWIG_RegisterMapping("_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
);
2268 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
2269 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
2270 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
2271 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
2272 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
2273 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
2274 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
2275 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
2276 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
2277 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
2278 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
2279 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
2280 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
2281 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
2282 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
2283 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
2284 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
2285 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
2286 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
2287 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
2288 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
2289 SWIG_RegisterMapping("_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
);
2290 SWIG_RegisterMapping("_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
);
2291 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
2292 SWIG_RegisterMapping("_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
2293 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
2294 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
2295 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
2296 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
2297 SWIG_RegisterMapping("_wxDash","_long",0);
2298 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
2299 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
2300 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
2301 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
2302 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
2303 SWIG_RegisterMapping("_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
);
2304 SWIG_RegisterMapping("_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
);
2305 SWIG_RegisterMapping("_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
);
2306 SWIG_RegisterMapping("_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
);
2307 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);