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 int* int_LIST_helper(PyObject
* source
);
108 extern long* long_LIST_helper(PyObject
* source
);
109 extern char** string_LIST_helper(PyObject
* source
);
110 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
111 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
112 extern wxString
* wxString_LIST_helper(PyObject
* source
);
114 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
118 static char* wxStringErrorMsg
= "string type is required for parameter";
119 static void *SwigwxStatusBarTowxWindow(void *ptr
) {
122 src
= (wxStatusBar
*) ptr
;
123 dest
= (wxWindow
*) src
;
124 return (void *) dest
;
127 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) {
130 src
= (wxStatusBar
*) ptr
;
131 dest
= (wxEvtHandler
*) src
;
132 return (void *) dest
;
135 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
136 static PyObject
*_wrap_new_wxStatusBar(PyObject
*self
, PyObject
*args
) {
137 PyObject
* _resultobj
;
138 wxStatusBar
* _result
;
141 wxPoint
* _arg2
= &wxPyDefaultPosition
;
142 wxSize
* _arg3
= &wxPyDefaultSize
;
143 long _arg4
= wxST_SIZEGRIP
;
144 char * _arg5
= "statusBar";
151 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxStatusBar",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
154 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
160 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStatusBar. Expected _wxPoint_p.");
166 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxStatusBar. Expected _wxSize_p.");
171 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
173 _resultobj
= Py_BuildValue("s",_ptemp
);
177 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
178 wxRect
* rect
= new wxRect
;
179 self
->GetFieldRect(item
, *rect
);
182 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
) {
183 PyObject
* _resultobj
;
191 if(!PyArg_ParseTuple(args
,"sl:wxStatusBar_GetFieldRect",&_argc0
,&_arg1
))
194 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
199 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
201 _resultobj
= Py_BuildValue("s",_ptemp
);
205 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
206 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
) {
207 PyObject
* _resultobj
;
213 if(!PyArg_ParseTuple(args
,"s:wxStatusBar_GetFieldsCount",&_argc0
))
216 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
221 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
222 _resultobj
= Py_BuildValue("i",_result
);
226 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
227 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
) {
228 PyObject
* _resultobj
;
235 if(!PyArg_ParseTuple(args
,"s|i:wxStatusBar_GetStatusText",&_argc0
,&_arg1
))
238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
243 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
245 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
253 #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1))
254 static PyObject
*_wrap_wxStatusBar_DrawField(PyObject
*self
, PyObject
*args
) {
255 PyObject
* _resultobj
;
263 if(!PyArg_ParseTuple(args
,"ssi:wxStatusBar_DrawField",&_argc0
,&_argc1
,&_arg2
))
266 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p.");
272 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p.");
277 wxStatusBar_DrawField(_arg0
,*_arg1
,_arg2
);
279 _resultobj
= Py_None
;
283 #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1))
284 static PyObject
*_wrap_wxStatusBar_DrawFieldText(PyObject
*self
, PyObject
*args
) {
285 PyObject
* _resultobj
;
293 if(!PyArg_ParseTuple(args
,"ssi:wxStatusBar_DrawFieldText",&_argc0
,&_argc1
,&_arg2
))
296 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p.");
302 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxDC_p")) {
303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p.");
307 wxStatusBar_DrawFieldText(_arg0
,*_arg1
,_arg2
);
309 _resultobj
= Py_None
;
313 #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours())
314 static PyObject
*_wrap_wxStatusBar_InitColours(PyObject
*self
, PyObject
*args
) {
315 PyObject
* _resultobj
;
320 if(!PyArg_ParseTuple(args
,"s:wxStatusBar_InitColours",&_argc0
))
323 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p.");
328 wxStatusBar_InitColours(_arg0
);
330 _resultobj
= Py_None
;
334 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
335 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
) {
336 PyObject
* _resultobj
;
342 if(!PyArg_ParseTuple(args
,"s|i:wxStatusBar_SetFieldsCount",&_argc0
,&_arg1
))
345 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
350 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
352 _resultobj
= Py_None
;
356 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
357 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
) {
358 PyObject
* _resultobj
;
363 PyObject
* _obj1
= 0;
366 if(!PyArg_ParseTuple(args
,"sO|i:wxStatusBar_SetStatusText",&_argc0
,&_obj1
,&_arg2
))
369 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
375 if (!PyString_Check(_obj1
)) {
376 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
379 _arg1
= new wxString(PyString_AsString(_obj1
));
381 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
383 _resultobj
= Py_None
;
391 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
392 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
) {
393 PyObject
* _resultobj
;
398 PyObject
* _obj2
= 0;
401 if(!PyArg_ParseTuple(args
,"sO:wxStatusBar_SetStatusWidths",&_argc0
,&_obj2
))
404 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxStatusBar_p")) {
405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
411 _arg2
= int_LIST_helper(_obj2
);
417 _arg1
= PyList_Size(_obj2
);
419 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
421 _resultobj
= Py_None
;
428 #define new_wxToolBarTool() (new wxToolBarTool())
429 static PyObject
*_wrap_new_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
430 PyObject
* _resultobj
;
431 wxToolBarTool
* _result
;
435 if(!PyArg_ParseTuple(args
,":new_wxToolBarTool"))
437 _result
= (wxToolBarTool
*)new_wxToolBarTool();
438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
439 _resultobj
= Py_BuildValue("s",_ptemp
);
443 #define delete_wxToolBarTool(_swigobj) (delete _swigobj)
444 static PyObject
*_wrap_delete_wxToolBarTool(PyObject
*self
, PyObject
*args
) {
445 PyObject
* _resultobj
;
446 wxToolBarTool
* _arg0
;
450 if(!PyArg_ParseTuple(args
,"s:delete_wxToolBarTool",&_argc0
))
453 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p.");
458 delete_wxToolBarTool(_arg0
);
460 _resultobj
= Py_None
;
464 #define wxToolBarTool_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
465 static PyObject
*_wrap_wxToolBarTool_SetSize(PyObject
*self
, PyObject
*args
) {
466 PyObject
* _resultobj
;
467 wxToolBarTool
* _arg0
;
473 if(!PyArg_ParseTuple(args
,"sll:wxToolBarTool_SetSize",&_argc0
,&_arg1
,&_arg2
))
476 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_SetSize. Expected _wxToolBarTool_p.");
481 wxToolBarTool_SetSize(_arg0
,_arg1
,_arg2
);
483 _resultobj
= Py_None
;
487 #define wxToolBarTool_GetWidth(_swigobj) (_swigobj->GetWidth())
488 static PyObject
*_wrap_wxToolBarTool_GetWidth(PyObject
*self
, PyObject
*args
) {
489 PyObject
* _resultobj
;
491 wxToolBarTool
* _arg0
;
495 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_GetWidth",&_argc0
))
498 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetWidth. Expected _wxToolBarTool_p.");
503 _result
= (long )wxToolBarTool_GetWidth(_arg0
);
504 _resultobj
= Py_BuildValue("l",_result
);
508 #define wxToolBarTool_GetHeight(_swigobj) (_swigobj->GetHeight())
509 static PyObject
*_wrap_wxToolBarTool_GetHeight(PyObject
*self
, PyObject
*args
) {
510 PyObject
* _resultobj
;
512 wxToolBarTool
* _arg0
;
516 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_GetHeight",&_argc0
))
519 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_GetHeight. Expected _wxToolBarTool_p.");
524 _result
= (long )wxToolBarTool_GetHeight(_arg0
);
525 _resultobj
= Py_BuildValue("l",_result
);
529 #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle)
530 static PyObject
*_wrap_wxToolBarTool_m_toolStyle_get(PyObject
*self
, PyObject
*args
) {
531 PyObject
* _resultobj
;
533 wxToolBarTool
* _arg0
;
537 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_toolStyle_get",&_argc0
))
540 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p.");
545 _result
= (int )wxToolBarTool_m_toolStyle_get(_arg0
);
546 _resultobj
= Py_BuildValue("i",_result
);
550 #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData)
551 static PyObject
*_wrap_wxToolBarTool_m_clientData_get(PyObject
*self
, PyObject
*args
) {
552 PyObject
* _resultobj
;
554 wxToolBarTool
* _arg0
;
559 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_clientData_get",&_argc0
))
562 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p.");
567 _result
= (wxObject
*)wxToolBarTool_m_clientData_get(_arg0
);
568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxObject_p");
569 _resultobj
= Py_BuildValue("s",_ptemp
);
573 #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index)
574 static PyObject
*_wrap_wxToolBarTool_m_index_get(PyObject
*self
, PyObject
*args
) {
575 PyObject
* _resultobj
;
577 wxToolBarTool
* _arg0
;
581 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_index_get",&_argc0
))
584 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p.");
589 _result
= (int )wxToolBarTool_m_index_get(_arg0
);
590 _resultobj
= Py_BuildValue("i",_result
);
594 #define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x)
595 static PyObject
*_wrap_wxToolBarTool_m_x_get(PyObject
*self
, PyObject
*args
) {
596 PyObject
* _resultobj
;
598 wxToolBarTool
* _arg0
;
602 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_x_get",&_argc0
))
605 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_x_get. Expected _wxToolBarTool_p.");
610 _result
= (long )wxToolBarTool_m_x_get(_arg0
);
611 _resultobj
= Py_BuildValue("l",_result
);
615 #define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y)
616 static PyObject
*_wrap_wxToolBarTool_m_y_get(PyObject
*self
, PyObject
*args
) {
617 PyObject
* _resultobj
;
619 wxToolBarTool
* _arg0
;
623 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_y_get",&_argc0
))
626 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_y_get. Expected _wxToolBarTool_p.");
631 _result
= (long )wxToolBarTool_m_y_get(_arg0
);
632 _resultobj
= Py_BuildValue("l",_result
);
636 #define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width)
637 static PyObject
*_wrap_wxToolBarTool_m_width_get(PyObject
*self
, PyObject
*args
) {
638 PyObject
* _resultobj
;
640 wxToolBarTool
* _arg0
;
644 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_width_get",&_argc0
))
647 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_width_get. Expected _wxToolBarTool_p.");
652 _result
= (long )wxToolBarTool_m_width_get(_arg0
);
653 _resultobj
= Py_BuildValue("l",_result
);
657 #define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height)
658 static PyObject
*_wrap_wxToolBarTool_m_height_get(PyObject
*self
, PyObject
*args
) {
659 PyObject
* _resultobj
;
661 wxToolBarTool
* _arg0
;
665 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_height_get",&_argc0
))
668 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_height_get. Expected _wxToolBarTool_p.");
673 _result
= (long )wxToolBarTool_m_height_get(_arg0
);
674 _resultobj
= Py_BuildValue("l",_result
);
678 #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState)
679 static PyObject
*_wrap_wxToolBarTool_m_toggleState_get(PyObject
*self
, PyObject
*args
) {
680 PyObject
* _resultobj
;
682 wxToolBarTool
* _arg0
;
686 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_toggleState_get",&_argc0
))
689 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p.");
694 _result
= (bool )wxToolBarTool_m_toggleState_get(_arg0
);
695 _resultobj
= Py_BuildValue("i",_result
);
699 #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle)
700 static PyObject
*_wrap_wxToolBarTool_m_isToggle_get(PyObject
*self
, PyObject
*args
) {
701 PyObject
* _resultobj
;
703 wxToolBarTool
* _arg0
;
707 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_isToggle_get",&_argc0
))
710 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p.");
715 _result
= (bool )wxToolBarTool_m_isToggle_get(_arg0
);
716 _resultobj
= Py_BuildValue("i",_result
);
720 #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap)
721 static PyObject
*_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject
*self
, PyObject
*args
) {
722 PyObject
* _resultobj
;
724 wxToolBarTool
* _arg0
;
728 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_deleteSecondBitmap_get",&_argc0
))
731 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p.");
736 _result
= (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0
);
737 _resultobj
= Py_BuildValue("i",_result
);
741 #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled)
742 static PyObject
*_wrap_wxToolBarTool_m_enabled_get(PyObject
*self
, PyObject
*args
) {
743 PyObject
* _resultobj
;
745 wxToolBarTool
* _arg0
;
749 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_enabled_get",&_argc0
))
752 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p.");
757 _result
= (bool )wxToolBarTool_m_enabled_get(_arg0
);
758 _resultobj
= Py_BuildValue("i",_result
);
762 #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1)
763 static PyObject
*_wrap_wxToolBarTool_m_bitmap1_get(PyObject
*self
, PyObject
*args
) {
764 PyObject
* _resultobj
;
766 wxToolBarTool
* _arg0
;
771 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_bitmap1_get",&_argc0
))
774 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p.");
779 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap1_get(_arg0
);
780 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
781 _resultobj
= Py_BuildValue("s",_ptemp
);
785 #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2)
786 static PyObject
*_wrap_wxToolBarTool_m_bitmap2_get(PyObject
*self
, PyObject
*args
) {
787 PyObject
* _resultobj
;
789 wxToolBarTool
* _arg0
;
794 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_bitmap2_get",&_argc0
))
797 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p.");
802 _result
= (wxBitmap
*)wxToolBarTool_m_bitmap2_get(_arg0
);
803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
804 _resultobj
= Py_BuildValue("s",_ptemp
);
808 #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand)
809 static PyObject
*_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject
*self
, PyObject
*args
) {
810 PyObject
* _resultobj
;
812 wxToolBarTool
* _arg0
;
816 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_isMenuCommand_get",&_argc0
))
819 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p.");
824 _result
= (bool )wxToolBarTool_m_isMenuCommand_get(_arg0
);
825 _resultobj
= Py_BuildValue("i",_result
);
829 #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString)
830 static PyObject
*_wrap_wxToolBarTool_m_shortHelpString_get(PyObject
*self
, PyObject
*args
) {
831 PyObject
* _resultobj
;
833 wxToolBarTool
* _arg0
;
837 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_shortHelpString_get",&_argc0
))
840 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p.");
845 _result
= (wxString
*)wxToolBarTool_m_shortHelpString_get(_arg0
);
847 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
852 #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString)
853 static PyObject
*_wrap_wxToolBarTool_m_longHelpString_get(PyObject
*self
, PyObject
*args
) {
854 PyObject
* _resultobj
;
856 wxToolBarTool
* _arg0
;
860 if(!PyArg_ParseTuple(args
,"s:wxToolBarTool_m_longHelpString_get",&_argc0
))
863 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBarTool_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p.");
868 _result
= (wxString
*)wxToolBarTool_m_longHelpString_get(_arg0
);
870 _resultobj
= PyString_FromString(WXSTRINGCAST (*_result
));
875 static void *SwigwxToolBarTowxControl(void *ptr
) {
878 src
= (wxToolBar
*) ptr
;
879 dest
= (wxControl
*) src
;
880 return (void *) dest
;
883 static void *SwigwxToolBarTowxWindow(void *ptr
) {
886 src
= (wxToolBar
*) ptr
;
887 dest
= (wxWindow
*) src
;
888 return (void *) dest
;
891 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
894 src
= (wxToolBar
*) ptr
;
895 dest
= (wxEvtHandler
*) src
;
896 return (void *) dest
;
899 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
900 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
) {
901 PyObject
* _resultobj
;
905 wxPoint
* _arg2
= &wxPyDefaultPosition
;
906 wxSize
* _arg3
= &wxPyDefaultSize
;
907 long _arg4
= (wxTB_HORIZONTAL
)|(wxNO_BORDER
);
908 char * _arg5
= "toolBar";
915 if(!PyArg_ParseTuple(args
,"si|ssls:new_wxToolBar",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
))
918 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
924 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxPoint_p")) {
925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p.");
930 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxSize_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p.");
935 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
937 _resultobj
= Py_BuildValue("s",_ptemp
);
941 #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator())
942 static PyObject
*_wrap_wxToolBar_AddSeparator(PyObject
*self
, PyObject
*args
) {
943 PyObject
* _resultobj
;
948 if(!PyArg_ParseTuple(args
,"s:wxToolBar_AddSeparator",&_argc0
))
951 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p.");
956 wxToolBar_AddSeparator(_arg0
);
958 _resultobj
= Py_None
;
962 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
) {
963 return self
->AddTool(toolIndex
, bitmap1
, bitmap2
,
964 isToggle
, xPos
, yPos
, NULL
,
965 shortHelpString
, longHelpString
);
967 static PyObject
*_wrap_wxToolBar_AddTool(PyObject
*self
, PyObject
*args
) {
968 PyObject
* _resultobj
;
969 wxToolBarTool
* _result
;
973 wxBitmap
* _arg3
= &wxNullBitmap
;
977 wxString
* _arg7
= &wxPyEmptyStr
;
978 wxString
* _arg8
= &wxPyEmptyStr
;
982 PyObject
* _obj7
= 0;
983 PyObject
* _obj8
= 0;
987 if(!PyArg_ParseTuple(args
,"sis|sillOO:wxToolBar_AddTool",&_argc0
,&_arg1
,&_argc2
,&_argc3
,&_arg4
,&_arg5
,&_arg6
,&_obj7
,&_obj8
))
990 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p.");
996 if (SWIG_GetPtr(_argc2
,(void **) &_arg2
,"_wxBitmap_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1002 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxBitmap_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p.");
1009 if (!PyString_Check(_obj7
)) {
1010 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1013 _arg7
= new wxString(PyString_AsString(_obj7
));
1017 if (!PyString_Check(_obj8
)) {
1018 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1021 _arg8
= new wxString(PyString_AsString(_obj8
));
1023 _result
= (wxToolBarTool
*)wxToolBar_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1025 _resultobj
= Py_BuildValue("s",_ptemp
);
1037 #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
1038 static PyObject
*_wrap_wxToolBar_EnableTool(PyObject
*self
, PyObject
*args
) {
1039 PyObject
* _resultobj
;
1047 if(!PyArg_ParseTuple(args
,"sii:wxToolBar_EnableTool",&_argc0
,&_arg1
,&tempbool2
))
1050 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p.");
1055 _arg2
= (bool ) tempbool2
;
1056 wxToolBar_EnableTool(_arg0
,_arg1
,_arg2
);
1058 _resultobj
= Py_None
;
1062 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
1063 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
) {
1064 PyObject
* _resultobj
;
1065 wxToolBarTool
* _result
;
1073 if(!PyArg_ParseTuple(args
,"sff:wxToolBar_FindToolForPosition",&_argc0
,&_arg1
,&_arg2
))
1076 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
1081 _result
= (wxToolBarTool
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
1082 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarTool_p");
1083 _resultobj
= Py_BuildValue("s",_ptemp
);
1087 #define wxToolBar_GetToolSize(_swigobj) (_swigobj->GetToolSize())
1088 static PyObject
*_wrap_wxToolBar_GetToolSize(PyObject
*self
, PyObject
*args
) {
1089 PyObject
* _resultobj
;
1096 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolSize",&_argc0
))
1099 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSize. Expected _wxToolBar_p.");
1104 _result
= new wxSize (wxToolBar_GetToolSize(_arg0
));
1105 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1106 _resultobj
= Py_BuildValue("s",_ptemp
);
1110 #define wxToolBar_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
1111 static PyObject
*_wrap_wxToolBar_GetToolBitmapSize(PyObject
*self
, PyObject
*args
) {
1112 PyObject
* _resultobj
;
1119 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolBitmapSize",&_argc0
))
1122 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolBitmapSize. Expected _wxToolBar_p.");
1127 _result
= new wxSize (wxToolBar_GetToolBitmapSize(_arg0
));
1128 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1129 _resultobj
= Py_BuildValue("s",_ptemp
);
1133 #define wxToolBar_GetMaxSize(_swigobj) (_swigobj->GetMaxSize())
1134 static PyObject
*_wrap_wxToolBar_GetMaxSize(PyObject
*self
, PyObject
*args
) {
1135 PyObject
* _resultobj
;
1142 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetMaxSize",&_argc0
))
1145 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetMaxSize. Expected _wxToolBar_p.");
1150 _result
= new wxSize (wxToolBar_GetMaxSize(_arg0
));
1151 SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1152 _resultobj
= Py_BuildValue("s",_ptemp
);
1156 #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
1157 static PyObject
*_wrap_wxToolBar_GetToolEnabled(PyObject
*self
, PyObject
*args
) {
1158 PyObject
* _resultobj
;
1165 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolEnabled",&_argc0
,&_arg1
))
1168 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p.");
1173 _result
= (bool )wxToolBar_GetToolEnabled(_arg0
,_arg1
);
1174 _resultobj
= Py_BuildValue("i",_result
);
1178 #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
1179 static PyObject
*_wrap_wxToolBar_GetToolLongHelp(PyObject
*self
, PyObject
*args
) {
1180 PyObject
* _resultobj
;
1187 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolLongHelp",&_argc0
,&_arg1
))
1190 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p.");
1195 _result
= new wxString (wxToolBar_GetToolLongHelp(_arg0
,_arg1
));
1197 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1205 #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
1206 static PyObject
*_wrap_wxToolBar_GetToolPacking(PyObject
*self
, PyObject
*args
) {
1207 PyObject
* _resultobj
;
1213 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolPacking",&_argc0
))
1216 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p.");
1221 _result
= (int )wxToolBar_GetToolPacking(_arg0
);
1222 _resultobj
= Py_BuildValue("i",_result
);
1226 #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
1227 static PyObject
*_wrap_wxToolBar_GetToolSeparation(PyObject
*self
, PyObject
*args
) {
1228 PyObject
* _resultobj
;
1234 if(!PyArg_ParseTuple(args
,"s:wxToolBar_GetToolSeparation",&_argc0
))
1237 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p.");
1242 _result
= (int )wxToolBar_GetToolSeparation(_arg0
);
1243 _resultobj
= Py_BuildValue("i",_result
);
1247 #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
1248 static PyObject
*_wrap_wxToolBar_GetToolShortHelp(PyObject
*self
, PyObject
*args
) {
1249 PyObject
* _resultobj
;
1256 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolShortHelp",&_argc0
,&_arg1
))
1259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p.");
1264 _result
= new wxString (wxToolBar_GetToolShortHelp(_arg0
,_arg1
));
1266 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1274 #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
1275 static PyObject
*_wrap_wxToolBar_GetToolState(PyObject
*self
, PyObject
*args
) {
1276 PyObject
* _resultobj
;
1283 if(!PyArg_ParseTuple(args
,"si:wxToolBar_GetToolState",&_argc0
,&_arg1
))
1286 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p.");
1291 _result
= (bool )wxToolBar_GetToolState(_arg0
,_arg1
);
1292 _resultobj
= Py_BuildValue("i",_result
);
1296 #define wxToolBar_Realize(_swigobj) (_swigobj->Realize())
1297 static PyObject
*_wrap_wxToolBar_Realize(PyObject
*self
, PyObject
*args
) {
1298 PyObject
* _resultobj
;
1304 if(!PyArg_ParseTuple(args
,"s:wxToolBar_Realize",&_argc0
))
1307 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p.");
1312 _result
= (bool )wxToolBar_Realize(_arg0
);
1313 _resultobj
= Py_BuildValue("i",_result
);
1317 #define wxToolBar_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
1318 static PyObject
*_wrap_wxToolBar_SetToolBitmapSize(PyObject
*self
, PyObject
*args
) {
1319 PyObject
* _resultobj
;
1326 if(!PyArg_ParseTuple(args
,"ss:wxToolBar_SetToolBitmapSize",&_argc0
,&_argc1
))
1329 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolBitmapSize. Expected _wxToolBar_p.");
1335 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetToolBitmapSize. Expected _wxSize_p.");
1340 wxToolBar_SetToolBitmapSize(_arg0
,*_arg1
);
1342 _resultobj
= Py_None
;
1346 #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
1347 static PyObject
*_wrap_wxToolBar_SetToolLongHelp(PyObject
*self
, PyObject
*args
) {
1348 PyObject
* _resultobj
;
1353 PyObject
* _obj2
= 0;
1356 if(!PyArg_ParseTuple(args
,"siO:wxToolBar_SetToolLongHelp",&_argc0
,&_arg1
,&_obj2
))
1359 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p.");
1365 if (!PyString_Check(_obj2
)) {
1366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1369 _arg2
= new wxString(PyString_AsString(_obj2
));
1371 wxToolBar_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
1373 _resultobj
= Py_None
;
1381 #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
1382 static PyObject
*_wrap_wxToolBar_SetToolShortHelp(PyObject
*self
, PyObject
*args
) {
1383 PyObject
* _resultobj
;
1388 PyObject
* _obj2
= 0;
1391 if(!PyArg_ParseTuple(args
,"siO:wxToolBar_SetToolShortHelp",&_argc0
,&_arg1
,&_obj2
))
1394 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p.");
1400 if (!PyString_Check(_obj2
)) {
1401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1404 _arg2
= new wxString(PyString_AsString(_obj2
));
1406 wxToolBar_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
1408 _resultobj
= Py_None
;
1416 #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
1417 static PyObject
*_wrap_wxToolBar_SetMargins(PyObject
*self
, PyObject
*args
) {
1418 PyObject
* _resultobj
;
1425 if(!PyArg_ParseTuple(args
,"ss:wxToolBar_SetMargins",&_argc0
,&_argc1
))
1428 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p.");
1434 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxSize_p")) {
1435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBar_SetMargins. Expected _wxSize_p.");
1439 wxToolBar_SetMargins(_arg0
,*_arg1
);
1441 _resultobj
= Py_None
;
1445 #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
1446 static PyObject
*_wrap_wxToolBar_SetToolPacking(PyObject
*self
, PyObject
*args
) {
1447 PyObject
* _resultobj
;
1453 if(!PyArg_ParseTuple(args
,"si:wxToolBar_SetToolPacking",&_argc0
,&_arg1
))
1456 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p.");
1461 wxToolBar_SetToolPacking(_arg0
,_arg1
);
1463 _resultobj
= Py_None
;
1467 #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
1468 static PyObject
*_wrap_wxToolBar_SetToolSeparation(PyObject
*self
, PyObject
*args
) {
1469 PyObject
* _resultobj
;
1475 if(!PyArg_ParseTuple(args
,"si:wxToolBar_SetToolSeparation",&_argc0
,&_arg1
))
1478 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p.");
1483 wxToolBar_SetToolSeparation(_arg0
,_arg1
);
1485 _resultobj
= Py_None
;
1489 #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
1490 static PyObject
*_wrap_wxToolBar_ToggleTool(PyObject
*self
, PyObject
*args
) {
1491 PyObject
* _resultobj
;
1499 if(!PyArg_ParseTuple(args
,"sii:wxToolBar_ToggleTool",&_argc0
,&_arg1
,&tempbool2
))
1502 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxToolBar_p")) {
1503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p.");
1507 _arg2
= (bool ) tempbool2
;
1508 wxToolBar_ToggleTool(_arg0
,_arg1
,_arg2
);
1510 _resultobj
= Py_None
;
1514 static PyMethodDef stattoolcMethods
[] = {
1515 { "wxToolBar_ToggleTool", _wrap_wxToolBar_ToggleTool
, 1 },
1516 { "wxToolBar_SetToolSeparation", _wrap_wxToolBar_SetToolSeparation
, 1 },
1517 { "wxToolBar_SetToolPacking", _wrap_wxToolBar_SetToolPacking
, 1 },
1518 { "wxToolBar_SetMargins", _wrap_wxToolBar_SetMargins
, 1 },
1519 { "wxToolBar_SetToolShortHelp", _wrap_wxToolBar_SetToolShortHelp
, 1 },
1520 { "wxToolBar_SetToolLongHelp", _wrap_wxToolBar_SetToolLongHelp
, 1 },
1521 { "wxToolBar_SetToolBitmapSize", _wrap_wxToolBar_SetToolBitmapSize
, 1 },
1522 { "wxToolBar_Realize", _wrap_wxToolBar_Realize
, 1 },
1523 { "wxToolBar_GetToolState", _wrap_wxToolBar_GetToolState
, 1 },
1524 { "wxToolBar_GetToolShortHelp", _wrap_wxToolBar_GetToolShortHelp
, 1 },
1525 { "wxToolBar_GetToolSeparation", _wrap_wxToolBar_GetToolSeparation
, 1 },
1526 { "wxToolBar_GetToolPacking", _wrap_wxToolBar_GetToolPacking
, 1 },
1527 { "wxToolBar_GetToolLongHelp", _wrap_wxToolBar_GetToolLongHelp
, 1 },
1528 { "wxToolBar_GetToolEnabled", _wrap_wxToolBar_GetToolEnabled
, 1 },
1529 { "wxToolBar_GetMaxSize", _wrap_wxToolBar_GetMaxSize
, 1 },
1530 { "wxToolBar_GetToolBitmapSize", _wrap_wxToolBar_GetToolBitmapSize
, 1 },
1531 { "wxToolBar_GetToolSize", _wrap_wxToolBar_GetToolSize
, 1 },
1532 { "wxToolBar_FindToolForPosition", _wrap_wxToolBar_FindToolForPosition
, 1 },
1533 { "wxToolBar_EnableTool", _wrap_wxToolBar_EnableTool
, 1 },
1534 { "wxToolBar_AddTool", _wrap_wxToolBar_AddTool
, 1 },
1535 { "wxToolBar_AddSeparator", _wrap_wxToolBar_AddSeparator
, 1 },
1536 { "new_wxToolBar", _wrap_new_wxToolBar
, 1 },
1537 { "wxToolBarTool_m_longHelpString_get", _wrap_wxToolBarTool_m_longHelpString_get
, 1 },
1538 { "wxToolBarTool_m_shortHelpString_get", _wrap_wxToolBarTool_m_shortHelpString_get
, 1 },
1539 { "wxToolBarTool_m_isMenuCommand_get", _wrap_wxToolBarTool_m_isMenuCommand_get
, 1 },
1540 { "wxToolBarTool_m_bitmap2_get", _wrap_wxToolBarTool_m_bitmap2_get
, 1 },
1541 { "wxToolBarTool_m_bitmap1_get", _wrap_wxToolBarTool_m_bitmap1_get
, 1 },
1542 { "wxToolBarTool_m_enabled_get", _wrap_wxToolBarTool_m_enabled_get
, 1 },
1543 { "wxToolBarTool_m_deleteSecondBitmap_get", _wrap_wxToolBarTool_m_deleteSecondBitmap_get
, 1 },
1544 { "wxToolBarTool_m_isToggle_get", _wrap_wxToolBarTool_m_isToggle_get
, 1 },
1545 { "wxToolBarTool_m_toggleState_get", _wrap_wxToolBarTool_m_toggleState_get
, 1 },
1546 { "wxToolBarTool_m_height_get", _wrap_wxToolBarTool_m_height_get
, 1 },
1547 { "wxToolBarTool_m_width_get", _wrap_wxToolBarTool_m_width_get
, 1 },
1548 { "wxToolBarTool_m_y_get", _wrap_wxToolBarTool_m_y_get
, 1 },
1549 { "wxToolBarTool_m_x_get", _wrap_wxToolBarTool_m_x_get
, 1 },
1550 { "wxToolBarTool_m_index_get", _wrap_wxToolBarTool_m_index_get
, 1 },
1551 { "wxToolBarTool_m_clientData_get", _wrap_wxToolBarTool_m_clientData_get
, 1 },
1552 { "wxToolBarTool_m_toolStyle_get", _wrap_wxToolBarTool_m_toolStyle_get
, 1 },
1553 { "wxToolBarTool_GetHeight", _wrap_wxToolBarTool_GetHeight
, 1 },
1554 { "wxToolBarTool_GetWidth", _wrap_wxToolBarTool_GetWidth
, 1 },
1555 { "wxToolBarTool_SetSize", _wrap_wxToolBarTool_SetSize
, 1 },
1556 { "delete_wxToolBarTool", _wrap_delete_wxToolBarTool
, 1 },
1557 { "new_wxToolBarTool", _wrap_new_wxToolBarTool
, 1 },
1558 { "wxStatusBar_SetStatusWidths", _wrap_wxStatusBar_SetStatusWidths
, 1 },
1559 { "wxStatusBar_SetStatusText", _wrap_wxStatusBar_SetStatusText
, 1 },
1560 { "wxStatusBar_SetFieldsCount", _wrap_wxStatusBar_SetFieldsCount
, 1 },
1561 { "wxStatusBar_InitColours", _wrap_wxStatusBar_InitColours
, 1 },
1562 { "wxStatusBar_DrawFieldText", _wrap_wxStatusBar_DrawFieldText
, 1 },
1563 { "wxStatusBar_DrawField", _wrap_wxStatusBar_DrawField
, 1 },
1564 { "wxStatusBar_GetStatusText", _wrap_wxStatusBar_GetStatusText
, 1 },
1565 { "wxStatusBar_GetFieldsCount", _wrap_wxStatusBar_GetFieldsCount
, 1 },
1566 { "wxStatusBar_GetFieldRect", _wrap_wxStatusBar_GetFieldRect
, 1 },
1567 { "new_wxStatusBar", _wrap_new_wxStatusBar
, 1 },
1570 static PyObject
*SWIG_globals
;
1574 SWIGEXPORT(void,initstattoolc
)() {
1576 SWIG_globals
= SWIG_newvarlink();
1577 m
= Py_InitModule("stattoolc", stattoolcMethods
);
1578 d
= PyModule_GetDict(m
);
1580 * These are the pointer type-equivalency mappings.
1581 * (Used by the SWIG pointer type-checker).
1583 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
1584 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
1585 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
1586 SWIG_RegisterMapping("_signed_long","_long",0);
1587 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
1588 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
1589 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
);
1590 SWIG_RegisterMapping("_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
);
1591 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
1592 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
1593 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
1594 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
1595 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
1596 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
1597 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
1598 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
1599 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
1600 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
1601 SWIG_RegisterMapping("_byte","_unsigned_char",0);
1602 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
1603 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
1604 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
1605 SWIG_RegisterMapping("_long","_wxDash",0);
1606 SWIG_RegisterMapping("_long","_unsigned_long",0);
1607 SWIG_RegisterMapping("_long","_signed_long",0);
1608 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
1609 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
1610 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
1611 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
1612 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
1613 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
1614 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
1615 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
1616 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
1617 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
1618 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
1619 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
1620 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
1621 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
1622 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
1623 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
1624 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
1625 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
1626 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
1627 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
1628 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
1629 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
1630 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
1631 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
1632 SWIG_RegisterMapping("_uint","_unsigned_int",0);
1633 SWIG_RegisterMapping("_uint","_int",0);
1634 SWIG_RegisterMapping("_uint","_wxWindowID",0);
1635 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
1636 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
1637 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
1638 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
1639 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
1640 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
1641 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
1642 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
1643 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
1644 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
1645 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
1646 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
1647 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
1648 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
1649 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
1650 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
1651 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
1652 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
1653 SWIG_RegisterMapping("_EBool","_signed_int",0);
1654 SWIG_RegisterMapping("_EBool","_int",0);
1655 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
1656 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
1657 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
1658 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
1659 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
1660 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
1661 SWIG_RegisterMapping("_unsigned_long","_long",0);
1662 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
1663 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
1664 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
1665 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
1666 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
1667 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
1668 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
1669 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
1670 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
1671 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
1672 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
1673 SWIG_RegisterMapping("_signed_int","_EBool",0);
1674 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
1675 SWIG_RegisterMapping("_signed_int","_int",0);
1676 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
1677 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
1678 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
1679 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
1680 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
1681 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
1682 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
1683 SWIG_RegisterMapping("_WXTYPE","_short",0);
1684 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
1685 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
1686 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
1687 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
1688 SWIG_RegisterMapping("_unsigned_short","_short",0);
1689 SWIG_RegisterMapping("_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
);
1690 SWIG_RegisterMapping("_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
);
1691 SWIG_RegisterMapping("_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
);
1692 SWIG_RegisterMapping("_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
);
1693 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
1694 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
1695 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
1696 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
1697 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
1698 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
1699 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
1700 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
1701 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
1702 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
1703 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
1704 SWIG_RegisterMapping("_signed_short","_short",0);
1705 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
1706 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
1707 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
1708 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
1709 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
1710 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
1711 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
1712 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
1713 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
1714 SWIG_RegisterMapping("_unsigned_char","_byte",0);
1715 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
1716 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
1717 SWIG_RegisterMapping("_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
);
1718 SWIG_RegisterMapping("_wxControl","_wxToolBar",SwigwxToolBarTowxControl
);
1719 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
1720 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
1721 SWIG_RegisterMapping("_unsigned_int","_uint",0);
1722 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
1723 SWIG_RegisterMapping("_unsigned_int","_int",0);
1724 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
1725 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
1726 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
1727 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
1728 SWIG_RegisterMapping("_short","_WXTYPE",0);
1729 SWIG_RegisterMapping("_short","_unsigned_short",0);
1730 SWIG_RegisterMapping("_short","_signed_short",0);
1731 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
1732 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
1733 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
1734 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
1735 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
1736 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
1737 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
1738 SWIG_RegisterMapping("_wxWindowID","_uint",0);
1739 SWIG_RegisterMapping("_wxWindowID","_int",0);
1740 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
1741 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
1742 SWIG_RegisterMapping("_int","_EBool",0);
1743 SWIG_RegisterMapping("_int","_uint",0);
1744 SWIG_RegisterMapping("_int","_wxWindowID",0);
1745 SWIG_RegisterMapping("_int","_unsigned_int",0);
1746 SWIG_RegisterMapping("_int","_signed_int",0);
1747 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
1748 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
1749 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
1750 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
1751 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
1752 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
1753 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
1754 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
1755 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
1756 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
1757 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
1758 SWIG_RegisterMapping("_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
);
1759 SWIG_RegisterMapping("_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
);
1760 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
1761 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
1762 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
1763 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
1764 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
1765 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
1766 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
1767 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
1768 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
1769 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
1770 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
1771 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
1772 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
1773 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
1774 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
1775 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
1776 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
1777 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
1778 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
1779 SWIG_RegisterMapping("_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
);
1780 SWIG_RegisterMapping("_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
);
1781 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
1782 SWIG_RegisterMapping("_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
);
1783 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
1784 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
1785 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
1786 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
1787 SWIG_RegisterMapping("_wxDash","_long",0);
1788 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
1789 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
1790 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
1791 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
1792 SWIG_RegisterMapping("_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
);
1793 SWIG_RegisterMapping("_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
);
1794 SWIG_RegisterMapping("_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
);
1795 SWIG_RegisterMapping("_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
);
1796 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);