]>
Commit | Line | Data |
---|---|---|
70551f47 RD |
1 | /* |
2 | * FILE : gtk/misc.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Patch 5) | |
7 | * | |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a,b) __declspec(dllexport) a b | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a,b) a _export b | |
31 | # else | |
32 | # define SWIGEXPORT(a,b) a b | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a,b) a b | |
37 | #endif | |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
47 | extern PyObject *SWIG_newvarlink(void); | |
48 | #ifdef __cplusplus | |
49 | } | |
50 | #endif | |
51 | ||
52 | #define SWIG_init initmiscc | |
53 | ||
54 | #define SWIG_name "miscc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/resource.h> | |
21f8d7ea | 58 | #include <wx/tooltip.h> |
70551f47 RD |
59 | |
60 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
61 | PyObject* o2; | |
62 | PyObject* o3; | |
63 | if (!target) { | |
64 | target = o; | |
65 | } else if (target == Py_None) { | |
66 | Py_DECREF(Py_None); | |
67 | target = o; | |
68 | } else { | |
69 | if (!PyList_Check(target)) { | |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
85 | if (!target) { | |
86 | target = o; | |
87 | } else if (target == Py_None) { | |
88 | Py_DECREF(Py_None); | |
89 | target = o; | |
90 | } else { | |
91 | if (!PyTuple_Check(target)) { | |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
96 | o3 = PyTuple_New(1); | |
97 | PyTuple_SetItem(o3, 0, o); | |
98 | ||
99 | o2 = target; | |
100 | target = PySequence_Concat(o2, o3); | |
101 | Py_DECREF(o2); | |
102 | Py_DECREF(o3); | |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
107 | ||
105e45b9 | 108 | extern byte* byte_LIST_helper(PyObject* source); |
70551f47 RD |
109 | extern int* int_LIST_helper(PyObject* source); |
110 | extern long* long_LIST_helper(PyObject* source); | |
111 | extern char** string_LIST_helper(PyObject* source); | |
112 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
113 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
114 | extern wxString* wxString_LIST_helper(PyObject* source); | |
70551f47 | 115 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); |
70551f47 RD |
116 | |
117 | ||
118 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
119 | ||
120 | char* wxGetResource(char *section, char *entry, char *file = NULL) { | |
121 | char * retval; | |
122 | wxGetResource(section, entry, &retval, file); | |
123 | return retval; | |
124 | } | |
21f8d7ea RD |
125 | |
126 | void wxToolTip_Enable(bool flag) { | |
127 | wxToolTip::Enable(flag); | |
128 | } | |
129 | ||
130 | void wxToolTip_SetDelay(long milliseconds) { | |
131 | wxToolTip::SetDelay(milliseconds); | |
132 | } | |
70551f47 RD |
133 | static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args) { |
134 | PyObject * _resultobj; | |
dd9a3de8 | 135 | wxString * _result; |
70551f47 RD |
136 | char * _arg0; |
137 | char * _arg1 = NULL; | |
138 | char * _arg2 = NULL; | |
139 | char * _arg3 = NULL; | |
140 | char * _arg4 = "*.*"; | |
141 | int _arg5 = 0; | |
142 | wxWindow * _arg6 = NULL; | |
143 | int _arg7 = -1; | |
144 | int _arg8 = -1; | |
145 | char * _argc6 = 0; | |
146 | ||
147 | self = self; | |
148 | if(!PyArg_ParseTuple(args,"s|ssssisii:wxFileSelector",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argc6,&_arg7,&_arg8)) | |
149 | return NULL; | |
150 | if (_argc6) { | |
151 | if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxWindow_p")) { | |
152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p."); | |
153 | return NULL; | |
154 | } | |
155 | } | |
dd9a3de8 RD |
156 | _result = new wxString (wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8)); |
157 | { | |
158 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
159 | } | |
160 | { | |
161 | delete _result; | |
162 | } | |
70551f47 RD |
163 | return _resultobj; |
164 | } | |
165 | ||
166 | static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args) { | |
167 | PyObject * _resultobj; | |
168 | wxString * _result; | |
169 | wxString * _arg0; | |
170 | wxString * _arg1 = &wxPyEmptyStr; | |
171 | wxString * _arg2 = &wxPyEmptyStr; | |
172 | wxWindow * _arg3 = NULL; | |
173 | int _arg4 = -1; | |
174 | int _arg5 = -1; | |
175 | bool _arg6 = (1); | |
176 | PyObject * _obj0 = 0; | |
177 | PyObject * _obj1 = 0; | |
178 | PyObject * _obj2 = 0; | |
179 | char * _argc3 = 0; | |
180 | int tempbool6; | |
181 | ||
182 | self = self; | |
183 | if(!PyArg_ParseTuple(args,"O|OOsiii:wxGetTextFromUser",&_obj0,&_obj1,&_obj2,&_argc3,&_arg4,&_arg5,&tempbool6)) | |
184 | return NULL; | |
185 | { | |
186 | if (!PyString_Check(_obj0)) { | |
187 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
188 | return NULL; | |
189 | } | |
190 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
191 | } | |
192 | if (_obj1) | |
193 | { | |
194 | if (!PyString_Check(_obj1)) { | |
195 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
196 | return NULL; | |
197 | } | |
198 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
199 | } | |
200 | if (_obj2) | |
201 | { | |
202 | if (!PyString_Check(_obj2)) { | |
203 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
204 | return NULL; | |
205 | } | |
206 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
207 | } | |
208 | if (_argc3) { | |
209 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxWindow_p")) { | |
210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p."); | |
211 | return NULL; | |
212 | } | |
213 | } | |
214 | _arg6 = (bool ) tempbool6; | |
215 | _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6)); | |
216 | { | |
217 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
218 | } | |
219 | { | |
220 | if (_obj0) | |
221 | delete _arg0; | |
222 | } | |
223 | { | |
224 | if (_obj1) | |
225 | delete _arg1; | |
226 | } | |
227 | { | |
228 | if (_obj2) | |
229 | delete _arg2; | |
230 | } | |
231 | { | |
232 | delete _result; | |
233 | } | |
234 | return _resultobj; | |
235 | } | |
236 | ||
237 | static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args) { | |
238 | PyObject * _resultobj; | |
239 | wxString * _result; | |
240 | wxString * _arg0; | |
241 | wxString * _arg1; | |
242 | int _arg2; | |
243 | wxString * _arg3; | |
244 | wxWindow * _arg4 = NULL; | |
245 | int _arg5 = -1; | |
246 | int _arg6 = -1; | |
247 | bool _arg7 = (1); | |
248 | int _arg8 = 150; | |
249 | int _arg9 = 200; | |
250 | PyObject * _obj0 = 0; | |
251 | PyObject * _obj1 = 0; | |
252 | PyObject * _obj3 = 0; | |
253 | char * _argc4 = 0; | |
254 | int tempbool7; | |
255 | ||
256 | self = self; | |
257 | if(!PyArg_ParseTuple(args,"OOO|siiiii:wxGetSingleChoice",&_obj0,&_obj1,&_obj3,&_argc4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9)) | |
258 | return NULL; | |
259 | { | |
260 | if (!PyString_Check(_obj0)) { | |
261 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
262 | return NULL; | |
263 | } | |
264 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
265 | } | |
266 | { | |
267 | if (!PyString_Check(_obj1)) { | |
268 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
269 | return NULL; | |
270 | } | |
271 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
272 | } | |
273 | if (_obj3) | |
274 | { | |
275 | _arg3 = wxString_LIST_helper(_obj3); | |
276 | if (_arg3 == NULL) { | |
277 | return NULL; | |
278 | } | |
279 | } | |
280 | if (_argc4) { | |
281 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxWindow_p")) { | |
282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p."); | |
283 | return NULL; | |
284 | } | |
285 | } | |
286 | _arg7 = (bool ) tempbool7; | |
287 | { | |
288 | _arg2 = PyList_Size(_obj3); | |
289 | } | |
290 | _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9)); | |
291 | { | |
292 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
293 | } | |
294 | { | |
295 | if (_obj0) | |
296 | delete _arg0; | |
297 | } | |
298 | { | |
299 | if (_obj1) | |
300 | delete _arg1; | |
301 | } | |
302 | { | |
303 | delete [] _arg3; | |
304 | } | |
305 | { | |
306 | delete _result; | |
307 | } | |
308 | return _resultobj; | |
309 | } | |
310 | ||
311 | static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args) { | |
312 | PyObject * _resultobj; | |
313 | int _result; | |
314 | wxString * _arg0; | |
315 | wxString * _arg1; | |
316 | int _arg2; | |
317 | wxString * _arg3; | |
318 | wxWindow * _arg4 = NULL; | |
319 | int _arg5 = -1; | |
320 | int _arg6 = -1; | |
321 | bool _arg7 = (1); | |
322 | int _arg8 = 150; | |
323 | int _arg9 = 200; | |
324 | PyObject * _obj0 = 0; | |
325 | PyObject * _obj1 = 0; | |
326 | PyObject * _obj3 = 0; | |
327 | char * _argc4 = 0; | |
328 | int tempbool7; | |
329 | ||
330 | self = self; | |
331 | if(!PyArg_ParseTuple(args,"OOO|siiiii:wxGetSingleChoiceIndex",&_obj0,&_obj1,&_obj3,&_argc4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9)) | |
332 | return NULL; | |
333 | { | |
334 | if (!PyString_Check(_obj0)) { | |
335 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
336 | return NULL; | |
337 | } | |
338 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
339 | } | |
340 | { | |
341 | if (!PyString_Check(_obj1)) { | |
342 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
343 | return NULL; | |
344 | } | |
345 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
346 | } | |
347 | if (_obj3) | |
348 | { | |
349 | _arg3 = wxString_LIST_helper(_obj3); | |
350 | if (_arg3 == NULL) { | |
351 | return NULL; | |
352 | } | |
353 | } | |
354 | if (_argc4) { | |
355 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxWindow_p")) { | |
356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p."); | |
357 | return NULL; | |
358 | } | |
359 | } | |
360 | _arg7 = (bool ) tempbool7; | |
361 | { | |
362 | _arg2 = PyList_Size(_obj3); | |
363 | } | |
364 | _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); | |
365 | _resultobj = Py_BuildValue("i",_result); | |
366 | { | |
367 | if (_obj0) | |
368 | delete _arg0; | |
369 | } | |
370 | { | |
371 | if (_obj1) | |
372 | delete _arg1; | |
373 | } | |
374 | { | |
375 | delete [] _arg3; | |
376 | } | |
377 | return _resultobj; | |
378 | } | |
379 | ||
380 | static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args) { | |
381 | PyObject * _resultobj; | |
382 | int _result; | |
383 | wxString * _arg0; | |
384 | wxString * _arg1 = &wxPyEmptyStr; | |
385 | int _arg2 = (wxOK)|(wxCENTRE); | |
386 | wxWindow * _arg3 = NULL; | |
387 | int _arg4 = -1; | |
388 | int _arg5 = -1; | |
389 | PyObject * _obj0 = 0; | |
390 | PyObject * _obj1 = 0; | |
391 | char * _argc3 = 0; | |
392 | ||
393 | self = self; | |
394 | if(!PyArg_ParseTuple(args,"O|Oisii:wxMessageBox",&_obj0,&_obj1,&_arg2,&_argc3,&_arg4,&_arg5)) | |
395 | return NULL; | |
396 | { | |
397 | if (!PyString_Check(_obj0)) { | |
398 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
399 | return NULL; | |
400 | } | |
401 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
402 | } | |
403 | if (_obj1) | |
404 | { | |
405 | if (!PyString_Check(_obj1)) { | |
406 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
407 | return NULL; | |
408 | } | |
409 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
410 | } | |
411 | if (_argc3) { | |
412 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxWindow_p")) { | |
413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p."); | |
414 | return NULL; | |
415 | } | |
416 | } | |
417 | _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
418 | _resultobj = Py_BuildValue("i",_result); | |
419 | { | |
420 | if (_obj0) | |
421 | delete _arg0; | |
422 | } | |
423 | { | |
424 | if (_obj1) | |
425 | delete _arg1; | |
426 | } | |
427 | return _resultobj; | |
428 | } | |
429 | ||
430 | static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args) { | |
431 | PyObject * _resultobj; | |
432 | bool _result; | |
433 | ||
434 | self = self; | |
435 | if(!PyArg_ParseTuple(args,":wxColourDisplay")) | |
436 | return NULL; | |
437 | _result = (bool )wxColourDisplay(); | |
438 | _resultobj = Py_BuildValue("i",_result); | |
439 | return _resultobj; | |
440 | } | |
441 | ||
442 | static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args) { | |
443 | PyObject * _resultobj; | |
444 | int _result; | |
445 | ||
446 | self = self; | |
447 | if(!PyArg_ParseTuple(args,":wxDisplayDepth")) | |
448 | return NULL; | |
449 | _result = (int )wxDisplayDepth(); | |
450 | _resultobj = Py_BuildValue("i",_result); | |
451 | return _resultobj; | |
452 | } | |
453 | ||
454 | static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args) { | |
455 | PyObject * _resultobj; | |
456 | wxCursor * _arg0; | |
457 | char * _argc0 = 0; | |
458 | ||
459 | self = self; | |
460 | if(!PyArg_ParseTuple(args,"s:wxSetCursor",&_argc0)) | |
461 | return NULL; | |
462 | if (_argc0) { | |
463 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) { | |
464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p."); | |
465 | return NULL; | |
466 | } | |
467 | } | |
105e45b9 | 468 | wxSetCursor(*_arg0); |
70551f47 RD |
469 | Py_INCREF(Py_None); |
470 | _resultobj = Py_None; | |
471 | return _resultobj; | |
472 | } | |
473 | ||
474 | static PyObject *_wrap_NewId(PyObject *self, PyObject *args) { | |
475 | PyObject * _resultobj; | |
476 | long _result; | |
477 | ||
478 | self = self; | |
479 | if(!PyArg_ParseTuple(args,":NewId")) | |
480 | return NULL; | |
481 | _result = (long )NewId(); | |
482 | _resultobj = Py_BuildValue("l",_result); | |
483 | return _resultobj; | |
484 | } | |
485 | ||
486 | static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args) { | |
487 | PyObject * _resultobj; | |
488 | long _arg0; | |
489 | ||
490 | self = self; | |
491 | if(!PyArg_ParseTuple(args,"l:RegisterId",&_arg0)) | |
492 | return NULL; | |
493 | RegisterId(_arg0); | |
494 | Py_INCREF(Py_None); | |
495 | _resultobj = Py_None; | |
496 | return _resultobj; | |
497 | } | |
498 | ||
499 | static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args) { | |
500 | PyObject * _resultobj; | |
501 | wxCursor * _arg0 = wxHOURGLASS_CURSOR; | |
502 | char * _argc0 = 0; | |
503 | ||
504 | self = self; | |
505 | if(!PyArg_ParseTuple(args,"|s:wxBeginBusyCursor",&_argc0)) | |
506 | return NULL; | |
507 | if (_argc0) { | |
508 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCursor_p")) { | |
509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p."); | |
510 | return NULL; | |
511 | } | |
512 | } | |
513 | wxBeginBusyCursor(_arg0); | |
514 | Py_INCREF(Py_None); | |
515 | _resultobj = Py_None; | |
516 | return _resultobj; | |
517 | } | |
518 | ||
519 | static PyObject *_wrap_wxBell(PyObject *self, PyObject *args) { | |
520 | PyObject * _resultobj; | |
521 | ||
522 | self = self; | |
523 | if(!PyArg_ParseTuple(args,":wxBell")) | |
524 | return NULL; | |
525 | wxBell(); | |
526 | Py_INCREF(Py_None); | |
527 | _resultobj = Py_None; | |
528 | return _resultobj; | |
529 | } | |
530 | ||
531 | static PyObject *_wrap_wxDisplaySize(PyObject *self, PyObject *args) { | |
532 | PyObject * _resultobj; | |
533 | int * _arg0; | |
534 | int temp; | |
535 | int * _arg1; | |
536 | int temp0; | |
537 | ||
538 | self = self; | |
539 | { | |
540 | _arg0 = &temp; | |
541 | } | |
542 | { | |
543 | _arg1 = &temp0; | |
544 | } | |
545 | if(!PyArg_ParseTuple(args,":wxDisplaySize")) | |
546 | return NULL; | |
547 | wxDisplaySize(_arg0,_arg1); | |
548 | Py_INCREF(Py_None); | |
549 | _resultobj = Py_None; | |
550 | { | |
551 | PyObject *o; | |
552 | o = PyInt_FromLong((long) (*_arg0)); | |
553 | _resultobj = t_output_helper(_resultobj, o); | |
554 | } | |
555 | { | |
556 | PyObject *o; | |
557 | o = PyInt_FromLong((long) (*_arg1)); | |
558 | _resultobj = t_output_helper(_resultobj, o); | |
559 | } | |
560 | return _resultobj; | |
561 | } | |
562 | ||
563 | static PyObject *_wrap_wxEndBusyCursor(PyObject *self, PyObject *args) { | |
564 | PyObject * _resultobj; | |
565 | ||
566 | self = self; | |
567 | if(!PyArg_ParseTuple(args,":wxEndBusyCursor")) | |
568 | return NULL; | |
569 | wxEndBusyCursor(); | |
570 | Py_INCREF(Py_None); | |
571 | _resultobj = Py_None; | |
572 | return _resultobj; | |
573 | } | |
574 | ||
575 | static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args) { | |
576 | PyObject * _resultobj; | |
577 | long _result; | |
578 | wxString * _arg0; | |
579 | bool _arg1 = (0); | |
580 | PyObject * _obj0 = 0; | |
581 | int tempbool1; | |
582 | ||
583 | self = self; | |
584 | if(!PyArg_ParseTuple(args,"O|i:wxExecute",&_obj0,&tempbool1)) | |
585 | return NULL; | |
586 | { | |
587 | if (!PyString_Check(_obj0)) { | |
588 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
589 | return NULL; | |
590 | } | |
591 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
592 | } | |
593 | _arg1 = (bool ) tempbool1; | |
594 | _result = (long )wxExecute(*_arg0,_arg1); | |
595 | _resultobj = Py_BuildValue("l",_result); | |
596 | { | |
597 | if (_obj0) | |
598 | delete _arg0; | |
599 | } | |
600 | return _resultobj; | |
601 | } | |
602 | ||
603 | static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) { | |
604 | PyObject * _resultobj; | |
605 | wxWindow * _result; | |
606 | wxString * _arg0; | |
607 | wxWindow * _arg1 = NULL; | |
608 | PyObject * _obj0 = 0; | |
609 | char * _argc1 = 0; | |
610 | char _ptemp[128]; | |
611 | ||
612 | self = self; | |
613 | if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByLabel",&_obj0,&_argc1)) | |
614 | return NULL; | |
615 | { | |
616 | if (!PyString_Check(_obj0)) { | |
617 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
618 | return NULL; | |
619 | } | |
620 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
621 | } | |
622 | if (_argc1) { | |
623 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p."); | |
625 | return NULL; | |
626 | } | |
627 | } | |
628 | _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1); | |
629 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
630 | _resultobj = Py_BuildValue("s",_ptemp); | |
631 | { | |
632 | if (_obj0) | |
633 | delete _arg0; | |
634 | } | |
635 | return _resultobj; | |
636 | } | |
637 | ||
638 | static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) { | |
639 | PyObject * _resultobj; | |
640 | wxWindow * _result; | |
641 | wxString * _arg0; | |
642 | wxWindow * _arg1 = NULL; | |
643 | PyObject * _obj0 = 0; | |
644 | char * _argc1 = 0; | |
645 | char _ptemp[128]; | |
646 | ||
647 | self = self; | |
648 | if(!PyArg_ParseTuple(args,"O|s:wxFindWindowByName",&_obj0,&_argc1)) | |
649 | return NULL; | |
650 | { | |
651 | if (!PyString_Check(_obj0)) { | |
652 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
653 | return NULL; | |
654 | } | |
655 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
656 | } | |
657 | if (_argc1) { | |
658 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p."); | |
660 | return NULL; | |
661 | } | |
662 | } | |
663 | _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1); | |
664 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
665 | _resultobj = Py_BuildValue("s",_ptemp); | |
666 | { | |
667 | if (_obj0) | |
668 | delete _arg0; | |
669 | } | |
670 | return _resultobj; | |
671 | } | |
672 | ||
673 | static PyObject *_wrap_wxGetMousePosition(PyObject *self, PyObject *args) { | |
674 | PyObject * _resultobj; | |
675 | int * _arg0; | |
676 | int temp; | |
677 | int * _arg1; | |
678 | int temp0; | |
679 | ||
680 | self = self; | |
681 | { | |
682 | _arg0 = &temp; | |
683 | } | |
684 | { | |
685 | _arg1 = &temp0; | |
686 | } | |
687 | if(!PyArg_ParseTuple(args,":wxGetMousePosition")) | |
688 | return NULL; | |
689 | wxGetMousePosition(_arg0,_arg1); | |
690 | Py_INCREF(Py_None); | |
691 | _resultobj = Py_None; | |
692 | { | |
693 | PyObject *o; | |
694 | o = PyInt_FromLong((long) (*_arg0)); | |
695 | _resultobj = t_output_helper(_resultobj, o); | |
696 | } | |
697 | { | |
698 | PyObject *o; | |
699 | o = PyInt_FromLong((long) (*_arg1)); | |
700 | _resultobj = t_output_helper(_resultobj, o); | |
701 | } | |
702 | return _resultobj; | |
703 | } | |
704 | ||
705 | static PyObject *_wrap_wxIsBusy(PyObject *self, PyObject *args) { | |
706 | PyObject * _resultobj; | |
707 | bool _result; | |
708 | ||
709 | self = self; | |
710 | if(!PyArg_ParseTuple(args,":wxIsBusy")) | |
711 | return NULL; | |
712 | _result = (bool )wxIsBusy(); | |
713 | _resultobj = Py_BuildValue("i",_result); | |
714 | return _resultobj; | |
715 | } | |
716 | ||
717 | static PyObject *_wrap_wxNow(PyObject *self, PyObject *args) { | |
718 | PyObject * _resultobj; | |
719 | wxString * _result; | |
720 | ||
721 | self = self; | |
722 | if(!PyArg_ParseTuple(args,":wxNow")) | |
723 | return NULL; | |
724 | _result = new wxString (wxNow()); | |
725 | { | |
726 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
727 | } | |
728 | { | |
729 | delete _result; | |
730 | } | |
731 | return _resultobj; | |
732 | } | |
733 | ||
734 | static PyObject *_wrap_wxYield(PyObject *self, PyObject *args) { | |
735 | PyObject * _resultobj; | |
736 | bool _result; | |
737 | ||
738 | self = self; | |
739 | if(!PyArg_ParseTuple(args,":wxYield")) | |
740 | return NULL; | |
741 | _result = (bool )wxYield(); | |
742 | _resultobj = Py_BuildValue("i",_result); | |
743 | return _resultobj; | |
744 | } | |
745 | ||
746 | static PyObject *_wrap_wxGetResource(PyObject *self, PyObject *args) { | |
747 | PyObject * _resultobj; | |
748 | char * _result; | |
749 | char * _arg0; | |
750 | char * _arg1; | |
751 | char * _arg2 = NULL; | |
752 | ||
753 | self = self; | |
754 | if(!PyArg_ParseTuple(args,"ss|s:wxGetResource",&_arg0,&_arg1,&_arg2)) | |
755 | return NULL; | |
756 | _result = (char *)wxGetResource(_arg0,_arg1,_arg2); | |
757 | _resultobj = Py_BuildValue("s", _result); | |
758 | return _resultobj; | |
759 | } | |
760 | ||
761 | static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args) { | |
762 | PyObject * _resultobj; | |
763 | bool _result; | |
764 | char * _arg0; | |
765 | int _arg1; | |
766 | ||
767 | self = self; | |
768 | if(!PyArg_ParseTuple(args,"si:wxResourceAddIdentifier",&_arg0,&_arg1)) | |
769 | return NULL; | |
770 | _result = (bool )wxResourceAddIdentifier(_arg0,_arg1); | |
771 | _resultobj = Py_BuildValue("i",_result); | |
772 | return _resultobj; | |
773 | } | |
774 | ||
775 | static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args) { | |
776 | PyObject * _resultobj; | |
777 | ||
778 | self = self; | |
779 | if(!PyArg_ParseTuple(args,":wxResourceClear")) | |
780 | return NULL; | |
781 | wxResourceClear(); | |
782 | Py_INCREF(Py_None); | |
783 | _resultobj = Py_None; | |
784 | return _resultobj; | |
785 | } | |
786 | ||
787 | static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args) { | |
788 | PyObject * _resultobj; | |
789 | wxBitmap * _result; | |
790 | char * _arg0; | |
791 | char _ptemp[128]; | |
792 | ||
793 | self = self; | |
794 | if(!PyArg_ParseTuple(args,"s:wxResourceCreateBitmap",&_arg0)) | |
795 | return NULL; | |
78bba745 RD |
796 | _result = new wxBitmap (wxResourceCreateBitmap(_arg0)); |
797 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p"); | |
70551f47 RD |
798 | _resultobj = Py_BuildValue("s",_ptemp); |
799 | return _resultobj; | |
800 | } | |
801 | ||
802 | static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args) { | |
803 | PyObject * _resultobj; | |
804 | wxIcon * _result; | |
805 | char * _arg0; | |
806 | char _ptemp[128]; | |
807 | ||
808 | self = self; | |
809 | if(!PyArg_ParseTuple(args,"s:wxResourceCreateIcon",&_arg0)) | |
810 | return NULL; | |
78bba745 RD |
811 | _result = new wxIcon (wxResourceCreateIcon(_arg0)); |
812 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p"); | |
70551f47 RD |
813 | _resultobj = Py_BuildValue("s",_ptemp); |
814 | return _resultobj; | |
815 | } | |
816 | ||
817 | static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args) { | |
818 | PyObject * _resultobj; | |
819 | wxMenuBar * _result; | |
820 | char * _arg0; | |
821 | char _ptemp[128]; | |
822 | ||
823 | self = self; | |
824 | if(!PyArg_ParseTuple(args,"s:wxResourceCreateMenuBar",&_arg0)) | |
825 | return NULL; | |
826 | _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0); | |
827 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p"); | |
828 | _resultobj = Py_BuildValue("s",_ptemp); | |
829 | return _resultobj; | |
830 | } | |
831 | ||
832 | static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args) { | |
833 | PyObject * _resultobj; | |
834 | int _result; | |
835 | char * _arg0; | |
836 | ||
837 | self = self; | |
838 | if(!PyArg_ParseTuple(args,"s:wxResourceGetIdentifier",&_arg0)) | |
839 | return NULL; | |
840 | _result = (int )wxResourceGetIdentifier(_arg0); | |
841 | _resultobj = Py_BuildValue("i",_result); | |
842 | return _resultobj; | |
843 | } | |
844 | ||
845 | static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args) { | |
846 | PyObject * _resultobj; | |
847 | bool _result; | |
848 | char * _arg0; | |
849 | wxResourceTable * _arg1 = NULL; | |
850 | char * _argc1 = 0; | |
851 | ||
852 | self = self; | |
853 | if(!PyArg_ParseTuple(args,"s|s:wxResourceParseData",&_arg0,&_argc1)) | |
854 | return NULL; | |
855 | if (_argc1) { | |
856 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) { | |
857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p."); | |
858 | return NULL; | |
859 | } | |
860 | } | |
861 | _result = (bool )wxResourceParseData(_arg0,_arg1); | |
862 | _resultobj = Py_BuildValue("i",_result); | |
863 | return _resultobj; | |
864 | } | |
865 | ||
866 | static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args) { | |
867 | PyObject * _resultobj; | |
868 | bool _result; | |
869 | char * _arg0; | |
870 | wxResourceTable * _arg1 = NULL; | |
871 | char * _argc1 = 0; | |
872 | ||
873 | self = self; | |
874 | if(!PyArg_ParseTuple(args,"s|s:wxResourceParseFile",&_arg0,&_argc1)) | |
875 | return NULL; | |
876 | if (_argc1) { | |
877 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) { | |
878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p."); | |
879 | return NULL; | |
880 | } | |
881 | } | |
882 | _result = (bool )wxResourceParseFile(_arg0,_arg1); | |
883 | _resultobj = Py_BuildValue("i",_result); | |
884 | return _resultobj; | |
885 | } | |
886 | ||
887 | static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args) { | |
888 | PyObject * _resultobj; | |
889 | bool _result; | |
890 | char * _arg0; | |
891 | wxResourceTable * _arg1 = NULL; | |
892 | char * _argc1 = 0; | |
893 | ||
894 | self = self; | |
895 | if(!PyArg_ParseTuple(args,"s|s:wxResourceParseString",&_arg0,&_argc1)) | |
896 | return NULL; | |
897 | if (_argc1) { | |
898 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxResourceTable_p")) { | |
899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p."); | |
900 | return NULL; | |
901 | } | |
902 | } | |
903 | _result = (bool )wxResourceParseString(_arg0,_arg1); | |
904 | _resultobj = Py_BuildValue("i",_result); | |
905 | return _resultobj; | |
906 | } | |
907 | ||
21f8d7ea RD |
908 | static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args) { |
909 | PyObject * _resultobj; | |
910 | bool _arg0; | |
911 | int tempbool0; | |
912 | ||
913 | self = self; | |
914 | if(!PyArg_ParseTuple(args,"i:wxToolTip_Enable",&tempbool0)) | |
915 | return NULL; | |
916 | _arg0 = (bool ) tempbool0; | |
917 | wxToolTip_Enable(_arg0); | |
918 | Py_INCREF(Py_None); | |
919 | _resultobj = Py_None; | |
920 | return _resultobj; | |
921 | } | |
922 | ||
923 | static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args) { | |
924 | PyObject * _resultobj; | |
925 | long _arg0; | |
926 | ||
927 | self = self; | |
928 | if(!PyArg_ParseTuple(args,"l:wxToolTip_SetDelay",&_arg0)) | |
929 | return NULL; | |
930 | wxToolTip_SetDelay(_arg0); | |
931 | Py_INCREF(Py_None); | |
932 | _resultobj = Py_None; | |
933 | return _resultobj; | |
934 | } | |
935 | ||
70551f47 | 936 | #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) |
21f8d7ea | 937 | static PyObject *_wrap_wxSize_x_set(PyObject *self, PyObject *args) { |
70551f47 RD |
938 | PyObject * _resultobj; |
939 | long _result; | |
940 | wxSize * _arg0; | |
941 | long _arg1; | |
942 | char * _argc0 = 0; | |
943 | ||
944 | self = self; | |
21f8d7ea | 945 | if(!PyArg_ParseTuple(args,"sl:wxSize_x_set",&_argc0,&_arg1)) |
70551f47 RD |
946 | return NULL; |
947 | if (_argc0) { | |
948 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
21f8d7ea | 949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_x_set. Expected _wxSize_p."); |
70551f47 RD |
950 | return NULL; |
951 | } | |
952 | } | |
953 | _result = (long )wxSize_x_set(_arg0,_arg1); | |
954 | _resultobj = Py_BuildValue("l",_result); | |
955 | return _resultobj; | |
956 | } | |
957 | ||
958 | #define wxSize_x_get(_swigobj) ((long ) _swigobj->x) | |
21f8d7ea | 959 | static PyObject *_wrap_wxSize_x_get(PyObject *self, PyObject *args) { |
70551f47 RD |
960 | PyObject * _resultobj; |
961 | long _result; | |
962 | wxSize * _arg0; | |
963 | char * _argc0 = 0; | |
964 | ||
965 | self = self; | |
21f8d7ea | 966 | if(!PyArg_ParseTuple(args,"s:wxSize_x_get",&_argc0)) |
70551f47 RD |
967 | return NULL; |
968 | if (_argc0) { | |
969 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
21f8d7ea | 970 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_x_get. Expected _wxSize_p."); |
70551f47 RD |
971 | return NULL; |
972 | } | |
973 | } | |
974 | _result = (long )wxSize_x_get(_arg0); | |
975 | _resultobj = Py_BuildValue("l",_result); | |
976 | return _resultobj; | |
977 | } | |
978 | ||
979 | #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
21f8d7ea | 980 | static PyObject *_wrap_wxSize_y_set(PyObject *self, PyObject *args) { |
70551f47 RD |
981 | PyObject * _resultobj; |
982 | long _result; | |
983 | wxSize * _arg0; | |
984 | long _arg1; | |
985 | char * _argc0 = 0; | |
986 | ||
987 | self = self; | |
21f8d7ea | 988 | if(!PyArg_ParseTuple(args,"sl:wxSize_y_set",&_argc0,&_arg1)) |
70551f47 RD |
989 | return NULL; |
990 | if (_argc0) { | |
991 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
21f8d7ea | 992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_y_set. Expected _wxSize_p."); |
70551f47 RD |
993 | return NULL; |
994 | } | |
995 | } | |
996 | _result = (long )wxSize_y_set(_arg0,_arg1); | |
997 | _resultobj = Py_BuildValue("l",_result); | |
998 | return _resultobj; | |
999 | } | |
1000 | ||
1001 | #define wxSize_y_get(_swigobj) ((long ) _swigobj->y) | |
21f8d7ea | 1002 | static PyObject *_wrap_wxSize_y_get(PyObject *self, PyObject *args) { |
70551f47 RD |
1003 | PyObject * _resultobj; |
1004 | long _result; | |
1005 | wxSize * _arg0; | |
1006 | char * _argc0 = 0; | |
1007 | ||
1008 | self = self; | |
21f8d7ea | 1009 | if(!PyArg_ParseTuple(args,"s:wxSize_y_get",&_argc0)) |
70551f47 RD |
1010 | return NULL; |
1011 | if (_argc0) { | |
1012 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
21f8d7ea | 1013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_y_get. Expected _wxSize_p."); |
70551f47 RD |
1014 | return NULL; |
1015 | } | |
1016 | } | |
1017 | _result = (long )wxSize_y_get(_arg0); | |
1018 | _resultobj = Py_BuildValue("l",_result); | |
1019 | return _resultobj; | |
1020 | } | |
1021 | ||
1022 | #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1)) | |
1023 | static PyObject *_wrap_new_wxSize(PyObject *self, PyObject *args) { | |
1024 | PyObject * _resultobj; | |
1025 | wxSize * _result; | |
1026 | long _arg0 = 0; | |
1027 | long _arg1 = 0; | |
1028 | char _ptemp[128]; | |
1029 | ||
1030 | self = self; | |
1031 | if(!PyArg_ParseTuple(args,"|ll:new_wxSize",&_arg0,&_arg1)) | |
1032 | return NULL; | |
1033 | _result = (wxSize *)new_wxSize(_arg0,_arg1); | |
1034 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p"); | |
1035 | _resultobj = Py_BuildValue("s",_ptemp); | |
1036 | return _resultobj; | |
1037 | } | |
1038 | ||
1039 | #define delete_wxSize(_swigobj) (delete _swigobj) | |
1040 | static PyObject *_wrap_delete_wxSize(PyObject *self, PyObject *args) { | |
1041 | PyObject * _resultobj; | |
1042 | wxSize * _arg0; | |
1043 | char * _argc0 = 0; | |
1044 | ||
1045 | self = self; | |
1046 | if(!PyArg_ParseTuple(args,"s:delete_wxSize",&_argc0)) | |
1047 | return NULL; | |
1048 | if (_argc0) { | |
1049 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
1050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p."); | |
1051 | return NULL; | |
1052 | } | |
1053 | } | |
1054 | delete_wxSize(_arg0); | |
1055 | Py_INCREF(Py_None); | |
1056 | _resultobj = Py_None; | |
1057 | return _resultobj; | |
1058 | } | |
1059 | ||
1060 | #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1)) | |
1061 | static PyObject *_wrap_wxSize_Set(PyObject *self, PyObject *args) { | |
1062 | PyObject * _resultobj; | |
1063 | wxSize * _arg0; | |
1064 | long _arg1; | |
1065 | long _arg2; | |
1066 | char * _argc0 = 0; | |
1067 | ||
1068 | self = self; | |
1069 | if(!PyArg_ParseTuple(args,"sll:wxSize_Set",&_argc0,&_arg1,&_arg2)) | |
1070 | return NULL; | |
1071 | if (_argc0) { | |
1072 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
1073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p."); | |
1074 | return NULL; | |
1075 | } | |
1076 | } | |
1077 | wxSize_Set(_arg0,_arg1,_arg2); | |
1078 | Py_INCREF(Py_None); | |
1079 | _resultobj = Py_None; | |
1080 | return _resultobj; | |
1081 | } | |
1082 | ||
21f8d7ea RD |
1083 | #define wxSize_GetX(_swigobj) (_swigobj->GetX()) |
1084 | static PyObject *_wrap_wxSize_GetX(PyObject *self, PyObject *args) { | |
70551f47 RD |
1085 | PyObject * _resultobj; |
1086 | long _result; | |
1087 | wxSize * _arg0; | |
1088 | char * _argc0 = 0; | |
1089 | ||
1090 | self = self; | |
21f8d7ea | 1091 | if(!PyArg_ParseTuple(args,"s:wxSize_GetX",&_argc0)) |
70551f47 RD |
1092 | return NULL; |
1093 | if (_argc0) { | |
1094 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
21f8d7ea | 1095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetX. Expected _wxSize_p."); |
70551f47 RD |
1096 | return NULL; |
1097 | } | |
1098 | } | |
21f8d7ea | 1099 | _result = (long )wxSize_GetX(_arg0); |
70551f47 RD |
1100 | _resultobj = Py_BuildValue("l",_result); |
1101 | return _resultobj; | |
1102 | } | |
1103 | ||
21f8d7ea RD |
1104 | #define wxSize_GetY(_swigobj) (_swigobj->GetY()) |
1105 | static PyObject *_wrap_wxSize_GetY(PyObject *self, PyObject *args) { | |
70551f47 RD |
1106 | PyObject * _resultobj; |
1107 | long _result; | |
1108 | wxSize * _arg0; | |
1109 | char * _argc0 = 0; | |
1110 | ||
1111 | self = self; | |
21f8d7ea | 1112 | if(!PyArg_ParseTuple(args,"s:wxSize_GetY",&_argc0)) |
70551f47 RD |
1113 | return NULL; |
1114 | if (_argc0) { | |
1115 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
21f8d7ea | 1116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetY. Expected _wxSize_p."); |
70551f47 RD |
1117 | return NULL; |
1118 | } | |
1119 | } | |
21f8d7ea | 1120 | _result = (long )wxSize_GetY(_arg0); |
70551f47 RD |
1121 | _resultobj = Py_BuildValue("l",_result); |
1122 | return _resultobj; | |
1123 | } | |
1124 | ||
21f8d7ea | 1125 | static PyObject * wxSize_asTuple(wxSize *self) { |
70551f47 RD |
1126 | PyObject* tup = PyTuple_New(2); |
1127 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); | |
1128 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y)); | |
1129 | return tup; | |
1130 | } | |
21f8d7ea | 1131 | static PyObject *_wrap_wxSize_asTuple(PyObject *self, PyObject *args) { |
70551f47 RD |
1132 | PyObject * _resultobj; |
1133 | PyObject * _result; | |
1134 | wxSize * _arg0; | |
1135 | char * _argc0 = 0; | |
1136 | ||
1137 | self = self; | |
21f8d7ea | 1138 | if(!PyArg_ParseTuple(args,"s:wxSize_asTuple",&_argc0)) |
70551f47 RD |
1139 | return NULL; |
1140 | if (_argc0) { | |
1141 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSize_p")) { | |
21f8d7ea | 1142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_asTuple. Expected _wxSize_p."); |
70551f47 RD |
1143 | return NULL; |
1144 | } | |
1145 | } | |
21f8d7ea | 1146 | _result = (PyObject *)wxSize_asTuple(_arg0); |
70551f47 RD |
1147 | { |
1148 | _resultobj = _result; | |
1149 | } | |
1150 | return _resultobj; | |
1151 | } | |
1152 | ||
1153 | #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
1154 | static PyObject *_wrap_wxRealPoint_x_set(PyObject *self, PyObject *args) { | |
1155 | PyObject * _resultobj; | |
1156 | double _result; | |
1157 | wxRealPoint * _arg0; | |
1158 | double _arg1; | |
1159 | char * _argc0 = 0; | |
1160 | ||
1161 | self = self; | |
1162 | if(!PyArg_ParseTuple(args,"sd:wxRealPoint_x_set",&_argc0,&_arg1)) | |
1163 | return NULL; | |
1164 | if (_argc0) { | |
1165 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1166 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p."); | |
1167 | return NULL; | |
1168 | } | |
1169 | } | |
1170 | _result = (double )wxRealPoint_x_set(_arg0,_arg1); | |
1171 | _resultobj = Py_BuildValue("d",_result); | |
1172 | return _resultobj; | |
1173 | } | |
1174 | ||
1175 | #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x) | |
1176 | static PyObject *_wrap_wxRealPoint_x_get(PyObject *self, PyObject *args) { | |
1177 | PyObject * _resultobj; | |
1178 | double _result; | |
1179 | wxRealPoint * _arg0; | |
1180 | char * _argc0 = 0; | |
1181 | ||
1182 | self = self; | |
1183 | if(!PyArg_ParseTuple(args,"s:wxRealPoint_x_get",&_argc0)) | |
1184 | return NULL; | |
1185 | if (_argc0) { | |
1186 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p."); | |
1188 | return NULL; | |
1189 | } | |
1190 | } | |
1191 | _result = (double )wxRealPoint_x_get(_arg0); | |
1192 | _resultobj = Py_BuildValue("d",_result); | |
1193 | return _resultobj; | |
1194 | } | |
1195 | ||
1196 | #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
1197 | static PyObject *_wrap_wxRealPoint_y_set(PyObject *self, PyObject *args) { | |
1198 | PyObject * _resultobj; | |
1199 | double _result; | |
1200 | wxRealPoint * _arg0; | |
1201 | double _arg1; | |
1202 | char * _argc0 = 0; | |
1203 | ||
1204 | self = self; | |
1205 | if(!PyArg_ParseTuple(args,"sd:wxRealPoint_y_set",&_argc0,&_arg1)) | |
1206 | return NULL; | |
1207 | if (_argc0) { | |
1208 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p."); | |
1210 | return NULL; | |
1211 | } | |
1212 | } | |
1213 | _result = (double )wxRealPoint_y_set(_arg0,_arg1); | |
1214 | _resultobj = Py_BuildValue("d",_result); | |
1215 | return _resultobj; | |
1216 | } | |
1217 | ||
1218 | #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y) | |
1219 | static PyObject *_wrap_wxRealPoint_y_get(PyObject *self, PyObject *args) { | |
1220 | PyObject * _resultobj; | |
1221 | double _result; | |
1222 | wxRealPoint * _arg0; | |
1223 | char * _argc0 = 0; | |
1224 | ||
1225 | self = self; | |
1226 | if(!PyArg_ParseTuple(args,"s:wxRealPoint_y_get",&_argc0)) | |
1227 | return NULL; | |
1228 | if (_argc0) { | |
1229 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p."); | |
1231 | return NULL; | |
1232 | } | |
1233 | } | |
1234 | _result = (double )wxRealPoint_y_get(_arg0); | |
1235 | _resultobj = Py_BuildValue("d",_result); | |
1236 | return _resultobj; | |
1237 | } | |
1238 | ||
1239 | #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1)) | |
1240 | static PyObject *_wrap_new_wxRealPoint(PyObject *self, PyObject *args) { | |
1241 | PyObject * _resultobj; | |
1242 | wxRealPoint * _result; | |
1243 | double _arg0 = 0.0; | |
1244 | double _arg1 = 0.0; | |
1245 | char _ptemp[128]; | |
1246 | ||
1247 | self = self; | |
1248 | if(!PyArg_ParseTuple(args,"|dd:new_wxRealPoint",&_arg0,&_arg1)) | |
1249 | return NULL; | |
1250 | _result = (wxRealPoint *)new_wxRealPoint(_arg0,_arg1); | |
1251 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRealPoint_p"); | |
1252 | _resultobj = Py_BuildValue("s",_ptemp); | |
1253 | return _resultobj; | |
1254 | } | |
1255 | ||
1256 | #define delete_wxRealPoint(_swigobj) (delete _swigobj) | |
1257 | static PyObject *_wrap_delete_wxRealPoint(PyObject *self, PyObject *args) { | |
1258 | PyObject * _resultobj; | |
1259 | wxRealPoint * _arg0; | |
1260 | char * _argc0 = 0; | |
1261 | ||
1262 | self = self; | |
1263 | if(!PyArg_ParseTuple(args,"s:delete_wxRealPoint",&_argc0)) | |
1264 | return NULL; | |
1265 | if (_argc0) { | |
1266 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p."); | |
1268 | return NULL; | |
1269 | } | |
1270 | } | |
1271 | delete_wxRealPoint(_arg0); | |
1272 | Py_INCREF(Py_None); | |
1273 | _resultobj = Py_None; | |
1274 | return _resultobj; | |
1275 | } | |
1276 | ||
1277 | #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
1278 | static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args) { | |
1279 | PyObject * _resultobj; | |
1280 | long _result; | |
1281 | wxPoint * _arg0; | |
1282 | long _arg1; | |
1283 | char * _argc0 = 0; | |
1284 | ||
1285 | self = self; | |
1286 | if(!PyArg_ParseTuple(args,"sl:wxPoint_x_set",&_argc0,&_arg1)) | |
1287 | return NULL; | |
1288 | if (_argc0) { | |
1289 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p."); | |
1291 | return NULL; | |
1292 | } | |
1293 | } | |
1294 | _result = (long )wxPoint_x_set(_arg0,_arg1); | |
1295 | _resultobj = Py_BuildValue("l",_result); | |
1296 | return _resultobj; | |
1297 | } | |
1298 | ||
1299 | #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x) | |
1300 | static PyObject *_wrap_wxPoint_x_get(PyObject *self, PyObject *args) { | |
1301 | PyObject * _resultobj; | |
1302 | long _result; | |
1303 | wxPoint * _arg0; | |
1304 | char * _argc0 = 0; | |
1305 | ||
1306 | self = self; | |
1307 | if(!PyArg_ParseTuple(args,"s:wxPoint_x_get",&_argc0)) | |
1308 | return NULL; | |
1309 | if (_argc0) { | |
1310 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p."); | |
1312 | return NULL; | |
1313 | } | |
1314 | } | |
1315 | _result = (long )wxPoint_x_get(_arg0); | |
1316 | _resultobj = Py_BuildValue("l",_result); | |
1317 | return _resultobj; | |
1318 | } | |
1319 | ||
1320 | #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
1321 | static PyObject *_wrap_wxPoint_y_set(PyObject *self, PyObject *args) { | |
1322 | PyObject * _resultobj; | |
1323 | long _result; | |
1324 | wxPoint * _arg0; | |
1325 | long _arg1; | |
1326 | char * _argc0 = 0; | |
1327 | ||
1328 | self = self; | |
1329 | if(!PyArg_ParseTuple(args,"sl:wxPoint_y_set",&_argc0,&_arg1)) | |
1330 | return NULL; | |
1331 | if (_argc0) { | |
1332 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p."); | |
1334 | return NULL; | |
1335 | } | |
1336 | } | |
1337 | _result = (long )wxPoint_y_set(_arg0,_arg1); | |
1338 | _resultobj = Py_BuildValue("l",_result); | |
1339 | return _resultobj; | |
1340 | } | |
1341 | ||
1342 | #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y) | |
1343 | static PyObject *_wrap_wxPoint_y_get(PyObject *self, PyObject *args) { | |
1344 | PyObject * _resultobj; | |
1345 | long _result; | |
1346 | wxPoint * _arg0; | |
1347 | char * _argc0 = 0; | |
1348 | ||
1349 | self = self; | |
1350 | if(!PyArg_ParseTuple(args,"s:wxPoint_y_get",&_argc0)) | |
1351 | return NULL; | |
1352 | if (_argc0) { | |
1353 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p."); | |
1355 | return NULL; | |
1356 | } | |
1357 | } | |
1358 | _result = (long )wxPoint_y_get(_arg0); | |
1359 | _resultobj = Py_BuildValue("l",_result); | |
1360 | return _resultobj; | |
1361 | } | |
1362 | ||
1363 | #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1)) | |
1364 | static PyObject *_wrap_new_wxPoint(PyObject *self, PyObject *args) { | |
1365 | PyObject * _resultobj; | |
1366 | wxPoint * _result; | |
1367 | long _arg0 = 0; | |
1368 | long _arg1 = 0; | |
1369 | char _ptemp[128]; | |
1370 | ||
1371 | self = self; | |
1372 | if(!PyArg_ParseTuple(args,"|ll:new_wxPoint",&_arg0,&_arg1)) | |
1373 | return NULL; | |
1374 | _result = (wxPoint *)new_wxPoint(_arg0,_arg1); | |
1375 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
1376 | _resultobj = Py_BuildValue("s",_ptemp); | |
1377 | return _resultobj; | |
1378 | } | |
1379 | ||
1380 | #define delete_wxPoint(_swigobj) (delete _swigobj) | |
1381 | static PyObject *_wrap_delete_wxPoint(PyObject *self, PyObject *args) { | |
1382 | PyObject * _resultobj; | |
1383 | wxPoint * _arg0; | |
1384 | char * _argc0 = 0; | |
1385 | ||
1386 | self = self; | |
1387 | if(!PyArg_ParseTuple(args,"s:delete_wxPoint",&_argc0)) | |
1388 | return NULL; | |
1389 | if (_argc0) { | |
1390 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p."); | |
1392 | return NULL; | |
1393 | } | |
1394 | } | |
1395 | delete_wxPoint(_arg0); | |
1396 | Py_INCREF(Py_None); | |
1397 | _resultobj = Py_None; | |
1398 | return _resultobj; | |
1399 | } | |
1400 | ||
1401 | static void wxPoint_Set(wxPoint *self,long x,long y) { | |
1402 | self->x = x; | |
1403 | self->y = y; | |
1404 | } | |
1405 | static PyObject *_wrap_wxPoint_Set(PyObject *self, PyObject *args) { | |
1406 | PyObject * _resultobj; | |
1407 | wxPoint * _arg0; | |
1408 | long _arg1; | |
1409 | long _arg2; | |
1410 | char * _argc0 = 0; | |
1411 | ||
1412 | self = self; | |
1413 | if(!PyArg_ParseTuple(args,"sll:wxPoint_Set",&_argc0,&_arg1,&_arg2)) | |
1414 | return NULL; | |
1415 | if (_argc0) { | |
1416 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
1417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p."); | |
1418 | return NULL; | |
1419 | } | |
1420 | } | |
1421 | wxPoint_Set(_arg0,_arg1,_arg2); | |
1422 | Py_INCREF(Py_None); | |
1423 | _resultobj = Py_None; | |
1424 | return _resultobj; | |
1425 | } | |
1426 | ||
21f8d7ea | 1427 | static PyObject * wxPoint_asTuple(wxPoint *self) { |
70551f47 RD |
1428 | PyObject* tup = PyTuple_New(2); |
1429 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); | |
1430 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y)); | |
1431 | return tup; | |
1432 | } | |
21f8d7ea | 1433 | static PyObject *_wrap_wxPoint_asTuple(PyObject *self, PyObject *args) { |
70551f47 RD |
1434 | PyObject * _resultobj; |
1435 | PyObject * _result; | |
1436 | wxPoint * _arg0; | |
1437 | char * _argc0 = 0; | |
1438 | ||
1439 | self = self; | |
21f8d7ea | 1440 | if(!PyArg_ParseTuple(args,"s:wxPoint_asTuple",&_argc0)) |
70551f47 RD |
1441 | return NULL; |
1442 | if (_argc0) { | |
1443 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPoint_p")) { | |
21f8d7ea | 1444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_asTuple. Expected _wxPoint_p."); |
70551f47 RD |
1445 | return NULL; |
1446 | } | |
1447 | } | |
21f8d7ea | 1448 | _result = (PyObject *)wxPoint_asTuple(_arg0); |
70551f47 RD |
1449 | { |
1450 | _resultobj = _result; | |
1451 | } | |
1452 | return _resultobj; | |
1453 | } | |
1454 | ||
1455 | #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1456 | static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args) { | |
1457 | PyObject * _resultobj; | |
1458 | wxRect * _result; | |
1459 | long _arg0 = 0; | |
1460 | long _arg1 = 0; | |
1461 | long _arg2 = 0; | |
1462 | long _arg3 = 0; | |
1463 | char _ptemp[128]; | |
1464 | ||
1465 | self = self; | |
1466 | if(!PyArg_ParseTuple(args,"|llll:new_wxRect",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1467 | return NULL; | |
1468 | _result = (wxRect *)new_wxRect(_arg0,_arg1,_arg2,_arg3); | |
1469 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p"); | |
1470 | _resultobj = Py_BuildValue("s",_ptemp); | |
1471 | return _resultobj; | |
1472 | } | |
1473 | ||
1474 | #define delete_wxRect(_swigobj) (delete _swigobj) | |
1475 | static PyObject *_wrap_delete_wxRect(PyObject *self, PyObject *args) { | |
1476 | PyObject * _resultobj; | |
1477 | wxRect * _arg0; | |
1478 | char * _argc0 = 0; | |
1479 | ||
1480 | self = self; | |
1481 | if(!PyArg_ParseTuple(args,"s:delete_wxRect",&_argc0)) | |
1482 | return NULL; | |
1483 | if (_argc0) { | |
1484 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p."); | |
1486 | return NULL; | |
1487 | } | |
1488 | } | |
1489 | delete_wxRect(_arg0); | |
1490 | Py_INCREF(Py_None); | |
1491 | _resultobj = Py_None; | |
1492 | return _resultobj; | |
1493 | } | |
1494 | ||
1495 | #define wxRect_GetX(_swigobj) (_swigobj->GetX()) | |
1496 | static PyObject *_wrap_wxRect_GetX(PyObject *self, PyObject *args) { | |
1497 | PyObject * _resultobj; | |
1498 | long _result; | |
1499 | wxRect * _arg0; | |
1500 | char * _argc0 = 0; | |
1501 | ||
1502 | self = self; | |
1503 | if(!PyArg_ParseTuple(args,"s:wxRect_GetX",&_argc0)) | |
1504 | return NULL; | |
1505 | if (_argc0) { | |
1506 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p."); | |
1508 | return NULL; | |
1509 | } | |
1510 | } | |
1511 | _result = (long )wxRect_GetX(_arg0); | |
1512 | _resultobj = Py_BuildValue("l",_result); | |
1513 | return _resultobj; | |
1514 | } | |
1515 | ||
1516 | #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
1517 | static PyObject *_wrap_wxRect_SetX(PyObject *self, PyObject *args) { | |
1518 | PyObject * _resultobj; | |
1519 | wxRect * _arg0; | |
1520 | long _arg1; | |
1521 | char * _argc0 = 0; | |
1522 | ||
1523 | self = self; | |
1524 | if(!PyArg_ParseTuple(args,"sl:wxRect_SetX",&_argc0,&_arg1)) | |
1525 | return NULL; | |
1526 | if (_argc0) { | |
1527 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p."); | |
1529 | return NULL; | |
1530 | } | |
1531 | } | |
1532 | wxRect_SetX(_arg0,_arg1); | |
1533 | Py_INCREF(Py_None); | |
1534 | _resultobj = Py_None; | |
1535 | return _resultobj; | |
1536 | } | |
1537 | ||
1538 | #define wxRect_GetY(_swigobj) (_swigobj->GetY()) | |
1539 | static PyObject *_wrap_wxRect_GetY(PyObject *self, PyObject *args) { | |
1540 | PyObject * _resultobj; | |
1541 | long _result; | |
1542 | wxRect * _arg0; | |
1543 | char * _argc0 = 0; | |
1544 | ||
1545 | self = self; | |
1546 | if(!PyArg_ParseTuple(args,"s:wxRect_GetY",&_argc0)) | |
1547 | return NULL; | |
1548 | if (_argc0) { | |
1549 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p."); | |
1551 | return NULL; | |
1552 | } | |
1553 | } | |
1554 | _result = (long )wxRect_GetY(_arg0); | |
1555 | _resultobj = Py_BuildValue("l",_result); | |
1556 | return _resultobj; | |
1557 | } | |
1558 | ||
1559 | #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
1560 | static PyObject *_wrap_wxRect_SetY(PyObject *self, PyObject *args) { | |
1561 | PyObject * _resultobj; | |
1562 | wxRect * _arg0; | |
1563 | long _arg1; | |
1564 | char * _argc0 = 0; | |
1565 | ||
1566 | self = self; | |
1567 | if(!PyArg_ParseTuple(args,"sl:wxRect_SetY",&_argc0,&_arg1)) | |
1568 | return NULL; | |
1569 | if (_argc0) { | |
1570 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p."); | |
1572 | return NULL; | |
1573 | } | |
1574 | } | |
1575 | wxRect_SetY(_arg0,_arg1); | |
1576 | Py_INCREF(Py_None); | |
1577 | _resultobj = Py_None; | |
1578 | return _resultobj; | |
1579 | } | |
1580 | ||
1581 | #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1582 | static PyObject *_wrap_wxRect_GetWidth(PyObject *self, PyObject *args) { | |
1583 | PyObject * _resultobj; | |
1584 | long _result; | |
1585 | wxRect * _arg0; | |
1586 | char * _argc0 = 0; | |
1587 | ||
1588 | self = self; | |
1589 | if(!PyArg_ParseTuple(args,"s:wxRect_GetWidth",&_argc0)) | |
1590 | return NULL; | |
1591 | if (_argc0) { | |
1592 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p."); | |
1594 | return NULL; | |
1595 | } | |
1596 | } | |
1597 | _result = (long )wxRect_GetWidth(_arg0); | |
1598 | _resultobj = Py_BuildValue("l",_result); | |
1599 | return _resultobj; | |
1600 | } | |
1601 | ||
1602 | #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0)) | |
1603 | static PyObject *_wrap_wxRect_SetWidth(PyObject *self, PyObject *args) { | |
1604 | PyObject * _resultobj; | |
1605 | wxRect * _arg0; | |
1606 | long _arg1; | |
1607 | char * _argc0 = 0; | |
1608 | ||
1609 | self = self; | |
1610 | if(!PyArg_ParseTuple(args,"sl:wxRect_SetWidth",&_argc0,&_arg1)) | |
1611 | return NULL; | |
1612 | if (_argc0) { | |
1613 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p."); | |
1615 | return NULL; | |
1616 | } | |
1617 | } | |
1618 | wxRect_SetWidth(_arg0,_arg1); | |
1619 | Py_INCREF(Py_None); | |
1620 | _resultobj = Py_None; | |
1621 | return _resultobj; | |
1622 | } | |
1623 | ||
1624 | #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
1625 | static PyObject *_wrap_wxRect_GetHeight(PyObject *self, PyObject *args) { | |
1626 | PyObject * _resultobj; | |
1627 | long _result; | |
1628 | wxRect * _arg0; | |
1629 | char * _argc0 = 0; | |
1630 | ||
1631 | self = self; | |
1632 | if(!PyArg_ParseTuple(args,"s:wxRect_GetHeight",&_argc0)) | |
1633 | return NULL; | |
1634 | if (_argc0) { | |
1635 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p."); | |
1637 | return NULL; | |
1638 | } | |
1639 | } | |
1640 | _result = (long )wxRect_GetHeight(_arg0); | |
1641 | _resultobj = Py_BuildValue("l",_result); | |
1642 | return _resultobj; | |
1643 | } | |
1644 | ||
1645 | #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0)) | |
1646 | static PyObject *_wrap_wxRect_SetHeight(PyObject *self, PyObject *args) { | |
1647 | PyObject * _resultobj; | |
1648 | wxRect * _arg0; | |
1649 | long _arg1; | |
1650 | char * _argc0 = 0; | |
1651 | ||
1652 | self = self; | |
1653 | if(!PyArg_ParseTuple(args,"sl:wxRect_SetHeight",&_argc0,&_arg1)) | |
1654 | return NULL; | |
1655 | if (_argc0) { | |
1656 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p."); | |
1658 | return NULL; | |
1659 | } | |
1660 | } | |
1661 | wxRect_SetHeight(_arg0,_arg1); | |
1662 | Py_INCREF(Py_None); | |
1663 | _resultobj = Py_None; | |
1664 | return _resultobj; | |
1665 | } | |
1666 | ||
1667 | #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
1668 | static PyObject *_wrap_wxRect_GetPosition(PyObject *self, PyObject *args) { | |
1669 | PyObject * _resultobj; | |
1670 | wxPoint * _result; | |
1671 | wxRect * _arg0; | |
1672 | char * _argc0 = 0; | |
1673 | char _ptemp[128]; | |
1674 | ||
1675 | self = self; | |
1676 | if(!PyArg_ParseTuple(args,"s:wxRect_GetPosition",&_argc0)) | |
1677 | return NULL; | |
1678 | if (_argc0) { | |
1679 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1680 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p."); | |
1681 | return NULL; | |
1682 | } | |
1683 | } | |
1684 | _result = new wxPoint (wxRect_GetPosition(_arg0)); | |
1685 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
1686 | _resultobj = Py_BuildValue("s",_ptemp); | |
1687 | return _resultobj; | |
1688 | } | |
1689 | ||
1690 | #define wxRect_GetSize(_swigobj) (_swigobj->GetSize()) | |
1691 | static PyObject *_wrap_wxRect_GetSize(PyObject *self, PyObject *args) { | |
1692 | PyObject * _resultobj; | |
1693 | wxSize * _result; | |
1694 | wxRect * _arg0; | |
1695 | char * _argc0 = 0; | |
1696 | char _ptemp[128]; | |
1697 | ||
1698 | self = self; | |
1699 | if(!PyArg_ParseTuple(args,"s:wxRect_GetSize",&_argc0)) | |
1700 | return NULL; | |
1701 | if (_argc0) { | |
1702 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p."); | |
1704 | return NULL; | |
1705 | } | |
1706 | } | |
1707 | _result = new wxSize (wxRect_GetSize(_arg0)); | |
1708 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
1709 | _resultobj = Py_BuildValue("s",_ptemp); | |
1710 | return _resultobj; | |
1711 | } | |
1712 | ||
1713 | #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft()) | |
1714 | static PyObject *_wrap_wxRect_GetLeft(PyObject *self, PyObject *args) { | |
1715 | PyObject * _resultobj; | |
1716 | long _result; | |
1717 | wxRect * _arg0; | |
1718 | char * _argc0 = 0; | |
1719 | ||
1720 | self = self; | |
1721 | if(!PyArg_ParseTuple(args,"s:wxRect_GetLeft",&_argc0)) | |
1722 | return NULL; | |
1723 | if (_argc0) { | |
1724 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1725 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p."); | |
1726 | return NULL; | |
1727 | } | |
1728 | } | |
1729 | _result = (long )wxRect_GetLeft(_arg0); | |
1730 | _resultobj = Py_BuildValue("l",_result); | |
1731 | return _resultobj; | |
1732 | } | |
1733 | ||
1734 | #define wxRect_GetTop(_swigobj) (_swigobj->GetTop()) | |
1735 | static PyObject *_wrap_wxRect_GetTop(PyObject *self, PyObject *args) { | |
1736 | PyObject * _resultobj; | |
1737 | long _result; | |
1738 | wxRect * _arg0; | |
1739 | char * _argc0 = 0; | |
1740 | ||
1741 | self = self; | |
1742 | if(!PyArg_ParseTuple(args,"s:wxRect_GetTop",&_argc0)) | |
1743 | return NULL; | |
1744 | if (_argc0) { | |
1745 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p."); | |
1747 | return NULL; | |
1748 | } | |
1749 | } | |
1750 | _result = (long )wxRect_GetTop(_arg0); | |
1751 | _resultobj = Py_BuildValue("l",_result); | |
1752 | return _resultobj; | |
1753 | } | |
1754 | ||
1755 | #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom()) | |
1756 | static PyObject *_wrap_wxRect_GetBottom(PyObject *self, PyObject *args) { | |
1757 | PyObject * _resultobj; | |
1758 | long _result; | |
1759 | wxRect * _arg0; | |
1760 | char * _argc0 = 0; | |
1761 | ||
1762 | self = self; | |
1763 | if(!PyArg_ParseTuple(args,"s:wxRect_GetBottom",&_argc0)) | |
1764 | return NULL; | |
1765 | if (_argc0) { | |
1766 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p."); | |
1768 | return NULL; | |
1769 | } | |
1770 | } | |
1771 | _result = (long )wxRect_GetBottom(_arg0); | |
1772 | _resultobj = Py_BuildValue("l",_result); | |
1773 | return _resultobj; | |
1774 | } | |
1775 | ||
1776 | #define wxRect_GetRight(_swigobj) (_swigobj->GetRight()) | |
1777 | static PyObject *_wrap_wxRect_GetRight(PyObject *self, PyObject *args) { | |
1778 | PyObject * _resultobj; | |
1779 | long _result; | |
1780 | wxRect * _arg0; | |
1781 | char * _argc0 = 0; | |
1782 | ||
1783 | self = self; | |
1784 | if(!PyArg_ParseTuple(args,"s:wxRect_GetRight",&_argc0)) | |
1785 | return NULL; | |
1786 | if (_argc0) { | |
1787 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1788 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p."); | |
1789 | return NULL; | |
1790 | } | |
1791 | } | |
1792 | _result = (long )wxRect_GetRight(_arg0); | |
1793 | _resultobj = Py_BuildValue("l",_result); | |
1794 | return _resultobj; | |
1795 | } | |
1796 | ||
1797 | #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
1798 | static PyObject *_wrap_wxRect_x_set(PyObject *self, PyObject *args) { | |
1799 | PyObject * _resultobj; | |
1800 | long _result; | |
1801 | wxRect * _arg0; | |
1802 | long _arg1; | |
1803 | char * _argc0 = 0; | |
1804 | ||
1805 | self = self; | |
1806 | if(!PyArg_ParseTuple(args,"sl:wxRect_x_set",&_argc0,&_arg1)) | |
1807 | return NULL; | |
1808 | if (_argc0) { | |
1809 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p."); | |
1811 | return NULL; | |
1812 | } | |
1813 | } | |
1814 | _result = (long )wxRect_x_set(_arg0,_arg1); | |
1815 | _resultobj = Py_BuildValue("l",_result); | |
1816 | return _resultobj; | |
1817 | } | |
1818 | ||
1819 | #define wxRect_x_get(_swigobj) ((long ) _swigobj->x) | |
1820 | static PyObject *_wrap_wxRect_x_get(PyObject *self, PyObject *args) { | |
1821 | PyObject * _resultobj; | |
1822 | long _result; | |
1823 | wxRect * _arg0; | |
1824 | char * _argc0 = 0; | |
1825 | ||
1826 | self = self; | |
1827 | if(!PyArg_ParseTuple(args,"s:wxRect_x_get",&_argc0)) | |
1828 | return NULL; | |
1829 | if (_argc0) { | |
1830 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p."); | |
1832 | return NULL; | |
1833 | } | |
1834 | } | |
1835 | _result = (long )wxRect_x_get(_arg0); | |
1836 | _resultobj = Py_BuildValue("l",_result); | |
1837 | return _resultobj; | |
1838 | } | |
1839 | ||
1840 | #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
1841 | static PyObject *_wrap_wxRect_y_set(PyObject *self, PyObject *args) { | |
1842 | PyObject * _resultobj; | |
1843 | long _result; | |
1844 | wxRect * _arg0; | |
1845 | long _arg1; | |
1846 | char * _argc0 = 0; | |
1847 | ||
1848 | self = self; | |
1849 | if(!PyArg_ParseTuple(args,"sl:wxRect_y_set",&_argc0,&_arg1)) | |
1850 | return NULL; | |
1851 | if (_argc0) { | |
1852 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p."); | |
1854 | return NULL; | |
1855 | } | |
1856 | } | |
1857 | _result = (long )wxRect_y_set(_arg0,_arg1); | |
1858 | _resultobj = Py_BuildValue("l",_result); | |
1859 | return _resultobj; | |
1860 | } | |
1861 | ||
1862 | #define wxRect_y_get(_swigobj) ((long ) _swigobj->y) | |
1863 | static PyObject *_wrap_wxRect_y_get(PyObject *self, PyObject *args) { | |
1864 | PyObject * _resultobj; | |
1865 | long _result; | |
1866 | wxRect * _arg0; | |
1867 | char * _argc0 = 0; | |
1868 | ||
1869 | self = self; | |
1870 | if(!PyArg_ParseTuple(args,"s:wxRect_y_get",&_argc0)) | |
1871 | return NULL; | |
1872 | if (_argc0) { | |
1873 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p."); | |
1875 | return NULL; | |
1876 | } | |
1877 | } | |
1878 | _result = (long )wxRect_y_get(_arg0); | |
1879 | _resultobj = Py_BuildValue("l",_result); | |
1880 | return _resultobj; | |
1881 | } | |
1882 | ||
1883 | #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval) | |
1884 | static PyObject *_wrap_wxRect_width_set(PyObject *self, PyObject *args) { | |
1885 | PyObject * _resultobj; | |
1886 | long _result; | |
1887 | wxRect * _arg0; | |
1888 | long _arg1; | |
1889 | char * _argc0 = 0; | |
1890 | ||
1891 | self = self; | |
1892 | if(!PyArg_ParseTuple(args,"sl:wxRect_width_set",&_argc0,&_arg1)) | |
1893 | return NULL; | |
1894 | if (_argc0) { | |
1895 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p."); | |
1897 | return NULL; | |
1898 | } | |
1899 | } | |
1900 | _result = (long )wxRect_width_set(_arg0,_arg1); | |
1901 | _resultobj = Py_BuildValue("l",_result); | |
1902 | return _resultobj; | |
1903 | } | |
1904 | ||
1905 | #define wxRect_width_get(_swigobj) ((long ) _swigobj->width) | |
1906 | static PyObject *_wrap_wxRect_width_get(PyObject *self, PyObject *args) { | |
1907 | PyObject * _resultobj; | |
1908 | long _result; | |
1909 | wxRect * _arg0; | |
1910 | char * _argc0 = 0; | |
1911 | ||
1912 | self = self; | |
1913 | if(!PyArg_ParseTuple(args,"s:wxRect_width_get",&_argc0)) | |
1914 | return NULL; | |
1915 | if (_argc0) { | |
1916 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p."); | |
1918 | return NULL; | |
1919 | } | |
1920 | } | |
1921 | _result = (long )wxRect_width_get(_arg0); | |
1922 | _resultobj = Py_BuildValue("l",_result); | |
1923 | return _resultobj; | |
1924 | } | |
1925 | ||
1926 | #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval) | |
1927 | static PyObject *_wrap_wxRect_height_set(PyObject *self, PyObject *args) { | |
1928 | PyObject * _resultobj; | |
1929 | long _result; | |
1930 | wxRect * _arg0; | |
1931 | long _arg1; | |
1932 | char * _argc0 = 0; | |
1933 | ||
1934 | self = self; | |
1935 | if(!PyArg_ParseTuple(args,"sl:wxRect_height_set",&_argc0,&_arg1)) | |
1936 | return NULL; | |
1937 | if (_argc0) { | |
1938 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1939 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p."); | |
1940 | return NULL; | |
1941 | } | |
1942 | } | |
1943 | _result = (long )wxRect_height_set(_arg0,_arg1); | |
1944 | _resultobj = Py_BuildValue("l",_result); | |
1945 | return _resultobj; | |
1946 | } | |
1947 | ||
1948 | #define wxRect_height_get(_swigobj) ((long ) _swigobj->height) | |
1949 | static PyObject *_wrap_wxRect_height_get(PyObject *self, PyObject *args) { | |
1950 | PyObject * _resultobj; | |
1951 | long _result; | |
1952 | wxRect * _arg0; | |
1953 | char * _argc0 = 0; | |
1954 | ||
1955 | self = self; | |
1956 | if(!PyArg_ParseTuple(args,"s:wxRect_height_get",&_argc0)) | |
1957 | return NULL; | |
1958 | if (_argc0) { | |
1959 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p."); | |
1961 | return NULL; | |
1962 | } | |
1963 | } | |
1964 | _result = (long )wxRect_height_get(_arg0); | |
1965 | _resultobj = Py_BuildValue("l",_result); | |
1966 | return _resultobj; | |
1967 | } | |
1968 | ||
21f8d7ea RD |
1969 | static PyObject * wxRect_asTuple(wxRect *self) { |
1970 | PyObject* tup = PyTuple_New(4); | |
1971 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); | |
1972 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y)); | |
1973 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->width)); | |
1974 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->height)); | |
1975 | return tup; | |
1976 | } | |
1977 | static PyObject *_wrap_wxRect_asTuple(PyObject *self, PyObject *args) { | |
1978 | PyObject * _resultobj; | |
1979 | PyObject * _result; | |
1980 | wxRect * _arg0; | |
1981 | char * _argc0 = 0; | |
1982 | ||
1983 | self = self; | |
1984 | if(!PyArg_ParseTuple(args,"s:wxRect_asTuple",&_argc0)) | |
1985 | return NULL; | |
1986 | if (_argc0) { | |
1987 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRect_p")) { | |
1988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_asTuple. Expected _wxRect_p."); | |
1989 | return NULL; | |
1990 | } | |
1991 | } | |
1992 | _result = (PyObject *)wxRect_asTuple(_arg0); | |
1993 | { | |
1994 | _resultobj = _result; | |
1995 | } | |
1996 | return _resultobj; | |
1997 | } | |
1998 | ||
70551f47 RD |
1999 | #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0)) |
2000 | static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args) { | |
2001 | PyObject * _resultobj; | |
2002 | wxPyTimer * _result; | |
2003 | PyObject * _arg0; | |
2004 | PyObject * _obj0 = 0; | |
2005 | char _ptemp[128]; | |
2006 | ||
2007 | self = self; | |
2008 | if(!PyArg_ParseTuple(args,"O:new_wxPyTimer",&_obj0)) | |
2009 | return NULL; | |
2010 | { | |
2011 | _arg0 = _obj0; | |
2012 | } | |
2013 | _result = (wxPyTimer *)new_wxPyTimer(_arg0); | |
2014 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p"); | |
2015 | _resultobj = Py_BuildValue("s",_ptemp); | |
2016 | return _resultobj; | |
2017 | } | |
2018 | ||
2019 | #define delete_wxPyTimer(_swigobj) (delete _swigobj) | |
2020 | static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args) { | |
2021 | PyObject * _resultobj; | |
2022 | wxPyTimer * _arg0; | |
2023 | char * _argc0 = 0; | |
2024 | ||
2025 | self = self; | |
2026 | if(!PyArg_ParseTuple(args,"s:delete_wxPyTimer",&_argc0)) | |
2027 | return NULL; | |
2028 | if (_argc0) { | |
2029 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) { | |
2030 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p."); | |
2031 | return NULL; | |
2032 | } | |
2033 | } | |
2034 | delete_wxPyTimer(_arg0); | |
2035 | Py_INCREF(Py_None); | |
2036 | _resultobj = Py_None; | |
2037 | return _resultobj; | |
2038 | } | |
2039 | ||
2040 | #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval()) | |
2041 | static PyObject *_wrap_wxPyTimer_Interval(PyObject *self, PyObject *args) { | |
2042 | PyObject * _resultobj; | |
2043 | int _result; | |
2044 | wxPyTimer * _arg0; | |
2045 | char * _argc0 = 0; | |
2046 | ||
2047 | self = self; | |
2048 | if(!PyArg_ParseTuple(args,"s:wxPyTimer_Interval",&_argc0)) | |
2049 | return NULL; | |
2050 | if (_argc0) { | |
2051 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) { | |
2052 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p."); | |
2053 | return NULL; | |
2054 | } | |
2055 | } | |
2056 | _result = (int )wxPyTimer_Interval(_arg0); | |
2057 | _resultobj = Py_BuildValue("i",_result); | |
2058 | return _resultobj; | |
2059 | } | |
2060 | ||
2061 | #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1)) | |
2062 | static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args) { | |
2063 | PyObject * _resultobj; | |
2064 | wxPyTimer * _arg0; | |
2065 | int _arg1 = -1; | |
2066 | int _arg2 = (0); | |
2067 | char * _argc0 = 0; | |
2068 | ||
2069 | self = self; | |
2070 | if(!PyArg_ParseTuple(args,"s|ii:wxPyTimer_Start",&_argc0,&_arg1,&_arg2)) | |
2071 | return NULL; | |
2072 | if (_argc0) { | |
2073 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) { | |
2074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p."); | |
2075 | return NULL; | |
2076 | } | |
2077 | } | |
2078 | wxPyTimer_Start(_arg0,_arg1,_arg2); | |
2079 | Py_INCREF(Py_None); | |
2080 | _resultobj = Py_None; | |
2081 | return _resultobj; | |
2082 | } | |
2083 | ||
2084 | #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop()) | |
2085 | static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args) { | |
2086 | PyObject * _resultobj; | |
2087 | wxPyTimer * _arg0; | |
2088 | char * _argc0 = 0; | |
2089 | ||
2090 | self = self; | |
2091 | if(!PyArg_ParseTuple(args,"s:wxPyTimer_Stop",&_argc0)) | |
2092 | return NULL; | |
2093 | if (_argc0) { | |
2094 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxPyTimer_p")) { | |
2095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p."); | |
2096 | return NULL; | |
2097 | } | |
2098 | } | |
2099 | wxPyTimer_Stop(_arg0); | |
2100 | Py_INCREF(Py_None); | |
2101 | _resultobj = Py_None; | |
2102 | return _resultobj; | |
2103 | } | |
2104 | ||
2105 | #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1)) | |
2106 | static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *self, PyObject *args) { | |
2107 | PyObject * _resultobj; | |
2108 | wxIndividualLayoutConstraint * _arg0; | |
2109 | wxWindow * _arg1; | |
2110 | int _arg2 = 0; | |
2111 | char * _argc0 = 0; | |
2112 | char * _argc1 = 0; | |
2113 | ||
2114 | self = self; | |
2115 | if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_Above",&_argc0,&_argc1,&_arg2)) | |
2116 | return NULL; | |
2117 | if (_argc0) { | |
2118 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p."); | |
2120 | return NULL; | |
2121 | } | |
2122 | } | |
2123 | if (_argc1) { | |
2124 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p."); | |
2126 | return NULL; | |
2127 | } | |
2128 | } | |
2129 | wxIndividualLayoutConstraint_Above(_arg0,_arg1,_arg2); | |
2130 | Py_INCREF(Py_None); | |
2131 | _resultobj = Py_None; | |
2132 | return _resultobj; | |
2133 | } | |
2134 | ||
2135 | #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0)) | |
2136 | static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args) { | |
2137 | PyObject * _resultobj; | |
2138 | wxIndividualLayoutConstraint * _arg0; | |
2139 | int _arg1; | |
2140 | char * _argc0 = 0; | |
2141 | ||
2142 | self = self; | |
2143 | if(!PyArg_ParseTuple(args,"si:wxIndividualLayoutConstraint_Absolute",&_argc0,&_arg1)) | |
2144 | return NULL; | |
2145 | if (_argc0) { | |
2146 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p."); | |
2148 | return NULL; | |
2149 | } | |
2150 | } | |
2151 | wxIndividualLayoutConstraint_Absolute(_arg0,_arg1); | |
2152 | Py_INCREF(Py_None); | |
2153 | _resultobj = Py_None; | |
2154 | return _resultobj; | |
2155 | } | |
2156 | ||
2157 | #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs()) | |
2158 | static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args) { | |
2159 | PyObject * _resultobj; | |
2160 | wxIndividualLayoutConstraint * _arg0; | |
2161 | char * _argc0 = 0; | |
2162 | ||
2163 | self = self; | |
2164 | if(!PyArg_ParseTuple(args,"s:wxIndividualLayoutConstraint_AsIs",&_argc0)) | |
2165 | return NULL; | |
2166 | if (_argc0) { | |
2167 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p."); | |
2169 | return NULL; | |
2170 | } | |
2171 | } | |
2172 | wxIndividualLayoutConstraint_AsIs(_arg0); | |
2173 | Py_INCREF(Py_None); | |
2174 | _resultobj = Py_None; | |
2175 | return _resultobj; | |
2176 | } | |
2177 | ||
2178 | #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1)) | |
2179 | static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *self, PyObject *args) { | |
2180 | PyObject * _resultobj; | |
2181 | wxIndividualLayoutConstraint * _arg0; | |
2182 | wxWindow * _arg1; | |
2183 | int _arg2 = 0; | |
2184 | char * _argc0 = 0; | |
2185 | char * _argc1 = 0; | |
2186 | ||
2187 | self = self; | |
2188 | if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_Below",&_argc0,&_argc1,&_arg2)) | |
2189 | return NULL; | |
2190 | if (_argc0) { | |
2191 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p."); | |
2193 | return NULL; | |
2194 | } | |
2195 | } | |
2196 | if (_argc1) { | |
2197 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p."); | |
2199 | return NULL; | |
2200 | } | |
2201 | } | |
2202 | wxIndividualLayoutConstraint_Below(_arg0,_arg1,_arg2); | |
2203 | Py_INCREF(Py_None); | |
2204 | _resultobj = Py_None; | |
2205 | return _resultobj; | |
2206 | } | |
2207 | ||
2208 | #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained()) | |
2209 | static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args) { | |
2210 | PyObject * _resultobj; | |
2211 | wxIndividualLayoutConstraint * _arg0; | |
2212 | char * _argc0 = 0; | |
2213 | ||
2214 | self = self; | |
2215 | if(!PyArg_ParseTuple(args,"s:wxIndividualLayoutConstraint_Unconstrained",&_argc0)) | |
2216 | return NULL; | |
2217 | if (_argc0) { | |
2218 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p."); | |
2220 | return NULL; | |
2221 | } | |
2222 | } | |
2223 | wxIndividualLayoutConstraint_Unconstrained(_arg0); | |
2224 | Py_INCREF(Py_None); | |
2225 | _resultobj = Py_None; | |
2226 | return _resultobj; | |
2227 | } | |
2228 | ||
2229 | #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1)) | |
2230 | static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args) { | |
2231 | PyObject * _resultobj; | |
2232 | wxIndividualLayoutConstraint * _arg0; | |
2233 | wxWindow * _arg1; | |
2234 | int _arg2 = 0; | |
2235 | char * _argc0 = 0; | |
2236 | char * _argc1 = 0; | |
2237 | ||
2238 | self = self; | |
2239 | if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_LeftOf",&_argc0,&_argc1,&_arg2)) | |
2240 | return NULL; | |
2241 | if (_argc0) { | |
2242 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p."); | |
2244 | return NULL; | |
2245 | } | |
2246 | } | |
2247 | if (_argc1) { | |
2248 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p."); | |
2250 | return NULL; | |
2251 | } | |
2252 | } | |
2253 | wxIndividualLayoutConstraint_LeftOf(_arg0,_arg1,_arg2); | |
2254 | Py_INCREF(Py_None); | |
2255 | _resultobj = Py_None; | |
2256 | return _resultobj; | |
2257 | } | |
2258 | ||
2259 | #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2)) | |
2260 | static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args) { | |
2261 | PyObject * _resultobj; | |
2262 | wxIndividualLayoutConstraint * _arg0; | |
2263 | wxWindow * _arg1; | |
2264 | wxEdge _arg2; | |
2265 | int _arg3; | |
2266 | char * _argc0 = 0; | |
2267 | char * _argc1 = 0; | |
2268 | ||
2269 | self = self; | |
2270 | if(!PyArg_ParseTuple(args,"ssii:wxIndividualLayoutConstraint_PercentOf",&_argc0,&_argc1,&_arg2,&_arg3)) | |
2271 | return NULL; | |
2272 | if (_argc0) { | |
2273 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p."); | |
2275 | return NULL; | |
2276 | } | |
2277 | } | |
2278 | if (_argc1) { | |
2279 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p."); | |
2281 | return NULL; | |
2282 | } | |
2283 | } | |
2284 | wxIndividualLayoutConstraint_PercentOf(_arg0,_arg1,_arg2,_arg3); | |
2285 | Py_INCREF(Py_None); | |
2286 | _resultobj = Py_None; | |
2287 | return _resultobj; | |
2288 | } | |
2289 | ||
2290 | #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1)) | |
2291 | static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args) { | |
2292 | PyObject * _resultobj; | |
2293 | wxIndividualLayoutConstraint * _arg0; | |
2294 | wxWindow * _arg1; | |
2295 | int _arg2 = 0; | |
2296 | char * _argc0 = 0; | |
2297 | char * _argc1 = 0; | |
2298 | ||
2299 | self = self; | |
2300 | if(!PyArg_ParseTuple(args,"ss|i:wxIndividualLayoutConstraint_RightOf",&_argc0,&_argc1,&_arg2)) | |
2301 | return NULL; | |
2302 | if (_argc0) { | |
2303 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2304 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p."); | |
2305 | return NULL; | |
2306 | } | |
2307 | } | |
2308 | if (_argc1) { | |
2309 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p."); | |
2311 | return NULL; | |
2312 | } | |
2313 | } | |
2314 | wxIndividualLayoutConstraint_RightOf(_arg0,_arg1,_arg2); | |
2315 | Py_INCREF(Py_None); | |
2316 | _resultobj = Py_None; | |
2317 | return _resultobj; | |
2318 | } | |
2319 | ||
2320 | #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2)) | |
2321 | static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args) { | |
2322 | PyObject * _resultobj; | |
2323 | wxIndividualLayoutConstraint * _arg0; | |
2324 | wxWindow * _arg1; | |
2325 | wxEdge _arg2; | |
2326 | int _arg3 = 0; | |
2327 | char * _argc0 = 0; | |
2328 | char * _argc1 = 0; | |
2329 | ||
2330 | self = self; | |
2331 | if(!PyArg_ParseTuple(args,"ssi|i:wxIndividualLayoutConstraint_SameAs",&_argc0,&_argc1,&_arg2,&_arg3)) | |
2332 | return NULL; | |
2333 | if (_argc0) { | |
2334 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p."); | |
2336 | return NULL; | |
2337 | } | |
2338 | } | |
2339 | if (_argc1) { | |
2340 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxWindow_p")) { | |
2341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p."); | |
2342 | return NULL; | |
2343 | } | |
2344 | } | |
2345 | wxIndividualLayoutConstraint_SameAs(_arg0,_arg1,_arg2,_arg3); | |
2346 | Py_INCREF(Py_None); | |
2347 | _resultobj = Py_None; | |
2348 | return _resultobj; | |
2349 | } | |
2350 | ||
2351 | #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2352 | static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *self, PyObject *args) { | |
2353 | PyObject * _resultobj; | |
2354 | wxIndividualLayoutConstraint * _arg0; | |
2355 | wxRelationship _arg1; | |
2356 | wxWindow * _arg2; | |
2357 | wxEdge _arg3; | |
2358 | int _arg4 = 0; | |
2359 | int _arg5 = 0; | |
2360 | char * _argc0 = 0; | |
2361 | char * _argc2 = 0; | |
2362 | ||
2363 | self = self; | |
2364 | if(!PyArg_ParseTuple(args,"sisi|ii:wxIndividualLayoutConstraint_Set",&_argc0,&_arg1,&_argc2,&_arg3,&_arg4,&_arg5)) | |
2365 | return NULL; | |
2366 | if (_argc0) { | |
2367 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p."); | |
2369 | return NULL; | |
2370 | } | |
2371 | } | |
2372 | if (_argc2) { | |
2373 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxWindow_p")) { | |
2374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p."); | |
2375 | return NULL; | |
2376 | } | |
2377 | } | |
2378 | wxIndividualLayoutConstraint_Set(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2379 | Py_INCREF(Py_None); | |
2380 | _resultobj = Py_None; | |
2381 | return _resultobj; | |
2382 | } | |
2383 | ||
2384 | #define new_wxLayoutConstraints() (new wxLayoutConstraints()) | |
2385 | static PyObject *_wrap_new_wxLayoutConstraints(PyObject *self, PyObject *args) { | |
2386 | PyObject * _resultobj; | |
2387 | wxLayoutConstraints * _result; | |
2388 | char _ptemp[128]; | |
2389 | ||
2390 | self = self; | |
2391 | if(!PyArg_ParseTuple(args,":new_wxLayoutConstraints")) | |
2392 | return NULL; | |
2393 | _result = (wxLayoutConstraints *)new_wxLayoutConstraints(); | |
2394 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p"); | |
2395 | _resultobj = Py_BuildValue("s",_ptemp); | |
2396 | return _resultobj; | |
2397 | } | |
2398 | ||
2399 | #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom) | |
2400 | static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *self, PyObject *args) { | |
2401 | PyObject * _resultobj; | |
2402 | wxIndividualLayoutConstraint * _result; | |
2403 | wxLayoutConstraints * _arg0; | |
2404 | char * _argc0 = 0; | |
2405 | char _ptemp[128]; | |
2406 | ||
2407 | self = self; | |
2408 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_bottom_get",&_argc0)) | |
2409 | return NULL; | |
2410 | if (_argc0) { | |
2411 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p."); | |
2413 | return NULL; | |
2414 | } | |
2415 | } | |
2416 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_bottom_get(_arg0); | |
2417 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2418 | _resultobj = Py_BuildValue("s",_ptemp); | |
2419 | return _resultobj; | |
2420 | } | |
2421 | ||
2422 | #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX) | |
2423 | static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *self, PyObject *args) { | |
2424 | PyObject * _resultobj; | |
2425 | wxIndividualLayoutConstraint * _result; | |
2426 | wxLayoutConstraints * _arg0; | |
2427 | char * _argc0 = 0; | |
2428 | char _ptemp[128]; | |
2429 | ||
2430 | self = self; | |
2431 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_centreX_get",&_argc0)) | |
2432 | return NULL; | |
2433 | if (_argc0) { | |
2434 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p."); | |
2436 | return NULL; | |
2437 | } | |
2438 | } | |
2439 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreX_get(_arg0); | |
2440 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2441 | _resultobj = Py_BuildValue("s",_ptemp); | |
2442 | return _resultobj; | |
2443 | } | |
2444 | ||
2445 | #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY) | |
2446 | static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *self, PyObject *args) { | |
2447 | PyObject * _resultobj; | |
2448 | wxIndividualLayoutConstraint * _result; | |
2449 | wxLayoutConstraints * _arg0; | |
2450 | char * _argc0 = 0; | |
2451 | char _ptemp[128]; | |
2452 | ||
2453 | self = self; | |
2454 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_centreY_get",&_argc0)) | |
2455 | return NULL; | |
2456 | if (_argc0) { | |
2457 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2458 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p."); | |
2459 | return NULL; | |
2460 | } | |
2461 | } | |
2462 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreY_get(_arg0); | |
2463 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2464 | _resultobj = Py_BuildValue("s",_ptemp); | |
2465 | return _resultobj; | |
2466 | } | |
2467 | ||
2468 | #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height) | |
2469 | static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *self, PyObject *args) { | |
2470 | PyObject * _resultobj; | |
2471 | wxIndividualLayoutConstraint * _result; | |
2472 | wxLayoutConstraints * _arg0; | |
2473 | char * _argc0 = 0; | |
2474 | char _ptemp[128]; | |
2475 | ||
2476 | self = self; | |
2477 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_height_get",&_argc0)) | |
2478 | return NULL; | |
2479 | if (_argc0) { | |
2480 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p."); | |
2482 | return NULL; | |
2483 | } | |
2484 | } | |
2485 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_height_get(_arg0); | |
2486 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2487 | _resultobj = Py_BuildValue("s",_ptemp); | |
2488 | return _resultobj; | |
2489 | } | |
2490 | ||
2491 | #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left) | |
2492 | static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *self, PyObject *args) { | |
2493 | PyObject * _resultobj; | |
2494 | wxIndividualLayoutConstraint * _result; | |
2495 | wxLayoutConstraints * _arg0; | |
2496 | char * _argc0 = 0; | |
2497 | char _ptemp[128]; | |
2498 | ||
2499 | self = self; | |
2500 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_left_get",&_argc0)) | |
2501 | return NULL; | |
2502 | if (_argc0) { | |
2503 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p."); | |
2505 | return NULL; | |
2506 | } | |
2507 | } | |
2508 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_left_get(_arg0); | |
2509 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2510 | _resultobj = Py_BuildValue("s",_ptemp); | |
2511 | return _resultobj; | |
2512 | } | |
2513 | ||
2514 | #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right) | |
2515 | static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *self, PyObject *args) { | |
2516 | PyObject * _resultobj; | |
2517 | wxIndividualLayoutConstraint * _result; | |
2518 | wxLayoutConstraints * _arg0; | |
2519 | char * _argc0 = 0; | |
2520 | char _ptemp[128]; | |
2521 | ||
2522 | self = self; | |
2523 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_right_get",&_argc0)) | |
2524 | return NULL; | |
2525 | if (_argc0) { | |
2526 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2527 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p."); | |
2528 | return NULL; | |
2529 | } | |
2530 | } | |
2531 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_right_get(_arg0); | |
2532 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2533 | _resultobj = Py_BuildValue("s",_ptemp); | |
2534 | return _resultobj; | |
2535 | } | |
2536 | ||
2537 | #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top) | |
2538 | static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *self, PyObject *args) { | |
2539 | PyObject * _resultobj; | |
2540 | wxIndividualLayoutConstraint * _result; | |
2541 | wxLayoutConstraints * _arg0; | |
2542 | char * _argc0 = 0; | |
2543 | char _ptemp[128]; | |
2544 | ||
2545 | self = self; | |
2546 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_top_get",&_argc0)) | |
2547 | return NULL; | |
2548 | if (_argc0) { | |
2549 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p."); | |
2551 | return NULL; | |
2552 | } | |
2553 | } | |
2554 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_top_get(_arg0); | |
2555 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2556 | _resultobj = Py_BuildValue("s",_ptemp); | |
2557 | return _resultobj; | |
2558 | } | |
2559 | ||
2560 | #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width) | |
2561 | static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *self, PyObject *args) { | |
2562 | PyObject * _resultobj; | |
2563 | wxIndividualLayoutConstraint * _result; | |
2564 | wxLayoutConstraints * _arg0; | |
2565 | char * _argc0 = 0; | |
2566 | char _ptemp[128]; | |
2567 | ||
2568 | self = self; | |
2569 | if(!PyArg_ParseTuple(args,"s:wxLayoutConstraints_width_get",&_argc0)) | |
2570 | return NULL; | |
2571 | if (_argc0) { | |
2572 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
2573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p."); | |
2574 | return NULL; | |
2575 | } | |
2576 | } | |
2577 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_width_get(_arg0); | |
2578 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
2579 | _resultobj = Py_BuildValue("s",_ptemp); | |
2580 | return _resultobj; | |
2581 | } | |
2582 | ||
105e45b9 RD |
2583 | #define new_wxRegion() (new wxRegion()) |
2584 | static PyObject *_wrap_new_wxRegion(PyObject *self, PyObject *args) { | |
2585 | PyObject * _resultobj; | |
2586 | wxRegion * _result; | |
2587 | char _ptemp[128]; | |
2588 | ||
2589 | self = self; | |
2590 | if(!PyArg_ParseTuple(args,":new_wxRegion")) | |
2591 | return NULL; | |
2592 | _result = (wxRegion *)new_wxRegion(); | |
2593 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p"); | |
2594 | _resultobj = Py_BuildValue("s",_ptemp); | |
2595 | return _resultobj; | |
2596 | } | |
2597 | ||
2598 | #define delete_wxRegion(_swigobj) (delete _swigobj) | |
2599 | static PyObject *_wrap_delete_wxRegion(PyObject *self, PyObject *args) { | |
2600 | PyObject * _resultobj; | |
2601 | wxRegion * _arg0; | |
2602 | char * _argc0 = 0; | |
2603 | ||
2604 | self = self; | |
2605 | if(!PyArg_ParseTuple(args,"s:delete_wxRegion",&_argc0)) | |
2606 | return NULL; | |
2607 | if (_argc0) { | |
2608 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p."); | |
2610 | return NULL; | |
2611 | } | |
2612 | } | |
2613 | delete_wxRegion(_arg0); | |
2614 | Py_INCREF(Py_None); | |
2615 | _resultobj = Py_None; | |
2616 | return _resultobj; | |
2617 | } | |
2618 | ||
2619 | #define wxRegion_Clear(_swigobj) (_swigobj->Clear()) | |
2620 | static PyObject *_wrap_wxRegion_Clear(PyObject *self, PyObject *args) { | |
2621 | PyObject * _resultobj; | |
2622 | wxRegion * _arg0; | |
2623 | char * _argc0 = 0; | |
2624 | ||
2625 | self = self; | |
2626 | if(!PyArg_ParseTuple(args,"s:wxRegion_Clear",&_argc0)) | |
2627 | return NULL; | |
2628 | if (_argc0) { | |
2629 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p."); | |
2631 | return NULL; | |
2632 | } | |
2633 | } | |
2634 | wxRegion_Clear(_arg0); | |
2635 | Py_INCREF(Py_None); | |
2636 | _resultobj = Py_None; | |
2637 | return _resultobj; | |
2638 | } | |
2639 | ||
2640 | #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1)) | |
2641 | static PyObject *_wrap_wxRegion_Contains(PyObject *self, PyObject *args) { | |
2642 | PyObject * _resultobj; | |
2643 | wxRegionContain _result; | |
2644 | wxRegion * _arg0; | |
2645 | long _arg1; | |
2646 | long _arg2; | |
2647 | char * _argc0 = 0; | |
2648 | ||
2649 | self = self; | |
2650 | if(!PyArg_ParseTuple(args,"sll:wxRegion_Contains",&_argc0,&_arg1,&_arg2)) | |
2651 | return NULL; | |
2652 | if (_argc0) { | |
2653 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p."); | |
2655 | return NULL; | |
2656 | } | |
2657 | } | |
2658 | _result = (wxRegionContain )wxRegion_Contains(_arg0,_arg1,_arg2); | |
2659 | _resultobj = Py_BuildValue("i",_result); | |
2660 | return _resultobj; | |
2661 | } | |
2662 | ||
2663 | #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0)) | |
2664 | static PyObject *_wrap_wxRegion_ContainsPoint(PyObject *self, PyObject *args) { | |
2665 | PyObject * _resultobj; | |
2666 | wxRegionContain _result; | |
2667 | wxRegion * _arg0; | |
2668 | wxPoint * _arg1; | |
2669 | char * _argc0 = 0; | |
2670 | char * _argc1 = 0; | |
2671 | ||
2672 | self = self; | |
2673 | if(!PyArg_ParseTuple(args,"ss:wxRegion_ContainsPoint",&_argc0,&_argc1)) | |
2674 | return NULL; | |
2675 | if (_argc0) { | |
2676 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p."); | |
2678 | return NULL; | |
2679 | } | |
2680 | } | |
2681 | if (_argc1) { | |
2682 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
2683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p."); | |
2684 | return NULL; | |
2685 | } | |
2686 | } | |
2687 | _result = (wxRegionContain )wxRegion_ContainsPoint(_arg0,*_arg1); | |
2688 | _resultobj = Py_BuildValue("i",_result); | |
2689 | return _resultobj; | |
2690 | } | |
2691 | ||
2692 | #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0)) | |
2693 | static PyObject *_wrap_wxRegion_ContainsRect(PyObject *self, PyObject *args) { | |
2694 | PyObject * _resultobj; | |
2695 | wxRegionContain _result; | |
2696 | wxRegion * _arg0; | |
2697 | wxRect * _arg1; | |
2698 | char * _argc0 = 0; | |
2699 | char * _argc1 = 0; | |
2700 | ||
2701 | self = self; | |
2702 | if(!PyArg_ParseTuple(args,"ss:wxRegion_ContainsRect",&_argc0,&_argc1)) | |
2703 | return NULL; | |
2704 | if (_argc0) { | |
2705 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p."); | |
2707 | return NULL; | |
2708 | } | |
2709 | } | |
2710 | if (_argc1) { | |
2711 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) { | |
2712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p."); | |
2713 | return NULL; | |
2714 | } | |
2715 | } | |
2716 | _result = (wxRegionContain )wxRegion_ContainsRect(_arg0,*_arg1); | |
2717 | _resultobj = Py_BuildValue("i",_result); | |
2718 | return _resultobj; | |
2719 | } | |
2720 | ||
2721 | #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox()) | |
2722 | static PyObject *_wrap_wxRegion_GetBox(PyObject *self, PyObject *args) { | |
2723 | PyObject * _resultobj; | |
2724 | wxRect * _result; | |
2725 | wxRegion * _arg0; | |
2726 | char * _argc0 = 0; | |
2727 | char _ptemp[128]; | |
2728 | ||
2729 | self = self; | |
2730 | if(!PyArg_ParseTuple(args,"s:wxRegion_GetBox",&_argc0)) | |
2731 | return NULL; | |
2732 | if (_argc0) { | |
2733 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p."); | |
2735 | return NULL; | |
2736 | } | |
2737 | } | |
2738 | _result = new wxRect (wxRegion_GetBox(_arg0)); | |
2739 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); | |
2740 | _resultobj = Py_BuildValue("s",_ptemp); | |
2741 | return _resultobj; | |
2742 | } | |
2743 | ||
2744 | #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0)) | |
2745 | static PyObject *_wrap_wxRegion_Intersect(PyObject *self, PyObject *args) { | |
2746 | PyObject * _resultobj; | |
2747 | bool _result; | |
2748 | wxRegion * _arg0; | |
2749 | wxRect * _arg1; | |
2750 | char * _argc0 = 0; | |
2751 | char * _argc1 = 0; | |
2752 | ||
2753 | self = self; | |
2754 | if(!PyArg_ParseTuple(args,"ss:wxRegion_Intersect",&_argc0,&_argc1)) | |
2755 | return NULL; | |
2756 | if (_argc0) { | |
2757 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p."); | |
2759 | return NULL; | |
2760 | } | |
2761 | } | |
2762 | if (_argc1) { | |
2763 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) { | |
2764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p."); | |
2765 | return NULL; | |
2766 | } | |
2767 | } | |
2768 | _result = (bool )wxRegion_Intersect(_arg0,*_arg1); | |
2769 | _resultobj = Py_BuildValue("i",_result); | |
2770 | return _resultobj; | |
2771 | } | |
2772 | ||
2773 | #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0)) | |
2774 | static PyObject *_wrap_wxRegion_Subtract(PyObject *self, PyObject *args) { | |
2775 | PyObject * _resultobj; | |
2776 | bool _result; | |
2777 | wxRegion * _arg0; | |
2778 | wxRect * _arg1; | |
2779 | char * _argc0 = 0; | |
2780 | char * _argc1 = 0; | |
2781 | ||
2782 | self = self; | |
2783 | if(!PyArg_ParseTuple(args,"ss:wxRegion_Subtract",&_argc0,&_argc1)) | |
2784 | return NULL; | |
2785 | if (_argc0) { | |
2786 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p."); | |
2788 | return NULL; | |
2789 | } | |
2790 | } | |
2791 | if (_argc1) { | |
2792 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) { | |
2793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p."); | |
2794 | return NULL; | |
2795 | } | |
2796 | } | |
2797 | _result = (bool )wxRegion_Subtract(_arg0,*_arg1); | |
2798 | _resultobj = Py_BuildValue("i",_result); | |
2799 | return _resultobj; | |
2800 | } | |
2801 | ||
2802 | #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0)) | |
2803 | static PyObject *_wrap_wxRegion_Union(PyObject *self, PyObject *args) { | |
2804 | PyObject * _resultobj; | |
2805 | bool _result; | |
2806 | wxRegion * _arg0; | |
2807 | wxRect * _arg1; | |
2808 | char * _argc0 = 0; | |
2809 | char * _argc1 = 0; | |
2810 | ||
2811 | self = self; | |
2812 | if(!PyArg_ParseTuple(args,"ss:wxRegion_Union",&_argc0,&_argc1)) | |
2813 | return NULL; | |
2814 | if (_argc0) { | |
2815 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p."); | |
2817 | return NULL; | |
2818 | } | |
2819 | } | |
2820 | if (_argc1) { | |
2821 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) { | |
2822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p."); | |
2823 | return NULL; | |
2824 | } | |
2825 | } | |
2826 | _result = (bool )wxRegion_Union(_arg0,*_arg1); | |
2827 | _resultobj = Py_BuildValue("i",_result); | |
2828 | return _resultobj; | |
2829 | } | |
2830 | ||
2831 | #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0)) | |
2832 | static PyObject *_wrap_wxRegion_Xor(PyObject *self, PyObject *args) { | |
2833 | PyObject * _resultobj; | |
2834 | bool _result; | |
2835 | wxRegion * _arg0; | |
2836 | wxRect * _arg1; | |
2837 | char * _argc0 = 0; | |
2838 | char * _argc1 = 0; | |
2839 | ||
2840 | self = self; | |
2841 | if(!PyArg_ParseTuple(args,"ss:wxRegion_Xor",&_argc0,&_argc1)) | |
2842 | return NULL; | |
2843 | if (_argc0) { | |
2844 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p."); | |
2846 | return NULL; | |
2847 | } | |
2848 | } | |
2849 | if (_argc1) { | |
2850 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxRect_p")) { | |
2851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p."); | |
2852 | return NULL; | |
2853 | } | |
2854 | } | |
2855 | _result = (bool )wxRegion_Xor(_arg0,*_arg1); | |
2856 | _resultobj = Py_BuildValue("i",_result); | |
2857 | return _resultobj; | |
2858 | } | |
2859 | ||
2860 | #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0)) | |
2861 | static PyObject *_wrap_new_wxRegionIterator(PyObject *self, PyObject *args) { | |
2862 | PyObject * _resultobj; | |
2863 | wxRegionIterator * _result; | |
2864 | wxRegion * _arg0; | |
2865 | char * _argc0 = 0; | |
2866 | char _ptemp[128]; | |
2867 | ||
2868 | self = self; | |
2869 | if(!PyArg_ParseTuple(args,"s:new_wxRegionIterator",&_argc0)) | |
2870 | return NULL; | |
2871 | if (_argc0) { | |
2872 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegion_p")) { | |
2873 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p."); | |
2874 | return NULL; | |
2875 | } | |
2876 | } | |
2877 | _result = (wxRegionIterator *)new_wxRegionIterator(*_arg0); | |
2878 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegionIterator_p"); | |
2879 | _resultobj = Py_BuildValue("s",_ptemp); | |
2880 | return _resultobj; | |
2881 | } | |
2882 | ||
2883 | #define delete_wxRegionIterator(_swigobj) (delete _swigobj) | |
2884 | static PyObject *_wrap_delete_wxRegionIterator(PyObject *self, PyObject *args) { | |
2885 | PyObject * _resultobj; | |
2886 | wxRegionIterator * _arg0; | |
2887 | char * _argc0 = 0; | |
2888 | ||
2889 | self = self; | |
2890 | if(!PyArg_ParseTuple(args,"s:delete_wxRegionIterator",&_argc0)) | |
2891 | return NULL; | |
2892 | if (_argc0) { | |
2893 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p."); | |
2895 | return NULL; | |
2896 | } | |
2897 | } | |
2898 | delete_wxRegionIterator(_arg0); | |
2899 | Py_INCREF(Py_None); | |
2900 | _resultobj = Py_None; | |
2901 | return _resultobj; | |
2902 | } | |
2903 | ||
2904 | #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX()) | |
2905 | static PyObject *_wrap_wxRegionIterator_GetX(PyObject *self, PyObject *args) { | |
2906 | PyObject * _resultobj; | |
2907 | long _result; | |
2908 | wxRegionIterator * _arg0; | |
2909 | char * _argc0 = 0; | |
2910 | ||
2911 | self = self; | |
2912 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetX",&_argc0)) | |
2913 | return NULL; | |
2914 | if (_argc0) { | |
2915 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p."); | |
2917 | return NULL; | |
2918 | } | |
2919 | } | |
2920 | _result = (long )wxRegionIterator_GetX(_arg0); | |
2921 | _resultobj = Py_BuildValue("l",_result); | |
2922 | return _resultobj; | |
2923 | } | |
2924 | ||
2925 | #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY()) | |
2926 | static PyObject *_wrap_wxRegionIterator_GetY(PyObject *self, PyObject *args) { | |
2927 | PyObject * _resultobj; | |
2928 | long _result; | |
2929 | wxRegionIterator * _arg0; | |
2930 | char * _argc0 = 0; | |
2931 | ||
2932 | self = self; | |
2933 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetY",&_argc0)) | |
2934 | return NULL; | |
2935 | if (_argc0) { | |
2936 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2937 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p."); | |
2938 | return NULL; | |
2939 | } | |
2940 | } | |
2941 | _result = (long )wxRegionIterator_GetY(_arg0); | |
2942 | _resultobj = Py_BuildValue("l",_result); | |
2943 | return _resultobj; | |
2944 | } | |
2945 | ||
2946 | #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW()) | |
2947 | static PyObject *_wrap_wxRegionIterator_GetW(PyObject *self, PyObject *args) { | |
2948 | PyObject * _resultobj; | |
2949 | long _result; | |
2950 | wxRegionIterator * _arg0; | |
2951 | char * _argc0 = 0; | |
2952 | ||
2953 | self = self; | |
2954 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetW",&_argc0)) | |
2955 | return NULL; | |
2956 | if (_argc0) { | |
2957 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p."); | |
2959 | return NULL; | |
2960 | } | |
2961 | } | |
2962 | _result = (long )wxRegionIterator_GetW(_arg0); | |
2963 | _resultobj = Py_BuildValue("l",_result); | |
2964 | return _resultobj; | |
2965 | } | |
2966 | ||
2967 | #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
2968 | static PyObject *_wrap_wxRegionIterator_GetWidth(PyObject *self, PyObject *args) { | |
2969 | PyObject * _resultobj; | |
2970 | long _result; | |
2971 | wxRegionIterator * _arg0; | |
2972 | char * _argc0 = 0; | |
2973 | ||
2974 | self = self; | |
2975 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetWidth",&_argc0)) | |
2976 | return NULL; | |
2977 | if (_argc0) { | |
2978 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
2979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p."); | |
2980 | return NULL; | |
2981 | } | |
2982 | } | |
2983 | _result = (long )wxRegionIterator_GetWidth(_arg0); | |
2984 | _resultobj = Py_BuildValue("l",_result); | |
2985 | return _resultobj; | |
2986 | } | |
2987 | ||
2988 | #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH()) | |
2989 | static PyObject *_wrap_wxRegionIterator_GetH(PyObject *self, PyObject *args) { | |
2990 | PyObject * _resultobj; | |
2991 | long _result; | |
2992 | wxRegionIterator * _arg0; | |
2993 | char * _argc0 = 0; | |
2994 | ||
2995 | self = self; | |
2996 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetH",&_argc0)) | |
2997 | return NULL; | |
2998 | if (_argc0) { | |
2999 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3000 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p."); | |
3001 | return NULL; | |
3002 | } | |
3003 | } | |
3004 | _result = (long )wxRegionIterator_GetH(_arg0); | |
3005 | _resultobj = Py_BuildValue("l",_result); | |
3006 | return _resultobj; | |
3007 | } | |
3008 | ||
3009 | #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
3010 | static PyObject *_wrap_wxRegionIterator_GetHeight(PyObject *self, PyObject *args) { | |
3011 | PyObject * _resultobj; | |
3012 | long _result; | |
3013 | wxRegionIterator * _arg0; | |
3014 | char * _argc0 = 0; | |
3015 | ||
3016 | self = self; | |
3017 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetHeight",&_argc0)) | |
3018 | return NULL; | |
3019 | if (_argc0) { | |
3020 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3021 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p."); | |
3022 | return NULL; | |
3023 | } | |
3024 | } | |
3025 | _result = (long )wxRegionIterator_GetHeight(_arg0); | |
3026 | _resultobj = Py_BuildValue("l",_result); | |
3027 | return _resultobj; | |
3028 | } | |
3029 | ||
3030 | #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect()) | |
3031 | static PyObject *_wrap_wxRegionIterator_GetRect(PyObject *self, PyObject *args) { | |
3032 | PyObject * _resultobj; | |
3033 | wxRect * _result; | |
3034 | wxRegionIterator * _arg0; | |
3035 | char * _argc0 = 0; | |
3036 | char _ptemp[128]; | |
3037 | ||
3038 | self = self; | |
3039 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_GetRect",&_argc0)) | |
3040 | return NULL; | |
3041 | if (_argc0) { | |
3042 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p."); | |
3044 | return NULL; | |
3045 | } | |
3046 | } | |
3047 | _result = new wxRect (wxRegionIterator_GetRect(_arg0)); | |
3048 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); | |
3049 | _resultobj = Py_BuildValue("s",_ptemp); | |
3050 | return _resultobj; | |
3051 | } | |
3052 | ||
3053 | #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects()) | |
3054 | static PyObject *_wrap_wxRegionIterator_HaveRects(PyObject *self, PyObject *args) { | |
3055 | PyObject * _resultobj; | |
3056 | bool _result; | |
3057 | wxRegionIterator * _arg0; | |
3058 | char * _argc0 = 0; | |
3059 | ||
3060 | self = self; | |
3061 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_HaveRects",&_argc0)) | |
3062 | return NULL; | |
3063 | if (_argc0) { | |
3064 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p."); | |
3066 | return NULL; | |
3067 | } | |
3068 | } | |
3069 | _result = (bool )wxRegionIterator_HaveRects(_arg0); | |
3070 | _resultobj = Py_BuildValue("i",_result); | |
3071 | return _resultobj; | |
3072 | } | |
3073 | ||
3074 | #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset()) | |
3075 | static PyObject *_wrap_wxRegionIterator_Reset(PyObject *self, PyObject *args) { | |
3076 | PyObject * _resultobj; | |
3077 | wxRegionIterator * _arg0; | |
3078 | char * _argc0 = 0; | |
3079 | ||
3080 | self = self; | |
3081 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_Reset",&_argc0)) | |
3082 | return NULL; | |
3083 | if (_argc0) { | |
3084 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3085 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p."); | |
3086 | return NULL; | |
3087 | } | |
3088 | } | |
3089 | wxRegionIterator_Reset(_arg0); | |
3090 | Py_INCREF(Py_None); | |
3091 | _resultobj = Py_None; | |
3092 | return _resultobj; | |
3093 | } | |
3094 | ||
3095 | static void wxRegionIterator_Next(wxRegionIterator *self) { | |
3096 | (*self) ++; | |
3097 | } | |
3098 | static PyObject *_wrap_wxRegionIterator_Next(PyObject *self, PyObject *args) { | |
3099 | PyObject * _resultobj; | |
3100 | wxRegionIterator * _arg0; | |
3101 | char * _argc0 = 0; | |
3102 | ||
3103 | self = self; | |
3104 | if(!PyArg_ParseTuple(args,"s:wxRegionIterator_Next",&_argc0)) | |
3105 | return NULL; | |
3106 | if (_argc0) { | |
3107 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p."); | |
3109 | return NULL; | |
3110 | } | |
3111 | } | |
3112 | wxRegionIterator_Next(_arg0); | |
3113 | Py_INCREF(Py_None); | |
3114 | _resultobj = Py_None; | |
3115 | return _resultobj; | |
3116 | } | |
3117 | ||
faf3cb35 RD |
3118 | #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2)) |
3119 | static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *self, PyObject *args) { | |
3120 | PyObject * _resultobj; | |
3121 | wxAcceleratorEntry * _result; | |
3122 | int _arg0 = 0; | |
3123 | int _arg1 = 0; | |
3124 | int _arg2 = 0; | |
3125 | char _ptemp[128]; | |
3126 | ||
3127 | self = self; | |
3128 | if(!PyArg_ParseTuple(args,"|iii:new_wxAcceleratorEntry",&_arg0,&_arg1,&_arg2)) | |
3129 | return NULL; | |
3130 | _result = (wxAcceleratorEntry *)new_wxAcceleratorEntry(_arg0,_arg1,_arg2); | |
3131 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p"); | |
3132 | _resultobj = Py_BuildValue("s",_ptemp); | |
3133 | return _resultobj; | |
3134 | } | |
3135 | ||
3136 | #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2)) | |
3137 | static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *self, PyObject *args) { | |
3138 | PyObject * _resultobj; | |
3139 | wxAcceleratorEntry * _arg0; | |
3140 | int _arg1; | |
3141 | int _arg2; | |
3142 | int _arg3; | |
3143 | char * _argc0 = 0; | |
3144 | ||
3145 | self = self; | |
3146 | if(!PyArg_ParseTuple(args,"siii:wxAcceleratorEntry_Set",&_argc0,&_arg1,&_arg2,&_arg3)) | |
3147 | return NULL; | |
3148 | if (_argc0) { | |
3149 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
3150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p."); | |
3151 | return NULL; | |
3152 | } | |
3153 | } | |
3154 | wxAcceleratorEntry_Set(_arg0,_arg1,_arg2,_arg3); | |
3155 | Py_INCREF(Py_None); | |
3156 | _resultobj = Py_None; | |
3157 | return _resultobj; | |
3158 | } | |
3159 | ||
3160 | #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags()) | |
3161 | static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *self, PyObject *args) { | |
3162 | PyObject * _resultobj; | |
3163 | int _result; | |
3164 | wxAcceleratorEntry * _arg0; | |
3165 | char * _argc0 = 0; | |
3166 | ||
3167 | self = self; | |
3168 | if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetFlags",&_argc0)) | |
3169 | return NULL; | |
3170 | if (_argc0) { | |
3171 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
3172 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p."); | |
3173 | return NULL; | |
3174 | } | |
3175 | } | |
3176 | _result = (int )wxAcceleratorEntry_GetFlags(_arg0); | |
3177 | _resultobj = Py_BuildValue("i",_result); | |
3178 | return _resultobj; | |
3179 | } | |
3180 | ||
3181 | #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode()) | |
3182 | static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args) { | |
3183 | PyObject * _resultobj; | |
3184 | int _result; | |
3185 | wxAcceleratorEntry * _arg0; | |
3186 | char * _argc0 = 0; | |
3187 | ||
3188 | self = self; | |
3189 | if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetKeyCode",&_argc0)) | |
3190 | return NULL; | |
3191 | if (_argc0) { | |
3192 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
3193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p."); | |
3194 | return NULL; | |
3195 | } | |
3196 | } | |
3197 | _result = (int )wxAcceleratorEntry_GetKeyCode(_arg0); | |
3198 | _resultobj = Py_BuildValue("i",_result); | |
3199 | return _resultobj; | |
3200 | } | |
3201 | ||
3202 | #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand()) | |
3203 | static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *self, PyObject *args) { | |
3204 | PyObject * _resultobj; | |
3205 | int _result; | |
3206 | wxAcceleratorEntry * _arg0; | |
3207 | char * _argc0 = 0; | |
3208 | ||
3209 | self = self; | |
3210 | if(!PyArg_ParseTuple(args,"s:wxAcceleratorEntry_GetCommand",&_argc0)) | |
3211 | return NULL; | |
3212 | if (_argc0) { | |
3213 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
3214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p."); | |
3215 | return NULL; | |
3216 | } | |
3217 | } | |
3218 | _result = (int )wxAcceleratorEntry_GetCommand(_arg0); | |
3219 | _resultobj = Py_BuildValue("i",_result); | |
3220 | return _resultobj; | |
3221 | } | |
3222 | ||
3223 | #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1)) | |
3224 | static PyObject *_wrap_new_wxAcceleratorTable(PyObject *self, PyObject *args) { | |
3225 | PyObject * _resultobj; | |
3226 | wxAcceleratorTable * _result; | |
3227 | int _arg0; | |
3228 | wxAcceleratorEntry * _arg1; | |
3229 | PyObject * _obj1 = 0; | |
3230 | char _ptemp[128]; | |
3231 | ||
3232 | self = self; | |
3233 | if(!PyArg_ParseTuple(args,"O:new_wxAcceleratorTable",&_obj1)) | |
3234 | return NULL; | |
3235 | if (_obj1) | |
3236 | { | |
3237 | _arg1 = wxAcceleratorEntry_LIST_helper(_obj1); | |
3238 | if (_arg1 == NULL) { | |
3239 | return NULL; | |
3240 | } | |
3241 | } | |
3242 | { | |
3243 | _arg0 = PyList_Size(_obj1); | |
3244 | } | |
3245 | _result = (wxAcceleratorTable *)new_wxAcceleratorTable(_arg0,_arg1); | |
3246 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p"); | |
3247 | _resultobj = Py_BuildValue("s",_ptemp); | |
3248 | { | |
3249 | delete [] _arg1; | |
3250 | } | |
3251 | return _resultobj; | |
3252 | } | |
3253 | ||
21f8d7ea RD |
3254 | #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0)) |
3255 | static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args) { | |
3256 | PyObject * _resultobj; | |
3257 | wxToolTip * _result; | |
3258 | wxString * _arg0; | |
3259 | PyObject * _obj0 = 0; | |
3260 | char _ptemp[128]; | |
3261 | ||
3262 | self = self; | |
3263 | if(!PyArg_ParseTuple(args,"O:new_wxToolTip",&_obj0)) | |
3264 | return NULL; | |
3265 | { | |
3266 | if (!PyString_Check(_obj0)) { | |
3267 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3268 | return NULL; | |
3269 | } | |
3270 | _arg0 = new wxString(PyString_AsString(_obj0)); | |
3271 | } | |
3272 | _result = (wxToolTip *)new_wxToolTip(*_arg0); | |
3273 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p"); | |
3274 | _resultobj = Py_BuildValue("s",_ptemp); | |
3275 | { | |
3276 | if (_obj0) | |
3277 | delete _arg0; | |
3278 | } | |
3279 | return _resultobj; | |
3280 | } | |
3281 | ||
3282 | #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0)) | |
3283 | static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args) { | |
3284 | PyObject * _resultobj; | |
3285 | wxToolTip * _arg0; | |
3286 | wxString * _arg1; | |
3287 | char * _argc0 = 0; | |
3288 | PyObject * _obj1 = 0; | |
3289 | ||
3290 | self = self; | |
3291 | if(!PyArg_ParseTuple(args,"sO:wxToolTip_SetTip",&_argc0,&_obj1)) | |
3292 | return NULL; | |
3293 | if (_argc0) { | |
3294 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) { | |
3295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p."); | |
3296 | return NULL; | |
3297 | } | |
3298 | } | |
3299 | { | |
3300 | if (!PyString_Check(_obj1)) { | |
3301 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3302 | return NULL; | |
3303 | } | |
3304 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
3305 | } | |
3306 | wxToolTip_SetTip(_arg0,*_arg1); | |
3307 | Py_INCREF(Py_None); | |
3308 | _resultobj = Py_None; | |
3309 | { | |
3310 | if (_obj1) | |
3311 | delete _arg1; | |
3312 | } | |
3313 | return _resultobj; | |
3314 | } | |
3315 | ||
3316 | #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip()) | |
3317 | static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args) { | |
3318 | PyObject * _resultobj; | |
3319 | wxString * _result; | |
3320 | wxToolTip * _arg0; | |
3321 | char * _argc0 = 0; | |
3322 | ||
3323 | self = self; | |
3324 | if(!PyArg_ParseTuple(args,"s:wxToolTip_GetTip",&_argc0)) | |
3325 | return NULL; | |
3326 | if (_argc0) { | |
3327 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) { | |
3328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p."); | |
3329 | return NULL; | |
3330 | } | |
3331 | } | |
3332 | _result = new wxString (wxToolTip_GetTip(_arg0)); | |
3333 | { | |
3334 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
3335 | } | |
3336 | { | |
3337 | delete _result; | |
3338 | } | |
3339 | return _resultobj; | |
3340 | } | |
3341 | ||
3342 | #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow()) | |
3343 | static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args) { | |
3344 | PyObject * _resultobj; | |
3345 | wxWindow * _result; | |
3346 | wxToolTip * _arg0; | |
3347 | char * _argc0 = 0; | |
3348 | char _ptemp[128]; | |
3349 | ||
3350 | self = self; | |
3351 | if(!PyArg_ParseTuple(args,"s:wxToolTip_GetWindow",&_argc0)) | |
3352 | return NULL; | |
3353 | if (_argc0) { | |
3354 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxToolTip_p")) { | |
3355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p."); | |
3356 | return NULL; | |
3357 | } | |
3358 | } | |
3359 | _result = (wxWindow *)wxToolTip_GetWindow(_arg0); | |
3360 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
3361 | _resultobj = Py_BuildValue("s",_ptemp); | |
3362 | return _resultobj; | |
3363 | } | |
3364 | ||
70551f47 | 3365 | static PyMethodDef misccMethods[] = { |
21f8d7ea RD |
3366 | { "wxToolTip_GetWindow", _wrap_wxToolTip_GetWindow, 1 }, |
3367 | { "wxToolTip_GetTip", _wrap_wxToolTip_GetTip, 1 }, | |
3368 | { "wxToolTip_SetTip", _wrap_wxToolTip_SetTip, 1 }, | |
3369 | { "new_wxToolTip", _wrap_new_wxToolTip, 1 }, | |
faf3cb35 RD |
3370 | { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable, 1 }, |
3371 | { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand, 1 }, | |
3372 | { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode, 1 }, | |
3373 | { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags, 1 }, | |
3374 | { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set, 1 }, | |
3375 | { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry, 1 }, | |
105e45b9 RD |
3376 | { "wxRegionIterator_Next", _wrap_wxRegionIterator_Next, 1 }, |
3377 | { "wxRegionIterator_Reset", _wrap_wxRegionIterator_Reset, 1 }, | |
3378 | { "wxRegionIterator_HaveRects", _wrap_wxRegionIterator_HaveRects, 1 }, | |
3379 | { "wxRegionIterator_GetRect", _wrap_wxRegionIterator_GetRect, 1 }, | |
3380 | { "wxRegionIterator_GetHeight", _wrap_wxRegionIterator_GetHeight, 1 }, | |
3381 | { "wxRegionIterator_GetH", _wrap_wxRegionIterator_GetH, 1 }, | |
3382 | { "wxRegionIterator_GetWidth", _wrap_wxRegionIterator_GetWidth, 1 }, | |
3383 | { "wxRegionIterator_GetW", _wrap_wxRegionIterator_GetW, 1 }, | |
3384 | { "wxRegionIterator_GetY", _wrap_wxRegionIterator_GetY, 1 }, | |
3385 | { "wxRegionIterator_GetX", _wrap_wxRegionIterator_GetX, 1 }, | |
3386 | { "delete_wxRegionIterator", _wrap_delete_wxRegionIterator, 1 }, | |
3387 | { "new_wxRegionIterator", _wrap_new_wxRegionIterator, 1 }, | |
3388 | { "wxRegion_Xor", _wrap_wxRegion_Xor, 1 }, | |
3389 | { "wxRegion_Union", _wrap_wxRegion_Union, 1 }, | |
3390 | { "wxRegion_Subtract", _wrap_wxRegion_Subtract, 1 }, | |
3391 | { "wxRegion_Intersect", _wrap_wxRegion_Intersect, 1 }, | |
3392 | { "wxRegion_GetBox", _wrap_wxRegion_GetBox, 1 }, | |
3393 | { "wxRegion_ContainsRect", _wrap_wxRegion_ContainsRect, 1 }, | |
3394 | { "wxRegion_ContainsPoint", _wrap_wxRegion_ContainsPoint, 1 }, | |
3395 | { "wxRegion_Contains", _wrap_wxRegion_Contains, 1 }, | |
3396 | { "wxRegion_Clear", _wrap_wxRegion_Clear, 1 }, | |
3397 | { "delete_wxRegion", _wrap_delete_wxRegion, 1 }, | |
3398 | { "new_wxRegion", _wrap_new_wxRegion, 1 }, | |
70551f47 RD |
3399 | { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get, 1 }, |
3400 | { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get, 1 }, | |
3401 | { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get, 1 }, | |
3402 | { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get, 1 }, | |
3403 | { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get, 1 }, | |
3404 | { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get, 1 }, | |
3405 | { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get, 1 }, | |
3406 | { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get, 1 }, | |
3407 | { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints, 1 }, | |
3408 | { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set, 1 }, | |
3409 | { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs, 1 }, | |
3410 | { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf, 1 }, | |
3411 | { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf, 1 }, | |
3412 | { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf, 1 }, | |
3413 | { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained, 1 }, | |
3414 | { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below, 1 }, | |
3415 | { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs, 1 }, | |
3416 | { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute, 1 }, | |
3417 | { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above, 1 }, | |
3418 | { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop, 1 }, | |
3419 | { "wxPyTimer_Start", _wrap_wxPyTimer_Start, 1 }, | |
3420 | { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval, 1 }, | |
3421 | { "delete_wxPyTimer", _wrap_delete_wxPyTimer, 1 }, | |
3422 | { "new_wxPyTimer", _wrap_new_wxPyTimer, 1 }, | |
21f8d7ea | 3423 | { "wxRect_asTuple", _wrap_wxRect_asTuple, 1 }, |
70551f47 RD |
3424 | { "wxRect_height_get", _wrap_wxRect_height_get, 1 }, |
3425 | { "wxRect_height_set", _wrap_wxRect_height_set, 1 }, | |
3426 | { "wxRect_width_get", _wrap_wxRect_width_get, 1 }, | |
3427 | { "wxRect_width_set", _wrap_wxRect_width_set, 1 }, | |
3428 | { "wxRect_y_get", _wrap_wxRect_y_get, 1 }, | |
3429 | { "wxRect_y_set", _wrap_wxRect_y_set, 1 }, | |
3430 | { "wxRect_x_get", _wrap_wxRect_x_get, 1 }, | |
3431 | { "wxRect_x_set", _wrap_wxRect_x_set, 1 }, | |
3432 | { "wxRect_GetRight", _wrap_wxRect_GetRight, 1 }, | |
3433 | { "wxRect_GetBottom", _wrap_wxRect_GetBottom, 1 }, | |
3434 | { "wxRect_GetTop", _wrap_wxRect_GetTop, 1 }, | |
3435 | { "wxRect_GetLeft", _wrap_wxRect_GetLeft, 1 }, | |
3436 | { "wxRect_GetSize", _wrap_wxRect_GetSize, 1 }, | |
3437 | { "wxRect_GetPosition", _wrap_wxRect_GetPosition, 1 }, | |
3438 | { "wxRect_SetHeight", _wrap_wxRect_SetHeight, 1 }, | |
3439 | { "wxRect_GetHeight", _wrap_wxRect_GetHeight, 1 }, | |
3440 | { "wxRect_SetWidth", _wrap_wxRect_SetWidth, 1 }, | |
3441 | { "wxRect_GetWidth", _wrap_wxRect_GetWidth, 1 }, | |
3442 | { "wxRect_SetY", _wrap_wxRect_SetY, 1 }, | |
3443 | { "wxRect_GetY", _wrap_wxRect_GetY, 1 }, | |
3444 | { "wxRect_SetX", _wrap_wxRect_SetX, 1 }, | |
3445 | { "wxRect_GetX", _wrap_wxRect_GetX, 1 }, | |
3446 | { "delete_wxRect", _wrap_delete_wxRect, 1 }, | |
3447 | { "new_wxRect", _wrap_new_wxRect, 1 }, | |
21f8d7ea | 3448 | { "wxPoint_asTuple", _wrap_wxPoint_asTuple, 1 }, |
70551f47 RD |
3449 | { "wxPoint_Set", _wrap_wxPoint_Set, 1 }, |
3450 | { "delete_wxPoint", _wrap_delete_wxPoint, 1 }, | |
3451 | { "new_wxPoint", _wrap_new_wxPoint, 1 }, | |
3452 | { "wxPoint_y_get", _wrap_wxPoint_y_get, 1 }, | |
3453 | { "wxPoint_y_set", _wrap_wxPoint_y_set, 1 }, | |
3454 | { "wxPoint_x_get", _wrap_wxPoint_x_get, 1 }, | |
3455 | { "wxPoint_x_set", _wrap_wxPoint_x_set, 1 }, | |
3456 | { "delete_wxRealPoint", _wrap_delete_wxRealPoint, 1 }, | |
3457 | { "new_wxRealPoint", _wrap_new_wxRealPoint, 1 }, | |
3458 | { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get, 1 }, | |
3459 | { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set, 1 }, | |
3460 | { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get, 1 }, | |
3461 | { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set, 1 }, | |
21f8d7ea RD |
3462 | { "wxSize_asTuple", _wrap_wxSize_asTuple, 1 }, |
3463 | { "wxSize_GetHeight", _wrap_wxSize_GetY, 1 }, | |
3464 | { "wxSize_GetWidth", _wrap_wxSize_GetX, 1 }, | |
3465 | { "wxSize_GetY", _wrap_wxSize_GetY, 1 }, | |
3466 | { "wxSize_GetX", _wrap_wxSize_GetX, 1 }, | |
70551f47 RD |
3467 | { "wxSize_Set", _wrap_wxSize_Set, 1 }, |
3468 | { "delete_wxSize", _wrap_delete_wxSize, 1 }, | |
3469 | { "new_wxSize", _wrap_new_wxSize, 1 }, | |
21f8d7ea RD |
3470 | { "wxSize_height_get", _wrap_wxSize_y_get, 1 }, |
3471 | { "wxSize_height_set", _wrap_wxSize_y_set, 1 }, | |
3472 | { "wxSize_width_get", _wrap_wxSize_x_get, 1 }, | |
3473 | { "wxSize_width_set", _wrap_wxSize_x_set, 1 }, | |
3474 | { "wxSize_y_get", _wrap_wxSize_y_get, 1 }, | |
3475 | { "wxSize_y_set", _wrap_wxSize_y_set, 1 }, | |
3476 | { "wxSize_x_get", _wrap_wxSize_x_get, 1 }, | |
3477 | { "wxSize_x_set", _wrap_wxSize_x_set, 1 }, | |
3478 | { "wxToolTip_SetDelay", _wrap_wxToolTip_SetDelay, 1 }, | |
3479 | { "wxToolTip_Enable", _wrap_wxToolTip_Enable, 1 }, | |
70551f47 RD |
3480 | { "wxResourceParseString", _wrap_wxResourceParseString, 1 }, |
3481 | { "wxResourceParseFile", _wrap_wxResourceParseFile, 1 }, | |
3482 | { "wxResourceParseData", _wrap_wxResourceParseData, 1 }, | |
3483 | { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier, 1 }, | |
3484 | { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar, 1 }, | |
3485 | { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon, 1 }, | |
3486 | { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap, 1 }, | |
3487 | { "wxResourceClear", _wrap_wxResourceClear, 1 }, | |
3488 | { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier, 1 }, | |
3489 | { "wxGetResource", _wrap_wxGetResource, 1 }, | |
3490 | { "wxYield", _wrap_wxYield, 1 }, | |
3491 | { "wxNow", _wrap_wxNow, 1 }, | |
3492 | { "wxIsBusy", _wrap_wxIsBusy, 1 }, | |
3493 | { "wxGetMousePosition", _wrap_wxGetMousePosition, 1 }, | |
3494 | { "wxFindWindowByName", _wrap_wxFindWindowByName, 1 }, | |
3495 | { "wxFindWindowByLabel", _wrap_wxFindWindowByLabel, 1 }, | |
3496 | { "wxExecute", _wrap_wxExecute, 1 }, | |
3497 | { "wxEndBusyCursor", _wrap_wxEndBusyCursor, 1 }, | |
3498 | { "wxDisplaySize", _wrap_wxDisplaySize, 1 }, | |
3499 | { "wxBell", _wrap_wxBell, 1 }, | |
3500 | { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor, 1 }, | |
3501 | { "RegisterId", _wrap_RegisterId, 1 }, | |
3502 | { "NewId", _wrap_NewId, 1 }, | |
3503 | { "wxSetCursor", _wrap_wxSetCursor, 1 }, | |
3504 | { "wxDisplayDepth", _wrap_wxDisplayDepth, 1 }, | |
3505 | { "wxColourDisplay", _wrap_wxColourDisplay, 1 }, | |
3506 | { "wxMessageBox", _wrap_wxMessageBox, 1 }, | |
3507 | { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex, 1 }, | |
3508 | { "wxGetSingleChoice", _wrap_wxGetSingleChoice, 1 }, | |
3509 | { "wxGetTextFromUser", _wrap_wxGetTextFromUser, 1 }, | |
3510 | { "wxFileSelector", _wrap_wxFileSelector, 1 }, | |
3511 | { NULL, NULL } | |
3512 | }; | |
3513 | static PyObject *SWIG_globals; | |
3514 | #ifdef __cplusplus | |
3515 | extern "C" | |
3516 | #endif | |
3517 | SWIGEXPORT(void,initmiscc)() { | |
3518 | PyObject *m, *d; | |
3519 | SWIG_globals = SWIG_newvarlink(); | |
3520 | m = Py_InitModule("miscc", misccMethods); | |
3521 | d = PyModule_GetDict(m); | |
3522 | PyDict_SetItemString(d,"wxLeft", PyInt_FromLong((long) wxLeft)); | |
3523 | PyDict_SetItemString(d,"wxTop", PyInt_FromLong((long) wxTop)); | |
3524 | PyDict_SetItemString(d,"wxRight", PyInt_FromLong((long) wxRight)); | |
3525 | PyDict_SetItemString(d,"wxBottom", PyInt_FromLong((long) wxBottom)); | |
3526 | PyDict_SetItemString(d,"wxWidth", PyInt_FromLong((long) wxWidth)); | |
3527 | PyDict_SetItemString(d,"wxHeight", PyInt_FromLong((long) wxHeight)); | |
3528 | PyDict_SetItemString(d,"wxCentre", PyInt_FromLong((long) wxCentre)); | |
3529 | PyDict_SetItemString(d,"wxCenter", PyInt_FromLong((long) wxCenter)); | |
3530 | PyDict_SetItemString(d,"wxCentreX", PyInt_FromLong((long) wxCentreX)); | |
3531 | PyDict_SetItemString(d,"wxCentreY", PyInt_FromLong((long) wxCentreY)); | |
3532 | PyDict_SetItemString(d,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained)); | |
3533 | PyDict_SetItemString(d,"wxAsIs", PyInt_FromLong((long) wxAsIs)); | |
3534 | PyDict_SetItemString(d,"wxPercentOf", PyInt_FromLong((long) wxPercentOf)); | |
3535 | PyDict_SetItemString(d,"wxAbove", PyInt_FromLong((long) wxAbove)); | |
3536 | PyDict_SetItemString(d,"wxBelow", PyInt_FromLong((long) wxBelow)); | |
3537 | PyDict_SetItemString(d,"wxLeftOf", PyInt_FromLong((long) wxLeftOf)); | |
3538 | PyDict_SetItemString(d,"wxRightOf", PyInt_FromLong((long) wxRightOf)); | |
3539 | PyDict_SetItemString(d,"wxSameAs", PyInt_FromLong((long) wxSameAs)); | |
3540 | PyDict_SetItemString(d,"wxAbsolute", PyInt_FromLong((long) wxAbsolute)); | |
105e45b9 RD |
3541 | PyDict_SetItemString(d,"wxOutRegion", PyInt_FromLong((long) wxOutRegion)); |
3542 | PyDict_SetItemString(d,"wxPartRegion", PyInt_FromLong((long) wxPartRegion)); | |
3543 | PyDict_SetItemString(d,"wxInRegion", PyInt_FromLong((long) wxInRegion)); | |
70551f47 RD |
3544 | /* |
3545 | * These are the pointer type-equivalency mappings. | |
3546 | * (Used by the SWIG pointer type-checker). | |
3547 | */ | |
faf3cb35 | 3548 | SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0); |
70551f47 | 3549 | SWIG_RegisterMapping("_signed_long","_long",0); |
105e45b9 | 3550 | SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0); |
70551f47 | 3551 | SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0); |
21f8d7ea | 3552 | SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0); |
70551f47 RD |
3553 | SWIG_RegisterMapping("_byte","_unsigned_char",0); |
3554 | SWIG_RegisterMapping("_long","_unsigned_long",0); | |
3555 | SWIG_RegisterMapping("_long","_signed_long",0); | |
faf3cb35 | 3556 | SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0); |
70551f47 | 3557 | SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0); |
21f8d7ea | 3558 | SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0); |
70551f47 RD |
3559 | SWIG_RegisterMapping("_uint","_unsigned_int",0); |
3560 | SWIG_RegisterMapping("_uint","_int",0); | |
3561 | SWIG_RegisterMapping("_uint","_wxWindowID",0); | |
3562 | SWIG_RegisterMapping("_wxRect","_class_wxRect",0); | |
3563 | SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0); | |
3564 | SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0); | |
3565 | SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0); | |
3566 | SWIG_RegisterMapping("_EBool","_signed_int",0); | |
3567 | SWIG_RegisterMapping("_EBool","_int",0); | |
3568 | SWIG_RegisterMapping("_EBool","_wxWindowID",0); | |
105e45b9 | 3569 | SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0); |
70551f47 RD |
3570 | SWIG_RegisterMapping("_unsigned_long","_long",0); |
3571 | SWIG_RegisterMapping("_class_wxRect","_wxRect",0); | |
3572 | SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0); | |
faf3cb35 | 3573 | SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0); |
70551f47 RD |
3574 | SWIG_RegisterMapping("_signed_int","_EBool",0); |
3575 | SWIG_RegisterMapping("_signed_int","_wxWindowID",0); | |
3576 | SWIG_RegisterMapping("_signed_int","_int",0); | |
3577 | SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0); | |
3578 | SWIG_RegisterMapping("_WXTYPE","_short",0); | |
3579 | SWIG_RegisterMapping("_WXTYPE","_signed_short",0); | |
3580 | SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0); | |
3581 | SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0); | |
3582 | SWIG_RegisterMapping("_unsigned_short","_short",0); | |
3583 | SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0); | |
3584 | SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0); | |
3585 | SWIG_RegisterMapping("_signed_short","_WXTYPE",0); | |
3586 | SWIG_RegisterMapping("_signed_short","_short",0); | |
faf3cb35 | 3587 | SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0); |
70551f47 RD |
3588 | SWIG_RegisterMapping("_unsigned_char","_byte",0); |
3589 | SWIG_RegisterMapping("_unsigned_int","_uint",0); | |
3590 | SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0); | |
3591 | SWIG_RegisterMapping("_unsigned_int","_int",0); | |
3592 | SWIG_RegisterMapping("_short","_WXTYPE",0); | |
3593 | SWIG_RegisterMapping("_short","_unsigned_short",0); | |
3594 | SWIG_RegisterMapping("_short","_signed_short",0); | |
3595 | SWIG_RegisterMapping("_wxWindowID","_EBool",0); | |
3596 | SWIG_RegisterMapping("_wxWindowID","_uint",0); | |
3597 | SWIG_RegisterMapping("_wxWindowID","_int",0); | |
3598 | SWIG_RegisterMapping("_wxWindowID","_signed_int",0); | |
3599 | SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0); | |
3600 | SWIG_RegisterMapping("_int","_EBool",0); | |
3601 | SWIG_RegisterMapping("_int","_uint",0); | |
3602 | SWIG_RegisterMapping("_int","_wxWindowID",0); | |
3603 | SWIG_RegisterMapping("_int","_unsigned_int",0); | |
3604 | SWIG_RegisterMapping("_int","_signed_int",0); | |
3605 | SWIG_RegisterMapping("_wxSize","_class_wxSize",0); | |
105e45b9 | 3606 | SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0); |
70551f47 | 3607 | SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0); |
105e45b9 | 3608 | SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0); |
70551f47 RD |
3609 | SWIG_RegisterMapping("_class_wxSize","_wxSize",0); |
3610 | } |