]>
Commit | Line | Data |
---|---|---|
9c039d08 RD |
1 | /* |
2 | * FILE : msw/stattool.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
1afc06c2 | 6 | * Version 1.1 (Build 810) |
9c039d08 RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
1d99702e | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
9c039d08 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
1d99702e | 30 | # define SWIGEXPORT(a) a _export |
9c039d08 | 31 | # else |
1d99702e | 32 | # define SWIGEXPORT(a) a |
9c039d08 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
1d99702e | 36 | # define SWIGEXPORT(a) a |
9c039d08 RD |
37 | #endif |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
1d99702e | 46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
9c039d08 RD |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
9c039d08 RD |
52 | #define SWIG_init initstattoolc |
53 | ||
54 | #define SWIG_name "stattoolc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/toolbar.h> | |
58 | #include <wx/tbarsmpl.h> | |
59 | ||
60 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
61 | PyObject* o2; | |
1d99702e RD |
62 | PyObject* o3; |
63 | if (!target) { | |
9c039d08 | 64 | target = o; |
1d99702e | 65 | } else if (target == Py_None) { |
9c039d08 RD |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
1d99702e | 68 | } else { |
9c039d08 RD |
69 | if (!PyList_Check(target)) { |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
1d99702e | 85 | if (!target) { |
9c039d08 | 86 | target = o; |
1d99702e | 87 | } else if (target == Py_None) { |
9c039d08 RD |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
1d99702e | 90 | } else { |
9c039d08 RD |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
1d99702e RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
9c039d08 RD |
98 | |
99 | o2 = target; | |
1d99702e RD |
100 | target = PySequence_Concat(o2, o3); |
101 | Py_DECREF(o2); | |
9c039d08 RD |
102 | Py_DECREF(o3); |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
9c039d08 | 107 | static char* wxStringErrorMsg = "string type is required for parameter"; |
1d99702e RD |
108 | #ifdef __cplusplus |
109 | extern "C" { | |
110 | #endif | |
9c039d08 RD |
111 | static void *SwigwxStatusBarTowxWindow(void *ptr) { |
112 | wxStatusBar *src; | |
113 | wxWindow *dest; | |
114 | src = (wxStatusBar *) ptr; | |
115 | dest = (wxWindow *) src; | |
116 | return (void *) dest; | |
117 | } | |
118 | ||
119 | static void *SwigwxStatusBarTowxEvtHandler(void *ptr) { | |
120 | wxStatusBar *src; | |
121 | wxEvtHandler *dest; | |
122 | src = (wxStatusBar *) ptr; | |
123 | dest = (wxEvtHandler *) src; | |
124 | return (void *) dest; | |
125 | } | |
126 | ||
127 | #define new_wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStatusBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
efc5f224 | 128 | static PyObject *_wrap_new_wxStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
129 | PyObject * _resultobj; |
130 | wxStatusBar * _result; | |
131 | wxWindow * _arg0; | |
132 | wxWindowID _arg1; | |
1d99702e RD |
133 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; |
134 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
135 | long _arg4 = (long ) wxST_SIZEGRIP; | |
136 | char * _arg5 = (char *) "statusBar"; | |
137 | PyObject * _argo0 = 0; | |
2f90df85 RD |
138 | wxPoint temp; |
139 | PyObject * _obj2 = 0; | |
140 | wxSize temp0; | |
141 | PyObject * _obj3 = 0; | |
efc5f224 | 142 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
9c039d08 RD |
143 | char _ptemp[128]; |
144 | ||
145 | self = self; | |
2f90df85 | 146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStatusBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) |
9c039d08 | 147 | return NULL; |
1d99702e RD |
148 | if (_argo0) { |
149 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
150 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
9c039d08 RD |
151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStatusBar. Expected _wxWindow_p."); |
152 | return NULL; | |
153 | } | |
154 | } | |
2f90df85 RD |
155 | if (_obj2) |
156 | { | |
157 | _arg2 = &temp; | |
158 | if (! wxPoint_helper(_obj2, &_arg2)) | |
9c039d08 | 159 | return NULL; |
2f90df85 RD |
160 | } |
161 | if (_obj3) | |
162 | { | |
163 | _arg3 = &temp0; | |
164 | if (! wxSize_helper(_obj3, &_arg3)) | |
9c039d08 | 165 | return NULL; |
2f90df85 | 166 | } |
cf694132 RD |
167 | { |
168 | wxPy_BEGIN_ALLOW_THREADS; | |
169 | _result = (wxStatusBar *)new_wxStatusBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
170 | ||
171 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
172 | } if (_result) { |
173 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStatusBar_p"); | |
174 | _resultobj = Py_BuildValue("s",_ptemp); | |
175 | } else { | |
176 | Py_INCREF(Py_None); | |
177 | _resultobj = Py_None; | |
178 | } | |
9c039d08 RD |
179 | return _resultobj; |
180 | } | |
181 | ||
182 | static wxRect * wxStatusBar_GetFieldRect(wxStatusBar *self,long item) { | |
183 | wxRect* rect= new wxRect; | |
184 | self->GetFieldRect(item, *rect); | |
185 | return rect; | |
186 | } | |
efc5f224 | 187 | static PyObject *_wrap_wxStatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
188 | PyObject * _resultobj; |
189 | wxRect * _result; | |
190 | wxStatusBar * _arg0; | |
191 | long _arg1; | |
1d99702e | 192 | PyObject * _argo0 = 0; |
efc5f224 | 193 | char *_kwnames[] = { "self","item", NULL }; |
9c039d08 RD |
194 | char _ptemp[128]; |
195 | ||
196 | self = self; | |
efc5f224 | 197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxStatusBar_GetFieldRect",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 198 | return NULL; |
1d99702e RD |
199 | if (_argo0) { |
200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldRect. Expected _wxStatusBar_p."); |
203 | return NULL; | |
204 | } | |
205 | } | |
cf694132 RD |
206 | { |
207 | wxPy_BEGIN_ALLOW_THREADS; | |
208 | _result = (wxRect *)wxStatusBar_GetFieldRect(_arg0,_arg1); | |
209 | ||
210 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
211 | } if (_result) { |
212 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p"); | |
213 | _resultobj = Py_BuildValue("s",_ptemp); | |
214 | } else { | |
215 | Py_INCREF(Py_None); | |
216 | _resultobj = Py_None; | |
217 | } | |
9c039d08 RD |
218 | return _resultobj; |
219 | } | |
220 | ||
221 | #define wxStatusBar_GetFieldsCount(_swigobj) (_swigobj->GetFieldsCount()) | |
efc5f224 | 222 | static PyObject *_wrap_wxStatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
223 | PyObject * _resultobj; |
224 | int _result; | |
225 | wxStatusBar * _arg0; | |
1d99702e | 226 | PyObject * _argo0 = 0; |
efc5f224 | 227 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
228 | |
229 | self = self; | |
efc5f224 | 230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStatusBar_GetFieldsCount",_kwnames,&_argo0)) |
9c039d08 | 231 | return NULL; |
1d99702e RD |
232 | if (_argo0) { |
233 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
234 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetFieldsCount. Expected _wxStatusBar_p."); |
236 | return NULL; | |
237 | } | |
238 | } | |
cf694132 RD |
239 | { |
240 | wxPy_BEGIN_ALLOW_THREADS; | |
241 | _result = (int )wxStatusBar_GetFieldsCount(_arg0); | |
242 | ||
243 | wxPy_END_ALLOW_THREADS; | |
244 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
245 | return _resultobj; |
246 | } | |
247 | ||
248 | #define wxStatusBar_GetStatusText(_swigobj,_swigarg0) (_swigobj->GetStatusText(_swigarg0)) | |
efc5f224 | 249 | static PyObject *_wrap_wxStatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
250 | PyObject * _resultobj; |
251 | wxString * _result; | |
252 | wxStatusBar * _arg0; | |
1d99702e RD |
253 | int _arg1 = (int ) 0; |
254 | PyObject * _argo0 = 0; | |
efc5f224 | 255 | char *_kwnames[] = { "self","ir", NULL }; |
9c039d08 RD |
256 | |
257 | self = self; | |
efc5f224 | 258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxStatusBar_GetStatusText",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 259 | return NULL; |
1d99702e RD |
260 | if (_argo0) { |
261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_GetStatusText. Expected _wxStatusBar_p."); |
264 | return NULL; | |
265 | } | |
266 | } | |
9c039d08 | 267 | { |
cf694132 RD |
268 | wxPy_BEGIN_ALLOW_THREADS; |
269 | _result = new wxString (wxStatusBar_GetStatusText(_arg0,_arg1)); | |
270 | ||
271 | wxPy_END_ALLOW_THREADS; | |
272 | }{ | |
9c039d08 RD |
273 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); |
274 | } | |
275 | { | |
276 | delete _result; | |
277 | } | |
278 | return _resultobj; | |
279 | } | |
280 | ||
281 | #define wxStatusBar_DrawField(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawField(_swigarg0,_swigarg1)) | |
efc5f224 | 282 | static PyObject *_wrap_wxStatusBar_DrawField(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
283 | PyObject * _resultobj; |
284 | wxStatusBar * _arg0; | |
285 | wxDC * _arg1; | |
286 | int _arg2; | |
1d99702e RD |
287 | PyObject * _argo0 = 0; |
288 | PyObject * _argo1 = 0; | |
efc5f224 | 289 | char *_kwnames[] = { "self","dc","i", NULL }; |
9c039d08 RD |
290 | |
291 | self = self; | |
efc5f224 | 292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxStatusBar_DrawField",_kwnames,&_argo0,&_argo1,&_arg2)) |
9c039d08 | 293 | return NULL; |
1d99702e RD |
294 | if (_argo0) { |
295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawField. Expected _wxStatusBar_p."); |
298 | return NULL; | |
299 | } | |
300 | } | |
1d99702e RD |
301 | if (_argo1) { |
302 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
303 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9c039d08 RD |
304 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawField. Expected _wxDC_p."); |
305 | return NULL; | |
306 | } | |
307 | } | |
cf694132 RD |
308 | { |
309 | wxPy_BEGIN_ALLOW_THREADS; | |
310 | wxStatusBar_DrawField(_arg0,*_arg1,_arg2); | |
311 | ||
312 | wxPy_END_ALLOW_THREADS; | |
313 | } Py_INCREF(Py_None); | |
9c039d08 RD |
314 | _resultobj = Py_None; |
315 | return _resultobj; | |
316 | } | |
317 | ||
318 | #define wxStatusBar_DrawFieldText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawFieldText(_swigarg0,_swigarg1)) | |
efc5f224 | 319 | static PyObject *_wrap_wxStatusBar_DrawFieldText(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
320 | PyObject * _resultobj; |
321 | wxStatusBar * _arg0; | |
322 | wxDC * _arg1; | |
323 | int _arg2; | |
1d99702e RD |
324 | PyObject * _argo0 = 0; |
325 | PyObject * _argo1 = 0; | |
efc5f224 | 326 | char *_kwnames[] = { "self","dc","i", NULL }; |
9c039d08 RD |
327 | |
328 | self = self; | |
efc5f224 | 329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxStatusBar_DrawFieldText",_kwnames,&_argo0,&_argo1,&_arg2)) |
9c039d08 | 330 | return NULL; |
1d99702e RD |
331 | if (_argo0) { |
332 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
333 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_DrawFieldText. Expected _wxStatusBar_p."); |
335 | return NULL; | |
336 | } | |
337 | } | |
1d99702e RD |
338 | if (_argo1) { |
339 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
340 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9c039d08 RD |
341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStatusBar_DrawFieldText. Expected _wxDC_p."); |
342 | return NULL; | |
343 | } | |
344 | } | |
cf694132 RD |
345 | { |
346 | wxPy_BEGIN_ALLOW_THREADS; | |
347 | wxStatusBar_DrawFieldText(_arg0,*_arg1,_arg2); | |
348 | ||
349 | wxPy_END_ALLOW_THREADS; | |
350 | } Py_INCREF(Py_None); | |
9c039d08 RD |
351 | _resultobj = Py_None; |
352 | return _resultobj; | |
353 | } | |
354 | ||
355 | #define wxStatusBar_InitColours(_swigobj) (_swigobj->InitColours()) | |
efc5f224 | 356 | static PyObject *_wrap_wxStatusBar_InitColours(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
357 | PyObject * _resultobj; |
358 | wxStatusBar * _arg0; | |
1d99702e | 359 | PyObject * _argo0 = 0; |
efc5f224 | 360 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
361 | |
362 | self = self; | |
efc5f224 | 363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStatusBar_InitColours",_kwnames,&_argo0)) |
9c039d08 | 364 | return NULL; |
1d99702e RD |
365 | if (_argo0) { |
366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_InitColours. Expected _wxStatusBar_p."); |
369 | return NULL; | |
370 | } | |
371 | } | |
cf694132 RD |
372 | { |
373 | wxPy_BEGIN_ALLOW_THREADS; | |
374 | wxStatusBar_InitColours(_arg0); | |
375 | ||
376 | wxPy_END_ALLOW_THREADS; | |
377 | } Py_INCREF(Py_None); | |
9c039d08 RD |
378 | _resultobj = Py_None; |
379 | return _resultobj; | |
380 | } | |
381 | ||
382 | #define wxStatusBar_SetFieldsCount(_swigobj,_swigarg0) (_swigobj->SetFieldsCount(_swigarg0)) | |
efc5f224 | 383 | static PyObject *_wrap_wxStatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
384 | PyObject * _resultobj; |
385 | wxStatusBar * _arg0; | |
1d99702e RD |
386 | int _arg1 = (int ) 1; |
387 | PyObject * _argo0 = 0; | |
efc5f224 | 388 | char *_kwnames[] = { "self","number", NULL }; |
9c039d08 RD |
389 | |
390 | self = self; | |
efc5f224 | 391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxStatusBar_SetFieldsCount",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 392 | return NULL; |
1d99702e RD |
393 | if (_argo0) { |
394 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
395 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetFieldsCount. Expected _wxStatusBar_p."); |
397 | return NULL; | |
398 | } | |
399 | } | |
cf694132 RD |
400 | { |
401 | wxPy_BEGIN_ALLOW_THREADS; | |
402 | wxStatusBar_SetFieldsCount(_arg0,_arg1); | |
403 | ||
404 | wxPy_END_ALLOW_THREADS; | |
405 | } Py_INCREF(Py_None); | |
9c039d08 RD |
406 | _resultobj = Py_None; |
407 | return _resultobj; | |
408 | } | |
409 | ||
410 | #define wxStatusBar_SetStatusText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusText(_swigarg0,_swigarg1)) | |
efc5f224 | 411 | static PyObject *_wrap_wxStatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
412 | PyObject * _resultobj; |
413 | wxStatusBar * _arg0; | |
414 | wxString * _arg1; | |
1d99702e RD |
415 | int _arg2 = (int ) 0; |
416 | PyObject * _argo0 = 0; | |
9c039d08 | 417 | PyObject * _obj1 = 0; |
efc5f224 | 418 | char *_kwnames[] = { "self","text","i", NULL }; |
9c039d08 RD |
419 | |
420 | self = self; | |
efc5f224 | 421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxStatusBar_SetStatusText",_kwnames,&_argo0,&_obj1,&_arg2)) |
9c039d08 | 422 | return NULL; |
1d99702e RD |
423 | if (_argo0) { |
424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusText. Expected _wxStatusBar_p."); |
427 | return NULL; | |
428 | } | |
429 | } | |
430 | { | |
431 | if (!PyString_Check(_obj1)) { | |
432 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
433 | return NULL; | |
434 | } | |
cf694132 | 435 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
9c039d08 | 436 | } |
cf694132 RD |
437 | { |
438 | wxPy_BEGIN_ALLOW_THREADS; | |
439 | wxStatusBar_SetStatusText(_arg0,*_arg1,_arg2); | |
440 | ||
441 | wxPy_END_ALLOW_THREADS; | |
442 | } Py_INCREF(Py_None); | |
9c039d08 RD |
443 | _resultobj = Py_None; |
444 | { | |
445 | if (_obj1) | |
446 | delete _arg1; | |
447 | } | |
448 | return _resultobj; | |
449 | } | |
450 | ||
451 | #define wxStatusBar_SetStatusWidths(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStatusWidths(_swigarg0,_swigarg1)) | |
efc5f224 | 452 | static PyObject *_wrap_wxStatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) { |
9c039d08 RD |
453 | PyObject * _resultobj; |
454 | wxStatusBar * _arg0; | |
455 | int _arg1; | |
456 | int * _arg2; | |
1d99702e | 457 | PyObject * _argo0 = 0; |
9c039d08 | 458 | PyObject * _obj2 = 0; |
efc5f224 | 459 | char *_kwnames[] = { "self","LIST", NULL }; |
9c039d08 RD |
460 | |
461 | self = self; | |
efc5f224 | 462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStatusBar_SetStatusWidths",_kwnames,&_argo0,&_obj2)) |
9c039d08 | 463 | return NULL; |
1d99702e RD |
464 | if (_argo0) { |
465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStatusBar_p")) { | |
9c039d08 RD |
467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStatusBar_SetStatusWidths. Expected _wxStatusBar_p."); |
468 | return NULL; | |
469 | } | |
470 | } | |
471 | if (_obj2) | |
472 | { | |
473 | _arg2 = int_LIST_helper(_obj2); | |
474 | if (_arg2 == NULL) { | |
475 | return NULL; | |
476 | } | |
477 | } | |
478 | { | |
cf694132 RD |
479 | if (_obj2) { |
480 | _arg1 = PyList_Size(_obj2); | |
481 | } | |
482 | else { | |
483 | _arg1 = 0; | |
484 | } | |
9c039d08 | 485 | } |
cf694132 RD |
486 | { |
487 | wxPy_BEGIN_ALLOW_THREADS; | |
488 | wxStatusBar_SetStatusWidths(_arg0,_arg1,_arg2); | |
489 | ||
490 | wxPy_END_ALLOW_THREADS; | |
491 | } Py_INCREF(Py_None); | |
9c039d08 RD |
492 | _resultobj = Py_None; |
493 | { | |
494 | delete [] _arg2; | |
495 | } | |
496 | return _resultobj; | |
497 | } | |
498 | ||
9b3d3bc4 RD |
499 | static void wxToolBarToolBase_Destroy(wxToolBarToolBase *self) { delete self; } |
500 | static PyObject *_wrap_wxToolBarToolBase_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 501 | PyObject * _resultobj; |
9b3d3bc4 | 502 | wxToolBarToolBase * _arg0; |
1d99702e | 503 | PyObject * _argo0 = 0; |
efc5f224 | 504 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
505 | |
506 | self = self; | |
9b3d3bc4 | 507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_Destroy",_kwnames,&_argo0)) |
9c039d08 | 508 | return NULL; |
1d99702e RD |
509 | if (_argo0) { |
510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Destroy. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
513 | return NULL; |
514 | } | |
515 | } | |
cf694132 RD |
516 | { |
517 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 518 | wxToolBarToolBase_Destroy(_arg0); |
cf694132 RD |
519 | |
520 | wxPy_END_ALLOW_THREADS; | |
521 | } Py_INCREF(Py_None); | |
9c039d08 RD |
522 | _resultobj = Py_None; |
523 | return _resultobj; | |
524 | } | |
525 | ||
9b3d3bc4 RD |
526 | #define wxToolBarToolBase_GetId(_swigobj) (_swigobj->GetId()) |
527 | static PyObject *_wrap_wxToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 528 | PyObject * _resultobj; |
9b3d3bc4 RD |
529 | int _result; |
530 | wxToolBarToolBase * _arg0; | |
1d99702e | 531 | PyObject * _argo0 = 0; |
efc5f224 | 532 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
533 | |
534 | self = self; | |
9b3d3bc4 | 535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetId",_kwnames,&_argo0)) |
9c039d08 | 536 | return NULL; |
1d99702e RD |
537 | if (_argo0) { |
538 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
539 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetId. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
541 | return NULL; |
542 | } | |
543 | } | |
cf694132 RD |
544 | { |
545 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 546 | _result = (int )wxToolBarToolBase_GetId(_arg0); |
cf694132 RD |
547 | |
548 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 | 549 | } _resultobj = Py_BuildValue("i",_result); |
9c039d08 RD |
550 | return _resultobj; |
551 | } | |
552 | ||
9b3d3bc4 RD |
553 | #define wxToolBarToolBase_GetControl(_swigobj) (_swigobj->GetControl()) |
554 | static PyObject *_wrap_wxToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 555 | PyObject * _resultobj; |
9b3d3bc4 RD |
556 | wxControl * _result; |
557 | wxToolBarToolBase * _arg0; | |
1d99702e | 558 | PyObject * _argo0 = 0; |
efc5f224 | 559 | char *_kwnames[] = { "self", NULL }; |
9b3d3bc4 | 560 | char _ptemp[128]; |
9c039d08 RD |
561 | |
562 | self = self; | |
9b3d3bc4 | 563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetControl",_kwnames,&_argo0)) |
9c039d08 | 564 | return NULL; |
1d99702e RD |
565 | if (_argo0) { |
566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetControl. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
569 | return NULL; |
570 | } | |
571 | } | |
cf694132 RD |
572 | { |
573 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 574 | _result = (wxControl *)wxToolBarToolBase_GetControl(_arg0); |
cf694132 RD |
575 | |
576 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
577 | } if (_result) { |
578 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p"); | |
579 | _resultobj = Py_BuildValue("s",_ptemp); | |
580 | } else { | |
581 | Py_INCREF(Py_None); | |
582 | _resultobj = Py_None; | |
583 | } | |
9c039d08 RD |
584 | return _resultobj; |
585 | } | |
586 | ||
9b3d3bc4 RD |
587 | #define wxToolBarToolBase_GetToolBar(_swigobj) (_swigobj->GetToolBar()) |
588 | static PyObject *_wrap_wxToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6999b0d8 | 589 | PyObject * _resultobj; |
9b3d3bc4 RD |
590 | wxToolBarBase * _result; |
591 | wxToolBarToolBase * _arg0; | |
6999b0d8 RD |
592 | PyObject * _argo0 = 0; |
593 | char *_kwnames[] = { "self", NULL }; | |
594 | char _ptemp[128]; | |
595 | ||
596 | self = self; | |
9b3d3bc4 | 597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetToolBar",_kwnames,&_argo0)) |
6999b0d8 RD |
598 | return NULL; |
599 | if (_argo0) { | |
600 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
601 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetToolBar. Expected _wxToolBarToolBase_p."); | |
6999b0d8 RD |
603 | return NULL; |
604 | } | |
605 | } | |
606 | { | |
607 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 608 | _result = (wxToolBarBase *)wxToolBarToolBase_GetToolBar(_arg0); |
6999b0d8 RD |
609 | |
610 | wxPy_END_ALLOW_THREADS; | |
611 | } if (_result) { | |
9b3d3bc4 | 612 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarBase_p"); |
6999b0d8 RD |
613 | _resultobj = Py_BuildValue("s",_ptemp); |
614 | } else { | |
615 | Py_INCREF(Py_None); | |
616 | _resultobj = Py_None; | |
617 | } | |
618 | return _resultobj; | |
619 | } | |
620 | ||
9b3d3bc4 RD |
621 | #define wxToolBarToolBase_IsButton(_swigobj) (_swigobj->IsButton()) |
622 | static PyObject *_wrap_wxToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
623 | PyObject * _resultobj; |
624 | int _result; | |
9b3d3bc4 | 625 | wxToolBarToolBase * _arg0; |
1d99702e | 626 | PyObject * _argo0 = 0; |
9b3d3bc4 | 627 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
628 | |
629 | self = self; | |
9b3d3bc4 | 630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsButton",_kwnames,&_argo0)) |
af309447 | 631 | return NULL; |
1d99702e RD |
632 | if (_argo0) { |
633 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
634 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
635 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_IsButton. Expected _wxToolBarToolBase_p."); | |
af309447 RD |
636 | return NULL; |
637 | } | |
638 | } | |
cf694132 RD |
639 | { |
640 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 641 | _result = (int )wxToolBarToolBase_IsButton(_arg0); |
cf694132 RD |
642 | |
643 | wxPy_END_ALLOW_THREADS; | |
644 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
645 | return _resultobj; |
646 | } | |
647 | ||
9b3d3bc4 RD |
648 | #define wxToolBarToolBase_IsControl(_swigobj) (_swigobj->IsControl()) |
649 | static PyObject *_wrap_wxToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 RD |
650 | PyObject * _resultobj; |
651 | int _result; | |
9b3d3bc4 | 652 | wxToolBarToolBase * _arg0; |
1d99702e | 653 | PyObject * _argo0 = 0; |
efc5f224 | 654 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
655 | |
656 | self = self; | |
9b3d3bc4 | 657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsControl",_kwnames,&_argo0)) |
9c039d08 | 658 | return NULL; |
1d99702e RD |
659 | if (_argo0) { |
660 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
661 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_IsControl. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
663 | return NULL; |
664 | } | |
665 | } | |
cf694132 RD |
666 | { |
667 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 668 | _result = (int )wxToolBarToolBase_IsControl(_arg0); |
cf694132 RD |
669 | |
670 | wxPy_END_ALLOW_THREADS; | |
671 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
672 | return _resultobj; |
673 | } | |
674 | ||
9b3d3bc4 RD |
675 | #define wxToolBarToolBase_IsSeparator(_swigobj) (_swigobj->IsSeparator()) |
676 | static PyObject *_wrap_wxToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 677 | PyObject * _resultobj; |
9b3d3bc4 RD |
678 | int _result; |
679 | wxToolBarToolBase * _arg0; | |
1d99702e | 680 | PyObject * _argo0 = 0; |
efc5f224 | 681 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
682 | |
683 | self = self; | |
9b3d3bc4 | 684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsSeparator",_kwnames,&_argo0)) |
9c039d08 | 685 | return NULL; |
1d99702e RD |
686 | if (_argo0) { |
687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_IsSeparator. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
690 | return NULL; |
691 | } | |
692 | } | |
cf694132 RD |
693 | { |
694 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 695 | _result = (int )wxToolBarToolBase_IsSeparator(_arg0); |
cf694132 RD |
696 | |
697 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 | 698 | } _resultobj = Py_BuildValue("i",_result); |
9c039d08 RD |
699 | return _resultobj; |
700 | } | |
701 | ||
9b3d3bc4 RD |
702 | #define wxToolBarToolBase_GetStyle(_swigobj) (_swigobj->GetStyle()) |
703 | static PyObject *_wrap_wxToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
704 | PyObject * _resultobj; |
705 | int _result; | |
9b3d3bc4 | 706 | wxToolBarToolBase * _arg0; |
1d99702e | 707 | PyObject * _argo0 = 0; |
9b3d3bc4 | 708 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
709 | |
710 | self = self; | |
9b3d3bc4 | 711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetStyle",_kwnames,&_argo0)) |
af309447 | 712 | return NULL; |
1d99702e RD |
713 | if (_argo0) { |
714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetStyle. Expected _wxToolBarToolBase_p."); | |
af309447 RD |
717 | return NULL; |
718 | } | |
719 | } | |
cf694132 RD |
720 | { |
721 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 722 | _result = (int )wxToolBarToolBase_GetStyle(_arg0); |
cf694132 RD |
723 | |
724 | wxPy_END_ALLOW_THREADS; | |
725 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
726 | return _resultobj; |
727 | } | |
728 | ||
9b3d3bc4 RD |
729 | #define wxToolBarToolBase_IsEnabled(_swigobj) (_swigobj->IsEnabled()) |
730 | static PyObject *_wrap_wxToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 731 | PyObject * _resultobj; |
9b3d3bc4 RD |
732 | bool _result; |
733 | wxToolBarToolBase * _arg0; | |
1d99702e | 734 | PyObject * _argo0 = 0; |
efc5f224 | 735 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
736 | |
737 | self = self; | |
9b3d3bc4 | 738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsEnabled",_kwnames,&_argo0)) |
9c039d08 | 739 | return NULL; |
1d99702e RD |
740 | if (_argo0) { |
741 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
742 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_IsEnabled. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
744 | return NULL; |
745 | } | |
746 | } | |
cf694132 RD |
747 | { |
748 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 749 | _result = (bool )wxToolBarToolBase_IsEnabled(_arg0); |
cf694132 RD |
750 | |
751 | wxPy_END_ALLOW_THREADS; | |
752 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
753 | return _resultobj; |
754 | } | |
755 | ||
9b3d3bc4 RD |
756 | #define wxToolBarToolBase_IsToggled(_swigobj) (_swigobj->IsToggled()) |
757 | static PyObject *_wrap_wxToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 758 | PyObject * _resultobj; |
9b3d3bc4 RD |
759 | bool _result; |
760 | wxToolBarToolBase * _arg0; | |
1d99702e | 761 | PyObject * _argo0 = 0; |
9b3d3bc4 | 762 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
763 | |
764 | self = self; | |
9b3d3bc4 | 765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_IsToggled",_kwnames,&_argo0)) |
af309447 | 766 | return NULL; |
1d99702e RD |
767 | if (_argo0) { |
768 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
769 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
770 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_IsToggled. Expected _wxToolBarToolBase_p."); | |
af309447 RD |
771 | return NULL; |
772 | } | |
773 | } | |
cf694132 RD |
774 | { |
775 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 776 | _result = (bool )wxToolBarToolBase_IsToggled(_arg0); |
cf694132 RD |
777 | |
778 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 | 779 | } _resultobj = Py_BuildValue("i",_result); |
af309447 RD |
780 | return _resultobj; |
781 | } | |
782 | ||
9b3d3bc4 RD |
783 | #define wxToolBarToolBase_CanBeToggled(_swigobj) (_swigobj->CanBeToggled()) |
784 | static PyObject *_wrap_wxToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 785 | PyObject * _resultobj; |
9b3d3bc4 RD |
786 | bool _result; |
787 | wxToolBarToolBase * _arg0; | |
1d99702e | 788 | PyObject * _argo0 = 0; |
efc5f224 | 789 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
790 | |
791 | self = self; | |
9b3d3bc4 | 792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_CanBeToggled",_kwnames,&_argo0)) |
9c039d08 | 793 | return NULL; |
1d99702e RD |
794 | if (_argo0) { |
795 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
796 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
797 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_CanBeToggled. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
798 | return NULL; |
799 | } | |
800 | } | |
cf694132 RD |
801 | { |
802 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 803 | _result = (bool )wxToolBarToolBase_CanBeToggled(_arg0); |
cf694132 RD |
804 | |
805 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 | 806 | } _resultobj = Py_BuildValue("i",_result); |
9c039d08 RD |
807 | return _resultobj; |
808 | } | |
809 | ||
9b3d3bc4 RD |
810 | #define wxToolBarToolBase_GetBitmap1(_swigobj) (_swigobj->GetBitmap1()) |
811 | static PyObject *_wrap_wxToolBarToolBase_GetBitmap1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 812 | PyObject * _resultobj; |
9b3d3bc4 RD |
813 | wxBitmap * _result; |
814 | wxToolBarToolBase * _arg0; | |
1d99702e | 815 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
816 | char *_kwnames[] = { "self", NULL }; |
817 | char _ptemp[128]; | |
af309447 RD |
818 | |
819 | self = self; | |
9b3d3bc4 | 820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetBitmap1",_kwnames,&_argo0)) |
af309447 | 821 | return NULL; |
1d99702e RD |
822 | if (_argo0) { |
823 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
824 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetBitmap1. Expected _wxToolBarToolBase_p."); | |
af309447 RD |
826 | return NULL; |
827 | } | |
828 | } | |
cf694132 RD |
829 | { |
830 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 RD |
831 | const wxBitmap & _result_ref = wxToolBarToolBase_GetBitmap1(_arg0); |
832 | _result = (wxBitmap *) &_result_ref; | |
cf694132 RD |
833 | |
834 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
835 | } if (_result) { |
836 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
837 | _resultobj = Py_BuildValue("s",_ptemp); | |
838 | } else { | |
839 | Py_INCREF(Py_None); | |
840 | _resultobj = Py_None; | |
841 | } | |
af309447 RD |
842 | return _resultobj; |
843 | } | |
844 | ||
9b3d3bc4 RD |
845 | #define wxToolBarToolBase_GetBitmap2(_swigobj) (_swigobj->GetBitmap2()) |
846 | static PyObject *_wrap_wxToolBarToolBase_GetBitmap2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 847 | PyObject * _resultobj; |
9b3d3bc4 RD |
848 | wxBitmap * _result; |
849 | wxToolBarToolBase * _arg0; | |
1d99702e | 850 | PyObject * _argo0 = 0; |
efc5f224 | 851 | char *_kwnames[] = { "self", NULL }; |
9b3d3bc4 | 852 | char _ptemp[128]; |
9c039d08 RD |
853 | |
854 | self = self; | |
9b3d3bc4 | 855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetBitmap2",_kwnames,&_argo0)) |
9c039d08 | 856 | return NULL; |
1d99702e RD |
857 | if (_argo0) { |
858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetBitmap2. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
861 | return NULL; |
862 | } | |
863 | } | |
cf694132 RD |
864 | { |
865 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 RD |
866 | const wxBitmap & _result_ref = wxToolBarToolBase_GetBitmap2(_arg0); |
867 | _result = (wxBitmap *) &_result_ref; | |
cf694132 RD |
868 | |
869 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
870 | } if (_result) { |
871 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
872 | _resultobj = Py_BuildValue("s",_ptemp); | |
873 | } else { | |
874 | Py_INCREF(Py_None); | |
875 | _resultobj = Py_None; | |
876 | } | |
9c039d08 RD |
877 | return _resultobj; |
878 | } | |
879 | ||
9b3d3bc4 RD |
880 | #define wxToolBarToolBase_GetBitmap(_swigobj) (_swigobj->GetBitmap()) |
881 | static PyObject *_wrap_wxToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 882 | PyObject * _resultobj; |
9b3d3bc4 RD |
883 | wxBitmap * _result; |
884 | wxToolBarToolBase * _arg0; | |
1d99702e | 885 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
886 | char *_kwnames[] = { "self", NULL }; |
887 | char _ptemp[128]; | |
af309447 RD |
888 | |
889 | self = self; | |
9b3d3bc4 | 890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetBitmap",_kwnames,&_argo0)) |
af309447 | 891 | return NULL; |
1d99702e RD |
892 | if (_argo0) { |
893 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
894 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
895 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetBitmap. Expected _wxToolBarToolBase_p."); | |
af309447 RD |
896 | return NULL; |
897 | } | |
898 | } | |
cf694132 RD |
899 | { |
900 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 RD |
901 | const wxBitmap & _result_ref = wxToolBarToolBase_GetBitmap(_arg0); |
902 | _result = (wxBitmap *) &_result_ref; | |
cf694132 RD |
903 | |
904 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
905 | } if (_result) { |
906 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
907 | _resultobj = Py_BuildValue("s",_ptemp); | |
908 | } else { | |
909 | Py_INCREF(Py_None); | |
910 | _resultobj = Py_None; | |
911 | } | |
af309447 RD |
912 | return _resultobj; |
913 | } | |
914 | ||
9b3d3bc4 RD |
915 | #define wxToolBarToolBase_GetShortHelp(_swigobj) (_swigobj->GetShortHelp()) |
916 | static PyObject *_wrap_wxToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 917 | PyObject * _resultobj; |
9b3d3bc4 RD |
918 | wxString * _result; |
919 | wxToolBarToolBase * _arg0; | |
1d99702e | 920 | PyObject * _argo0 = 0; |
efc5f224 | 921 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
922 | |
923 | self = self; | |
9b3d3bc4 | 924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetShortHelp",_kwnames,&_argo0)) |
9c039d08 | 925 | return NULL; |
1d99702e RD |
926 | if (_argo0) { |
927 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
928 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
929 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetShortHelp. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
930 | return NULL; |
931 | } | |
932 | } | |
cf694132 RD |
933 | { |
934 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 935 | _result = new wxString (wxToolBarToolBase_GetShortHelp(_arg0)); |
cf694132 RD |
936 | |
937 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
938 | }{ |
939 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
9c039d08 | 940 | } |
cf694132 | 941 | { |
9b3d3bc4 RD |
942 | delete _result; |
943 | } | |
af309447 RD |
944 | return _resultobj; |
945 | } | |
946 | ||
9b3d3bc4 RD |
947 | #define wxToolBarToolBase_GetLongHelp(_swigobj) (_swigobj->GetLongHelp()) |
948 | static PyObject *_wrap_wxToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 949 | PyObject * _resultobj; |
9b3d3bc4 RD |
950 | wxString * _result; |
951 | wxToolBarToolBase * _arg0; | |
1d99702e | 952 | PyObject * _argo0 = 0; |
efc5f224 | 953 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
954 | |
955 | self = self; | |
9b3d3bc4 | 956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetLongHelp",_kwnames,&_argo0)) |
9c039d08 | 957 | return NULL; |
1d99702e RD |
958 | if (_argo0) { |
959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetLongHelp. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
962 | return NULL; |
963 | } | |
964 | } | |
cf694132 RD |
965 | { |
966 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 967 | _result = new wxString (wxToolBarToolBase_GetLongHelp(_arg0)); |
cf694132 RD |
968 | |
969 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
970 | }{ |
971 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
972 | } | |
973 | { | |
974 | delete _result; | |
975 | } | |
9c039d08 RD |
976 | return _resultobj; |
977 | } | |
978 | ||
9b3d3bc4 RD |
979 | #define wxToolBarToolBase_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0)) |
980 | static PyObject *_wrap_wxToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
981 | PyObject * _resultobj; |
982 | bool _result; | |
9b3d3bc4 | 983 | wxToolBarToolBase * _arg0; |
af309447 | 984 | bool _arg1; |
1d99702e | 985 | PyObject * _argo0 = 0; |
af309447 | 986 | int tempbool1; |
9b3d3bc4 | 987 | char *_kwnames[] = { "self","enable", NULL }; |
af309447 RD |
988 | |
989 | self = self; | |
9b3d3bc4 | 990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarToolBase_Enable",_kwnames,&_argo0,&tempbool1)) |
af309447 | 991 | return NULL; |
1d99702e RD |
992 | if (_argo0) { |
993 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
994 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Enable. Expected _wxToolBarToolBase_p."); | |
af309447 RD |
996 | return NULL; |
997 | } | |
998 | } | |
999 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
1000 | { |
1001 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1002 | _result = (bool )wxToolBarToolBase_Enable(_arg0,_arg1); |
cf694132 RD |
1003 | |
1004 | wxPy_END_ALLOW_THREADS; | |
1005 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
1006 | return _resultobj; |
1007 | } | |
1008 | ||
9b3d3bc4 RD |
1009 | #define wxToolBarToolBase_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0)) |
1010 | static PyObject *_wrap_wxToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 RD |
1011 | PyObject * _resultobj; |
1012 | bool _result; | |
9b3d3bc4 RD |
1013 | wxToolBarToolBase * _arg0; |
1014 | bool _arg1; | |
1d99702e | 1015 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1016 | int tempbool1; |
1017 | char *_kwnames[] = { "self","toggle", NULL }; | |
9c039d08 RD |
1018 | |
1019 | self = self; | |
9b3d3bc4 | 1020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarToolBase_Toggle",_kwnames,&_argo0,&tempbool1)) |
9c039d08 | 1021 | return NULL; |
1d99702e RD |
1022 | if (_argo0) { |
1023 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1024 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
1025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Toggle. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
1026 | return NULL; |
1027 | } | |
1028 | } | |
9b3d3bc4 | 1029 | _arg1 = (bool ) tempbool1; |
cf694132 RD |
1030 | { |
1031 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1032 | _result = (bool )wxToolBarToolBase_Toggle(_arg0,_arg1); |
cf694132 RD |
1033 | |
1034 | wxPy_END_ALLOW_THREADS; | |
1035 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
1036 | return _resultobj; |
1037 | } | |
1038 | ||
9b3d3bc4 RD |
1039 | #define wxToolBarToolBase_SetToggle(_swigobj,_swigarg0) (_swigobj->SetToggle(_swigarg0)) |
1040 | static PyObject *_wrap_wxToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
1041 | PyObject * _resultobj; |
1042 | bool _result; | |
9b3d3bc4 | 1043 | wxToolBarToolBase * _arg0; |
af309447 | 1044 | bool _arg1; |
1d99702e | 1045 | PyObject * _argo0 = 0; |
af309447 | 1046 | int tempbool1; |
9b3d3bc4 | 1047 | char *_kwnames[] = { "self","toggle", NULL }; |
af309447 RD |
1048 | |
1049 | self = self; | |
9b3d3bc4 | 1050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarToolBase_SetToggle",_kwnames,&_argo0,&tempbool1)) |
af309447 | 1051 | return NULL; |
1d99702e RD |
1052 | if (_argo0) { |
1053 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1054 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
1055 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetToggle. Expected _wxToolBarToolBase_p."); | |
af309447 RD |
1056 | return NULL; |
1057 | } | |
1058 | } | |
1059 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
1060 | { |
1061 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1062 | _result = (bool )wxToolBarToolBase_SetToggle(_arg0,_arg1); |
cf694132 RD |
1063 | |
1064 | wxPy_END_ALLOW_THREADS; | |
1065 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
1066 | return _resultobj; |
1067 | } | |
1068 | ||
9b3d3bc4 RD |
1069 | #define wxToolBarToolBase_SetShortHelp(_swigobj,_swigarg0) (_swigobj->SetShortHelp(_swigarg0)) |
1070 | static PyObject *_wrap_wxToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 RD |
1071 | PyObject * _resultobj; |
1072 | bool _result; | |
9b3d3bc4 RD |
1073 | wxToolBarToolBase * _arg0; |
1074 | wxString * _arg1; | |
1d99702e | 1075 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1076 | PyObject * _obj1 = 0; |
1077 | char *_kwnames[] = { "self","help", NULL }; | |
9c039d08 RD |
1078 | |
1079 | self = self; | |
9b3d3bc4 | 1080 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetShortHelp",_kwnames,&_argo0,&_obj1)) |
9c039d08 | 1081 | return NULL; |
1d99702e RD |
1082 | if (_argo0) { |
1083 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1084 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
1085 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetShortHelp. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
1086 | return NULL; |
1087 | } | |
1088 | } | |
9b3d3bc4 RD |
1089 | { |
1090 | if (!PyString_Check(_obj1)) { | |
1091 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1092 | return NULL; | |
1093 | } | |
1094 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1095 | } | |
cf694132 RD |
1096 | { |
1097 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1098 | _result = (bool )wxToolBarToolBase_SetShortHelp(_arg0,*_arg1); |
cf694132 RD |
1099 | |
1100 | wxPy_END_ALLOW_THREADS; | |
1101 | } _resultobj = Py_BuildValue("i",_result); | |
9b3d3bc4 RD |
1102 | { |
1103 | if (_obj1) | |
1104 | delete _arg1; | |
1105 | } | |
9c039d08 RD |
1106 | return _resultobj; |
1107 | } | |
1108 | ||
9b3d3bc4 RD |
1109 | #define wxToolBarToolBase_SetLongHelp(_swigobj,_swigarg0) (_swigobj->SetLongHelp(_swigarg0)) |
1110 | static PyObject *_wrap_wxToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
1111 | PyObject * _resultobj; |
1112 | bool _result; | |
9b3d3bc4 RD |
1113 | wxToolBarToolBase * _arg0; |
1114 | wxString * _arg1; | |
1d99702e | 1115 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1116 | PyObject * _obj1 = 0; |
1117 | char *_kwnames[] = { "self","help", NULL }; | |
af309447 RD |
1118 | |
1119 | self = self; | |
9b3d3bc4 | 1120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetLongHelp",_kwnames,&_argo0,&_obj1)) |
af309447 | 1121 | return NULL; |
1d99702e RD |
1122 | if (_argo0) { |
1123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
1125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetLongHelp. Expected _wxToolBarToolBase_p."); | |
af309447 RD |
1126 | return NULL; |
1127 | } | |
1128 | } | |
9b3d3bc4 RD |
1129 | { |
1130 | if (!PyString_Check(_obj1)) { | |
1131 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1132 | return NULL; | |
1133 | } | |
1134 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1135 | } | |
cf694132 RD |
1136 | { |
1137 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1138 | _result = (bool )wxToolBarToolBase_SetLongHelp(_arg0,*_arg1); |
cf694132 RD |
1139 | |
1140 | wxPy_END_ALLOW_THREADS; | |
1141 | } _resultobj = Py_BuildValue("i",_result); | |
9b3d3bc4 RD |
1142 | { |
1143 | if (_obj1) | |
1144 | delete _arg1; | |
1145 | } | |
af309447 RD |
1146 | return _resultobj; |
1147 | } | |
1148 | ||
9b3d3bc4 RD |
1149 | #define wxToolBarToolBase_SetBitmap1(_swigobj,_swigarg0) (_swigobj->SetBitmap1(_swigarg0)) |
1150 | static PyObject *_wrap_wxToolBarToolBase_SetBitmap1(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1151 | PyObject * _resultobj; |
9b3d3bc4 RD |
1152 | wxToolBarToolBase * _arg0; |
1153 | wxBitmap * _arg1; | |
1d99702e | 1154 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1155 | PyObject * _argo1 = 0; |
1156 | char *_kwnames[] = { "self","bmp", NULL }; | |
9c039d08 RD |
1157 | |
1158 | self = self; | |
9b3d3bc4 | 1159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetBitmap1",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 1160 | return NULL; |
1d99702e RD |
1161 | if (_argo0) { |
1162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
1164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetBitmap1. Expected _wxToolBarToolBase_p."); | |
1165 | return NULL; | |
1166 | } | |
1167 | } | |
1168 | if (_argo1) { | |
1169 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1170 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
1171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarToolBase_SetBitmap1. Expected _wxBitmap_p."); | |
9c039d08 RD |
1172 | return NULL; |
1173 | } | |
1174 | } | |
cf694132 RD |
1175 | { |
1176 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1177 | wxToolBarToolBase_SetBitmap1(_arg0,*_arg1); |
cf694132 RD |
1178 | |
1179 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1180 | } Py_INCREF(Py_None); |
1181 | _resultobj = Py_None; | |
9c039d08 RD |
1182 | return _resultobj; |
1183 | } | |
1184 | ||
9b3d3bc4 RD |
1185 | #define wxToolBarToolBase_SetBitmap2(_swigobj,_swigarg0) (_swigobj->SetBitmap2(_swigarg0)) |
1186 | static PyObject *_wrap_wxToolBarToolBase_SetBitmap2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 1187 | PyObject * _resultobj; |
9b3d3bc4 RD |
1188 | wxToolBarToolBase * _arg0; |
1189 | wxBitmap * _arg1; | |
1d99702e | 1190 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1191 | PyObject * _argo1 = 0; |
1192 | char *_kwnames[] = { "self","bmp", NULL }; | |
af309447 RD |
1193 | |
1194 | self = self; | |
9b3d3bc4 | 1195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetBitmap2",_kwnames,&_argo0,&_argo1)) |
af309447 | 1196 | return NULL; |
1d99702e RD |
1197 | if (_argo0) { |
1198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
1200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetBitmap2. Expected _wxToolBarToolBase_p."); | |
1201 | return NULL; | |
1202 | } | |
1203 | } | |
1204 | if (_argo1) { | |
1205 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1206 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
1207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarToolBase_SetBitmap2. Expected _wxBitmap_p."); | |
af309447 RD |
1208 | return NULL; |
1209 | } | |
1210 | } | |
cf694132 RD |
1211 | { |
1212 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1213 | wxToolBarToolBase_SetBitmap2(_arg0,*_arg1); |
cf694132 RD |
1214 | |
1215 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1216 | } Py_INCREF(Py_None); |
1217 | _resultobj = Py_None; | |
af309447 RD |
1218 | return _resultobj; |
1219 | } | |
1220 | ||
9b3d3bc4 RD |
1221 | #define wxToolBarToolBase_Detach(_swigobj) (_swigobj->Detach()) |
1222 | static PyObject *_wrap_wxToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1223 | PyObject * _resultobj; |
9b3d3bc4 | 1224 | wxToolBarToolBase * _arg0; |
1d99702e | 1225 | PyObject * _argo0 = 0; |
efc5f224 | 1226 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1227 | |
1228 | self = self; | |
9b3d3bc4 | 1229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_Detach",_kwnames,&_argo0)) |
9c039d08 | 1230 | return NULL; |
1d99702e RD |
1231 | if (_argo0) { |
1232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
1234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Detach. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
1235 | return NULL; |
1236 | } | |
1237 | } | |
cf694132 RD |
1238 | { |
1239 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1240 | wxToolBarToolBase_Detach(_arg0); |
cf694132 RD |
1241 | |
1242 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1243 | } Py_INCREF(Py_None); |
1244 | _resultobj = Py_None; | |
9c039d08 RD |
1245 | return _resultobj; |
1246 | } | |
1247 | ||
9b3d3bc4 RD |
1248 | #define wxToolBarToolBase_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0)) |
1249 | static PyObject *_wrap_wxToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 1250 | PyObject * _resultobj; |
9b3d3bc4 RD |
1251 | wxToolBarToolBase * _arg0; |
1252 | wxToolBarBase * _arg1; | |
1d99702e RD |
1253 | PyObject * _argo0 = 0; |
1254 | PyObject * _argo1 = 0; | |
9b3d3bc4 | 1255 | char *_kwnames[] = { "self","tbar", NULL }; |
af309447 RD |
1256 | |
1257 | self = self; | |
9b3d3bc4 | 1258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_Attach",_kwnames,&_argo0,&_argo1)) |
af309447 | 1259 | return NULL; |
1d99702e RD |
1260 | if (_argo0) { |
1261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
1263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_Attach. Expected _wxToolBarToolBase_p."); | |
af309447 RD |
1264 | return NULL; |
1265 | } | |
1266 | } | |
1d99702e RD |
1267 | if (_argo1) { |
1268 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9b3d3bc4 RD |
1269 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxToolBarBase_p")) { |
1270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarToolBase_Attach. Expected _wxToolBarBase_p."); | |
af309447 RD |
1271 | return NULL; |
1272 | } | |
1273 | } | |
cf694132 RD |
1274 | { |
1275 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1276 | wxToolBarToolBase_Attach(_arg0,_arg1); |
cf694132 RD |
1277 | |
1278 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1279 | } Py_INCREF(Py_None); |
1280 | _resultobj = Py_None; | |
af309447 RD |
1281 | return _resultobj; |
1282 | } | |
1283 | ||
9b3d3bc4 RD |
1284 | static PyObject * wxToolBarToolBase_GetClientData(wxToolBarToolBase *self) { |
1285 | wxPyUserData* udata = (wxPyUserData*)self->GetClientData(); | |
1286 | if (udata) { | |
1287 | Py_INCREF(udata->m_obj); | |
1288 | return udata->m_obj; | |
1289 | } else { | |
1290 | Py_INCREF(Py_None); | |
1291 | return Py_None; | |
1292 | } | |
1293 | } | |
1294 | static PyObject *_wrap_wxToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1295 | PyObject * _resultobj; |
9b3d3bc4 RD |
1296 | PyObject * _result; |
1297 | wxToolBarToolBase * _arg0; | |
1d99702e | 1298 | PyObject * _argo0 = 0; |
efc5f224 | 1299 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1300 | |
1301 | self = self; | |
9b3d3bc4 | 1302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarToolBase_GetClientData",_kwnames,&_argo0)) |
9c039d08 | 1303 | return NULL; |
1d99702e RD |
1304 | if (_argo0) { |
1305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
1307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_GetClientData. Expected _wxToolBarToolBase_p."); | |
9c039d08 RD |
1308 | return NULL; |
1309 | } | |
1310 | } | |
cf694132 RD |
1311 | { |
1312 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1313 | _result = (PyObject *)wxToolBarToolBase_GetClientData(_arg0); |
cf694132 RD |
1314 | |
1315 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1316 | }{ |
1317 | _resultobj = _result; | |
1318 | } | |
9c039d08 RD |
1319 | return _resultobj; |
1320 | } | |
1321 | ||
9b3d3bc4 RD |
1322 | static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject * clientData) { |
1323 | self->SetClientData(new wxPyUserData(clientData)); | |
1324 | } | |
1325 | static PyObject *_wrap_wxToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 1326 | PyObject * _resultobj; |
9b3d3bc4 RD |
1327 | wxToolBarToolBase * _arg0; |
1328 | PyObject * _arg1; | |
1d99702e | 1329 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1330 | PyObject * _obj1 = 0; |
1331 | char *_kwnames[] = { "self","clientData", NULL }; | |
af309447 RD |
1332 | |
1333 | self = self; | |
9b3d3bc4 | 1334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarToolBase_SetClientData",_kwnames,&_argo0,&_obj1)) |
af309447 | 1335 | return NULL; |
1d99702e RD |
1336 | if (_argo0) { |
1337 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1338 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarToolBase_p")) { |
1339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarToolBase_SetClientData. Expected _wxToolBarToolBase_p."); | |
af309447 RD |
1340 | return NULL; |
1341 | } | |
1342 | } | |
9b3d3bc4 RD |
1343 | { |
1344 | _arg1 = _obj1; | |
1345 | } | |
cf694132 RD |
1346 | { |
1347 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1348 | wxToolBarToolBase_SetClientData(_arg0,_arg1); |
cf694132 RD |
1349 | |
1350 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1351 | } Py_INCREF(Py_None); |
1352 | _resultobj = Py_None; | |
af309447 RD |
1353 | return _resultobj; |
1354 | } | |
1355 | ||
9b3d3bc4 RD |
1356 | static void *SwigwxToolBarBaseTowxControl(void *ptr) { |
1357 | wxToolBarBase *src; | |
1358 | wxControl *dest; | |
1359 | src = (wxToolBarBase *) ptr; | |
1360 | dest = (wxControl *) src; | |
1361 | return (void *) dest; | |
1362 | } | |
1363 | ||
1364 | static void *SwigwxToolBarBaseTowxWindow(void *ptr) { | |
1365 | wxToolBarBase *src; | |
1366 | wxWindow *dest; | |
1367 | src = (wxToolBarBase *) ptr; | |
1368 | dest = (wxWindow *) src; | |
1369 | return (void *) dest; | |
1370 | } | |
1371 | ||
1372 | static void *SwigwxToolBarBaseTowxEvtHandler(void *ptr) { | |
1373 | wxToolBarBase *src; | |
1374 | wxEvtHandler *dest; | |
1375 | src = (wxToolBarBase *) ptr; | |
1376 | dest = (wxEvtHandler *) src; | |
1377 | return (void *) dest; | |
1378 | } | |
1379 | ||
1380 | static wxToolBarToolBase * wxToolBarBase_AddTool(wxToolBarBase *self,int id,const wxBitmap & bitmap,const wxBitmap & pushedBitmap,int toggle,PyObject * clientData,const wxString & shortHelpString,const wxString & longHelpString) { | |
1381 | wxPyUserData* udata = NULL; | |
1382 | if (clientData) | |
1383 | udata = new wxPyUserData(clientData); | |
1384 | return self->AddTool(id, bitmap, pushedBitmap, (bool)toggle, | |
1385 | udata, shortHelpString, longHelpString); | |
1386 | } | |
1387 | static PyObject *_wrap_wxToolBarBase_AddTool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1388 | PyObject * _resultobj; |
9b3d3bc4 RD |
1389 | wxToolBarToolBase * _result; |
1390 | wxToolBarBase * _arg0; | |
1391 | int _arg1; | |
1392 | wxBitmap * _arg2; | |
1393 | wxBitmap * _arg3 = (wxBitmap *) &wxNullBitmap; | |
1394 | int _arg4 = (int ) FALSE; | |
1395 | PyObject * _arg5 = (PyObject *) NULL; | |
1396 | wxString * _arg6 = (wxString *) &wxPyEmptyStr; | |
1397 | wxString * _arg7 = (wxString *) &wxPyEmptyStr; | |
1d99702e | 1398 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1399 | PyObject * _argo2 = 0; |
1400 | PyObject * _argo3 = 0; | |
1401 | PyObject * _obj5 = 0; | |
1402 | PyObject * _obj6 = 0; | |
1403 | PyObject * _obj7 = 0; | |
1404 | char *_kwnames[] = { "self","id","bitmap","pushedBitmap","toggle","clientData","shortHelpString","longHelpString", NULL }; | |
9c039d08 RD |
1405 | char _ptemp[128]; |
1406 | ||
1407 | self = self; | |
9b3d3bc4 | 1408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OiOOO:wxToolBarBase_AddTool",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3,&_arg4,&_obj5,&_obj6,&_obj7)) |
9c039d08 | 1409 | return NULL; |
1d99702e RD |
1410 | if (_argo0) { |
1411 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1412 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
1413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddTool. Expected _wxToolBarBase_p."); | |
1414 | return NULL; | |
1415 | } | |
1416 | } | |
1417 | if (_argo2) { | |
1418 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1419 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) { | |
1420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBarBase_AddTool. Expected _wxBitmap_p."); | |
9c039d08 RD |
1421 | return NULL; |
1422 | } | |
1423 | } | |
9b3d3bc4 RD |
1424 | if (_argo3) { |
1425 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1426 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) { | |
1427 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBarBase_AddTool. Expected _wxBitmap_p."); | |
1428 | return NULL; | |
1429 | } | |
1430 | } | |
1431 | if (_obj5) | |
1432 | { | |
1433 | _arg5 = _obj5; | |
1434 | } | |
1435 | if (_obj6) | |
1436 | { | |
1437 | if (!PyString_Check(_obj6)) { | |
1438 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1439 | return NULL; | |
1440 | } | |
1441 | _arg6 = new wxString(PyString_AsString(_obj6), PyString_Size(_obj6)); | |
1442 | } | |
1443 | if (_obj7) | |
1444 | { | |
1445 | if (!PyString_Check(_obj7)) { | |
1446 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1447 | return NULL; | |
1448 | } | |
1449 | _arg7 = new wxString(PyString_AsString(_obj7), PyString_Size(_obj7)); | |
1450 | } | |
cf694132 RD |
1451 | { |
1452 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1453 | _result = (wxToolBarToolBase *)wxToolBarBase_AddTool(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,*_arg6,*_arg7); |
cf694132 RD |
1454 | |
1455 | wxPy_END_ALLOW_THREADS; | |
1d99702e | 1456 | } if (_result) { |
9b3d3bc4 | 1457 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p"); |
1d99702e RD |
1458 | _resultobj = Py_BuildValue("s",_ptemp); |
1459 | } else { | |
1460 | Py_INCREF(Py_None); | |
1461 | _resultobj = Py_None; | |
1462 | } | |
9b3d3bc4 RD |
1463 | { |
1464 | if (_obj6) | |
1465 | delete _arg6; | |
1466 | } | |
1467 | { | |
1468 | if (_obj7) | |
1469 | delete _arg7; | |
1470 | } | |
9c039d08 RD |
1471 | return _resultobj; |
1472 | } | |
1473 | ||
9b3d3bc4 RD |
1474 | static wxToolBarToolBase * wxToolBarBase_AddSimpleTool(wxToolBarBase *self,int id,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString,int toggle) { |
1475 | return self->AddTool(id, bitmap, wxNullBitmap, toggle, NULL, | |
1476 | shortHelpString, longHelpString); | |
1477 | } | |
1478 | static PyObject *_wrap_wxToolBarBase_AddSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 1479 | PyObject * _resultobj; |
9b3d3bc4 RD |
1480 | wxToolBarToolBase * _result; |
1481 | wxToolBarBase * _arg0; | |
1482 | int _arg1; | |
1483 | wxBitmap * _arg2; | |
1484 | wxString * _arg3 = (wxString *) &wxPyEmptyStr; | |
1485 | wxString * _arg4 = (wxString *) &wxPyEmptyStr; | |
1486 | int _arg5 = (int ) FALSE; | |
1d99702e | 1487 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1488 | PyObject * _argo2 = 0; |
1489 | PyObject * _obj3 = 0; | |
1490 | PyObject * _obj4 = 0; | |
1491 | char *_kwnames[] = { "self","id","bitmap","shortHelpString","longHelpString","toggle", NULL }; | |
1492 | char _ptemp[128]; | |
af309447 RD |
1493 | |
1494 | self = self; | |
9b3d3bc4 | 1495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOi:wxToolBarBase_AddSimpleTool",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5)) |
af309447 | 1496 | return NULL; |
1d99702e RD |
1497 | if (_argo0) { |
1498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
1500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddSimpleTool. Expected _wxToolBarBase_p."); | |
af309447 RD |
1501 | return NULL; |
1502 | } | |
1503 | } | |
9b3d3bc4 RD |
1504 | if (_argo2) { |
1505 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1506 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) { | |
1507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBarBase_AddSimpleTool. Expected _wxBitmap_p."); | |
1508 | return NULL; | |
1509 | } | |
1510 | } | |
1511 | if (_obj3) | |
1512 | { | |
1513 | if (!PyString_Check(_obj3)) { | |
1514 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1515 | return NULL; | |
1516 | } | |
1517 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); | |
1518 | } | |
1519 | if (_obj4) | |
1520 | { | |
1521 | if (!PyString_Check(_obj4)) { | |
1522 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1523 | return NULL; | |
1524 | } | |
1525 | _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4)); | |
1526 | } | |
cf694132 RD |
1527 | { |
1528 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1529 | _result = (wxToolBarToolBase *)wxToolBarBase_AddSimpleTool(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5); |
cf694132 RD |
1530 | |
1531 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1532 | } if (_result) { |
1533 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p"); | |
1534 | _resultobj = Py_BuildValue("s",_ptemp); | |
1535 | } else { | |
1536 | Py_INCREF(Py_None); | |
1537 | _resultobj = Py_None; | |
1538 | } | |
1539 | { | |
1540 | if (_obj3) | |
1541 | delete _arg3; | |
1542 | } | |
1543 | { | |
1544 | if (_obj4) | |
1545 | delete _arg4; | |
1546 | } | |
af309447 RD |
1547 | return _resultobj; |
1548 | } | |
1549 | ||
9b3d3bc4 RD |
1550 | static wxToolBarToolBase * wxToolBarBase_InsertTool(wxToolBarBase *self,size_t pos,int id,const wxBitmap & bitmap,const wxBitmap & pushedBitmap,int toggle,PyObject * clientData,const wxString & shortHelpString,const wxString & longHelpString) { |
1551 | wxPyUserData* udata = NULL; | |
1552 | if (clientData) | |
1553 | udata = new wxPyUserData(clientData); | |
1554 | return self->InsertTool(pos, id, bitmap, pushedBitmap, (bool)toggle, | |
1555 | udata, shortHelpString, longHelpString); | |
1556 | } | |
1557 | static PyObject *_wrap_wxToolBarBase_InsertTool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1558 | PyObject * _resultobj; |
9b3d3bc4 RD |
1559 | wxToolBarToolBase * _result; |
1560 | wxToolBarBase * _arg0; | |
1561 | size_t _arg1; | |
1562 | int _arg2; | |
1563 | wxBitmap * _arg3; | |
1564 | wxBitmap * _arg4 = (wxBitmap *) &wxNullBitmap; | |
1565 | int _arg5 = (int ) FALSE; | |
1566 | PyObject * _arg6 = (PyObject *) NULL; | |
1567 | wxString * _arg7 = (wxString *) &wxPyEmptyStr; | |
1568 | wxString * _arg8 = (wxString *) &wxPyEmptyStr; | |
1d99702e | 1569 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1570 | PyObject * _argo3 = 0; |
1571 | PyObject * _argo4 = 0; | |
1572 | PyObject * _obj6 = 0; | |
1573 | PyObject * _obj7 = 0; | |
1574 | PyObject * _obj8 = 0; | |
1575 | char *_kwnames[] = { "self","pos","id","bitmap","pushedBitmap","toggle","clientData","shortHelpString","longHelpString", NULL }; | |
1576 | char _ptemp[128]; | |
9c039d08 RD |
1577 | |
1578 | self = self; | |
9b3d3bc4 | 1579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|OiOOO:wxToolBarBase_InsertTool",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_argo4,&_arg5,&_obj6,&_obj7,&_obj8)) |
9c039d08 | 1580 | return NULL; |
1d99702e RD |
1581 | if (_argo0) { |
1582 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1583 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
1584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertTool. Expected _wxToolBarBase_p."); | |
1585 | return NULL; | |
1586 | } | |
1587 | } | |
1588 | if (_argo3) { | |
1589 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1590 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) { | |
1591 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBarBase_InsertTool. Expected _wxBitmap_p."); | |
1592 | return NULL; | |
1593 | } | |
1594 | } | |
1595 | if (_argo4) { | |
1596 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
1597 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxBitmap_p")) { | |
1598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxToolBarBase_InsertTool. Expected _wxBitmap_p."); | |
9c039d08 RD |
1599 | return NULL; |
1600 | } | |
1601 | } | |
9b3d3bc4 RD |
1602 | if (_obj6) |
1603 | { | |
1604 | _arg6 = _obj6; | |
1605 | } | |
1606 | if (_obj7) | |
1607 | { | |
1608 | if (!PyString_Check(_obj7)) { | |
1609 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1610 | return NULL; | |
1611 | } | |
1612 | _arg7 = new wxString(PyString_AsString(_obj7), PyString_Size(_obj7)); | |
1613 | } | |
1614 | if (_obj8) | |
1615 | { | |
1616 | if (!PyString_Check(_obj8)) { | |
1617 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1618 | return NULL; | |
1619 | } | |
1620 | _arg8 = new wxString(PyString_AsString(_obj8), PyString_Size(_obj8)); | |
1621 | } | |
cf694132 RD |
1622 | { |
1623 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1624 | _result = (wxToolBarToolBase *)wxToolBarBase_InsertTool(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,*_arg7,*_arg8); |
cf694132 RD |
1625 | |
1626 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1627 | } if (_result) { |
1628 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p"); | |
1629 | _resultobj = Py_BuildValue("s",_ptemp); | |
1630 | } else { | |
1631 | Py_INCREF(Py_None); | |
1632 | _resultobj = Py_None; | |
1633 | } | |
1634 | { | |
1635 | if (_obj7) | |
1636 | delete _arg7; | |
1637 | } | |
1638 | { | |
1639 | if (_obj8) | |
1640 | delete _arg8; | |
1641 | } | |
9c039d08 RD |
1642 | return _resultobj; |
1643 | } | |
1644 | ||
9b3d3bc4 RD |
1645 | static wxToolBarToolBase * wxToolBarBase_InsertSimpleTool(wxToolBarBase *self,size_t pos,int id,const wxBitmap & bitmap,const wxString & shortHelpString,const wxString & longHelpString,int toggle) { |
1646 | return self->InsertTool(pos, id, bitmap, wxNullBitmap, toggle, NULL, | |
1647 | shortHelpString, longHelpString); | |
1648 | } | |
1649 | static PyObject *_wrap_wxToolBarBase_InsertSimpleTool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 1650 | PyObject * _resultobj; |
9b3d3bc4 RD |
1651 | wxToolBarToolBase * _result; |
1652 | wxToolBarBase * _arg0; | |
1653 | size_t _arg1; | |
1654 | int _arg2; | |
1655 | wxBitmap * _arg3; | |
1656 | wxString * _arg4 = (wxString *) &wxPyEmptyStr; | |
1657 | wxString * _arg5 = (wxString *) &wxPyEmptyStr; | |
1658 | int _arg6 = (int ) FALSE; | |
1d99702e | 1659 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1660 | PyObject * _argo3 = 0; |
1661 | PyObject * _obj4 = 0; | |
1662 | PyObject * _obj5 = 0; | |
1663 | char *_kwnames[] = { "self","pos","id","bitmap","shortHelpString","longHelpString","toggle", NULL }; | |
1664 | char _ptemp[128]; | |
af309447 RD |
1665 | |
1666 | self = self; | |
9b3d3bc4 | 1667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|OOi:wxToolBarBase_InsertSimpleTool",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6)) |
af309447 | 1668 | return NULL; |
1d99702e RD |
1669 | if (_argo0) { |
1670 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1671 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
1672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertSimpleTool. Expected _wxToolBarBase_p."); | |
1673 | return NULL; | |
1674 | } | |
1675 | } | |
1676 | if (_argo3) { | |
1677 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
1678 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) { | |
1679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxToolBarBase_InsertSimpleTool. Expected _wxBitmap_p."); | |
af309447 RD |
1680 | return NULL; |
1681 | } | |
1682 | } | |
9b3d3bc4 | 1683 | if (_obj4) |
af309447 | 1684 | { |
9b3d3bc4 | 1685 | if (!PyString_Check(_obj4)) { |
af309447 RD |
1686 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
1687 | return NULL; | |
1688 | } | |
9b3d3bc4 RD |
1689 | _arg4 = new wxString(PyString_AsString(_obj4), PyString_Size(_obj4)); |
1690 | } | |
1691 | if (_obj5) | |
1692 | { | |
1693 | if (!PyString_Check(_obj5)) { | |
1694 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1695 | return NULL; | |
1696 | } | |
1697 | _arg5 = new wxString(PyString_AsString(_obj5), PyString_Size(_obj5)); | |
af309447 | 1698 | } |
af309447 | 1699 | { |
cf694132 | 1700 | wxPy_BEGIN_ALLOW_THREADS; |
9b3d3bc4 | 1701 | _result = (wxToolBarToolBase *)wxToolBarBase_InsertSimpleTool(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6); |
cf694132 RD |
1702 | |
1703 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1704 | } if (_result) { |
1705 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p"); | |
1706 | _resultobj = Py_BuildValue("s",_ptemp); | |
1707 | } else { | |
1708 | Py_INCREF(Py_None); | |
1709 | _resultobj = Py_None; | |
1710 | } | |
1711 | { | |
1712 | if (_obj4) | |
1713 | delete _arg4; | |
af309447 RD |
1714 | } |
1715 | { | |
9b3d3bc4 RD |
1716 | if (_obj5) |
1717 | delete _arg5; | |
af309447 RD |
1718 | } |
1719 | return _resultobj; | |
1720 | } | |
1721 | ||
9b3d3bc4 RD |
1722 | #define wxToolBarBase_AddControl(_swigobj,_swigarg0) (_swigobj->AddControl(_swigarg0)) |
1723 | static PyObject *_wrap_wxToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1724 | PyObject * _resultobj; |
9b3d3bc4 RD |
1725 | wxToolBarToolBase * _result; |
1726 | wxToolBarBase * _arg0; | |
1727 | wxControl * _arg1; | |
1d99702e | 1728 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1729 | PyObject * _argo1 = 0; |
1730 | char *_kwnames[] = { "self","control", NULL }; | |
1731 | char _ptemp[128]; | |
9c039d08 RD |
1732 | |
1733 | self = self; | |
9b3d3bc4 | 1734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarBase_AddControl",_kwnames,&_argo0,&_argo1)) |
9c039d08 | 1735 | return NULL; |
1d99702e RD |
1736 | if (_argo0) { |
1737 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1738 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
1739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddControl. Expected _wxToolBarBase_p."); | |
1740 | return NULL; | |
1741 | } | |
1742 | } | |
1743 | if (_argo1) { | |
1744 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1745 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControl_p")) { | |
1746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToolBarBase_AddControl. Expected _wxControl_p."); | |
9c039d08 RD |
1747 | return NULL; |
1748 | } | |
1749 | } | |
9c039d08 | 1750 | { |
cf694132 | 1751 | wxPy_BEGIN_ALLOW_THREADS; |
9b3d3bc4 | 1752 | _result = (wxToolBarToolBase *)wxToolBarBase_AddControl(_arg0,_arg1); |
cf694132 RD |
1753 | |
1754 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1755 | } if (_result) { |
1756 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p"); | |
1757 | _resultobj = Py_BuildValue("s",_ptemp); | |
1758 | } else { | |
1759 | Py_INCREF(Py_None); | |
1760 | _resultobj = Py_None; | |
1761 | } | |
9c039d08 RD |
1762 | return _resultobj; |
1763 | } | |
1764 | ||
9b3d3bc4 RD |
1765 | #define wxToolBarBase_InsertControl(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertControl(_swigarg0,_swigarg1)) |
1766 | static PyObject *_wrap_wxToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 1767 | PyObject * _resultobj; |
9b3d3bc4 RD |
1768 | wxToolBarToolBase * _result; |
1769 | wxToolBarBase * _arg0; | |
1770 | size_t _arg1; | |
1771 | wxControl * _arg2; | |
1d99702e | 1772 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
1773 | PyObject * _argo2 = 0; |
1774 | char *_kwnames[] = { "self","pos","control", NULL }; | |
1775 | char _ptemp[128]; | |
af309447 RD |
1776 | |
1777 | self = self; | |
9b3d3bc4 | 1778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_InsertControl",_kwnames,&_argo0,&_arg1,&_argo2)) |
af309447 | 1779 | return NULL; |
1d99702e RD |
1780 | if (_argo0) { |
1781 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1782 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
1783 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertControl. Expected _wxToolBarBase_p."); | |
af309447 RD |
1784 | return NULL; |
1785 | } | |
1786 | } | |
9b3d3bc4 RD |
1787 | if (_argo2) { |
1788 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1789 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxControl_p")) { | |
1790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxToolBarBase_InsertControl. Expected _wxControl_p."); | |
af309447 | 1791 | return NULL; |
9b3d3bc4 | 1792 | } |
af309447 | 1793 | } |
af309447 | 1794 | { |
cf694132 | 1795 | wxPy_BEGIN_ALLOW_THREADS; |
9b3d3bc4 | 1796 | _result = (wxToolBarToolBase *)wxToolBarBase_InsertControl(_arg0,_arg1,_arg2); |
cf694132 RD |
1797 | |
1798 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1799 | } if (_result) { |
1800 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p"); | |
1801 | _resultobj = Py_BuildValue("s",_ptemp); | |
1802 | } else { | |
1803 | Py_INCREF(Py_None); | |
1804 | _resultobj = Py_None; | |
1805 | } | |
af309447 RD |
1806 | return _resultobj; |
1807 | } | |
1808 | ||
9b3d3bc4 RD |
1809 | #define wxToolBarBase_AddSeparator(_swigobj) (_swigobj->AddSeparator()) |
1810 | static PyObject *_wrap_wxToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1811 | PyObject * _resultobj; |
9b3d3bc4 RD |
1812 | wxToolBarToolBase * _result; |
1813 | wxToolBarBase * _arg0; | |
1d99702e | 1814 | PyObject * _argo0 = 0; |
efc5f224 | 1815 | char *_kwnames[] = { "self", NULL }; |
9b3d3bc4 | 1816 | char _ptemp[128]; |
9c039d08 RD |
1817 | |
1818 | self = self; | |
9b3d3bc4 | 1819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_AddSeparator",_kwnames,&_argo0)) |
9c039d08 | 1820 | return NULL; |
1d99702e RD |
1821 | if (_argo0) { |
1822 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1823 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
1824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_AddSeparator. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
1825 | return NULL; |
1826 | } | |
1827 | } | |
9c039d08 | 1828 | { |
cf694132 | 1829 | wxPy_BEGIN_ALLOW_THREADS; |
9b3d3bc4 | 1830 | _result = (wxToolBarToolBase *)wxToolBarBase_AddSeparator(_arg0); |
cf694132 RD |
1831 | |
1832 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
1833 | } if (_result) { |
1834 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p"); | |
1835 | _resultobj = Py_BuildValue("s",_ptemp); | |
1836 | } else { | |
1837 | Py_INCREF(Py_None); | |
1838 | _resultobj = Py_None; | |
1839 | } | |
9c039d08 RD |
1840 | return _resultobj; |
1841 | } | |
1842 | ||
9b3d3bc4 RD |
1843 | #define wxToolBarBase_InsertSeparator(_swigobj,_swigarg0) (_swigobj->InsertSeparator(_swigarg0)) |
1844 | static PyObject *_wrap_wxToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1845 | PyObject * _resultobj; | |
1846 | wxToolBarToolBase * _result; | |
1847 | wxToolBarBase * _arg0; | |
1848 | size_t _arg1; | |
1849 | PyObject * _argo0 = 0; | |
1850 | char *_kwnames[] = { "self","pos", NULL }; | |
1851 | char _ptemp[128]; | |
9c039d08 | 1852 | |
9b3d3bc4 RD |
1853 | self = self; |
1854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_InsertSeparator",_kwnames,&_argo0,&_arg1)) | |
1855 | return NULL; | |
1856 | if (_argo0) { | |
1857 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1858 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { | |
1859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_InsertSeparator. Expected _wxToolBarBase_p."); | |
1860 | return NULL; | |
1861 | } | |
1862 | } | |
1863 | { | |
1864 | wxPy_BEGIN_ALLOW_THREADS; | |
1865 | _result = (wxToolBarToolBase *)wxToolBarBase_InsertSeparator(_arg0,_arg1); | |
9c039d08 | 1866 | |
9b3d3bc4 RD |
1867 | wxPy_END_ALLOW_THREADS; |
1868 | } if (_result) { | |
1869 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p"); | |
1870 | _resultobj = Py_BuildValue("s",_ptemp); | |
1871 | } else { | |
1872 | Py_INCREF(Py_None); | |
1873 | _resultobj = Py_None; | |
1874 | } | |
1875 | return _resultobj; | |
9c039d08 RD |
1876 | } |
1877 | ||
9b3d3bc4 RD |
1878 | #define wxToolBarBase_RemoveTool(_swigobj,_swigarg0) (_swigobj->RemoveTool(_swigarg0)) |
1879 | static PyObject *_wrap_wxToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
d5c9047a | 1880 | PyObject * _resultobj; |
9b3d3bc4 RD |
1881 | wxToolBarToolBase * _result; |
1882 | wxToolBarBase * _arg0; | |
1883 | int _arg1; | |
1d99702e | 1884 | PyObject * _argo0 = 0; |
9b3d3bc4 | 1885 | char *_kwnames[] = { "self","id", NULL }; |
d5c9047a RD |
1886 | char _ptemp[128]; |
1887 | ||
1888 | self = self; | |
9b3d3bc4 | 1889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_RemoveTool",_kwnames,&_argo0,&_arg1)) |
d5c9047a | 1890 | return NULL; |
1d99702e RD |
1891 | if (_argo0) { |
1892 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1893 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
1894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_RemoveTool. Expected _wxToolBarBase_p."); | |
d5c9047a RD |
1895 | return NULL; |
1896 | } | |
1897 | } | |
cf694132 RD |
1898 | { |
1899 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1900 | _result = (wxToolBarToolBase *)wxToolBarBase_RemoveTool(_arg0,_arg1); |
cf694132 RD |
1901 | |
1902 | wxPy_END_ALLOW_THREADS; | |
1d99702e | 1903 | } if (_result) { |
9b3d3bc4 | 1904 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p"); |
1d99702e RD |
1905 | _resultobj = Py_BuildValue("s",_ptemp); |
1906 | } else { | |
1907 | Py_INCREF(Py_None); | |
1908 | _resultobj = Py_None; | |
1909 | } | |
d5c9047a RD |
1910 | return _resultobj; |
1911 | } | |
1912 | ||
9b3d3bc4 RD |
1913 | #define wxToolBarBase_DeleteToolByPos(_swigobj,_swigarg0) (_swigobj->DeleteToolByPos(_swigarg0)) |
1914 | static PyObject *_wrap_wxToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6999b0d8 RD |
1915 | PyObject * _resultobj; |
1916 | bool _result; | |
9b3d3bc4 RD |
1917 | wxToolBarBase * _arg0; |
1918 | size_t _arg1; | |
6999b0d8 | 1919 | PyObject * _argo0 = 0; |
9b3d3bc4 | 1920 | char *_kwnames[] = { "self","pos", NULL }; |
6999b0d8 RD |
1921 | |
1922 | self = self; | |
9b3d3bc4 | 1923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_DeleteToolByPos",_kwnames,&_argo0,&_arg1)) |
6999b0d8 RD |
1924 | return NULL; |
1925 | if (_argo0) { | |
1926 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1927 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
1928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_DeleteToolByPos. Expected _wxToolBarBase_p."); | |
6999b0d8 RD |
1929 | return NULL; |
1930 | } | |
1931 | } | |
9b3d3bc4 RD |
1932 | { |
1933 | wxPy_BEGIN_ALLOW_THREADS; | |
1934 | _result = (bool )wxToolBarBase_DeleteToolByPos(_arg0,_arg1); | |
1935 | ||
1936 | wxPy_END_ALLOW_THREADS; | |
1937 | } _resultobj = Py_BuildValue("i",_result); | |
1938 | return _resultobj; | |
1939 | } | |
1940 | ||
1941 | #define wxToolBarBase_DeleteTool(_swigobj,_swigarg0) (_swigobj->DeleteTool(_swigarg0)) | |
1942 | static PyObject *_wrap_wxToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1943 | PyObject * _resultobj; | |
1944 | bool _result; | |
1945 | wxToolBarBase * _arg0; | |
1946 | int _arg1; | |
1947 | PyObject * _argo0 = 0; | |
1948 | char *_kwnames[] = { "self","id", NULL }; | |
1949 | ||
1950 | self = self; | |
1951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_DeleteTool",_kwnames,&_argo0,&_arg1)) | |
1952 | return NULL; | |
1953 | if (_argo0) { | |
1954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { | |
1956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_DeleteTool. Expected _wxToolBarBase_p."); | |
6999b0d8 RD |
1957 | return NULL; |
1958 | } | |
1959 | } | |
1960 | { | |
1961 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1962 | _result = (bool )wxToolBarBase_DeleteTool(_arg0,_arg1); |
6999b0d8 RD |
1963 | |
1964 | wxPy_END_ALLOW_THREADS; | |
1965 | } _resultobj = Py_BuildValue("i",_result); | |
1966 | return _resultobj; | |
1967 | } | |
1968 | ||
9b3d3bc4 RD |
1969 | #define wxToolBarBase_ClearTools(_swigobj) (_swigobj->ClearTools()) |
1970 | static PyObject *_wrap_wxToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 1971 | PyObject * _resultobj; |
9b3d3bc4 | 1972 | wxToolBarBase * _arg0; |
1d99702e | 1973 | PyObject * _argo0 = 0; |
efc5f224 | 1974 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
1975 | |
1976 | self = self; | |
9b3d3bc4 | 1977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_ClearTools",_kwnames,&_argo0)) |
9c039d08 | 1978 | return NULL; |
1d99702e RD |
1979 | if (_argo0) { |
1980 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
1981 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
1982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_ClearTools. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
1983 | return NULL; |
1984 | } | |
1985 | } | |
cf694132 RD |
1986 | { |
1987 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 1988 | wxToolBarBase_ClearTools(_arg0); |
cf694132 RD |
1989 | |
1990 | wxPy_END_ALLOW_THREADS; | |
1991 | } Py_INCREF(Py_None); | |
9c039d08 RD |
1992 | _resultobj = Py_None; |
1993 | return _resultobj; | |
1994 | } | |
1995 | ||
9b3d3bc4 RD |
1996 | #define wxToolBarBase_Realize(_swigobj) (_swigobj->Realize()) |
1997 | static PyObject *_wrap_wxToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6999b0d8 | 1998 | PyObject * _resultobj; |
9b3d3bc4 RD |
1999 | bool _result; |
2000 | wxToolBarBase * _arg0; | |
6999b0d8 RD |
2001 | PyObject * _argo0 = 0; |
2002 | char *_kwnames[] = { "self", NULL }; | |
2003 | ||
2004 | self = self; | |
9b3d3bc4 | 2005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_Realize",_kwnames,&_argo0)) |
6999b0d8 RD |
2006 | return NULL; |
2007 | if (_argo0) { | |
2008 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2009 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_Realize. Expected _wxToolBarBase_p."); | |
6999b0d8 RD |
2011 | return NULL; |
2012 | } | |
2013 | } | |
2014 | { | |
2015 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2016 | _result = (bool )wxToolBarBase_Realize(_arg0); |
6999b0d8 RD |
2017 | |
2018 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 | 2019 | } _resultobj = Py_BuildValue("i",_result); |
6999b0d8 RD |
2020 | return _resultobj; |
2021 | } | |
2022 | ||
9b3d3bc4 RD |
2023 | #define wxToolBarBase_EnableTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnableTool(_swigarg0,_swigarg1)) |
2024 | static PyObject *_wrap_wxToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2025 | PyObject * _resultobj; |
9b3d3bc4 | 2026 | wxToolBarBase * _arg0; |
9c039d08 | 2027 | int _arg1; |
9b3d3bc4 | 2028 | bool _arg2; |
1d99702e | 2029 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
2030 | int tempbool2; |
2031 | char *_kwnames[] = { "self","id","enable", NULL }; | |
9c039d08 RD |
2032 | |
2033 | self = self; | |
9b3d3bc4 | 2034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_EnableTool",_kwnames,&_argo0,&_arg1,&tempbool2)) |
9c039d08 | 2035 | return NULL; |
1d99702e RD |
2036 | if (_argo0) { |
2037 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2038 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_EnableTool. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2040 | return NULL; |
2041 | } | |
2042 | } | |
9b3d3bc4 RD |
2043 | _arg2 = (bool ) tempbool2; |
2044 | { | |
2045 | wxPy_BEGIN_ALLOW_THREADS; | |
2046 | wxToolBarBase_EnableTool(_arg0,_arg1,_arg2); | |
2047 | ||
2048 | wxPy_END_ALLOW_THREADS; | |
2049 | } Py_INCREF(Py_None); | |
2050 | _resultobj = Py_None; | |
2051 | return _resultobj; | |
2052 | } | |
2053 | ||
2054 | #define wxToolBarBase_ToggleTool(_swigobj,_swigarg0,_swigarg1) (_swigobj->ToggleTool(_swigarg0,_swigarg1)) | |
2055 | static PyObject *_wrap_wxToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2056 | PyObject * _resultobj; | |
2057 | wxToolBarBase * _arg0; | |
2058 | int _arg1; | |
2059 | bool _arg2; | |
2060 | PyObject * _argo0 = 0; | |
2061 | int tempbool2; | |
2062 | char *_kwnames[] = { "self","id","toggle", NULL }; | |
2063 | ||
2064 | self = self; | |
2065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_ToggleTool",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
9c039d08 | 2066 | return NULL; |
9b3d3bc4 RD |
2067 | if (_argo0) { |
2068 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2069 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { | |
2070 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_ToggleTool. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2071 | return NULL; |
2072 | } | |
2073 | } | |
9b3d3bc4 | 2074 | _arg2 = (bool ) tempbool2; |
9c039d08 | 2075 | { |
9b3d3bc4 RD |
2076 | wxPy_BEGIN_ALLOW_THREADS; |
2077 | wxToolBarBase_ToggleTool(_arg0,_arg1,_arg2); | |
2078 | ||
2079 | wxPy_END_ALLOW_THREADS; | |
2080 | } Py_INCREF(Py_None); | |
2081 | _resultobj = Py_None; | |
2082 | return _resultobj; | |
2083 | } | |
2084 | ||
2085 | #define wxToolBarBase_SetToggle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToggle(_swigarg0,_swigarg1)) | |
2086 | static PyObject *_wrap_wxToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2087 | PyObject * _resultobj; | |
2088 | wxToolBarBase * _arg0; | |
2089 | int _arg1; | |
2090 | bool _arg2; | |
2091 | PyObject * _argo0 = 0; | |
2092 | int tempbool2; | |
2093 | char *_kwnames[] = { "self","id","toggle", NULL }; | |
2094 | ||
2095 | self = self; | |
2096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_SetToggle",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2097 | return NULL; | |
2098 | if (_argo0) { | |
2099 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2100 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { | |
2101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToggle. Expected _wxToolBarBase_p."); | |
9c039d08 | 2102 | return NULL; |
9b3d3bc4 | 2103 | } |
9c039d08 | 2104 | } |
9b3d3bc4 | 2105 | _arg2 = (bool ) tempbool2; |
9c039d08 | 2106 | { |
9b3d3bc4 RD |
2107 | wxPy_BEGIN_ALLOW_THREADS; |
2108 | wxToolBarBase_SetToggle(_arg0,_arg1,_arg2); | |
2109 | ||
2110 | wxPy_END_ALLOW_THREADS; | |
2111 | } Py_INCREF(Py_None); | |
2112 | _resultobj = Py_None; | |
2113 | return _resultobj; | |
2114 | } | |
2115 | ||
2116 | static PyObject * wxToolBarBase_GetToolClientData(wxToolBarBase *self,int index) { | |
2117 | wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(index); | |
2118 | if (udata) { | |
2119 | Py_INCREF(udata->m_obj); | |
2120 | return udata->m_obj; | |
2121 | } else { | |
2122 | Py_INCREF(Py_None); | |
2123 | return Py_None; | |
2124 | } | |
2125 | } | |
2126 | static PyObject *_wrap_wxToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2127 | PyObject * _resultobj; | |
2128 | PyObject * _result; | |
2129 | wxToolBarBase * _arg0; | |
2130 | int _arg1; | |
2131 | PyObject * _argo0 = 0; | |
2132 | char *_kwnames[] = { "self","index", NULL }; | |
2133 | ||
2134 | self = self; | |
2135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolClientData",_kwnames,&_argo0,&_arg1)) | |
2136 | return NULL; | |
2137 | if (_argo0) { | |
2138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { | |
2140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolClientData. Expected _wxToolBarBase_p."); | |
9c039d08 | 2141 | return NULL; |
9b3d3bc4 | 2142 | } |
9c039d08 | 2143 | } |
cf694132 RD |
2144 | { |
2145 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2146 | _result = (PyObject *)wxToolBarBase_GetToolClientData(_arg0,_arg1); |
cf694132 RD |
2147 | |
2148 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2149 | }{ |
2150 | _resultobj = _result; | |
9c039d08 RD |
2151 | } |
2152 | return _resultobj; | |
2153 | } | |
2154 | ||
9b3d3bc4 RD |
2155 | static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int index,PyObject * clientData) { |
2156 | self->SetToolClientData(index, new wxPyUserData(clientData)); | |
08127323 | 2157 | } |
9b3d3bc4 | 2158 | static PyObject *_wrap_wxToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 | 2159 | PyObject * _resultobj; |
9b3d3bc4 | 2160 | wxToolBarBase * _arg0; |
08127323 | 2161 | int _arg1; |
9b3d3bc4 | 2162 | PyObject * _arg2; |
1d99702e | 2163 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
2164 | PyObject * _obj2 = 0; |
2165 | char *_kwnames[] = { "self","index","clientData", NULL }; | |
08127323 RD |
2166 | |
2167 | self = self; | |
9b3d3bc4 | 2168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_SetToolClientData",_kwnames,&_argo0,&_arg1,&_obj2)) |
08127323 | 2169 | return NULL; |
1d99702e RD |
2170 | if (_argo0) { |
2171 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2172 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2173 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolClientData. Expected _wxToolBarBase_p."); | |
08127323 RD |
2174 | return NULL; |
2175 | } | |
2176 | } | |
08127323 | 2177 | { |
9b3d3bc4 | 2178 | _arg2 = _obj2; |
08127323 | 2179 | } |
cf694132 RD |
2180 | { |
2181 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2182 | wxToolBarBase_SetToolClientData(_arg0,_arg1,_arg2); |
cf694132 RD |
2183 | |
2184 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2185 | } Py_INCREF(Py_None); |
2186 | _resultobj = Py_None; | |
08127323 RD |
2187 | return _resultobj; |
2188 | } | |
2189 | ||
9b3d3bc4 RD |
2190 | #define wxToolBarBase_GetToolState(_swigobj,_swigarg0) (_swigobj->GetToolState(_swigarg0)) |
2191 | static PyObject *_wrap_wxToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2192 | PyObject * _resultobj; |
9b3d3bc4 RD |
2193 | bool _result; |
2194 | wxToolBarBase * _arg0; | |
9c039d08 | 2195 | int _arg1; |
1d99702e | 2196 | PyObject * _argo0 = 0; |
9b3d3bc4 | 2197 | char *_kwnames[] = { "self","id", NULL }; |
9c039d08 RD |
2198 | |
2199 | self = self; | |
9b3d3bc4 | 2200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolState",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 2201 | return NULL; |
1d99702e RD |
2202 | if (_argo0) { |
2203 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2204 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolState. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2206 | return NULL; |
2207 | } | |
2208 | } | |
cf694132 RD |
2209 | { |
2210 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2211 | _result = (bool )wxToolBarBase_GetToolState(_arg0,_arg1); |
cf694132 RD |
2212 | |
2213 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 | 2214 | } _resultobj = Py_BuildValue("i",_result); |
9c039d08 RD |
2215 | return _resultobj; |
2216 | } | |
2217 | ||
9b3d3bc4 RD |
2218 | #define wxToolBarBase_GetToolEnabled(_swigobj,_swigarg0) (_swigobj->GetToolEnabled(_swigarg0)) |
2219 | static PyObject *_wrap_wxToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2220 | PyObject * _resultobj; |
9b3d3bc4 RD |
2221 | bool _result; |
2222 | wxToolBarBase * _arg0; | |
2223 | int _arg1; | |
1d99702e | 2224 | PyObject * _argo0 = 0; |
9b3d3bc4 | 2225 | char *_kwnames[] = { "self","id", NULL }; |
9c039d08 RD |
2226 | |
2227 | self = self; | |
9b3d3bc4 | 2228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolEnabled",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 2229 | return NULL; |
1d99702e RD |
2230 | if (_argo0) { |
2231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolEnabled. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2234 | return NULL; |
2235 | } | |
2236 | } | |
cf694132 RD |
2237 | { |
2238 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2239 | _result = (bool )wxToolBarBase_GetToolEnabled(_arg0,_arg1); |
cf694132 RD |
2240 | |
2241 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 | 2242 | } _resultobj = Py_BuildValue("i",_result); |
9c039d08 RD |
2243 | return _resultobj; |
2244 | } | |
2245 | ||
9b3d3bc4 RD |
2246 | #define wxToolBarBase_SetToolShortHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolShortHelp(_swigarg0,_swigarg1)) |
2247 | static PyObject *_wrap_wxToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2248 | PyObject * _resultobj; |
9b3d3bc4 RD |
2249 | wxToolBarBase * _arg0; |
2250 | int _arg1; | |
2251 | wxString * _arg2; | |
1d99702e | 2252 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
2253 | PyObject * _obj2 = 0; |
2254 | char *_kwnames[] = { "self","id","helpString", NULL }; | |
9c039d08 RD |
2255 | |
2256 | self = self; | |
9b3d3bc4 | 2257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_SetToolShortHelp",_kwnames,&_argo0,&_arg1,&_obj2)) |
9c039d08 | 2258 | return NULL; |
1d99702e RD |
2259 | if (_argo0) { |
2260 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2261 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolShortHelp. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2263 | return NULL; |
2264 | } | |
2265 | } | |
9b3d3bc4 RD |
2266 | { |
2267 | if (!PyString_Check(_obj2)) { | |
2268 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2269 | return NULL; | |
2270 | } | |
2271 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
2272 | } | |
cf694132 RD |
2273 | { |
2274 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2275 | wxToolBarBase_SetToolShortHelp(_arg0,_arg1,*_arg2); |
cf694132 RD |
2276 | |
2277 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2278 | } Py_INCREF(Py_None); |
2279 | _resultobj = Py_None; | |
2280 | { | |
2281 | if (_obj2) | |
2282 | delete _arg2; | |
2283 | } | |
9c039d08 RD |
2284 | return _resultobj; |
2285 | } | |
2286 | ||
9b3d3bc4 RD |
2287 | #define wxToolBarBase_GetToolShortHelp(_swigobj,_swigarg0) (_swigobj->GetToolShortHelp(_swigarg0)) |
2288 | static PyObject *_wrap_wxToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2289 | PyObject * _resultobj; |
9b3d3bc4 RD |
2290 | wxString * _result; |
2291 | wxToolBarBase * _arg0; | |
2292 | int _arg1; | |
1d99702e | 2293 | PyObject * _argo0 = 0; |
9b3d3bc4 | 2294 | char *_kwnames[] = { "self","id", NULL }; |
9c039d08 RD |
2295 | |
2296 | self = self; | |
9b3d3bc4 | 2297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolShortHelp",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 2298 | return NULL; |
1d99702e RD |
2299 | if (_argo0) { |
2300 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2301 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolShortHelp. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2303 | return NULL; |
2304 | } | |
2305 | } | |
cf694132 RD |
2306 | { |
2307 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2308 | _result = new wxString (wxToolBarBase_GetToolShortHelp(_arg0,_arg1)); |
cf694132 RD |
2309 | |
2310 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2311 | }{ |
2312 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
2313 | } | |
2314 | { | |
2315 | delete _result; | |
2316 | } | |
9c039d08 RD |
2317 | return _resultobj; |
2318 | } | |
2319 | ||
9b3d3bc4 RD |
2320 | #define wxToolBarBase_SetToolLongHelp(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetToolLongHelp(_swigarg0,_swigarg1)) |
2321 | static PyObject *_wrap_wxToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
be4d9c1f | 2322 | PyObject * _resultobj; |
9b3d3bc4 RD |
2323 | wxToolBarBase * _arg0; |
2324 | int _arg1; | |
2325 | wxString * _arg2; | |
1d99702e | 2326 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
2327 | PyObject * _obj2 = 0; |
2328 | char *_kwnames[] = { "self","id","helpString", NULL }; | |
be4d9c1f RD |
2329 | |
2330 | self = self; | |
9b3d3bc4 | 2331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxToolBarBase_SetToolLongHelp",_kwnames,&_argo0,&_arg1,&_obj2)) |
be4d9c1f | 2332 | return NULL; |
1d99702e RD |
2333 | if (_argo0) { |
2334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolLongHelp. Expected _wxToolBarBase_p."); | |
be4d9c1f RD |
2337 | return NULL; |
2338 | } | |
2339 | } | |
2f90df85 | 2340 | { |
9b3d3bc4 RD |
2341 | if (!PyString_Check(_obj2)) { |
2342 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
be4d9c1f | 2343 | return NULL; |
9b3d3bc4 RD |
2344 | } |
2345 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
2f90df85 | 2346 | } |
cf694132 RD |
2347 | { |
2348 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2349 | wxToolBarBase_SetToolLongHelp(_arg0,_arg1,*_arg2); |
cf694132 RD |
2350 | |
2351 | wxPy_END_ALLOW_THREADS; | |
2352 | } Py_INCREF(Py_None); | |
be4d9c1f | 2353 | _resultobj = Py_None; |
9b3d3bc4 RD |
2354 | { |
2355 | if (_obj2) | |
2356 | delete _arg2; | |
2357 | } | |
be4d9c1f RD |
2358 | return _resultobj; |
2359 | } | |
2360 | ||
9b3d3bc4 RD |
2361 | #define wxToolBarBase_GetToolLongHelp(_swigobj,_swigarg0) (_swigobj->GetToolLongHelp(_swigarg0)) |
2362 | static PyObject *_wrap_wxToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6999b0d8 | 2363 | PyObject * _resultobj; |
9b3d3bc4 RD |
2364 | wxString * _result; |
2365 | wxToolBarBase * _arg0; | |
2366 | int _arg1; | |
6999b0d8 | 2367 | PyObject * _argo0 = 0; |
9b3d3bc4 | 2368 | char *_kwnames[] = { "self","id", NULL }; |
6999b0d8 RD |
2369 | |
2370 | self = self; | |
9b3d3bc4 | 2371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_GetToolLongHelp",_kwnames,&_argo0,&_arg1)) |
6999b0d8 RD |
2372 | return NULL; |
2373 | if (_argo0) { | |
2374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolLongHelp. Expected _wxToolBarBase_p."); | |
6999b0d8 RD |
2377 | return NULL; |
2378 | } | |
2379 | } | |
2380 | { | |
2381 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2382 | _result = new wxString (wxToolBarBase_GetToolLongHelp(_arg0,_arg1)); |
6999b0d8 RD |
2383 | |
2384 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2385 | }{ |
2386 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
2387 | } | |
2388 | { | |
2389 | delete _result; | |
2390 | } | |
6999b0d8 RD |
2391 | return _resultobj; |
2392 | } | |
2393 | ||
9b3d3bc4 RD |
2394 | #define wxToolBarBase_SetMarginsXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) |
2395 | static PyObject *_wrap_wxToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2396 | PyObject * _resultobj; |
9b3d3bc4 RD |
2397 | wxToolBarBase * _arg0; |
2398 | int _arg1; | |
2399 | int _arg2; | |
1d99702e | 2400 | PyObject * _argo0 = 0; |
9b3d3bc4 | 2401 | char *_kwnames[] = { "self","x","y", NULL }; |
9c039d08 RD |
2402 | |
2403 | self = self; | |
9b3d3bc4 | 2404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_SetMarginsXY",_kwnames,&_argo0,&_arg1,&_arg2)) |
9c039d08 | 2405 | return NULL; |
1d99702e RD |
2406 | if (_argo0) { |
2407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2408 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetMarginsXY. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2410 | return NULL; |
2411 | } | |
2412 | } | |
cf694132 RD |
2413 | { |
2414 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2415 | wxToolBarBase_SetMarginsXY(_arg0,_arg1,_arg2); |
cf694132 RD |
2416 | |
2417 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2418 | } Py_INCREF(Py_None); |
2419 | _resultobj = Py_None; | |
9c039d08 RD |
2420 | return _resultobj; |
2421 | } | |
2422 | ||
9b3d3bc4 RD |
2423 | #define wxToolBarBase_SetMargins(_swigobj,_swigarg0) (_swigobj->SetMargins(_swigarg0)) |
2424 | static PyObject *_wrap_wxToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2425 | PyObject * _resultobj; |
9b3d3bc4 RD |
2426 | wxToolBarBase * _arg0; |
2427 | wxSize * _arg1; | |
1d99702e | 2428 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
2429 | wxSize temp; |
2430 | PyObject * _obj1 = 0; | |
2431 | char *_kwnames[] = { "self","size", NULL }; | |
9c039d08 RD |
2432 | |
2433 | self = self; | |
9b3d3bc4 | 2434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarBase_SetMargins",_kwnames,&_argo0,&_obj1)) |
9c039d08 | 2435 | return NULL; |
1d99702e RD |
2436 | if (_argo0) { |
2437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetMargins. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2440 | return NULL; |
2441 | } | |
2442 | } | |
9b3d3bc4 RD |
2443 | { |
2444 | _arg1 = &temp; | |
2445 | if (! wxSize_helper(_obj1, &_arg1)) | |
2446 | return NULL; | |
2447 | } | |
cf694132 RD |
2448 | { |
2449 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2450 | wxToolBarBase_SetMargins(_arg0,*_arg1); |
cf694132 RD |
2451 | |
2452 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2453 | } Py_INCREF(Py_None); |
2454 | _resultobj = Py_None; | |
9c039d08 RD |
2455 | return _resultobj; |
2456 | } | |
2457 | ||
9b3d3bc4 RD |
2458 | #define wxToolBarBase_SetToolPacking(_swigobj,_swigarg0) (_swigobj->SetToolPacking(_swigarg0)) |
2459 | static PyObject *_wrap_wxToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2460 | PyObject * _resultobj; |
9b3d3bc4 | 2461 | wxToolBarBase * _arg0; |
9c039d08 | 2462 | int _arg1; |
1d99702e | 2463 | PyObject * _argo0 = 0; |
9b3d3bc4 | 2464 | char *_kwnames[] = { "self","packing", NULL }; |
9c039d08 RD |
2465 | |
2466 | self = self; | |
9b3d3bc4 | 2467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_SetToolPacking",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 2468 | return NULL; |
1d99702e RD |
2469 | if (_argo0) { |
2470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolPacking. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2473 | return NULL; |
2474 | } | |
2475 | } | |
9c039d08 | 2476 | { |
cf694132 | 2477 | wxPy_BEGIN_ALLOW_THREADS; |
9b3d3bc4 | 2478 | wxToolBarBase_SetToolPacking(_arg0,_arg1); |
cf694132 RD |
2479 | |
2480 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2481 | } Py_INCREF(Py_None); |
2482 | _resultobj = Py_None; | |
2483 | return _resultobj; | |
9c039d08 | 2484 | } |
9b3d3bc4 RD |
2485 | |
2486 | #define wxToolBarBase_SetToolSeparation(_swigobj,_swigarg0) (_swigobj->SetToolSeparation(_swigarg0)) | |
2487 | static PyObject *_wrap_wxToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2488 | PyObject * _resultobj; | |
2489 | wxToolBarBase * _arg0; | |
2490 | int _arg1; | |
2491 | PyObject * _argo0 = 0; | |
2492 | char *_kwnames[] = { "self","separation", NULL }; | |
2493 | ||
2494 | self = self; | |
2495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_SetToolSeparation",_kwnames,&_argo0,&_arg1)) | |
2496 | return NULL; | |
2497 | if (_argo0) { | |
2498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { | |
2500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolSeparation. Expected _wxToolBarBase_p."); | |
2501 | return NULL; | |
2502 | } | |
2503 | } | |
9c039d08 | 2504 | { |
9b3d3bc4 RD |
2505 | wxPy_BEGIN_ALLOW_THREADS; |
2506 | wxToolBarBase_SetToolSeparation(_arg0,_arg1); | |
2507 | ||
2508 | wxPy_END_ALLOW_THREADS; | |
2509 | } Py_INCREF(Py_None); | |
2510 | _resultobj = Py_None; | |
9c039d08 RD |
2511 | return _resultobj; |
2512 | } | |
2513 | ||
9b3d3bc4 RD |
2514 | #define wxToolBarBase_GetToolMargins(_swigobj) (_swigobj->GetToolMargins()) |
2515 | static PyObject *_wrap_wxToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2516 | PyObject * _resultobj; |
9b3d3bc4 RD |
2517 | wxSize * _result; |
2518 | wxToolBarBase * _arg0; | |
1d99702e | 2519 | PyObject * _argo0 = 0; |
efc5f224 | 2520 | char *_kwnames[] = { "self", NULL }; |
9b3d3bc4 | 2521 | char _ptemp[128]; |
9c039d08 RD |
2522 | |
2523 | self = self; | |
9b3d3bc4 | 2524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolMargins",_kwnames,&_argo0)) |
9c039d08 | 2525 | return NULL; |
1d99702e RD |
2526 | if (_argo0) { |
2527 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2528 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2529 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolMargins. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2530 | return NULL; |
2531 | } | |
2532 | } | |
cf694132 RD |
2533 | { |
2534 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2535 | _result = new wxSize (wxToolBarBase_GetToolMargins(_arg0)); |
cf694132 RD |
2536 | |
2537 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2538 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
2539 | _resultobj = Py_BuildValue("s",_ptemp); | |
9c039d08 RD |
2540 | return _resultobj; |
2541 | } | |
2542 | ||
9b3d3bc4 RD |
2543 | #define wxToolBarBase_GetToolPacking(_swigobj) (_swigobj->GetToolPacking()) |
2544 | static PyObject *_wrap_wxToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 RD |
2545 | PyObject * _resultobj; |
2546 | int _result; | |
9b3d3bc4 | 2547 | wxToolBarBase * _arg0; |
1d99702e | 2548 | PyObject * _argo0 = 0; |
efc5f224 | 2549 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
2550 | |
2551 | self = self; | |
9b3d3bc4 | 2552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolPacking",_kwnames,&_argo0)) |
9c039d08 | 2553 | return NULL; |
1d99702e RD |
2554 | if (_argo0) { |
2555 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2556 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolPacking. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2558 | return NULL; |
2559 | } | |
2560 | } | |
cf694132 RD |
2561 | { |
2562 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2563 | _result = (int )wxToolBarBase_GetToolPacking(_arg0); |
cf694132 RD |
2564 | |
2565 | wxPy_END_ALLOW_THREADS; | |
2566 | } _resultobj = Py_BuildValue("i",_result); | |
9c039d08 RD |
2567 | return _resultobj; |
2568 | } | |
2569 | ||
9b3d3bc4 RD |
2570 | #define wxToolBarBase_GetToolSeparation(_swigobj) (_swigobj->GetToolSeparation()) |
2571 | static PyObject *_wrap_wxToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2572 | PyObject * _resultobj; |
9b3d3bc4 RD |
2573 | int _result; |
2574 | wxToolBarBase * _arg0; | |
1d99702e | 2575 | PyObject * _argo0 = 0; |
9b3d3bc4 | 2576 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
2577 | |
2578 | self = self; | |
9b3d3bc4 | 2579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolSeparation",_kwnames,&_argo0)) |
9c039d08 | 2580 | return NULL; |
1d99702e RD |
2581 | if (_argo0) { |
2582 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2583 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolSeparation. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2585 | return NULL; |
2586 | } | |
2587 | } | |
9c039d08 | 2588 | { |
cf694132 | 2589 | wxPy_BEGIN_ALLOW_THREADS; |
9b3d3bc4 | 2590 | _result = (int )wxToolBarBase_GetToolSeparation(_arg0); |
cf694132 RD |
2591 | |
2592 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 | 2593 | } _resultobj = Py_BuildValue("i",_result); |
9c039d08 RD |
2594 | return _resultobj; |
2595 | } | |
2596 | ||
9b3d3bc4 RD |
2597 | #define wxToolBarBase_SetRows(_swigobj,_swigarg0) (_swigobj->SetRows(_swigarg0)) |
2598 | static PyObject *_wrap_wxToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2599 | PyObject * _resultobj; |
9b3d3bc4 | 2600 | wxToolBarBase * _arg0; |
9c039d08 | 2601 | int _arg1; |
1d99702e | 2602 | PyObject * _argo0 = 0; |
9b3d3bc4 | 2603 | char *_kwnames[] = { "self","nRows", NULL }; |
9c039d08 RD |
2604 | |
2605 | self = self; | |
9b3d3bc4 | 2606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToolBarBase_SetRows",_kwnames,&_argo0,&_arg1)) |
9c039d08 | 2607 | return NULL; |
1d99702e RD |
2608 | if (_argo0) { |
2609 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2610 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetRows. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2612 | return NULL; |
2613 | } | |
2614 | } | |
cf694132 RD |
2615 | { |
2616 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2617 | wxToolBarBase_SetRows(_arg0,_arg1); |
cf694132 RD |
2618 | |
2619 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2620 | } Py_INCREF(Py_None); |
2621 | _resultobj = Py_None; | |
9c039d08 RD |
2622 | return _resultobj; |
2623 | } | |
2624 | ||
9b3d3bc4 RD |
2625 | #define wxToolBarBase_SetMaxRowsCols(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMaxRowsCols(_swigarg0,_swigarg1)) |
2626 | static PyObject *_wrap_wxToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2627 | PyObject * _resultobj; | |
2628 | wxToolBarBase * _arg0; | |
2629 | int _arg1; | |
2630 | int _arg2; | |
1d99702e | 2631 | PyObject * _argo0 = 0; |
9b3d3bc4 | 2632 | char *_kwnames[] = { "self","rows","cols", NULL }; |
9c039d08 RD |
2633 | |
2634 | self = self; | |
9b3d3bc4 | 2635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarBase_SetMaxRowsCols",_kwnames,&_argo0,&_arg1,&_arg2)) |
9c039d08 | 2636 | return NULL; |
1d99702e RD |
2637 | if (_argo0) { |
2638 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2639 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2640 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetMaxRowsCols. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2641 | return NULL; |
2642 | } | |
2643 | } | |
cf694132 RD |
2644 | { |
2645 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2646 | wxToolBarBase_SetMaxRowsCols(_arg0,_arg1,_arg2); |
cf694132 RD |
2647 | |
2648 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2649 | } Py_INCREF(Py_None); |
2650 | _resultobj = Py_None; | |
9c039d08 RD |
2651 | return _resultobj; |
2652 | } | |
2653 | ||
9b3d3bc4 RD |
2654 | #define wxToolBarBase_GetMaxRows(_swigobj) (_swigobj->GetMaxRows()) |
2655 | static PyObject *_wrap_wxToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2656 | PyObject * _resultobj; |
9b3d3bc4 RD |
2657 | int _result; |
2658 | wxToolBarBase * _arg0; | |
1d99702e | 2659 | PyObject * _argo0 = 0; |
9b3d3bc4 | 2660 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
2661 | |
2662 | self = self; | |
9b3d3bc4 | 2663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetMaxRows",_kwnames,&_argo0)) |
9c039d08 | 2664 | return NULL; |
1d99702e RD |
2665 | if (_argo0) { |
2666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetMaxRows. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2669 | return NULL; |
2670 | } | |
2671 | } | |
cf694132 RD |
2672 | { |
2673 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2674 | _result = (int )wxToolBarBase_GetMaxRows(_arg0); |
cf694132 RD |
2675 | |
2676 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 | 2677 | } _resultobj = Py_BuildValue("i",_result); |
9c039d08 RD |
2678 | return _resultobj; |
2679 | } | |
2680 | ||
9b3d3bc4 RD |
2681 | #define wxToolBarBase_GetMaxCols(_swigobj) (_swigobj->GetMaxCols()) |
2682 | static PyObject *_wrap_wxToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2683 | PyObject * _resultobj; |
9b3d3bc4 RD |
2684 | int _result; |
2685 | wxToolBarBase * _arg0; | |
1d99702e | 2686 | PyObject * _argo0 = 0; |
9b3d3bc4 | 2687 | char *_kwnames[] = { "self", NULL }; |
9c039d08 RD |
2688 | |
2689 | self = self; | |
9b3d3bc4 | 2690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetMaxCols",_kwnames,&_argo0)) |
9c039d08 | 2691 | return NULL; |
1d99702e RD |
2692 | if (_argo0) { |
2693 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2694 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetMaxCols. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2696 | return NULL; |
2697 | } | |
2698 | } | |
cf694132 RD |
2699 | { |
2700 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2701 | _result = (int )wxToolBarBase_GetMaxCols(_arg0); |
cf694132 RD |
2702 | |
2703 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 | 2704 | } _resultobj = Py_BuildValue("i",_result); |
9c039d08 RD |
2705 | return _resultobj; |
2706 | } | |
2707 | ||
9b3d3bc4 RD |
2708 | #define wxToolBarBase_SetToolBitmapSize(_swigobj,_swigarg0) (_swigobj->SetToolBitmapSize(_swigarg0)) |
2709 | static PyObject *_wrap_wxToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2710 | PyObject * _resultobj; |
9b3d3bc4 | 2711 | wxToolBarBase * _arg0; |
d5c9047a | 2712 | wxSize * _arg1; |
1d99702e | 2713 | PyObject * _argo0 = 0; |
2f90df85 RD |
2714 | wxSize temp; |
2715 | PyObject * _obj1 = 0; | |
efc5f224 | 2716 | char *_kwnames[] = { "self","size", NULL }; |
9c039d08 RD |
2717 | |
2718 | self = self; | |
9b3d3bc4 | 2719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolBarBase_SetToolBitmapSize",_kwnames,&_argo0,&_obj1)) |
9c039d08 | 2720 | return NULL; |
1d99702e RD |
2721 | if (_argo0) { |
2722 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2723 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2724 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_SetToolBitmapSize. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2725 | return NULL; |
2726 | } | |
2727 | } | |
2f90df85 RD |
2728 | { |
2729 | _arg1 = &temp; | |
2730 | if (! wxSize_helper(_obj1, &_arg1)) | |
d5c9047a | 2731 | return NULL; |
2f90df85 | 2732 | } |
cf694132 RD |
2733 | { |
2734 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2735 | wxToolBarBase_SetToolBitmapSize(_arg0,*_arg1); |
cf694132 RD |
2736 | |
2737 | wxPy_END_ALLOW_THREADS; | |
2738 | } Py_INCREF(Py_None); | |
9c039d08 RD |
2739 | _resultobj = Py_None; |
2740 | return _resultobj; | |
2741 | } | |
2742 | ||
9b3d3bc4 RD |
2743 | #define wxToolBarBase_GetToolBitmapSize(_swigobj) (_swigobj->GetToolBitmapSize()) |
2744 | static PyObject *_wrap_wxToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2745 | PyObject * _resultobj; |
9b3d3bc4 RD |
2746 | wxSize * _result; |
2747 | wxToolBarBase * _arg0; | |
1d99702e | 2748 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
2749 | char *_kwnames[] = { "self", NULL }; |
2750 | char _ptemp[128]; | |
9c039d08 RD |
2751 | |
2752 | self = self; | |
9b3d3bc4 | 2753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolBitmapSize",_kwnames,&_argo0)) |
9c039d08 | 2754 | return NULL; |
1d99702e RD |
2755 | if (_argo0) { |
2756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolBitmapSize. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2759 | return NULL; |
2760 | } | |
2761 | } | |
cf694132 RD |
2762 | { |
2763 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2764 | _result = new wxSize (wxToolBarBase_GetToolBitmapSize(_arg0)); |
cf694132 RD |
2765 | |
2766 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2767 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
2768 | _resultobj = Py_BuildValue("s",_ptemp); | |
9c039d08 RD |
2769 | return _resultobj; |
2770 | } | |
2771 | ||
9b3d3bc4 RD |
2772 | #define wxToolBarBase_GetToolSize(_swigobj) (_swigobj->GetToolSize()) |
2773 | static PyObject *_wrap_wxToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2774 | PyObject * _resultobj; |
9b3d3bc4 RD |
2775 | wxSize * _result; |
2776 | wxToolBarBase * _arg0; | |
1d99702e | 2777 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
2778 | char *_kwnames[] = { "self", NULL }; |
2779 | char _ptemp[128]; | |
9c039d08 RD |
2780 | |
2781 | self = self; | |
9b3d3bc4 | 2782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolBarBase_GetToolSize",_kwnames,&_argo0)) |
9c039d08 | 2783 | return NULL; |
1d99702e RD |
2784 | if (_argo0) { |
2785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarBase_p")) { |
2787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarBase_GetToolSize. Expected _wxToolBarBase_p."); | |
9c039d08 RD |
2788 | return NULL; |
2789 | } | |
2790 | } | |
cf694132 RD |
2791 | { |
2792 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2793 | _result = new wxSize (wxToolBarBase_GetToolSize(_arg0)); |
cf694132 RD |
2794 | |
2795 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2796 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); |
2797 | _resultobj = Py_BuildValue("s",_ptemp); | |
9c039d08 RD |
2798 | return _resultobj; |
2799 | } | |
2800 | ||
9b3d3bc4 RD |
2801 | static void *SwigwxToolBarTowxToolBarBase(void *ptr) { |
2802 | wxToolBar *src; | |
2803 | wxToolBarBase *dest; | |
2804 | src = (wxToolBar *) ptr; | |
2805 | dest = (wxToolBarBase *) src; | |
2806 | return (void *) dest; | |
2807 | } | |
2808 | ||
2809 | static void *SwigwxToolBarTowxControl(void *ptr) { | |
2810 | wxToolBar *src; | |
2811 | wxControl *dest; | |
2812 | src = (wxToolBar *) ptr; | |
2813 | dest = (wxControl *) src; | |
2814 | return (void *) dest; | |
2815 | } | |
2816 | ||
2817 | static void *SwigwxToolBarTowxWindow(void *ptr) { | |
2818 | wxToolBar *src; | |
2819 | wxWindow *dest; | |
2820 | src = (wxToolBar *) ptr; | |
2821 | dest = (wxWindow *) src; | |
2822 | return (void *) dest; | |
2823 | } | |
2824 | ||
2825 | static void *SwigwxToolBarTowxEvtHandler(void *ptr) { | |
2826 | wxToolBar *src; | |
2827 | wxEvtHandler *dest; | |
2828 | src = (wxToolBar *) ptr; | |
2829 | dest = (wxEvtHandler *) src; | |
2830 | return (void *) dest; | |
2831 | } | |
2832 | ||
2833 | #define new_wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2834 | static PyObject *_wrap_new_wxToolBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9c039d08 | 2835 | PyObject * _resultobj; |
9b3d3bc4 RD |
2836 | wxToolBar * _result; |
2837 | wxWindow * _arg0; | |
2838 | wxWindowID _arg1; | |
2839 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
2840 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
2841 | long _arg4 = (long ) wxNO_BORDER|wxTB_HORIZONTAL; | |
2842 | wxString * _arg5 = (wxString *) &wxToolBarNameStr; | |
1d99702e | 2843 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
2844 | wxPoint temp; |
2845 | PyObject * _obj2 = 0; | |
2846 | wxSize temp0; | |
2847 | PyObject * _obj3 = 0; | |
2848 | PyObject * _obj5 = 0; | |
2849 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; | |
2850 | char _ptemp[128]; | |
9c039d08 RD |
2851 | |
2852 | self = self; | |
9b3d3bc4 | 2853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxToolBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
9c039d08 | 2854 | return NULL; |
1d99702e RD |
2855 | if (_argo0) { |
2856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { |
2858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBar. Expected _wxWindow_p."); | |
9c039d08 RD |
2859 | return NULL; |
2860 | } | |
2861 | } | |
9b3d3bc4 | 2862 | if (_obj2) |
cf694132 | 2863 | { |
9b3d3bc4 RD |
2864 | _arg2 = &temp; |
2865 | if (! wxPoint_helper(_obj2, &_arg2)) | |
2866 | return NULL; | |
9c039d08 | 2867 | } |
9b3d3bc4 RD |
2868 | if (_obj3) |
2869 | { | |
2870 | _arg3 = &temp0; | |
2871 | if (! wxSize_helper(_obj3, &_arg3)) | |
6999b0d8 | 2872 | return NULL; |
9b3d3bc4 RD |
2873 | } |
2874 | if (_obj5) | |
2875 | { | |
2876 | if (!PyString_Check(_obj5)) { | |
2877 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6999b0d8 | 2878 | return NULL; |
6999b0d8 | 2879 | } |
9b3d3bc4 RD |
2880 | _arg5 = new wxString(PyString_AsString(_obj5), PyString_Size(_obj5)); |
2881 | } | |
6999b0d8 RD |
2882 | { |
2883 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2884 | _result = (wxToolBar *)new_wxToolBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
6999b0d8 RD |
2885 | |
2886 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2887 | } if (_result) { |
2888 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBar_p"); | |
2889 | _resultobj = Py_BuildValue("s",_ptemp); | |
2890 | } else { | |
2891 | Py_INCREF(Py_None); | |
2892 | _resultobj = Py_None; | |
2893 | } | |
2894 | { | |
2895 | if (_obj5) | |
2896 | delete _arg5; | |
2897 | } | |
6999b0d8 RD |
2898 | return _resultobj; |
2899 | } | |
2900 | ||
9b3d3bc4 RD |
2901 | #define wxToolBar_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1)) |
2902 | static PyObject *_wrap_wxToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6999b0d8 | 2903 | PyObject * _resultobj; |
9b3d3bc4 | 2904 | wxToolBarToolBase * _result; |
6999b0d8 | 2905 | wxToolBar * _arg0; |
9b3d3bc4 RD |
2906 | wxCoord _arg1; |
2907 | wxCoord _arg2; | |
6999b0d8 | 2908 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
2909 | char *_kwnames[] = { "self","x","y", NULL }; |
2910 | char _ptemp[128]; | |
6999b0d8 RD |
2911 | |
2912 | self = self; | |
9b3d3bc4 | 2913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBar_FindToolForPosition",_kwnames,&_argo0,&_arg1,&_arg2)) |
6999b0d8 RD |
2914 | return NULL; |
2915 | if (_argo0) { | |
2916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBar_p")) { | |
9b3d3bc4 | 2918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBar_FindToolForPosition. Expected _wxToolBar_p."); |
6999b0d8 RD |
2919 | return NULL; |
2920 | } | |
2921 | } | |
2922 | { | |
2923 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 2924 | _result = (wxToolBarToolBase *)wxToolBar_FindToolForPosition(_arg0,_arg1,_arg2); |
6999b0d8 RD |
2925 | |
2926 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
2927 | } if (_result) { |
2928 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p"); | |
2929 | _resultobj = Py_BuildValue("s",_ptemp); | |
2930 | } else { | |
2931 | Py_INCREF(Py_None); | |
2932 | _resultobj = Py_None; | |
2933 | } | |
6999b0d8 RD |
2934 | return _resultobj; |
2935 | } | |
2936 | ||
9b3d3bc4 RD |
2937 | static void *SwigwxToolBarSimpleTowxToolBarBase(void *ptr) { |
2938 | wxToolBarSimple *src; | |
2939 | wxToolBarBase *dest; | |
2940 | src = (wxToolBarSimple *) ptr; | |
2941 | dest = (wxToolBarBase *) src; | |
2942 | return (void *) dest; | |
2943 | } | |
2944 | ||
2945 | static void *SwigwxToolBarSimpleTowxControl(void *ptr) { | |
2946 | wxToolBarSimple *src; | |
2947 | wxControl *dest; | |
2948 | src = (wxToolBarSimple *) ptr; | |
2949 | dest = (wxControl *) src; | |
2950 | return (void *) dest; | |
2951 | } | |
2952 | ||
2953 | static void *SwigwxToolBarSimpleTowxWindow(void *ptr) { | |
2954 | wxToolBarSimple *src; | |
2955 | wxWindow *dest; | |
2956 | src = (wxToolBarSimple *) ptr; | |
2957 | dest = (wxWindow *) src; | |
2958 | return (void *) dest; | |
2959 | } | |
2960 | ||
2961 | static void *SwigwxToolBarSimpleTowxEvtHandler(void *ptr) { | |
2962 | wxToolBarSimple *src; | |
2963 | wxEvtHandler *dest; | |
2964 | src = (wxToolBarSimple *) ptr; | |
2965 | dest = (wxEvtHandler *) src; | |
2966 | return (void *) dest; | |
2967 | } | |
2968 | ||
2969 | #define new_wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxToolBarSimple(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2970 | static PyObject *_wrap_new_wxToolBarSimple(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6999b0d8 | 2971 | PyObject * _resultobj; |
9b3d3bc4 RD |
2972 | wxToolBarSimple * _result; |
2973 | wxWindow * _arg0; | |
2974 | wxWindowID _arg1; | |
2975 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
2976 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
2977 | long _arg4 = (long ) wxNO_BORDER|wxTB_HORIZONTAL; | |
2978 | wxString * _arg5 = (wxString *) &wxToolBarNameStr; | |
6999b0d8 | 2979 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
2980 | wxPoint temp; |
2981 | PyObject * _obj2 = 0; | |
2982 | wxSize temp0; | |
2983 | PyObject * _obj3 = 0; | |
2984 | PyObject * _obj5 = 0; | |
2985 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; | |
2986 | char _ptemp[128]; | |
6999b0d8 RD |
2987 | |
2988 | self = self; | |
9b3d3bc4 | 2989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxToolBarSimple",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
6999b0d8 RD |
2990 | return NULL; |
2991 | if (_argo0) { | |
2992 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
2993 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { |
2994 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToolBarSimple. Expected _wxWindow_p."); | |
6999b0d8 RD |
2995 | return NULL; |
2996 | } | |
2997 | } | |
9b3d3bc4 RD |
2998 | if (_obj2) |
2999 | { | |
3000 | _arg2 = &temp; | |
3001 | if (! wxPoint_helper(_obj2, &_arg2)) | |
3002 | return NULL; | |
3003 | } | |
3004 | if (_obj3) | |
3005 | { | |
3006 | _arg3 = &temp0; | |
3007 | if (! wxSize_helper(_obj3, &_arg3)) | |
3008 | return NULL; | |
3009 | } | |
3010 | if (_obj5) | |
3011 | { | |
3012 | if (!PyString_Check(_obj5)) { | |
3013 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3014 | return NULL; | |
3015 | } | |
3016 | _arg5 = new wxString(PyString_AsString(_obj5), PyString_Size(_obj5)); | |
3017 | } | |
6999b0d8 RD |
3018 | { |
3019 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 3020 | _result = (wxToolBarSimple *)new_wxToolBarSimple(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
6999b0d8 RD |
3021 | |
3022 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
3023 | } if (_result) { |
3024 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarSimple_p"); | |
3025 | _resultobj = Py_BuildValue("s",_ptemp); | |
3026 | } else { | |
3027 | Py_INCREF(Py_None); | |
3028 | _resultobj = Py_None; | |
3029 | } | |
3030 | { | |
3031 | if (_obj5) | |
3032 | delete _arg5; | |
3033 | } | |
6999b0d8 RD |
3034 | return _resultobj; |
3035 | } | |
3036 | ||
9b3d3bc4 RD |
3037 | #define wxToolBarSimple_FindToolForPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindToolForPosition(_swigarg0,_swigarg1)) |
3038 | static PyObject *_wrap_wxToolBarSimple_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6999b0d8 | 3039 | PyObject * _resultobj; |
9b3d3bc4 RD |
3040 | wxToolBarToolBase * _result; |
3041 | wxToolBarSimple * _arg0; | |
3042 | wxCoord _arg1; | |
3043 | wxCoord _arg2; | |
6999b0d8 | 3044 | PyObject * _argo0 = 0; |
9b3d3bc4 RD |
3045 | char *_kwnames[] = { "self","x","y", NULL }; |
3046 | char _ptemp[128]; | |
6999b0d8 RD |
3047 | |
3048 | self = self; | |
9b3d3bc4 | 3049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxToolBarSimple_FindToolForPosition",_kwnames,&_argo0,&_arg1,&_arg2)) |
6999b0d8 RD |
3050 | return NULL; |
3051 | if (_argo0) { | |
3052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9b3d3bc4 RD |
3053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolBarSimple_p")) { |
3054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolBarSimple_FindToolForPosition. Expected _wxToolBarSimple_p."); | |
6999b0d8 RD |
3055 | return NULL; |
3056 | } | |
3057 | } | |
3058 | { | |
3059 | wxPy_BEGIN_ALLOW_THREADS; | |
9b3d3bc4 | 3060 | _result = (wxToolBarToolBase *)wxToolBarSimple_FindToolForPosition(_arg0,_arg1,_arg2); |
6999b0d8 RD |
3061 | |
3062 | wxPy_END_ALLOW_THREADS; | |
9b3d3bc4 RD |
3063 | } if (_result) { |
3064 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolBarToolBase_p"); | |
3065 | _resultobj = Py_BuildValue("s",_ptemp); | |
3066 | } else { | |
3067 | Py_INCREF(Py_None); | |
3068 | _resultobj = Py_None; | |
3069 | } | |
6999b0d8 RD |
3070 | return _resultobj; |
3071 | } | |
3072 | ||
9c039d08 | 3073 | static PyMethodDef stattoolcMethods[] = { |
9b3d3bc4 RD |
3074 | { "wxToolBarSimple_FindToolForPosition", (PyCFunction) _wrap_wxToolBarSimple_FindToolForPosition, METH_VARARGS | METH_KEYWORDS }, |
3075 | { "new_wxToolBarSimple", (PyCFunction) _wrap_new_wxToolBarSimple, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 | 3076 | { "wxToolBar_FindToolForPosition", (PyCFunction) _wrap_wxToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 | 3077 | { "new_wxToolBar", (PyCFunction) _wrap_new_wxToolBar, METH_VARARGS | METH_KEYWORDS }, |
9b3d3bc4 RD |
3078 | { "wxToolBarBase_GetToolSize", (PyCFunction) _wrap_wxToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS }, |
3079 | { "wxToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_wxToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS }, | |
3080 | { "wxToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_wxToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS }, | |
3081 | { "wxToolBarBase_GetMaxCols", (PyCFunction) _wrap_wxToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS }, | |
3082 | { "wxToolBarBase_GetMaxRows", (PyCFunction) _wrap_wxToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS }, | |
3083 | { "wxToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_wxToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS }, | |
3084 | { "wxToolBarBase_SetRows", (PyCFunction) _wrap_wxToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS }, | |
3085 | { "wxToolBarBase_GetToolSeparation", (PyCFunction) _wrap_wxToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS }, | |
3086 | { "wxToolBarBase_GetToolPacking", (PyCFunction) _wrap_wxToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS }, | |
3087 | { "wxToolBarBase_GetToolMargins", (PyCFunction) _wrap_wxToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS }, | |
3088 | { "wxToolBarBase_SetToolSeparation", (PyCFunction) _wrap_wxToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS }, | |
3089 | { "wxToolBarBase_SetToolPacking", (PyCFunction) _wrap_wxToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS }, | |
3090 | { "wxToolBarBase_SetMargins", (PyCFunction) _wrap_wxToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
3091 | { "wxToolBarBase_SetMarginsXY", (PyCFunction) _wrap_wxToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS }, | |
3092 | { "wxToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_wxToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS }, | |
3093 | { "wxToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_wxToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS }, | |
3094 | { "wxToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_wxToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS }, | |
3095 | { "wxToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_wxToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS }, | |
3096 | { "wxToolBarBase_GetToolEnabled", (PyCFunction) _wrap_wxToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS }, | |
3097 | { "wxToolBarBase_GetToolState", (PyCFunction) _wrap_wxToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS }, | |
3098 | { "wxToolBarBase_SetToolClientData", (PyCFunction) _wrap_wxToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS }, | |
3099 | { "wxToolBarBase_GetToolClientData", (PyCFunction) _wrap_wxToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS }, | |
3100 | { "wxToolBarBase_SetToggle", (PyCFunction) _wrap_wxToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS }, | |
3101 | { "wxToolBarBase_ToggleTool", (PyCFunction) _wrap_wxToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS }, | |
3102 | { "wxToolBarBase_EnableTool", (PyCFunction) _wrap_wxToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS }, | |
3103 | { "wxToolBarBase_Realize", (PyCFunction) _wrap_wxToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS }, | |
3104 | { "wxToolBarBase_ClearTools", (PyCFunction) _wrap_wxToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS }, | |
3105 | { "wxToolBarBase_DeleteTool", (PyCFunction) _wrap_wxToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS }, | |
3106 | { "wxToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_wxToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS }, | |
3107 | { "wxToolBarBase_RemoveTool", (PyCFunction) _wrap_wxToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS }, | |
3108 | { "wxToolBarBase_InsertSeparator", (PyCFunction) _wrap_wxToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS }, | |
3109 | { "wxToolBarBase_AddSeparator", (PyCFunction) _wrap_wxToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS }, | |
3110 | { "wxToolBarBase_InsertControl", (PyCFunction) _wrap_wxToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS }, | |
3111 | { "wxToolBarBase_AddControl", (PyCFunction) _wrap_wxToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS }, | |
3112 | { "wxToolBarBase_InsertSimpleTool", (PyCFunction) _wrap_wxToolBarBase_InsertSimpleTool, METH_VARARGS | METH_KEYWORDS }, | |
3113 | { "wxToolBarBase_InsertTool", (PyCFunction) _wrap_wxToolBarBase_InsertTool, METH_VARARGS | METH_KEYWORDS }, | |
3114 | { "wxToolBarBase_AddSimpleTool", (PyCFunction) _wrap_wxToolBarBase_AddSimpleTool, METH_VARARGS | METH_KEYWORDS }, | |
3115 | { "wxToolBarBase_AddTool", (PyCFunction) _wrap_wxToolBarBase_AddTool, METH_VARARGS | METH_KEYWORDS }, | |
3116 | { "wxToolBarToolBase_SetClientData", (PyCFunction) _wrap_wxToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS }, | |
3117 | { "wxToolBarToolBase_GetClientData", (PyCFunction) _wrap_wxToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS }, | |
3118 | { "wxToolBarToolBase_Attach", (PyCFunction) _wrap_wxToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS }, | |
3119 | { "wxToolBarToolBase_Detach", (PyCFunction) _wrap_wxToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS }, | |
3120 | { "wxToolBarToolBase_SetBitmap2", (PyCFunction) _wrap_wxToolBarToolBase_SetBitmap2, METH_VARARGS | METH_KEYWORDS }, | |
3121 | { "wxToolBarToolBase_SetBitmap1", (PyCFunction) _wrap_wxToolBarToolBase_SetBitmap1, METH_VARARGS | METH_KEYWORDS }, | |
3122 | { "wxToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_wxToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS }, | |
3123 | { "wxToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_wxToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS }, | |
3124 | { "wxToolBarToolBase_SetToggle", (PyCFunction) _wrap_wxToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS }, | |
3125 | { "wxToolBarToolBase_Toggle", (PyCFunction) _wrap_wxToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
3126 | { "wxToolBarToolBase_Enable", (PyCFunction) _wrap_wxToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS }, | |
3127 | { "wxToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_wxToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS }, | |
3128 | { "wxToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_wxToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS }, | |
3129 | { "wxToolBarToolBase_GetBitmap", (PyCFunction) _wrap_wxToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
3130 | { "wxToolBarToolBase_GetBitmap2", (PyCFunction) _wrap_wxToolBarToolBase_GetBitmap2, METH_VARARGS | METH_KEYWORDS }, | |
3131 | { "wxToolBarToolBase_GetBitmap1", (PyCFunction) _wrap_wxToolBarToolBase_GetBitmap1, METH_VARARGS | METH_KEYWORDS }, | |
3132 | { "wxToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_wxToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS }, | |
3133 | { "wxToolBarToolBase_IsToggled", (PyCFunction) _wrap_wxToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS }, | |
3134 | { "wxToolBarToolBase_IsEnabled", (PyCFunction) _wrap_wxToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS }, | |
3135 | { "wxToolBarToolBase_GetStyle", (PyCFunction) _wrap_wxToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS }, | |
3136 | { "wxToolBarToolBase_IsSeparator", (PyCFunction) _wrap_wxToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS }, | |
3137 | { "wxToolBarToolBase_IsControl", (PyCFunction) _wrap_wxToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS }, | |
3138 | { "wxToolBarToolBase_IsButton", (PyCFunction) _wrap_wxToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS }, | |
3139 | { "wxToolBarToolBase_GetToolBar", (PyCFunction) _wrap_wxToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS }, | |
3140 | { "wxToolBarToolBase_GetControl", (PyCFunction) _wrap_wxToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
3141 | { "wxToolBarToolBase_GetId", (PyCFunction) _wrap_wxToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS }, | |
3142 | { "wxToolBarToolBase_Destroy", (PyCFunction) _wrap_wxToolBarToolBase_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
3143 | { "wxStatusBar_SetStatusWidths", (PyCFunction) _wrap_wxStatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS }, |
3144 | { "wxStatusBar_SetStatusText", (PyCFunction) _wrap_wxStatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
3145 | { "wxStatusBar_SetFieldsCount", (PyCFunction) _wrap_wxStatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
3146 | { "wxStatusBar_InitColours", (PyCFunction) _wrap_wxStatusBar_InitColours, METH_VARARGS | METH_KEYWORDS }, | |
3147 | { "wxStatusBar_DrawFieldText", (PyCFunction) _wrap_wxStatusBar_DrawFieldText, METH_VARARGS | METH_KEYWORDS }, | |
3148 | { "wxStatusBar_DrawField", (PyCFunction) _wrap_wxStatusBar_DrawField, METH_VARARGS | METH_KEYWORDS }, | |
3149 | { "wxStatusBar_GetStatusText", (PyCFunction) _wrap_wxStatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS }, | |
3150 | { "wxStatusBar_GetFieldsCount", (PyCFunction) _wrap_wxStatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS }, | |
3151 | { "wxStatusBar_GetFieldRect", (PyCFunction) _wrap_wxStatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS }, | |
3152 | { "new_wxStatusBar", (PyCFunction) _wrap_new_wxStatusBar, METH_VARARGS | METH_KEYWORDS }, | |
9c039d08 RD |
3153 | { NULL, NULL } |
3154 | }; | |
1d99702e RD |
3155 | #ifdef __cplusplus |
3156 | } | |
3157 | #endif | |
3158 | /* | |
3159 | * This table is used by the pointer type-checker | |
3160 | */ | |
3161 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
3162 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
3163 | { "_wxEvent","_class_wxEvent",0}, | |
3164 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
3165 | { "_signed_long","_long",0}, | |
3166 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
65dd82cb | 3167 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
b1462dfa | 3168 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, |
2f90df85 | 3169 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
b1462dfa | 3170 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
3171 | { "_wxPrintQuality","_int",0}, |
3172 | { "_wxPrintQuality","_signed_int",0}, | |
3173 | { "_wxPrintQuality","_unsigned_int",0}, | |
3174 | { "_wxPrintQuality","_wxWindowID",0}, | |
3175 | { "_wxPrintQuality","_uint",0}, | |
3176 | { "_wxPrintQuality","_EBool",0}, | |
3177 | { "_wxPrintQuality","_size_t",0}, | |
b1462dfa | 3178 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
1d99702e | 3179 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
65dd82cb | 3180 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
1d99702e | 3181 | { "_class_wxMenuBar","_wxMenuBar",0}, |
9b3d3bc4 RD |
3182 | { "_class_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler}, |
3183 | { "_class_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler}, | |
1d99702e RD |
3184 | { "_class_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler}, |
3185 | { "_class_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler}, | |
9b3d3bc4 RD |
3186 | { "_class_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler}, |
3187 | { "_class_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler}, | |
1d99702e RD |
3188 | { "_class_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler}, |
3189 | { "_class_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler}, | |
3190 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
3191 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
3192 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
3193 | { "_wxCursor","_class_wxCursor",0}, | |
3194 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
9b3d3bc4 RD |
3195 | { "_class_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase}, |
3196 | { "_class_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase}, | |
3197 | { "_class_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase}, | |
3198 | { "_class_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase}, | |
3199 | { "_class_wxToolBarBase","_wxToolBarBase",0}, | |
1d99702e RD |
3200 | { "_wxMask","_class_wxMask",0}, |
3201 | { "_wxPen","_class_wxPen",0}, | |
3202 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
3203 | { "_byte","_unsigned_char",0}, | |
b1462dfa | 3204 | { "_wxDataObject","_class_wxDataObject",0}, |
1d99702e | 3205 | { "_wxStaticBox","_class_wxStaticBox",0}, |
65dd82cb RD |
3206 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
3207 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
1d99702e RD |
3208 | { "_wxChoice","_class_wxChoice",0}, |
3209 | { "_wxSlider","_class_wxSlider",0}, | |
3210 | { "_long","_wxDash",0}, | |
3211 | { "_long","_unsigned_long",0}, | |
3212 | { "_long","_signed_long",0}, | |
3213 | { "_wxImageList","_class_wxImageList",0}, | |
b1462dfa | 3214 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
1d99702e RD |
3215 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
3216 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
3217 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
b1462dfa | 3218 | { "_class_wxClipboard","_wxClipboard",0}, |
1d99702e RD |
3219 | { "_class_wxGauge","_wxGauge",0}, |
3220 | { "_wxDC","_class_wxDC",0}, | |
b1462dfa | 3221 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
1d99702e | 3222 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
b1462dfa | 3223 | { "_size_t","_wxCoord",0}, |
1d99702e RD |
3224 | { "_size_t","_wxPrintQuality",0}, |
3225 | { "_size_t","_unsigned_int",0}, | |
3226 | { "_size_t","_int",0}, | |
3227 | { "_size_t","_wxWindowID",0}, | |
3228 | { "_size_t","_uint",0}, | |
3229 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
48115f4a | 3230 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
1d99702e | 3231 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
48115f4a | 3232 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
1d99702e RD |
3233 | { "_class_wxMenuItem","_wxMenuItem",0}, |
3234 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
3235 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
3236 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
3237 | { "_wxPanel","_class_wxPanel",0}, | |
3238 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
3239 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
3240 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
3241 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
3242 | { "_class_wxMask","_wxMask",0}, | |
b1462dfa | 3243 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
1d99702e RD |
3244 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
3245 | { "_wxColour","_class_wxColour",0}, | |
3246 | { "_class_wxDialog","_wxDialog",0}, | |
65dd82cb | 3247 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
1d99702e RD |
3248 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
3249 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
3250 | { "_wxToolBar","_class_wxToolBar",0}, | |
b1462dfa | 3251 | { "_class_wxDataObject","_wxDataObject",0}, |
1d99702e RD |
3252 | { "_wxStaticLine","_class_wxStaticLine",0}, |
3253 | { "_wxBrush","_class_wxBrush",0}, | |
b1462dfa RD |
3254 | { "_wxDataFormat","_class_wxDataFormat",0}, |
3255 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
1d99702e | 3256 | { "_wxShowEvent","_class_wxShowEvent",0}, |
b1462dfa | 3257 | { "_uint","_wxCoord",0}, |
1d99702e RD |
3258 | { "_uint","_wxPrintQuality",0}, |
3259 | { "_uint","_size_t",0}, | |
3260 | { "_uint","_unsigned_int",0}, | |
3261 | { "_uint","_int",0}, | |
3262 | { "_uint","_wxWindowID",0}, | |
2f90df85 | 3263 | { "_wxPyValidator","_class_wxPyValidator",0}, |
1d99702e RD |
3264 | { "_class_wxEvent","_wxEvent",0}, |
3265 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
3266 | { "_wxRect","_class_wxRect",0}, | |
3267 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
3268 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
3269 | { "_wxPoint","_class_wxPoint",0}, | |
3270 | { "_class_wxButton","_wxButton",0}, | |
3271 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
3272 | { "_wxBitmap","_class_wxBitmap",0}, | |
3273 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
3274 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
3275 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
3276 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
1d99702e RD |
3277 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
3278 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
2f90df85 | 3279 | { "_class_wxValidator","_wxValidator",0}, |
1d99702e RD |
3280 | { "_class_wxPyEvent","_wxPyEvent",0}, |
3281 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
3282 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
9b3d3bc4 | 3283 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, |
1d99702e | 3284 | { "_class_wxToolBar","_wxToolBar",0}, |
65dd82cb | 3285 | { "_wxDropTarget","_class_wxDropTarget",0}, |
1d99702e RD |
3286 | { "_class_wxStaticLine","_wxStaticLine",0}, |
3287 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
9b3d3bc4 | 3288 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
b1462dfa | 3289 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
3290 | { "_EBool","_wxPrintQuality",0}, |
3291 | { "_EBool","_signed_int",0}, | |
3292 | { "_EBool","_int",0}, | |
3293 | { "_EBool","_wxWindowID",0}, | |
3294 | { "_class_wxRegion","_wxRegion",0}, | |
b1462dfa | 3295 | { "_class_wxDataFormat","_wxDataFormat",0}, |
1d99702e | 3296 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
48115f4a | 3297 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
1d99702e RD |
3298 | { "_wxStaticText","_class_wxStaticText",0}, |
3299 | { "_wxFont","_class_wxFont",0}, | |
65dd82cb | 3300 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
1d99702e RD |
3301 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
3302 | { "_unsigned_long","_wxDash",0}, | |
3303 | { "_unsigned_long","_long",0}, | |
3304 | { "_class_wxRect","_wxRect",0}, | |
3305 | { "_class_wxDC","_wxDC",0}, | |
d426c97e | 3306 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
48115f4a RD |
3307 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
3308 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
1d99702e RD |
3309 | { "_class_wxPyTimer","_wxPyTimer",0}, |
3310 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
3311 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
3312 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
3313 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
3314 | { "_class_wxPanel","_wxPanel",0}, | |
3315 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
3316 | { "_wxComboBox","_class_wxComboBox",0}, | |
3317 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
b1462dfa | 3318 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
3319 | { "_signed_int","_wxPrintQuality",0}, |
3320 | { "_signed_int","_EBool",0}, | |
3321 | { "_signed_int","_wxWindowID",0}, | |
3322 | { "_signed_int","_int",0}, | |
3323 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
3324 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
3325 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, | |
b1462dfa | 3326 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
1d99702e RD |
3327 | { "_wxMenu","_class_wxMenu",0}, |
3328 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
3329 | { "_wxListBox","_class_wxListBox",0}, | |
3330 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
9b3d3bc4 | 3331 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
1d99702e RD |
3332 | { "_WXTYPE","_short",0}, |
3333 | { "_WXTYPE","_signed_short",0}, | |
3334 | { "_WXTYPE","_unsigned_short",0}, | |
65dd82cb | 3335 | { "_class_wxDropTarget","_wxDropTarget",0}, |
1d99702e RD |
3336 | { "_class_wxBrush","_wxBrush",0}, |
3337 | { "_unsigned_short","_WXTYPE",0}, | |
3338 | { "_unsigned_short","_short",0}, | |
9b3d3bc4 RD |
3339 | { "_class_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow}, |
3340 | { "_class_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow}, | |
1d99702e RD |
3341 | { "_class_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow}, |
3342 | { "_class_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow}, | |
9b3d3bc4 RD |
3343 | { "_class_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow}, |
3344 | { "_class_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow}, | |
1d99702e RD |
3345 | { "_class_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow}, |
3346 | { "_class_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow}, | |
3347 | { "_class_wxWindow","_wxWindow",0}, | |
3348 | { "_class_wxStaticText","_wxStaticText",0}, | |
3349 | { "_class_wxFont","_wxFont",0}, | |
b1462dfa | 3350 | { "_wxClipboard","_class_wxClipboard",0}, |
2f90df85 | 3351 | { "_class_wxPyValidator","_wxPyValidator",0}, |
1d99702e | 3352 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
2abc0a0f | 3353 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
1d99702e | 3354 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
48115f4a | 3355 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
65dd82cb | 3356 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
1d99702e RD |
3357 | { "_wxClientDC","_class_wxClientDC",0}, |
3358 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
3359 | { "_class_wxPoint","_wxPoint",0}, | |
3360 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
3361 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
3362 | { "_signed_short","_WXTYPE",0}, | |
3363 | { "_signed_short","_short",0}, | |
3364 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
65dd82cb | 3365 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
1d99702e RD |
3366 | { "_wxPaintDC","_class_wxPaintDC",0}, |
3367 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
3368 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
3369 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
3370 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
1d99702e RD |
3371 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
3372 | { "_class_wxCursor","_wxCursor",0}, | |
65dd82cb | 3373 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
1d99702e RD |
3374 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
3375 | { "_unsigned_char","_byte",0}, | |
3376 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, | |
3377 | { "_class_wxMenu","_wxMenu",0}, | |
9b3d3bc4 RD |
3378 | { "_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl}, |
3379 | { "_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl}, | |
1d99702e RD |
3380 | { "_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl}, |
3381 | { "_wxControl","_wxToolBar",SwigwxToolBarTowxControl}, | |
9b3d3bc4 RD |
3382 | { "_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl}, |
3383 | { "_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl}, | |
1d99702e RD |
3384 | { "_wxControl","_class_wxControl",0}, |
3385 | { "_class_wxListBox","_wxListBox",0}, | |
b1462dfa | 3386 | { "_unsigned_int","_wxCoord",0}, |
1d99702e RD |
3387 | { "_unsigned_int","_wxPrintQuality",0}, |
3388 | { "_unsigned_int","_size_t",0}, | |
3389 | { "_unsigned_int","_uint",0}, | |
3390 | { "_unsigned_int","_wxWindowID",0}, | |
3391 | { "_unsigned_int","_int",0}, | |
3392 | { "_wxIcon","_class_wxIcon",0}, | |
3393 | { "_wxDialog","_class_wxDialog",0}, | |
3394 | { "_class_wxPen","_wxPen",0}, | |
3395 | { "_short","_WXTYPE",0}, | |
3396 | { "_short","_unsigned_short",0}, | |
3397 | { "_short","_signed_short",0}, | |
3398 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
65dd82cb RD |
3399 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
3400 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
1d99702e RD |
3401 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
3402 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
3403 | { "_class_wxChoice","_wxChoice",0}, | |
3404 | { "_class_wxSlider","_wxSlider",0}, | |
3405 | { "_class_wxImageList","_wxImageList",0}, | |
3406 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
48115f4a | 3407 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
b1462dfa | 3408 | { "_wxWindowID","_wxCoord",0}, |
1d99702e RD |
3409 | { "_wxWindowID","_wxPrintQuality",0}, |
3410 | { "_wxWindowID","_size_t",0}, | |
3411 | { "_wxWindowID","_EBool",0}, | |
3412 | { "_wxWindowID","_uint",0}, | |
3413 | { "_wxWindowID","_int",0}, | |
3414 | { "_wxWindowID","_signed_int",0}, | |
3415 | { "_wxWindowID","_unsigned_int",0}, | |
d426c97e | 3416 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
b1462dfa | 3417 | { "_int","_wxCoord",0}, |
1d99702e RD |
3418 | { "_int","_wxPrintQuality",0}, |
3419 | { "_int","_size_t",0}, | |
3420 | { "_int","_EBool",0}, | |
3421 | { "_int","_uint",0}, | |
3422 | { "_int","_wxWindowID",0}, | |
3423 | { "_int","_unsigned_int",0}, | |
3424 | { "_int","_signed_int",0}, | |
3425 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2f90df85 | 3426 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
1d99702e | 3427 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
48115f4a RD |
3428 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
3429 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
1d99702e RD |
3430 | { "_wxButton","_class_wxButton",0}, |
3431 | { "_wxSize","_class_wxSize",0}, | |
3432 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
3433 | { "_class_wxPrinterDC","_wxPrinterDC",0}, | |
65dd82cb | 3434 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
1d99702e RD |
3435 | { "_class_wxPaintDC","_wxPaintDC",0}, |
3436 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
65dd82cb | 3437 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
1d99702e RD |
3438 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
3439 | { "_class_wxComboBox","_wxComboBox",0}, | |
3440 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
2f90df85 | 3441 | { "_wxValidator","_class_wxValidator",0}, |
9b3d3bc4 RD |
3442 | { "_wxToolBarBase","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase}, |
3443 | { "_wxToolBarBase","_wxToolBarSimple",SwigwxToolBarSimpleTowxToolBarBase}, | |
3444 | { "_wxToolBarBase","_class_wxToolBar",SwigwxToolBarTowxToolBarBase}, | |
3445 | { "_wxToolBarBase","_wxToolBar",SwigwxToolBarTowxToolBarBase}, | |
3446 | { "_wxToolBarBase","_class_wxToolBarBase",0}, | |
1d99702e RD |
3447 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
3448 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
9b3d3bc4 RD |
3449 | { "_class_wxControl","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxControl}, |
3450 | { "_class_wxControl","_wxToolBarSimple",SwigwxToolBarSimpleTowxControl}, | |
1d99702e RD |
3451 | { "_class_wxControl","_class_wxToolBar",SwigwxToolBarTowxControl}, |
3452 | { "_class_wxControl","_wxToolBar",SwigwxToolBarTowxControl}, | |
9b3d3bc4 RD |
3453 | { "_class_wxControl","_class_wxToolBarBase",SwigwxToolBarBaseTowxControl}, |
3454 | { "_class_wxControl","_wxToolBarBase",SwigwxToolBarBaseTowxControl}, | |
1d99702e RD |
3455 | { "_class_wxControl","_wxControl",0}, |
3456 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
3457 | { "_class_wxIcon","_wxIcon",0}, | |
3458 | { "_class_wxColour","_wxColour",0}, | |
3459 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
3460 | { "_wxPalette","_class_wxPalette",0}, | |
3461 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
b1462dfa RD |
3462 | { "_wxCoord","_int",0}, |
3463 | { "_wxCoord","_signed_int",0}, | |
3464 | { "_wxCoord","_unsigned_int",0}, | |
3465 | { "_wxCoord","_wxWindowID",0}, | |
3466 | { "_wxCoord","_uint",0}, | |
3467 | { "_wxCoord","_EBool",0}, | |
3468 | { "_wxCoord","_size_t",0}, | |
3469 | { "_wxCoord","_wxPrintQuality",0}, | |
1d99702e | 3470 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
b1462dfa | 3471 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
1d99702e RD |
3472 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
3473 | { "_wxRegion","_class_wxRegion",0}, | |
3474 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
65dd82cb | 3475 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
1d99702e RD |
3476 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
3477 | { "_wxGauge","_class_wxGauge",0}, | |
3478 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
2abc0a0f | 3479 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
1d99702e RD |
3480 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
3481 | { "_class_wxClientDC","_wxClientDC",0}, | |
3482 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
b1462dfa | 3483 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
1d99702e RD |
3484 | { "_class_wxSize","_wxSize",0}, |
3485 | { "_class_wxBitmap","_wxBitmap",0}, | |
3486 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
65dd82cb | 3487 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
1d99702e | 3488 | { "_wxMenuBar","_class_wxMenuBar",0}, |
9b3d3bc4 RD |
3489 | { "_wxEvtHandler","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler}, |
3490 | { "_wxEvtHandler","_wxToolBarSimple",SwigwxToolBarSimpleTowxEvtHandler}, | |
1d99702e RD |
3491 | { "_wxEvtHandler","_class_wxToolBar",SwigwxToolBarTowxEvtHandler}, |
3492 | { "_wxEvtHandler","_wxToolBar",SwigwxToolBarTowxEvtHandler}, | |
9b3d3bc4 RD |
3493 | { "_wxEvtHandler","_class_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler}, |
3494 | { "_wxEvtHandler","_wxToolBarBase",SwigwxToolBarBaseTowxEvtHandler}, | |
1d99702e RD |
3495 | { "_wxEvtHandler","_class_wxStatusBar",SwigwxStatusBarTowxEvtHandler}, |
3496 | { "_wxEvtHandler","_wxStatusBar",SwigwxStatusBarTowxEvtHandler}, | |
3497 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
3498 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
3499 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
3500 | { "_wxDash","_unsigned_long",0}, | |
3501 | { "_wxDash","_long",0}, | |
3502 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
3503 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
3504 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
3505 | { "_class_wxPalette","_wxPalette",0}, | |
65dd82cb | 3506 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
1d99702e | 3507 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
b1462dfa | 3508 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
9b3d3bc4 RD |
3509 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, |
3510 | { "_wxWindow","_class_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow}, | |
3511 | { "_wxWindow","_wxToolBarSimple",SwigwxToolBarSimpleTowxWindow}, | |
1d99702e RD |
3512 | { "_wxWindow","_class_wxToolBar",SwigwxToolBarTowxWindow}, |
3513 | { "_wxWindow","_wxToolBar",SwigwxToolBarTowxWindow}, | |
9b3d3bc4 RD |
3514 | { "_wxWindow","_class_wxToolBarBase",SwigwxToolBarBaseTowxWindow}, |
3515 | { "_wxWindow","_wxToolBarBase",SwigwxToolBarBaseTowxWindow}, | |
1d99702e RD |
3516 | { "_wxWindow","_class_wxStatusBar",SwigwxStatusBarTowxWindow}, |
3517 | { "_wxWindow","_wxStatusBar",SwigwxStatusBarTowxWindow}, | |
3518 | { "_wxWindow","_class_wxWindow",0}, | |
48115f4a | 3519 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
1d99702e RD |
3520 | {0,0,0}}; |
3521 | ||
9c039d08 RD |
3522 | static PyObject *SWIG_globals; |
3523 | #ifdef __cplusplus | |
3524 | extern "C" | |
3525 | #endif | |
1d99702e | 3526 | SWIGEXPORT(void) initstattoolc() { |
9c039d08 RD |
3527 | PyObject *m, *d; |
3528 | SWIG_globals = SWIG_newvarlink(); | |
3529 | m = Py_InitModule("stattoolc", stattoolcMethods); | |
3530 | d = PyModule_GetDict(m); | |
9b3d3bc4 RD |
3531 | PyDict_SetItemString(d,"wxTOOL_STYLE_BUTTON", PyInt_FromLong((long) wxTOOL_STYLE_BUTTON)); |
3532 | PyDict_SetItemString(d,"wxTOOL_STYLE_SEPARATOR", PyInt_FromLong((long) wxTOOL_STYLE_SEPARATOR)); | |
3533 | PyDict_SetItemString(d,"wxTOOL_STYLE_CONTROL", PyInt_FromLong((long) wxTOOL_STYLE_CONTROL)); | |
1d99702e RD |
3534 | { |
3535 | int i; | |
3536 | for (i = 0; _swig_mapping[i].n1; i++) | |
3537 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
3538 | } | |
9c039d08 | 3539 | } |