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