2 * FILE : msw/stattool.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initstattoolc
54 #define SWIG_name "stattoolc"
57 #include <wx/toolbar.h>
58 #include <wx/tbarsmpl.h>
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 static char* wxStringErrorMsg
= "string type is required for parameter";
111 static void *SwigwxStatusBarTowxWindow(void *ptr
) {
114 src
= (wxStatusBar
*) ptr
;
115 dest
= (wxWindow
*) src
;
116 return (void *) dest
;
119 static void *SwigwxStatusBarTowxEvtHandler(void *ptr
) {
122 src
= (wxStatusBar
*) ptr
;
123 dest
= (wxEvtHandler
*) src
;
124 return (void *) dest
;
127 #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
128 static PyObject
*_wrap_new_wxStatusBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
129 PyObject
* _resultobj
;
130 wxStatusBar
* _result
;
133 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
134 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
135 long _arg4
= (long ) wxST_SIZEGRIP
;
136 char * _arg5
= (char *) "statusBar";
137 PyObject
* _argo0
= 0;
139 PyObject
* _obj2
= 0;
141 PyObject
* _obj3
= 0;
142 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStatusBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p.");
158 if (! wxPoint_helper(_obj2
, &_arg2
))
164 if (! wxSize_helper(_obj3
, &_arg3
))
168 wxPy_BEGIN_ALLOW_THREADS
;
169 _result
= (wxStatusBar
*)new_wxStatusBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
171 wxPy_END_ALLOW_THREADS
;
173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStatusBar_p");
174 _resultobj
= Py_BuildValue("s",_ptemp
);
177 _resultobj
= Py_None
;
182 static wxRect
* wxStatusBar_GetFieldRect(wxStatusBar
*self
,long item
) {
183 wxRect
* rect
= new wxRect
;
184 self
->GetFieldRect(item
, *rect
);
187 static PyObject
*_wrap_wxStatusBar_GetFieldRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
188 PyObject
* _resultobj
;
192 PyObject
* _argo0
= 0;
193 char *_kwnames
[] = { "self","item", NULL
};
197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxStatusBar_GetFieldRect",_kwnames
,&_argo0
,&_arg1
))
200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p.");
207 wxPy_BEGIN_ALLOW_THREADS
;
208 _result
= (wxRect
*)wxStatusBar_GetFieldRect(_arg0
,_arg1
);
210 wxPy_END_ALLOW_THREADS
;
212 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
213 _resultobj
= Py_BuildValue("s",_ptemp
);
216 _resultobj
= Py_None
;
221 #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount())
222 static PyObject
*_wrap_wxStatusBar_GetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
226 PyObject
* _argo0
= 0;
227 char *_kwnames
[] = { "self", NULL
};
230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetFieldsCount",_kwnames
,&_argo0
))
233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p.");
240 wxPy_BEGIN_ALLOW_THREADS
;
241 _result
= (int )wxStatusBar_GetFieldsCount(_arg0
);
243 wxPy_END_ALLOW_THREADS
;
244 } _resultobj
= Py_BuildValue("i",_result
);
248 #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0))
249 static PyObject
*_wrap_wxStatusBar_GetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
250 PyObject
* _resultobj
;
253 int _arg1
= (int ) 0;
254 PyObject
* _argo0
= 0;
255 char *_kwnames
[] = { "self","ir", NULL
};
258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_GetStatusText",_kwnames
,&_argo0
,&_arg1
))
261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p.");
268 wxPy_BEGIN_ALLOW_THREADS
;
269 _result
= new wxString (wxStatusBar_GetStatusText(_arg0
,_arg1
));
271 wxPy_END_ALLOW_THREADS
;
273 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
281 #define wxStatusBar_GetBorderX(_swigobj) (_swigobj->GetBorderX())
282 static PyObject
*_wrap_wxStatusBar_GetBorderX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
283 PyObject
* _resultobj
;
286 PyObject
* _argo0
= 0;
287 char *_kwnames
[] = { "self", NULL
};
290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderX",_kwnames
,&_argo0
))
293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderX. Expected _wxStatusBar_p.");
300 wxPy_BEGIN_ALLOW_THREADS
;
301 _result
= (int )wxStatusBar_GetBorderX(_arg0
);
303 wxPy_END_ALLOW_THREADS
;
304 } _resultobj
= Py_BuildValue("i",_result
);
308 #define wxStatusBar_GetBorderY(_swigobj) (_swigobj->GetBorderY())
309 static PyObject
*_wrap_wxStatusBar_GetBorderY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
313 PyObject
* _argo0
= 0;
314 char *_kwnames
[] = { "self", NULL
};
317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStatusBar_GetBorderY",_kwnames
,&_argo0
))
320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_GetBorderY. Expected _wxStatusBar_p.");
327 wxPy_BEGIN_ALLOW_THREADS
;
328 _result
= (int )wxStatusBar_GetBorderY(_arg0
);
330 wxPy_END_ALLOW_THREADS
;
331 } _resultobj
= Py_BuildValue("i",_result
);
335 #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0))
336 static PyObject
*_wrap_wxStatusBar_SetFieldsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
339 int _arg1
= (int ) 1;
340 PyObject
* _argo0
= 0;
341 char *_kwnames
[] = { "self","number", NULL
};
344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxStatusBar_SetFieldsCount",_kwnames
,&_argo0
,&_arg1
))
347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p.");
354 wxPy_BEGIN_ALLOW_THREADS
;
355 wxStatusBar_SetFieldsCount(_arg0
,_arg1
);
357 wxPy_END_ALLOW_THREADS
;
358 } Py_INCREF(Py_None
);
359 _resultobj
= Py_None
;
363 #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1))
364 static PyObject
*_wrap_wxStatusBar_SetStatusText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
368 int _arg2
= (int ) 0;
369 PyObject
* _argo0
= 0;
370 PyObject
* _obj1
= 0;
371 char *_kwnames
[] = { "self","text","i", NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxStatusBar_SetStatusText",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p.");
384 if (!PyString_Check(_obj1
)) {
385 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
388 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
391 wxPy_BEGIN_ALLOW_THREADS
;
392 wxStatusBar_SetStatusText(_arg0
,*_arg1
,_arg2
);
394 wxPy_END_ALLOW_THREADS
;
395 } Py_INCREF(Py_None
);
396 _resultobj
= Py_None
;
404 #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1))
405 static PyObject
*_wrap_wxStatusBar_SetStatusWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
406 PyObject
* _resultobj
;
410 PyObject
* _argo0
= 0;
411 PyObject
* _obj2
= 0;
412 char *_kwnames
[] = { "self","choices", NULL
};
415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStatusBar_SetStatusWidths",_kwnames
,&_argo0
,&_obj2
))
418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p.");
426 _arg2
= int_LIST_helper(_obj2
);
433 _arg1
= PyList_Size(_obj2
);
440 wxPy_BEGIN_ALLOW_THREADS
;
441 wxStatusBar_SetStatusWidths(_arg0
,_arg1
,_arg2
);
443 wxPy_END_ALLOW_THREADS
;
444 } Py_INCREF(Py_None
);
445 _resultobj
= Py_None
;
452 #define wxStatusBar_SetMinHeight(_swigobj,_swigarg0) (_swigobj->SetMinHeight(_swigarg0))
453 static PyObject
*_wrap_wxStatusBar_SetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
454 PyObject
* _resultobj
;
457 PyObject
* _argo0
= 0;
458 char *_kwnames
[] = { "self","height", NULL
};
461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxStatusBar_SetMinHeight",_kwnames
,&_argo0
,&_arg1
))
464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStatusBar_p")) {
466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStatusBar_SetMinHeight. Expected _wxStatusBar_p.");
471 wxPy_BEGIN_ALLOW_THREADS
;
472 wxStatusBar_SetMinHeight(_arg0
,_arg1
);
474 wxPy_END_ALLOW_THREADS
;
475 } Py_INCREF(Py_None
);
476 _resultobj
= Py_None
;
480 static void wxToolBarToolBase_Destroy(wxToolBarToolBase
*self
) { delete self
; }
481 static PyObject
*_wrap_wxToolBarToolBase_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
483 wxToolBarToolBase
* _arg0
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Destroy",_kwnames
,&_argo0
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Destroy. Expected _wxToolBarToolBase_p.");
498 wxPy_BEGIN_ALLOW_THREADS
;
499 wxToolBarToolBase_Destroy(_arg0
);
501 wxPy_END_ALLOW_THREADS
;
502 } Py_INCREF(Py_None
);
503 _resultobj
= Py_None
;
507 #define wxToolBarToolBase_GetId(_swigobj) (_swigobj->GetId())
508 static PyObject
*_wrap_wxToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
509 PyObject
* _resultobj
;
511 wxToolBarToolBase
* _arg0
;
512 PyObject
* _argo0
= 0;
513 char *_kwnames
[] = { "self", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetId",_kwnames
,&_argo0
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetId. Expected _wxToolBarToolBase_p.");
526 wxPy_BEGIN_ALLOW_THREADS
;
527 _result
= (int )wxToolBarToolBase_GetId(_arg0
);
529 wxPy_END_ALLOW_THREADS
;
530 } _resultobj
= Py_BuildValue("i",_result
);
534 #define wxToolBarToolBase_GetControl(_swigobj) (_swigobj->GetControl())
535 static PyObject
*_wrap_wxToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
536 PyObject
* _resultobj
;
538 wxToolBarToolBase
* _arg0
;
539 PyObject
* _argo0
= 0;
540 char *_kwnames
[] = { "self", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetControl",_kwnames
,&_argo0
))
547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetControl. Expected _wxToolBarToolBase_p.");
554 wxPy_BEGIN_ALLOW_THREADS
;
555 _result
= (wxControl
*)wxToolBarToolBase_GetControl(_arg0
);
557 wxPy_END_ALLOW_THREADS
;
559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
560 _resultobj
= Py_BuildValue("s",_ptemp
);
563 _resultobj
= Py_None
;
568 #define wxToolBarToolBase_GetToolBar(_swigobj) (_swigobj->GetToolBar())
569 static PyObject
*_wrap_wxToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
571 wxToolBarBase
* _result
;
572 wxToolBarToolBase
* _arg0
;
573 PyObject
* _argo0
= 0;
574 char *_kwnames
[] = { "self", NULL
};
578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetToolBar",_kwnames
,&_argo0
))
581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetToolBar. Expected _wxToolBarToolBase_p.");
588 wxPy_BEGIN_ALLOW_THREADS
;
589 _result
= (wxToolBarBase
*)wxToolBarToolBase_GetToolBar(_arg0
);
591 wxPy_END_ALLOW_THREADS
;
593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarBase_p");
594 _resultobj
= Py_BuildValue("s",_ptemp
);
597 _resultobj
= Py_None
;
602 #define wxToolBarToolBase_IsButton(_swigobj) (_swigobj->IsButton())
603 static PyObject
*_wrap_wxToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
604 PyObject
* _resultobj
;
606 wxToolBarToolBase
* _arg0
;
607 PyObject
* _argo0
= 0;
608 char *_kwnames
[] = { "self", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsButton",_kwnames
,&_argo0
))
614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsButton. Expected _wxToolBarToolBase_p.");
621 wxPy_BEGIN_ALLOW_THREADS
;
622 _result
= (int )wxToolBarToolBase_IsButton(_arg0
);
624 wxPy_END_ALLOW_THREADS
;
625 } _resultobj
= Py_BuildValue("i",_result
);
629 #define wxToolBarToolBase_IsControl(_swigobj) (_swigobj->IsControl())
630 static PyObject
*_wrap_wxToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
633 wxToolBarToolBase
* _arg0
;
634 PyObject
* _argo0
= 0;
635 char *_kwnames
[] = { "self", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsControl",_kwnames
,&_argo0
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsControl. Expected _wxToolBarToolBase_p.");
648 wxPy_BEGIN_ALLOW_THREADS
;
649 _result
= (int )wxToolBarToolBase_IsControl(_arg0
);
651 wxPy_END_ALLOW_THREADS
;
652 } _resultobj
= Py_BuildValue("i",_result
);
656 #define wxToolBarToolBase_IsSeparator(_swigobj) (_swigobj->IsSeparator())
657 static PyObject
*_wrap_wxToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
660 wxToolBarToolBase
* _arg0
;
661 PyObject
* _argo0
= 0;
662 char *_kwnames
[] = { "self", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsSeparator",_kwnames
,&_argo0
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsSeparator. Expected _wxToolBarToolBase_p.");
675 wxPy_BEGIN_ALLOW_THREADS
;
676 _result
= (int )wxToolBarToolBase_IsSeparator(_arg0
);
678 wxPy_END_ALLOW_THREADS
;
679 } _resultobj
= Py_BuildValue("i",_result
);
683 #define wxToolBarToolBase_GetStyle(_swigobj) (_swigobj->GetStyle())
684 static PyObject
*_wrap_wxToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
685 PyObject
* _resultobj
;
687 wxToolBarToolBase
* _arg0
;
688 PyObject
* _argo0
= 0;
689 char *_kwnames
[] = { "self", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetStyle",_kwnames
,&_argo0
))
695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetStyle. Expected _wxToolBarToolBase_p.");
702 wxPy_BEGIN_ALLOW_THREADS
;
703 _result
= (int )wxToolBarToolBase_GetStyle(_arg0
);
705 wxPy_END_ALLOW_THREADS
;
706 } _resultobj
= Py_BuildValue("i",_result
);
710 #define wxToolBarToolBase_IsEnabled(_swigobj) (_swigobj->IsEnabled())
711 static PyObject
*_wrap_wxToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
712 PyObject
* _resultobj
;
714 wxToolBarToolBase
* _arg0
;
715 PyObject
* _argo0
= 0;
716 char *_kwnames
[] = { "self", NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsEnabled",_kwnames
,&_argo0
))
722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsEnabled. Expected _wxToolBarToolBase_p.");
729 wxPy_BEGIN_ALLOW_THREADS
;
730 _result
= (bool )wxToolBarToolBase_IsEnabled(_arg0
);
732 wxPy_END_ALLOW_THREADS
;
733 } _resultobj
= Py_BuildValue("i",_result
);
737 #define wxToolBarToolBase_IsToggled(_swigobj) (_swigobj->IsToggled())
738 static PyObject
*_wrap_wxToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
739 PyObject
* _resultobj
;
741 wxToolBarToolBase
* _arg0
;
742 PyObject
* _argo0
= 0;
743 char *_kwnames
[] = { "self", NULL
};
746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_IsToggled",_kwnames
,&_argo0
))
749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_IsToggled. Expected _wxToolBarToolBase_p.");
756 wxPy_BEGIN_ALLOW_THREADS
;
757 _result
= (bool )wxToolBarToolBase_IsToggled(_arg0
);
759 wxPy_END_ALLOW_THREADS
;
760 } _resultobj
= Py_BuildValue("i",_result
);
764 #define wxToolBarToolBase_CanBeToggled(_swigobj) (_swigobj->CanBeToggled())
765 static PyObject
*_wrap_wxToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
768 wxToolBarToolBase
* _arg0
;
769 PyObject
* _argo0
= 0;
770 char *_kwnames
[] = { "self", NULL
};
773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_CanBeToggled",_kwnames
,&_argo0
))
776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_CanBeToggled. Expected _wxToolBarToolBase_p.");
783 wxPy_BEGIN_ALLOW_THREADS
;
784 _result
= (bool )wxToolBarToolBase_CanBeToggled(_arg0
);
786 wxPy_END_ALLOW_THREADS
;
787 } _resultobj
= Py_BuildValue("i",_result
);
791 #define wxToolBarToolBase_GetBitmap1(_swigobj) (_swigobj->GetBitmap1())
792 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
795 wxToolBarToolBase
* _arg0
;
796 PyObject
* _argo0
= 0;
797 char *_kwnames
[] = { "self", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap1",_kwnames
,&_argo0
))
804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap1. Expected _wxToolBarToolBase_p.");
811 wxPy_BEGIN_ALLOW_THREADS
;
812 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap1(_arg0
);
813 _result
= (wxBitmap
*) &_result_ref
;
815 wxPy_END_ALLOW_THREADS
;
817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
818 _resultobj
= Py_BuildValue("s",_ptemp
);
821 _resultobj
= Py_None
;
826 #define wxToolBarToolBase_GetBitmap2(_swigobj) (_swigobj->GetBitmap2())
827 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
828 PyObject
* _resultobj
;
830 wxToolBarToolBase
* _arg0
;
831 PyObject
* _argo0
= 0;
832 char *_kwnames
[] = { "self", NULL
};
836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap2",_kwnames
,&_argo0
))
839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap2. Expected _wxToolBarToolBase_p.");
846 wxPy_BEGIN_ALLOW_THREADS
;
847 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap2(_arg0
);
848 _result
= (wxBitmap
*) &_result_ref
;
850 wxPy_END_ALLOW_THREADS
;
852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
853 _resultobj
= Py_BuildValue("s",_ptemp
);
856 _resultobj
= Py_None
;
861 #define wxToolBarToolBase_GetBitmap(_swigobj) (_swigobj->GetBitmap())
862 static PyObject
*_wrap_wxToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
865 wxToolBarToolBase
* _arg0
;
866 PyObject
* _argo0
= 0;
867 char *_kwnames
[] = { "self", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetBitmap",_kwnames
,&_argo0
))
874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetBitmap. Expected _wxToolBarToolBase_p.");
881 wxPy_BEGIN_ALLOW_THREADS
;
882 const wxBitmap
& _result_ref
= wxToolBarToolBase_GetBitmap(_arg0
);
883 _result
= (wxBitmap
*) &_result_ref
;
885 wxPy_END_ALLOW_THREADS
;
887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
888 _resultobj
= Py_BuildValue("s",_ptemp
);
891 _resultobj
= Py_None
;
896 #define wxToolBarToolBase_GetShortHelp(_swigobj) (_swigobj->GetShortHelp())
897 static PyObject
*_wrap_wxToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
900 wxToolBarToolBase
* _arg0
;
901 PyObject
* _argo0
= 0;
902 char *_kwnames
[] = { "self", NULL
};
905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetShortHelp",_kwnames
,&_argo0
))
908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetShortHelp. Expected _wxToolBarToolBase_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 _result
= new wxString (wxToolBarToolBase_GetShortHelp(_arg0
));
918 wxPy_END_ALLOW_THREADS
;
920 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
928 #define wxToolBarToolBase_GetLongHelp(_swigobj) (_swigobj->GetLongHelp())
929 static PyObject
*_wrap_wxToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
930 PyObject
* _resultobj
;
932 wxToolBarToolBase
* _arg0
;
933 PyObject
* _argo0
= 0;
934 char *_kwnames
[] = { "self", NULL
};
937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetLongHelp",_kwnames
,&_argo0
))
940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetLongHelp. Expected _wxToolBarToolBase_p.");
947 wxPy_BEGIN_ALLOW_THREADS
;
948 _result
= new wxString (wxToolBarToolBase_GetLongHelp(_arg0
));
950 wxPy_END_ALLOW_THREADS
;
952 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
960 #define wxToolBarToolBase_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
961 static PyObject
*_wrap_wxToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
964 wxToolBarToolBase
* _arg0
;
966 PyObject
* _argo0
= 0;
968 char *_kwnames
[] = { "self","enable", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Enable",_kwnames
,&_argo0
,&tempbool1
))
974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Enable. Expected _wxToolBarToolBase_p.");
980 _arg1
= (bool ) tempbool1
;
982 wxPy_BEGIN_ALLOW_THREADS
;
983 _result
= (bool )wxToolBarToolBase_Enable(_arg0
,_arg1
);
985 wxPy_END_ALLOW_THREADS
;
986 } _resultobj
= Py_BuildValue("i",_result
);
990 #define wxToolBarToolBase_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
991 static PyObject
*_wrap_wxToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
992 PyObject
* _resultobj
;
994 wxToolBarToolBase
* _arg0
;
996 PyObject
* _argo0
= 0;
998 char *_kwnames
[] = { "self","toggle", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_Toggle",_kwnames
,&_argo0
,&tempbool1
))
1004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Toggle. Expected _wxToolBarToolBase_p.");
1010 _arg1
= (bool ) tempbool1
;
1012 wxPy_BEGIN_ALLOW_THREADS
;
1013 _result
= (bool )wxToolBarToolBase_Toggle(_arg0
,_arg1
);
1015 wxPy_END_ALLOW_THREADS
;
1016 } _resultobj
= Py_BuildValue("i",_result
);
1020 #define wxToolBarToolBase_SetToggle(_swigobj,_swigarg0) (_swigobj->SetToggle(_swigarg0))
1021 static PyObject
*_wrap_wxToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1022 PyObject
* _resultobj
;
1024 wxToolBarToolBase
* _arg0
;
1026 PyObject
* _argo0
= 0;
1028 char *_kwnames
[] = { "self","toggle", NULL
};
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarToolBase_SetToggle",_kwnames
,&_argo0
,&tempbool1
))
1034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetToggle. Expected _wxToolBarToolBase_p.");
1040 _arg1
= (bool ) tempbool1
;
1042 wxPy_BEGIN_ALLOW_THREADS
;
1043 _result
= (bool )wxToolBarToolBase_SetToggle(_arg0
,_arg1
);
1045 wxPy_END_ALLOW_THREADS
;
1046 } _resultobj
= Py_BuildValue("i",_result
);
1050 #define wxToolBarToolBase_SetShortHelp(_swigobj,_swigarg0) (_swigobj->SetShortHelp(_swigarg0))
1051 static PyObject
*_wrap_wxToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1054 wxToolBarToolBase
* _arg0
;
1056 PyObject
* _argo0
= 0;
1057 PyObject
* _obj1
= 0;
1058 char *_kwnames
[] = { "self","help", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetShortHelp",_kwnames
,&_argo0
,&_obj1
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetShortHelp. Expected _wxToolBarToolBase_p.");
1071 if (!PyString_Check(_obj1
)) {
1072 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1075 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1078 wxPy_BEGIN_ALLOW_THREADS
;
1079 _result
= (bool )wxToolBarToolBase_SetShortHelp(_arg0
,*_arg1
);
1081 wxPy_END_ALLOW_THREADS
;
1082 } _resultobj
= Py_BuildValue("i",_result
);
1090 #define wxToolBarToolBase_SetLongHelp(_swigobj,_swigarg0) (_swigobj->SetLongHelp(_swigarg0))
1091 static PyObject
*_wrap_wxToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
* _resultobj
;
1094 wxToolBarToolBase
* _arg0
;
1096 PyObject
* _argo0
= 0;
1097 PyObject
* _obj1
= 0;
1098 char *_kwnames
[] = { "self","help", NULL
};
1101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetLongHelp",_kwnames
,&_argo0
,&_obj1
))
1104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetLongHelp. Expected _wxToolBarToolBase_p.");
1111 if (!PyString_Check(_obj1
)) {
1112 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1115 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 _result
= (bool )wxToolBarToolBase_SetLongHelp(_arg0
,*_arg1
);
1121 wxPy_END_ALLOW_THREADS
;
1122 } _resultobj
= Py_BuildValue("i",_result
);
1130 #define wxToolBarToolBase_SetBitmap1(_swigobj,_swigarg0) (_swigobj->SetBitmap1(_swigarg0))
1131 static PyObject
*_wrap_wxToolBarToolBase_SetBitmap1(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1132 PyObject
* _resultobj
;
1133 wxToolBarToolBase
* _arg0
;
1135 PyObject
* _argo0
= 0;
1136 PyObject
* _argo1
= 0;
1137 char *_kwnames
[] = { "self","bmp", NULL
};
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetBitmap1",_kwnames
,&_argo0
,&_argo1
))
1143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetBitmap1. Expected _wxToolBarToolBase_p.");
1150 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1151 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetBitmap1. Expected _wxBitmap_p.");
1157 wxPy_BEGIN_ALLOW_THREADS
;
1158 wxToolBarToolBase_SetBitmap1(_arg0
,*_arg1
);
1160 wxPy_END_ALLOW_THREADS
;
1161 } Py_INCREF(Py_None
);
1162 _resultobj
= Py_None
;
1166 #define wxToolBarToolBase_SetBitmap2(_swigobj,_swigarg0) (_swigobj->SetBitmap2(_swigarg0))
1167 static PyObject
*_wrap_wxToolBarToolBase_SetBitmap2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1169 wxToolBarToolBase
* _arg0
;
1171 PyObject
* _argo0
= 0;
1172 PyObject
* _argo1
= 0;
1173 char *_kwnames
[] = { "self","bmp", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetBitmap2",_kwnames
,&_argo0
,&_argo1
))
1179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetBitmap2. Expected _wxToolBarToolBase_p.");
1186 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1187 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_SetBitmap2. Expected _wxBitmap_p.");
1193 wxPy_BEGIN_ALLOW_THREADS
;
1194 wxToolBarToolBase_SetBitmap2(_arg0
,*_arg1
);
1196 wxPy_END_ALLOW_THREADS
;
1197 } Py_INCREF(Py_None
);
1198 _resultobj
= Py_None
;
1202 #define wxToolBarToolBase_Detach(_swigobj) (_swigobj->Detach())
1203 static PyObject
*_wrap_wxToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1204 PyObject
* _resultobj
;
1205 wxToolBarToolBase
* _arg0
;
1206 PyObject
* _argo0
= 0;
1207 char *_kwnames
[] = { "self", NULL
};
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_Detach",_kwnames
,&_argo0
))
1213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Detach. Expected _wxToolBarToolBase_p.");
1220 wxPy_BEGIN_ALLOW_THREADS
;
1221 wxToolBarToolBase_Detach(_arg0
);
1223 wxPy_END_ALLOW_THREADS
;
1224 } Py_INCREF(Py_None
);
1225 _resultobj
= Py_None
;
1229 #define wxToolBarToolBase_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0))
1230 static PyObject
*_wrap_wxToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1231 PyObject
* _resultobj
;
1232 wxToolBarToolBase
* _arg0
;
1233 wxToolBarBase
* _arg1
;
1234 PyObject
* _argo0
= 0;
1235 PyObject
* _argo1
= 0;
1236 char *_kwnames
[] = { "self","tbar", NULL
};
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_Attach",_kwnames
,&_argo0
,&_argo1
))
1242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_Attach. Expected _wxToolBarToolBase_p.");
1249 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1250 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBarBase_p")) {
1251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarToolBase_Attach. Expected _wxToolBarBase_p.");
1256 wxPy_BEGIN_ALLOW_THREADS
;
1257 wxToolBarToolBase_Attach(_arg0
,_arg1
);
1259 wxPy_END_ALLOW_THREADS
;
1260 } Py_INCREF(Py_None
);
1261 _resultobj
= Py_None
;
1265 static PyObject
* wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
) {
1266 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
1268 Py_INCREF(udata
->m_obj
);
1269 return udata
->m_obj
;
1275 static PyObject
*_wrap_wxToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
* _resultobj
;
1278 wxToolBarToolBase
* _arg0
;
1279 PyObject
* _argo0
= 0;
1280 char *_kwnames
[] = { "self", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarToolBase_GetClientData",_kwnames
,&_argo0
))
1286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_GetClientData. Expected _wxToolBarToolBase_p.");
1293 wxPy_BEGIN_ALLOW_THREADS
;
1294 _result
= (PyObject
*)wxToolBarToolBase_GetClientData(_arg0
);
1296 wxPy_END_ALLOW_THREADS
;
1298 _resultobj
= _result
;
1303 static void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
* clientData
) {
1304 self
->SetClientData(new wxPyUserData(clientData
));
1306 static PyObject
*_wrap_wxToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1307 PyObject
* _resultobj
;
1308 wxToolBarToolBase
* _arg0
;
1310 PyObject
* _argo0
= 0;
1311 PyObject
* _obj1
= 0;
1312 char *_kwnames
[] = { "self","clientData", NULL
};
1315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarToolBase_SetClientData",_kwnames
,&_argo0
,&_obj1
))
1318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarToolBase_p")) {
1320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarToolBase_SetClientData. Expected _wxToolBarToolBase_p.");
1328 wxPy_BEGIN_ALLOW_THREADS
;
1329 wxToolBarToolBase_SetClientData(_arg0
,_arg1
);
1331 wxPy_END_ALLOW_THREADS
;
1332 } Py_INCREF(Py_None
);
1333 _resultobj
= Py_None
;
1337 static void *SwigwxToolBarBaseTowxControl(void *ptr
) {
1340 src
= (wxToolBarBase
*) ptr
;
1341 dest
= (wxControl
*) src
;
1342 return (void *) dest
;
1345 static void *SwigwxToolBarBaseTowxWindow(void *ptr
) {
1348 src
= (wxToolBarBase
*) ptr
;
1349 dest
= (wxWindow
*) src
;
1350 return (void *) dest
;
1353 static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr
) {
1356 src
= (wxToolBarBase
*) ptr
;
1357 dest
= (wxEvtHandler
*) src
;
1358 return (void *) dest
;
1361 static wxToolBarToolBase
* wxToolBarBase_AddTool(wxToolBarBase
*self
,int id
,const wxBitmap
& bitmap
,const wxBitmap
& pushedBitmap
,int toggle
,PyObject
* clientData
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1362 wxPyUserData
* udata
= NULL
;
1364 udata
= new wxPyUserData(clientData
);
1365 return self
->AddTool(id
, bitmap
, pushedBitmap
, (bool)toggle
,
1366 udata
, shortHelpString
, longHelpString
);
1368 static PyObject
*_wrap_wxToolBarBase_AddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1370 wxToolBarToolBase
* _result
;
1371 wxToolBarBase
* _arg0
;
1374 wxBitmap
* _arg3
= (wxBitmap
*) &wxNullBitmap
;
1375 int _arg4
= (int ) FALSE
;
1376 PyObject
* _arg5
= (PyObject
*) NULL
;
1377 wxString
* _arg6
= (wxString
*) &wxPyEmptyStr
;
1378 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1379 PyObject
* _argo0
= 0;
1380 PyObject
* _argo2
= 0;
1381 PyObject
* _argo3
= 0;
1382 PyObject
* _obj5
= 0;
1383 PyObject
* _obj6
= 0;
1384 PyObject
* _obj7
= 0;
1385 char *_kwnames
[] = { "self","id","bitmap","pushedBitmap","toggle","clientData","shortHelpString","longHelpString", NULL
};
1389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OiOOO:wxToolBarBase_AddTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_obj5
,&_obj6
,&_obj7
))
1392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddTool. Expected _wxToolBarBase_p.");
1399 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1400 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1406 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_AddTool. Expected _wxBitmap_p.");
1418 if (!PyString_Check(_obj6
)) {
1419 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1422 _arg6
= new wxString(PyString_AsString(_obj6
), PyString_Size(_obj6
));
1426 if (!PyString_Check(_obj7
)) {
1427 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1430 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1433 wxPy_BEGIN_ALLOW_THREADS
;
1434 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddTool(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
);
1436 wxPy_END_ALLOW_THREADS
;
1438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1439 _resultobj
= Py_BuildValue("s",_ptemp
);
1442 _resultobj
= Py_None
;
1455 static wxToolBarToolBase
* wxToolBarBase_AddSimpleTool(wxToolBarBase
*self
,int id
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
,int toggle
) {
1456 return self
->AddTool(id
, bitmap
, wxNullBitmap
, toggle
, NULL
,
1457 shortHelpString
, longHelpString
);
1459 static PyObject
*_wrap_wxToolBarBase_AddSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1461 wxToolBarToolBase
* _result
;
1462 wxToolBarBase
* _arg0
;
1465 wxString
* _arg3
= (wxString
*) &wxPyEmptyStr
;
1466 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1467 int _arg5
= (int ) FALSE
;
1468 PyObject
* _argo0
= 0;
1469 PyObject
* _argo2
= 0;
1470 PyObject
* _obj3
= 0;
1471 PyObject
* _obj4
= 0;
1472 char *_kwnames
[] = { "self","id","bitmap","shortHelpString","longHelpString","toggle", NULL
};
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOi:wxToolBarBase_AddSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
))
1479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSimpleTool. Expected _wxToolBarBase_p.");
1486 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1487 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_AddSimpleTool. Expected _wxBitmap_p.");
1494 if (!PyString_Check(_obj3
)) {
1495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1498 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1502 if (!PyString_Check(_obj4
)) {
1503 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1506 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1509 wxPy_BEGIN_ALLOW_THREADS
;
1510 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddSimpleTool(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
);
1512 wxPy_END_ALLOW_THREADS
;
1514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1515 _resultobj
= Py_BuildValue("s",_ptemp
);
1518 _resultobj
= Py_None
;
1531 static wxToolBarToolBase
* wxToolBarBase_InsertTool(wxToolBarBase
*self
,size_t pos
,int id
,const wxBitmap
& bitmap
,const wxBitmap
& pushedBitmap
,int toggle
,PyObject
* clientData
,const wxString
& shortHelpString
,const wxString
& longHelpString
) {
1532 wxPyUserData
* udata
= NULL
;
1534 udata
= new wxPyUserData(clientData
);
1535 return self
->InsertTool(pos
, id
, bitmap
, pushedBitmap
, (bool)toggle
,
1536 udata
, shortHelpString
, longHelpString
);
1538 static PyObject
*_wrap_wxToolBarBase_InsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1540 wxToolBarToolBase
* _result
;
1541 wxToolBarBase
* _arg0
;
1545 wxBitmap
* _arg4
= (wxBitmap
*) &wxNullBitmap
;
1546 int _arg5
= (int ) FALSE
;
1547 PyObject
* _arg6
= (PyObject
*) NULL
;
1548 wxString
* _arg7
= (wxString
*) &wxPyEmptyStr
;
1549 wxString
* _arg8
= (wxString
*) &wxPyEmptyStr
;
1550 PyObject
* _argo0
= 0;
1551 PyObject
* _argo3
= 0;
1552 PyObject
* _argo4
= 0;
1553 PyObject
* _obj6
= 0;
1554 PyObject
* _obj7
= 0;
1555 PyObject
* _obj8
= 0;
1556 char *_kwnames
[] = { "self","pos","id","bitmap","pushedBitmap","toggle","clientData","shortHelpString","longHelpString", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OiOOO:wxToolBarBase_InsertTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
,&_arg5
,&_obj6
,&_obj7
,&_obj8
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertTool. Expected _wxToolBarBase_p.");
1570 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1577 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxBitmap_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxToolBarBase_InsertTool. Expected _wxBitmap_p.");
1589 if (!PyString_Check(_obj7
)) {
1590 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1593 _arg7
= new wxString(PyString_AsString(_obj7
), PyString_Size(_obj7
));
1597 if (!PyString_Check(_obj8
)) {
1598 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1601 _arg8
= new wxString(PyString_AsString(_obj8
), PyString_Size(_obj8
));
1604 wxPy_BEGIN_ALLOW_THREADS
;
1605 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
1607 wxPy_END_ALLOW_THREADS
;
1609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1610 _resultobj
= Py_BuildValue("s",_ptemp
);
1613 _resultobj
= Py_None
;
1626 static wxToolBarToolBase
* wxToolBarBase_InsertSimpleTool(wxToolBarBase
*self
,size_t pos
,int id
,const wxBitmap
& bitmap
,const wxString
& shortHelpString
,const wxString
& longHelpString
,int toggle
) {
1627 return self
->InsertTool(pos
, id
, bitmap
, wxNullBitmap
, toggle
, NULL
,
1628 shortHelpString
, longHelpString
);
1630 static PyObject
*_wrap_wxToolBarBase_InsertSimpleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1632 wxToolBarToolBase
* _result
;
1633 wxToolBarBase
* _arg0
;
1637 wxString
* _arg4
= (wxString
*) &wxPyEmptyStr
;
1638 wxString
* _arg5
= (wxString
*) &wxPyEmptyStr
;
1639 int _arg6
= (int ) FALSE
;
1640 PyObject
* _argo0
= 0;
1641 PyObject
* _argo3
= 0;
1642 PyObject
* _obj4
= 0;
1643 PyObject
* _obj5
= 0;
1644 char *_kwnames
[] = { "self","pos","id","bitmap","shortHelpString","longHelpString","toggle", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiiO|OOi:wxToolBarBase_InsertSimpleTool",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSimpleTool. Expected _wxToolBarBase_p.");
1658 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxToolBarBase_InsertSimpleTool. Expected _wxBitmap_p.");
1666 if (!PyString_Check(_obj4
)) {
1667 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1670 _arg4
= new wxString(PyString_AsString(_obj4
), PyString_Size(_obj4
));
1674 if (!PyString_Check(_obj5
)) {
1675 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1678 _arg5
= new wxString(PyString_AsString(_obj5
), PyString_Size(_obj5
));
1681 wxPy_BEGIN_ALLOW_THREADS
;
1682 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertSimpleTool(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
);
1684 wxPy_END_ALLOW_THREADS
;
1686 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1687 _resultobj
= Py_BuildValue("s",_ptemp
);
1690 _resultobj
= Py_None
;
1703 #define wxToolBarBase_AddControl(_swigobj,_swigarg0) (_swigobj->AddControl(_swigarg0))
1704 static PyObject
*_wrap_wxToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1706 wxToolBarToolBase
* _result
;
1707 wxToolBarBase
* _arg0
;
1709 PyObject
* _argo0
= 0;
1710 PyObject
* _argo1
= 0;
1711 char *_kwnames
[] = { "self","control", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_AddControl",_kwnames
,&_argo0
,&_argo1
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddControl. Expected _wxToolBarBase_p.");
1725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxControl_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToolBarBase_AddControl. Expected _wxControl_p.");
1732 wxPy_BEGIN_ALLOW_THREADS
;
1733 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddControl(_arg0
,_arg1
);
1735 wxPy_END_ALLOW_THREADS
;
1737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1738 _resultobj
= Py_BuildValue("s",_ptemp
);
1741 _resultobj
= Py_None
;
1746 #define wxToolBarBase_InsertControl(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertControl(_swigarg0,_swigarg1))
1747 static PyObject
*_wrap_wxToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1749 wxToolBarToolBase
* _result
;
1750 wxToolBarBase
* _arg0
;
1753 PyObject
* _argo0
= 0;
1754 PyObject
* _argo2
= 0;
1755 char *_kwnames
[] = { "self","pos","control", NULL
};
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_InsertControl",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
1762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertControl. Expected _wxToolBarBase_p.");
1769 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1770 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxControl_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxToolBarBase_InsertControl. Expected _wxControl_p.");
1776 wxPy_BEGIN_ALLOW_THREADS
;
1777 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertControl(_arg0
,_arg1
,_arg2
);
1779 wxPy_END_ALLOW_THREADS
;
1781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1782 _resultobj
= Py_BuildValue("s",_ptemp
);
1785 _resultobj
= Py_None
;
1790 #define wxToolBarBase_AddSeparator(_swigobj) (_swigobj->AddSeparator())
1791 static PyObject
*_wrap_wxToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
* _resultobj
;
1793 wxToolBarToolBase
* _result
;
1794 wxToolBarBase
* _arg0
;
1795 PyObject
* _argo0
= 0;
1796 char *_kwnames
[] = { "self", NULL
};
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_AddSeparator",_kwnames
,&_argo0
))
1803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_AddSeparator. Expected _wxToolBarBase_p.");
1810 wxPy_BEGIN_ALLOW_THREADS
;
1811 _result
= (wxToolBarToolBase
*)wxToolBarBase_AddSeparator(_arg0
);
1813 wxPy_END_ALLOW_THREADS
;
1815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1816 _resultobj
= Py_BuildValue("s",_ptemp
);
1819 _resultobj
= Py_None
;
1824 #define wxToolBarBase_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0))
1825 static PyObject
*_wrap_wxToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1827 wxToolBarToolBase
* _result
;
1828 wxToolBarBase
* _arg0
;
1830 PyObject
* _argo0
= 0;
1831 char *_kwnames
[] = { "self","pos", NULL
};
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_InsertSeparator",_kwnames
,&_argo0
,&_arg1
))
1838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_InsertSeparator. Expected _wxToolBarBase_p.");
1845 wxPy_BEGIN_ALLOW_THREADS
;
1846 _result
= (wxToolBarToolBase
*)wxToolBarBase_InsertSeparator(_arg0
,_arg1
);
1848 wxPy_END_ALLOW_THREADS
;
1850 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1851 _resultobj
= Py_BuildValue("s",_ptemp
);
1854 _resultobj
= Py_None
;
1859 #define wxToolBarBase_RemoveTool(_swigobj,_swigarg0) (_swigobj->RemoveTool(_swigarg0))
1860 static PyObject
*_wrap_wxToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1862 wxToolBarToolBase
* _result
;
1863 wxToolBarBase
* _arg0
;
1865 PyObject
* _argo0
= 0;
1866 char *_kwnames
[] = { "self","id", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_RemoveTool",_kwnames
,&_argo0
,&_arg1
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_RemoveTool. Expected _wxToolBarBase_p.");
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 _result
= (wxToolBarToolBase
*)wxToolBarBase_RemoveTool(_arg0
,_arg1
);
1883 wxPy_END_ALLOW_THREADS
;
1885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
1886 _resultobj
= Py_BuildValue("s",_ptemp
);
1889 _resultobj
= Py_None
;
1894 #define wxToolBarBase_DeleteToolByPos(_swigobj,_swigarg0) (_swigobj->DeleteToolByPos(_swigarg0))
1895 static PyObject
*_wrap_wxToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1896 PyObject
* _resultobj
;
1898 wxToolBarBase
* _arg0
;
1900 PyObject
* _argo0
= 0;
1901 char *_kwnames
[] = { "self","pos", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteToolByPos",_kwnames
,&_argo0
,&_arg1
))
1907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteToolByPos. Expected _wxToolBarBase_p.");
1914 wxPy_BEGIN_ALLOW_THREADS
;
1915 _result
= (bool )wxToolBarBase_DeleteToolByPos(_arg0
,_arg1
);
1917 wxPy_END_ALLOW_THREADS
;
1918 } _resultobj
= Py_BuildValue("i",_result
);
1922 #define wxToolBarBase_DeleteTool(_swigobj,_swigarg0) (_swigobj->DeleteTool(_swigarg0))
1923 static PyObject
*_wrap_wxToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1926 wxToolBarBase
* _arg0
;
1928 PyObject
* _argo0
= 0;
1929 char *_kwnames
[] = { "self","id", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_DeleteTool",_kwnames
,&_argo0
,&_arg1
))
1935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_DeleteTool. Expected _wxToolBarBase_p.");
1942 wxPy_BEGIN_ALLOW_THREADS
;
1943 _result
= (bool )wxToolBarBase_DeleteTool(_arg0
,_arg1
);
1945 wxPy_END_ALLOW_THREADS
;
1946 } _resultobj
= Py_BuildValue("i",_result
);
1950 #define wxToolBarBase_ClearTools(_swigobj) (_swigobj->ClearTools())
1951 static PyObject
*_wrap_wxToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
* _resultobj
;
1953 wxToolBarBase
* _arg0
;
1954 PyObject
* _argo0
= 0;
1955 char *_kwnames
[] = { "self", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_ClearTools",_kwnames
,&_argo0
))
1961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ClearTools. Expected _wxToolBarBase_p.");
1968 wxPy_BEGIN_ALLOW_THREADS
;
1969 wxToolBarBase_ClearTools(_arg0
);
1971 wxPy_END_ALLOW_THREADS
;
1972 } Py_INCREF(Py_None
);
1973 _resultobj
= Py_None
;
1977 #define wxToolBarBase_Realize(_swigobj) (_swigobj->Realize())
1978 static PyObject
*_wrap_wxToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
* _resultobj
;
1981 wxToolBarBase
* _arg0
;
1982 PyObject
* _argo0
= 0;
1983 char *_kwnames
[] = { "self", NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_Realize",_kwnames
,&_argo0
))
1989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
1991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_Realize. Expected _wxToolBarBase_p.");
1996 wxPy_BEGIN_ALLOW_THREADS
;
1997 _result
= (bool )wxToolBarBase_Realize(_arg0
);
1999 wxPy_END_ALLOW_THREADS
;
2000 } _resultobj
= Py_BuildValue("i",_result
);
2004 #define wxToolBarBase_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1))
2005 static PyObject
*_wrap_wxToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2007 wxToolBarBase
* _arg0
;
2010 PyObject
* _argo0
= 0;
2012 char *_kwnames
[] = { "self","id","enable", NULL
};
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_EnableTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_EnableTool. Expected _wxToolBarBase_p.");
2024 _arg2
= (bool ) tempbool2
;
2026 wxPy_BEGIN_ALLOW_THREADS
;
2027 wxToolBarBase_EnableTool(_arg0
,_arg1
,_arg2
);
2029 wxPy_END_ALLOW_THREADS
;
2030 } Py_INCREF(Py_None
);
2031 _resultobj
= Py_None
;
2035 #define wxToolBarBase_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1))
2036 static PyObject
*_wrap_wxToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2038 wxToolBarBase
* _arg0
;
2041 PyObject
* _argo0
= 0;
2043 char *_kwnames
[] = { "self","id","toggle", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_ToggleTool",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_ToggleTool. Expected _wxToolBarBase_p.");
2055 _arg2
= (bool ) tempbool2
;
2057 wxPy_BEGIN_ALLOW_THREADS
;
2058 wxToolBarBase_ToggleTool(_arg0
,_arg1
,_arg2
);
2060 wxPy_END_ALLOW_THREADS
;
2061 } Py_INCREF(Py_None
);
2062 _resultobj
= Py_None
;
2066 #define wxToolBarBase_SetToggle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToggle(_swigarg0,_swigarg1))
2067 static PyObject
*_wrap_wxToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2069 wxToolBarBase
* _arg0
;
2072 PyObject
* _argo0
= 0;
2074 char *_kwnames
[] = { "self","id","toggle", NULL
};
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetToggle",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToggle. Expected _wxToolBarBase_p.");
2086 _arg2
= (bool ) tempbool2
;
2088 wxPy_BEGIN_ALLOW_THREADS
;
2089 wxToolBarBase_SetToggle(_arg0
,_arg1
,_arg2
);
2091 wxPy_END_ALLOW_THREADS
;
2092 } Py_INCREF(Py_None
);
2093 _resultobj
= Py_None
;
2097 static PyObject
* wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int index
) {
2098 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(index
);
2100 Py_INCREF(udata
->m_obj
);
2101 return udata
->m_obj
;
2107 static PyObject
*_wrap_wxToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2110 wxToolBarBase
* _arg0
;
2112 PyObject
* _argo0
= 0;
2113 char *_kwnames
[] = { "self","index", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolClientData",_kwnames
,&_argo0
,&_arg1
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolClientData. Expected _wxToolBarBase_p.");
2126 wxPy_BEGIN_ALLOW_THREADS
;
2127 _result
= (PyObject
*)wxToolBarBase_GetToolClientData(_arg0
,_arg1
);
2129 wxPy_END_ALLOW_THREADS
;
2131 _resultobj
= _result
;
2136 static void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int index
,PyObject
* clientData
) {
2137 self
->SetToolClientData(index
, new wxPyUserData(clientData
));
2139 static PyObject
*_wrap_wxToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2141 wxToolBarBase
* _arg0
;
2144 PyObject
* _argo0
= 0;
2145 PyObject
* _obj2
= 0;
2146 char *_kwnames
[] = { "self","index","clientData", NULL
};
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolClientData. Expected _wxToolBarBase_p.");
2162 wxPy_BEGIN_ALLOW_THREADS
;
2163 wxToolBarBase_SetToolClientData(_arg0
,_arg1
,_arg2
);
2165 wxPy_END_ALLOW_THREADS
;
2166 } Py_INCREF(Py_None
);
2167 _resultobj
= Py_None
;
2171 #define wxToolBarBase_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0))
2172 static PyObject
*_wrap_wxToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
* _resultobj
;
2175 wxToolBarBase
* _arg0
;
2177 PyObject
* _argo0
= 0;
2178 char *_kwnames
[] = { "self","id", NULL
};
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolState",_kwnames
,&_argo0
,&_arg1
))
2184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolState. Expected _wxToolBarBase_p.");
2191 wxPy_BEGIN_ALLOW_THREADS
;
2192 _result
= (bool )wxToolBarBase_GetToolState(_arg0
,_arg1
);
2194 wxPy_END_ALLOW_THREADS
;
2195 } _resultobj
= Py_BuildValue("i",_result
);
2199 #define wxToolBarBase_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0))
2200 static PyObject
*_wrap_wxToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
* _resultobj
;
2203 wxToolBarBase
* _arg0
;
2205 PyObject
* _argo0
= 0;
2206 char *_kwnames
[] = { "self","id", NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolEnabled",_kwnames
,&_argo0
,&_arg1
))
2212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolEnabled. Expected _wxToolBarBase_p.");
2219 wxPy_BEGIN_ALLOW_THREADS
;
2220 _result
= (bool )wxToolBarBase_GetToolEnabled(_arg0
,_arg1
);
2222 wxPy_END_ALLOW_THREADS
;
2223 } _resultobj
= Py_BuildValue("i",_result
);
2227 #define wxToolBarBase_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1))
2228 static PyObject
*_wrap_wxToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
* _resultobj
;
2230 wxToolBarBase
* _arg0
;
2233 PyObject
* _argo0
= 0;
2234 PyObject
* _obj2
= 0;
2235 char *_kwnames
[] = { "self","id","helpString", NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolShortHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolShortHelp. Expected _wxToolBarBase_p.");
2248 if (!PyString_Check(_obj2
)) {
2249 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2252 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2255 wxPy_BEGIN_ALLOW_THREADS
;
2256 wxToolBarBase_SetToolShortHelp(_arg0
,_arg1
,*_arg2
);
2258 wxPy_END_ALLOW_THREADS
;
2259 } Py_INCREF(Py_None
);
2260 _resultobj
= Py_None
;
2268 #define wxToolBarBase_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0))
2269 static PyObject
*_wrap_wxToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2272 wxToolBarBase
* _arg0
;
2274 PyObject
* _argo0
= 0;
2275 char *_kwnames
[] = { "self","id", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolShortHelp",_kwnames
,&_argo0
,&_arg1
))
2281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolShortHelp. Expected _wxToolBarBase_p.");
2288 wxPy_BEGIN_ALLOW_THREADS
;
2289 _result
= new wxString (wxToolBarBase_GetToolShortHelp(_arg0
,_arg1
));
2291 wxPy_END_ALLOW_THREADS
;
2293 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2301 #define wxToolBarBase_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1))
2302 static PyObject
*_wrap_wxToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2304 wxToolBarBase
* _arg0
;
2307 PyObject
* _argo0
= 0;
2308 PyObject
* _obj2
= 0;
2309 char *_kwnames
[] = { "self","id","helpString", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxToolBarBase_SetToolLongHelp",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolLongHelp. Expected _wxToolBarBase_p.");
2322 if (!PyString_Check(_obj2
)) {
2323 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2326 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2329 wxPy_BEGIN_ALLOW_THREADS
;
2330 wxToolBarBase_SetToolLongHelp(_arg0
,_arg1
,*_arg2
);
2332 wxPy_END_ALLOW_THREADS
;
2333 } Py_INCREF(Py_None
);
2334 _resultobj
= Py_None
;
2342 #define wxToolBarBase_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0))
2343 static PyObject
*_wrap_wxToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
* _resultobj
;
2346 wxToolBarBase
* _arg0
;
2348 PyObject
* _argo0
= 0;
2349 char *_kwnames
[] = { "self","id", NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_GetToolLongHelp",_kwnames
,&_argo0
,&_arg1
))
2355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolLongHelp. Expected _wxToolBarBase_p.");
2362 wxPy_BEGIN_ALLOW_THREADS
;
2363 _result
= new wxString (wxToolBarBase_GetToolLongHelp(_arg0
,_arg1
));
2365 wxPy_END_ALLOW_THREADS
;
2367 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2375 #define wxToolBarBase_SetMarginsXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
2376 static PyObject
*_wrap_wxToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
* _resultobj
;
2378 wxToolBarBase
* _arg0
;
2381 PyObject
* _argo0
= 0;
2382 char *_kwnames
[] = { "self","x","y", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMarginsXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMarginsXY. Expected _wxToolBarBase_p.");
2395 wxPy_BEGIN_ALLOW_THREADS
;
2396 wxToolBarBase_SetMarginsXY(_arg0
,_arg1
,_arg2
);
2398 wxPy_END_ALLOW_THREADS
;
2399 } Py_INCREF(Py_None
);
2400 _resultobj
= Py_None
;
2404 #define wxToolBarBase_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0))
2405 static PyObject
*_wrap_wxToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2407 wxToolBarBase
* _arg0
;
2409 PyObject
* _argo0
= 0;
2411 PyObject
* _obj1
= 0;
2412 char *_kwnames
[] = { "self","size", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetMargins",_kwnames
,&_argo0
,&_obj1
))
2418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMargins. Expected _wxToolBarBase_p.");
2426 if (! wxSize_helper(_obj1
, &_arg1
))
2430 wxPy_BEGIN_ALLOW_THREADS
;
2431 wxToolBarBase_SetMargins(_arg0
,*_arg1
);
2433 wxPy_END_ALLOW_THREADS
;
2434 } Py_INCREF(Py_None
);
2435 _resultobj
= Py_None
;
2439 #define wxToolBarBase_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0))
2440 static PyObject
*_wrap_wxToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2442 wxToolBarBase
* _arg0
;
2444 PyObject
* _argo0
= 0;
2445 char *_kwnames
[] = { "self","packing", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolPacking",_kwnames
,&_argo0
,&_arg1
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolPacking. Expected _wxToolBarBase_p.");
2458 wxPy_BEGIN_ALLOW_THREADS
;
2459 wxToolBarBase_SetToolPacking(_arg0
,_arg1
);
2461 wxPy_END_ALLOW_THREADS
;
2462 } Py_INCREF(Py_None
);
2463 _resultobj
= Py_None
;
2467 #define wxToolBarBase_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0))
2468 static PyObject
*_wrap_wxToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2469 PyObject
* _resultobj
;
2470 wxToolBarBase
* _arg0
;
2472 PyObject
* _argo0
= 0;
2473 char *_kwnames
[] = { "self","separation", NULL
};
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetToolSeparation",_kwnames
,&_argo0
,&_arg1
))
2479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolSeparation. Expected _wxToolBarBase_p.");
2486 wxPy_BEGIN_ALLOW_THREADS
;
2487 wxToolBarBase_SetToolSeparation(_arg0
,_arg1
);
2489 wxPy_END_ALLOW_THREADS
;
2490 } Py_INCREF(Py_None
);
2491 _resultobj
= Py_None
;
2495 #define wxToolBarBase_GetToolMargins(_swigobj) (_swigobj->GetToolMargins())
2496 static PyObject
*_wrap_wxToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
* _resultobj
;
2499 wxToolBarBase
* _arg0
;
2500 PyObject
* _argo0
= 0;
2501 char *_kwnames
[] = { "self", NULL
};
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolMargins",_kwnames
,&_argo0
))
2508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolMargins. Expected _wxToolBarBase_p.");
2515 wxPy_BEGIN_ALLOW_THREADS
;
2516 _result
= new wxSize (wxToolBarBase_GetToolMargins(_arg0
));
2518 wxPy_END_ALLOW_THREADS
;
2519 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2520 _resultobj
= Py_BuildValue("s",_ptemp
);
2524 #define wxToolBarBase_GetToolPacking(_swigobj) (_swigobj->GetToolPacking())
2525 static PyObject
*_wrap_wxToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2526 PyObject
* _resultobj
;
2528 wxToolBarBase
* _arg0
;
2529 PyObject
* _argo0
= 0;
2530 char *_kwnames
[] = { "self", NULL
};
2533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolPacking",_kwnames
,&_argo0
))
2536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolPacking. Expected _wxToolBarBase_p.");
2543 wxPy_BEGIN_ALLOW_THREADS
;
2544 _result
= (int )wxToolBarBase_GetToolPacking(_arg0
);
2546 wxPy_END_ALLOW_THREADS
;
2547 } _resultobj
= Py_BuildValue("i",_result
);
2551 #define wxToolBarBase_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation())
2552 static PyObject
*_wrap_wxToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2555 wxToolBarBase
* _arg0
;
2556 PyObject
* _argo0
= 0;
2557 char *_kwnames
[] = { "self", NULL
};
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSeparation",_kwnames
,&_argo0
))
2563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSeparation. Expected _wxToolBarBase_p.");
2570 wxPy_BEGIN_ALLOW_THREADS
;
2571 _result
= (int )wxToolBarBase_GetToolSeparation(_arg0
);
2573 wxPy_END_ALLOW_THREADS
;
2574 } _resultobj
= Py_BuildValue("i",_result
);
2578 #define wxToolBarBase_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0))
2579 static PyObject
*_wrap_wxToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
* _resultobj
;
2581 wxToolBarBase
* _arg0
;
2583 PyObject
* _argo0
= 0;
2584 char *_kwnames
[] = { "self","nRows", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToolBarBase_SetRows",_kwnames
,&_argo0
,&_arg1
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetRows. Expected _wxToolBarBase_p.");
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 wxToolBarBase_SetRows(_arg0
,_arg1
);
2600 wxPy_END_ALLOW_THREADS
;
2601 } Py_INCREF(Py_None
);
2602 _resultobj
= Py_None
;
2606 #define wxToolBarBase_SetMaxRowsCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMaxRowsCols(_swigarg0,_swigarg1))
2607 static PyObject
*_wrap_wxToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2609 wxToolBarBase
* _arg0
;
2612 PyObject
* _argo0
= 0;
2613 char *_kwnames
[] = { "self","rows","cols", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarBase_SetMaxRowsCols",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetMaxRowsCols. Expected _wxToolBarBase_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 wxToolBarBase_SetMaxRowsCols(_arg0
,_arg1
,_arg2
);
2629 wxPy_END_ALLOW_THREADS
;
2630 } Py_INCREF(Py_None
);
2631 _resultobj
= Py_None
;
2635 #define wxToolBarBase_GetMaxRows(_swigobj) (_swigobj->GetMaxRows())
2636 static PyObject
*_wrap_wxToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
* _resultobj
;
2639 wxToolBarBase
* _arg0
;
2640 PyObject
* _argo0
= 0;
2641 char *_kwnames
[] = { "self", NULL
};
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxRows",_kwnames
,&_argo0
))
2647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxRows. Expected _wxToolBarBase_p.");
2654 wxPy_BEGIN_ALLOW_THREADS
;
2655 _result
= (int )wxToolBarBase_GetMaxRows(_arg0
);
2657 wxPy_END_ALLOW_THREADS
;
2658 } _resultobj
= Py_BuildValue("i",_result
);
2662 #define wxToolBarBase_GetMaxCols(_swigobj) (_swigobj->GetMaxCols())
2663 static PyObject
*_wrap_wxToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
* _resultobj
;
2666 wxToolBarBase
* _arg0
;
2667 PyObject
* _argo0
= 0;
2668 char *_kwnames
[] = { "self", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetMaxCols",_kwnames
,&_argo0
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetMaxCols. Expected _wxToolBarBase_p.");
2681 wxPy_BEGIN_ALLOW_THREADS
;
2682 _result
= (int )wxToolBarBase_GetMaxCols(_arg0
);
2684 wxPy_END_ALLOW_THREADS
;
2685 } _resultobj
= Py_BuildValue("i",_result
);
2689 #define wxToolBarBase_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0))
2690 static PyObject
*_wrap_wxToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2692 wxToolBarBase
* _arg0
;
2694 PyObject
* _argo0
= 0;
2696 PyObject
* _obj1
= 0;
2697 char *_kwnames
[] = { "self","size", NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolBarBase_SetToolBitmapSize",_kwnames
,&_argo0
,&_obj1
))
2703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_SetToolBitmapSize. Expected _wxToolBarBase_p.");
2711 if (! wxSize_helper(_obj1
, &_arg1
))
2715 wxPy_BEGIN_ALLOW_THREADS
;
2716 wxToolBarBase_SetToolBitmapSize(_arg0
,*_arg1
);
2718 wxPy_END_ALLOW_THREADS
;
2719 } Py_INCREF(Py_None
);
2720 _resultobj
= Py_None
;
2724 #define wxToolBarBase_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize())
2725 static PyObject
*_wrap_wxToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
* _resultobj
;
2728 wxToolBarBase
* _arg0
;
2729 PyObject
* _argo0
= 0;
2730 char *_kwnames
[] = { "self", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolBitmapSize",_kwnames
,&_argo0
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolBitmapSize. Expected _wxToolBarBase_p.");
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 _result
= new wxSize (wxToolBarBase_GetToolBitmapSize(_arg0
));
2747 wxPy_END_ALLOW_THREADS
;
2748 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2749 _resultobj
= Py_BuildValue("s",_ptemp
);
2753 #define wxToolBarBase_GetToolSize(_swigobj) (_swigobj->GetToolSize())
2754 static PyObject
*_wrap_wxToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2757 wxToolBarBase
* _arg0
;
2758 PyObject
* _argo0
= 0;
2759 char *_kwnames
[] = { "self", NULL
};
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolBarBase_GetToolSize",_kwnames
,&_argo0
))
2766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarBase_p")) {
2768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarBase_GetToolSize. Expected _wxToolBarBase_p.");
2773 wxPy_BEGIN_ALLOW_THREADS
;
2774 _result
= new wxSize (wxToolBarBase_GetToolSize(_arg0
));
2776 wxPy_END_ALLOW_THREADS
;
2777 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2778 _resultobj
= Py_BuildValue("s",_ptemp
);
2782 static void *SwigwxToolBarTowxToolBarBase(void *ptr
) {
2784 wxToolBarBase
*dest
;
2785 src
= (wxToolBar
*) ptr
;
2786 dest
= (wxToolBarBase
*) src
;
2787 return (void *) dest
;
2790 static void *SwigwxToolBarTowxControl(void *ptr
) {
2793 src
= (wxToolBar
*) ptr
;
2794 dest
= (wxControl
*) src
;
2795 return (void *) dest
;
2798 static void *SwigwxToolBarTowxWindow(void *ptr
) {
2801 src
= (wxToolBar
*) ptr
;
2802 dest
= (wxWindow
*) src
;
2803 return (void *) dest
;
2806 static void *SwigwxToolBarTowxEvtHandler(void *ptr
) {
2809 src
= (wxToolBar
*) ptr
;
2810 dest
= (wxEvtHandler
*) src
;
2811 return (void *) dest
;
2814 #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2815 static PyObject
*_wrap_new_wxToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2817 wxToolBar
* _result
;
2820 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2821 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2822 long _arg4
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
2823 char * _arg5
= (char *) wxToolBarNameStr
;
2824 PyObject
* _argo0
= 0;
2826 PyObject
* _obj2
= 0;
2828 PyObject
* _obj3
= 0;
2829 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p.");
2845 if (! wxPoint_helper(_obj2
, &_arg2
))
2851 if (! wxSize_helper(_obj3
, &_arg3
))
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 _result
= (wxToolBar
*)new_wxToolBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2858 wxPy_END_ALLOW_THREADS
;
2860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBar_p");
2861 _resultobj
= Py_BuildValue("s",_ptemp
);
2864 _resultobj
= Py_None
;
2869 #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
2870 static PyObject
*_wrap_wxToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2872 wxToolBarToolBase
* _result
;
2876 PyObject
* _argo0
= 0;
2877 char *_kwnames
[] = { "self","x","y", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBar_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBar_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p.");
2891 wxPy_BEGIN_ALLOW_THREADS
;
2892 _result
= (wxToolBarToolBase
*)wxToolBar_FindToolForPosition(_arg0
,_arg1
,_arg2
);
2894 wxPy_END_ALLOW_THREADS
;
2896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
2897 _resultobj
= Py_BuildValue("s",_ptemp
);
2900 _resultobj
= Py_None
;
2905 static void *SwigwxToolBarSimpleTowxToolBarBase(void *ptr
) {
2906 wxToolBarSimple
*src
;
2907 wxToolBarBase
*dest
;
2908 src
= (wxToolBarSimple
*) ptr
;
2909 dest
= (wxToolBarBase
*) src
;
2910 return (void *) dest
;
2913 static void *SwigwxToolBarSimpleTowxControl(void *ptr
) {
2914 wxToolBarSimple
*src
;
2916 src
= (wxToolBarSimple
*) ptr
;
2917 dest
= (wxControl
*) src
;
2918 return (void *) dest
;
2921 static void *SwigwxToolBarSimpleTowxWindow(void *ptr
) {
2922 wxToolBarSimple
*src
;
2924 src
= (wxToolBarSimple
*) ptr
;
2925 dest
= (wxWindow
*) src
;
2926 return (void *) dest
;
2929 static void *SwigwxToolBarSimpleTowxEvtHandler(void *ptr
) {
2930 wxToolBarSimple
*src
;
2932 src
= (wxToolBarSimple
*) ptr
;
2933 dest
= (wxEvtHandler
*) src
;
2934 return (void *) dest
;
2937 #define new_wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2938 static PyObject
*_wrap_new_wxToolBarSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
* _resultobj
;
2940 wxToolBarSimple
* _result
;
2943 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2944 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2945 long _arg4
= (long ) wxNO_BORDER
|wxTB_HORIZONTAL
;
2946 char * _arg5
= (char *) wxToolBarNameStr
;
2947 PyObject
* _argo0
= 0;
2949 PyObject
* _obj2
= 0;
2951 PyObject
* _obj3
= 0;
2952 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxToolBarSimple",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
2959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToolBarSimple. Expected _wxWindow_p.");
2968 if (! wxPoint_helper(_obj2
, &_arg2
))
2974 if (! wxSize_helper(_obj3
, &_arg3
))
2978 wxPy_BEGIN_ALLOW_THREADS
;
2979 _result
= (wxToolBarSimple
*)new_wxToolBarSimple(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2981 wxPy_END_ALLOW_THREADS
;
2983 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarSimple_p");
2984 _resultobj
= Py_BuildValue("s",_ptemp
);
2987 _resultobj
= Py_None
;
2992 #define wxToolBarSimple_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1))
2993 static PyObject
*_wrap_wxToolBarSimple_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
* _resultobj
;
2995 wxToolBarToolBase
* _result
;
2996 wxToolBarSimple
* _arg0
;
2999 PyObject
* _argo0
= 0;
3000 char *_kwnames
[] = { "self","x","y", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxToolBarSimple_FindToolForPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolBarSimple_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolBarSimple_FindToolForPosition. Expected _wxToolBarSimple_p.");
3014 wxPy_BEGIN_ALLOW_THREADS
;
3015 _result
= (wxToolBarToolBase
*)wxToolBarSimple_FindToolForPosition(_arg0
,_arg1
,_arg2
);
3017 wxPy_END_ALLOW_THREADS
;
3019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolBarToolBase_p");
3020 _resultobj
= Py_BuildValue("s",_ptemp
);
3023 _resultobj
= Py_None
;
3028 static PyMethodDef stattoolcMethods
[] = {
3029 { "wxToolBarSimple_FindToolForPosition", (PyCFunction
) _wrap_wxToolBarSimple_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
3030 { "new_wxToolBarSimple", (PyCFunction
) _wrap_new_wxToolBarSimple
, METH_VARARGS
| METH_KEYWORDS
},
3031 { "wxToolBar_FindToolForPosition", (PyCFunction
) _wrap_wxToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
3032 { "new_wxToolBar", (PyCFunction
) _wrap_new_wxToolBar
, METH_VARARGS
| METH_KEYWORDS
},
3033 { "wxToolBarBase_GetToolSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
3034 { "wxToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
3035 { "wxToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_wxToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
3036 { "wxToolBarBase_GetMaxCols", (PyCFunction
) _wrap_wxToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
3037 { "wxToolBarBase_GetMaxRows", (PyCFunction
) _wrap_wxToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
3038 { "wxToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_wxToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
3039 { "wxToolBarBase_SetRows", (PyCFunction
) _wrap_wxToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
3040 { "wxToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
3041 { "wxToolBarBase_GetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
3042 { "wxToolBarBase_GetToolMargins", (PyCFunction
) _wrap_wxToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
3043 { "wxToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_wxToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
3044 { "wxToolBarBase_SetToolPacking", (PyCFunction
) _wrap_wxToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
3045 { "wxToolBarBase_SetMargins", (PyCFunction
) _wrap_wxToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
3046 { "wxToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_wxToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
3047 { "wxToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3048 { "wxToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3049 { "wxToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3050 { "wxToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_wxToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3051 { "wxToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_wxToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3052 { "wxToolBarBase_GetToolState", (PyCFunction
) _wrap_wxToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
3053 { "wxToolBarBase_SetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
3054 { "wxToolBarBase_GetToolClientData", (PyCFunction
) _wrap_wxToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
3055 { "wxToolBarBase_SetToggle", (PyCFunction
) _wrap_wxToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
3056 { "wxToolBarBase_ToggleTool", (PyCFunction
) _wrap_wxToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
3057 { "wxToolBarBase_EnableTool", (PyCFunction
) _wrap_wxToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
3058 { "wxToolBarBase_Realize", (PyCFunction
) _wrap_wxToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
3059 { "wxToolBarBase_ClearTools", (PyCFunction
) _wrap_wxToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
3060 { "wxToolBarBase_DeleteTool", (PyCFunction
) _wrap_wxToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
3061 { "wxToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_wxToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
3062 { "wxToolBarBase_RemoveTool", (PyCFunction
) _wrap_wxToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
3063 { "wxToolBarBase_InsertSeparator", (PyCFunction
) _wrap_wxToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3064 { "wxToolBarBase_AddSeparator", (PyCFunction
) _wrap_wxToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3065 { "wxToolBarBase_InsertControl", (PyCFunction
) _wrap_wxToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
3066 { "wxToolBarBase_AddControl", (PyCFunction
) _wrap_wxToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
3067 { "wxToolBarBase_InsertSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_InsertSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
3068 { "wxToolBarBase_InsertTool", (PyCFunction
) _wrap_wxToolBarBase_InsertTool
, METH_VARARGS
| METH_KEYWORDS
},
3069 { "wxToolBarBase_AddSimpleTool", (PyCFunction
) _wrap_wxToolBarBase_AddSimpleTool
, METH_VARARGS
| METH_KEYWORDS
},
3070 { "wxToolBarBase_AddTool", (PyCFunction
) _wrap_wxToolBarBase_AddTool
, METH_VARARGS
| METH_KEYWORDS
},
3071 { "wxToolBarToolBase_SetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
3072 { "wxToolBarToolBase_GetClientData", (PyCFunction
) _wrap_wxToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
3073 { "wxToolBarToolBase_Attach", (PyCFunction
) _wrap_wxToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
3074 { "wxToolBarToolBase_Detach", (PyCFunction
) _wrap_wxToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
3075 { "wxToolBarToolBase_SetBitmap2", (PyCFunction
) _wrap_wxToolBarToolBase_SetBitmap2
, METH_VARARGS
| METH_KEYWORDS
},
3076 { "wxToolBarToolBase_SetBitmap1", (PyCFunction
) _wrap_wxToolBarToolBase_SetBitmap1
, METH_VARARGS
| METH_KEYWORDS
},
3077 { "wxToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3078 { "wxToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3079 { "wxToolBarToolBase_SetToggle", (PyCFunction
) _wrap_wxToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
3080 { "wxToolBarToolBase_Toggle", (PyCFunction
) _wrap_wxToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
3081 { "wxToolBarToolBase_Enable", (PyCFunction
) _wrap_wxToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
3082 { "wxToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
3083 { "wxToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_wxToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
3084 { "wxToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
3085 { "wxToolBarToolBase_GetBitmap2", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap2
, METH_VARARGS
| METH_KEYWORDS
},
3086 { "wxToolBarToolBase_GetBitmap1", (PyCFunction
) _wrap_wxToolBarToolBase_GetBitmap1
, METH_VARARGS
| METH_KEYWORDS
},
3087 { "wxToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_wxToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
3088 { "wxToolBarToolBase_IsToggled", (PyCFunction
) _wrap_wxToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
3089 { "wxToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_wxToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
3090 { "wxToolBarToolBase_GetStyle", (PyCFunction
) _wrap_wxToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
3091 { "wxToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_wxToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
3092 { "wxToolBarToolBase_IsControl", (PyCFunction
) _wrap_wxToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
3093 { "wxToolBarToolBase_IsButton", (PyCFunction
) _wrap_wxToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
3094 { "wxToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_wxToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
3095 { "wxToolBarToolBase_GetControl", (PyCFunction
) _wrap_wxToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
3096 { "wxToolBarToolBase_GetId", (PyCFunction
) _wrap_wxToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
3097 { "wxToolBarToolBase_Destroy", (PyCFunction
) _wrap_wxToolBarToolBase_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
3098 { "wxStatusBar_SetMinHeight", (PyCFunction
) _wrap_wxStatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
3099 { "wxStatusBar_SetStatusWidths", (PyCFunction
) _wrap_wxStatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
},
3100 { "wxStatusBar_SetStatusText", (PyCFunction
) _wrap_wxStatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
3101 { "wxStatusBar_SetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
3102 { "wxStatusBar_GetBorderY", (PyCFunction
) _wrap_wxStatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
},
3103 { "wxStatusBar_GetBorderX", (PyCFunction
) _wrap_wxStatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
},
3104 { "wxStatusBar_GetStatusText", (PyCFunction
) _wrap_wxStatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
},
3105 { "wxStatusBar_GetFieldsCount", (PyCFunction
) _wrap_wxStatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
},
3106 { "wxStatusBar_GetFieldRect", (PyCFunction
) _wrap_wxStatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
},
3107 { "new_wxStatusBar", (PyCFunction
) _wrap_new_wxStatusBar
, METH_VARARGS
| METH_KEYWORDS
},
3114 * This table is used by the pointer type-checker
3116 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
3117 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
3118 { "_wxEvent","_class_wxEvent",0},
3119 { "_class_wxActivateEvent","_wxActivateEvent",0},
3120 { "_signed_long","_long",0},
3121 { "_wxMenuEvent","_class_wxMenuEvent",0},
3122 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
3123 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
3124 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
3125 { "_wxPrintQuality","_wxCoord",0},
3126 { "_wxPrintQuality","_int",0},
3127 { "_wxPrintQuality","_signed_int",0},
3128 { "_wxPrintQuality","_unsigned_int",0},
3129 { "_wxPrintQuality","_wxWindowID",0},
3130 { "_wxPrintQuality","_uint",0},
3131 { "_wxPrintQuality","_EBool",0},
3132 { "_wxPrintQuality","_size_t",0},
3133 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
3134 { "_class_wxRegionIterator","_wxRegionIterator",0},
3135 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
3136 { "_class_wxMenuBar","_wxMenuBar",0},
3137 { "_class_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3138 { "_class_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3139 { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3140 { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3141 { "_class_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3142 { "_class_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3143 { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3144 { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3145 { "_class_wxEvtHandler","_wxEvtHandler",0},
3146 { "_wxPaintEvent","_class_wxPaintEvent",0},
3147 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
3148 { "_wxCursor","_class_wxCursor",0},
3149 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
3150 { "_class_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3151 { "_class_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3152 { "_class_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3153 { "_class_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3154 { "_class_wxToolBarBase","_wxToolBarBase",0},
3155 { "_wxMask","_class_wxMask",0},
3156 { "_wxPen","_class_wxPen",0},
3157 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
3158 { "_byte","_unsigned_char",0},
3159 { "_wxDataObject","_class_wxDataObject",0},
3160 { "_wxStaticBox","_class_wxStaticBox",0},
3161 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
3162 { "_wxPyDropSource","_class_wxPyDropSource",0},
3163 { "_wxChoice","_class_wxChoice",0},
3164 { "_wxSlider","_class_wxSlider",0},
3165 { "_long","_wxDash",0},
3166 { "_long","_unsigned_long",0},
3167 { "_long","_signed_long",0},
3168 { "_wxImageList","_class_wxImageList",0},
3169 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
3170 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
3171 { "_wxBitmapButton","_class_wxBitmapButton",0},
3172 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
3173 { "_class_wxClipboard","_wxClipboard",0},
3174 { "_class_wxGauge","_wxGauge",0},
3175 { "_wxDC","_class_wxDC",0},
3176 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
3177 { "_wxSpinEvent","_class_wxSpinEvent",0},
3178 { "_size_t","_wxCoord",0},
3179 { "_size_t","_wxPrintQuality",0},
3180 { "_size_t","_unsigned_int",0},
3181 { "_size_t","_int",0},
3182 { "_size_t","_wxWindowID",0},
3183 { "_size_t","_uint",0},
3184 { "_class_wxRealPoint","_wxRealPoint",0},
3185 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
3186 { "_wxPrinterDC","_class_wxPrinterDC",0},
3187 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
3188 { "_class_wxMenuItem","_wxMenuItem",0},
3189 { "_class_wxPaintEvent","_wxPaintEvent",0},
3190 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
3191 { "_class_wxStatusBar","_wxStatusBar",0},
3192 { "_wxPanel","_class_wxPanel",0},
3193 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
3194 { "_wxCheckBox","_class_wxCheckBox",0},
3195 { "_wxPyEvent","_class_wxPyEvent",0},
3196 { "_wxTextCtrl","_class_wxTextCtrl",0},
3197 { "_class_wxMask","_wxMask",0},
3198 { "_wxTextDataObject","_class_wxTextDataObject",0},
3199 { "_class_wxKeyEvent","_wxKeyEvent",0},
3200 { "_wxColour","_class_wxColour",0},
3201 { "_class_wxDialog","_wxDialog",0},
3202 { "_class_wxFileDataObject","_wxFileDataObject",0},
3203 { "_wxIdleEvent","_class_wxIdleEvent",0},
3204 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
3205 { "_wxToolBar","_class_wxToolBar",0},
3206 { "_class_wxDataObject","_wxDataObject",0},
3207 { "_wxStaticLine","_class_wxStaticLine",0},
3208 { "_wxBrush","_class_wxBrush",0},
3209 { "_wxDataFormat","_class_wxDataFormat",0},
3210 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
3211 { "_wxShowEvent","_class_wxShowEvent",0},
3212 { "_uint","_wxCoord",0},
3213 { "_uint","_wxPrintQuality",0},
3214 { "_uint","_size_t",0},
3215 { "_uint","_unsigned_int",0},
3216 { "_uint","_int",0},
3217 { "_uint","_wxWindowID",0},
3218 { "_wxPyValidator","_class_wxPyValidator",0},
3219 { "_class_wxEvent","_wxEvent",0},
3220 { "_wxCheckListBox","_class_wxCheckListBox",0},
3221 { "_wxRect","_class_wxRect",0},
3222 { "_wxCommandEvent","_class_wxCommandEvent",0},
3223 { "_wxSizeEvent","_class_wxSizeEvent",0},
3224 { "_wxPoint","_class_wxPoint",0},
3225 { "_class_wxButton","_wxButton",0},
3226 { "_wxRadioBox","_class_wxRadioBox",0},
3227 { "_wxBitmap","_class_wxBitmap",0},
3228 { "_wxPyTimer","_class_wxPyTimer",0},
3229 { "_wxWindowDC","_class_wxWindowDC",0},
3230 { "_wxScrollBar","_class_wxScrollBar",0},
3231 { "_wxSpinButton","_class_wxSpinButton",0},
3232 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
3233 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
3234 { "_class_wxValidator","_wxValidator",0},
3235 { "_class_wxPyEvent","_wxPyEvent",0},
3236 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
3237 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
3238 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
3239 { "_class_wxToolBar","_wxToolBar",0},
3240 { "_wxDropTarget","_class_wxDropTarget",0},
3241 { "_class_wxStaticLine","_wxStaticLine",0},
3242 { "_wxScrollEvent","_class_wxScrollEvent",0},
3243 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
3244 { "_EBool","_wxCoord",0},
3245 { "_EBool","_wxPrintQuality",0},
3246 { "_EBool","_signed_int",0},
3247 { "_EBool","_int",0},
3248 { "_EBool","_wxWindowID",0},
3249 { "_class_wxRegion","_wxRegion",0},
3250 { "_class_wxDataFormat","_wxDataFormat",0},
3251 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
3252 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
3253 { "_wxStaticText","_class_wxStaticText",0},
3254 { "_wxFont","_class_wxFont",0},
3255 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
3256 { "_wxCloseEvent","_class_wxCloseEvent",0},
3257 { "_unsigned_long","_wxDash",0},
3258 { "_unsigned_long","_long",0},
3259 { "_class_wxRect","_wxRect",0},
3260 { "_class_wxDC","_wxDC",0},
3261 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
3262 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
3263 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
3264 { "_class_wxPyTimer","_wxPyTimer",0},
3265 { "_wxFocusEvent","_class_wxFocusEvent",0},
3266 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
3267 { "_class_wxSpinButton","_wxSpinButton",0},
3268 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
3269 { "_class_wxPanel","_wxPanel",0},
3270 { "_class_wxCheckBox","_wxCheckBox",0},
3271 { "_wxComboBox","_class_wxComboBox",0},
3272 { "_wxRadioButton","_class_wxRadioButton",0},
3273 { "_signed_int","_wxCoord",0},
3274 { "_signed_int","_wxPrintQuality",0},
3275 { "_signed_int","_EBool",0},
3276 { "_signed_int","_wxWindowID",0},
3277 { "_signed_int","_int",0},
3278 { "_class_wxTextCtrl","_wxTextCtrl",0},
3279 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
3280 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
3281 { "_class_wxTextDataObject","_wxTextDataObject",0},
3282 { "_wxMenu","_class_wxMenu",0},
3283 { "_class_wxMoveEvent","_wxMoveEvent",0},
3284 { "_wxListBox","_class_wxListBox",0},
3285 { "_wxScreenDC","_class_wxScreenDC",0},
3286 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
3287 { "_WXTYPE","_short",0},
3288 { "_WXTYPE","_signed_short",0},
3289 { "_WXTYPE","_unsigned_short",0},
3290 { "_class_wxDropTarget","_wxDropTarget",0},
3291 { "_class_wxBrush","_wxBrush",0},
3292 { "_unsigned_short","_WXTYPE",0},
3293 { "_unsigned_short","_short",0},
3294 { "_class_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3295 { "_class_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3296 { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
3297 { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
3298 { "_class_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3299 { "_class_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3300 { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
3301 { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
3302 { "_class_wxWindow","_wxWindow",0},
3303 { "_class_wxStaticText","_wxStaticText",0},
3304 { "_class_wxFont","_wxFont",0},
3305 { "_wxClipboard","_class_wxClipboard",0},
3306 { "_class_wxPyValidator","_wxPyValidator",0},
3307 { "_class_wxCloseEvent","_wxCloseEvent",0},
3308 { "_wxBusyInfo","_class_wxBusyInfo",0},
3309 { "_class_wxMenuEvent","_wxMenuEvent",0},
3310 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
3311 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
3312 { "_wxClientDC","_class_wxClientDC",0},
3313 { "_wxMouseEvent","_class_wxMouseEvent",0},
3314 { "_class_wxPoint","_wxPoint",0},
3315 { "_wxRealPoint","_class_wxRealPoint",0},
3316 { "_class_wxRadioBox","_wxRadioBox",0},
3317 { "_signed_short","_WXTYPE",0},
3318 { "_signed_short","_short",0},
3319 { "_wxMemoryDC","_class_wxMemoryDC",0},
3320 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
3321 { "_wxPaintDC","_class_wxPaintDC",0},
3322 { "_class_wxWindowDC","_wxWindowDC",0},
3323 { "_class_wxFocusEvent","_wxFocusEvent",0},
3324 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
3325 { "_wxStatusBar","_class_wxStatusBar",0},
3326 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
3327 { "_class_wxCursor","_wxCursor",0},
3328 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
3329 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
3330 { "_unsigned_char","_byte",0},
3331 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
3332 { "_class_wxMenu","_wxMenu",0},
3333 { "_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3334 { "_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3335 { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3336 { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3337 { "_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3338 { "_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3339 { "_wxControl","_class_wxControl",0},
3340 { "_class_wxListBox","_wxListBox",0},
3341 { "_unsigned_int","_wxCoord",0},
3342 { "_unsigned_int","_wxPrintQuality",0},
3343 { "_unsigned_int","_size_t",0},
3344 { "_unsigned_int","_uint",0},
3345 { "_unsigned_int","_wxWindowID",0},
3346 { "_unsigned_int","_int",0},
3347 { "_wxIcon","_class_wxIcon",0},
3348 { "_wxDialog","_class_wxDialog",0},
3349 { "_class_wxPen","_wxPen",0},
3350 { "_short","_WXTYPE",0},
3351 { "_short","_unsigned_short",0},
3352 { "_short","_signed_short",0},
3353 { "_class_wxStaticBox","_wxStaticBox",0},
3354 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
3355 { "_class_wxPyDropSource","_wxPyDropSource",0},
3356 { "_class_wxScrollEvent","_wxScrollEvent",0},
3357 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
3358 { "_class_wxChoice","_wxChoice",0},
3359 { "_class_wxSlider","_wxSlider",0},
3360 { "_class_wxImageList","_wxImageList",0},
3361 { "_class_wxBitmapButton","_wxBitmapButton",0},
3362 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
3363 { "_wxWindowID","_wxCoord",0},
3364 { "_wxWindowID","_wxPrintQuality",0},
3365 { "_wxWindowID","_size_t",0},
3366 { "_wxWindowID","_EBool",0},
3367 { "_wxWindowID","_uint",0},
3368 { "_wxWindowID","_int",0},
3369 { "_wxWindowID","_signed_int",0},
3370 { "_wxWindowID","_unsigned_int",0},
3371 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
3372 { "_int","_wxCoord",0},
3373 { "_int","_wxPrintQuality",0},
3374 { "_int","_size_t",0},
3375 { "_int","_EBool",0},
3376 { "_int","_uint",0},
3377 { "_int","_wxWindowID",0},
3378 { "_int","_unsigned_int",0},
3379 { "_int","_signed_int",0},
3380 { "_class_wxMouseEvent","_wxMouseEvent",0},
3381 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
3382 { "_class_wxSpinEvent","_wxSpinEvent",0},
3383 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
3384 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
3385 { "_wxButton","_class_wxButton",0},
3386 { "_wxSize","_class_wxSize",0},
3387 { "_wxRegionIterator","_class_wxRegionIterator",0},
3388 { "_class_wxPrinterDC","_wxPrinterDC",0},
3389 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
3390 { "_class_wxPaintDC","_wxPaintDC",0},
3391 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
3392 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
3393 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
3394 { "_class_wxComboBox","_wxComboBox",0},
3395 { "_class_wxRadioButton","_wxRadioButton",0},
3396 { "_wxValidator","_class_wxValidator",0},
3397 { "_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3398 { "_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase
},
3399 { "_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3400 { "_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase
},
3401 { "_wxToolBarBase","_class_wxToolBarBase",0},
3402 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
3403 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
3404 { "_class_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3405 { "_class_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl
},
3406 { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl
},
3407 { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl
},
3408 { "_class_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3409 { "_class_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl
},
3410 { "_class_wxControl","_wxControl",0},
3411 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
3412 { "_class_wxIcon","_wxIcon",0},
3413 { "_class_wxColour","_wxColour",0},
3414 { "_class_wxScreenDC","_wxScreenDC",0},
3415 { "_wxPalette","_class_wxPalette",0},
3416 { "_class_wxIdleEvent","_wxIdleEvent",0},
3417 { "_wxCoord","_int",0},
3418 { "_wxCoord","_signed_int",0},
3419 { "_wxCoord","_unsigned_int",0},
3420 { "_wxCoord","_wxWindowID",0},
3421 { "_wxCoord","_uint",0},
3422 { "_wxCoord","_EBool",0},
3423 { "_wxCoord","_size_t",0},
3424 { "_wxCoord","_wxPrintQuality",0},
3425 { "_wxEraseEvent","_class_wxEraseEvent",0},
3426 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
3427 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
3428 { "_wxRegion","_class_wxRegion",0},
3429 { "_class_wxShowEvent","_wxShowEvent",0},
3430 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
3431 { "_wxActivateEvent","_class_wxActivateEvent",0},
3432 { "_wxGauge","_class_wxGauge",0},
3433 { "_class_wxCheckListBox","_wxCheckListBox",0},
3434 { "_class_wxBusyInfo","_wxBusyInfo",0},
3435 { "_class_wxCommandEvent","_wxCommandEvent",0},
3436 { "_class_wxClientDC","_wxClientDC",0},
3437 { "_class_wxSizeEvent","_wxSizeEvent",0},
3438 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
3439 { "_class_wxSize","_wxSize",0},
3440 { "_class_wxBitmap","_wxBitmap",0},
3441 { "_class_wxMemoryDC","_wxMemoryDC",0},
3442 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
3443 { "_wxMenuBar","_class_wxMenuBar",0},
3444 { "_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3445 { "_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler
},
3446 { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3447 { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler
},
3448 { "_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3449 { "_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler
},
3450 { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3451 { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler
},
3452 { "_wxEvtHandler","_class_wxEvtHandler",0},
3453 { "_wxMenuItem","_class_wxMenuItem",0},
3454 { "_class_wxScrollBar","_wxScrollBar",0},
3455 { "_wxDash","_unsigned_long",0},
3456 { "_wxDash","_long",0},
3457 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
3458 { "_wxKeyEvent","_class_wxKeyEvent",0},
3459 { "_wxMoveEvent","_class_wxMoveEvent",0},
3460 { "_class_wxPalette","_wxPalette",0},
3461 { "_wxFileDataObject","_class_wxFileDataObject",0},
3462 { "_class_wxEraseEvent","_wxEraseEvent",0},
3463 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
3464 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
3465 { "_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3466 { "_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow
},
3467 { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow
},
3468 { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow
},
3469 { "_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3470 { "_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow
},
3471 { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow
},
3472 { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow
},
3473 { "_wxWindow","_class_wxWindow",0},
3474 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
3477 static PyObject
*SWIG_globals
;
3481 SWIGEXPORT(void) initstattoolc() {
3483 SWIG_globals
= SWIG_newvarlink();
3484 m
= Py_InitModule("stattoolc", stattoolcMethods
);
3485 d
= PyModule_GetDict(m
);
3486 PyDict_SetItemString(d
,"wxTOOL_STYLE_BUTTON", PyInt_FromLong((long) wxTOOL_STYLE_BUTTON
));
3487 PyDict_SetItemString(d
,"wxTOOL_STYLE_SEPARATOR", PyInt_FromLong((long) wxTOOL_STYLE_SEPARATOR
));
3488 PyDict_SetItemString(d
,"wxTOOL_STYLE_CONTROL", PyInt_FromLong((long) wxTOOL_STYLE_CONTROL
));
3491 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
3492 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);