]>
Commit | Line | Data |
---|---|---|
9c039d08 RD |
1 | /* |
2 | * FILE : msw/stattool.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
1afc06c2 | 6 | * Version 1.1 (Build 810) |
9c039d08 RD |
7 | * |
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. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
1d99702e | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
9c039d08 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
1d99702e | 30 | # define SWIGEXPORT(a) a _export |
9c039d08 | 31 | # else |
1d99702e | 32 | # define SWIGEXPORT(a) a |
9c039d08 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
1d99702e | 36 | # define SWIGEXPORT(a) a |
9c039d08 RD |
37 | #endif |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
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 *); | |
1d99702e | 46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
9c039d08 RD |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
9c039d08 RD |
52 | #define SWIG_init initstattoolc |
53 | ||
54 | #define SWIG_name "stattoolc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/toolbar.h> | |
58 | #include <wx/tbarsmpl.h> | |
59 | ||
60 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
61 | PyObject* o2; | |
1d99702e RD |
62 | PyObject* o3; |
63 | if (!target) { | |
9c039d08 | 64 | target = o; |
1d99702e | 65 | } else if (target == Py_None) { |
9c039d08 RD |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
1d99702e | 68 | } else { |
9c039d08 RD |
69 | if (!PyList_Check(target)) { |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
1d99702e | 85 | if (!target) { |
9c039d08 | 86 | target = o; |
1d99702e | 87 | } else if (target == Py_None) { |
9c039d08 RD |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
1d99702e | 90 | } else { |
9c039d08 RD |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
1d99702e RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
9c039d08 RD |
98 | |
99 | o2 = target; | |
1d99702e RD |
100 | target = PySequence_Concat(o2, o3); |
101 | Py_DECREF(o2); | |
9c039d08 RD |
102 | Py_DECREF(o3); |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
9c039d08 | 107 | static char* wxStringErrorMsg = "string type is required for parameter"; |
1d99702e RD |
108 | #ifdef __cplusplus |
109 | extern "C" { | |
110 | #endif | |
9c039d08 RD |
111 | static void *SwigwxStatusBarTowxWindow(void *ptr) { |
112 | wxStatusBar *src; | |
113 | wxWindow *dest; | |
114 | src = (wxStatusBar *) ptr; | |
115 | dest = (wxWindow *) src; | |
116 | return (void *) dest; | |
117 | } | |
118 | ||
119 | static void *SwigwxStatusBarTowxEvtHandler(void *ptr) { | |
120 | wxStatusBar *src; | |
121 | wxEvtHandler *dest; | |
122 | src = (wxStatusBar *) ptr; | |
123 | dest = (wxEvtHandler *) src; | |
124 | return (void *) dest; | |
125 | } | |
126 | ||
127 | #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
efc5f224 | 128 | static PyObject *_wrap_new_wxStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
129 | PyObject * _resultobj; |
130 | wxStatusBar * _result; | |
131 | wxWindow * _arg0; | |
132 | wxWindowID _arg1; | |
1d99702e RD |
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; | |
2f90df85 RD |
138 | wxPoint temp; |
139 | PyObject * _obj2 = 0; | |
140 | wxSize temp0; | |
141 | PyObject * _obj3 = 0; | |
efc5f224 | 142 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
9c039d08 RD |
143 | char _ptemp[128]; |
144 | ||
145 | self = self; | |
2f90df85 | 146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStatusBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
9c039d08 | 147 | return NULL; |
1d99702e RD |
148 | if (_argo0) { |
149 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
150 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
9c039d08 RD |
151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p."); |
152 | return NULL; | |
153 | } | |
154 | } | |
2f90df85 RD |
155 | if (_obj2) |
156 | { | |
157 | _arg2 = &temp; | |
158 | if (! wxPoint_helper(_obj2, &_arg2)) | |
9c039d08 | 159 | return NULL; |
2f90df85 RD |
160 | } |
161 | if (_obj3) | |
162 | { | |
163 | _arg3 = &temp0; | |
164 | if (! wxSize_helper(_obj3, &_arg3)) | |
9c039d08 | 165 | return NULL; |
2f90df85 | 166 | } |
cf694132 RD |
167 | { |
168 | wxPy_BEGIN_ALLOW_THREADS; | |
169 | _result = (wxStatusBar *)new_wxStatusBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
170 | ||
171 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
172 | } if (_result) { |
173 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p"); | |
174 | _resultobj = Py_BuildValue("s",_ptemp); | |
175 | } else { | |
176 | Py_INCREF(Py_None); | |
177 | _resultobj = Py_None; | |
178 | } | |
9c039d08 RD |
179 | return _resultobj; |
180 | } | |
181 | ||
182 | static wxRect * wxStatusBar_GetFieldRect(wxStatusBar *self,long item) { | |
183 | wxRect* rect= new wxRect; | |
184 | self->GetFieldRect(item, *rect); | |
185 | return rect; | |
186 | } | |
efc5f224 | 187 | static PyObject *_wrap_wxStatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
188 | PyObject * _resultobj; |
189 | wxRect * _result; | |
190 | wxStatusBar * _arg0; | |
191 | long _arg1; | |
1d99702e | 192 | PyObject * _argo0 = 0; |
efc5f224 | 193 | char *_kwnames[] = { "self","item", NULL }; |
9c039d08 RD |
194 | char _ptemp[128]; |
195 | ||
196 | self = self; | |
efc5f224 | 197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxStatusBar_GetFieldRect",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 198 | return NULL; |
1d99702e RD |
199 | if (_argo0) { |
200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p."); |
203 | return NULL; | |
204 | } | |
205 | } | |
cf694132 RD |
206 | { |
207 | wxPy_BEGIN_ALLOW_THREADS; | |
208 | _result = (wxRect *)wxStatusBar_GetFieldRect(_arg0,_arg1); | |
209 | ||
210 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
211 | } if (_result) { |
212 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p"); | |
213 | _resultobj = Py_BuildValue("s",_ptemp); | |
214 | } else { | |
215 | Py_INCREF(Py_None); | |
216 | _resultobj = Py_None; | |
217 | } | |
9c039d08 RD |
218 | return _resultobj; |
219 | } | |
220 | ||
221 | #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount()) | |
efc5f224 | 222 | static PyObject *_wrap_wxStatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
223 | PyObject * _resultobj; |
224 | int _result; | |
225 | wxStatusBar * _arg0; | |
1d99702e | 226 | PyObject * _argo0 = 0; |
efc5f224 | 227 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
228 | |
229 | self = self; | |
efc5f224 | 230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStatusBar_GetFieldsCount",_kwnames,&_argo0)) |
9c039d08 | 231 | return NULL; |
1d99702e RD |
232 | if (_argo0) { |
233 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
234 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p."); |
236 | return NULL; | |
237 | } | |
238 | } | |
cf694132 RD |
239 | { |
240 | wxPy_BEGIN_ALLOW_THREADS; | |
241 | _result = (int )wxStatusBar_GetFieldsCount(_arg0); | |
242 | ||
243 | wxPy_END_ALLOW_THREADS; | |
244 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
245 | return _resultobj; |
246 | } | |
247 | ||
248 | #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0)) | |
efc5f224 | 249 | static PyObject *_wrap_wxStatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
250 | PyObject * _resultobj; |
251 | wxString * _result; | |
252 | wxStatusBar * _arg0; | |
1d99702e RD |
253 | int _arg1 = (int ) 0; |
254 | PyObject * _argo0 = 0; | |
efc5f224 | 255 | char *_kwnames[] = { "self","ir", NULL }; |
9c039d08 RD |
256 | |
257 | self = self; | |
efc5f224 | 258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxStatusBar_GetStatusText",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 259 | return NULL; |
1d99702e RD |
260 | if (_argo0) { |
261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p."); |
264 | return NULL; | |
265 | } | |
266 | } | |
9c039d08 | 267 | { |
cf694132 RD |
268 | wxPy_BEGIN_ALLOW_THREADS; |
269 | _result = new wxString (wxStatusBar_GetStatusText(_arg0,_arg1)); | |
270 | ||
271 | wxPy_END_ALLOW_THREADS; | |
272 | }{ | |
9c039d08 RD |
273 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
274 | } | |
275 | { | |
276 | delete _result; | |
277 | } | |
278 | return _resultobj; | |
279 | } | |
280 | ||
281 | #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1)) | |
efc5f224 | 282 | static PyObject *_wrap_wxStatusBar_DrawField(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
283 | PyObject * _resultobj; |
284 | wxStatusBar * _arg0; | |
285 | wxDC * _arg1; | |
286 | int _arg2; | |
1d99702e RD |
287 | PyObject * _argo0 = 0; |
288 | PyObject * _argo1 = 0; | |
efc5f224 | 289 | char *_kwnames[] = { "self","dc","i", NULL }; |
9c039d08 RD |
290 | |
291 | self = self; | |
efc5f224 | 292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxStatusBar_DrawField",_kwnames,&_argo0,&_argo1,&_arg2)) |
9c039d08 | 293 | return NULL; |
1d99702e RD |
294 | if (_argo0) { |
295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p."); |
298 | return NULL; | |
299 | } | |
300 | } | |
1d99702e RD |
301 | if (_argo1) { |
302 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
303 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9c039d08 RD |
304 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p."); |
305 | return NULL; | |
306 | } | |
307 | } | |
cf694132 RD |
308 | { |
309 | wxPy_BEGIN_ALLOW_THREADS; | |
310 | wxStatusBar_DrawField(_arg0,*_arg1,_arg2); | |
311 | ||
312 | wxPy_END_ALLOW_THREADS; | |
313 | } Py_INCREF(Py_None); | |
9c039d08 RD |
314 | _resultobj = Py_None; |
315 | return _resultobj; | |
316 | } | |
317 | ||
318 | #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1)) | |
efc5f224 | 319 | static PyObject *_wrap_wxStatusBar_DrawFieldText(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
320 | PyObject * _resultobj; |
321 | wxStatusBar * _arg0; | |
322 | wxDC * _arg1; | |
323 | int _arg2; | |
1d99702e RD |
324 | PyObject * _argo0 = 0; |
325 | PyObject * _argo1 = 0; | |
efc5f224 | 326 | char *_kwnames[] = { "self","dc","i", NULL }; |
9c039d08 RD |
327 | |
328 | self = self; | |
efc5f224 | 329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxStatusBar_DrawFieldText",_kwnames,&_argo0,&_argo1,&_arg2)) |
9c039d08 | 330 | return NULL; |
1d99702e RD |
331 | if (_argo0) { |
332 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
333 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p."); |
335 | return NULL; | |
336 | } | |
337 | } | |
1d99702e RD |
338 | if (_argo1) { |
339 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
340 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9c039d08 RD |
341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p."); |
342 | return NULL; | |
343 | } | |
344 | } | |
cf694132 RD |
345 | { |
346 | wxPy_BEGIN_ALLOW_THREADS; | |
347 | wxStatusBar_DrawFieldText(_arg0,*_arg1,_arg2); | |
348 | ||
349 | wxPy_END_ALLOW_THREADS; | |
350 | } Py_INCREF(Py_None); | |
9c039d08 RD |
351 | _resultobj = Py_None; |
352 | return _resultobj; | |
353 | } | |
354 | ||
355 | #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours()) | |
efc5f224 | 356 | static PyObject *_wrap_wxStatusBar_InitColours(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
357 | PyObject * _resultobj; |
358 | wxStatusBar * _arg0; | |
1d99702e | 359 | PyObject * _argo0 = 0; |
efc5f224 | 360 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
361 | |
362 | self = self; | |
efc5f224 | 363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStatusBar_InitColours",_kwnames,&_argo0)) |
9c039d08 | 364 | return NULL; |
1d99702e RD |
365 | if (_argo0) { |
366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p."); |
369 | return NULL; | |
370 | } | |
371 | } | |
cf694132 RD |
372 | { |
373 | wxPy_BEGIN_ALLOW_THREADS; | |
374 | wxStatusBar_InitColours(_arg0); | |
375 | ||
376 | wxPy_END_ALLOW_THREADS; | |
377 | } Py_INCREF(Py_None); | |
9c039d08 RD |
378 | _resultobj = Py_None; |
379 | return _resultobj; | |
380 | } | |
381 | ||
382 | #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0)) | |
efc5f224 | 383 | static PyObject *_wrap_wxStatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
384 | PyObject * _resultobj; |
385 | wxStatusBar * _arg0; | |
1d99702e RD |
386 | int _arg1 = (int ) 1; |
387 | PyObject * _argo0 = 0; | |
efc5f224 | 388 | char *_kwnames[] = { "self","number", NULL }; |
9c039d08 RD |
389 | |
390 | self = self; | |
efc5f224 | 391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxStatusBar_SetFieldsCount",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 392 | return NULL; |
1d99702e RD |
393 | if (_argo0) { |
394 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
395 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p."); |
397 | return NULL; | |
398 | } | |
399 | } | |
cf694132 RD |
400 | { |
401 | wxPy_BEGIN_ALLOW_THREADS; | |
402 | wxStatusBar_SetFieldsCount(_arg0,_arg1); | |
403 | ||
404 | wxPy_END_ALLOW_THREADS; | |
405 | } Py_INCREF(Py_None); | |
9c039d08 RD |
406 | _resultobj = Py_None; |
407 | return _resultobj; | |
408 | } | |
409 | ||
410 | #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1)) | |
efc5f224 | 411 | static PyObject *_wrap_wxStatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
412 | PyObject * _resultobj; |
413 | wxStatusBar * _arg0; | |
414 | wxString * _arg1; | |
1d99702e RD |
415 | int _arg2 = (int ) 0; |
416 | PyObject * _argo0 = 0; | |
9c039d08 | 417 | PyObject * _obj1 = 0; |
efc5f224 | 418 | char *_kwnames[] = { "self","text","i", NULL }; |
9c039d08 RD |
419 | |
420 | self = self; | |
efc5f224 | 421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxStatusBar_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2)) |
9c039d08 | 422 | return NULL; |
1d99702e RD |
423 | if (_argo0) { |
424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p."); |
427 | return NULL; | |
428 | } | |
429 | } | |
430 | { | |
431 | if (!PyString_Check(_obj1)) { | |
432 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
433 | return NULL; | |
434 | } | |
cf694132 | 435 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
9c039d08 | 436 | } |
cf694132 RD |
437 | { |
438 | wxPy_BEGIN_ALLOW_THREADS; | |
439 | wxStatusBar_SetStatusText(_arg0,*_arg1,_arg2); | |
440 | ||
441 | wxPy_END_ALLOW_THREADS; | |
442 | } Py_INCREF(Py_None); | |
9c039d08 RD |
443 | _resultobj = Py_None; |
444 | { | |
445 | if (_obj1) | |
446 | delete _arg1; | |
447 | } | |
448 | return _resultobj; | |
449 | } | |
450 | ||
451 | #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1)) | |
efc5f224 | 452 | static PyObject *_wrap_wxStatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
453 | PyObject * _resultobj; |
454 | wxStatusBar * _arg0; | |
455 | int _arg1; | |
456 | int * _arg2; | |
1d99702e | 457 | PyObject * _argo0 = 0; |
9c039d08 | 458 | PyObject * _obj2 = 0; |
efc5f224 | 459 | char *_kwnames[] = { "self","LIST", NULL }; |
9c039d08 RD |
460 | |
461 | self = self; | |
efc5f224 | 462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStatusBar_SetStatusWidths",_kwnames,&_argo0,&_obj2)) |
9c039d08 | 463 | return NULL; |
1d99702e RD |
464 | if (_argo0) { |
465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p."); |
468 | return NULL; | |
469 | } | |
470 | } | |
471 | if (_obj2) | |
472 | { | |
473 | _arg2 = int_LIST_helper(_obj2); | |
474 | if (_arg2 == NULL) { | |
475 | return NULL; | |
476 | } | |
477 | } | |
478 | { | |
cf694132 RD |
479 | if (_obj2) { |
480 | _arg1 = PyList_Size(_obj2); | |
481 | } | |
482 | else { | |
483 | _arg1 = 0; | |
484 | } | |
9c039d08 | 485 | } |
cf694132 RD |
486 | { |
487 | wxPy_BEGIN_ALLOW_THREADS; | |
488 | wxStatusBar_SetStatusWidths(_arg0,_arg1,_arg2); | |
489 | ||
490 | wxPy_END_ALLOW_THREADS; | |
491 | } Py_INCREF(Py_None); | |
9c039d08 RD |
492 | _resultobj = Py_None; |
493 | { | |
494 | delete [] _arg2; | |
495 | } | |
496 | return _resultobj; | |
497 | } | |
498 | ||
499 | #define new_wxToolBarTool() (new wxToolBarTool()) | |
efc5f224 | 500 | static PyObject *_wrap_new_wxToolBarTool(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
501 | PyObject * _resultobj; |
502 | wxToolBarTool * _result; | |
efc5f224 | 503 | char *_kwnames[] = { NULL }; |
9c039d08 RD |
504 | char _ptemp[128]; |
505 | ||
506 | self = self; | |
efc5f224 | 507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxToolBarTool",_kwnames)) |
9c039d08 | 508 | return NULL; |
cf694132 RD |
509 | { |
510 | wxPy_BEGIN_ALLOW_THREADS; | |
511 | _result = (wxToolBarTool *)new_wxToolBarTool(); | |
512 | ||
513 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
514 | } if (_result) { |
515 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p"); | |
516 | _resultobj = Py_BuildValue("s",_ptemp); | |
517 | } else { | |
518 | Py_INCREF(Py_None); | |
519 | _resultobj = Py_None; | |
520 | } | |
9c039d08 RD |
521 | return _resultobj; |
522 | } | |
523 | ||
524 | #define delete_wxToolBarTool(_swigobj) (delete _swigobj) | |
efc5f224 | 525 | static PyObject *_wrap_delete_wxToolBarTool(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
526 | PyObject * _resultobj; |
527 | wxToolBarTool * _arg0; | |
1d99702e | 528 | PyObject * _argo0 = 0; |
efc5f224 | 529 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
530 | |
531 | self = self; | |
efc5f224 | 532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxToolBarTool",_kwnames,&_argo0)) |
9c039d08 | 533 | return NULL; |
1d99702e RD |
534 | if (_argo0) { |
535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p."); |
538 | return NULL; | |
539 | } | |
540 | } | |
cf694132 RD |
541 | { |
542 | wxPy_BEGIN_ALLOW_THREADS; | |
543 | delete_wxToolBarTool(_arg0); | |
544 | ||
545 | wxPy_END_ALLOW_THREADS; | |
546 | } Py_INCREF(Py_None); | |
9c039d08 RD |
547 | _resultobj = Py_None; |
548 | return _resultobj; | |
549 | } | |
550 | ||
551 | #define wxToolBarTool_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) | |
efc5f224 | 552 | static PyObject *_wrap_wxToolBarTool_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
553 | PyObject * _resultobj; |
554 | wxToolBarTool * _arg0; | |
555 | long _arg1; | |
556 | long _arg2; | |
1d99702e | 557 | PyObject * _argo0 = 0; |
efc5f224 | 558 | char *_kwnames[] = { "self","w","h", NULL }; |
9c039d08 RD |
559 | |
560 | self = self; | |
efc5f224 | 561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxToolBarTool_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) |
9c039d08 | 562 | return NULL; |
1d99702e RD |
563 | if (_argo0) { |
564 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
565 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
566 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_SetSize. Expected _wxToolBarTool_p."); |
567 | return NULL; | |
568 | } | |
569 | } | |
cf694132 RD |
570 | { |
571 | wxPy_BEGIN_ALLOW_THREADS; | |
572 | wxToolBarTool_SetSize(_arg0,_arg1,_arg2); | |
573 | ||
574 | wxPy_END_ALLOW_THREADS; | |
575 | } Py_INCREF(Py_None); | |
9c039d08 RD |
576 | _resultobj = Py_None; |
577 | return _resultobj; | |
578 | } | |
579 | ||
580 | #define wxToolBarTool_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
efc5f224 | 581 | static PyObject *_wrap_wxToolBarTool_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
582 | PyObject * _resultobj; |
583 | long _result; | |
584 | wxToolBarTool * _arg0; | |
1d99702e | 585 | PyObject * _argo0 = 0; |
efc5f224 | 586 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
587 | |
588 | self = self; | |
efc5f224 | 589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_GetWidth",_kwnames,&_argo0)) |
9c039d08 | 590 | return NULL; |
1d99702e RD |
591 | if (_argo0) { |
592 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
593 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_GetWidth. Expected _wxToolBarTool_p."); |
595 | return NULL; | |
596 | } | |
597 | } | |
cf694132 RD |
598 | { |
599 | wxPy_BEGIN_ALLOW_THREADS; | |
600 | _result = (long )wxToolBarTool_GetWidth(_arg0); | |
601 | ||
602 | wxPy_END_ALLOW_THREADS; | |
603 | } _resultobj = Py_BuildValue("l",_result); | |
9c039d08 RD |
604 | return _resultobj; |
605 | } | |
606 | ||
607 | #define wxToolBarTool_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
efc5f224 | 608 | static PyObject *_wrap_wxToolBarTool_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
609 | PyObject * _resultobj; |
610 | long _result; | |
611 | wxToolBarTool * _arg0; | |
1d99702e | 612 | PyObject * _argo0 = 0; |
efc5f224 | 613 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
614 | |
615 | self = self; | |
efc5f224 | 616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_GetHeight",_kwnames,&_argo0)) |
9c039d08 | 617 | return NULL; |
1d99702e RD |
618 | if (_argo0) { |
619 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
620 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
621 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_GetHeight. Expected _wxToolBarTool_p."); |
622 | return NULL; | |
623 | } | |
624 | } | |
cf694132 RD |
625 | { |
626 | wxPy_BEGIN_ALLOW_THREADS; | |
627 | _result = (long )wxToolBarTool_GetHeight(_arg0); | |
628 | ||
629 | wxPy_END_ALLOW_THREADS; | |
630 | } _resultobj = Py_BuildValue("l",_result); | |
9c039d08 RD |
631 | return _resultobj; |
632 | } | |
633 | ||
af309447 | 634 | #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval) |
efc5f224 | 635 | static PyObject *_wrap_wxToolBarTool_m_toolStyle_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
636 | PyObject * _resultobj; |
637 | int _result; | |
638 | wxToolBarTool * _arg0; | |
639 | int _arg1; | |
1d99702e | 640 | PyObject * _argo0 = 0; |
efc5f224 | 641 | char *_kwnames[] = { "self","m_toolStyle", NULL }; |
af309447 RD |
642 | |
643 | self = self; | |
efc5f224 | 644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_toolStyle_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 645 | return NULL; |
1d99702e RD |
646 | if (_argo0) { |
647 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
648 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p."); |
650 | return NULL; | |
651 | } | |
652 | } | |
cf694132 RD |
653 | { |
654 | wxPy_BEGIN_ALLOW_THREADS; | |
655 | _result = (int )wxToolBarTool_m_toolStyle_set(_arg0,_arg1); | |
656 | ||
657 | wxPy_END_ALLOW_THREADS; | |
658 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
659 | return _resultobj; |
660 | } | |
661 | ||
9c039d08 | 662 | #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle) |
efc5f224 | 663 | static PyObject *_wrap_wxToolBarTool_m_toolStyle_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
664 | PyObject * _resultobj; |
665 | int _result; | |
666 | wxToolBarTool * _arg0; | |
1d99702e | 667 | PyObject * _argo0 = 0; |
efc5f224 | 668 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
669 | |
670 | self = self; | |
efc5f224 | 671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_toolStyle_get",_kwnames,&_argo0)) |
9c039d08 | 672 | return NULL; |
1d99702e RD |
673 | if (_argo0) { |
674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p."); |
677 | return NULL; | |
678 | } | |
679 | } | |
cf694132 RD |
680 | { |
681 | wxPy_BEGIN_ALLOW_THREADS; | |
682 | _result = (int )wxToolBarTool_m_toolStyle_get(_arg0); | |
683 | ||
684 | wxPy_END_ALLOW_THREADS; | |
685 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
686 | return _resultobj; |
687 | } | |
688 | ||
af309447 | 689 | #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval) |
efc5f224 | 690 | static PyObject *_wrap_wxToolBarTool_m_clientData_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
691 | PyObject * _resultobj; |
692 | wxObject * _result; | |
693 | wxToolBarTool * _arg0; | |
694 | wxObject * _arg1; | |
1d99702e RD |
695 | PyObject * _argo0 = 0; |
696 | PyObject * _argo1 = 0; | |
efc5f224 | 697 | char *_kwnames[] = { "self","m_clientData", NULL }; |
af309447 RD |
698 | char _ptemp[128]; |
699 | ||
700 | self = self; | |
efc5f224 | 701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_clientData_set",_kwnames,&_argo0,&_argo1)) |
af309447 | 702 | return NULL; |
1d99702e RD |
703 | if (_argo0) { |
704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p."); |
707 | return NULL; | |
708 | } | |
709 | } | |
1d99702e RD |
710 | if (_argo1) { |
711 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
712 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) { | |
af309447 RD |
713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p."); |
714 | return NULL; | |
715 | } | |
716 | } | |
cf694132 RD |
717 | { |
718 | wxPy_BEGIN_ALLOW_THREADS; | |
719 | _result = (wxObject *)wxToolBarTool_m_clientData_set(_arg0,_arg1); | |
720 | ||
721 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
722 | } if (_result) { |
723 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p"); | |
724 | _resultobj = Py_BuildValue("s",_ptemp); | |
725 | } else { | |
726 | Py_INCREF(Py_None); | |
727 | _resultobj = Py_None; | |
728 | } | |
af309447 RD |
729 | return _resultobj; |
730 | } | |
731 | ||
9c039d08 | 732 | #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData) |
efc5f224 | 733 | static PyObject *_wrap_wxToolBarTool_m_clientData_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
734 | PyObject * _resultobj; |
735 | wxObject * _result; | |
736 | wxToolBarTool * _arg0; | |
1d99702e | 737 | PyObject * _argo0 = 0; |
efc5f224 | 738 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
739 | char _ptemp[128]; |
740 | ||
741 | self = self; | |
efc5f224 | 742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_clientData_get",_kwnames,&_argo0)) |
9c039d08 | 743 | return NULL; |
1d99702e RD |
744 | if (_argo0) { |
745 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
746 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p."); |
748 | return NULL; | |
749 | } | |
750 | } | |
cf694132 RD |
751 | { |
752 | wxPy_BEGIN_ALLOW_THREADS; | |
753 | _result = (wxObject *)wxToolBarTool_m_clientData_get(_arg0); | |
754 | ||
755 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
756 | } if (_result) { |
757 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p"); | |
758 | _resultobj = Py_BuildValue("s",_ptemp); | |
759 | } else { | |
760 | Py_INCREF(Py_None); | |
761 | _resultobj = Py_None; | |
762 | } | |
9c039d08 RD |
763 | return _resultobj; |
764 | } | |
765 | ||
af309447 | 766 | #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval) |
efc5f224 | 767 | static PyObject *_wrap_wxToolBarTool_m_index_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
768 | PyObject * _resultobj; |
769 | int _result; | |
770 | wxToolBarTool * _arg0; | |
771 | int _arg1; | |
1d99702e | 772 | PyObject * _argo0 = 0; |
efc5f224 | 773 | char *_kwnames[] = { "self","m_index", NULL }; |
af309447 RD |
774 | |
775 | self = self; | |
efc5f224 | 776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_index_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 777 | return NULL; |
1d99702e RD |
778 | if (_argo0) { |
779 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
780 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p."); |
782 | return NULL; | |
783 | } | |
784 | } | |
cf694132 RD |
785 | { |
786 | wxPy_BEGIN_ALLOW_THREADS; | |
787 | _result = (int )wxToolBarTool_m_index_set(_arg0,_arg1); | |
788 | ||
789 | wxPy_END_ALLOW_THREADS; | |
790 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
791 | return _resultobj; |
792 | } | |
793 | ||
9c039d08 | 794 | #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index) |
efc5f224 | 795 | static PyObject *_wrap_wxToolBarTool_m_index_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
796 | PyObject * _resultobj; |
797 | int _result; | |
798 | wxToolBarTool * _arg0; | |
1d99702e | 799 | PyObject * _argo0 = 0; |
efc5f224 | 800 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
801 | |
802 | self = self; | |
efc5f224 | 803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_index_get",_kwnames,&_argo0)) |
9c039d08 | 804 | return NULL; |
1d99702e RD |
805 | if (_argo0) { |
806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p."); |
809 | return NULL; | |
810 | } | |
811 | } | |
cf694132 RD |
812 | { |
813 | wxPy_BEGIN_ALLOW_THREADS; | |
814 | _result = (int )wxToolBarTool_m_index_get(_arg0); | |
815 | ||
816 | wxPy_END_ALLOW_THREADS; | |
817 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
818 | return _resultobj; |
819 | } | |
820 | ||
af309447 | 821 | #define wxToolBarTool_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval) |
efc5f224 | 822 | static PyObject *_wrap_wxToolBarTool_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
823 | PyObject * _resultobj; |
824 | long _result; | |
825 | wxToolBarTool * _arg0; | |
826 | long _arg1; | |
1d99702e | 827 | PyObject * _argo0 = 0; |
efc5f224 | 828 | char *_kwnames[] = { "self","m_x", NULL }; |
af309447 RD |
829 | |
830 | self = self; | |
efc5f224 | 831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxToolBarTool_m_x_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 832 | return NULL; |
1d99702e RD |
833 | if (_argo0) { |
834 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
835 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
836 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_x_set. Expected _wxToolBarTool_p."); |
837 | return NULL; | |
838 | } | |
839 | } | |
cf694132 RD |
840 | { |
841 | wxPy_BEGIN_ALLOW_THREADS; | |
842 | _result = (long )wxToolBarTool_m_x_set(_arg0,_arg1); | |
843 | ||
844 | wxPy_END_ALLOW_THREADS; | |
845 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
846 | return _resultobj; |
847 | } | |
848 | ||
9c039d08 | 849 | #define wxToolBarTool_m_x_get(_swigobj) ((long ) _swigobj->m_x) |
efc5f224 | 850 | static PyObject *_wrap_wxToolBarTool_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
851 | PyObject * _resultobj; |
852 | long _result; | |
853 | wxToolBarTool * _arg0; | |
1d99702e | 854 | PyObject * _argo0 = 0; |
efc5f224 | 855 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
856 | |
857 | self = self; | |
efc5f224 | 858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_x_get",_kwnames,&_argo0)) |
9c039d08 | 859 | return NULL; |
1d99702e RD |
860 | if (_argo0) { |
861 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
862 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_x_get. Expected _wxToolBarTool_p."); |
864 | return NULL; | |
865 | } | |
866 | } | |
cf694132 RD |
867 | { |
868 | wxPy_BEGIN_ALLOW_THREADS; | |
869 | _result = (long )wxToolBarTool_m_x_get(_arg0); | |
870 | ||
871 | wxPy_END_ALLOW_THREADS; | |
872 | } _resultobj = Py_BuildValue("l",_result); | |
9c039d08 RD |
873 | return _resultobj; |
874 | } | |
875 | ||
af309447 | 876 | #define wxToolBarTool_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval) |
efc5f224 | 877 | static PyObject *_wrap_wxToolBarTool_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
878 | PyObject * _resultobj; |
879 | long _result; | |
880 | wxToolBarTool * _arg0; | |
881 | long _arg1; | |
1d99702e | 882 | PyObject * _argo0 = 0; |
efc5f224 | 883 | char *_kwnames[] = { "self","m_y", NULL }; |
af309447 RD |
884 | |
885 | self = self; | |
efc5f224 | 886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxToolBarTool_m_y_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 887 | return NULL; |
1d99702e RD |
888 | if (_argo0) { |
889 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
890 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
891 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_y_set. Expected _wxToolBarTool_p."); |
892 | return NULL; | |
893 | } | |
894 | } | |
cf694132 RD |
895 | { |
896 | wxPy_BEGIN_ALLOW_THREADS; | |
897 | _result = (long )wxToolBarTool_m_y_set(_arg0,_arg1); | |
898 | ||
899 | wxPy_END_ALLOW_THREADS; | |
900 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
901 | return _resultobj; |
902 | } | |
903 | ||
9c039d08 | 904 | #define wxToolBarTool_m_y_get(_swigobj) ((long ) _swigobj->m_y) |
efc5f224 | 905 | static PyObject *_wrap_wxToolBarTool_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
906 | PyObject * _resultobj; |
907 | long _result; | |
908 | wxToolBarTool * _arg0; | |
1d99702e | 909 | PyObject * _argo0 = 0; |
efc5f224 | 910 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
911 | |
912 | self = self; | |
efc5f224 | 913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_y_get",_kwnames,&_argo0)) |
9c039d08 | 914 | return NULL; |
1d99702e RD |
915 | if (_argo0) { |
916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_y_get. Expected _wxToolBarTool_p."); |
919 | return NULL; | |
920 | } | |
921 | } | |
cf694132 RD |
922 | { |
923 | wxPy_BEGIN_ALLOW_THREADS; | |
924 | _result = (long )wxToolBarTool_m_y_get(_arg0); | |
925 | ||
926 | wxPy_END_ALLOW_THREADS; | |
927 | } _resultobj = Py_BuildValue("l",_result); | |
9c039d08 RD |
928 | return _resultobj; |
929 | } | |
930 | ||
af309447 | 931 | #define wxToolBarTool_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval) |
efc5f224 | 932 | static PyObject *_wrap_wxToolBarTool_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
933 | PyObject * _resultobj; |
934 | long _result; | |
935 | wxToolBarTool * _arg0; | |
936 | long _arg1; | |
1d99702e | 937 | PyObject * _argo0 = 0; |
efc5f224 | 938 | char *_kwnames[] = { "self","m_width", NULL }; |
af309447 RD |
939 | |
940 | self = self; | |
efc5f224 | 941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxToolBarTool_m_width_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 942 | return NULL; |
1d99702e RD |
943 | if (_argo0) { |
944 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
945 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
946 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_width_set. Expected _wxToolBarTool_p."); |
947 | return NULL; | |
948 | } | |
949 | } | |
cf694132 RD |
950 | { |
951 | wxPy_BEGIN_ALLOW_THREADS; | |
952 | _result = (long )wxToolBarTool_m_width_set(_arg0,_arg1); | |
953 | ||
954 | wxPy_END_ALLOW_THREADS; | |
955 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
956 | return _resultobj; |
957 | } | |
958 | ||
9c039d08 | 959 | #define wxToolBarTool_m_width_get(_swigobj) ((long ) _swigobj->m_width) |
efc5f224 | 960 | static PyObject *_wrap_wxToolBarTool_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
961 | PyObject * _resultobj; |
962 | long _result; | |
963 | wxToolBarTool * _arg0; | |
1d99702e | 964 | PyObject * _argo0 = 0; |
efc5f224 | 965 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
966 | |
967 | self = self; | |
efc5f224 | 968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_width_get",_kwnames,&_argo0)) |
9c039d08 | 969 | return NULL; |
1d99702e RD |
970 | if (_argo0) { |
971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_width_get. Expected _wxToolBarTool_p."); |
974 | return NULL; | |
975 | } | |
976 | } | |
cf694132 RD |
977 | { |
978 | wxPy_BEGIN_ALLOW_THREADS; | |
979 | _result = (long )wxToolBarTool_m_width_get(_arg0); | |
980 | ||
981 | wxPy_END_ALLOW_THREADS; | |
982 | } _resultobj = Py_BuildValue("l",_result); | |
9c039d08 RD |
983 | return _resultobj; |
984 | } | |
985 | ||
af309447 | 986 | #define wxToolBarTool_m_height_set(_swigobj,_swigval) (_swigobj->m_height = _swigval,_swigval) |
efc5f224 | 987 | static PyObject *_wrap_wxToolBarTool_m_height_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
988 | PyObject * _resultobj; |
989 | long _result; | |
990 | wxToolBarTool * _arg0; | |
991 | long _arg1; | |
1d99702e | 992 | PyObject * _argo0 = 0; |
efc5f224 | 993 | char *_kwnames[] = { "self","m_height", NULL }; |
af309447 RD |
994 | |
995 | self = self; | |
efc5f224 | 996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxToolBarTool_m_height_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 997 | return NULL; |
1d99702e RD |
998 | if (_argo0) { |
999 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1000 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
1001 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_height_set. Expected _wxToolBarTool_p."); |
1002 | return NULL; | |
1003 | } | |
1004 | } | |
cf694132 RD |
1005 | { |
1006 | wxPy_BEGIN_ALLOW_THREADS; | |
1007 | _result = (long )wxToolBarTool_m_height_set(_arg0,_arg1); | |
1008 | ||
1009 | wxPy_END_ALLOW_THREADS; | |
1010 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
1011 | return _resultobj; |
1012 | } | |
1013 | ||
9c039d08 | 1014 | #define wxToolBarTool_m_height_get(_swigobj) ((long ) _swigobj->m_height) |
efc5f224 | 1015 | static PyObject *_wrap_wxToolBarTool_m_height_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1016 | PyObject * _resultobj; |
1017 | long _result; | |
1018 | wxToolBarTool * _arg0; | |
1d99702e | 1019 | PyObject * _argo0 = 0; |
efc5f224 | 1020 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1021 | |
1022 | self = self; | |
efc5f224 | 1023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_height_get",_kwnames,&_argo0)) |
9c039d08 | 1024 | return NULL; |
1d99702e RD |
1025 | if (_argo0) { |
1026 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1027 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
1028 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_height_get. Expected _wxToolBarTool_p."); |
1029 | return NULL; | |
1030 | } | |
1031 | } | |
cf694132 RD |
1032 | { |
1033 | wxPy_BEGIN_ALLOW_THREADS; | |
1034 | _result = (long )wxToolBarTool_m_height_get(_arg0); | |
1035 | ||
1036 | wxPy_END_ALLOW_THREADS; | |
1037 | } _resultobj = Py_BuildValue("l",_result); | |
9c039d08 RD |
1038 | return _resultobj; |
1039 | } | |
1040 | ||
af309447 | 1041 | #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval) |
efc5f224 | 1042 | static PyObject *_wrap_wxToolBarTool_m_toggleState_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1043 | PyObject * _resultobj; |
1044 | bool _result; | |
1045 | wxToolBarTool * _arg0; | |
1046 | bool _arg1; | |
1d99702e | 1047 | PyObject * _argo0 = 0; |
af309447 | 1048 | int tempbool1; |
efc5f224 | 1049 | char *_kwnames[] = { "self","m_toggleState", NULL }; |
af309447 RD |
1050 | |
1051 | self = self; | |
efc5f224 | 1052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_toggleState_set",_kwnames,&_argo0,&tempbool1)) |
af309447 | 1053 | return NULL; |
1d99702e RD |
1054 | if (_argo0) { |
1055 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1056 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
1057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p."); |
1058 | return NULL; | |
1059 | } | |
1060 | } | |
1061 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
1062 | { |
1063 | wxPy_BEGIN_ALLOW_THREADS; | |
1064 | _result = (bool )wxToolBarTool_m_toggleState_set(_arg0,_arg1); | |
1065 | ||
1066 | wxPy_END_ALLOW_THREADS; | |
1067 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
1068 | return _resultobj; |
1069 | } | |
1070 | ||
9c039d08 | 1071 | #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState) |
efc5f224 | 1072 | static PyObject *_wrap_wxToolBarTool_m_toggleState_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1073 | PyObject * _resultobj; |
1074 | bool _result; | |
1075 | wxToolBarTool * _arg0; | |
1d99702e | 1076 | PyObject * _argo0 = 0; |
efc5f224 | 1077 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1078 | |
1079 | self = self; | |
efc5f224 | 1080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_toggleState_get",_kwnames,&_argo0)) |
9c039d08 | 1081 | return NULL; |
1d99702e RD |
1082 | if (_argo0) { |
1083 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1084 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
1085 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p."); |
1086 | return NULL; | |
1087 | } | |
1088 | } | |
cf694132 RD |
1089 | { |
1090 | wxPy_BEGIN_ALLOW_THREADS; | |
1091 | _result = (bool )wxToolBarTool_m_toggleState_get(_arg0); | |
1092 | ||
1093 | wxPy_END_ALLOW_THREADS; | |
1094 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1095 | return _resultobj; |
1096 | } | |
1097 | ||
af309447 | 1098 | #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval) |
efc5f224 | 1099 | static PyObject *_wrap_wxToolBarTool_m_isToggle_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1100 | PyObject * _resultobj; |
1101 | bool _result; | |
1102 | wxToolBarTool * _arg0; | |
1103 | bool _arg1; | |
1d99702e | 1104 | PyObject * _argo0 = 0; |
af309447 | 1105 | int tempbool1; |
efc5f224 | 1106 | char *_kwnames[] = { "self","m_isToggle", NULL }; |
af309447 RD |
1107 | |
1108 | self = self; | |
efc5f224 | 1109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_isToggle_set",_kwnames,&_argo0,&tempbool1)) |
af309447 | 1110 | return NULL; |
1d99702e RD |
1111 | if (_argo0) { |
1112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
1114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p."); |
1115 | return NULL; | |
1116 | } | |
1117 | } | |
1118 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
1119 | { |
1120 | wxPy_BEGIN_ALLOW_THREADS; | |
1121 | _result = (bool )wxToolBarTool_m_isToggle_set(_arg0,_arg1); | |
1122 | ||
1123 | wxPy_END_ALLOW_THREADS; | |
1124 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
1125 | return _resultobj; |
1126 | } | |
1127 | ||
9c039d08 | 1128 | #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle) |
efc5f224 | 1129 | static PyObject *_wrap_wxToolBarTool_m_isToggle_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1130 | PyObject * _resultobj; |
1131 | bool _result; | |
1132 | wxToolBarTool * _arg0; | |
1d99702e | 1133 | PyObject * _argo0 = 0; |
efc5f224 | 1134 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1135 | |
1136 | self = self; | |
efc5f224 | 1137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_isToggle_get",_kwnames,&_argo0)) |
9c039d08 | 1138 | return NULL; |
1d99702e RD |
1139 | if (_argo0) { |
1140 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1141 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
1142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p."); |
1143 | return NULL; | |
1144 | } | |
1145 | } | |
cf694132 RD |
1146 | { |
1147 | wxPy_BEGIN_ALLOW_THREADS; | |
1148 | _result = (bool )wxToolBarTool_m_isToggle_get(_arg0); | |
1149 | ||
1150 | wxPy_END_ALLOW_THREADS; | |
1151 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1152 | return _resultobj; |
1153 | } | |
1154 | ||
af309447 | 1155 | #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval) |
efc5f224 | 1156 | static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1157 | PyObject * _resultobj; |
1158 | bool _result; | |
1159 | wxToolBarTool * _arg0; | |
1160 | bool _arg1; | |
1d99702e | 1161 | PyObject * _argo0 = 0; |
af309447 | 1162 | int tempbool1; |
efc5f224 | 1163 | char *_kwnames[] = { "self","m_deleteSecondBitmap", NULL }; |
af309447 RD |
1164 | |
1165 | self = self; | |
efc5f224 | 1166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_deleteSecondBitmap_set",_kwnames,&_argo0,&tempbool1)) |
af309447 | 1167 | return NULL; |
1d99702e RD |
1168 | if (_argo0) { |
1169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
1171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p."); |
1172 | return NULL; | |
1173 | } | |
1174 | } | |
1175 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
1176 | { |
1177 | wxPy_BEGIN_ALLOW_THREADS; | |
1178 | _result = (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0,_arg1); | |
1179 | ||
1180 | wxPy_END_ALLOW_THREADS; | |
1181 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
1182 | return _resultobj; |
1183 | } | |
1184 | ||
9c039d08 | 1185 | #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap) |
efc5f224 | 1186 | static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1187 | PyObject * _resultobj; |
1188 | bool _result; | |
1189 | wxToolBarTool * _arg0; | |
1d99702e | 1190 | PyObject * _argo0 = 0; |
efc5f224 | 1191 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1192 | |
1193 | self = self; | |
efc5f224 | 1194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_deleteSecondBitmap_get",_kwnames,&_argo0)) |
9c039d08 | 1195 | return NULL; |
1d99702e RD |
1196 | if (_argo0) { |
1197 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1198 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
1199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p."); |
1200 | return NULL; | |
1201 | } | |
1202 | } | |
cf694132 RD |
1203 | { |
1204 | wxPy_BEGIN_ALLOW_THREADS; | |
1205 | _result = (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0); | |
1206 | ||
1207 | wxPy_END_ALLOW_THREADS; | |
1208 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1209 | return _resultobj; |
1210 | } | |
1211 | ||
af309447 | 1212 | #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval) |
efc5f224 | 1213 | static PyObject *_wrap_wxToolBarTool_m_enabled_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1214 | PyObject * _resultobj; |
1215 | bool _result; | |
1216 | wxToolBarTool * _arg0; | |
1217 | bool _arg1; | |
1d99702e | 1218 | PyObject * _argo0 = 0; |
af309447 | 1219 | int tempbool1; |
efc5f224 | 1220 | char *_kwnames[] = { "self","m_enabled", NULL }; |
af309447 RD |
1221 | |
1222 | self = self; | |
efc5f224 | 1223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_enabled_set",_kwnames,&_argo0,&tempbool1)) |
af309447 | 1224 | return NULL; |
1d99702e RD |
1225 | if (_argo0) { |
1226 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1227 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
1228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p."); |
1229 | return NULL; | |
1230 | } | |
1231 | } | |
1232 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
1233 | { |
1234 | wxPy_BEGIN_ALLOW_THREADS; | |
1235 | _result = (bool )wxToolBarTool_m_enabled_set(_arg0,_arg1); | |
1236 | ||
1237 | wxPy_END_ALLOW_THREADS; | |
1238 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
1239 | return _resultobj; |
1240 | } | |
1241 | ||
9c039d08 | 1242 | #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled) |
efc5f224 | 1243 | static PyObject *_wrap_wxToolBarTool_m_enabled_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1244 | PyObject * _resultobj; |
1245 | bool _result; | |
1246 | wxToolBarTool * _arg0; | |
1d99702e | 1247 | PyObject * _argo0 = 0; |
efc5f224 | 1248 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1249 | |
1250 | self = self; | |
efc5f224 | 1251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_enabled_get",_kwnames,&_argo0)) |
9c039d08 | 1252 | return NULL; |
1d99702e RD |
1253 | if (_argo0) { |
1254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
1256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p."); |
1257 | return NULL; | |
1258 | } | |
1259 | } | |
cf694132 RD |
1260 | { |
1261 | wxPy_BEGIN_ALLOW_THREADS; | |
1262 | _result = (bool )wxToolBarTool_m_enabled_get(_arg0); | |
1263 | ||
1264 | wxPy_END_ALLOW_THREADS; | |
1265 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1266 | return _resultobj; |
1267 | } | |
1268 | ||
af309447 | 1269 | #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval) |
efc5f224 | 1270 | static PyObject *_wrap_wxToolBarTool_m_bitmap1_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1271 | PyObject * _resultobj; |
1272 | wxBitmap * _result; | |
1273 | wxToolBarTool * _arg0; | |
1274 | wxBitmap * _arg1; | |
1d99702e RD |
1275 | PyObject * _argo0 = 0; |
1276 | PyObject * _argo1 = 0; | |
efc5f224 | 1277 | char *_kwnames[] = { "self","m_bitmap1", NULL }; |
af309447 RD |
1278 | char _ptemp[128]; |
1279 | ||
1280 | self = self; | |
efc5f224 | 1281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_bitmap1_set",_kwnames,&_argo0,&_argo1)) |
af309447 | 1282 | return NULL; |
1d99702e RD |
1283 | if (_argo0) { |
1284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
1286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p."); |
1287 | return NULL; | |
1288 | } | |
1289 | } | |
1d99702e RD |
1290 | if (_argo1) { |
1291 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1292 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
af309447 RD |
1293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p."); |
1294 | return NULL; | |
1295 | } | |
1296 | } | |
cf694132 RD |
1297 | { |
1298 | wxPy_BEGIN_ALLOW_THREADS; | |
1299 | _result = (wxBitmap *)wxToolBarTool_m_bitmap1_set(_arg0,_arg1); | |
1300 | ||
1301 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1302 | } if (_result) { |
1303 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
1304 | _resultobj = Py_BuildValue("s",_ptemp); | |
1305 | } else { | |
1306 | Py_INCREF(Py_None); | |
1307 | _resultobj = Py_None; | |
1308 | } | |
af309447 RD |
1309 | return _resultobj; |
1310 | } | |
1311 | ||
9c039d08 | 1312 | #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1) |
efc5f224 | 1313 | static PyObject *_wrap_wxToolBarTool_m_bitmap1_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1314 | PyObject * _resultobj; |
1315 | wxBitmap * _result; | |
1316 | wxToolBarTool * _arg0; | |
1d99702e | 1317 | PyObject * _argo0 = 0; |
efc5f224 | 1318 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1319 | char _ptemp[128]; |
1320 | ||
1321 | self = self; | |
efc5f224 | 1322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_bitmap1_get",_kwnames,&_argo0)) |
9c039d08 | 1323 | return NULL; |
1d99702e RD |
1324 | if (_argo0) { |
1325 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1326 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
1327 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p."); |
1328 | return NULL; | |
1329 | } | |
1330 | } | |
cf694132 RD |
1331 | { |
1332 | wxPy_BEGIN_ALLOW_THREADS; | |
1333 | _result = (wxBitmap *)wxToolBarTool_m_bitmap1_get(_arg0); | |
1334 | ||
1335 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1336 | } if (_result) { |
1337 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
1338 | _resultobj = Py_BuildValue("s",_ptemp); | |
1339 | } else { | |
1340 | Py_INCREF(Py_None); | |
1341 | _resultobj = Py_None; | |
1342 | } | |
9c039d08 RD |
1343 | return _resultobj; |
1344 | } | |
1345 | ||
af309447 | 1346 | #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval) |
efc5f224 | 1347 | static PyObject *_wrap_wxToolBarTool_m_bitmap2_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1348 | PyObject * _resultobj; |
1349 | wxBitmap * _result; | |
1350 | wxToolBarTool * _arg0; | |
1351 | wxBitmap * _arg1; | |
1d99702e RD |
1352 | PyObject * _argo0 = 0; |
1353 | PyObject * _argo1 = 0; | |
efc5f224 | 1354 | char *_kwnames[] = { "self","m_bitmap2", NULL }; |
af309447 RD |
1355 | char _ptemp[128]; |
1356 | ||
1357 | self = self; | |
efc5f224 | 1358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_bitmap2_set",_kwnames,&_argo0,&_argo1)) |
af309447 | 1359 | return NULL; |
1d99702e RD |
1360 | if (_argo0) { |
1361 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1362 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
1363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p."); |
1364 | return NULL; | |
1365 | } | |
1366 | } | |
1d99702e RD |
1367 | if (_argo1) { |
1368 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1369 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
af309447 RD |
1370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p."); |
1371 | return NULL; | |
1372 | } | |
1373 | } | |
cf694132 RD |
1374 | { |
1375 | wxPy_BEGIN_ALLOW_THREADS; | |
1376 | _result = (wxBitmap *)wxToolBarTool_m_bitmap2_set(_arg0,_arg1); | |
1377 | ||
1378 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1379 | } if (_result) { |
1380 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
1381 | _resultobj = Py_BuildValue("s",_ptemp); | |
1382 | } else { | |
1383 | Py_INCREF(Py_None); | |
1384 | _resultobj = Py_None; | |
1385 | } | |
af309447 RD |
1386 | return _resultobj; |
1387 | } | |
1388 | ||
9c039d08 | 1389 | #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2) |
efc5f224 | 1390 | static PyObject *_wrap_wxToolBarTool_m_bitmap2_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1391 | PyObject * _resultobj; |
1392 | wxBitmap * _result; | |
1393 | wxToolBarTool * _arg0; | |
1d99702e | 1394 | PyObject * _argo0 = 0; |
efc5f224 | 1395 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1396 | char _ptemp[128]; |
1397 | ||
1398 | self = self; | |
efc5f224 | 1399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_bitmap2_get",_kwnames,&_argo0)) |
9c039d08 | 1400 | return NULL; |
1d99702e RD |
1401 | if (_argo0) { |
1402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
1404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p."); |
1405 | return NULL; | |
1406 | } | |
1407 | } | |
cf694132 RD |
1408 | { |
1409 | wxPy_BEGIN_ALLOW_THREADS; | |
1410 | _result = (wxBitmap *)wxToolBarTool_m_bitmap2_get(_arg0); | |
1411 | ||
1412 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1413 | } if (_result) { |
1414 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
1415 | _resultobj = Py_BuildValue("s",_ptemp); | |
1416 | } else { | |
1417 | Py_INCREF(Py_None); | |
1418 | _resultobj = Py_None; | |
1419 | } | |
9c039d08 RD |
1420 | return _resultobj; |
1421 | } | |
1422 | ||
af309447 | 1423 | #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval) |
efc5f224 | 1424 | static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1425 | PyObject * _resultobj; |
1426 | bool _result; | |
1427 | wxToolBarTool * _arg0; | |
1428 | bool _arg1; | |
1d99702e | 1429 | PyObject * _argo0 = 0; |
af309447 | 1430 | int tempbool1; |
efc5f224 | 1431 | char *_kwnames[] = { "self","m_isMenuCommand", NULL }; |
af309447 RD |
1432 | |
1433 | self = self; | |
efc5f224 | 1434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarTool_m_isMenuCommand_set",_kwnames,&_argo0,&tempbool1)) |
af309447 | 1435 | return NULL; |
1d99702e RD |
1436 | if (_argo0) { |
1437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
1439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p."); |
1440 | return NULL; | |
1441 | } | |
1442 | } | |
1443 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
1444 | { |
1445 | wxPy_BEGIN_ALLOW_THREADS; | |
1446 | _result = (bool )wxToolBarTool_m_isMenuCommand_set(_arg0,_arg1); | |
1447 | ||
1448 | wxPy_END_ALLOW_THREADS; | |
1449 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
1450 | return _resultobj; |
1451 | } | |
1452 | ||
9c039d08 | 1453 | #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand) |
efc5f224 | 1454 | static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1455 | PyObject * _resultobj; |
1456 | bool _result; | |
1457 | wxToolBarTool * _arg0; | |
1d99702e | 1458 | PyObject * _argo0 = 0; |
efc5f224 | 1459 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1460 | |
1461 | self = self; | |
efc5f224 | 1462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_isMenuCommand_get",_kwnames,&_argo0)) |
9c039d08 | 1463 | return NULL; |
1d99702e RD |
1464 | if (_argo0) { |
1465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
1467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p."); |
1468 | return NULL; | |
1469 | } | |
1470 | } | |
cf694132 RD |
1471 | { |
1472 | wxPy_BEGIN_ALLOW_THREADS; | |
1473 | _result = (bool )wxToolBarTool_m_isMenuCommand_get(_arg0); | |
1474 | ||
1475 | wxPy_END_ALLOW_THREADS; | |
1476 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1477 | return _resultobj; |
1478 | } | |
1479 | ||
af309447 | 1480 | #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval) |
efc5f224 | 1481 | static PyObject *_wrap_wxToolBarTool_m_shortHelpString_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1482 | PyObject * _resultobj; |
1483 | wxString * _result; | |
1484 | wxToolBarTool * _arg0; | |
1485 | wxString * _arg1; | |
1d99702e | 1486 | PyObject * _argo0 = 0; |
af309447 | 1487 | PyObject * _obj1 = 0; |
efc5f224 | 1488 | char *_kwnames[] = { "self","m_shortHelpString", NULL }; |
af309447 RD |
1489 | |
1490 | self = self; | |
efc5f224 | 1491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_shortHelpString_set",_kwnames,&_argo0,&_obj1)) |
af309447 | 1492 | return NULL; |
1d99702e RD |
1493 | if (_argo0) { |
1494 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1495 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
1496 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p."); |
1497 | return NULL; | |
1498 | } | |
1499 | } | |
1500 | { | |
1501 | if (!PyString_Check(_obj1)) { | |
1502 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1503 | return NULL; | |
1504 | } | |
cf694132 | 1505 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
af309447 | 1506 | } |
af309447 | 1507 | { |
cf694132 RD |
1508 | wxPy_BEGIN_ALLOW_THREADS; |
1509 | _result = (wxString *)wxToolBarTool_m_shortHelpString_set(_arg0,_arg1); | |
1510 | ||
1511 | wxPy_END_ALLOW_THREADS; | |
1512 | }{ | |
af309447 RD |
1513 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); |
1514 | } | |
1515 | { | |
1516 | if (_obj1) | |
1517 | delete _arg1; | |
1518 | } | |
1519 | return _resultobj; | |
1520 | } | |
1521 | ||
9c039d08 | 1522 | #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString) |
efc5f224 | 1523 | static PyObject *_wrap_wxToolBarTool_m_shortHelpString_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1524 | PyObject * _resultobj; |
1525 | wxString * _result; | |
1526 | wxToolBarTool * _arg0; | |
1d99702e | 1527 | PyObject * _argo0 = 0; |
efc5f224 | 1528 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1529 | |
1530 | self = self; | |
efc5f224 | 1531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_shortHelpString_get",_kwnames,&_argo0)) |
9c039d08 | 1532 | return NULL; |
1d99702e RD |
1533 | if (_argo0) { |
1534 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1535 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
1536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p."); |
1537 | return NULL; | |
1538 | } | |
1539 | } | |
9c039d08 | 1540 | { |
cf694132 RD |
1541 | wxPy_BEGIN_ALLOW_THREADS; |
1542 | _result = (wxString *)wxToolBarTool_m_shortHelpString_get(_arg0); | |
1543 | ||
1544 | wxPy_END_ALLOW_THREADS; | |
1545 | }{ | |
9c039d08 RD |
1546 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); |
1547 | } | |
1548 | return _resultobj; | |
1549 | } | |
1550 | ||
af309447 | 1551 | #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval) |
efc5f224 | 1552 | static PyObject *_wrap_wxToolBarTool_m_longHelpString_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1553 | PyObject * _resultobj; |
1554 | wxString * _result; | |
1555 | wxToolBarTool * _arg0; | |
1556 | wxString * _arg1; | |
1d99702e | 1557 | PyObject * _argo0 = 0; |
af309447 | 1558 | PyObject * _obj1 = 0; |
efc5f224 | 1559 | char *_kwnames[] = { "self","m_longHelpString", NULL }; |
af309447 RD |
1560 | |
1561 | self = self; | |
efc5f224 | 1562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarTool_m_longHelpString_set",_kwnames,&_argo0,&_obj1)) |
af309447 | 1563 | return NULL; |
1d99702e RD |
1564 | if (_argo0) { |
1565 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1566 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
af309447 RD |
1567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p."); |
1568 | return NULL; | |
1569 | } | |
1570 | } | |
1571 | { | |
1572 | if (!PyString_Check(_obj1)) { | |
1573 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1574 | return NULL; | |
1575 | } | |
cf694132 | 1576 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
af309447 | 1577 | } |
af309447 | 1578 | { |
cf694132 RD |
1579 | wxPy_BEGIN_ALLOW_THREADS; |
1580 | _result = (wxString *)wxToolBarTool_m_longHelpString_set(_arg0,_arg1); | |
1581 | ||
1582 | wxPy_END_ALLOW_THREADS; | |
1583 | }{ | |
af309447 RD |
1584 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); |
1585 | } | |
1586 | { | |
1587 | if (_obj1) | |
1588 | delete _arg1; | |
1589 | } | |
1590 | return _resultobj; | |
1591 | } | |
1592 | ||
9c039d08 | 1593 | #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString) |
efc5f224 | 1594 | static PyObject *_wrap_wxToolBarTool_m_longHelpString_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1595 | PyObject * _resultobj; |
1596 | wxString * _result; | |
1597 | wxToolBarTool * _arg0; | |
1d99702e | 1598 | PyObject * _argo0 = 0; |
efc5f224 | 1599 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1600 | |
1601 | self = self; | |
efc5f224 | 1602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarTool_m_longHelpString_get",_kwnames,&_argo0)) |
9c039d08 | 1603 | return NULL; |
1d99702e RD |
1604 | if (_argo0) { |
1605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
9c039d08 RD |
1607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p."); |
1608 | return NULL; | |
1609 | } | |
1610 | } | |
9c039d08 | 1611 | { |
cf694132 RD |
1612 | wxPy_BEGIN_ALLOW_THREADS; |
1613 | _result = (wxString *)wxToolBarTool_m_longHelpString_get(_arg0); | |
1614 | ||
1615 | wxPy_END_ALLOW_THREADS; | |
1616 | }{ | |
9c039d08 RD |
1617 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); |
1618 | } | |
1619 | return _resultobj; | |
1620 | } | |
1621 | ||
d5c9047a RD |
1622 | static void *SwigwxToolBarTowxControl(void *ptr) { |
1623 | wxToolBar *src; | |
9c039d08 | 1624 | wxControl *dest; |
d5c9047a | 1625 | src = (wxToolBar *) ptr; |
9c039d08 RD |
1626 | dest = (wxControl *) src; |
1627 | return (void *) dest; | |
1628 | } | |
1629 | ||
d5c9047a RD |
1630 | static void *SwigwxToolBarTowxWindow(void *ptr) { |
1631 | wxToolBar *src; | |
9c039d08 | 1632 | wxWindow *dest; |
d5c9047a | 1633 | src = (wxToolBar *) ptr; |
9c039d08 RD |
1634 | dest = (wxWindow *) src; |
1635 | return (void *) dest; | |
1636 | } | |
1637 | ||
d5c9047a RD |
1638 | static void *SwigwxToolBarTowxEvtHandler(void *ptr) { |
1639 | wxToolBar *src; | |
9c039d08 | 1640 | wxEvtHandler *dest; |
d5c9047a | 1641 | src = (wxToolBar *) ptr; |
9c039d08 RD |
1642 | dest = (wxEvtHandler *) src; |
1643 | return (void *) dest; | |
1644 | } | |
1645 | ||
d5c9047a | 1646 | #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
efc5f224 | 1647 | static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
1648 | PyObject * _resultobj; |
1649 | wxToolBar * _result; | |
1650 | wxWindow * _arg0; | |
1651 | wxWindowID _arg1; | |
1d99702e RD |
1652 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; |
1653 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
1654 | long _arg4 = (long ) wxTB_HORIZONTAL|wxNO_BORDER; | |
1655 | char * _arg5 = (char *) "toolBar"; | |
1656 | PyObject * _argo0 = 0; | |
2f90df85 RD |
1657 | wxPoint temp; |
1658 | PyObject * _obj2 = 0; | |
1659 | wxSize temp0; | |
1660 | PyObject * _obj3 = 0; | |
efc5f224 | 1661 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
d5c9047a RD |
1662 | char _ptemp[128]; |
1663 | ||
1664 | self = self; | |
2f90df85 | 1665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxToolBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
d5c9047a | 1666 | return NULL; |
1d99702e RD |
1667 | if (_argo0) { |
1668 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1669 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
d5c9047a RD |
1670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p."); |
1671 | return NULL; | |
1672 | } | |
1673 | } | |
2f90df85 RD |
1674 | if (_obj2) |
1675 | { | |
1676 | _arg2 = &temp; | |
1677 | if (! wxPoint_helper(_obj2, &_arg2)) | |
d5c9047a | 1678 | return NULL; |
2f90df85 RD |
1679 | } |
1680 | if (_obj3) | |
1681 | { | |
1682 | _arg3 = &temp0; | |
1683 | if (! wxSize_helper(_obj3, &_arg3)) | |
d5c9047a | 1684 | return NULL; |
2f90df85 | 1685 | } |
cf694132 RD |
1686 | { |
1687 | wxPy_BEGIN_ALLOW_THREADS; | |
1688 | _result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
1689 | ||
1690 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1691 | } if (_result) { |
1692 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p"); | |
1693 | _resultobj = Py_BuildValue("s",_ptemp); | |
1694 | } else { | |
1695 | Py_INCREF(Py_None); | |
1696 | _resultobj = Py_None; | |
1697 | } | |
d5c9047a RD |
1698 | return _resultobj; |
1699 | } | |
1700 | ||
1701 | #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator()) | |
efc5f224 | 1702 | static PyObject *_wrap_wxToolBar_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 | 1703 | PyObject * _resultobj; |
d5c9047a | 1704 | wxToolBar * _arg0; |
1d99702e | 1705 | PyObject * _argo0 = 0; |
efc5f224 | 1706 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1707 | |
1708 | self = self; | |
efc5f224 | 1709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_AddSeparator",_kwnames,&_argo0)) |
9c039d08 | 1710 | return NULL; |
1d99702e RD |
1711 | if (_argo0) { |
1712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 1714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p."); |
9c039d08 RD |
1715 | return NULL; |
1716 | } | |
1717 | } | |
cf694132 RD |
1718 | { |
1719 | wxPy_BEGIN_ALLOW_THREADS; | |
1720 | wxToolBar_AddSeparator(_arg0); | |
1721 | ||
1722 | wxPy_END_ALLOW_THREADS; | |
1723 | } Py_INCREF(Py_None); | |
9c039d08 RD |
1724 | _resultobj = Py_None; |
1725 | return _resultobj; | |
1726 | } | |
1727 | ||
d5c9047a | 1728 | static wxToolBarTool * wxToolBar_AddTool(wxToolBar *self,int toolIndex,const wxBitmap & bitmap1,const wxBitmap & bitmap2,int isToggle,long xPos,long yPos,const wxString & shortHelpString,const wxString & longHelpString) { |
9c039d08 RD |
1729 | return self->AddTool(toolIndex, bitmap1, bitmap2, |
1730 | isToggle, xPos, yPos, NULL, | |
1731 | shortHelpString, longHelpString); | |
1732 | } | |
efc5f224 | 1733 | static PyObject *_wrap_wxToolBar_AddTool(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1734 | PyObject * _resultobj; |
1735 | wxToolBarTool * _result; | |
d5c9047a | 1736 | wxToolBar * _arg0; |
9c039d08 RD |
1737 | int _arg1; |
1738 | wxBitmap * _arg2; | |
1d99702e RD |
1739 | wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap; |
1740 | int _arg4 = (int ) FALSE; | |
1741 | long _arg5 = (long ) -1; | |
1742 | long _arg6 = (long ) -1; | |
1743 | wxString * _arg7 = (wxString *) &wxPyEmptyStr; | |
1744 | wxString * _arg8 = (wxString *) &wxPyEmptyStr; | |
1745 | PyObject * _argo0 = 0; | |
1746 | PyObject * _argo2 = 0; | |
1747 | PyObject * _argo3 = 0; | |
9c039d08 RD |
1748 | PyObject * _obj7 = 0; |
1749 | PyObject * _obj8 = 0; | |
efc5f224 | 1750 | char *_kwnames[] = { "self","toolIndex","bitmap1","bitmap2","isToggle","xPos","yPos","shortHelpString","longHelpString", NULL }; |
9c039d08 RD |
1751 | char _ptemp[128]; |
1752 | ||
1753 | self = self; | |
efc5f224 | 1754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OillOO:wxToolBar_AddTool",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_arg5,&_arg6,&_obj7,&_obj8)) |
9c039d08 | 1755 | return NULL; |
1d99702e RD |
1756 | if (_argo0) { |
1757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 1759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p."); |
9c039d08 RD |
1760 | return NULL; |
1761 | } | |
1762 | } | |
1d99702e RD |
1763 | if (_argo2) { |
1764 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1765 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) { | |
d5c9047a | 1766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p."); |
9c039d08 RD |
1767 | return NULL; |
1768 | } | |
1769 | } | |
1d99702e RD |
1770 | if (_argo3) { |
1771 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1772 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) { | |
d5c9047a | 1773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p."); |
9c039d08 RD |
1774 | return NULL; |
1775 | } | |
1776 | } | |
1777 | if (_obj7) | |
1778 | { | |
1779 | if (!PyString_Check(_obj7)) { | |
1780 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1781 | return NULL; | |
1782 | } | |
cf694132 | 1783 | _arg7 = new wxString(PyString_AsString(_obj7), PyString_Size(_obj7)); |
9c039d08 RD |
1784 | } |
1785 | if (_obj8) | |
1786 | { | |
1787 | if (!PyString_Check(_obj8)) { | |
1788 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1789 | return NULL; | |
1790 | } | |
cf694132 | 1791 | _arg8 = new wxString(PyString_AsString(_obj8), PyString_Size(_obj8)); |
9c039d08 | 1792 | } |
cf694132 RD |
1793 | { |
1794 | wxPy_BEGIN_ALLOW_THREADS; | |
1795 | _result = (wxToolBarTool *)wxToolBar_AddTool(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8); | |
1796 | ||
1797 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1798 | } if (_result) { |
1799 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p"); | |
1800 | _resultobj = Py_BuildValue("s",_ptemp); | |
1801 | } else { | |
1802 | Py_INCREF(Py_None); | |
1803 | _resultobj = Py_None; | |
1804 | } | |
9c039d08 RD |
1805 | { |
1806 | if (_obj7) | |
1807 | delete _arg7; | |
1808 | } | |
1809 | { | |
1810 | if (_obj8) | |
1811 | delete _arg8; | |
1812 | } | |
1813 | return _resultobj; | |
1814 | } | |
1815 | ||
08127323 RD |
1816 | static wxToolBarTool * wxToolBar_AddSimpleTool(wxToolBar *self,int toolIndex,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString) { |
1817 | return self->AddTool(toolIndex, bitmap, wxNullBitmap, | |
1818 | FALSE, -1, -1, NULL, | |
1819 | shortHelpString, longHelpString); | |
1820 | } | |
efc5f224 | 1821 | static PyObject *_wrap_wxToolBar_AddSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
1822 | PyObject * _resultobj; |
1823 | wxToolBarTool * _result; | |
1824 | wxToolBar * _arg0; | |
1825 | int _arg1; | |
1826 | wxBitmap * _arg2; | |
1d99702e RD |
1827 | wxString * _arg3 = (wxString *) &wxPyEmptyStr; |
1828 | wxString * _arg4 = (wxString *) &wxPyEmptyStr; | |
1829 | PyObject * _argo0 = 0; | |
1830 | PyObject * _argo2 = 0; | |
08127323 RD |
1831 | PyObject * _obj3 = 0; |
1832 | PyObject * _obj4 = 0; | |
efc5f224 | 1833 | char *_kwnames[] = { "self","toolIndex","bitmap","shortHelpString","longHelpString", NULL }; |
08127323 RD |
1834 | char _ptemp[128]; |
1835 | ||
1836 | self = self; | |
efc5f224 | 1837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OO:wxToolBar_AddSimpleTool",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4)) |
08127323 | 1838 | return NULL; |
1d99702e RD |
1839 | if (_argo0) { |
1840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
08127323 RD |
1842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p."); |
1843 | return NULL; | |
1844 | } | |
1845 | } | |
1d99702e RD |
1846 | if (_argo2) { |
1847 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1848 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) { | |
08127323 RD |
1849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p."); |
1850 | return NULL; | |
1851 | } | |
1852 | } | |
1853 | if (_obj3) | |
1854 | { | |
1855 | if (!PyString_Check(_obj3)) { | |
1856 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1857 | return NULL; | |
1858 | } | |
cf694132 | 1859 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); |
08127323 RD |
1860 | } |
1861 | if (_obj4) | |
1862 | { | |
1863 | if (!PyString_Check(_obj4)) { | |
1864 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1865 | return NULL; | |
1866 | } | |
cf694132 | 1867 | _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4)); |
08127323 | 1868 | } |
cf694132 RD |
1869 | { |
1870 | wxPy_BEGIN_ALLOW_THREADS; | |
1871 | _result = (wxToolBarTool *)wxToolBar_AddSimpleTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4); | |
1872 | ||
1873 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1874 | } if (_result) { |
1875 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p"); | |
1876 | _resultobj = Py_BuildValue("s",_ptemp); | |
1877 | } else { | |
1878 | Py_INCREF(Py_None); | |
1879 | _resultobj = Py_None; | |
1880 | } | |
08127323 RD |
1881 | { |
1882 | if (_obj3) | |
1883 | delete _arg3; | |
1884 | } | |
1885 | { | |
1886 | if (_obj4) | |
1887 | delete _arg4; | |
1888 | } | |
1889 | return _resultobj; | |
1890 | } | |
1891 | ||
d5c9047a | 1892 | #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1)) |
efc5f224 | 1893 | static PyObject *_wrap_wxToolBar_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 | 1894 | PyObject * _resultobj; |
d5c9047a | 1895 | wxToolBar * _arg0; |
9c039d08 RD |
1896 | int _arg1; |
1897 | bool _arg2; | |
1d99702e | 1898 | PyObject * _argo0 = 0; |
9c039d08 | 1899 | int tempbool2; |
efc5f224 | 1900 | char *_kwnames[] = { "self","toolIndex","enable", NULL }; |
9c039d08 RD |
1901 | |
1902 | self = self; | |
efc5f224 | 1903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBar_EnableTool",_kwnames,&_argo0,&_arg1,&tempbool2)) |
9c039d08 | 1904 | return NULL; |
1d99702e RD |
1905 | if (_argo0) { |
1906 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1907 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 1908 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p."); |
9c039d08 RD |
1909 | return NULL; |
1910 | } | |
1911 | } | |
1912 | _arg2 = (bool ) tempbool2; | |
cf694132 RD |
1913 | { |
1914 | wxPy_BEGIN_ALLOW_THREADS; | |
1915 | wxToolBar_EnableTool(_arg0,_arg1,_arg2); | |
1916 | ||
1917 | wxPy_END_ALLOW_THREADS; | |
1918 | } Py_INCREF(Py_None); | |
9c039d08 RD |
1919 | _resultobj = Py_None; |
1920 | return _resultobj; | |
1921 | } | |
1922 | ||
d5c9047a | 1923 | #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1)) |
efc5f224 | 1924 | static PyObject *_wrap_wxToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1925 | PyObject * _resultobj; |
1926 | wxToolBarTool * _result; | |
d5c9047a | 1927 | wxToolBar * _arg0; |
9c039d08 RD |
1928 | float _arg1; |
1929 | float _arg2; | |
1d99702e | 1930 | PyObject * _argo0 = 0; |
efc5f224 | 1931 | char *_kwnames[] = { "self","x","y", NULL }; |
9c039d08 RD |
1932 | char _ptemp[128]; |
1933 | ||
1934 | self = self; | |
efc5f224 | 1935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Off:wxToolBar_FindToolForPosition",_kwnames,&_argo0,&_arg1,&_arg2)) |
9c039d08 | 1936 | return NULL; |
1d99702e RD |
1937 | if (_argo0) { |
1938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 1940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p."); |
9c039d08 RD |
1941 | return NULL; |
1942 | } | |
1943 | } | |
cf694132 RD |
1944 | { |
1945 | wxPy_BEGIN_ALLOW_THREADS; | |
1946 | _result = (wxToolBarTool *)wxToolBar_FindToolForPosition(_arg0,_arg1,_arg2); | |
1947 | ||
1948 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1949 | } if (_result) { |
1950 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p"); | |
1951 | _resultobj = Py_BuildValue("s",_ptemp); | |
1952 | } else { | |
1953 | Py_INCREF(Py_None); | |
1954 | _resultobj = Py_None; | |
1955 | } | |
9c039d08 RD |
1956 | return _resultobj; |
1957 | } | |
1958 | ||
d5c9047a | 1959 | #define wxToolBar_GetToolSize(_swigobj) (_swigobj->GetToolSize()) |
efc5f224 | 1960 | static PyObject *_wrap_wxToolBar_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1961 | PyObject * _resultobj; |
1962 | wxSize * _result; | |
d5c9047a | 1963 | wxToolBar * _arg0; |
1d99702e | 1964 | PyObject * _argo0 = 0; |
efc5f224 | 1965 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1966 | char _ptemp[128]; |
1967 | ||
1968 | self = self; | |
efc5f224 | 1969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolSize",_kwnames,&_argo0)) |
9c039d08 | 1970 | return NULL; |
1d99702e RD |
1971 | if (_argo0) { |
1972 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1973 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 1974 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolSize. Expected _wxToolBar_p."); |
9c039d08 RD |
1975 | return NULL; |
1976 | } | |
1977 | } | |
cf694132 RD |
1978 | { |
1979 | wxPy_BEGIN_ALLOW_THREADS; | |
1980 | _result = new wxSize (wxToolBar_GetToolSize(_arg0)); | |
1981 | ||
1982 | wxPy_END_ALLOW_THREADS; | |
1983 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
9c039d08 RD |
1984 | _resultobj = Py_BuildValue("s",_ptemp); |
1985 | return _resultobj; | |
1986 | } | |
1987 | ||
d5c9047a | 1988 | #define wxToolBar_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize()) |
efc5f224 | 1989 | static PyObject *_wrap_wxToolBar_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
1990 | PyObject * _resultobj; |
1991 | wxSize * _result; | |
d5c9047a | 1992 | wxToolBar * _arg0; |
1d99702e | 1993 | PyObject * _argo0 = 0; |
efc5f224 | 1994 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1995 | char _ptemp[128]; |
1996 | ||
1997 | self = self; | |
efc5f224 | 1998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolBitmapSize",_kwnames,&_argo0)) |
9c039d08 | 1999 | return NULL; |
1d99702e RD |
2000 | if (_argo0) { |
2001 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2002 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolBitmapSize. Expected _wxToolBar_p."); |
9c039d08 RD |
2004 | return NULL; |
2005 | } | |
2006 | } | |
cf694132 RD |
2007 | { |
2008 | wxPy_BEGIN_ALLOW_THREADS; | |
2009 | _result = new wxSize (wxToolBar_GetToolBitmapSize(_arg0)); | |
2010 | ||
2011 | wxPy_END_ALLOW_THREADS; | |
2012 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
9c039d08 RD |
2013 | _resultobj = Py_BuildValue("s",_ptemp); |
2014 | return _resultobj; | |
2015 | } | |
2016 | ||
be4d9c1f | 2017 | #define wxToolBar_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0)) |
efc5f224 | 2018 | static PyObject *_wrap_wxToolBar_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
be4d9c1f RD |
2019 | PyObject * _resultobj; |
2020 | wxToolBar * _arg0; | |
2021 | wxSize * _arg1; | |
1d99702e | 2022 | PyObject * _argo0 = 0; |
2f90df85 RD |
2023 | wxSize temp; |
2024 | PyObject * _obj1 = 0; | |
efc5f224 | 2025 | char *_kwnames[] = { "self","size", NULL }; |
be4d9c1f RD |
2026 | |
2027 | self = self; | |
2f90df85 | 2028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBar_SetToolBitmapSize",_kwnames,&_argo0,&_obj1)) |
be4d9c1f | 2029 | return NULL; |
1d99702e RD |
2030 | if (_argo0) { |
2031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
be4d9c1f RD |
2033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolBitmapSize. Expected _wxToolBar_p."); |
2034 | return NULL; | |
2035 | } | |
2036 | } | |
2f90df85 RD |
2037 | { |
2038 | _arg1 = &temp; | |
2039 | if (! wxSize_helper(_obj1, &_arg1)) | |
be4d9c1f | 2040 | return NULL; |
2f90df85 | 2041 | } |
cf694132 RD |
2042 | { |
2043 | wxPy_BEGIN_ALLOW_THREADS; | |
2044 | wxToolBar_SetToolBitmapSize(_arg0,*_arg1); | |
2045 | ||
2046 | wxPy_END_ALLOW_THREADS; | |
2047 | } Py_INCREF(Py_None); | |
be4d9c1f RD |
2048 | _resultobj = Py_None; |
2049 | return _resultobj; | |
2050 | } | |
2051 | ||
d5c9047a | 2052 | #define wxToolBar_GetMaxSize(_swigobj) (_swigobj->GetMaxSize()) |
efc5f224 | 2053 | static PyObject *_wrap_wxToolBar_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
2054 | PyObject * _resultobj; |
2055 | wxSize * _result; | |
d5c9047a | 2056 | wxToolBar * _arg0; |
1d99702e | 2057 | PyObject * _argo0 = 0; |
efc5f224 | 2058 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
2059 | char _ptemp[128]; |
2060 | ||
2061 | self = self; | |
efc5f224 | 2062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetMaxSize",_kwnames,&_argo0)) |
9c039d08 | 2063 | return NULL; |
1d99702e RD |
2064 | if (_argo0) { |
2065 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2066 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetMaxSize. Expected _wxToolBar_p."); |
9c039d08 RD |
2068 | return NULL; |
2069 | } | |
2070 | } | |
cf694132 RD |
2071 | { |
2072 | wxPy_BEGIN_ALLOW_THREADS; | |
2073 | _result = new wxSize (wxToolBar_GetMaxSize(_arg0)); | |
2074 | ||
2075 | wxPy_END_ALLOW_THREADS; | |
2076 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
9c039d08 RD |
2077 | _resultobj = Py_BuildValue("s",_ptemp); |
2078 | return _resultobj; | |
2079 | } | |
2080 | ||
d5c9047a | 2081 | #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0)) |
efc5f224 | 2082 | static PyObject *_wrap_wxToolBar_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
2083 | PyObject * _resultobj; |
2084 | bool _result; | |
d5c9047a | 2085 | wxToolBar * _arg0; |
9c039d08 | 2086 | int _arg1; |
1d99702e | 2087 | PyObject * _argo0 = 0; |
efc5f224 | 2088 | char *_kwnames[] = { "self","toolIndex", NULL }; |
9c039d08 RD |
2089 | |
2090 | self = self; | |
efc5f224 | 2091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolEnabled",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 2092 | return NULL; |
1d99702e RD |
2093 | if (_argo0) { |
2094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p."); |
9c039d08 RD |
2097 | return NULL; |
2098 | } | |
2099 | } | |
cf694132 RD |
2100 | { |
2101 | wxPy_BEGIN_ALLOW_THREADS; | |
2102 | _result = (bool )wxToolBar_GetToolEnabled(_arg0,_arg1); | |
2103 | ||
2104 | wxPy_END_ALLOW_THREADS; | |
2105 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
2106 | return _resultobj; |
2107 | } | |
2108 | ||
d5c9047a | 2109 | #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0)) |
efc5f224 | 2110 | static PyObject *_wrap_wxToolBar_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
2111 | PyObject * _resultobj; |
2112 | wxString * _result; | |
d5c9047a | 2113 | wxToolBar * _arg0; |
9c039d08 | 2114 | int _arg1; |
1d99702e | 2115 | PyObject * _argo0 = 0; |
efc5f224 | 2116 | char *_kwnames[] = { "self","toolIndex", NULL }; |
9c039d08 RD |
2117 | |
2118 | self = self; | |
efc5f224 | 2119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolLongHelp",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 2120 | return NULL; |
1d99702e RD |
2121 | if (_argo0) { |
2122 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2123 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p."); |
9c039d08 RD |
2125 | return NULL; |
2126 | } | |
2127 | } | |
9c039d08 | 2128 | { |
cf694132 RD |
2129 | wxPy_BEGIN_ALLOW_THREADS; |
2130 | _result = new wxString (wxToolBar_GetToolLongHelp(_arg0,_arg1)); | |
2131 | ||
2132 | wxPy_END_ALLOW_THREADS; | |
2133 | }{ | |
9c039d08 RD |
2134 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
2135 | } | |
2136 | { | |
2137 | delete _result; | |
2138 | } | |
2139 | return _resultobj; | |
2140 | } | |
2141 | ||
d5c9047a | 2142 | #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking()) |
efc5f224 | 2143 | static PyObject *_wrap_wxToolBar_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
2144 | PyObject * _resultobj; |
2145 | int _result; | |
d5c9047a | 2146 | wxToolBar * _arg0; |
1d99702e | 2147 | PyObject * _argo0 = 0; |
efc5f224 | 2148 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
2149 | |
2150 | self = self; | |
efc5f224 | 2151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolPacking",_kwnames,&_argo0)) |
9c039d08 | 2152 | return NULL; |
1d99702e RD |
2153 | if (_argo0) { |
2154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p."); |
9c039d08 RD |
2157 | return NULL; |
2158 | } | |
2159 | } | |
cf694132 RD |
2160 | { |
2161 | wxPy_BEGIN_ALLOW_THREADS; | |
2162 | _result = (int )wxToolBar_GetToolPacking(_arg0); | |
2163 | ||
2164 | wxPy_END_ALLOW_THREADS; | |
2165 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
2166 | return _resultobj; |
2167 | } | |
2168 | ||
d5c9047a | 2169 | #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation()) |
efc5f224 | 2170 | static PyObject *_wrap_wxToolBar_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
2171 | PyObject * _resultobj; |
2172 | int _result; | |
d5c9047a | 2173 | wxToolBar * _arg0; |
1d99702e | 2174 | PyObject * _argo0 = 0; |
efc5f224 | 2175 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
2176 | |
2177 | self = self; | |
efc5f224 | 2178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_GetToolSeparation",_kwnames,&_argo0)) |
9c039d08 | 2179 | return NULL; |
1d99702e RD |
2180 | if (_argo0) { |
2181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p."); |
9c039d08 RD |
2184 | return NULL; |
2185 | } | |
2186 | } | |
cf694132 RD |
2187 | { |
2188 | wxPy_BEGIN_ALLOW_THREADS; | |
2189 | _result = (int )wxToolBar_GetToolSeparation(_arg0); | |
2190 | ||
2191 | wxPy_END_ALLOW_THREADS; | |
2192 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
2193 | return _resultobj; |
2194 | } | |
2195 | ||
d5c9047a | 2196 | #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0)) |
efc5f224 | 2197 | static PyObject *_wrap_wxToolBar_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
2198 | PyObject * _resultobj; |
2199 | wxString * _result; | |
d5c9047a | 2200 | wxToolBar * _arg0; |
9c039d08 | 2201 | int _arg1; |
1d99702e | 2202 | PyObject * _argo0 = 0; |
efc5f224 | 2203 | char *_kwnames[] = { "self","toolIndex", NULL }; |
9c039d08 RD |
2204 | |
2205 | self = self; | |
efc5f224 | 2206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolShortHelp",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 2207 | return NULL; |
1d99702e RD |
2208 | if (_argo0) { |
2209 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2210 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p."); |
9c039d08 RD |
2212 | return NULL; |
2213 | } | |
2214 | } | |
9c039d08 | 2215 | { |
cf694132 RD |
2216 | wxPy_BEGIN_ALLOW_THREADS; |
2217 | _result = new wxString (wxToolBar_GetToolShortHelp(_arg0,_arg1)); | |
2218 | ||
2219 | wxPy_END_ALLOW_THREADS; | |
2220 | }{ | |
9c039d08 RD |
2221 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
2222 | } | |
2223 | { | |
2224 | delete _result; | |
2225 | } | |
2226 | return _resultobj; | |
2227 | } | |
2228 | ||
d5c9047a | 2229 | #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0)) |
efc5f224 | 2230 | static PyObject *_wrap_wxToolBar_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
2231 | PyObject * _resultobj; |
2232 | bool _result; | |
d5c9047a | 2233 | wxToolBar * _arg0; |
9c039d08 | 2234 | int _arg1; |
1d99702e | 2235 | PyObject * _argo0 = 0; |
efc5f224 | 2236 | char *_kwnames[] = { "self","toolIndex", NULL }; |
9c039d08 RD |
2237 | |
2238 | self = self; | |
efc5f224 | 2239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_GetToolState",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 2240 | return NULL; |
1d99702e RD |
2241 | if (_argo0) { |
2242 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2243 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p."); |
9c039d08 RD |
2245 | return NULL; |
2246 | } | |
2247 | } | |
cf694132 RD |
2248 | { |
2249 | wxPy_BEGIN_ALLOW_THREADS; | |
2250 | _result = (bool )wxToolBar_GetToolState(_arg0,_arg1); | |
2251 | ||
2252 | wxPy_END_ALLOW_THREADS; | |
2253 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
2254 | return _resultobj; |
2255 | } | |
2256 | ||
d5c9047a | 2257 | #define wxToolBar_Realize(_swigobj) (_swigobj->Realize()) |
efc5f224 | 2258 | static PyObject *_wrap_wxToolBar_Realize(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
2259 | PyObject * _resultobj; |
2260 | bool _result; | |
d5c9047a | 2261 | wxToolBar * _arg0; |
1d99702e | 2262 | PyObject * _argo0 = 0; |
efc5f224 | 2263 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
2264 | |
2265 | self = self; | |
efc5f224 | 2266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBar_Realize",_kwnames,&_argo0)) |
9c039d08 | 2267 | return NULL; |
1d99702e RD |
2268 | if (_argo0) { |
2269 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2270 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p."); |
9c039d08 RD |
2272 | return NULL; |
2273 | } | |
2274 | } | |
cf694132 RD |
2275 | { |
2276 | wxPy_BEGIN_ALLOW_THREADS; | |
2277 | _result = (bool )wxToolBar_Realize(_arg0); | |
2278 | ||
2279 | wxPy_END_ALLOW_THREADS; | |
2280 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
2281 | return _resultobj; |
2282 | } | |
2283 | ||
d5c9047a | 2284 | #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1)) |
efc5f224 | 2285 | static PyObject *_wrap_wxToolBar_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 | 2286 | PyObject * _resultobj; |
d5c9047a | 2287 | wxToolBar * _arg0; |
9c039d08 RD |
2288 | int _arg1; |
2289 | wxString * _arg2; | |
1d99702e | 2290 | PyObject * _argo0 = 0; |
9c039d08 | 2291 | PyObject * _obj2 = 0; |
efc5f224 | 2292 | char *_kwnames[] = { "self","toolIndex","helpString", NULL }; |
9c039d08 RD |
2293 | |
2294 | self = self; | |
efc5f224 | 2295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBar_SetToolLongHelp",_kwnames,&_argo0,&_arg1,&_obj2)) |
9c039d08 | 2296 | return NULL; |
1d99702e RD |
2297 | if (_argo0) { |
2298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p."); |
9c039d08 RD |
2301 | return NULL; |
2302 | } | |
2303 | } | |
2304 | { | |
2305 | if (!PyString_Check(_obj2)) { | |
2306 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2307 | return NULL; | |
2308 | } | |
cf694132 | 2309 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
9c039d08 | 2310 | } |
cf694132 RD |
2311 | { |
2312 | wxPy_BEGIN_ALLOW_THREADS; | |
2313 | wxToolBar_SetToolLongHelp(_arg0,_arg1,*_arg2); | |
2314 | ||
2315 | wxPy_END_ALLOW_THREADS; | |
2316 | } Py_INCREF(Py_None); | |
9c039d08 RD |
2317 | _resultobj = Py_None; |
2318 | { | |
2319 | if (_obj2) | |
2320 | delete _arg2; | |
2321 | } | |
2322 | return _resultobj; | |
2323 | } | |
2324 | ||
d5c9047a | 2325 | #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1)) |
efc5f224 | 2326 | static PyObject *_wrap_wxToolBar_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 | 2327 | PyObject * _resultobj; |
d5c9047a | 2328 | wxToolBar * _arg0; |
9c039d08 RD |
2329 | int _arg1; |
2330 | wxString * _arg2; | |
1d99702e | 2331 | PyObject * _argo0 = 0; |
9c039d08 | 2332 | PyObject * _obj2 = 0; |
efc5f224 | 2333 | char *_kwnames[] = { "self","toolIndex","helpString", NULL }; |
9c039d08 RD |
2334 | |
2335 | self = self; | |
efc5f224 | 2336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBar_SetToolShortHelp",_kwnames,&_argo0,&_arg1,&_obj2)) |
9c039d08 | 2337 | return NULL; |
1d99702e RD |
2338 | if (_argo0) { |
2339 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2340 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p."); |
9c039d08 RD |
2342 | return NULL; |
2343 | } | |
2344 | } | |
2345 | { | |
2346 | if (!PyString_Check(_obj2)) { | |
2347 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2348 | return NULL; | |
2349 | } | |
cf694132 | 2350 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
9c039d08 | 2351 | } |
cf694132 RD |
2352 | { |
2353 | wxPy_BEGIN_ALLOW_THREADS; | |
2354 | wxToolBar_SetToolShortHelp(_arg0,_arg1,*_arg2); | |
2355 | ||
2356 | wxPy_END_ALLOW_THREADS; | |
2357 | } Py_INCREF(Py_None); | |
9c039d08 RD |
2358 | _resultobj = Py_None; |
2359 | { | |
2360 | if (_obj2) | |
2361 | delete _arg2; | |
2362 | } | |
2363 | return _resultobj; | |
2364 | } | |
2365 | ||
d5c9047a | 2366 | #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0)) |
efc5f224 | 2367 | static PyObject *_wrap_wxToolBar_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 | 2368 | PyObject * _resultobj; |
d5c9047a RD |
2369 | wxToolBar * _arg0; |
2370 | wxSize * _arg1; | |
1d99702e | 2371 | PyObject * _argo0 = 0; |
2f90df85 RD |
2372 | wxSize temp; |
2373 | PyObject * _obj1 = 0; | |
efc5f224 | 2374 | char *_kwnames[] = { "self","size", NULL }; |
9c039d08 RD |
2375 | |
2376 | self = self; | |
2f90df85 | 2377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBar_SetMargins",_kwnames,&_argo0,&_obj1)) |
9c039d08 | 2378 | return NULL; |
1d99702e RD |
2379 | if (_argo0) { |
2380 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2381 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p."); |
9c039d08 RD |
2383 | return NULL; |
2384 | } | |
2385 | } | |
2f90df85 RD |
2386 | { |
2387 | _arg1 = &temp; | |
2388 | if (! wxSize_helper(_obj1, &_arg1)) | |
d5c9047a | 2389 | return NULL; |
2f90df85 | 2390 | } |
cf694132 RD |
2391 | { |
2392 | wxPy_BEGIN_ALLOW_THREADS; | |
2393 | wxToolBar_SetMargins(_arg0,*_arg1); | |
2394 | ||
2395 | wxPy_END_ALLOW_THREADS; | |
2396 | } Py_INCREF(Py_None); | |
9c039d08 RD |
2397 | _resultobj = Py_None; |
2398 | return _resultobj; | |
2399 | } | |
2400 | ||
d5c9047a | 2401 | #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0)) |
efc5f224 | 2402 | static PyObject *_wrap_wxToolBar_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 | 2403 | PyObject * _resultobj; |
d5c9047a | 2404 | wxToolBar * _arg0; |
9c039d08 | 2405 | int _arg1; |
1d99702e | 2406 | PyObject * _argo0 = 0; |
efc5f224 | 2407 | char *_kwnames[] = { "self","packing", NULL }; |
9c039d08 RD |
2408 | |
2409 | self = self; | |
efc5f224 | 2410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_SetToolPacking",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 2411 | return NULL; |
1d99702e RD |
2412 | if (_argo0) { |
2413 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2414 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p."); |
9c039d08 RD |
2416 | return NULL; |
2417 | } | |
2418 | } | |
cf694132 RD |
2419 | { |
2420 | wxPy_BEGIN_ALLOW_THREADS; | |
2421 | wxToolBar_SetToolPacking(_arg0,_arg1); | |
2422 | ||
2423 | wxPy_END_ALLOW_THREADS; | |
2424 | } Py_INCREF(Py_None); | |
9c039d08 RD |
2425 | _resultobj = Py_None; |
2426 | return _resultobj; | |
2427 | } | |
2428 | ||
d5c9047a | 2429 | #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0)) |
efc5f224 | 2430 | static PyObject *_wrap_wxToolBar_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 | 2431 | PyObject * _resultobj; |
d5c9047a RD |
2432 | wxToolBar * _arg0; |
2433 | int _arg1; | |
1d99702e | 2434 | PyObject * _argo0 = 0; |
efc5f224 | 2435 | char *_kwnames[] = { "self","separation", NULL }; |
9c039d08 RD |
2436 | |
2437 | self = self; | |
efc5f224 | 2438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBar_SetToolSeparation",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 2439 | return NULL; |
1d99702e RD |
2440 | if (_argo0) { |
2441 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2442 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2443 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p."); |
9c039d08 RD |
2444 | return NULL; |
2445 | } | |
2446 | } | |
cf694132 RD |
2447 | { |
2448 | wxPy_BEGIN_ALLOW_THREADS; | |
2449 | wxToolBar_SetToolSeparation(_arg0,_arg1); | |
2450 | ||
2451 | wxPy_END_ALLOW_THREADS; | |
2452 | } Py_INCREF(Py_None); | |
d5c9047a | 2453 | _resultobj = Py_None; |
9c039d08 RD |
2454 | return _resultobj; |
2455 | } | |
2456 | ||
d5c9047a | 2457 | #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1)) |
efc5f224 | 2458 | static PyObject *_wrap_wxToolBar_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 | 2459 | PyObject * _resultobj; |
d5c9047a RD |
2460 | wxToolBar * _arg0; |
2461 | int _arg1; | |
2462 | bool _arg2; | |
1d99702e | 2463 | PyObject * _argo0 = 0; |
d5c9047a | 2464 | int tempbool2; |
efc5f224 | 2465 | char *_kwnames[] = { "self","toolIndex","toggle", NULL }; |
9c039d08 RD |
2466 | |
2467 | self = self; | |
efc5f224 | 2468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBar_ToggleTool",_kwnames,&_argo0,&_arg1,&tempbool2)) |
9c039d08 | 2469 | return NULL; |
1d99702e RD |
2470 | if (_argo0) { |
2471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
d5c9047a | 2473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p."); |
9c039d08 RD |
2474 | return NULL; |
2475 | } | |
2476 | } | |
d5c9047a | 2477 | _arg2 = (bool ) tempbool2; |
cf694132 RD |
2478 | { |
2479 | wxPy_BEGIN_ALLOW_THREADS; | |
2480 | wxToolBar_ToggleTool(_arg0,_arg1,_arg2); | |
2481 | ||
2482 | wxPy_END_ALLOW_THREADS; | |
2483 | } Py_INCREF(Py_None); | |
d5c9047a | 2484 | _resultobj = Py_None; |
9c039d08 RD |
2485 | return _resultobj; |
2486 | } | |
2487 | ||
2488 | static PyMethodDef stattoolcMethods[] = { | |
efc5f224 RD |
2489 | { "wxToolBar_ToggleTool", (PyCFunction) _wrap_wxToolBar_ToggleTool, METH_VARARGS | METH_KEYWORDS }, |
2490 | { "wxToolBar_SetToolSeparation", (PyCFunction) _wrap_wxToolBar_SetToolSeparation, METH_VARARGS | METH_KEYWORDS }, | |
2491 | { "wxToolBar_SetToolPacking", (PyCFunction) _wrap_wxToolBar_SetToolPacking, METH_VARARGS | METH_KEYWORDS }, | |
2492 | { "wxToolBar_SetMargins", (PyCFunction) _wrap_wxToolBar_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
2493 | { "wxToolBar_SetToolShortHelp", (PyCFunction) _wrap_wxToolBar_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS }, | |
2494 | { "wxToolBar_SetToolLongHelp", (PyCFunction) _wrap_wxToolBar_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS }, | |
2495 | { "wxToolBar_Realize", (PyCFunction) _wrap_wxToolBar_Realize, METH_VARARGS | METH_KEYWORDS }, | |
2496 | { "wxToolBar_GetToolState", (PyCFunction) _wrap_wxToolBar_GetToolState, METH_VARARGS | METH_KEYWORDS }, | |
2497 | { "wxToolBar_GetToolShortHelp", (PyCFunction) _wrap_wxToolBar_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS }, | |
2498 | { "wxToolBar_GetToolSeparation", (PyCFunction) _wrap_wxToolBar_GetToolSeparation, METH_VARARGS | METH_KEYWORDS }, | |
2499 | { "wxToolBar_GetToolPacking", (PyCFunction) _wrap_wxToolBar_GetToolPacking, METH_VARARGS | METH_KEYWORDS }, | |
2500 | { "wxToolBar_GetToolLongHelp", (PyCFunction) _wrap_wxToolBar_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS }, | |
2501 | { "wxToolBar_GetToolEnabled", (PyCFunction) _wrap_wxToolBar_GetToolEnabled, METH_VARARGS | METH_KEYWORDS }, | |
2502 | { "wxToolBar_GetMaxSize", (PyCFunction) _wrap_wxToolBar_GetMaxSize, METH_VARARGS | METH_KEYWORDS }, | |
2503 | { "wxToolBar_SetToolBitmapSize", (PyCFunction) _wrap_wxToolBar_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS }, | |
2504 | { "wxToolBar_GetToolBitmapSize", (PyCFunction) _wrap_wxToolBar_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS }, | |
2505 | { "wxToolBar_GetToolSize", (PyCFunction) _wrap_wxToolBar_GetToolSize, METH_VARARGS | METH_KEYWORDS }, | |
2506 | { "wxToolBar_FindToolForPosition", (PyCFunction) _wrap_wxToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS }, | |
2507 | { "wxToolBar_EnableTool", (PyCFunction) _wrap_wxToolBar_EnableTool, METH_VARARGS | METH_KEYWORDS }, | |
2508 | { "wxToolBar_AddSimpleTool", (PyCFunction) _wrap_wxToolBar_AddSimpleTool, METH_VARARGS | METH_KEYWORDS }, | |
2509 | { "wxToolBar_AddTool", (PyCFunction) _wrap_wxToolBar_AddTool, METH_VARARGS | METH_KEYWORDS }, | |
2510 | { "wxToolBar_AddSeparator", (PyCFunction) _wrap_wxToolBar_AddSeparator, METH_VARARGS | METH_KEYWORDS }, | |
2511 | { "new_wxToolBar", (PyCFunction) _wrap_new_wxToolBar, METH_VARARGS | METH_KEYWORDS }, | |
2512 | { "wxToolBarTool_m_longHelpString_get", (PyCFunction) _wrap_wxToolBarTool_m_longHelpString_get, METH_VARARGS | METH_KEYWORDS }, | |
2513 | { "wxToolBarTool_m_longHelpString_set", (PyCFunction) _wrap_wxToolBarTool_m_longHelpString_set, METH_VARARGS | METH_KEYWORDS }, | |
2514 | { "wxToolBarTool_m_shortHelpString_get", (PyCFunction) _wrap_wxToolBarTool_m_shortHelpString_get, METH_VARARGS | METH_KEYWORDS }, | |
2515 | { "wxToolBarTool_m_shortHelpString_set", (PyCFunction) _wrap_wxToolBarTool_m_shortHelpString_set, METH_VARARGS | METH_KEYWORDS }, | |
2516 | { "wxToolBarTool_m_isMenuCommand_get", (PyCFunction) _wrap_wxToolBarTool_m_isMenuCommand_get, METH_VARARGS | METH_KEYWORDS }, | |
2517 | { "wxToolBarTool_m_isMenuCommand_set", (PyCFunction) _wrap_wxToolBarTool_m_isMenuCommand_set, METH_VARARGS | METH_KEYWORDS }, | |
2518 | { "wxToolBarTool_m_bitmap2_get", (PyCFunction) _wrap_wxToolBarTool_m_bitmap2_get, METH_VARARGS | METH_KEYWORDS }, | |
2519 | { "wxToolBarTool_m_bitmap2_set", (PyCFunction) _wrap_wxToolBarTool_m_bitmap2_set, METH_VARARGS | METH_KEYWORDS }, | |
2520 | { "wxToolBarTool_m_bitmap1_get", (PyCFunction) _wrap_wxToolBarTool_m_bitmap1_get, METH_VARARGS | METH_KEYWORDS }, | |
2521 | { "wxToolBarTool_m_bitmap1_set", (PyCFunction) _wrap_wxToolBarTool_m_bitmap1_set, METH_VARARGS | METH_KEYWORDS }, | |
2522 | { "wxToolBarTool_m_enabled_get", (PyCFunction) _wrap_wxToolBarTool_m_enabled_get, METH_VARARGS | METH_KEYWORDS }, | |
2523 | { "wxToolBarTool_m_enabled_set", (PyCFunction) _wrap_wxToolBarTool_m_enabled_set, METH_VARARGS | METH_KEYWORDS }, | |
2524 | { "wxToolBarTool_m_deleteSecondBitmap_get", (PyCFunction) _wrap_wxToolBarTool_m_deleteSecondBitmap_get, METH_VARARGS | METH_KEYWORDS }, | |
2525 | { "wxToolBarTool_m_deleteSecondBitmap_set", (PyCFunction) _wrap_wxToolBarTool_m_deleteSecondBitmap_set, METH_VARARGS | METH_KEYWORDS }, | |
2526 | { "wxToolBarTool_m_isToggle_get", (PyCFunction) _wrap_wxToolBarTool_m_isToggle_get, METH_VARARGS | METH_KEYWORDS }, | |
2527 | { "wxToolBarTool_m_isToggle_set", (PyCFunction) _wrap_wxToolBarTool_m_isToggle_set, METH_VARARGS | METH_KEYWORDS }, | |
2528 | { "wxToolBarTool_m_toggleState_get", (PyCFunction) _wrap_wxToolBarTool_m_toggleState_get, METH_VARARGS | METH_KEYWORDS }, | |
2529 | { "wxToolBarTool_m_toggleState_set", (PyCFunction) _wrap_wxToolBarTool_m_toggleState_set, METH_VARARGS | METH_KEYWORDS }, | |
2530 | { "wxToolBarTool_m_height_get", (PyCFunction) _wrap_wxToolBarTool_m_height_get, METH_VARARGS | METH_KEYWORDS }, | |
2531 | { "wxToolBarTool_m_height_set", (PyCFunction) _wrap_wxToolBarTool_m_height_set, METH_VARARGS | METH_KEYWORDS }, | |
2532 | { "wxToolBarTool_m_width_get", (PyCFunction) _wrap_wxToolBarTool_m_width_get, METH_VARARGS | METH_KEYWORDS }, | |
2533 | { "wxToolBarTool_m_width_set", (PyCFunction) _wrap_wxToolBarTool_m_width_set, METH_VARARGS | METH_KEYWORDS }, | |
2534 | { "wxToolBarTool_m_y_get", (PyCFunction) _wrap_wxToolBarTool_m_y_get, METH_VARARGS | METH_KEYWORDS }, | |
2535 | { "wxToolBarTool_m_y_set", (PyCFunction) _wrap_wxToolBarTool_m_y_set, METH_VARARGS | METH_KEYWORDS }, | |
2536 | { "wxToolBarTool_m_x_get", (PyCFunction) _wrap_wxToolBarTool_m_x_get, METH_VARARGS | METH_KEYWORDS }, | |
2537 | { "wxToolBarTool_m_x_set", (PyCFunction) _wrap_wxToolBarTool_m_x_set, METH_VARARGS | METH_KEYWORDS }, | |
2538 | { "wxToolBarTool_m_index_get", (PyCFunction) _wrap_wxToolBarTool_m_index_get, METH_VARARGS | METH_KEYWORDS }, | |
2539 | { "wxToolBarTool_m_index_set", (PyCFunction) _wrap_wxToolBarTool_m_index_set, METH_VARARGS | METH_KEYWORDS }, | |
2540 | { "wxToolBarTool_m_clientData_get", (PyCFunction) _wrap_wxToolBarTool_m_clientData_get, METH_VARARGS | METH_KEYWORDS }, | |
2541 | { "wxToolBarTool_m_clientData_set", (PyCFunction) _wrap_wxToolBarTool_m_clientData_set, METH_VARARGS | METH_KEYWORDS }, | |
2542 | { "wxToolBarTool_m_toolStyle_get", (PyCFunction) _wrap_wxToolBarTool_m_toolStyle_get, METH_VARARGS | METH_KEYWORDS }, | |
2543 | { "wxToolBarTool_m_toolStyle_set", (PyCFunction) _wrap_wxToolBarTool_m_toolStyle_set, METH_VARARGS | METH_KEYWORDS }, | |
2544 | { "wxToolBarTool_GetHeight", (PyCFunction) _wrap_wxToolBarTool_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
2545 | { "wxToolBarTool_GetWidth", (PyCFunction) _wrap_wxToolBarTool_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
2546 | { "wxToolBarTool_SetSize", (PyCFunction) _wrap_wxToolBarTool_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
2547 | { "delete_wxToolBarTool", (PyCFunction) _wrap_delete_wxToolBarTool, METH_VARARGS | METH_KEYWORDS }, | |
2548 | { "new_wxToolBarTool", (PyCFunction) _wrap_new_wxToolBarTool, METH_VARARGS | METH_KEYWORDS }, | |
2549 | { "wxStatusBar_SetStatusWidths", (PyCFunction) _wrap_wxStatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, | |
2550 | { "wxStatusBar_SetStatusText", (PyCFunction) _wrap_wxStatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
2551 | { "wxStatusBar_SetFieldsCount", (PyCFunction) _wrap_wxStatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
2552 | { "wxStatusBar_InitColours", (PyCFunction) _wrap_wxStatusBar_InitColours, METH_VARARGS | METH_KEYWORDS }, | |
2553 | { "wxStatusBar_DrawFieldText", (PyCFunction) _wrap_wxStatusBar_DrawFieldText, METH_VARARGS | METH_KEYWORDS }, | |
2554 | { "wxStatusBar_DrawField", (PyCFunction) _wrap_wxStatusBar_DrawField, METH_VARARGS | METH_KEYWORDS }, | |
2555 | { "wxStatusBar_GetStatusText", (PyCFunction) _wrap_wxStatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
2556 | { "wxStatusBar_GetFieldsCount", (PyCFunction) _wrap_wxStatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
2557 | { "wxStatusBar_GetFieldRect", (PyCFunction) _wrap_wxStatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
2558 | { "new_wxStatusBar", (PyCFunction) _wrap_new_wxStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
9c039d08 RD |
2559 | { NULL, NULL } |
2560 | }; | |
1d99702e RD |
2561 | #ifdef __cplusplus |
2562 | } | |
2563 | #endif | |
2564 | /* | |
2565 | * This table is used by the pointer type-checker | |
2566 | */ | |
2567 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
2568 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
2569 | { "_wxEvent","_class_wxEvent",0}, | |
2570 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
2571 | { "_signed_long","_long",0}, | |
2572 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
2f90df85 | 2573 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
1d99702e RD |
2574 | { "_wxPrintQuality","_int",0}, |
2575 | { "_wxPrintQuality","_signed_int",0}, | |
2576 | { "_wxPrintQuality","_unsigned_int",0}, | |
2577 | { "_wxPrintQuality","_wxWindowID",0}, | |
2578 | { "_wxPrintQuality","_uint",0}, | |
2579 | { "_wxPrintQuality","_EBool",0}, | |
2580 | { "_wxPrintQuality","_size_t",0}, | |
2581 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
2582 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
2583 | { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler}, | |
2584 | { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler}, | |
2585 | { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler}, | |
2586 | { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler}, | |
2587 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
2588 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
2589 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
2590 | { "_wxCursor","_class_wxCursor",0}, | |
2591 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
2592 | { "_wxMask","_class_wxMask",0}, | |
2593 | { "_wxPen","_class_wxPen",0}, | |
2594 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
2595 | { "_byte","_unsigned_char",0}, | |
2596 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
2597 | { "_wxChoice","_class_wxChoice",0}, | |
2598 | { "_wxSlider","_class_wxSlider",0}, | |
2599 | { "_long","_wxDash",0}, | |
2600 | { "_long","_unsigned_long",0}, | |
2601 | { "_long","_signed_long",0}, | |
2602 | { "_wxImageList","_class_wxImageList",0}, | |
2603 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
2604 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
2605 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
2606 | { "_class_wxGauge","_wxGauge",0}, | |
2607 | { "_wxDC","_class_wxDC",0}, | |
2608 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
2609 | { "_size_t","_wxPrintQuality",0}, | |
2610 | { "_size_t","_unsigned_int",0}, | |
2611 | { "_size_t","_int",0}, | |
2612 | { "_size_t","_wxWindowID",0}, | |
2613 | { "_size_t","_uint",0}, | |
2614 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
48115f4a | 2615 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
1d99702e | 2616 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
48115f4a | 2617 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
1d99702e RD |
2618 | { "_class_wxMenuItem","_wxMenuItem",0}, |
2619 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
2620 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
2621 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
2622 | { "_wxPanel","_class_wxPanel",0}, | |
2623 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
2624 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
2625 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
2626 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
2627 | { "_class_wxMask","_wxMask",0}, | |
2628 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
2629 | { "_wxColour","_class_wxColour",0}, | |
2630 | { "_class_wxDialog","_wxDialog",0}, | |
2631 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
2632 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
2633 | { "_wxToolBar","_class_wxToolBar",0}, | |
2634 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
2635 | { "_wxBrush","_class_wxBrush",0}, | |
2636 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
2637 | { "_uint","_wxPrintQuality",0}, | |
2638 | { "_uint","_size_t",0}, | |
2639 | { "_uint","_unsigned_int",0}, | |
2640 | { "_uint","_int",0}, | |
2641 | { "_uint","_wxWindowID",0}, | |
2f90df85 | 2642 | { "_wxPyValidator","_class_wxPyValidator",0}, |
1d99702e RD |
2643 | { "_class_wxEvent","_wxEvent",0}, |
2644 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
2645 | { "_wxRect","_class_wxRect",0}, | |
2646 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
2647 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
2648 | { "_wxPoint","_class_wxPoint",0}, | |
2649 | { "_class_wxButton","_wxButton",0}, | |
2650 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
2651 | { "_wxBitmap","_class_wxBitmap",0}, | |
2652 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
2653 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
2654 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
2655 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
2656 | { "_wxToolBarTool","_class_wxToolBarTool",0}, | |
2657 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
2658 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
2f90df85 | 2659 | { "_class_wxValidator","_wxValidator",0}, |
1d99702e RD |
2660 | { "_class_wxPyEvent","_wxPyEvent",0}, |
2661 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
2662 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
2663 | { "_class_wxToolBar","_wxToolBar",0}, | |
2664 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
2665 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
2666 | { "_EBool","_wxPrintQuality",0}, | |
2667 | { "_EBool","_signed_int",0}, | |
2668 | { "_EBool","_int",0}, | |
2669 | { "_EBool","_wxWindowID",0}, | |
2670 | { "_class_wxRegion","_wxRegion",0}, | |
2671 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
48115f4a | 2672 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
1d99702e RD |
2673 | { "_wxStaticText","_class_wxStaticText",0}, |
2674 | { "_wxFont","_class_wxFont",0}, | |
2675 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
2676 | { "_unsigned_long","_wxDash",0}, | |
2677 | { "_unsigned_long","_long",0}, | |
2678 | { "_class_wxRect","_wxRect",0}, | |
2679 | { "_class_wxDC","_wxDC",0}, | |
d426c97e | 2680 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
48115f4a RD |
2681 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
2682 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
1d99702e RD |
2683 | { "_class_wxPyTimer","_wxPyTimer",0}, |
2684 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
2685 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
2686 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
2687 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
2688 | { "_class_wxPanel","_wxPanel",0}, | |
2689 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
2690 | { "_wxComboBox","_class_wxComboBox",0}, | |
2691 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
2692 | { "_signed_int","_wxPrintQuality",0}, | |
2693 | { "_signed_int","_EBool",0}, | |
2694 | { "_signed_int","_wxWindowID",0}, | |
2695 | { "_signed_int","_int",0}, | |
2696 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
2697 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
2698 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, | |
2699 | { "_wxMenu","_class_wxMenu",0}, | |
2700 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
2701 | { "_wxListBox","_class_wxListBox",0}, | |
2702 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
2703 | { "_WXTYPE","_short",0}, | |
2704 | { "_WXTYPE","_signed_short",0}, | |
2705 | { "_WXTYPE","_unsigned_short",0}, | |
2706 | { "_class_wxBrush","_wxBrush",0}, | |
2707 | { "_unsigned_short","_WXTYPE",0}, | |
2708 | { "_unsigned_short","_short",0}, | |
2709 | { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow}, | |
2710 | { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow}, | |
2711 | { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow}, | |
2712 | { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow}, | |
2713 | { "_class_wxWindow","_wxWindow",0}, | |
2714 | { "_class_wxStaticText","_wxStaticText",0}, | |
2715 | { "_class_wxFont","_wxFont",0}, | |
2f90df85 | 2716 | { "_class_wxPyValidator","_wxPyValidator",0}, |
1d99702e RD |
2717 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
2718 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
48115f4a | 2719 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
1d99702e RD |
2720 | { "_wxClientDC","_class_wxClientDC",0}, |
2721 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
2722 | { "_class_wxPoint","_wxPoint",0}, | |
2723 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
2724 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
2725 | { "_signed_short","_WXTYPE",0}, | |
2726 | { "_signed_short","_short",0}, | |
2727 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
2728 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
2729 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
2730 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
2731 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
2732 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
2733 | { "_class_wxToolBarTool","_wxToolBarTool",0}, | |
2734 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
2735 | { "_class_wxCursor","_wxCursor",0}, | |
2736 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
2737 | { "_unsigned_char","_byte",0}, | |
2738 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, | |
2739 | { "_class_wxMenu","_wxMenu",0}, | |
2740 | { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl}, | |
2741 | { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl}, | |
2742 | { "_wxControl","_class_wxControl",0}, | |
2743 | { "_class_wxListBox","_wxListBox",0}, | |
2744 | { "_unsigned_int","_wxPrintQuality",0}, | |
2745 | { "_unsigned_int","_size_t",0}, | |
2746 | { "_unsigned_int","_uint",0}, | |
2747 | { "_unsigned_int","_wxWindowID",0}, | |
2748 | { "_unsigned_int","_int",0}, | |
2749 | { "_wxIcon","_class_wxIcon",0}, | |
2750 | { "_wxDialog","_class_wxDialog",0}, | |
2751 | { "_class_wxPen","_wxPen",0}, | |
2752 | { "_short","_WXTYPE",0}, | |
2753 | { "_short","_unsigned_short",0}, | |
2754 | { "_short","_signed_short",0}, | |
2755 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
2756 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
2757 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
2758 | { "_class_wxChoice","_wxChoice",0}, | |
2759 | { "_class_wxSlider","_wxSlider",0}, | |
2760 | { "_class_wxImageList","_wxImageList",0}, | |
2761 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
48115f4a | 2762 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
1d99702e RD |
2763 | { "_wxWindowID","_wxPrintQuality",0}, |
2764 | { "_wxWindowID","_size_t",0}, | |
2765 | { "_wxWindowID","_EBool",0}, | |
2766 | { "_wxWindowID","_uint",0}, | |
2767 | { "_wxWindowID","_int",0}, | |
2768 | { "_wxWindowID","_signed_int",0}, | |
2769 | { "_wxWindowID","_unsigned_int",0}, | |
d426c97e | 2770 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
1d99702e RD |
2771 | { "_int","_wxPrintQuality",0}, |
2772 | { "_int","_size_t",0}, | |
2773 | { "_int","_EBool",0}, | |
2774 | { "_int","_uint",0}, | |
2775 | { "_int","_wxWindowID",0}, | |
2776 | { "_int","_unsigned_int",0}, | |
2777 | { "_int","_signed_int",0}, | |
2778 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2f90df85 | 2779 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
1d99702e | 2780 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
48115f4a RD |
2781 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
2782 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
1d99702e RD |
2783 | { "_wxButton","_class_wxButton",0}, |
2784 | { "_wxSize","_class_wxSize",0}, | |
2785 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
2786 | { "_class_wxPrinterDC","_wxPrinterDC",0}, | |
2787 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
2788 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
2789 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
2790 | { "_class_wxComboBox","_wxComboBox",0}, | |
2791 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
2f90df85 | 2792 | { "_wxValidator","_class_wxValidator",0}, |
1d99702e RD |
2793 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
2794 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
2795 | { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl}, | |
2796 | { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl}, | |
2797 | { "_class_wxControl","_wxControl",0}, | |
2798 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
2799 | { "_class_wxIcon","_wxIcon",0}, | |
2800 | { "_class_wxColour","_wxColour",0}, | |
2801 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
2802 | { "_wxPalette","_class_wxPalette",0}, | |
2803 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
2804 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
2805 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
2806 | { "_wxRegion","_class_wxRegion",0}, | |
2807 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
2808 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
2809 | { "_wxGauge","_class_wxGauge",0}, | |
2810 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
2811 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
2812 | { "_class_wxClientDC","_wxClientDC",0}, | |
2813 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
2814 | { "_class_wxSize","_wxSize",0}, | |
2815 | { "_class_wxBitmap","_wxBitmap",0}, | |
2816 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
2817 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
2818 | { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler}, | |
2819 | { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler}, | |
2820 | { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler}, | |
2821 | { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler}, | |
2822 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
2823 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
2824 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
2825 | { "_wxDash","_unsigned_long",0}, | |
2826 | { "_wxDash","_long",0}, | |
2827 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
2828 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
2829 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
2830 | { "_class_wxPalette","_wxPalette",0}, | |
2831 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
2832 | { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow}, | |
2833 | { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow}, | |
2834 | { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow}, | |
2835 | { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow}, | |
2836 | { "_wxWindow","_class_wxWindow",0}, | |
48115f4a | 2837 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
1d99702e RD |
2838 | {0,0,0}}; |
2839 | ||
9c039d08 RD |
2840 | static PyObject *SWIG_globals; |
2841 | #ifdef __cplusplus | |
2842 | extern "C" | |
2843 | #endif | |
1d99702e | 2844 | SWIGEXPORT(void) initstattoolc() { |
9c039d08 RD |
2845 | PyObject *m, *d; |
2846 | SWIG_globals = SWIG_newvarlink(); | |
2847 | m = Py_InitModule("stattoolc", stattoolcMethods); | |
2848 | d = PyModule_GetDict(m); | |
1d99702e RD |
2849 | { |
2850 | int i; | |
2851 | for (i = 0; _swig_mapping[i].n1; i++) | |
2852 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
2853 | } | |
9c039d08 | 2854 | } |