]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * FILE : gtk/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 | PyObject* o3; | |
63 | if (!target) { | |
64 | target = o; | |
65 | } else if (target == Py_None) { | |
66 | Py_DECREF(Py_None); | |
67 | target = o; | |
68 | } else { | |
69 | if (!PyList_Check(target)) { | |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
85 | if (!target) { | |
86 | target = o; | |
87 | } else if (target == Py_None) { | |
88 | Py_DECREF(Py_None); | |
89 | target = o; | |
90 | } else { | |
91 | if (!PyTuple_Check(target)) { | |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
96 | o3 = PyTuple_New(1); | |
97 | PyTuple_SetItem(o3, 0, o); | |
98 | ||
99 | o2 = target; | |
100 | target = PySequence_Concat(o2, o3); | |
101 | Py_DECREF(o2); | |
102 | Py_DECREF(o3); | |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
107 | ||
108 | extern byte* byte_LIST_helper(PyObject* source); | |
109 | extern int* int_LIST_helper(PyObject* source); | |
110 | extern long* long_LIST_helper(PyObject* source); | |
111 | extern char** string_LIST_helper(PyObject* source); | |
112 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
113 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
114 | extern wxString* wxString_LIST_helper(PyObject* source); | |
115 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); | |
116 | ||
117 | ||
118 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
119 | static void *SwigwxStatusBarTowxWindow(void *ptr) { | |
120 | wxStatusBar *src; | |
121 | wxWindow *dest; | |
122 | src = (wxStatusBar *) ptr; | |
123 | dest = (wxWindow *) src; | |
124 | return (void *) dest; | |
125 | } | |
126 | ||
127 | static void *SwigwxStatusBarTowxEvtHandler(void *ptr) { | |
128 | wxStatusBar *src; | |
129 | wxEvtHandler *dest; | |
130 | src = (wxStatusBar *) ptr; | |
131 | dest = (wxEvtHandler *) src; | |
132 | return (void *) dest; | |
133 | } | |
134 | ||
135 | #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
136 | static PyObject *_wrap_new_wxStatusBar(PyObject *self, PyObject *args) { | |
137 | PyObject * _resultobj; | |
138 | wxStatusBar * _result; | |
139 | wxWindow * _arg0; | |
140 | wxWindowID _arg1; | |
141 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
142 | wxSize * _arg3 = &wxPyDefaultSize; | |
143 | long _arg4 = wxST_SIZEGRIP; | |
144 | char * _arg5 = "statusBar"; | |
145 | char * _argc0 = 0; | |
146 | char * _argc2 = 0; | |
147 | char * _argc3 = 0; | |
148 | char _ptemp[128]; | |
149 | ||
150 | self = self; | |
151 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxStatusBar",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
152 | return NULL; | |
153 | if (_argc0) { | |
154 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p."); | |
156 | return NULL; | |
157 | } | |
158 | } | |
159 | if (_argc2) { | |
160 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStatusBar. Expected _wxPoint_p."); | |
162 | return NULL; | |
163 | } | |
164 | } | |
165 | if (_argc3) { | |
166 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStatusBar. Expected _wxSize_p."); | |
168 | return NULL; | |
169 | } | |
170 | } | |
171 | _result = (wxStatusBar *)new_wxStatusBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
172 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p"); | |
173 | _resultobj = Py_BuildValue("s",_ptemp); | |
174 | return _resultobj; | |
175 | } | |
176 | ||
177 | static wxRect * wxStatusBar_GetFieldRect(wxStatusBar *self,long item) { | |
178 | wxRect* rect= new wxRect; | |
179 | self->GetFieldRect(item, *rect); | |
180 | return rect; | |
181 | } | |
182 | static PyObject *_wrap_wxStatusBar_GetFieldRect(PyObject *self, PyObject *args) { | |
183 | PyObject * _resultobj; | |
184 | wxRect * _result; | |
185 | wxStatusBar * _arg0; | |
186 | long _arg1; | |
187 | char * _argc0 = 0; | |
188 | char _ptemp[128]; | |
189 | ||
190 | self = self; | |
191 | if(!PyArg_ParseTuple(args,"sl:wxStatusBar_GetFieldRect",&_argc0,&_arg1)) | |
192 | return NULL; | |
193 | if (_argc0) { | |
194 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) { | |
195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p."); | |
196 | return NULL; | |
197 | } | |
198 | } | |
199 | _result = (wxRect *)wxStatusBar_GetFieldRect(_arg0,_arg1); | |
200 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p"); | |
201 | _resultobj = Py_BuildValue("s",_ptemp); | |
202 | return _resultobj; | |
203 | } | |
204 | ||
205 | #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount()) | |
206 | static PyObject *_wrap_wxStatusBar_GetFieldsCount(PyObject *self, PyObject *args) { | |
207 | PyObject * _resultobj; | |
208 | int _result; | |
209 | wxStatusBar * _arg0; | |
210 | char * _argc0 = 0; | |
211 | ||
212 | self = self; | |
213 | if(!PyArg_ParseTuple(args,"s:wxStatusBar_GetFieldsCount",&_argc0)) | |
214 | return NULL; | |
215 | if (_argc0) { | |
216 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) { | |
217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p."); | |
218 | return NULL; | |
219 | } | |
220 | } | |
221 | _result = (int )wxStatusBar_GetFieldsCount(_arg0); | |
222 | _resultobj = Py_BuildValue("i",_result); | |
223 | return _resultobj; | |
224 | } | |
225 | ||
226 | #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0)) | |
227 | static PyObject *_wrap_wxStatusBar_GetStatusText(PyObject *self, PyObject *args) { | |
228 | PyObject * _resultobj; | |
229 | wxString * _result; | |
230 | wxStatusBar * _arg0; | |
231 | int _arg1 = 0; | |
232 | char * _argc0 = 0; | |
233 | ||
234 | self = self; | |
235 | if(!PyArg_ParseTuple(args,"s|i:wxStatusBar_GetStatusText",&_argc0,&_arg1)) | |
236 | return NULL; | |
237 | if (_argc0) { | |
238 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) { | |
239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p."); | |
240 | return NULL; | |
241 | } | |
242 | } | |
243 | _result = new wxString (wxStatusBar_GetStatusText(_arg0,_arg1)); | |
244 | { | |
245 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
246 | } | |
247 | { | |
248 | delete _result; | |
249 | } | |
250 | return _resultobj; | |
251 | } | |
252 | ||
253 | #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1)) | |
254 | static PyObject *_wrap_wxStatusBar_DrawField(PyObject *self, PyObject *args) { | |
255 | PyObject * _resultobj; | |
256 | wxStatusBar * _arg0; | |
257 | wxDC * _arg1; | |
258 | int _arg2; | |
259 | char * _argc0 = 0; | |
260 | char * _argc1 = 0; | |
261 | ||
262 | self = self; | |
263 | if(!PyArg_ParseTuple(args,"ssi:wxStatusBar_DrawField",&_argc0,&_argc1,&_arg2)) | |
264 | return NULL; | |
265 | if (_argc0) { | |
266 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) { | |
267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p."); | |
268 | return NULL; | |
269 | } | |
270 | } | |
271 | if (_argc1) { | |
272 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) { | |
273 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p."); | |
274 | return NULL; | |
275 | } | |
276 | } | |
277 | wxStatusBar_DrawField(_arg0,*_arg1,_arg2); | |
278 | Py_INCREF(Py_None); | |
279 | _resultobj = Py_None; | |
280 | return _resultobj; | |
281 | } | |
282 | ||
283 | #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1)) | |
284 | static PyObject *_wrap_wxStatusBar_DrawFieldText(PyObject *self, PyObject *args) { | |
285 | PyObject * _resultobj; | |
286 | wxStatusBar * _arg0; | |
287 | wxDC * _arg1; | |
288 | int _arg2; | |
289 | char * _argc0 = 0; | |
290 | char * _argc1 = 0; | |
291 | ||
292 | self = self; | |
293 | if(!PyArg_ParseTuple(args,"ssi:wxStatusBar_DrawFieldText",&_argc0,&_argc1,&_arg2)) | |
294 | return NULL; | |
295 | if (_argc0) { | |
296 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) { | |
297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p."); | |
298 | return NULL; | |
299 | } | |
300 | } | |
301 | if (_argc1) { | |
302 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxDC_p")) { | |
303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p."); | |
304 | return NULL; | |
305 | } | |
306 | } | |
307 | wxStatusBar_DrawFieldText(_arg0,*_arg1,_arg2); | |
308 | Py_INCREF(Py_None); | |
309 | _resultobj = Py_None; | |
310 | return _resultobj; | |
311 | } | |
312 | ||
313 | #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours()) | |
314 | static PyObject *_wrap_wxStatusBar_InitColours(PyObject *self, PyObject *args) { | |
315 | PyObject * _resultobj; | |
316 | wxStatusBar * _arg0; | |
317 | char * _argc0 = 0; | |
318 | ||
319 | self = self; | |
320 | if(!PyArg_ParseTuple(args,"s:wxStatusBar_InitColours",&_argc0)) | |
321 | return NULL; | |
322 | if (_argc0) { | |
323 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) { | |
324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p."); | |
325 | return NULL; | |
326 | } | |
327 | } | |
328 | wxStatusBar_InitColours(_arg0); | |
329 | Py_INCREF(Py_None); | |
330 | _resultobj = Py_None; | |
331 | return _resultobj; | |
332 | } | |
333 | ||
334 | #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0)) | |
335 | static PyObject *_wrap_wxStatusBar_SetFieldsCount(PyObject *self, PyObject *args) { | |
336 | PyObject * _resultobj; | |
337 | wxStatusBar * _arg0; | |
338 | int _arg1 = 1; | |
339 | char * _argc0 = 0; | |
340 | ||
341 | self = self; | |
342 | if(!PyArg_ParseTuple(args,"s|i:wxStatusBar_SetFieldsCount",&_argc0,&_arg1)) | |
343 | return NULL; | |
344 | if (_argc0) { | |
345 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) { | |
346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p."); | |
347 | return NULL; | |
348 | } | |
349 | } | |
350 | wxStatusBar_SetFieldsCount(_arg0,_arg1); | |
351 | Py_INCREF(Py_None); | |
352 | _resultobj = Py_None; | |
353 | return _resultobj; | |
354 | } | |
355 | ||
356 | #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1)) | |
357 | static PyObject *_wrap_wxStatusBar_SetStatusText(PyObject *self, PyObject *args) { | |
358 | PyObject * _resultobj; | |
359 | wxStatusBar * _arg0; | |
360 | wxString * _arg1; | |
361 | int _arg2 = 0; | |
362 | char * _argc0 = 0; | |
363 | PyObject * _obj1 = 0; | |
364 | ||
365 | self = self; | |
366 | if(!PyArg_ParseTuple(args,"sO|i:wxStatusBar_SetStatusText",&_argc0,&_obj1,&_arg2)) | |
367 | return NULL; | |
368 | if (_argc0) { | |
369 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) { | |
370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p."); | |
371 | return NULL; | |
372 | } | |
373 | } | |
374 | { | |
375 | if (!PyString_Check(_obj1)) { | |
376 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
377 | return NULL; | |
378 | } | |
379 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
380 | } | |
381 | wxStatusBar_SetStatusText(_arg0,*_arg1,_arg2); | |
382 | Py_INCREF(Py_None); | |
383 | _resultobj = Py_None; | |
384 | { | |
385 | if (_obj1) | |
386 | delete _arg1; | |
387 | } | |
388 | return _resultobj; | |
389 | } | |
390 | ||
391 | #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1)) | |
392 | static PyObject *_wrap_wxStatusBar_SetStatusWidths(PyObject *self, PyObject *args) { | |
393 | PyObject * _resultobj; | |
394 | wxStatusBar * _arg0; | |
395 | int _arg1; | |
396 | int * _arg2; | |
397 | char * _argc0 = 0; | |
398 | PyObject * _obj2 = 0; | |
399 | ||
400 | self = self; | |
401 | if(!PyArg_ParseTuple(args,"sO:wxStatusBar_SetStatusWidths",&_argc0,&_obj2)) | |
402 | return NULL; | |
403 | if (_argc0) { | |
404 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStatusBar_p")) { | |
405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p."); | |
406 | return NULL; | |
407 | } | |
408 | } | |
409 | if (_obj2) | |
410 | { | |
411 | _arg2 = int_LIST_helper(_obj2); | |
412 | if (_arg2 == NULL) { | |
413 | return NULL; | |
414 | } | |
415 | } | |
416 | { | |
417 | _arg1 = PyList_Size(_obj2); | |
418 | } | |
419 | wxStatusBar_SetStatusWidths(_arg0,_arg1,_arg2); | |
420 | Py_INCREF(Py_None); | |
421 | _resultobj = Py_None; | |
422 | { | |
423 | delete [] _arg2; | |
424 | } | |
425 | return _resultobj; | |
426 | } | |
427 | ||
428 | #define new_wxToolBarTool() (new wxToolBarTool()) | |
429 | static PyObject *_wrap_new_wxToolBarTool(PyObject *self, PyObject *args) { | |
430 | PyObject * _resultobj; | |
431 | wxToolBarTool * _result; | |
432 | char _ptemp[128]; | |
433 | ||
434 | self = self; | |
435 | if(!PyArg_ParseTuple(args,":new_wxToolBarTool")) | |
436 | return NULL; | |
437 | _result = (wxToolBarTool *)new_wxToolBarTool(); | |
438 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p"); | |
439 | _resultobj = Py_BuildValue("s",_ptemp); | |
440 | return _resultobj; | |
441 | } | |
442 | ||
443 | #define delete_wxToolBarTool(_swigobj) (delete _swigobj) | |
444 | static PyObject *_wrap_delete_wxToolBarTool(PyObject *self, PyObject *args) { | |
445 | PyObject * _resultobj; | |
446 | wxToolBarTool * _arg0; | |
447 | char * _argc0 = 0; | |
448 | ||
449 | self = self; | |
450 | if(!PyArg_ParseTuple(args,"s:delete_wxToolBarTool",&_argc0)) | |
451 | return NULL; | |
452 | if (_argc0) { | |
453 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxToolBarTool. Expected _wxToolBarTool_p."); | |
455 | return NULL; | |
456 | } | |
457 | } | |
458 | delete_wxToolBarTool(_arg0); | |
459 | Py_INCREF(Py_None); | |
460 | _resultobj = Py_None; | |
461 | return _resultobj; | |
462 | } | |
463 | ||
464 | #define wxToolBarTool_m_toolStyle_set(_swigobj,_swigval) (_swigobj->m_toolStyle = _swigval,_swigval) | |
465 | static PyObject *_wrap_wxToolBarTool_m_toolStyle_set(PyObject *self, PyObject *args) { | |
466 | PyObject * _resultobj; | |
467 | int _result; | |
468 | wxToolBarTool * _arg0; | |
469 | int _arg1; | |
470 | char * _argc0 = 0; | |
471 | ||
472 | self = self; | |
473 | if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_toolStyle_set",&_argc0,&_arg1)) | |
474 | return NULL; | |
475 | if (_argc0) { | |
476 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_set. Expected _wxToolBarTool_p."); | |
478 | return NULL; | |
479 | } | |
480 | } | |
481 | _result = (int )wxToolBarTool_m_toolStyle_set(_arg0,_arg1); | |
482 | _resultobj = Py_BuildValue("i",_result); | |
483 | return _resultobj; | |
484 | } | |
485 | ||
486 | #define wxToolBarTool_m_toolStyle_get(_swigobj) ((int ) _swigobj->m_toolStyle) | |
487 | static PyObject *_wrap_wxToolBarTool_m_toolStyle_get(PyObject *self, PyObject *args) { | |
488 | PyObject * _resultobj; | |
489 | int _result; | |
490 | wxToolBarTool * _arg0; | |
491 | char * _argc0 = 0; | |
492 | ||
493 | self = self; | |
494 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_toolStyle_get",&_argc0)) | |
495 | return NULL; | |
496 | if (_argc0) { | |
497 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toolStyle_get. Expected _wxToolBarTool_p."); | |
499 | return NULL; | |
500 | } | |
501 | } | |
502 | _result = (int )wxToolBarTool_m_toolStyle_get(_arg0); | |
503 | _resultobj = Py_BuildValue("i",_result); | |
504 | return _resultobj; | |
505 | } | |
506 | ||
507 | #define wxToolBarTool_m_clientData_set(_swigobj,_swigval) (_swigobj->m_clientData = _swigval,_swigval) | |
508 | static PyObject *_wrap_wxToolBarTool_m_clientData_set(PyObject *self, PyObject *args) { | |
509 | PyObject * _resultobj; | |
510 | wxObject * _result; | |
511 | wxToolBarTool * _arg0; | |
512 | wxObject * _arg1; | |
513 | char * _argc0 = 0; | |
514 | char * _argc1 = 0; | |
515 | char _ptemp[128]; | |
516 | ||
517 | self = self; | |
518 | if(!PyArg_ParseTuple(args,"ss:wxToolBarTool_m_clientData_set",&_argc0,&_argc1)) | |
519 | return NULL; | |
520 | if (_argc0) { | |
521 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_set. Expected _wxToolBarTool_p."); | |
523 | return NULL; | |
524 | } | |
525 | } | |
526 | if (_argc1) { | |
527 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxObject_p")) { | |
528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_clientData_set. Expected _wxObject_p."); | |
529 | return NULL; | |
530 | } | |
531 | } | |
532 | _result = (wxObject *)wxToolBarTool_m_clientData_set(_arg0,_arg1); | |
533 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p"); | |
534 | _resultobj = Py_BuildValue("s",_ptemp); | |
535 | return _resultobj; | |
536 | } | |
537 | ||
538 | #define wxToolBarTool_m_clientData_get(_swigobj) ((wxObject *) _swigobj->m_clientData) | |
539 | static PyObject *_wrap_wxToolBarTool_m_clientData_get(PyObject *self, PyObject *args) { | |
540 | PyObject * _resultobj; | |
541 | wxObject * _result; | |
542 | wxToolBarTool * _arg0; | |
543 | char * _argc0 = 0; | |
544 | char _ptemp[128]; | |
545 | ||
546 | self = self; | |
547 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_clientData_get",&_argc0)) | |
548 | return NULL; | |
549 | if (_argc0) { | |
550 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_clientData_get. Expected _wxToolBarTool_p."); | |
552 | return NULL; | |
553 | } | |
554 | } | |
555 | _result = (wxObject *)wxToolBarTool_m_clientData_get(_arg0); | |
556 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxObject_p"); | |
557 | _resultobj = Py_BuildValue("s",_ptemp); | |
558 | return _resultobj; | |
559 | } | |
560 | ||
561 | #define wxToolBarTool_m_index_set(_swigobj,_swigval) (_swigobj->m_index = _swigval,_swigval) | |
562 | static PyObject *_wrap_wxToolBarTool_m_index_set(PyObject *self, PyObject *args) { | |
563 | PyObject * _resultobj; | |
564 | int _result; | |
565 | wxToolBarTool * _arg0; | |
566 | int _arg1; | |
567 | char * _argc0 = 0; | |
568 | ||
569 | self = self; | |
570 | if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_index_set",&_argc0,&_arg1)) | |
571 | return NULL; | |
572 | if (_argc0) { | |
573 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_set. Expected _wxToolBarTool_p."); | |
575 | return NULL; | |
576 | } | |
577 | } | |
578 | _result = (int )wxToolBarTool_m_index_set(_arg0,_arg1); | |
579 | _resultobj = Py_BuildValue("i",_result); | |
580 | return _resultobj; | |
581 | } | |
582 | ||
583 | #define wxToolBarTool_m_index_get(_swigobj) ((int ) _swigobj->m_index) | |
584 | static PyObject *_wrap_wxToolBarTool_m_index_get(PyObject *self, PyObject *args) { | |
585 | PyObject * _resultobj; | |
586 | int _result; | |
587 | wxToolBarTool * _arg0; | |
588 | char * _argc0 = 0; | |
589 | ||
590 | self = self; | |
591 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_index_get",&_argc0)) | |
592 | return NULL; | |
593 | if (_argc0) { | |
594 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_index_get. Expected _wxToolBarTool_p."); | |
596 | return NULL; | |
597 | } | |
598 | } | |
599 | _result = (int )wxToolBarTool_m_index_get(_arg0); | |
600 | _resultobj = Py_BuildValue("i",_result); | |
601 | return _resultobj; | |
602 | } | |
603 | ||
604 | #define wxToolBarTool_m_toggleState_set(_swigobj,_swigval) (_swigobj->m_toggleState = _swigval,_swigval) | |
605 | static PyObject *_wrap_wxToolBarTool_m_toggleState_set(PyObject *self, PyObject *args) { | |
606 | PyObject * _resultobj; | |
607 | bool _result; | |
608 | wxToolBarTool * _arg0; | |
609 | bool _arg1; | |
610 | char * _argc0 = 0; | |
611 | int tempbool1; | |
612 | ||
613 | self = self; | |
614 | if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_toggleState_set",&_argc0,&tempbool1)) | |
615 | return NULL; | |
616 | if (_argc0) { | |
617 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_set. Expected _wxToolBarTool_p."); | |
619 | return NULL; | |
620 | } | |
621 | } | |
622 | _arg1 = (bool ) tempbool1; | |
623 | _result = (bool )wxToolBarTool_m_toggleState_set(_arg0,_arg1); | |
624 | _resultobj = Py_BuildValue("i",_result); | |
625 | return _resultobj; | |
626 | } | |
627 | ||
628 | #define wxToolBarTool_m_toggleState_get(_swigobj) ((bool ) _swigobj->m_toggleState) | |
629 | static PyObject *_wrap_wxToolBarTool_m_toggleState_get(PyObject *self, PyObject *args) { | |
630 | PyObject * _resultobj; | |
631 | bool _result; | |
632 | wxToolBarTool * _arg0; | |
633 | char * _argc0 = 0; | |
634 | ||
635 | self = self; | |
636 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_toggleState_get",&_argc0)) | |
637 | return NULL; | |
638 | if (_argc0) { | |
639 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
640 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_toggleState_get. Expected _wxToolBarTool_p."); | |
641 | return NULL; | |
642 | } | |
643 | } | |
644 | _result = (bool )wxToolBarTool_m_toggleState_get(_arg0); | |
645 | _resultobj = Py_BuildValue("i",_result); | |
646 | return _resultobj; | |
647 | } | |
648 | ||
649 | #define wxToolBarTool_m_isToggle_set(_swigobj,_swigval) (_swigobj->m_isToggle = _swigval,_swigval) | |
650 | static PyObject *_wrap_wxToolBarTool_m_isToggle_set(PyObject *self, PyObject *args) { | |
651 | PyObject * _resultobj; | |
652 | bool _result; | |
653 | wxToolBarTool * _arg0; | |
654 | bool _arg1; | |
655 | char * _argc0 = 0; | |
656 | int tempbool1; | |
657 | ||
658 | self = self; | |
659 | if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_isToggle_set",&_argc0,&tempbool1)) | |
660 | return NULL; | |
661 | if (_argc0) { | |
662 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
663 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_set. Expected _wxToolBarTool_p."); | |
664 | return NULL; | |
665 | } | |
666 | } | |
667 | _arg1 = (bool ) tempbool1; | |
668 | _result = (bool )wxToolBarTool_m_isToggle_set(_arg0,_arg1); | |
669 | _resultobj = Py_BuildValue("i",_result); | |
670 | return _resultobj; | |
671 | } | |
672 | ||
673 | #define wxToolBarTool_m_isToggle_get(_swigobj) ((bool ) _swigobj->m_isToggle) | |
674 | static PyObject *_wrap_wxToolBarTool_m_isToggle_get(PyObject *self, PyObject *args) { | |
675 | PyObject * _resultobj; | |
676 | bool _result; | |
677 | wxToolBarTool * _arg0; | |
678 | char * _argc0 = 0; | |
679 | ||
680 | self = self; | |
681 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_isToggle_get",&_argc0)) | |
682 | return NULL; | |
683 | if (_argc0) { | |
684 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isToggle_get. Expected _wxToolBarTool_p."); | |
686 | return NULL; | |
687 | } | |
688 | } | |
689 | _result = (bool )wxToolBarTool_m_isToggle_get(_arg0); | |
690 | _resultobj = Py_BuildValue("i",_result); | |
691 | return _resultobj; | |
692 | } | |
693 | ||
694 | #define wxToolBarTool_m_deleteSecondBitmap_set(_swigobj,_swigval) (_swigobj->m_deleteSecondBitmap = _swigval,_swigval) | |
695 | static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_set(PyObject *self, PyObject *args) { | |
696 | PyObject * _resultobj; | |
697 | bool _result; | |
698 | wxToolBarTool * _arg0; | |
699 | bool _arg1; | |
700 | char * _argc0 = 0; | |
701 | int tempbool1; | |
702 | ||
703 | self = self; | |
704 | if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_deleteSecondBitmap_set",&_argc0,&tempbool1)) | |
705 | return NULL; | |
706 | if (_argc0) { | |
707 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_set. Expected _wxToolBarTool_p."); | |
709 | return NULL; | |
710 | } | |
711 | } | |
712 | _arg1 = (bool ) tempbool1; | |
713 | _result = (bool )wxToolBarTool_m_deleteSecondBitmap_set(_arg0,_arg1); | |
714 | _resultobj = Py_BuildValue("i",_result); | |
715 | return _resultobj; | |
716 | } | |
717 | ||
718 | #define wxToolBarTool_m_deleteSecondBitmap_get(_swigobj) ((bool ) _swigobj->m_deleteSecondBitmap) | |
719 | static PyObject *_wrap_wxToolBarTool_m_deleteSecondBitmap_get(PyObject *self, PyObject *args) { | |
720 | PyObject * _resultobj; | |
721 | bool _result; | |
722 | wxToolBarTool * _arg0; | |
723 | char * _argc0 = 0; | |
724 | ||
725 | self = self; | |
726 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_deleteSecondBitmap_get",&_argc0)) | |
727 | return NULL; | |
728 | if (_argc0) { | |
729 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_deleteSecondBitmap_get. Expected _wxToolBarTool_p."); | |
731 | return NULL; | |
732 | } | |
733 | } | |
734 | _result = (bool )wxToolBarTool_m_deleteSecondBitmap_get(_arg0); | |
735 | _resultobj = Py_BuildValue("i",_result); | |
736 | return _resultobj; | |
737 | } | |
738 | ||
739 | #define wxToolBarTool_m_enabled_set(_swigobj,_swigval) (_swigobj->m_enabled = _swigval,_swigval) | |
740 | static PyObject *_wrap_wxToolBarTool_m_enabled_set(PyObject *self, PyObject *args) { | |
741 | PyObject * _resultobj; | |
742 | bool _result; | |
743 | wxToolBarTool * _arg0; | |
744 | bool _arg1; | |
745 | char * _argc0 = 0; | |
746 | int tempbool1; | |
747 | ||
748 | self = self; | |
749 | if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_enabled_set",&_argc0,&tempbool1)) | |
750 | return NULL; | |
751 | if (_argc0) { | |
752 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_set. Expected _wxToolBarTool_p."); | |
754 | return NULL; | |
755 | } | |
756 | } | |
757 | _arg1 = (bool ) tempbool1; | |
758 | _result = (bool )wxToolBarTool_m_enabled_set(_arg0,_arg1); | |
759 | _resultobj = Py_BuildValue("i",_result); | |
760 | return _resultobj; | |
761 | } | |
762 | ||
763 | #define wxToolBarTool_m_enabled_get(_swigobj) ((bool ) _swigobj->m_enabled) | |
764 | static PyObject *_wrap_wxToolBarTool_m_enabled_get(PyObject *self, PyObject *args) { | |
765 | PyObject * _resultobj; | |
766 | bool _result; | |
767 | wxToolBarTool * _arg0; | |
768 | char * _argc0 = 0; | |
769 | ||
770 | self = self; | |
771 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_enabled_get",&_argc0)) | |
772 | return NULL; | |
773 | if (_argc0) { | |
774 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_enabled_get. Expected _wxToolBarTool_p."); | |
776 | return NULL; | |
777 | } | |
778 | } | |
779 | _result = (bool )wxToolBarTool_m_enabled_get(_arg0); | |
780 | _resultobj = Py_BuildValue("i",_result); | |
781 | return _resultobj; | |
782 | } | |
783 | ||
784 | #define wxToolBarTool_m_bitmap1_set(_swigobj,_swigval) (_swigobj->m_bitmap1 = *(_swigval),_swigval) | |
785 | static PyObject *_wrap_wxToolBarTool_m_bitmap1_set(PyObject *self, PyObject *args) { | |
786 | PyObject * _resultobj; | |
787 | wxBitmap * _result; | |
788 | wxToolBarTool * _arg0; | |
789 | wxBitmap * _arg1; | |
790 | char * _argc0 = 0; | |
791 | char * _argc1 = 0; | |
792 | char _ptemp[128]; | |
793 | ||
794 | self = self; | |
795 | if(!PyArg_ParseTuple(args,"ss:wxToolBarTool_m_bitmap1_set",&_argc0,&_argc1)) | |
796 | return NULL; | |
797 | if (_argc0) { | |
798 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_set. Expected _wxToolBarTool_p."); | |
800 | return NULL; | |
801 | } | |
802 | } | |
803 | if (_argc1) { | |
804 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) { | |
805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap1_set. Expected _wxBitmap_p."); | |
806 | return NULL; | |
807 | } | |
808 | } | |
809 | _result = (wxBitmap *)wxToolBarTool_m_bitmap1_set(_arg0,_arg1); | |
810 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
811 | _resultobj = Py_BuildValue("s",_ptemp); | |
812 | return _resultobj; | |
813 | } | |
814 | ||
815 | #define wxToolBarTool_m_bitmap1_get(_swigobj) (&_swigobj->m_bitmap1) | |
816 | static PyObject *_wrap_wxToolBarTool_m_bitmap1_get(PyObject *self, PyObject *args) { | |
817 | PyObject * _resultobj; | |
818 | wxBitmap * _result; | |
819 | wxToolBarTool * _arg0; | |
820 | char * _argc0 = 0; | |
821 | char _ptemp[128]; | |
822 | ||
823 | self = self; | |
824 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_bitmap1_get",&_argc0)) | |
825 | return NULL; | |
826 | if (_argc0) { | |
827 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap1_get. Expected _wxToolBarTool_p."); | |
829 | return NULL; | |
830 | } | |
831 | } | |
832 | _result = (wxBitmap *)wxToolBarTool_m_bitmap1_get(_arg0); | |
833 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
834 | _resultobj = Py_BuildValue("s",_ptemp); | |
835 | return _resultobj; | |
836 | } | |
837 | ||
838 | #define wxToolBarTool_m_bitmap2_set(_swigobj,_swigval) (_swigobj->m_bitmap2 = *(_swigval),_swigval) | |
839 | static PyObject *_wrap_wxToolBarTool_m_bitmap2_set(PyObject *self, PyObject *args) { | |
840 | PyObject * _resultobj; | |
841 | wxBitmap * _result; | |
842 | wxToolBarTool * _arg0; | |
843 | wxBitmap * _arg1; | |
844 | char * _argc0 = 0; | |
845 | char * _argc1 = 0; | |
846 | char _ptemp[128]; | |
847 | ||
848 | self = self; | |
849 | if(!PyArg_ParseTuple(args,"ss:wxToolBarTool_m_bitmap2_set",&_argc0,&_argc1)) | |
850 | return NULL; | |
851 | if (_argc0) { | |
852 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_set. Expected _wxToolBarTool_p."); | |
854 | return NULL; | |
855 | } | |
856 | } | |
857 | if (_argc1) { | |
858 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) { | |
859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarTool_m_bitmap2_set. Expected _wxBitmap_p."); | |
860 | return NULL; | |
861 | } | |
862 | } | |
863 | _result = (wxBitmap *)wxToolBarTool_m_bitmap2_set(_arg0,_arg1); | |
864 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
865 | _resultobj = Py_BuildValue("s",_ptemp); | |
866 | return _resultobj; | |
867 | } | |
868 | ||
869 | #define wxToolBarTool_m_bitmap2_get(_swigobj) (&_swigobj->m_bitmap2) | |
870 | static PyObject *_wrap_wxToolBarTool_m_bitmap2_get(PyObject *self, PyObject *args) { | |
871 | PyObject * _resultobj; | |
872 | wxBitmap * _result; | |
873 | wxToolBarTool * _arg0; | |
874 | char * _argc0 = 0; | |
875 | char _ptemp[128]; | |
876 | ||
877 | self = self; | |
878 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_bitmap2_get",&_argc0)) | |
879 | return NULL; | |
880 | if (_argc0) { | |
881 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_bitmap2_get. Expected _wxToolBarTool_p."); | |
883 | return NULL; | |
884 | } | |
885 | } | |
886 | _result = (wxBitmap *)wxToolBarTool_m_bitmap2_get(_arg0); | |
887 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
888 | _resultobj = Py_BuildValue("s",_ptemp); | |
889 | return _resultobj; | |
890 | } | |
891 | ||
892 | #define wxToolBarTool_m_isMenuCommand_set(_swigobj,_swigval) (_swigobj->m_isMenuCommand = _swigval,_swigval) | |
893 | static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_set(PyObject *self, PyObject *args) { | |
894 | PyObject * _resultobj; | |
895 | bool _result; | |
896 | wxToolBarTool * _arg0; | |
897 | bool _arg1; | |
898 | char * _argc0 = 0; | |
899 | int tempbool1; | |
900 | ||
901 | self = self; | |
902 | if(!PyArg_ParseTuple(args,"si:wxToolBarTool_m_isMenuCommand_set",&_argc0,&tempbool1)) | |
903 | return NULL; | |
904 | if (_argc0) { | |
905 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_set. Expected _wxToolBarTool_p."); | |
907 | return NULL; | |
908 | } | |
909 | } | |
910 | _arg1 = (bool ) tempbool1; | |
911 | _result = (bool )wxToolBarTool_m_isMenuCommand_set(_arg0,_arg1); | |
912 | _resultobj = Py_BuildValue("i",_result); | |
913 | return _resultobj; | |
914 | } | |
915 | ||
916 | #define wxToolBarTool_m_isMenuCommand_get(_swigobj) ((bool ) _swigobj->m_isMenuCommand) | |
917 | static PyObject *_wrap_wxToolBarTool_m_isMenuCommand_get(PyObject *self, PyObject *args) { | |
918 | PyObject * _resultobj; | |
919 | bool _result; | |
920 | wxToolBarTool * _arg0; | |
921 | char * _argc0 = 0; | |
922 | ||
923 | self = self; | |
924 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_isMenuCommand_get",&_argc0)) | |
925 | return NULL; | |
926 | if (_argc0) { | |
927 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_isMenuCommand_get. Expected _wxToolBarTool_p."); | |
929 | return NULL; | |
930 | } | |
931 | } | |
932 | _result = (bool )wxToolBarTool_m_isMenuCommand_get(_arg0); | |
933 | _resultobj = Py_BuildValue("i",_result); | |
934 | return _resultobj; | |
935 | } | |
936 | ||
937 | #define wxToolBarTool_m_shortHelpString_set(_swigobj,_swigval) (_swigobj->m_shortHelpString = *(_swigval),_swigval) | |
938 | static PyObject *_wrap_wxToolBarTool_m_shortHelpString_set(PyObject *self, PyObject *args) { | |
939 | PyObject * _resultobj; | |
940 | wxString * _result; | |
941 | wxToolBarTool * _arg0; | |
942 | wxString * _arg1; | |
943 | char * _argc0 = 0; | |
944 | PyObject * _obj1 = 0; | |
945 | ||
946 | self = self; | |
947 | if(!PyArg_ParseTuple(args,"sO:wxToolBarTool_m_shortHelpString_set",&_argc0,&_obj1)) | |
948 | return NULL; | |
949 | if (_argc0) { | |
950 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_set. Expected _wxToolBarTool_p."); | |
952 | return NULL; | |
953 | } | |
954 | } | |
955 | { | |
956 | if (!PyString_Check(_obj1)) { | |
957 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
958 | return NULL; | |
959 | } | |
960 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
961 | } | |
962 | _result = (wxString *)wxToolBarTool_m_shortHelpString_set(_arg0,_arg1); | |
963 | { | |
964 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
965 | } | |
966 | { | |
967 | if (_obj1) | |
968 | delete _arg1; | |
969 | } | |
970 | return _resultobj; | |
971 | } | |
972 | ||
973 | #define wxToolBarTool_m_shortHelpString_get(_swigobj) (&_swigobj->m_shortHelpString) | |
974 | static PyObject *_wrap_wxToolBarTool_m_shortHelpString_get(PyObject *self, PyObject *args) { | |
975 | PyObject * _resultobj; | |
976 | wxString * _result; | |
977 | wxToolBarTool * _arg0; | |
978 | char * _argc0 = 0; | |
979 | ||
980 | self = self; | |
981 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_shortHelpString_get",&_argc0)) | |
982 | return NULL; | |
983 | if (_argc0) { | |
984 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_shortHelpString_get. Expected _wxToolBarTool_p."); | |
986 | return NULL; | |
987 | } | |
988 | } | |
989 | _result = (wxString *)wxToolBarTool_m_shortHelpString_get(_arg0); | |
990 | { | |
991 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
992 | } | |
993 | return _resultobj; | |
994 | } | |
995 | ||
996 | #define wxToolBarTool_m_longHelpString_set(_swigobj,_swigval) (_swigobj->m_longHelpString = *(_swigval),_swigval) | |
997 | static PyObject *_wrap_wxToolBarTool_m_longHelpString_set(PyObject *self, PyObject *args) { | |
998 | PyObject * _resultobj; | |
999 | wxString * _result; | |
1000 | wxToolBarTool * _arg0; | |
1001 | wxString * _arg1; | |
1002 | char * _argc0 = 0; | |
1003 | PyObject * _obj1 = 0; | |
1004 | ||
1005 | self = self; | |
1006 | if(!PyArg_ParseTuple(args,"sO:wxToolBarTool_m_longHelpString_set",&_argc0,&_obj1)) | |
1007 | return NULL; | |
1008 | if (_argc0) { | |
1009 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
1010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_set. Expected _wxToolBarTool_p."); | |
1011 | return NULL; | |
1012 | } | |
1013 | } | |
1014 | { | |
1015 | if (!PyString_Check(_obj1)) { | |
1016 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1017 | return NULL; | |
1018 | } | |
1019 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
1020 | } | |
1021 | _result = (wxString *)wxToolBarTool_m_longHelpString_set(_arg0,_arg1); | |
1022 | { | |
1023 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
1024 | } | |
1025 | { | |
1026 | if (_obj1) | |
1027 | delete _arg1; | |
1028 | } | |
1029 | return _resultobj; | |
1030 | } | |
1031 | ||
1032 | #define wxToolBarTool_m_longHelpString_get(_swigobj) (&_swigobj->m_longHelpString) | |
1033 | static PyObject *_wrap_wxToolBarTool_m_longHelpString_get(PyObject *self, PyObject *args) { | |
1034 | PyObject * _resultobj; | |
1035 | wxString * _result; | |
1036 | wxToolBarTool * _arg0; | |
1037 | char * _argc0 = 0; | |
1038 | ||
1039 | self = self; | |
1040 | if(!PyArg_ParseTuple(args,"s:wxToolBarTool_m_longHelpString_get",&_argc0)) | |
1041 | return NULL; | |
1042 | if (_argc0) { | |
1043 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBarTool_p")) { | |
1044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarTool_m_longHelpString_get. Expected _wxToolBarTool_p."); | |
1045 | return NULL; | |
1046 | } | |
1047 | } | |
1048 | _result = (wxString *)wxToolBarTool_m_longHelpString_get(_arg0); | |
1049 | { | |
1050 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
1051 | } | |
1052 | return _resultobj; | |
1053 | } | |
1054 | ||
1055 | static void *SwigwxToolBarTowxControl(void *ptr) { | |
1056 | wxToolBar *src; | |
1057 | wxControl *dest; | |
1058 | src = (wxToolBar *) ptr; | |
1059 | dest = (wxControl *) src; | |
1060 | return (void *) dest; | |
1061 | } | |
1062 | ||
1063 | static void *SwigwxToolBarTowxWindow(void *ptr) { | |
1064 | wxToolBar *src; | |
1065 | wxWindow *dest; | |
1066 | src = (wxToolBar *) ptr; | |
1067 | dest = (wxWindow *) src; | |
1068 | return (void *) dest; | |
1069 | } | |
1070 | ||
1071 | static void *SwigwxToolBarTowxEvtHandler(void *ptr) { | |
1072 | wxToolBar *src; | |
1073 | wxEvtHandler *dest; | |
1074 | src = (wxToolBar *) ptr; | |
1075 | dest = (wxEvtHandler *) src; | |
1076 | return (void *) dest; | |
1077 | } | |
1078 | ||
1079 | #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1080 | static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args) { | |
1081 | PyObject * _resultobj; | |
1082 | wxToolBar * _result; | |
1083 | wxWindow * _arg0; | |
1084 | wxWindowID _arg1; | |
1085 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
1086 | wxSize * _arg3 = &wxPyDefaultSize; | |
1087 | long _arg4 = (wxTB_HORIZONTAL)|(wxNO_BORDER); | |
1088 | char * _arg5 = "toolBar"; | |
1089 | char * _argc0 = 0; | |
1090 | char * _argc2 = 0; | |
1091 | char * _argc3 = 0; | |
1092 | char _ptemp[128]; | |
1093 | ||
1094 | self = self; | |
1095 | if(!PyArg_ParseTuple(args,"si|ssls:new_wxToolBar",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5)) | |
1096 | return NULL; | |
1097 | if (_argc0) { | |
1098 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
1099 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p."); | |
1100 | return NULL; | |
1101 | } | |
1102 | } | |
1103 | if (_argc2) { | |
1104 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
1105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxToolBar. Expected _wxPoint_p."); | |
1106 | return NULL; | |
1107 | } | |
1108 | } | |
1109 | if (_argc3) { | |
1110 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
1111 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxToolBar. Expected _wxSize_p."); | |
1112 | return NULL; | |
1113 | } | |
1114 | } | |
1115 | _result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
1116 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p"); | |
1117 | _resultobj = Py_BuildValue("s",_ptemp); | |
1118 | return _resultobj; | |
1119 | } | |
1120 | ||
1121 | #define wxToolBar_AddSeparator(_swigobj) (_swigobj->AddSeparator()) | |
1122 | static PyObject *_wrap_wxToolBar_AddSeparator(PyObject *self, PyObject *args) { | |
1123 | PyObject * _resultobj; | |
1124 | wxToolBar * _arg0; | |
1125 | char * _argc0 = 0; | |
1126 | ||
1127 | self = self; | |
1128 | if(!PyArg_ParseTuple(args,"s:wxToolBar_AddSeparator",&_argc0)) | |
1129 | return NULL; | |
1130 | if (_argc0) { | |
1131 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1132 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSeparator. Expected _wxToolBar_p."); | |
1133 | return NULL; | |
1134 | } | |
1135 | } | |
1136 | wxToolBar_AddSeparator(_arg0); | |
1137 | Py_INCREF(Py_None); | |
1138 | _resultobj = Py_None; | |
1139 | return _resultobj; | |
1140 | } | |
1141 | ||
1142 | 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) { | |
1143 | return self->AddTool(toolIndex, bitmap1, bitmap2, | |
1144 | isToggle, xPos, yPos, NULL, | |
1145 | shortHelpString, longHelpString); | |
1146 | } | |
1147 | static PyObject *_wrap_wxToolBar_AddTool(PyObject *self, PyObject *args) { | |
1148 | PyObject * _resultobj; | |
1149 | wxToolBarTool * _result; | |
1150 | wxToolBar * _arg0; | |
1151 | int _arg1; | |
1152 | wxBitmap * _arg2; | |
1153 | wxBitmap * _arg3 = &wxNullBitmap; | |
1154 | int _arg4 = (0); | |
1155 | long _arg5 = -1; | |
1156 | long _arg6 = -1; | |
1157 | wxString * _arg7 = &wxPyEmptyStr; | |
1158 | wxString * _arg8 = &wxPyEmptyStr; | |
1159 | char * _argc0 = 0; | |
1160 | char * _argc2 = 0; | |
1161 | char * _argc3 = 0; | |
1162 | PyObject * _obj7 = 0; | |
1163 | PyObject * _obj8 = 0; | |
1164 | char _ptemp[128]; | |
1165 | ||
1166 | self = self; | |
1167 | if(!PyArg_ParseTuple(args,"sis|sillOO:wxToolBar_AddTool",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5,&_arg6,&_obj7,&_obj8)) | |
1168 | return NULL; | |
1169 | if (_argc0) { | |
1170 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddTool. Expected _wxToolBar_p."); | |
1172 | return NULL; | |
1173 | } | |
1174 | } | |
1175 | if (_argc2) { | |
1176 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) { | |
1177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddTool. Expected _wxBitmap_p."); | |
1178 | return NULL; | |
1179 | } | |
1180 | } | |
1181 | if (_argc3) { | |
1182 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxBitmap_p")) { | |
1183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBar_AddTool. Expected _wxBitmap_p."); | |
1184 | return NULL; | |
1185 | } | |
1186 | } | |
1187 | if (_obj7) | |
1188 | { | |
1189 | if (!PyString_Check(_obj7)) { | |
1190 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1191 | return NULL; | |
1192 | } | |
1193 | _arg7 = new wxString(PyString_AsString(_obj7)); | |
1194 | } | |
1195 | if (_obj8) | |
1196 | { | |
1197 | if (!PyString_Check(_obj8)) { | |
1198 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1199 | return NULL; | |
1200 | } | |
1201 | _arg8 = new wxString(PyString_AsString(_obj8)); | |
1202 | } | |
1203 | _result = (wxToolBarTool *)wxToolBar_AddTool(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8); | |
1204 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p"); | |
1205 | _resultobj = Py_BuildValue("s",_ptemp); | |
1206 | { | |
1207 | if (_obj7) | |
1208 | delete _arg7; | |
1209 | } | |
1210 | { | |
1211 | if (_obj8) | |
1212 | delete _arg8; | |
1213 | } | |
1214 | return _resultobj; | |
1215 | } | |
1216 | ||
1217 | static wxToolBarTool * wxToolBar_AddSimpleTool(wxToolBar *self,int toolIndex,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString) { | |
1218 | return self->AddTool(toolIndex, bitmap, wxNullBitmap, | |
1219 | FALSE, -1, -1, NULL, | |
1220 | shortHelpString, longHelpString); | |
1221 | } | |
1222 | static PyObject *_wrap_wxToolBar_AddSimpleTool(PyObject *self, PyObject *args) { | |
1223 | PyObject * _resultobj; | |
1224 | wxToolBarTool * _result; | |
1225 | wxToolBar * _arg0; | |
1226 | int _arg1; | |
1227 | wxBitmap * _arg2; | |
1228 | wxString * _arg3 = &wxPyEmptyStr; | |
1229 | wxString * _arg4 = &wxPyEmptyStr; | |
1230 | char * _argc0 = 0; | |
1231 | char * _argc2 = 0; | |
1232 | PyObject * _obj3 = 0; | |
1233 | PyObject * _obj4 = 0; | |
1234 | char _ptemp[128]; | |
1235 | ||
1236 | self = self; | |
1237 | if(!PyArg_ParseTuple(args,"sis|OO:wxToolBar_AddSimpleTool",&_argc0,&_arg1,&_argc2,&_obj3,&_obj4)) | |
1238 | return NULL; | |
1239 | if (_argc0) { | |
1240 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_AddSimpleTool. Expected _wxToolBar_p."); | |
1242 | return NULL; | |
1243 | } | |
1244 | } | |
1245 | if (_argc2) { | |
1246 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) { | |
1247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBar_AddSimpleTool. Expected _wxBitmap_p."); | |
1248 | return NULL; | |
1249 | } | |
1250 | } | |
1251 | if (_obj3) | |
1252 | { | |
1253 | if (!PyString_Check(_obj3)) { | |
1254 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1255 | return NULL; | |
1256 | } | |
1257 | _arg3 = new wxString(PyString_AsString(_obj3)); | |
1258 | } | |
1259 | if (_obj4) | |
1260 | { | |
1261 | if (!PyString_Check(_obj4)) { | |
1262 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1263 | return NULL; | |
1264 | } | |
1265 | _arg4 = new wxString(PyString_AsString(_obj4)); | |
1266 | } | |
1267 | _result = (wxToolBarTool *)wxToolBar_AddSimpleTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4); | |
1268 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarTool_p"); | |
1269 | _resultobj = Py_BuildValue("s",_ptemp); | |
1270 | { | |
1271 | if (_obj3) | |
1272 | delete _arg3; | |
1273 | } | |
1274 | { | |
1275 | if (_obj4) | |
1276 | delete _arg4; | |
1277 | } | |
1278 | return _resultobj; | |
1279 | } | |
1280 | ||
1281 | #define wxToolBar_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1)) | |
1282 | static PyObject *_wrap_wxToolBar_EnableTool(PyObject *self, PyObject *args) { | |
1283 | PyObject * _resultobj; | |
1284 | wxToolBar * _arg0; | |
1285 | int _arg1; | |
1286 | bool _arg2; | |
1287 | char * _argc0 = 0; | |
1288 | int tempbool2; | |
1289 | ||
1290 | self = self; | |
1291 | if(!PyArg_ParseTuple(args,"sii:wxToolBar_EnableTool",&_argc0,&_arg1,&tempbool2)) | |
1292 | return NULL; | |
1293 | if (_argc0) { | |
1294 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_EnableTool. Expected _wxToolBar_p."); | |
1296 | return NULL; | |
1297 | } | |
1298 | } | |
1299 | _arg2 = (bool ) tempbool2; | |
1300 | wxToolBar_EnableTool(_arg0,_arg1,_arg2); | |
1301 | Py_INCREF(Py_None); | |
1302 | _resultobj = Py_None; | |
1303 | return _resultobj; | |
1304 | } | |
1305 | ||
1306 | #define wxToolBar_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0)) | |
1307 | static PyObject *_wrap_wxToolBar_GetToolEnabled(PyObject *self, PyObject *args) { | |
1308 | PyObject * _resultobj; | |
1309 | bool _result; | |
1310 | wxToolBar * _arg0; | |
1311 | int _arg1; | |
1312 | char * _argc0 = 0; | |
1313 | ||
1314 | self = self; | |
1315 | if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolEnabled",&_argc0,&_arg1)) | |
1316 | return NULL; | |
1317 | if (_argc0) { | |
1318 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1319 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolEnabled. Expected _wxToolBar_p."); | |
1320 | return NULL; | |
1321 | } | |
1322 | } | |
1323 | _result = (bool )wxToolBar_GetToolEnabled(_arg0,_arg1); | |
1324 | _resultobj = Py_BuildValue("i",_result); | |
1325 | return _resultobj; | |
1326 | } | |
1327 | ||
1328 | #define wxToolBar_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0)) | |
1329 | static PyObject *_wrap_wxToolBar_GetToolLongHelp(PyObject *self, PyObject *args) { | |
1330 | PyObject * _resultobj; | |
1331 | wxString * _result; | |
1332 | wxToolBar * _arg0; | |
1333 | int _arg1; | |
1334 | char * _argc0 = 0; | |
1335 | ||
1336 | self = self; | |
1337 | if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolLongHelp",&_argc0,&_arg1)) | |
1338 | return NULL; | |
1339 | if (_argc0) { | |
1340 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolLongHelp. Expected _wxToolBar_p."); | |
1342 | return NULL; | |
1343 | } | |
1344 | } | |
1345 | _result = new wxString (wxToolBar_GetToolLongHelp(_arg0,_arg1)); | |
1346 | { | |
1347 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
1348 | } | |
1349 | { | |
1350 | delete _result; | |
1351 | } | |
1352 | return _resultobj; | |
1353 | } | |
1354 | ||
1355 | #define wxToolBar_GetToolPacking(_swigobj) (_swigobj->GetToolPacking()) | |
1356 | static PyObject *_wrap_wxToolBar_GetToolPacking(PyObject *self, PyObject *args) { | |
1357 | PyObject * _resultobj; | |
1358 | int _result; | |
1359 | wxToolBar * _arg0; | |
1360 | char * _argc0 = 0; | |
1361 | ||
1362 | self = self; | |
1363 | if(!PyArg_ParseTuple(args,"s:wxToolBar_GetToolPacking",&_argc0)) | |
1364 | return NULL; | |
1365 | if (_argc0) { | |
1366 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolPacking. Expected _wxToolBar_p."); | |
1368 | return NULL; | |
1369 | } | |
1370 | } | |
1371 | _result = (int )wxToolBar_GetToolPacking(_arg0); | |
1372 | _resultobj = Py_BuildValue("i",_result); | |
1373 | return _resultobj; | |
1374 | } | |
1375 | ||
1376 | #define wxToolBar_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation()) | |
1377 | static PyObject *_wrap_wxToolBar_GetToolSeparation(PyObject *self, PyObject *args) { | |
1378 | PyObject * _resultobj; | |
1379 | int _result; | |
1380 | wxToolBar * _arg0; | |
1381 | char * _argc0 = 0; | |
1382 | ||
1383 | self = self; | |
1384 | if(!PyArg_ParseTuple(args,"s:wxToolBar_GetToolSeparation",&_argc0)) | |
1385 | return NULL; | |
1386 | if (_argc0) { | |
1387 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolSeparation. Expected _wxToolBar_p."); | |
1389 | return NULL; | |
1390 | } | |
1391 | } | |
1392 | _result = (int )wxToolBar_GetToolSeparation(_arg0); | |
1393 | _resultobj = Py_BuildValue("i",_result); | |
1394 | return _resultobj; | |
1395 | } | |
1396 | ||
1397 | #define wxToolBar_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0)) | |
1398 | static PyObject *_wrap_wxToolBar_GetToolShortHelp(PyObject *self, PyObject *args) { | |
1399 | PyObject * _resultobj; | |
1400 | wxString * _result; | |
1401 | wxToolBar * _arg0; | |
1402 | int _arg1; | |
1403 | char * _argc0 = 0; | |
1404 | ||
1405 | self = self; | |
1406 | if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolShortHelp",&_argc0,&_arg1)) | |
1407 | return NULL; | |
1408 | if (_argc0) { | |
1409 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolShortHelp. Expected _wxToolBar_p."); | |
1411 | return NULL; | |
1412 | } | |
1413 | } | |
1414 | _result = new wxString (wxToolBar_GetToolShortHelp(_arg0,_arg1)); | |
1415 | { | |
1416 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
1417 | } | |
1418 | { | |
1419 | delete _result; | |
1420 | } | |
1421 | return _resultobj; | |
1422 | } | |
1423 | ||
1424 | #define wxToolBar_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0)) | |
1425 | static PyObject *_wrap_wxToolBar_GetToolState(PyObject *self, PyObject *args) { | |
1426 | PyObject * _resultobj; | |
1427 | bool _result; | |
1428 | wxToolBar * _arg0; | |
1429 | int _arg1; | |
1430 | char * _argc0 = 0; | |
1431 | ||
1432 | self = self; | |
1433 | if(!PyArg_ParseTuple(args,"si:wxToolBar_GetToolState",&_argc0,&_arg1)) | |
1434 | return NULL; | |
1435 | if (_argc0) { | |
1436 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_GetToolState. Expected _wxToolBar_p."); | |
1438 | return NULL; | |
1439 | } | |
1440 | } | |
1441 | _result = (bool )wxToolBar_GetToolState(_arg0,_arg1); | |
1442 | _resultobj = Py_BuildValue("i",_result); | |
1443 | return _resultobj; | |
1444 | } | |
1445 | ||
1446 | #define wxToolBar_Realize(_swigobj) (_swigobj->Realize()) | |
1447 | static PyObject *_wrap_wxToolBar_Realize(PyObject *self, PyObject *args) { | |
1448 | PyObject * _resultobj; | |
1449 | bool _result; | |
1450 | wxToolBar * _arg0; | |
1451 | char * _argc0 = 0; | |
1452 | ||
1453 | self = self; | |
1454 | if(!PyArg_ParseTuple(args,"s:wxToolBar_Realize",&_argc0)) | |
1455 | return NULL; | |
1456 | if (_argc0) { | |
1457 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1458 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_Realize. Expected _wxToolBar_p."); | |
1459 | return NULL; | |
1460 | } | |
1461 | } | |
1462 | _result = (bool )wxToolBar_Realize(_arg0); | |
1463 | _resultobj = Py_BuildValue("i",_result); | |
1464 | return _resultobj; | |
1465 | } | |
1466 | ||
1467 | #define wxToolBar_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1)) | |
1468 | static PyObject *_wrap_wxToolBar_SetToolLongHelp(PyObject *self, PyObject *args) { | |
1469 | PyObject * _resultobj; | |
1470 | wxToolBar * _arg0; | |
1471 | int _arg1; | |
1472 | wxString * _arg2; | |
1473 | char * _argc0 = 0; | |
1474 | PyObject * _obj2 = 0; | |
1475 | ||
1476 | self = self; | |
1477 | if(!PyArg_ParseTuple(args,"siO:wxToolBar_SetToolLongHelp",&_argc0,&_arg1,&_obj2)) | |
1478 | return NULL; | |
1479 | if (_argc0) { | |
1480 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolLongHelp. Expected _wxToolBar_p."); | |
1482 | return NULL; | |
1483 | } | |
1484 | } | |
1485 | { | |
1486 | if (!PyString_Check(_obj2)) { | |
1487 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1488 | return NULL; | |
1489 | } | |
1490 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
1491 | } | |
1492 | wxToolBar_SetToolLongHelp(_arg0,_arg1,*_arg2); | |
1493 | Py_INCREF(Py_None); | |
1494 | _resultobj = Py_None; | |
1495 | { | |
1496 | if (_obj2) | |
1497 | delete _arg2; | |
1498 | } | |
1499 | return _resultobj; | |
1500 | } | |
1501 | ||
1502 | #define wxToolBar_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1)) | |
1503 | static PyObject *_wrap_wxToolBar_SetToolShortHelp(PyObject *self, PyObject *args) { | |
1504 | PyObject * _resultobj; | |
1505 | wxToolBar * _arg0; | |
1506 | int _arg1; | |
1507 | wxString * _arg2; | |
1508 | char * _argc0 = 0; | |
1509 | PyObject * _obj2 = 0; | |
1510 | ||
1511 | self = self; | |
1512 | if(!PyArg_ParseTuple(args,"siO:wxToolBar_SetToolShortHelp",&_argc0,&_arg1,&_obj2)) | |
1513 | return NULL; | |
1514 | if (_argc0) { | |
1515 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolShortHelp. Expected _wxToolBar_p."); | |
1517 | return NULL; | |
1518 | } | |
1519 | } | |
1520 | { | |
1521 | if (!PyString_Check(_obj2)) { | |
1522 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1523 | return NULL; | |
1524 | } | |
1525 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
1526 | } | |
1527 | wxToolBar_SetToolShortHelp(_arg0,_arg1,*_arg2); | |
1528 | Py_INCREF(Py_None); | |
1529 | _resultobj = Py_None; | |
1530 | { | |
1531 | if (_obj2) | |
1532 | delete _arg2; | |
1533 | } | |
1534 | return _resultobj; | |
1535 | } | |
1536 | ||
1537 | #define wxToolBar_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0)) | |
1538 | static PyObject *_wrap_wxToolBar_SetMargins(PyObject *self, PyObject *args) { | |
1539 | PyObject * _resultobj; | |
1540 | wxToolBar * _arg0; | |
1541 | wxSize * _arg1; | |
1542 | char * _argc0 = 0; | |
1543 | char * _argc1 = 0; | |
1544 | ||
1545 | self = self; | |
1546 | if(!PyArg_ParseTuple(args,"ss:wxToolBar_SetMargins",&_argc0,&_argc1)) | |
1547 | return NULL; | |
1548 | if (_argc0) { | |
1549 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetMargins. Expected _wxToolBar_p."); | |
1551 | return NULL; | |
1552 | } | |
1553 | } | |
1554 | if (_argc1) { | |
1555 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxSize_p")) { | |
1556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBar_SetMargins. Expected _wxSize_p."); | |
1557 | return NULL; | |
1558 | } | |
1559 | } | |
1560 | wxToolBar_SetMargins(_arg0,*_arg1); | |
1561 | Py_INCREF(Py_None); | |
1562 | _resultobj = Py_None; | |
1563 | return _resultobj; | |
1564 | } | |
1565 | ||
1566 | #define wxToolBar_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0)) | |
1567 | static PyObject *_wrap_wxToolBar_SetToolPacking(PyObject *self, PyObject *args) { | |
1568 | PyObject * _resultobj; | |
1569 | wxToolBar * _arg0; | |
1570 | int _arg1; | |
1571 | char * _argc0 = 0; | |
1572 | ||
1573 | self = self; | |
1574 | if(!PyArg_ParseTuple(args,"si:wxToolBar_SetToolPacking",&_argc0,&_arg1)) | |
1575 | return NULL; | |
1576 | if (_argc0) { | |
1577 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolPacking. Expected _wxToolBar_p."); | |
1579 | return NULL; | |
1580 | } | |
1581 | } | |
1582 | wxToolBar_SetToolPacking(_arg0,_arg1); | |
1583 | Py_INCREF(Py_None); | |
1584 | _resultobj = Py_None; | |
1585 | return _resultobj; | |
1586 | } | |
1587 | ||
1588 | #define wxToolBar_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0)) | |
1589 | static PyObject *_wrap_wxToolBar_SetToolSeparation(PyObject *self, PyObject *args) { | |
1590 | PyObject * _resultobj; | |
1591 | wxToolBar * _arg0; | |
1592 | int _arg1; | |
1593 | char * _argc0 = 0; | |
1594 | ||
1595 | self = self; | |
1596 | if(!PyArg_ParseTuple(args,"si:wxToolBar_SetToolSeparation",&_argc0,&_arg1)) | |
1597 | return NULL; | |
1598 | if (_argc0) { | |
1599 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_SetToolSeparation. Expected _wxToolBar_p."); | |
1601 | return NULL; | |
1602 | } | |
1603 | } | |
1604 | wxToolBar_SetToolSeparation(_arg0,_arg1); | |
1605 | Py_INCREF(Py_None); | |
1606 | _resultobj = Py_None; | |
1607 | return _resultobj; | |
1608 | } | |
1609 | ||
1610 | #define wxToolBar_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1)) | |
1611 | static PyObject *_wrap_wxToolBar_ToggleTool(PyObject *self, PyObject *args) { | |
1612 | PyObject * _resultobj; | |
1613 | wxToolBar * _arg0; | |
1614 | int _arg1; | |
1615 | bool _arg2; | |
1616 | char * _argc0 = 0; | |
1617 | int tempbool2; | |
1618 | ||
1619 | self = self; | |
1620 | if(!PyArg_ParseTuple(args,"sii:wxToolBar_ToggleTool",&_argc0,&_arg1,&tempbool2)) | |
1621 | return NULL; | |
1622 | if (_argc0) { | |
1623 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolBar_p")) { | |
1624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_ToggleTool. Expected _wxToolBar_p."); | |
1625 | return NULL; | |
1626 | } | |
1627 | } | |
1628 | _arg2 = (bool ) tempbool2; | |
1629 | wxToolBar_ToggleTool(_arg0,_arg1,_arg2); | |
1630 | Py_INCREF(Py_None); | |
1631 | _resultobj = Py_None; | |
1632 | return _resultobj; | |
1633 | } | |
1634 | ||
1635 | static PyMethodDef stattoolcMethods[] = { | |
1636 | { "wxToolBar_ToggleTool", _wrap_wxToolBar_ToggleTool, 1 }, | |
1637 | { "wxToolBar_SetToolSeparation", _wrap_wxToolBar_SetToolSeparation, 1 }, | |
1638 | { "wxToolBar_SetToolPacking", _wrap_wxToolBar_SetToolPacking, 1 }, | |
1639 | { "wxToolBar_SetMargins", _wrap_wxToolBar_SetMargins, 1 }, | |
1640 | { "wxToolBar_SetToolShortHelp", _wrap_wxToolBar_SetToolShortHelp, 1 }, | |
1641 | { "wxToolBar_SetToolLongHelp", _wrap_wxToolBar_SetToolLongHelp, 1 }, | |
1642 | { "wxToolBar_Realize", _wrap_wxToolBar_Realize, 1 }, | |
1643 | { "wxToolBar_GetToolState", _wrap_wxToolBar_GetToolState, 1 }, | |
1644 | { "wxToolBar_GetToolShortHelp", _wrap_wxToolBar_GetToolShortHelp, 1 }, | |
1645 | { "wxToolBar_GetToolSeparation", _wrap_wxToolBar_GetToolSeparation, 1 }, | |
1646 | { "wxToolBar_GetToolPacking", _wrap_wxToolBar_GetToolPacking, 1 }, | |
1647 | { "wxToolBar_GetToolLongHelp", _wrap_wxToolBar_GetToolLongHelp, 1 }, | |
1648 | { "wxToolBar_GetToolEnabled", _wrap_wxToolBar_GetToolEnabled, 1 }, | |
1649 | { "wxToolBar_EnableTool", _wrap_wxToolBar_EnableTool, 1 }, | |
1650 | { "wxToolBar_AddSimpleTool", _wrap_wxToolBar_AddSimpleTool, 1 }, | |
1651 | { "wxToolBar_AddTool", _wrap_wxToolBar_AddTool, 1 }, | |
1652 | { "wxToolBar_AddSeparator", _wrap_wxToolBar_AddSeparator, 1 }, | |
1653 | { "new_wxToolBar", _wrap_new_wxToolBar, 1 }, | |
1654 | { "wxToolBarTool_m_longHelpString_get", _wrap_wxToolBarTool_m_longHelpString_get, 1 }, | |
1655 | { "wxToolBarTool_m_longHelpString_set", _wrap_wxToolBarTool_m_longHelpString_set, 1 }, | |
1656 | { "wxToolBarTool_m_shortHelpString_get", _wrap_wxToolBarTool_m_shortHelpString_get, 1 }, | |
1657 | { "wxToolBarTool_m_shortHelpString_set", _wrap_wxToolBarTool_m_shortHelpString_set, 1 }, | |
1658 | { "wxToolBarTool_m_isMenuCommand_get", _wrap_wxToolBarTool_m_isMenuCommand_get, 1 }, | |
1659 | { "wxToolBarTool_m_isMenuCommand_set", _wrap_wxToolBarTool_m_isMenuCommand_set, 1 }, | |
1660 | { "wxToolBarTool_m_bitmap2_get", _wrap_wxToolBarTool_m_bitmap2_get, 1 }, | |
1661 | { "wxToolBarTool_m_bitmap2_set", _wrap_wxToolBarTool_m_bitmap2_set, 1 }, | |
1662 | { "wxToolBarTool_m_bitmap1_get", _wrap_wxToolBarTool_m_bitmap1_get, 1 }, | |
1663 | { "wxToolBarTool_m_bitmap1_set", _wrap_wxToolBarTool_m_bitmap1_set, 1 }, | |
1664 | { "wxToolBarTool_m_enabled_get", _wrap_wxToolBarTool_m_enabled_get, 1 }, | |
1665 | { "wxToolBarTool_m_enabled_set", _wrap_wxToolBarTool_m_enabled_set, 1 }, | |
1666 | { "wxToolBarTool_m_deleteSecondBitmap_get", _wrap_wxToolBarTool_m_deleteSecondBitmap_get, 1 }, | |
1667 | { "wxToolBarTool_m_deleteSecondBitmap_set", _wrap_wxToolBarTool_m_deleteSecondBitmap_set, 1 }, | |
1668 | { "wxToolBarTool_m_isToggle_get", _wrap_wxToolBarTool_m_isToggle_get, 1 }, | |
1669 | { "wxToolBarTool_m_isToggle_set", _wrap_wxToolBarTool_m_isToggle_set, 1 }, | |
1670 | { "wxToolBarTool_m_toggleState_get", _wrap_wxToolBarTool_m_toggleState_get, 1 }, | |
1671 | { "wxToolBarTool_m_toggleState_set", _wrap_wxToolBarTool_m_toggleState_set, 1 }, | |
1672 | { "wxToolBarTool_m_index_get", _wrap_wxToolBarTool_m_index_get, 1 }, | |
1673 | { "wxToolBarTool_m_index_set", _wrap_wxToolBarTool_m_index_set, 1 }, | |
1674 | { "wxToolBarTool_m_clientData_get", _wrap_wxToolBarTool_m_clientData_get, 1 }, | |
1675 | { "wxToolBarTool_m_clientData_set", _wrap_wxToolBarTool_m_clientData_set, 1 }, | |
1676 | { "wxToolBarTool_m_toolStyle_get", _wrap_wxToolBarTool_m_toolStyle_get, 1 }, | |
1677 | { "wxToolBarTool_m_toolStyle_set", _wrap_wxToolBarTool_m_toolStyle_set, 1 }, | |
1678 | { "delete_wxToolBarTool", _wrap_delete_wxToolBarTool, 1 }, | |
1679 | { "new_wxToolBarTool", _wrap_new_wxToolBarTool, 1 }, | |
1680 | { "wxStatusBar_SetStatusWidths", _wrap_wxStatusBar_SetStatusWidths, 1 }, | |
1681 | { "wxStatusBar_SetStatusText", _wrap_wxStatusBar_SetStatusText, 1 }, | |
1682 | { "wxStatusBar_SetFieldsCount", _wrap_wxStatusBar_SetFieldsCount, 1 }, | |
1683 | { "wxStatusBar_InitColours", _wrap_wxStatusBar_InitColours, 1 }, | |
1684 | { "wxStatusBar_DrawFieldText", _wrap_wxStatusBar_DrawFieldText, 1 }, | |
1685 | { "wxStatusBar_DrawField", _wrap_wxStatusBar_DrawField, 1 }, | |
1686 | { "wxStatusBar_GetStatusText", _wrap_wxStatusBar_GetStatusText, 1 }, | |
1687 | { "wxStatusBar_GetFieldsCount", _wrap_wxStatusBar_GetFieldsCount, 1 }, | |
1688 | { "wxStatusBar_GetFieldRect", _wrap_wxStatusBar_GetFieldRect, 1 }, | |
1689 | { "new_wxStatusBar", _wrap_new_wxStatusBar, 1 }, | |
1690 | { NULL, NULL } | |
1691 | }; | |
1692 | static PyObject *SWIG_globals; | |
1693 | #ifdef __cplusplus | |
1694 | extern "C" | |
1695 | #endif | |
1696 | SWIGEXPORT(void,initstattoolc)() { | |
1697 | PyObject *m, *d; | |
1698 | SWIG_globals = SWIG_newvarlink(); | |
1699 | m = Py_InitModule("stattoolc", stattoolcMethods); | |
1700 | d = PyModule_GetDict(m); | |
1701 | /* | |
1702 | * These are the pointer type-equivalency mappings. | |
1703 | * (Used by the SWIG pointer type-checker). | |
1704 | */ | |
1705 | SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0); | |
1706 | SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0); | |
1707 | SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0); | |
1708 | SWIG_RegisterMapping("_signed_long","_long",0); | |
1709 | SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0); | |
1710 | SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0); | |
1711 | SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0); | |
1712 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler); | |
1713 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler); | |
1714 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler); | |
1715 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler); | |
1716 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0); | |
1717 | SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0); | |
1718 | SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0); | |
1719 | SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0); | |
1720 | SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0); | |
1721 | SWIG_RegisterMapping("_wxMask","_class_wxMask",0); | |
1722 | SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0); | |
1723 | SWIG_RegisterMapping("_wxPen","_class_wxPen",0); | |
1724 | SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0); | |
1725 | SWIG_RegisterMapping("_byte","_unsigned_char",0); | |
1726 | SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0); | |
1727 | SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0); | |
1728 | SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0); | |
1729 | SWIG_RegisterMapping("_long","_wxDash",0); | |
1730 | SWIG_RegisterMapping("_long","_unsigned_long",0); | |
1731 | SWIG_RegisterMapping("_long","_signed_long",0); | |
1732 | SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0); | |
1733 | SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0); | |
1734 | SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0); | |
1735 | SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0); | |
1736 | SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0); | |
1737 | SWIG_RegisterMapping("_wxDC","_class_wxDC",0); | |
1738 | SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0); | |
1739 | SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0); | |
1740 | SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0); | |
1741 | SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0); | |
1742 | SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0); | |
1743 | SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0); | |
1744 | SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0); | |
1745 | SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0); | |
1746 | SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0); | |
1747 | SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0); | |
1748 | SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0); | |
1749 | SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0); | |
1750 | SWIG_RegisterMapping("_class_wxMask","_wxMask",0); | |
1751 | SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0); | |
1752 | SWIG_RegisterMapping("_wxColour","_class_wxColour",0); | |
1753 | SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0); | |
1754 | SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0); | |
1755 | SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0); | |
1756 | SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0); | |
1757 | SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0); | |
1758 | SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0); | |
1759 | SWIG_RegisterMapping("_uint","_unsigned_int",0); | |
1760 | SWIG_RegisterMapping("_uint","_int",0); | |
1761 | SWIG_RegisterMapping("_uint","_wxWindowID",0); | |
1762 | SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0); | |
1763 | SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0); | |
1764 | SWIG_RegisterMapping("_wxRect","_class_wxRect",0); | |
1765 | SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0); | |
1766 | SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0); | |
1767 | SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0); | |
1768 | SWIG_RegisterMapping("_class_wxButton","_wxButton",0); | |
1769 | SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0); | |
1770 | SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0); | |
1771 | SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0); | |
1772 | SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0); | |
1773 | SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0); | |
1774 | SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0); | |
1775 | SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0); | |
1776 | SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0); | |
1777 | SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0); | |
1778 | SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0); | |
1779 | SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0); | |
1780 | SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0); | |
1781 | SWIG_RegisterMapping("_EBool","_signed_int",0); | |
1782 | SWIG_RegisterMapping("_EBool","_int",0); | |
1783 | SWIG_RegisterMapping("_EBool","_wxWindowID",0); | |
1784 | SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0); | |
1785 | SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0); | |
1786 | SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0); | |
1787 | SWIG_RegisterMapping("_wxFont","_class_wxFont",0); | |
1788 | SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0); | |
1789 | SWIG_RegisterMapping("_unsigned_long","_wxDash",0); | |
1790 | SWIG_RegisterMapping("_unsigned_long","_long",0); | |
1791 | SWIG_RegisterMapping("_class_wxRect","_wxRect",0); | |
1792 | SWIG_RegisterMapping("_class_wxDC","_wxDC",0); | |
1793 | SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0); | |
1794 | SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0); | |
1795 | SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0); | |
1796 | SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0); | |
1797 | SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0); | |
1798 | SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0); | |
1799 | SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0); | |
1800 | SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0); | |
1801 | SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0); | |
1802 | SWIG_RegisterMapping("_signed_int","_EBool",0); | |
1803 | SWIG_RegisterMapping("_signed_int","_wxWindowID",0); | |
1804 | SWIG_RegisterMapping("_signed_int","_int",0); | |
1805 | SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0); | |
1806 | SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0); | |
1807 | SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0); | |
1808 | SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0); | |
1809 | SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0); | |
1810 | SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0); | |
1811 | SWIG_RegisterMapping("_WXTYPE","_short",0); | |
1812 | SWIG_RegisterMapping("_WXTYPE","_signed_short",0); | |
1813 | SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0); | |
1814 | SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0); | |
1815 | SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0); | |
1816 | SWIG_RegisterMapping("_unsigned_short","_short",0); | |
1817 | SWIG_RegisterMapping("_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow); | |
1818 | SWIG_RegisterMapping("_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow); | |
1819 | SWIG_RegisterMapping("_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow); | |
1820 | SWIG_RegisterMapping("_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow); | |
1821 | SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0); | |
1822 | SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0); | |
1823 | SWIG_RegisterMapping("_class_wxFont","_wxFont",0); | |
1824 | SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0); | |
1825 | SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0); | |
1826 | SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0); | |
1827 | SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0); | |
1828 | SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0); | |
1829 | SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0); | |
1830 | SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0); | |
1831 | SWIG_RegisterMapping("_signed_short","_WXTYPE",0); | |
1832 | SWIG_RegisterMapping("_signed_short","_short",0); | |
1833 | SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0); | |
1834 | SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0); | |
1835 | SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0); | |
1836 | SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0); | |
1837 | SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0); | |
1838 | SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0); | |
1839 | SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0); | |
1840 | SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0); | |
1841 | SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0); | |
1842 | SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0); | |
1843 | SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0); | |
1844 | SWIG_RegisterMapping("_unsigned_char","_byte",0); | |
1845 | SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0); | |
1846 | SWIG_RegisterMapping("_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl); | |
1847 | SWIG_RegisterMapping("_wxControl","_wxToolBar",SwigwxToolBarTowxControl); | |
1848 | SWIG_RegisterMapping("_wxControl","_class_wxControl",0); | |
1849 | SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0); | |
1850 | SWIG_RegisterMapping("_unsigned_int","_uint",0); | |
1851 | SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0); | |
1852 | SWIG_RegisterMapping("_unsigned_int","_int",0); | |
1853 | SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0); | |
1854 | SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0); | |
1855 | SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0); | |
1856 | SWIG_RegisterMapping("_class_wxPen","_wxPen",0); | |
1857 | SWIG_RegisterMapping("_short","_WXTYPE",0); | |
1858 | SWIG_RegisterMapping("_short","_unsigned_short",0); | |
1859 | SWIG_RegisterMapping("_short","_signed_short",0); | |
1860 | SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0); | |
1861 | SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0); | |
1862 | SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0); | |
1863 | SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0); | |
1864 | SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0); | |
1865 | SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0); | |
1866 | SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0); | |
1867 | SWIG_RegisterMapping("_wxWindowID","_EBool",0); | |
1868 | SWIG_RegisterMapping("_wxWindowID","_uint",0); | |
1869 | SWIG_RegisterMapping("_wxWindowID","_int",0); | |
1870 | SWIG_RegisterMapping("_wxWindowID","_signed_int",0); | |
1871 | SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0); | |
1872 | SWIG_RegisterMapping("_int","_EBool",0); | |
1873 | SWIG_RegisterMapping("_int","_uint",0); | |
1874 | SWIG_RegisterMapping("_int","_wxWindowID",0); | |
1875 | SWIG_RegisterMapping("_int","_unsigned_int",0); | |
1876 | SWIG_RegisterMapping("_int","_signed_int",0); | |
1877 | SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0); | |
1878 | SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0); | |
1879 | SWIG_RegisterMapping("_wxButton","_class_wxButton",0); | |
1880 | SWIG_RegisterMapping("_wxSize","_class_wxSize",0); | |
1881 | SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0); | |
1882 | SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0); | |
1883 | SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0); | |
1884 | SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0); | |
1885 | SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0); | |
1886 | SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0); | |
1887 | SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0); | |
1888 | SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0); | |
1889 | SWIG_RegisterMapping("_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl); | |
1890 | SWIG_RegisterMapping("_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl); | |
1891 | SWIG_RegisterMapping("_class_wxControl","_wxControl",0); | |
1892 | SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0); | |
1893 | SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0); | |
1894 | SWIG_RegisterMapping("_class_wxColour","_wxColour",0); | |
1895 | SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0); | |
1896 | SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0); | |
1897 | SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0); | |
1898 | SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0); | |
1899 | SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0); | |
1900 | SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0); | |
1901 | SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0); | |
1902 | SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0); | |
1903 | SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0); | |
1904 | SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0); | |
1905 | SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0); | |
1906 | SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0); | |
1907 | SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0); | |
1908 | SWIG_RegisterMapping("_class_wxSize","_wxSize",0); | |
1909 | SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0); | |
1910 | SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0); | |
1911 | SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0); | |
1912 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler); | |
1913 | SWIG_RegisterMapping("_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler); | |
1914 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler); | |
1915 | SWIG_RegisterMapping("_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler); | |
1916 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0); | |
1917 | SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0); | |
1918 | SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0); | |
1919 | SWIG_RegisterMapping("_wxDash","_unsigned_long",0); | |
1920 | SWIG_RegisterMapping("_wxDash","_long",0); | |
1921 | SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0); | |
1922 | SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0); | |
1923 | SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0); | |
1924 | SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0); | |
1925 | SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0); | |
1926 | SWIG_RegisterMapping("_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow); | |
1927 | SWIG_RegisterMapping("_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow); | |
1928 | SWIG_RegisterMapping("_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow); | |
1929 | SWIG_RegisterMapping("_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow); | |
1930 | SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0); | |
1931 | } |