]>
Commit | Line | Data |
---|---|---|
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 6) | |
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) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a) a _export | |
31 | # else | |
32 | # define SWIGEXPORT(a) a | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a) a | |
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 char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
52 | #define SWIG_init initmiscc | |
53 | ||
54 | #define SWIG_name "miscc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/resource.h> | |
58 | #include <wx/tooltip.h> | |
59 | ||
60 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
61 | PyObject* o2; | |
62 | PyObject* o3; | |
63 | if (!target) { | |
64 | target = o; | |
65 | } else if (target == Py_None) { | |
66 | Py_DECREF(Py_None); | |
67 | target = o; | |
68 | } else { | |
69 | if (!PyList_Check(target)) { | |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
85 | if (!target) { | |
86 | target = o; | |
87 | } else if (target == Py_None) { | |
88 | Py_DECREF(Py_None); | |
89 | target = o; | |
90 | } else { | |
91 | if (!PyTuple_Check(target)) { | |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
96 | o3 = PyTuple_New(1); | |
97 | PyTuple_SetItem(o3, 0, o); | |
98 | ||
99 | o2 = target; | |
100 | target = PySequence_Concat(o2, o3); | |
101 | Py_DECREF(o2); | |
102 | Py_DECREF(o3); | |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
107 | ||
108 | extern byte* byte_LIST_helper(PyObject* source); | |
109 | extern int* int_LIST_helper(PyObject* source); | |
110 | extern long* long_LIST_helper(PyObject* source); | |
111 | extern char** string_LIST_helper(PyObject* source); | |
112 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
113 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
114 | extern wxString* wxString_LIST_helper(PyObject* source); | |
115 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); | |
116 | ||
117 | ||
118 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
119 | ||
120 | char* wxGetResource(char *section, char *entry, char *file = NULL) { | |
121 | char * retval; | |
122 | wxGetResource(section, entry, &retval, file); | |
123 | return retval; | |
124 | } | |
125 | ||
126 | ||
127 | wxColour wxSystemSettings_GetSystemColour(int index) { | |
128 | return wxSystemSettings::GetSystemColour(index); | |
129 | } | |
130 | ||
131 | wxFont wxSystemSettings_GetSystemFont(int index) { | |
132 | return wxSystemSettings::GetSystemFont(index); | |
133 | } | |
134 | ||
135 | int wxSystemSettings_GetSystemMetric(int index) { | |
136 | return wxSystemSettings::GetSystemMetric(index); | |
137 | } | |
138 | #ifdef __cplusplus | |
139 | extern "C" { | |
140 | #endif | |
141 | static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args) { | |
142 | PyObject * _resultobj; | |
143 | wxString * _result; | |
144 | char * _arg0; | |
145 | char * _arg1 = (char *) NULL; | |
146 | char * _arg2 = (char *) NULL; | |
147 | char * _arg3 = (char *) NULL; | |
148 | char * _arg4 = (char *) "*.*"; | |
149 | int _arg5 = (int ) 0; | |
150 | wxWindow * _arg6 = (wxWindow *) NULL; | |
151 | int _arg7 = (int ) -1; | |
152 | int _arg8 = (int ) -1; | |
153 | PyObject * _argo6 = 0; | |
154 | ||
155 | self = self; | |
156 | if(!PyArg_ParseTuple(args,"s|ssssiOii:wxFileSelector",&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6,&_arg7,&_arg8)) | |
157 | return NULL; | |
158 | if (_argo6) { | |
159 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
160 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) { | |
161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p."); | |
162 | return NULL; | |
163 | } | |
164 | } | |
165 | { | |
166 | wxPy_BEGIN_ALLOW_THREADS; | |
167 | _result = new wxString (wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8)); | |
168 | ||
169 | wxPy_END_ALLOW_THREADS; | |
170 | }{ | |
171 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
172 | } | |
173 | { | |
174 | delete _result; | |
175 | } | |
176 | return _resultobj; | |
177 | } | |
178 | ||
179 | static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args) { | |
180 | PyObject * _resultobj; | |
181 | wxString * _result; | |
182 | wxString * _arg0; | |
183 | wxString * _arg1 = (wxString *) &wxPyEmptyStr; | |
184 | wxString * _arg2 = (wxString *) &wxPyEmptyStr; | |
185 | wxWindow * _arg3 = (wxWindow *) NULL; | |
186 | int _arg4 = (int ) -1; | |
187 | int _arg5 = (int ) -1; | |
188 | bool _arg6 = (bool ) TRUE; | |
189 | PyObject * _obj0 = 0; | |
190 | PyObject * _obj1 = 0; | |
191 | PyObject * _obj2 = 0; | |
192 | PyObject * _argo3 = 0; | |
193 | int tempbool6 = (int) TRUE; | |
194 | ||
195 | self = self; | |
196 | if(!PyArg_ParseTuple(args,"O|OOOiii:wxGetTextFromUser",&_obj0,&_obj1,&_obj2,&_argo3,&_arg4,&_arg5,&tempbool6)) | |
197 | return NULL; | |
198 | { | |
199 | if (!PyString_Check(_obj0)) { | |
200 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
201 | return NULL; | |
202 | } | |
203 | _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0)); | |
204 | } | |
205 | if (_obj1) | |
206 | { | |
207 | if (!PyString_Check(_obj1)) { | |
208 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
209 | return NULL; | |
210 | } | |
211 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
212 | } | |
213 | if (_obj2) | |
214 | { | |
215 | if (!PyString_Check(_obj2)) { | |
216 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
217 | return NULL; | |
218 | } | |
219 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
220 | } | |
221 | if (_argo3) { | |
222 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
223 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) { | |
224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p."); | |
225 | return NULL; | |
226 | } | |
227 | } | |
228 | _arg6 = (bool ) tempbool6; | |
229 | { | |
230 | wxPy_BEGIN_ALLOW_THREADS; | |
231 | _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6)); | |
232 | ||
233 | wxPy_END_ALLOW_THREADS; | |
234 | }{ | |
235 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
236 | } | |
237 | { | |
238 | if (_obj0) | |
239 | delete _arg0; | |
240 | } | |
241 | { | |
242 | if (_obj1) | |
243 | delete _arg1; | |
244 | } | |
245 | { | |
246 | if (_obj2) | |
247 | delete _arg2; | |
248 | } | |
249 | { | |
250 | delete _result; | |
251 | } | |
252 | return _resultobj; | |
253 | } | |
254 | ||
255 | static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args) { | |
256 | PyObject * _resultobj; | |
257 | wxString * _result; | |
258 | wxString * _arg0; | |
259 | wxString * _arg1; | |
260 | int _arg2; | |
261 | wxString * _arg3; | |
262 | wxWindow * _arg4 = (wxWindow *) NULL; | |
263 | int _arg5 = (int ) -1; | |
264 | int _arg6 = (int ) -1; | |
265 | bool _arg7 = (bool ) TRUE; | |
266 | int _arg8 = (int ) 150; | |
267 | int _arg9 = (int ) 200; | |
268 | PyObject * _obj0 = 0; | |
269 | PyObject * _obj1 = 0; | |
270 | PyObject * _obj3 = 0; | |
271 | PyObject * _argo4 = 0; | |
272 | int tempbool7 = (int) TRUE; | |
273 | ||
274 | self = self; | |
275 | if(!PyArg_ParseTuple(args,"OOO|Oiiiii:wxGetSingleChoice",&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9)) | |
276 | return NULL; | |
277 | { | |
278 | if (!PyString_Check(_obj0)) { | |
279 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
280 | return NULL; | |
281 | } | |
282 | _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0)); | |
283 | } | |
284 | { | |
285 | if (!PyString_Check(_obj1)) { | |
286 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
287 | return NULL; | |
288 | } | |
289 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
290 | } | |
291 | if (_obj3) | |
292 | { | |
293 | _arg3 = wxString_LIST_helper(_obj3); | |
294 | if (_arg3 == NULL) { | |
295 | return NULL; | |
296 | } | |
297 | } | |
298 | if (_argo4) { | |
299 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
300 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) { | |
301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p."); | |
302 | return NULL; | |
303 | } | |
304 | } | |
305 | _arg7 = (bool ) tempbool7; | |
306 | { | |
307 | if (_obj3) { | |
308 | _arg2 = PyList_Size(_obj3); | |
309 | } | |
310 | else { | |
311 | _arg2 = 0; | |
312 | } | |
313 | } | |
314 | { | |
315 | wxPy_BEGIN_ALLOW_THREADS; | |
316 | _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9)); | |
317 | ||
318 | wxPy_END_ALLOW_THREADS; | |
319 | }{ | |
320 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
321 | } | |
322 | { | |
323 | if (_obj0) | |
324 | delete _arg0; | |
325 | } | |
326 | { | |
327 | if (_obj1) | |
328 | delete _arg1; | |
329 | } | |
330 | { | |
331 | delete [] _arg3; | |
332 | } | |
333 | { | |
334 | delete _result; | |
335 | } | |
336 | return _resultobj; | |
337 | } | |
338 | ||
339 | static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args) { | |
340 | PyObject * _resultobj; | |
341 | int _result; | |
342 | wxString * _arg0; | |
343 | wxString * _arg1; | |
344 | int _arg2; | |
345 | wxString * _arg3; | |
346 | wxWindow * _arg4 = (wxWindow *) NULL; | |
347 | int _arg5 = (int ) -1; | |
348 | int _arg6 = (int ) -1; | |
349 | bool _arg7 = (bool ) TRUE; | |
350 | int _arg8 = (int ) 150; | |
351 | int _arg9 = (int ) 200; | |
352 | PyObject * _obj0 = 0; | |
353 | PyObject * _obj1 = 0; | |
354 | PyObject * _obj3 = 0; | |
355 | PyObject * _argo4 = 0; | |
356 | int tempbool7 = (int) TRUE; | |
357 | ||
358 | self = self; | |
359 | if(!PyArg_ParseTuple(args,"OOO|Oiiiii:wxGetSingleChoiceIndex",&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9)) | |
360 | return NULL; | |
361 | { | |
362 | if (!PyString_Check(_obj0)) { | |
363 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
364 | return NULL; | |
365 | } | |
366 | _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0)); | |
367 | } | |
368 | { | |
369 | if (!PyString_Check(_obj1)) { | |
370 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
371 | return NULL; | |
372 | } | |
373 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
374 | } | |
375 | if (_obj3) | |
376 | { | |
377 | _arg3 = wxString_LIST_helper(_obj3); | |
378 | if (_arg3 == NULL) { | |
379 | return NULL; | |
380 | } | |
381 | } | |
382 | if (_argo4) { | |
383 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
384 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) { | |
385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p."); | |
386 | return NULL; | |
387 | } | |
388 | } | |
389 | _arg7 = (bool ) tempbool7; | |
390 | { | |
391 | if (_obj3) { | |
392 | _arg2 = PyList_Size(_obj3); | |
393 | } | |
394 | else { | |
395 | _arg2 = 0; | |
396 | } | |
397 | } | |
398 | { | |
399 | wxPy_BEGIN_ALLOW_THREADS; | |
400 | _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); | |
401 | ||
402 | wxPy_END_ALLOW_THREADS; | |
403 | } _resultobj = Py_BuildValue("i",_result); | |
404 | { | |
405 | if (_obj0) | |
406 | delete _arg0; | |
407 | } | |
408 | { | |
409 | if (_obj1) | |
410 | delete _arg1; | |
411 | } | |
412 | { | |
413 | delete [] _arg3; | |
414 | } | |
415 | return _resultobj; | |
416 | } | |
417 | ||
418 | static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args) { | |
419 | PyObject * _resultobj; | |
420 | int _result; | |
421 | wxString * _arg0; | |
422 | wxString * _arg1 = (wxString *) &wxPyEmptyStr; | |
423 | int _arg2 = (int ) wxOK|wxCENTRE; | |
424 | wxWindow * _arg3 = (wxWindow *) NULL; | |
425 | int _arg4 = (int ) -1; | |
426 | int _arg5 = (int ) -1; | |
427 | PyObject * _obj0 = 0; | |
428 | PyObject * _obj1 = 0; | |
429 | PyObject * _argo3 = 0; | |
430 | ||
431 | self = self; | |
432 | if(!PyArg_ParseTuple(args,"O|OiOii:wxMessageBox",&_obj0,&_obj1,&_arg2,&_argo3,&_arg4,&_arg5)) | |
433 | return NULL; | |
434 | { | |
435 | if (!PyString_Check(_obj0)) { | |
436 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
437 | return NULL; | |
438 | } | |
439 | _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0)); | |
440 | } | |
441 | if (_obj1) | |
442 | { | |
443 | if (!PyString_Check(_obj1)) { | |
444 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
445 | return NULL; | |
446 | } | |
447 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
448 | } | |
449 | if (_argo3) { | |
450 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
451 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) { | |
452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p."); | |
453 | return NULL; | |
454 | } | |
455 | } | |
456 | { | |
457 | wxPy_BEGIN_ALLOW_THREADS; | |
458 | _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
459 | ||
460 | wxPy_END_ALLOW_THREADS; | |
461 | } _resultobj = Py_BuildValue("i",_result); | |
462 | { | |
463 | if (_obj0) | |
464 | delete _arg0; | |
465 | } | |
466 | { | |
467 | if (_obj1) | |
468 | delete _arg1; | |
469 | } | |
470 | return _resultobj; | |
471 | } | |
472 | ||
473 | static PyObject *_wrap_wxGetNumberFromUser(PyObject *self, PyObject *args) { | |
474 | PyObject * _resultobj; | |
475 | long _result; | |
476 | wxString * _arg0; | |
477 | wxString * _arg1; | |
478 | wxString * _arg2; | |
479 | long _arg3; | |
480 | long _arg4 = (long ) 0; | |
481 | long _arg5 = (long ) 100; | |
482 | wxWindow * _arg6 = (wxWindow *) NULL; | |
483 | wxPoint * _arg7 = (wxPoint *) &wxPyDefaultPosition; | |
484 | PyObject * _obj0 = 0; | |
485 | PyObject * _obj1 = 0; | |
486 | PyObject * _obj2 = 0; | |
487 | PyObject * _argo6 = 0; | |
488 | PyObject * _argo7 = 0; | |
489 | ||
490 | self = self; | |
491 | if(!PyArg_ParseTuple(args,"OOOl|llOO:wxGetNumberFromUser",&_obj0,&_obj1,&_obj2,&_arg3,&_arg4,&_arg5,&_argo6,&_argo7)) | |
492 | return NULL; | |
493 | { | |
494 | if (!PyString_Check(_obj0)) { | |
495 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
496 | return NULL; | |
497 | } | |
498 | _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0)); | |
499 | } | |
500 | { | |
501 | if (!PyString_Check(_obj1)) { | |
502 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
503 | return NULL; | |
504 | } | |
505 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
506 | } | |
507 | { | |
508 | if (!PyString_Check(_obj2)) { | |
509 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
510 | return NULL; | |
511 | } | |
512 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
513 | } | |
514 | if (_argo6) { | |
515 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
516 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) { | |
517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p."); | |
518 | return NULL; | |
519 | } | |
520 | } | |
521 | if (_argo7) { | |
522 | if (_argo7 == Py_None) { _arg7 = NULL; } | |
523 | else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxPoint_p")) { | |
524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGetNumberFromUser. Expected _wxPoint_p."); | |
525 | return NULL; | |
526 | } | |
527 | } | |
528 | { | |
529 | wxPy_BEGIN_ALLOW_THREADS; | |
530 | _result = (long )wxGetNumberFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6,*_arg7); | |
531 | ||
532 | wxPy_END_ALLOW_THREADS; | |
533 | } _resultobj = Py_BuildValue("l",_result); | |
534 | { | |
535 | if (_obj0) | |
536 | delete _arg0; | |
537 | } | |
538 | { | |
539 | if (_obj1) | |
540 | delete _arg1; | |
541 | } | |
542 | { | |
543 | if (_obj2) | |
544 | delete _arg2; | |
545 | } | |
546 | return _resultobj; | |
547 | } | |
548 | ||
549 | static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args) { | |
550 | PyObject * _resultobj; | |
551 | bool _result; | |
552 | ||
553 | self = self; | |
554 | if(!PyArg_ParseTuple(args,":wxColourDisplay")) | |
555 | return NULL; | |
556 | { | |
557 | wxPy_BEGIN_ALLOW_THREADS; | |
558 | _result = (bool )wxColourDisplay(); | |
559 | ||
560 | wxPy_END_ALLOW_THREADS; | |
561 | } _resultobj = Py_BuildValue("i",_result); | |
562 | return _resultobj; | |
563 | } | |
564 | ||
565 | static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args) { | |
566 | PyObject * _resultobj; | |
567 | int _result; | |
568 | ||
569 | self = self; | |
570 | if(!PyArg_ParseTuple(args,":wxDisplayDepth")) | |
571 | return NULL; | |
572 | { | |
573 | wxPy_BEGIN_ALLOW_THREADS; | |
574 | _result = (int )wxDisplayDepth(); | |
575 | ||
576 | wxPy_END_ALLOW_THREADS; | |
577 | } _resultobj = Py_BuildValue("i",_result); | |
578 | return _resultobj; | |
579 | } | |
580 | ||
581 | static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args) { | |
582 | PyObject * _resultobj; | |
583 | wxCursor * _arg0; | |
584 | PyObject * _argo0 = 0; | |
585 | ||
586 | self = self; | |
587 | if(!PyArg_ParseTuple(args,"O:wxSetCursor",&_argo0)) | |
588 | return NULL; | |
589 | if (_argo0) { | |
590 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
591 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) { | |
592 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p."); | |
593 | return NULL; | |
594 | } | |
595 | } | |
596 | { | |
597 | wxPy_BEGIN_ALLOW_THREADS; | |
598 | wxSetCursor(*_arg0); | |
599 | ||
600 | wxPy_END_ALLOW_THREADS; | |
601 | } Py_INCREF(Py_None); | |
602 | _resultobj = Py_None; | |
603 | return _resultobj; | |
604 | } | |
605 | ||
606 | static PyObject *_wrap_wxNewId(PyObject *self, PyObject *args) { | |
607 | PyObject * _resultobj; | |
608 | long _result; | |
609 | ||
610 | self = self; | |
611 | if(!PyArg_ParseTuple(args,":wxNewId")) | |
612 | return NULL; | |
613 | { | |
614 | wxPy_BEGIN_ALLOW_THREADS; | |
615 | _result = (long )wxNewId(); | |
616 | ||
617 | wxPy_END_ALLOW_THREADS; | |
618 | } _resultobj = Py_BuildValue("l",_result); | |
619 | return _resultobj; | |
620 | } | |
621 | ||
622 | static PyObject *_wrap_wxRegisterId(PyObject *self, PyObject *args) { | |
623 | PyObject * _resultobj; | |
624 | long _arg0; | |
625 | ||
626 | self = self; | |
627 | if(!PyArg_ParseTuple(args,"l:wxRegisterId",&_arg0)) | |
628 | return NULL; | |
629 | { | |
630 | wxPy_BEGIN_ALLOW_THREADS; | |
631 | wxRegisterId(_arg0); | |
632 | ||
633 | wxPy_END_ALLOW_THREADS; | |
634 | } Py_INCREF(Py_None); | |
635 | _resultobj = Py_None; | |
636 | return _resultobj; | |
637 | } | |
638 | ||
639 | static PyObject *_wrap_NewId(PyObject *self, PyObject *args) { | |
640 | PyObject * _resultobj; | |
641 | long _result; | |
642 | ||
643 | self = self; | |
644 | if(!PyArg_ParseTuple(args,":NewId")) | |
645 | return NULL; | |
646 | { | |
647 | wxPy_BEGIN_ALLOW_THREADS; | |
648 | _result = (long )wxNewId(); | |
649 | ||
650 | wxPy_END_ALLOW_THREADS; | |
651 | } _resultobj = Py_BuildValue("l",_result); | |
652 | return _resultobj; | |
653 | } | |
654 | ||
655 | static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args) { | |
656 | PyObject * _resultobj; | |
657 | long _arg0; | |
658 | ||
659 | self = self; | |
660 | if(!PyArg_ParseTuple(args,"l:RegisterId",&_arg0)) | |
661 | return NULL; | |
662 | { | |
663 | wxPy_BEGIN_ALLOW_THREADS; | |
664 | wxRegisterId(_arg0); | |
665 | ||
666 | wxPy_END_ALLOW_THREADS; | |
667 | } Py_INCREF(Py_None); | |
668 | _resultobj = Py_None; | |
669 | return _resultobj; | |
670 | } | |
671 | ||
672 | static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args) { | |
673 | PyObject * _resultobj; | |
674 | wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR; | |
675 | PyObject * _argo0 = 0; | |
676 | ||
677 | self = self; | |
678 | if(!PyArg_ParseTuple(args,"|O:wxBeginBusyCursor",&_argo0)) | |
679 | return NULL; | |
680 | if (_argo0) { | |
681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) { | |
683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p."); | |
684 | return NULL; | |
685 | } | |
686 | } | |
687 | { | |
688 | wxPy_BEGIN_ALLOW_THREADS; | |
689 | wxBeginBusyCursor(_arg0); | |
690 | ||
691 | wxPy_END_ALLOW_THREADS; | |
692 | } Py_INCREF(Py_None); | |
693 | _resultobj = Py_None; | |
694 | return _resultobj; | |
695 | } | |
696 | ||
697 | static PyObject *_wrap_wxBell(PyObject *self, PyObject *args) { | |
698 | PyObject * _resultobj; | |
699 | ||
700 | self = self; | |
701 | if(!PyArg_ParseTuple(args,":wxBell")) | |
702 | return NULL; | |
703 | { | |
704 | wxPy_BEGIN_ALLOW_THREADS; | |
705 | wxBell(); | |
706 | ||
707 | wxPy_END_ALLOW_THREADS; | |
708 | } Py_INCREF(Py_None); | |
709 | _resultobj = Py_None; | |
710 | return _resultobj; | |
711 | } | |
712 | ||
713 | static PyObject *_wrap_wxDisplaySize(PyObject *self, PyObject *args) { | |
714 | PyObject * _resultobj; | |
715 | int * _arg0; | |
716 | int temp; | |
717 | int * _arg1; | |
718 | int temp0; | |
719 | ||
720 | self = self; | |
721 | { | |
722 | _arg0 = &temp; | |
723 | } | |
724 | { | |
725 | _arg1 = &temp0; | |
726 | } | |
727 | if(!PyArg_ParseTuple(args,":wxDisplaySize")) | |
728 | return NULL; | |
729 | { | |
730 | wxPy_BEGIN_ALLOW_THREADS; | |
731 | wxDisplaySize(_arg0,_arg1); | |
732 | ||
733 | wxPy_END_ALLOW_THREADS; | |
734 | } Py_INCREF(Py_None); | |
735 | _resultobj = Py_None; | |
736 | { | |
737 | PyObject *o; | |
738 | o = PyInt_FromLong((long) (*_arg0)); | |
739 | _resultobj = t_output_helper(_resultobj, o); | |
740 | } | |
741 | { | |
742 | PyObject *o; | |
743 | o = PyInt_FromLong((long) (*_arg1)); | |
744 | _resultobj = t_output_helper(_resultobj, o); | |
745 | } | |
746 | return _resultobj; | |
747 | } | |
748 | ||
749 | static PyObject *_wrap_wxEndBusyCursor(PyObject *self, PyObject *args) { | |
750 | PyObject * _resultobj; | |
751 | ||
752 | self = self; | |
753 | if(!PyArg_ParseTuple(args,":wxEndBusyCursor")) | |
754 | return NULL; | |
755 | { | |
756 | wxPy_BEGIN_ALLOW_THREADS; | |
757 | wxEndBusyCursor(); | |
758 | ||
759 | wxPy_END_ALLOW_THREADS; | |
760 | } Py_INCREF(Py_None); | |
761 | _resultobj = Py_None; | |
762 | return _resultobj; | |
763 | } | |
764 | ||
765 | static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args) { | |
766 | PyObject * _resultobj; | |
767 | long _result; | |
768 | wxString * _arg0; | |
769 | bool _arg1 = (bool ) FALSE; | |
770 | PyObject * _obj0 = 0; | |
771 | int tempbool1 = (int) FALSE; | |
772 | ||
773 | self = self; | |
774 | if(!PyArg_ParseTuple(args,"O|i:wxExecute",&_obj0,&tempbool1)) | |
775 | return NULL; | |
776 | { | |
777 | if (!PyString_Check(_obj0)) { | |
778 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
779 | return NULL; | |
780 | } | |
781 | _arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0)); | |
782 | } | |
783 | _arg1 = (bool ) tempbool1; | |
784 | { | |
785 | wxPy_BEGIN_ALLOW_THREADS; | |
786 | _result = (long )wxExecute(*_arg0,_arg1); | |
787 | ||
788 | wxPy_END_ALLOW_THREADS; | |
789 | } _resultobj = Py_BuildValue("l",_result); | |
790 | { | |
791 | if (_obj0) | |
792 | delete _arg0; | |
793 | } | |
794 | return _resultobj; | |
795 | } | |
796 | ||
797 | static PyObject *_wrap_wxGetMousePosition(PyObject *self, PyObject *args) { | |
798 | PyObject * _resultobj; | |
799 | int * _arg0; | |
800 | int temp; | |
801 | int * _arg1; | |
802 | int temp0; | |
803 | ||
804 | self = self; | |
805 | { | |
806 | _arg0 = &temp; | |
807 | } | |
808 | { | |
809 | _arg1 = &temp0; | |
810 | } | |
811 | if(!PyArg_ParseTuple(args,":wxGetMousePosition")) | |
812 | return NULL; | |
813 | { | |
814 | wxPy_BEGIN_ALLOW_THREADS; | |
815 | wxGetMousePosition(_arg0,_arg1); | |
816 | ||
817 | wxPy_END_ALLOW_THREADS; | |
818 | } Py_INCREF(Py_None); | |
819 | _resultobj = Py_None; | |
820 | { | |
821 | PyObject *o; | |
822 | o = PyInt_FromLong((long) (*_arg0)); | |
823 | _resultobj = t_output_helper(_resultobj, o); | |
824 | } | |
825 | { | |
826 | PyObject *o; | |
827 | o = PyInt_FromLong((long) (*_arg1)); | |
828 | _resultobj = t_output_helper(_resultobj, o); | |
829 | } | |
830 | return _resultobj; | |
831 | } | |
832 | ||
833 | static PyObject *_wrap_wxIsBusy(PyObject *self, PyObject *args) { | |
834 | PyObject * _resultobj; | |
835 | bool _result; | |
836 | ||
837 | self = self; | |
838 | if(!PyArg_ParseTuple(args,":wxIsBusy")) | |
839 | return NULL; | |
840 | { | |
841 | wxPy_BEGIN_ALLOW_THREADS; | |
842 | _result = (bool )wxIsBusy(); | |
843 | ||
844 | wxPy_END_ALLOW_THREADS; | |
845 | } _resultobj = Py_BuildValue("i",_result); | |
846 | return _resultobj; | |
847 | } | |
848 | ||
849 | static PyObject *_wrap_wxNow(PyObject *self, PyObject *args) { | |
850 | PyObject * _resultobj; | |
851 | wxString * _result; | |
852 | ||
853 | self = self; | |
854 | if(!PyArg_ParseTuple(args,":wxNow")) | |
855 | return NULL; | |
856 | { | |
857 | wxPy_BEGIN_ALLOW_THREADS; | |
858 | _result = new wxString (wxNow()); | |
859 | ||
860 | wxPy_END_ALLOW_THREADS; | |
861 | }{ | |
862 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
863 | } | |
864 | { | |
865 | delete _result; | |
866 | } | |
867 | return _resultobj; | |
868 | } | |
869 | ||
870 | static PyObject *_wrap_wxSleep(PyObject *self, PyObject *args) { | |
871 | PyObject * _resultobj; | |
872 | int _arg0; | |
873 | ||
874 | self = self; | |
875 | if(!PyArg_ParseTuple(args,"i:wxSleep",&_arg0)) | |
876 | return NULL; | |
877 | { | |
878 | wxPy_BEGIN_ALLOW_THREADS; | |
879 | wxSleep(_arg0); | |
880 | ||
881 | wxPy_END_ALLOW_THREADS; | |
882 | } Py_INCREF(Py_None); | |
883 | _resultobj = Py_None; | |
884 | return _resultobj; | |
885 | } | |
886 | ||
887 | static PyObject *_wrap_wxYield(PyObject *self, PyObject *args) { | |
888 | PyObject * _resultobj; | |
889 | bool _result; | |
890 | ||
891 | self = self; | |
892 | if(!PyArg_ParseTuple(args,":wxYield")) | |
893 | return NULL; | |
894 | { | |
895 | wxPy_BEGIN_ALLOW_THREADS; | |
896 | _result = (bool )wxYield(); | |
897 | ||
898 | wxPy_END_ALLOW_THREADS; | |
899 | } _resultobj = Py_BuildValue("i",_result); | |
900 | return _resultobj; | |
901 | } | |
902 | ||
903 | static PyObject *_wrap_wxSafeYield(PyObject *self, PyObject *args) { | |
904 | PyObject * _resultobj; | |
905 | bool _result; | |
906 | ||
907 | self = self; | |
908 | if(!PyArg_ParseTuple(args,":wxSafeYield")) | |
909 | return NULL; | |
910 | { | |
911 | wxPy_BEGIN_ALLOW_THREADS; | |
912 | _result = (bool )wxSafeYield(); | |
913 | ||
914 | wxPy_END_ALLOW_THREADS; | |
915 | } _resultobj = Py_BuildValue("i",_result); | |
916 | return _resultobj; | |
917 | } | |
918 | ||
919 | static PyObject *_wrap_wxEnableTopLevelWindows(PyObject *self, PyObject *args) { | |
920 | PyObject * _resultobj; | |
921 | bool _arg0; | |
922 | int tempbool0; | |
923 | ||
924 | self = self; | |
925 | if(!PyArg_ParseTuple(args,"i:wxEnableTopLevelWindows",&tempbool0)) | |
926 | return NULL; | |
927 | _arg0 = (bool ) tempbool0; | |
928 | { | |
929 | wxPy_BEGIN_ALLOW_THREADS; | |
930 | wxEnableTopLevelWindows(_arg0); | |
931 | ||
932 | wxPy_END_ALLOW_THREADS; | |
933 | } Py_INCREF(Py_None); | |
934 | _resultobj = Py_None; | |
935 | return _resultobj; | |
936 | } | |
937 | ||
938 | static PyObject *_wrap_wxGetResource(PyObject *self, PyObject *args) { | |
939 | PyObject * _resultobj; | |
940 | char * _result; | |
941 | char * _arg0; | |
942 | char * _arg1; | |
943 | char * _arg2 = (char *) NULL; | |
944 | ||
945 | self = self; | |
946 | if(!PyArg_ParseTuple(args,"ss|s:wxGetResource",&_arg0,&_arg1,&_arg2)) | |
947 | return NULL; | |
948 | { | |
949 | wxPy_BEGIN_ALLOW_THREADS; | |
950 | _result = (char *)wxGetResource(_arg0,_arg1,_arg2); | |
951 | ||
952 | wxPy_END_ALLOW_THREADS; | |
953 | } _resultobj = Py_BuildValue("s", _result); | |
954 | return _resultobj; | |
955 | } | |
956 | ||
957 | static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args) { | |
958 | PyObject * _resultobj; | |
959 | bool _result; | |
960 | char * _arg0; | |
961 | int _arg1; | |
962 | ||
963 | self = self; | |
964 | if(!PyArg_ParseTuple(args,"si:wxResourceAddIdentifier",&_arg0,&_arg1)) | |
965 | return NULL; | |
966 | { | |
967 | wxPy_BEGIN_ALLOW_THREADS; | |
968 | _result = (bool )wxResourceAddIdentifier(_arg0,_arg1); | |
969 | ||
970 | wxPy_END_ALLOW_THREADS; | |
971 | } _resultobj = Py_BuildValue("i",_result); | |
972 | return _resultobj; | |
973 | } | |
974 | ||
975 | static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args) { | |
976 | PyObject * _resultobj; | |
977 | ||
978 | self = self; | |
979 | if(!PyArg_ParseTuple(args,":wxResourceClear")) | |
980 | return NULL; | |
981 | { | |
982 | wxPy_BEGIN_ALLOW_THREADS; | |
983 | wxResourceClear(); | |
984 | ||
985 | wxPy_END_ALLOW_THREADS; | |
986 | } Py_INCREF(Py_None); | |
987 | _resultobj = Py_None; | |
988 | return _resultobj; | |
989 | } | |
990 | ||
991 | static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args) { | |
992 | PyObject * _resultobj; | |
993 | wxBitmap * _result; | |
994 | char * _arg0; | |
995 | char _ptemp[128]; | |
996 | ||
997 | self = self; | |
998 | if(!PyArg_ParseTuple(args,"s:wxResourceCreateBitmap",&_arg0)) | |
999 | return NULL; | |
1000 | { | |
1001 | wxPy_BEGIN_ALLOW_THREADS; | |
1002 | _result = new wxBitmap (wxResourceCreateBitmap(_arg0)); | |
1003 | ||
1004 | wxPy_END_ALLOW_THREADS; | |
1005 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p"); | |
1006 | _resultobj = Py_BuildValue("s",_ptemp); | |
1007 | return _resultobj; | |
1008 | } | |
1009 | ||
1010 | static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args) { | |
1011 | PyObject * _resultobj; | |
1012 | wxIcon * _result; | |
1013 | char * _arg0; | |
1014 | char _ptemp[128]; | |
1015 | ||
1016 | self = self; | |
1017 | if(!PyArg_ParseTuple(args,"s:wxResourceCreateIcon",&_arg0)) | |
1018 | return NULL; | |
1019 | { | |
1020 | wxPy_BEGIN_ALLOW_THREADS; | |
1021 | _result = new wxIcon (wxResourceCreateIcon(_arg0)); | |
1022 | ||
1023 | wxPy_END_ALLOW_THREADS; | |
1024 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p"); | |
1025 | _resultobj = Py_BuildValue("s",_ptemp); | |
1026 | return _resultobj; | |
1027 | } | |
1028 | ||
1029 | static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args) { | |
1030 | PyObject * _resultobj; | |
1031 | wxMenuBar * _result; | |
1032 | char * _arg0; | |
1033 | char _ptemp[128]; | |
1034 | ||
1035 | self = self; | |
1036 | if(!PyArg_ParseTuple(args,"s:wxResourceCreateMenuBar",&_arg0)) | |
1037 | return NULL; | |
1038 | { | |
1039 | wxPy_BEGIN_ALLOW_THREADS; | |
1040 | _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0); | |
1041 | ||
1042 | wxPy_END_ALLOW_THREADS; | |
1043 | } if (_result) { | |
1044 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p"); | |
1045 | _resultobj = Py_BuildValue("s",_ptemp); | |
1046 | } else { | |
1047 | Py_INCREF(Py_None); | |
1048 | _resultobj = Py_None; | |
1049 | } | |
1050 | return _resultobj; | |
1051 | } | |
1052 | ||
1053 | static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args) { | |
1054 | PyObject * _resultobj; | |
1055 | int _result; | |
1056 | char * _arg0; | |
1057 | ||
1058 | self = self; | |
1059 | if(!PyArg_ParseTuple(args,"s:wxResourceGetIdentifier",&_arg0)) | |
1060 | return NULL; | |
1061 | { | |
1062 | wxPy_BEGIN_ALLOW_THREADS; | |
1063 | _result = (int )wxResourceGetIdentifier(_arg0); | |
1064 | ||
1065 | wxPy_END_ALLOW_THREADS; | |
1066 | } _resultobj = Py_BuildValue("i",_result); | |
1067 | return _resultobj; | |
1068 | } | |
1069 | ||
1070 | static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args) { | |
1071 | PyObject * _resultobj; | |
1072 | bool _result; | |
1073 | char * _arg0; | |
1074 | wxResourceTable * _arg1 = (wxResourceTable *) NULL; | |
1075 | PyObject * _argo1 = 0; | |
1076 | ||
1077 | self = self; | |
1078 | if(!PyArg_ParseTuple(args,"s|O:wxResourceParseData",&_arg0,&_argo1)) | |
1079 | return NULL; | |
1080 | if (_argo1) { | |
1081 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1082 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) { | |
1083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p."); | |
1084 | return NULL; | |
1085 | } | |
1086 | } | |
1087 | { | |
1088 | wxPy_BEGIN_ALLOW_THREADS; | |
1089 | _result = (bool )wxResourceParseData(_arg0,_arg1); | |
1090 | ||
1091 | wxPy_END_ALLOW_THREADS; | |
1092 | } _resultobj = Py_BuildValue("i",_result); | |
1093 | return _resultobj; | |
1094 | } | |
1095 | ||
1096 | static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args) { | |
1097 | PyObject * _resultobj; | |
1098 | bool _result; | |
1099 | char * _arg0; | |
1100 | wxResourceTable * _arg1 = (wxResourceTable *) NULL; | |
1101 | PyObject * _argo1 = 0; | |
1102 | ||
1103 | self = self; | |
1104 | if(!PyArg_ParseTuple(args,"s|O:wxResourceParseFile",&_arg0,&_argo1)) | |
1105 | return NULL; | |
1106 | if (_argo1) { | |
1107 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1108 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) { | |
1109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p."); | |
1110 | return NULL; | |
1111 | } | |
1112 | } | |
1113 | { | |
1114 | wxPy_BEGIN_ALLOW_THREADS; | |
1115 | _result = (bool )wxResourceParseFile(_arg0,_arg1); | |
1116 | ||
1117 | wxPy_END_ALLOW_THREADS; | |
1118 | } _resultobj = Py_BuildValue("i",_result); | |
1119 | return _resultobj; | |
1120 | } | |
1121 | ||
1122 | static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args) { | |
1123 | PyObject * _resultobj; | |
1124 | bool _result; | |
1125 | char * _arg0; | |
1126 | wxResourceTable * _arg1 = (wxResourceTable *) NULL; | |
1127 | PyObject * _argo1 = 0; | |
1128 | ||
1129 | self = self; | |
1130 | if(!PyArg_ParseTuple(args,"s|O:wxResourceParseString",&_arg0,&_argo1)) | |
1131 | return NULL; | |
1132 | if (_argo1) { | |
1133 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1134 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) { | |
1135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p."); | |
1136 | return NULL; | |
1137 | } | |
1138 | } | |
1139 | { | |
1140 | wxPy_BEGIN_ALLOW_THREADS; | |
1141 | _result = (bool )wxResourceParseString(_arg0,_arg1); | |
1142 | ||
1143 | wxPy_END_ALLOW_THREADS; | |
1144 | } _resultobj = Py_BuildValue("i",_result); | |
1145 | return _resultobj; | |
1146 | } | |
1147 | ||
1148 | static PyObject *_wrap_wxSystemSettings_GetSystemColour(PyObject *self, PyObject *args) { | |
1149 | PyObject * _resultobj; | |
1150 | wxColour * _result; | |
1151 | int _arg0; | |
1152 | char _ptemp[128]; | |
1153 | ||
1154 | self = self; | |
1155 | if(!PyArg_ParseTuple(args,"i:wxSystemSettings_GetSystemColour",&_arg0)) | |
1156 | return NULL; | |
1157 | { | |
1158 | wxPy_BEGIN_ALLOW_THREADS; | |
1159 | _result = new wxColour (wxSystemSettings_GetSystemColour(_arg0)); | |
1160 | ||
1161 | wxPy_END_ALLOW_THREADS; | |
1162 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
1163 | _resultobj = Py_BuildValue("s",_ptemp); | |
1164 | return _resultobj; | |
1165 | } | |
1166 | ||
1167 | static PyObject *_wrap_wxSystemSettings_GetSystemFont(PyObject *self, PyObject *args) { | |
1168 | PyObject * _resultobj; | |
1169 | wxFont * _result; | |
1170 | int _arg0; | |
1171 | char _ptemp[128]; | |
1172 | ||
1173 | self = self; | |
1174 | if(!PyArg_ParseTuple(args,"i:wxSystemSettings_GetSystemFont",&_arg0)) | |
1175 | return NULL; | |
1176 | { | |
1177 | wxPy_BEGIN_ALLOW_THREADS; | |
1178 | _result = new wxFont (wxSystemSettings_GetSystemFont(_arg0)); | |
1179 | ||
1180 | wxPy_END_ALLOW_THREADS; | |
1181 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); | |
1182 | _resultobj = Py_BuildValue("s",_ptemp); | |
1183 | return _resultobj; | |
1184 | } | |
1185 | ||
1186 | static PyObject *_wrap_wxSystemSettings_GetSystemMetric(PyObject *self, PyObject *args) { | |
1187 | PyObject * _resultobj; | |
1188 | int _result; | |
1189 | int _arg0; | |
1190 | ||
1191 | self = self; | |
1192 | if(!PyArg_ParseTuple(args,"i:wxSystemSettings_GetSystemMetric",&_arg0)) | |
1193 | return NULL; | |
1194 | { | |
1195 | wxPy_BEGIN_ALLOW_THREADS; | |
1196 | _result = (int )wxSystemSettings_GetSystemMetric(_arg0); | |
1197 | ||
1198 | wxPy_END_ALLOW_THREADS; | |
1199 | } _resultobj = Py_BuildValue("i",_result); | |
1200 | return _resultobj; | |
1201 | } | |
1202 | ||
1203 | #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
1204 | static PyObject *_wrap_wxSize_x_set(PyObject *self, PyObject *args) { | |
1205 | PyObject * _resultobj; | |
1206 | long _result; | |
1207 | wxSize * _arg0; | |
1208 | long _arg1; | |
1209 | PyObject * _argo0 = 0; | |
1210 | ||
1211 | self = self; | |
1212 | if(!PyArg_ParseTuple(args,"Ol:wxSize_x_set",&_argo0,&_arg1)) | |
1213 | return NULL; | |
1214 | if (_argo0) { | |
1215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_x_set. Expected _wxSize_p."); | |
1218 | return NULL; | |
1219 | } | |
1220 | } | |
1221 | { | |
1222 | wxPy_BEGIN_ALLOW_THREADS; | |
1223 | _result = (long )wxSize_x_set(_arg0,_arg1); | |
1224 | ||
1225 | wxPy_END_ALLOW_THREADS; | |
1226 | } _resultobj = Py_BuildValue("l",_result); | |
1227 | return _resultobj; | |
1228 | } | |
1229 | ||
1230 | #define wxSize_x_get(_swigobj) ((long ) _swigobj->x) | |
1231 | static PyObject *_wrap_wxSize_x_get(PyObject *self, PyObject *args) { | |
1232 | PyObject * _resultobj; | |
1233 | long _result; | |
1234 | wxSize * _arg0; | |
1235 | PyObject * _argo0 = 0; | |
1236 | ||
1237 | self = self; | |
1238 | if(!PyArg_ParseTuple(args,"O:wxSize_x_get",&_argo0)) | |
1239 | return NULL; | |
1240 | if (_argo0) { | |
1241 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1242 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_x_get. Expected _wxSize_p."); | |
1244 | return NULL; | |
1245 | } | |
1246 | } | |
1247 | { | |
1248 | wxPy_BEGIN_ALLOW_THREADS; | |
1249 | _result = (long )wxSize_x_get(_arg0); | |
1250 | ||
1251 | wxPy_END_ALLOW_THREADS; | |
1252 | } _resultobj = Py_BuildValue("l",_result); | |
1253 | return _resultobj; | |
1254 | } | |
1255 | ||
1256 | #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
1257 | static PyObject *_wrap_wxSize_y_set(PyObject *self, PyObject *args) { | |
1258 | PyObject * _resultobj; | |
1259 | long _result; | |
1260 | wxSize * _arg0; | |
1261 | long _arg1; | |
1262 | PyObject * _argo0 = 0; | |
1263 | ||
1264 | self = self; | |
1265 | if(!PyArg_ParseTuple(args,"Ol:wxSize_y_set",&_argo0,&_arg1)) | |
1266 | return NULL; | |
1267 | if (_argo0) { | |
1268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_y_set. Expected _wxSize_p."); | |
1271 | return NULL; | |
1272 | } | |
1273 | } | |
1274 | { | |
1275 | wxPy_BEGIN_ALLOW_THREADS; | |
1276 | _result = (long )wxSize_y_set(_arg0,_arg1); | |
1277 | ||
1278 | wxPy_END_ALLOW_THREADS; | |
1279 | } _resultobj = Py_BuildValue("l",_result); | |
1280 | return _resultobj; | |
1281 | } | |
1282 | ||
1283 | #define wxSize_y_get(_swigobj) ((long ) _swigobj->y) | |
1284 | static PyObject *_wrap_wxSize_y_get(PyObject *self, PyObject *args) { | |
1285 | PyObject * _resultobj; | |
1286 | long _result; | |
1287 | wxSize * _arg0; | |
1288 | PyObject * _argo0 = 0; | |
1289 | ||
1290 | self = self; | |
1291 | if(!PyArg_ParseTuple(args,"O:wxSize_y_get",&_argo0)) | |
1292 | return NULL; | |
1293 | if (_argo0) { | |
1294 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1295 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_y_get. Expected _wxSize_p."); | |
1297 | return NULL; | |
1298 | } | |
1299 | } | |
1300 | { | |
1301 | wxPy_BEGIN_ALLOW_THREADS; | |
1302 | _result = (long )wxSize_y_get(_arg0); | |
1303 | ||
1304 | wxPy_END_ALLOW_THREADS; | |
1305 | } _resultobj = Py_BuildValue("l",_result); | |
1306 | return _resultobj; | |
1307 | } | |
1308 | ||
1309 | #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1)) | |
1310 | static PyObject *_wrap_new_wxSize(PyObject *self, PyObject *args) { | |
1311 | PyObject * _resultobj; | |
1312 | wxSize * _result; | |
1313 | long _arg0 = (long ) 0; | |
1314 | long _arg1 = (long ) 0; | |
1315 | char _ptemp[128]; | |
1316 | ||
1317 | self = self; | |
1318 | if(!PyArg_ParseTuple(args,"|ll:new_wxSize",&_arg0,&_arg1)) | |
1319 | return NULL; | |
1320 | { | |
1321 | wxPy_BEGIN_ALLOW_THREADS; | |
1322 | _result = (wxSize *)new_wxSize(_arg0,_arg1); | |
1323 | ||
1324 | wxPy_END_ALLOW_THREADS; | |
1325 | } if (_result) { | |
1326 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxSize_p"); | |
1327 | _resultobj = Py_BuildValue("s",_ptemp); | |
1328 | } else { | |
1329 | Py_INCREF(Py_None); | |
1330 | _resultobj = Py_None; | |
1331 | } | |
1332 | return _resultobj; | |
1333 | } | |
1334 | ||
1335 | #define delete_wxSize(_swigobj) (delete _swigobj) | |
1336 | static PyObject *_wrap_delete_wxSize(PyObject *self, PyObject *args) { | |
1337 | PyObject * _resultobj; | |
1338 | wxSize * _arg0; | |
1339 | PyObject * _argo0 = 0; | |
1340 | ||
1341 | self = self; | |
1342 | if(!PyArg_ParseTuple(args,"O:delete_wxSize",&_argo0)) | |
1343 | return NULL; | |
1344 | if (_argo0) { | |
1345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxSize. Expected _wxSize_p."); | |
1348 | return NULL; | |
1349 | } | |
1350 | } | |
1351 | { | |
1352 | wxPy_BEGIN_ALLOW_THREADS; | |
1353 | delete_wxSize(_arg0); | |
1354 | ||
1355 | wxPy_END_ALLOW_THREADS; | |
1356 | } Py_INCREF(Py_None); | |
1357 | _resultobj = Py_None; | |
1358 | return _resultobj; | |
1359 | } | |
1360 | ||
1361 | #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1)) | |
1362 | static PyObject *_wrap_wxSize_Set(PyObject *self, PyObject *args) { | |
1363 | PyObject * _resultobj; | |
1364 | wxSize * _arg0; | |
1365 | long _arg1; | |
1366 | long _arg2; | |
1367 | PyObject * _argo0 = 0; | |
1368 | ||
1369 | self = self; | |
1370 | if(!PyArg_ParseTuple(args,"Oll:wxSize_Set",&_argo0,&_arg1,&_arg2)) | |
1371 | return NULL; | |
1372 | if (_argo0) { | |
1373 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1374 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_Set. Expected _wxSize_p."); | |
1376 | return NULL; | |
1377 | } | |
1378 | } | |
1379 | { | |
1380 | wxPy_BEGIN_ALLOW_THREADS; | |
1381 | wxSize_Set(_arg0,_arg1,_arg2); | |
1382 | ||
1383 | wxPy_END_ALLOW_THREADS; | |
1384 | } Py_INCREF(Py_None); | |
1385 | _resultobj = Py_None; | |
1386 | return _resultobj; | |
1387 | } | |
1388 | ||
1389 | #define wxSize_GetX(_swigobj) (_swigobj->GetX()) | |
1390 | static PyObject *_wrap_wxSize_GetX(PyObject *self, PyObject *args) { | |
1391 | PyObject * _resultobj; | |
1392 | long _result; | |
1393 | wxSize * _arg0; | |
1394 | PyObject * _argo0 = 0; | |
1395 | ||
1396 | self = self; | |
1397 | if(!PyArg_ParseTuple(args,"O:wxSize_GetX",&_argo0)) | |
1398 | return NULL; | |
1399 | if (_argo0) { | |
1400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetX. Expected _wxSize_p."); | |
1403 | return NULL; | |
1404 | } | |
1405 | } | |
1406 | { | |
1407 | wxPy_BEGIN_ALLOW_THREADS; | |
1408 | _result = (long )wxSize_GetX(_arg0); | |
1409 | ||
1410 | wxPy_END_ALLOW_THREADS; | |
1411 | } _resultobj = Py_BuildValue("l",_result); | |
1412 | return _resultobj; | |
1413 | } | |
1414 | ||
1415 | #define wxSize_GetY(_swigobj) (_swigobj->GetY()) | |
1416 | static PyObject *_wrap_wxSize_GetY(PyObject *self, PyObject *args) { | |
1417 | PyObject * _resultobj; | |
1418 | long _result; | |
1419 | wxSize * _arg0; | |
1420 | PyObject * _argo0 = 0; | |
1421 | ||
1422 | self = self; | |
1423 | if(!PyArg_ParseTuple(args,"O:wxSize_GetY",&_argo0)) | |
1424 | return NULL; | |
1425 | if (_argo0) { | |
1426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetY. Expected _wxSize_p."); | |
1429 | return NULL; | |
1430 | } | |
1431 | } | |
1432 | { | |
1433 | wxPy_BEGIN_ALLOW_THREADS; | |
1434 | _result = (long )wxSize_GetY(_arg0); | |
1435 | ||
1436 | wxPy_END_ALLOW_THREADS; | |
1437 | } _resultobj = Py_BuildValue("l",_result); | |
1438 | return _resultobj; | |
1439 | } | |
1440 | ||
1441 | #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1442 | static PyObject *_wrap_wxSize_GetWidth(PyObject *self, PyObject *args) { | |
1443 | PyObject * _resultobj; | |
1444 | long _result; | |
1445 | wxSize * _arg0; | |
1446 | PyObject * _argo0 = 0; | |
1447 | ||
1448 | self = self; | |
1449 | if(!PyArg_ParseTuple(args,"O:wxSize_GetWidth",&_argo0)) | |
1450 | return NULL; | |
1451 | if (_argo0) { | |
1452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetWidth. Expected _wxSize_p."); | |
1455 | return NULL; | |
1456 | } | |
1457 | } | |
1458 | { | |
1459 | wxPy_BEGIN_ALLOW_THREADS; | |
1460 | _result = (long )wxSize_GetWidth(_arg0); | |
1461 | ||
1462 | wxPy_END_ALLOW_THREADS; | |
1463 | } _resultobj = Py_BuildValue("l",_result); | |
1464 | return _resultobj; | |
1465 | } | |
1466 | ||
1467 | #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
1468 | static PyObject *_wrap_wxSize_GetHeight(PyObject *self, PyObject *args) { | |
1469 | PyObject * _resultobj; | |
1470 | long _result; | |
1471 | wxSize * _arg0; | |
1472 | PyObject * _argo0 = 0; | |
1473 | ||
1474 | self = self; | |
1475 | if(!PyArg_ParseTuple(args,"O:wxSize_GetHeight",&_argo0)) | |
1476 | return NULL; | |
1477 | if (_argo0) { | |
1478 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1479 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_GetHeight. Expected _wxSize_p."); | |
1481 | return NULL; | |
1482 | } | |
1483 | } | |
1484 | { | |
1485 | wxPy_BEGIN_ALLOW_THREADS; | |
1486 | _result = (long )wxSize_GetHeight(_arg0); | |
1487 | ||
1488 | wxPy_END_ALLOW_THREADS; | |
1489 | } _resultobj = Py_BuildValue("l",_result); | |
1490 | return _resultobj; | |
1491 | } | |
1492 | ||
1493 | #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0)) | |
1494 | static PyObject *_wrap_wxSize_SetWidth(PyObject *self, PyObject *args) { | |
1495 | PyObject * _resultobj; | |
1496 | wxSize * _arg0; | |
1497 | long _arg1; | |
1498 | PyObject * _argo0 = 0; | |
1499 | ||
1500 | self = self; | |
1501 | if(!PyArg_ParseTuple(args,"Ol:wxSize_SetWidth",&_argo0,&_arg1)) | |
1502 | return NULL; | |
1503 | if (_argo0) { | |
1504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_SetWidth. Expected _wxSize_p."); | |
1507 | return NULL; | |
1508 | } | |
1509 | } | |
1510 | { | |
1511 | wxPy_BEGIN_ALLOW_THREADS; | |
1512 | wxSize_SetWidth(_arg0,_arg1); | |
1513 | ||
1514 | wxPy_END_ALLOW_THREADS; | |
1515 | } Py_INCREF(Py_None); | |
1516 | _resultobj = Py_None; | |
1517 | return _resultobj; | |
1518 | } | |
1519 | ||
1520 | #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0)) | |
1521 | static PyObject *_wrap_wxSize_SetHeight(PyObject *self, PyObject *args) { | |
1522 | PyObject * _resultobj; | |
1523 | wxSize * _arg0; | |
1524 | long _arg1; | |
1525 | PyObject * _argo0 = 0; | |
1526 | ||
1527 | self = self; | |
1528 | if(!PyArg_ParseTuple(args,"Ol:wxSize_SetHeight",&_argo0,&_arg1)) | |
1529 | return NULL; | |
1530 | if (_argo0) { | |
1531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_SetHeight. Expected _wxSize_p."); | |
1534 | return NULL; | |
1535 | } | |
1536 | } | |
1537 | { | |
1538 | wxPy_BEGIN_ALLOW_THREADS; | |
1539 | wxSize_SetHeight(_arg0,_arg1); | |
1540 | ||
1541 | wxPy_END_ALLOW_THREADS; | |
1542 | } Py_INCREF(Py_None); | |
1543 | _resultobj = Py_None; | |
1544 | return _resultobj; | |
1545 | } | |
1546 | ||
1547 | static PyObject * wxSize_asTuple(wxSize *self) { | |
1548 | PyObject* tup = PyTuple_New(2); | |
1549 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); | |
1550 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y)); | |
1551 | return tup; | |
1552 | } | |
1553 | static PyObject *_wrap_wxSize_asTuple(PyObject *self, PyObject *args) { | |
1554 | PyObject * _resultobj; | |
1555 | PyObject * _result; | |
1556 | wxSize * _arg0; | |
1557 | PyObject * _argo0 = 0; | |
1558 | ||
1559 | self = self; | |
1560 | if(!PyArg_ParseTuple(args,"O:wxSize_asTuple",&_argo0)) | |
1561 | return NULL; | |
1562 | if (_argo0) { | |
1563 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1564 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSize_p")) { | |
1565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSize_asTuple. Expected _wxSize_p."); | |
1566 | return NULL; | |
1567 | } | |
1568 | } | |
1569 | { | |
1570 | wxPy_BEGIN_ALLOW_THREADS; | |
1571 | _result = (PyObject *)wxSize_asTuple(_arg0); | |
1572 | ||
1573 | wxPy_END_ALLOW_THREADS; | |
1574 | }{ | |
1575 | _resultobj = _result; | |
1576 | } | |
1577 | return _resultobj; | |
1578 | } | |
1579 | ||
1580 | #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
1581 | static PyObject *_wrap_wxRealPoint_x_set(PyObject *self, PyObject *args) { | |
1582 | PyObject * _resultobj; | |
1583 | double _result; | |
1584 | wxRealPoint * _arg0; | |
1585 | double _arg1; | |
1586 | PyObject * _argo0 = 0; | |
1587 | ||
1588 | self = self; | |
1589 | if(!PyArg_ParseTuple(args,"Od:wxRealPoint_x_set",&_argo0,&_arg1)) | |
1590 | return NULL; | |
1591 | if (_argo0) { | |
1592 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1593 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_set. Expected _wxRealPoint_p."); | |
1595 | return NULL; | |
1596 | } | |
1597 | } | |
1598 | { | |
1599 | wxPy_BEGIN_ALLOW_THREADS; | |
1600 | _result = (double )wxRealPoint_x_set(_arg0,_arg1); | |
1601 | ||
1602 | wxPy_END_ALLOW_THREADS; | |
1603 | } _resultobj = Py_BuildValue("d",_result); | |
1604 | return _resultobj; | |
1605 | } | |
1606 | ||
1607 | #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x) | |
1608 | static PyObject *_wrap_wxRealPoint_x_get(PyObject *self, PyObject *args) { | |
1609 | PyObject * _resultobj; | |
1610 | double _result; | |
1611 | wxRealPoint * _arg0; | |
1612 | PyObject * _argo0 = 0; | |
1613 | ||
1614 | self = self; | |
1615 | if(!PyArg_ParseTuple(args,"O:wxRealPoint_x_get",&_argo0)) | |
1616 | return NULL; | |
1617 | if (_argo0) { | |
1618 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1619 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1620 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_x_get. Expected _wxRealPoint_p."); | |
1621 | return NULL; | |
1622 | } | |
1623 | } | |
1624 | { | |
1625 | wxPy_BEGIN_ALLOW_THREADS; | |
1626 | _result = (double )wxRealPoint_x_get(_arg0); | |
1627 | ||
1628 | wxPy_END_ALLOW_THREADS; | |
1629 | } _resultobj = Py_BuildValue("d",_result); | |
1630 | return _resultobj; | |
1631 | } | |
1632 | ||
1633 | #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
1634 | static PyObject *_wrap_wxRealPoint_y_set(PyObject *self, PyObject *args) { | |
1635 | PyObject * _resultobj; | |
1636 | double _result; | |
1637 | wxRealPoint * _arg0; | |
1638 | double _arg1; | |
1639 | PyObject * _argo0 = 0; | |
1640 | ||
1641 | self = self; | |
1642 | if(!PyArg_ParseTuple(args,"Od:wxRealPoint_y_set",&_argo0,&_arg1)) | |
1643 | return NULL; | |
1644 | if (_argo0) { | |
1645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_set. Expected _wxRealPoint_p."); | |
1648 | return NULL; | |
1649 | } | |
1650 | } | |
1651 | { | |
1652 | wxPy_BEGIN_ALLOW_THREADS; | |
1653 | _result = (double )wxRealPoint_y_set(_arg0,_arg1); | |
1654 | ||
1655 | wxPy_END_ALLOW_THREADS; | |
1656 | } _resultobj = Py_BuildValue("d",_result); | |
1657 | return _resultobj; | |
1658 | } | |
1659 | ||
1660 | #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y) | |
1661 | static PyObject *_wrap_wxRealPoint_y_get(PyObject *self, PyObject *args) { | |
1662 | PyObject * _resultobj; | |
1663 | double _result; | |
1664 | wxRealPoint * _arg0; | |
1665 | PyObject * _argo0 = 0; | |
1666 | ||
1667 | self = self; | |
1668 | if(!PyArg_ParseTuple(args,"O:wxRealPoint_y_get",&_argo0)) | |
1669 | return NULL; | |
1670 | if (_argo0) { | |
1671 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1672 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1673 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRealPoint_y_get. Expected _wxRealPoint_p."); | |
1674 | return NULL; | |
1675 | } | |
1676 | } | |
1677 | { | |
1678 | wxPy_BEGIN_ALLOW_THREADS; | |
1679 | _result = (double )wxRealPoint_y_get(_arg0); | |
1680 | ||
1681 | wxPy_END_ALLOW_THREADS; | |
1682 | } _resultobj = Py_BuildValue("d",_result); | |
1683 | return _resultobj; | |
1684 | } | |
1685 | ||
1686 | #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1)) | |
1687 | static PyObject *_wrap_new_wxRealPoint(PyObject *self, PyObject *args) { | |
1688 | PyObject * _resultobj; | |
1689 | wxRealPoint * _result; | |
1690 | double _arg0 = (double ) 0.0; | |
1691 | double _arg1 = (double ) 0.0; | |
1692 | char _ptemp[128]; | |
1693 | ||
1694 | self = self; | |
1695 | if(!PyArg_ParseTuple(args,"|dd:new_wxRealPoint",&_arg0,&_arg1)) | |
1696 | return NULL; | |
1697 | { | |
1698 | wxPy_BEGIN_ALLOW_THREADS; | |
1699 | _result = (wxRealPoint *)new_wxRealPoint(_arg0,_arg1); | |
1700 | ||
1701 | wxPy_END_ALLOW_THREADS; | |
1702 | } if (_result) { | |
1703 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRealPoint_p"); | |
1704 | _resultobj = Py_BuildValue("s",_ptemp); | |
1705 | } else { | |
1706 | Py_INCREF(Py_None); | |
1707 | _resultobj = Py_None; | |
1708 | } | |
1709 | return _resultobj; | |
1710 | } | |
1711 | ||
1712 | #define delete_wxRealPoint(_swigobj) (delete _swigobj) | |
1713 | static PyObject *_wrap_delete_wxRealPoint(PyObject *self, PyObject *args) { | |
1714 | PyObject * _resultobj; | |
1715 | wxRealPoint * _arg0; | |
1716 | PyObject * _argo0 = 0; | |
1717 | ||
1718 | self = self; | |
1719 | if(!PyArg_ParseTuple(args,"O:delete_wxRealPoint",&_argo0)) | |
1720 | return NULL; | |
1721 | if (_argo0) { | |
1722 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1723 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRealPoint_p")) { | |
1724 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRealPoint. Expected _wxRealPoint_p."); | |
1725 | return NULL; | |
1726 | } | |
1727 | } | |
1728 | { | |
1729 | wxPy_BEGIN_ALLOW_THREADS; | |
1730 | delete_wxRealPoint(_arg0); | |
1731 | ||
1732 | wxPy_END_ALLOW_THREADS; | |
1733 | } Py_INCREF(Py_None); | |
1734 | _resultobj = Py_None; | |
1735 | return _resultobj; | |
1736 | } | |
1737 | ||
1738 | #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
1739 | static PyObject *_wrap_wxPoint_x_set(PyObject *self, PyObject *args) { | |
1740 | PyObject * _resultobj; | |
1741 | long _result; | |
1742 | wxPoint * _arg0; | |
1743 | long _arg1; | |
1744 | PyObject * _argo0 = 0; | |
1745 | ||
1746 | self = self; | |
1747 | if(!PyArg_ParseTuple(args,"Ol:wxPoint_x_set",&_argo0,&_arg1)) | |
1748 | return NULL; | |
1749 | if (_argo0) { | |
1750 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1751 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPoint_p")) { | |
1752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_set. Expected _wxPoint_p."); | |
1753 | return NULL; | |
1754 | } | |
1755 | } | |
1756 | { | |
1757 | wxPy_BEGIN_ALLOW_THREADS; | |
1758 | _result = (long )wxPoint_x_set(_arg0,_arg1); | |
1759 | ||
1760 | wxPy_END_ALLOW_THREADS; | |
1761 | } _resultobj = Py_BuildValue("l",_result); | |
1762 | return _resultobj; | |
1763 | } | |
1764 | ||
1765 | #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x) | |
1766 | static PyObject *_wrap_wxPoint_x_get(PyObject *self, PyObject *args) { | |
1767 | PyObject * _resultobj; | |
1768 | long _result; | |
1769 | wxPoint * _arg0; | |
1770 | PyObject * _argo0 = 0; | |
1771 | ||
1772 | self = self; | |
1773 | if(!PyArg_ParseTuple(args,"O:wxPoint_x_get",&_argo0)) | |
1774 | return NULL; | |
1775 | if (_argo0) { | |
1776 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1777 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPoint_p")) { | |
1778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_x_get. Expected _wxPoint_p."); | |
1779 | return NULL; | |
1780 | } | |
1781 | } | |
1782 | { | |
1783 | wxPy_BEGIN_ALLOW_THREADS; | |
1784 | _result = (long )wxPoint_x_get(_arg0); | |
1785 | ||
1786 | wxPy_END_ALLOW_THREADS; | |
1787 | } _resultobj = Py_BuildValue("l",_result); | |
1788 | return _resultobj; | |
1789 | } | |
1790 | ||
1791 | #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
1792 | static PyObject *_wrap_wxPoint_y_set(PyObject *self, PyObject *args) { | |
1793 | PyObject * _resultobj; | |
1794 | long _result; | |
1795 | wxPoint * _arg0; | |
1796 | long _arg1; | |
1797 | PyObject * _argo0 = 0; | |
1798 | ||
1799 | self = self; | |
1800 | if(!PyArg_ParseTuple(args,"Ol:wxPoint_y_set",&_argo0,&_arg1)) | |
1801 | return NULL; | |
1802 | if (_argo0) { | |
1803 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1804 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPoint_p")) { | |
1805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_set. Expected _wxPoint_p."); | |
1806 | return NULL; | |
1807 | } | |
1808 | } | |
1809 | { | |
1810 | wxPy_BEGIN_ALLOW_THREADS; | |
1811 | _result = (long )wxPoint_y_set(_arg0,_arg1); | |
1812 | ||
1813 | wxPy_END_ALLOW_THREADS; | |
1814 | } _resultobj = Py_BuildValue("l",_result); | |
1815 | return _resultobj; | |
1816 | } | |
1817 | ||
1818 | #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y) | |
1819 | static PyObject *_wrap_wxPoint_y_get(PyObject *self, PyObject *args) { | |
1820 | PyObject * _resultobj; | |
1821 | long _result; | |
1822 | wxPoint * _arg0; | |
1823 | PyObject * _argo0 = 0; | |
1824 | ||
1825 | self = self; | |
1826 | if(!PyArg_ParseTuple(args,"O:wxPoint_y_get",&_argo0)) | |
1827 | return NULL; | |
1828 | if (_argo0) { | |
1829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPoint_p")) { | |
1831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_y_get. Expected _wxPoint_p."); | |
1832 | return NULL; | |
1833 | } | |
1834 | } | |
1835 | { | |
1836 | wxPy_BEGIN_ALLOW_THREADS; | |
1837 | _result = (long )wxPoint_y_get(_arg0); | |
1838 | ||
1839 | wxPy_END_ALLOW_THREADS; | |
1840 | } _resultobj = Py_BuildValue("l",_result); | |
1841 | return _resultobj; | |
1842 | } | |
1843 | ||
1844 | #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1)) | |
1845 | static PyObject *_wrap_new_wxPoint(PyObject *self, PyObject *args) { | |
1846 | PyObject * _resultobj; | |
1847 | wxPoint * _result; | |
1848 | long _arg0 = (long ) 0; | |
1849 | long _arg1 = (long ) 0; | |
1850 | char _ptemp[128]; | |
1851 | ||
1852 | self = self; | |
1853 | if(!PyArg_ParseTuple(args,"|ll:new_wxPoint",&_arg0,&_arg1)) | |
1854 | return NULL; | |
1855 | { | |
1856 | wxPy_BEGIN_ALLOW_THREADS; | |
1857 | _result = (wxPoint *)new_wxPoint(_arg0,_arg1); | |
1858 | ||
1859 | wxPy_END_ALLOW_THREADS; | |
1860 | } if (_result) { | |
1861 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
1862 | _resultobj = Py_BuildValue("s",_ptemp); | |
1863 | } else { | |
1864 | Py_INCREF(Py_None); | |
1865 | _resultobj = Py_None; | |
1866 | } | |
1867 | return _resultobj; | |
1868 | } | |
1869 | ||
1870 | #define delete_wxPoint(_swigobj) (delete _swigobj) | |
1871 | static PyObject *_wrap_delete_wxPoint(PyObject *self, PyObject *args) { | |
1872 | PyObject * _resultobj; | |
1873 | wxPoint * _arg0; | |
1874 | PyObject * _argo0 = 0; | |
1875 | ||
1876 | self = self; | |
1877 | if(!PyArg_ParseTuple(args,"O:delete_wxPoint",&_argo0)) | |
1878 | return NULL; | |
1879 | if (_argo0) { | |
1880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPoint_p")) { | |
1882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPoint. Expected _wxPoint_p."); | |
1883 | return NULL; | |
1884 | } | |
1885 | } | |
1886 | { | |
1887 | wxPy_BEGIN_ALLOW_THREADS; | |
1888 | delete_wxPoint(_arg0); | |
1889 | ||
1890 | wxPy_END_ALLOW_THREADS; | |
1891 | } Py_INCREF(Py_None); | |
1892 | _resultobj = Py_None; | |
1893 | return _resultobj; | |
1894 | } | |
1895 | ||
1896 | static void wxPoint_Set(wxPoint *self,long x,long y) { | |
1897 | self->x = x; | |
1898 | self->y = y; | |
1899 | } | |
1900 | static PyObject *_wrap_wxPoint_Set(PyObject *self, PyObject *args) { | |
1901 | PyObject * _resultobj; | |
1902 | wxPoint * _arg0; | |
1903 | long _arg1; | |
1904 | long _arg2; | |
1905 | PyObject * _argo0 = 0; | |
1906 | ||
1907 | self = self; | |
1908 | if(!PyArg_ParseTuple(args,"Oll:wxPoint_Set",&_argo0,&_arg1,&_arg2)) | |
1909 | return NULL; | |
1910 | if (_argo0) { | |
1911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPoint_p")) { | |
1913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_Set. Expected _wxPoint_p."); | |
1914 | return NULL; | |
1915 | } | |
1916 | } | |
1917 | { | |
1918 | wxPy_BEGIN_ALLOW_THREADS; | |
1919 | wxPoint_Set(_arg0,_arg1,_arg2); | |
1920 | ||
1921 | wxPy_END_ALLOW_THREADS; | |
1922 | } Py_INCREF(Py_None); | |
1923 | _resultobj = Py_None; | |
1924 | return _resultobj; | |
1925 | } | |
1926 | ||
1927 | static PyObject * wxPoint_asTuple(wxPoint *self) { | |
1928 | PyObject* tup = PyTuple_New(2); | |
1929 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); | |
1930 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y)); | |
1931 | return tup; | |
1932 | } | |
1933 | static PyObject *_wrap_wxPoint_asTuple(PyObject *self, PyObject *args) { | |
1934 | PyObject * _resultobj; | |
1935 | PyObject * _result; | |
1936 | wxPoint * _arg0; | |
1937 | PyObject * _argo0 = 0; | |
1938 | ||
1939 | self = self; | |
1940 | if(!PyArg_ParseTuple(args,"O:wxPoint_asTuple",&_argo0)) | |
1941 | return NULL; | |
1942 | if (_argo0) { | |
1943 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1944 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPoint_p")) { | |
1945 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPoint_asTuple. Expected _wxPoint_p."); | |
1946 | return NULL; | |
1947 | } | |
1948 | } | |
1949 | { | |
1950 | wxPy_BEGIN_ALLOW_THREADS; | |
1951 | _result = (PyObject *)wxPoint_asTuple(_arg0); | |
1952 | ||
1953 | wxPy_END_ALLOW_THREADS; | |
1954 | }{ | |
1955 | _resultobj = _result; | |
1956 | } | |
1957 | return _resultobj; | |
1958 | } | |
1959 | ||
1960 | #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1961 | static PyObject *_wrap_new_wxRect(PyObject *self, PyObject *args) { | |
1962 | PyObject * _resultobj; | |
1963 | wxRect * _result; | |
1964 | long _arg0 = (long ) 0; | |
1965 | long _arg1 = (long ) 0; | |
1966 | long _arg2 = (long ) 0; | |
1967 | long _arg3 = (long ) 0; | |
1968 | char _ptemp[128]; | |
1969 | ||
1970 | self = self; | |
1971 | if(!PyArg_ParseTuple(args,"|llll:new_wxRect",&_arg0,&_arg1,&_arg2,&_arg3)) | |
1972 | return NULL; | |
1973 | { | |
1974 | wxPy_BEGIN_ALLOW_THREADS; | |
1975 | _result = (wxRect *)new_wxRect(_arg0,_arg1,_arg2,_arg3); | |
1976 | ||
1977 | wxPy_END_ALLOW_THREADS; | |
1978 | } if (_result) { | |
1979 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p"); | |
1980 | _resultobj = Py_BuildValue("s",_ptemp); | |
1981 | } else { | |
1982 | Py_INCREF(Py_None); | |
1983 | _resultobj = Py_None; | |
1984 | } | |
1985 | return _resultobj; | |
1986 | } | |
1987 | ||
1988 | #define delete_wxRect(_swigobj) (delete _swigobj) | |
1989 | static PyObject *_wrap_delete_wxRect(PyObject *self, PyObject *args) { | |
1990 | PyObject * _resultobj; | |
1991 | wxRect * _arg0; | |
1992 | PyObject * _argo0 = 0; | |
1993 | ||
1994 | self = self; | |
1995 | if(!PyArg_ParseTuple(args,"O:delete_wxRect",&_argo0)) | |
1996 | return NULL; | |
1997 | if (_argo0) { | |
1998 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1999 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2000 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRect. Expected _wxRect_p."); | |
2001 | return NULL; | |
2002 | } | |
2003 | } | |
2004 | { | |
2005 | wxPy_BEGIN_ALLOW_THREADS; | |
2006 | delete_wxRect(_arg0); | |
2007 | ||
2008 | wxPy_END_ALLOW_THREADS; | |
2009 | } Py_INCREF(Py_None); | |
2010 | _resultobj = Py_None; | |
2011 | return _resultobj; | |
2012 | } | |
2013 | ||
2014 | #define wxRect_GetX(_swigobj) (_swigobj->GetX()) | |
2015 | static PyObject *_wrap_wxRect_GetX(PyObject *self, PyObject *args) { | |
2016 | PyObject * _resultobj; | |
2017 | long _result; | |
2018 | wxRect * _arg0; | |
2019 | PyObject * _argo0 = 0; | |
2020 | ||
2021 | self = self; | |
2022 | if(!PyArg_ParseTuple(args,"O:wxRect_GetX",&_argo0)) | |
2023 | return NULL; | |
2024 | if (_argo0) { | |
2025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetX. Expected _wxRect_p."); | |
2028 | return NULL; | |
2029 | } | |
2030 | } | |
2031 | { | |
2032 | wxPy_BEGIN_ALLOW_THREADS; | |
2033 | _result = (long )wxRect_GetX(_arg0); | |
2034 | ||
2035 | wxPy_END_ALLOW_THREADS; | |
2036 | } _resultobj = Py_BuildValue("l",_result); | |
2037 | return _resultobj; | |
2038 | } | |
2039 | ||
2040 | #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
2041 | static PyObject *_wrap_wxRect_SetX(PyObject *self, PyObject *args) { | |
2042 | PyObject * _resultobj; | |
2043 | wxRect * _arg0; | |
2044 | long _arg1; | |
2045 | PyObject * _argo0 = 0; | |
2046 | ||
2047 | self = self; | |
2048 | if(!PyArg_ParseTuple(args,"Ol:wxRect_SetX",&_argo0,&_arg1)) | |
2049 | return NULL; | |
2050 | if (_argo0) { | |
2051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetX. Expected _wxRect_p."); | |
2054 | return NULL; | |
2055 | } | |
2056 | } | |
2057 | { | |
2058 | wxPy_BEGIN_ALLOW_THREADS; | |
2059 | wxRect_SetX(_arg0,_arg1); | |
2060 | ||
2061 | wxPy_END_ALLOW_THREADS; | |
2062 | } Py_INCREF(Py_None); | |
2063 | _resultobj = Py_None; | |
2064 | return _resultobj; | |
2065 | } | |
2066 | ||
2067 | #define wxRect_GetY(_swigobj) (_swigobj->GetY()) | |
2068 | static PyObject *_wrap_wxRect_GetY(PyObject *self, PyObject *args) { | |
2069 | PyObject * _resultobj; | |
2070 | long _result; | |
2071 | wxRect * _arg0; | |
2072 | PyObject * _argo0 = 0; | |
2073 | ||
2074 | self = self; | |
2075 | if(!PyArg_ParseTuple(args,"O:wxRect_GetY",&_argo0)) | |
2076 | return NULL; | |
2077 | if (_argo0) { | |
2078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetY. Expected _wxRect_p."); | |
2081 | return NULL; | |
2082 | } | |
2083 | } | |
2084 | { | |
2085 | wxPy_BEGIN_ALLOW_THREADS; | |
2086 | _result = (long )wxRect_GetY(_arg0); | |
2087 | ||
2088 | wxPy_END_ALLOW_THREADS; | |
2089 | } _resultobj = Py_BuildValue("l",_result); | |
2090 | return _resultobj; | |
2091 | } | |
2092 | ||
2093 | #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
2094 | static PyObject *_wrap_wxRect_SetY(PyObject *self, PyObject *args) { | |
2095 | PyObject * _resultobj; | |
2096 | wxRect * _arg0; | |
2097 | long _arg1; | |
2098 | PyObject * _argo0 = 0; | |
2099 | ||
2100 | self = self; | |
2101 | if(!PyArg_ParseTuple(args,"Ol:wxRect_SetY",&_argo0,&_arg1)) | |
2102 | return NULL; | |
2103 | if (_argo0) { | |
2104 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2105 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2106 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetY. Expected _wxRect_p."); | |
2107 | return NULL; | |
2108 | } | |
2109 | } | |
2110 | { | |
2111 | wxPy_BEGIN_ALLOW_THREADS; | |
2112 | wxRect_SetY(_arg0,_arg1); | |
2113 | ||
2114 | wxPy_END_ALLOW_THREADS; | |
2115 | } Py_INCREF(Py_None); | |
2116 | _resultobj = Py_None; | |
2117 | return _resultobj; | |
2118 | } | |
2119 | ||
2120 | #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
2121 | static PyObject *_wrap_wxRect_GetWidth(PyObject *self, PyObject *args) { | |
2122 | PyObject * _resultobj; | |
2123 | long _result; | |
2124 | wxRect * _arg0; | |
2125 | PyObject * _argo0 = 0; | |
2126 | ||
2127 | self = self; | |
2128 | if(!PyArg_ParseTuple(args,"O:wxRect_GetWidth",&_argo0)) | |
2129 | return NULL; | |
2130 | if (_argo0) { | |
2131 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2132 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2133 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetWidth. Expected _wxRect_p."); | |
2134 | return NULL; | |
2135 | } | |
2136 | } | |
2137 | { | |
2138 | wxPy_BEGIN_ALLOW_THREADS; | |
2139 | _result = (long )wxRect_GetWidth(_arg0); | |
2140 | ||
2141 | wxPy_END_ALLOW_THREADS; | |
2142 | } _resultobj = Py_BuildValue("l",_result); | |
2143 | return _resultobj; | |
2144 | } | |
2145 | ||
2146 | #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0)) | |
2147 | static PyObject *_wrap_wxRect_SetWidth(PyObject *self, PyObject *args) { | |
2148 | PyObject * _resultobj; | |
2149 | wxRect * _arg0; | |
2150 | long _arg1; | |
2151 | PyObject * _argo0 = 0; | |
2152 | ||
2153 | self = self; | |
2154 | if(!PyArg_ParseTuple(args,"Ol:wxRect_SetWidth",&_argo0,&_arg1)) | |
2155 | return NULL; | |
2156 | if (_argo0) { | |
2157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetWidth. Expected _wxRect_p."); | |
2160 | return NULL; | |
2161 | } | |
2162 | } | |
2163 | { | |
2164 | wxPy_BEGIN_ALLOW_THREADS; | |
2165 | wxRect_SetWidth(_arg0,_arg1); | |
2166 | ||
2167 | wxPy_END_ALLOW_THREADS; | |
2168 | } Py_INCREF(Py_None); | |
2169 | _resultobj = Py_None; | |
2170 | return _resultobj; | |
2171 | } | |
2172 | ||
2173 | #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
2174 | static PyObject *_wrap_wxRect_GetHeight(PyObject *self, PyObject *args) { | |
2175 | PyObject * _resultobj; | |
2176 | long _result; | |
2177 | wxRect * _arg0; | |
2178 | PyObject * _argo0 = 0; | |
2179 | ||
2180 | self = self; | |
2181 | if(!PyArg_ParseTuple(args,"O:wxRect_GetHeight",&_argo0)) | |
2182 | return NULL; | |
2183 | if (_argo0) { | |
2184 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2185 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetHeight. Expected _wxRect_p."); | |
2187 | return NULL; | |
2188 | } | |
2189 | } | |
2190 | { | |
2191 | wxPy_BEGIN_ALLOW_THREADS; | |
2192 | _result = (long )wxRect_GetHeight(_arg0); | |
2193 | ||
2194 | wxPy_END_ALLOW_THREADS; | |
2195 | } _resultobj = Py_BuildValue("l",_result); | |
2196 | return _resultobj; | |
2197 | } | |
2198 | ||
2199 | #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0)) | |
2200 | static PyObject *_wrap_wxRect_SetHeight(PyObject *self, PyObject *args) { | |
2201 | PyObject * _resultobj; | |
2202 | wxRect * _arg0; | |
2203 | long _arg1; | |
2204 | PyObject * _argo0 = 0; | |
2205 | ||
2206 | self = self; | |
2207 | if(!PyArg_ParseTuple(args,"Ol:wxRect_SetHeight",&_argo0,&_arg1)) | |
2208 | return NULL; | |
2209 | if (_argo0) { | |
2210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_SetHeight. Expected _wxRect_p."); | |
2213 | return NULL; | |
2214 | } | |
2215 | } | |
2216 | { | |
2217 | wxPy_BEGIN_ALLOW_THREADS; | |
2218 | wxRect_SetHeight(_arg0,_arg1); | |
2219 | ||
2220 | wxPy_END_ALLOW_THREADS; | |
2221 | } Py_INCREF(Py_None); | |
2222 | _resultobj = Py_None; | |
2223 | return _resultobj; | |
2224 | } | |
2225 | ||
2226 | #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
2227 | static PyObject *_wrap_wxRect_GetPosition(PyObject *self, PyObject *args) { | |
2228 | PyObject * _resultobj; | |
2229 | wxPoint * _result; | |
2230 | wxRect * _arg0; | |
2231 | PyObject * _argo0 = 0; | |
2232 | char _ptemp[128]; | |
2233 | ||
2234 | self = self; | |
2235 | if(!PyArg_ParseTuple(args,"O:wxRect_GetPosition",&_argo0)) | |
2236 | return NULL; | |
2237 | if (_argo0) { | |
2238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetPosition. Expected _wxRect_p."); | |
2241 | return NULL; | |
2242 | } | |
2243 | } | |
2244 | { | |
2245 | wxPy_BEGIN_ALLOW_THREADS; | |
2246 | _result = new wxPoint (wxRect_GetPosition(_arg0)); | |
2247 | ||
2248 | wxPy_END_ALLOW_THREADS; | |
2249 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2250 | _resultobj = Py_BuildValue("s",_ptemp); | |
2251 | return _resultobj; | |
2252 | } | |
2253 | ||
2254 | #define wxRect_GetSize(_swigobj) (_swigobj->GetSize()) | |
2255 | static PyObject *_wrap_wxRect_GetSize(PyObject *self, PyObject *args) { | |
2256 | PyObject * _resultobj; | |
2257 | wxSize * _result; | |
2258 | wxRect * _arg0; | |
2259 | PyObject * _argo0 = 0; | |
2260 | char _ptemp[128]; | |
2261 | ||
2262 | self = self; | |
2263 | if(!PyArg_ParseTuple(args,"O:wxRect_GetSize",&_argo0)) | |
2264 | return NULL; | |
2265 | if (_argo0) { | |
2266 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2267 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetSize. Expected _wxRect_p."); | |
2269 | return NULL; | |
2270 | } | |
2271 | } | |
2272 | { | |
2273 | wxPy_BEGIN_ALLOW_THREADS; | |
2274 | _result = new wxSize (wxRect_GetSize(_arg0)); | |
2275 | ||
2276 | wxPy_END_ALLOW_THREADS; | |
2277 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
2278 | _resultobj = Py_BuildValue("s",_ptemp); | |
2279 | return _resultobj; | |
2280 | } | |
2281 | ||
2282 | #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft()) | |
2283 | static PyObject *_wrap_wxRect_GetLeft(PyObject *self, PyObject *args) { | |
2284 | PyObject * _resultobj; | |
2285 | long _result; | |
2286 | wxRect * _arg0; | |
2287 | PyObject * _argo0 = 0; | |
2288 | ||
2289 | self = self; | |
2290 | if(!PyArg_ParseTuple(args,"O:wxRect_GetLeft",&_argo0)) | |
2291 | return NULL; | |
2292 | if (_argo0) { | |
2293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetLeft. Expected _wxRect_p."); | |
2296 | return NULL; | |
2297 | } | |
2298 | } | |
2299 | { | |
2300 | wxPy_BEGIN_ALLOW_THREADS; | |
2301 | _result = (long )wxRect_GetLeft(_arg0); | |
2302 | ||
2303 | wxPy_END_ALLOW_THREADS; | |
2304 | } _resultobj = Py_BuildValue("l",_result); | |
2305 | return _resultobj; | |
2306 | } | |
2307 | ||
2308 | #define wxRect_GetTop(_swigobj) (_swigobj->GetTop()) | |
2309 | static PyObject *_wrap_wxRect_GetTop(PyObject *self, PyObject *args) { | |
2310 | PyObject * _resultobj; | |
2311 | long _result; | |
2312 | wxRect * _arg0; | |
2313 | PyObject * _argo0 = 0; | |
2314 | ||
2315 | self = self; | |
2316 | if(!PyArg_ParseTuple(args,"O:wxRect_GetTop",&_argo0)) | |
2317 | return NULL; | |
2318 | if (_argo0) { | |
2319 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2320 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetTop. Expected _wxRect_p."); | |
2322 | return NULL; | |
2323 | } | |
2324 | } | |
2325 | { | |
2326 | wxPy_BEGIN_ALLOW_THREADS; | |
2327 | _result = (long )wxRect_GetTop(_arg0); | |
2328 | ||
2329 | wxPy_END_ALLOW_THREADS; | |
2330 | } _resultobj = Py_BuildValue("l",_result); | |
2331 | return _resultobj; | |
2332 | } | |
2333 | ||
2334 | #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom()) | |
2335 | static PyObject *_wrap_wxRect_GetBottom(PyObject *self, PyObject *args) { | |
2336 | PyObject * _resultobj; | |
2337 | long _result; | |
2338 | wxRect * _arg0; | |
2339 | PyObject * _argo0 = 0; | |
2340 | ||
2341 | self = self; | |
2342 | if(!PyArg_ParseTuple(args,"O:wxRect_GetBottom",&_argo0)) | |
2343 | return NULL; | |
2344 | if (_argo0) { | |
2345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetBottom. Expected _wxRect_p."); | |
2348 | return NULL; | |
2349 | } | |
2350 | } | |
2351 | { | |
2352 | wxPy_BEGIN_ALLOW_THREADS; | |
2353 | _result = (long )wxRect_GetBottom(_arg0); | |
2354 | ||
2355 | wxPy_END_ALLOW_THREADS; | |
2356 | } _resultobj = Py_BuildValue("l",_result); | |
2357 | return _resultobj; | |
2358 | } | |
2359 | ||
2360 | #define wxRect_GetRight(_swigobj) (_swigobj->GetRight()) | |
2361 | static PyObject *_wrap_wxRect_GetRight(PyObject *self, PyObject *args) { | |
2362 | PyObject * _resultobj; | |
2363 | long _result; | |
2364 | wxRect * _arg0; | |
2365 | PyObject * _argo0 = 0; | |
2366 | ||
2367 | self = self; | |
2368 | if(!PyArg_ParseTuple(args,"O:wxRect_GetRight",&_argo0)) | |
2369 | return NULL; | |
2370 | if (_argo0) { | |
2371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_GetRight. Expected _wxRect_p."); | |
2374 | return NULL; | |
2375 | } | |
2376 | } | |
2377 | { | |
2378 | wxPy_BEGIN_ALLOW_THREADS; | |
2379 | _result = (long )wxRect_GetRight(_arg0); | |
2380 | ||
2381 | wxPy_END_ALLOW_THREADS; | |
2382 | } _resultobj = Py_BuildValue("l",_result); | |
2383 | return _resultobj; | |
2384 | } | |
2385 | ||
2386 | #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval) | |
2387 | static PyObject *_wrap_wxRect_x_set(PyObject *self, PyObject *args) { | |
2388 | PyObject * _resultobj; | |
2389 | long _result; | |
2390 | wxRect * _arg0; | |
2391 | long _arg1; | |
2392 | PyObject * _argo0 = 0; | |
2393 | ||
2394 | self = self; | |
2395 | if(!PyArg_ParseTuple(args,"Ol:wxRect_x_set",&_argo0,&_arg1)) | |
2396 | return NULL; | |
2397 | if (_argo0) { | |
2398 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2399 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2400 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_set. Expected _wxRect_p."); | |
2401 | return NULL; | |
2402 | } | |
2403 | } | |
2404 | { | |
2405 | wxPy_BEGIN_ALLOW_THREADS; | |
2406 | _result = (long )wxRect_x_set(_arg0,_arg1); | |
2407 | ||
2408 | wxPy_END_ALLOW_THREADS; | |
2409 | } _resultobj = Py_BuildValue("l",_result); | |
2410 | return _resultobj; | |
2411 | } | |
2412 | ||
2413 | #define wxRect_x_get(_swigobj) ((long ) _swigobj->x) | |
2414 | static PyObject *_wrap_wxRect_x_get(PyObject *self, PyObject *args) { | |
2415 | PyObject * _resultobj; | |
2416 | long _result; | |
2417 | wxRect * _arg0; | |
2418 | PyObject * _argo0 = 0; | |
2419 | ||
2420 | self = self; | |
2421 | if(!PyArg_ParseTuple(args,"O:wxRect_x_get",&_argo0)) | |
2422 | return NULL; | |
2423 | if (_argo0) { | |
2424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_x_get. Expected _wxRect_p."); | |
2427 | return NULL; | |
2428 | } | |
2429 | } | |
2430 | { | |
2431 | wxPy_BEGIN_ALLOW_THREADS; | |
2432 | _result = (long )wxRect_x_get(_arg0); | |
2433 | ||
2434 | wxPy_END_ALLOW_THREADS; | |
2435 | } _resultobj = Py_BuildValue("l",_result); | |
2436 | return _resultobj; | |
2437 | } | |
2438 | ||
2439 | #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval) | |
2440 | static PyObject *_wrap_wxRect_y_set(PyObject *self, PyObject *args) { | |
2441 | PyObject * _resultobj; | |
2442 | long _result; | |
2443 | wxRect * _arg0; | |
2444 | long _arg1; | |
2445 | PyObject * _argo0 = 0; | |
2446 | ||
2447 | self = self; | |
2448 | if(!PyArg_ParseTuple(args,"Ol:wxRect_y_set",&_argo0,&_arg1)) | |
2449 | return NULL; | |
2450 | if (_argo0) { | |
2451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_set. Expected _wxRect_p."); | |
2454 | return NULL; | |
2455 | } | |
2456 | } | |
2457 | { | |
2458 | wxPy_BEGIN_ALLOW_THREADS; | |
2459 | _result = (long )wxRect_y_set(_arg0,_arg1); | |
2460 | ||
2461 | wxPy_END_ALLOW_THREADS; | |
2462 | } _resultobj = Py_BuildValue("l",_result); | |
2463 | return _resultobj; | |
2464 | } | |
2465 | ||
2466 | #define wxRect_y_get(_swigobj) ((long ) _swigobj->y) | |
2467 | static PyObject *_wrap_wxRect_y_get(PyObject *self, PyObject *args) { | |
2468 | PyObject * _resultobj; | |
2469 | long _result; | |
2470 | wxRect * _arg0; | |
2471 | PyObject * _argo0 = 0; | |
2472 | ||
2473 | self = self; | |
2474 | if(!PyArg_ParseTuple(args,"O:wxRect_y_get",&_argo0)) | |
2475 | return NULL; | |
2476 | if (_argo0) { | |
2477 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2478 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2479 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_y_get. Expected _wxRect_p."); | |
2480 | return NULL; | |
2481 | } | |
2482 | } | |
2483 | { | |
2484 | wxPy_BEGIN_ALLOW_THREADS; | |
2485 | _result = (long )wxRect_y_get(_arg0); | |
2486 | ||
2487 | wxPy_END_ALLOW_THREADS; | |
2488 | } _resultobj = Py_BuildValue("l",_result); | |
2489 | return _resultobj; | |
2490 | } | |
2491 | ||
2492 | #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval) | |
2493 | static PyObject *_wrap_wxRect_width_set(PyObject *self, PyObject *args) { | |
2494 | PyObject * _resultobj; | |
2495 | long _result; | |
2496 | wxRect * _arg0; | |
2497 | long _arg1; | |
2498 | PyObject * _argo0 = 0; | |
2499 | ||
2500 | self = self; | |
2501 | if(!PyArg_ParseTuple(args,"Ol:wxRect_width_set",&_argo0,&_arg1)) | |
2502 | return NULL; | |
2503 | if (_argo0) { | |
2504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_set. Expected _wxRect_p."); | |
2507 | return NULL; | |
2508 | } | |
2509 | } | |
2510 | { | |
2511 | wxPy_BEGIN_ALLOW_THREADS; | |
2512 | _result = (long )wxRect_width_set(_arg0,_arg1); | |
2513 | ||
2514 | wxPy_END_ALLOW_THREADS; | |
2515 | } _resultobj = Py_BuildValue("l",_result); | |
2516 | return _resultobj; | |
2517 | } | |
2518 | ||
2519 | #define wxRect_width_get(_swigobj) ((long ) _swigobj->width) | |
2520 | static PyObject *_wrap_wxRect_width_get(PyObject *self, PyObject *args) { | |
2521 | PyObject * _resultobj; | |
2522 | long _result; | |
2523 | wxRect * _arg0; | |
2524 | PyObject * _argo0 = 0; | |
2525 | ||
2526 | self = self; | |
2527 | if(!PyArg_ParseTuple(args,"O:wxRect_width_get",&_argo0)) | |
2528 | return NULL; | |
2529 | if (_argo0) { | |
2530 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2531 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2532 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_width_get. Expected _wxRect_p."); | |
2533 | return NULL; | |
2534 | } | |
2535 | } | |
2536 | { | |
2537 | wxPy_BEGIN_ALLOW_THREADS; | |
2538 | _result = (long )wxRect_width_get(_arg0); | |
2539 | ||
2540 | wxPy_END_ALLOW_THREADS; | |
2541 | } _resultobj = Py_BuildValue("l",_result); | |
2542 | return _resultobj; | |
2543 | } | |
2544 | ||
2545 | #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval) | |
2546 | static PyObject *_wrap_wxRect_height_set(PyObject *self, PyObject *args) { | |
2547 | PyObject * _resultobj; | |
2548 | long _result; | |
2549 | wxRect * _arg0; | |
2550 | long _arg1; | |
2551 | PyObject * _argo0 = 0; | |
2552 | ||
2553 | self = self; | |
2554 | if(!PyArg_ParseTuple(args,"Ol:wxRect_height_set",&_argo0,&_arg1)) | |
2555 | return NULL; | |
2556 | if (_argo0) { | |
2557 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2558 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2559 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_set. Expected _wxRect_p."); | |
2560 | return NULL; | |
2561 | } | |
2562 | } | |
2563 | { | |
2564 | wxPy_BEGIN_ALLOW_THREADS; | |
2565 | _result = (long )wxRect_height_set(_arg0,_arg1); | |
2566 | ||
2567 | wxPy_END_ALLOW_THREADS; | |
2568 | } _resultobj = Py_BuildValue("l",_result); | |
2569 | return _resultobj; | |
2570 | } | |
2571 | ||
2572 | #define wxRect_height_get(_swigobj) ((long ) _swigobj->height) | |
2573 | static PyObject *_wrap_wxRect_height_get(PyObject *self, PyObject *args) { | |
2574 | PyObject * _resultobj; | |
2575 | long _result; | |
2576 | wxRect * _arg0; | |
2577 | PyObject * _argo0 = 0; | |
2578 | ||
2579 | self = self; | |
2580 | if(!PyArg_ParseTuple(args,"O:wxRect_height_get",&_argo0)) | |
2581 | return NULL; | |
2582 | if (_argo0) { | |
2583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_height_get. Expected _wxRect_p."); | |
2586 | return NULL; | |
2587 | } | |
2588 | } | |
2589 | { | |
2590 | wxPy_BEGIN_ALLOW_THREADS; | |
2591 | _result = (long )wxRect_height_get(_arg0); | |
2592 | ||
2593 | wxPy_END_ALLOW_THREADS; | |
2594 | } _resultobj = Py_BuildValue("l",_result); | |
2595 | return _resultobj; | |
2596 | } | |
2597 | ||
2598 | static PyObject * wxRect_asTuple(wxRect *self) { | |
2599 | PyObject* tup = PyTuple_New(4); | |
2600 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x)); | |
2601 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y)); | |
2602 | PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->width)); | |
2603 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->height)); | |
2604 | return tup; | |
2605 | } | |
2606 | static PyObject *_wrap_wxRect_asTuple(PyObject *self, PyObject *args) { | |
2607 | PyObject * _resultobj; | |
2608 | PyObject * _result; | |
2609 | wxRect * _arg0; | |
2610 | PyObject * _argo0 = 0; | |
2611 | ||
2612 | self = self; | |
2613 | if(!PyArg_ParseTuple(args,"O:wxRect_asTuple",&_argo0)) | |
2614 | return NULL; | |
2615 | if (_argo0) { | |
2616 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2617 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRect_p")) { | |
2618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRect_asTuple. Expected _wxRect_p."); | |
2619 | return NULL; | |
2620 | } | |
2621 | } | |
2622 | { | |
2623 | wxPy_BEGIN_ALLOW_THREADS; | |
2624 | _result = (PyObject *)wxRect_asTuple(_arg0); | |
2625 | ||
2626 | wxPy_END_ALLOW_THREADS; | |
2627 | }{ | |
2628 | _resultobj = _result; | |
2629 | } | |
2630 | return _resultobj; | |
2631 | } | |
2632 | ||
2633 | #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0)) | |
2634 | static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args) { | |
2635 | PyObject * _resultobj; | |
2636 | wxPyTimer * _result; | |
2637 | PyObject * _arg0; | |
2638 | PyObject * _obj0 = 0; | |
2639 | char _ptemp[128]; | |
2640 | ||
2641 | self = self; | |
2642 | if(!PyArg_ParseTuple(args,"O:new_wxPyTimer",&_obj0)) | |
2643 | return NULL; | |
2644 | { | |
2645 | _arg0 = _obj0; | |
2646 | } | |
2647 | { | |
2648 | wxPy_BEGIN_ALLOW_THREADS; | |
2649 | _result = (wxPyTimer *)new_wxPyTimer(_arg0); | |
2650 | ||
2651 | wxPy_END_ALLOW_THREADS; | |
2652 | } if (_result) { | |
2653 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p"); | |
2654 | _resultobj = Py_BuildValue("s",_ptemp); | |
2655 | } else { | |
2656 | Py_INCREF(Py_None); | |
2657 | _resultobj = Py_None; | |
2658 | } | |
2659 | return _resultobj; | |
2660 | } | |
2661 | ||
2662 | #define delete_wxPyTimer(_swigobj) (delete _swigobj) | |
2663 | static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args) { | |
2664 | PyObject * _resultobj; | |
2665 | wxPyTimer * _arg0; | |
2666 | PyObject * _argo0 = 0; | |
2667 | ||
2668 | self = self; | |
2669 | if(!PyArg_ParseTuple(args,"O:delete_wxPyTimer",&_argo0)) | |
2670 | return NULL; | |
2671 | if (_argo0) { | |
2672 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2673 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) { | |
2674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p."); | |
2675 | return NULL; | |
2676 | } | |
2677 | } | |
2678 | { | |
2679 | wxPy_BEGIN_ALLOW_THREADS; | |
2680 | delete_wxPyTimer(_arg0); | |
2681 | ||
2682 | wxPy_END_ALLOW_THREADS; | |
2683 | } Py_INCREF(Py_None); | |
2684 | _resultobj = Py_None; | |
2685 | return _resultobj; | |
2686 | } | |
2687 | ||
2688 | #define wxPyTimer_Interval(_swigobj) (_swigobj->Interval()) | |
2689 | static PyObject *_wrap_wxPyTimer_Interval(PyObject *self, PyObject *args) { | |
2690 | PyObject * _resultobj; | |
2691 | int _result; | |
2692 | wxPyTimer * _arg0; | |
2693 | PyObject * _argo0 = 0; | |
2694 | ||
2695 | self = self; | |
2696 | if(!PyArg_ParseTuple(args,"O:wxPyTimer_Interval",&_argo0)) | |
2697 | return NULL; | |
2698 | if (_argo0) { | |
2699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) { | |
2701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Interval. Expected _wxPyTimer_p."); | |
2702 | return NULL; | |
2703 | } | |
2704 | } | |
2705 | { | |
2706 | wxPy_BEGIN_ALLOW_THREADS; | |
2707 | _result = (int )wxPyTimer_Interval(_arg0); | |
2708 | ||
2709 | wxPy_END_ALLOW_THREADS; | |
2710 | } _resultobj = Py_BuildValue("i",_result); | |
2711 | return _resultobj; | |
2712 | } | |
2713 | ||
2714 | #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1)) | |
2715 | static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args) { | |
2716 | PyObject * _resultobj; | |
2717 | wxPyTimer * _arg0; | |
2718 | int _arg1 = (int ) -1; | |
2719 | int _arg2 = (int ) FALSE; | |
2720 | PyObject * _argo0 = 0; | |
2721 | ||
2722 | self = self; | |
2723 | if(!PyArg_ParseTuple(args,"O|ii:wxPyTimer_Start",&_argo0,&_arg1,&_arg2)) | |
2724 | return NULL; | |
2725 | if (_argo0) { | |
2726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) { | |
2728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p."); | |
2729 | return NULL; | |
2730 | } | |
2731 | } | |
2732 | { | |
2733 | wxPy_BEGIN_ALLOW_THREADS; | |
2734 | wxPyTimer_Start(_arg0,_arg1,_arg2); | |
2735 | ||
2736 | wxPy_END_ALLOW_THREADS; | |
2737 | } Py_INCREF(Py_None); | |
2738 | _resultobj = Py_None; | |
2739 | return _resultobj; | |
2740 | } | |
2741 | ||
2742 | #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop()) | |
2743 | static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args) { | |
2744 | PyObject * _resultobj; | |
2745 | wxPyTimer * _arg0; | |
2746 | PyObject * _argo0 = 0; | |
2747 | ||
2748 | self = self; | |
2749 | if(!PyArg_ParseTuple(args,"O:wxPyTimer_Stop",&_argo0)) | |
2750 | return NULL; | |
2751 | if (_argo0) { | |
2752 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2753 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) { | |
2754 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p."); | |
2755 | return NULL; | |
2756 | } | |
2757 | } | |
2758 | { | |
2759 | wxPy_BEGIN_ALLOW_THREADS; | |
2760 | wxPyTimer_Stop(_arg0); | |
2761 | ||
2762 | wxPy_END_ALLOW_THREADS; | |
2763 | } Py_INCREF(Py_None); | |
2764 | _resultobj = Py_None; | |
2765 | return _resultobj; | |
2766 | } | |
2767 | ||
2768 | #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1)) | |
2769 | static PyObject *_wrap_wxIndividualLayoutConstraint_Above(PyObject *self, PyObject *args) { | |
2770 | PyObject * _resultobj; | |
2771 | wxIndividualLayoutConstraint * _arg0; | |
2772 | wxWindow * _arg1; | |
2773 | int _arg2 = (int ) 0; | |
2774 | PyObject * _argo0 = 0; | |
2775 | PyObject * _argo1 = 0; | |
2776 | ||
2777 | self = self; | |
2778 | if(!PyArg_ParseTuple(args,"OO|i:wxIndividualLayoutConstraint_Above",&_argo0,&_argo1,&_arg2)) | |
2779 | return NULL; | |
2780 | if (_argo0) { | |
2781 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2782 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2783 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p."); | |
2784 | return NULL; | |
2785 | } | |
2786 | } | |
2787 | if (_argo1) { | |
2788 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2789 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p."); | |
2791 | return NULL; | |
2792 | } | |
2793 | } | |
2794 | { | |
2795 | wxPy_BEGIN_ALLOW_THREADS; | |
2796 | wxIndividualLayoutConstraint_Above(_arg0,_arg1,_arg2); | |
2797 | ||
2798 | wxPy_END_ALLOW_THREADS; | |
2799 | } Py_INCREF(Py_None); | |
2800 | _resultobj = Py_None; | |
2801 | return _resultobj; | |
2802 | } | |
2803 | ||
2804 | #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0)) | |
2805 | static PyObject *_wrap_wxIndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args) { | |
2806 | PyObject * _resultobj; | |
2807 | wxIndividualLayoutConstraint * _arg0; | |
2808 | int _arg1; | |
2809 | PyObject * _argo0 = 0; | |
2810 | ||
2811 | self = self; | |
2812 | if(!PyArg_ParseTuple(args,"Oi:wxIndividualLayoutConstraint_Absolute",&_argo0,&_arg1)) | |
2813 | return NULL; | |
2814 | if (_argo0) { | |
2815 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2816 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2817 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p."); | |
2818 | return NULL; | |
2819 | } | |
2820 | } | |
2821 | { | |
2822 | wxPy_BEGIN_ALLOW_THREADS; | |
2823 | wxIndividualLayoutConstraint_Absolute(_arg0,_arg1); | |
2824 | ||
2825 | wxPy_END_ALLOW_THREADS; | |
2826 | } Py_INCREF(Py_None); | |
2827 | _resultobj = Py_None; | |
2828 | return _resultobj; | |
2829 | } | |
2830 | ||
2831 | #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs()) | |
2832 | static PyObject *_wrap_wxIndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args) { | |
2833 | PyObject * _resultobj; | |
2834 | wxIndividualLayoutConstraint * _arg0; | |
2835 | PyObject * _argo0 = 0; | |
2836 | ||
2837 | self = self; | |
2838 | if(!PyArg_ParseTuple(args,"O:wxIndividualLayoutConstraint_AsIs",&_argo0)) | |
2839 | return NULL; | |
2840 | if (_argo0) { | |
2841 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2842 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2843 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p."); | |
2844 | return NULL; | |
2845 | } | |
2846 | } | |
2847 | { | |
2848 | wxPy_BEGIN_ALLOW_THREADS; | |
2849 | wxIndividualLayoutConstraint_AsIs(_arg0); | |
2850 | ||
2851 | wxPy_END_ALLOW_THREADS; | |
2852 | } Py_INCREF(Py_None); | |
2853 | _resultobj = Py_None; | |
2854 | return _resultobj; | |
2855 | } | |
2856 | ||
2857 | #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1)) | |
2858 | static PyObject *_wrap_wxIndividualLayoutConstraint_Below(PyObject *self, PyObject *args) { | |
2859 | PyObject * _resultobj; | |
2860 | wxIndividualLayoutConstraint * _arg0; | |
2861 | wxWindow * _arg1; | |
2862 | int _arg2 = (int ) 0; | |
2863 | PyObject * _argo0 = 0; | |
2864 | PyObject * _argo1 = 0; | |
2865 | ||
2866 | self = self; | |
2867 | if(!PyArg_ParseTuple(args,"OO|i:wxIndividualLayoutConstraint_Below",&_argo0,&_argo1,&_arg2)) | |
2868 | return NULL; | |
2869 | if (_argo0) { | |
2870 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2871 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p."); | |
2873 | return NULL; | |
2874 | } | |
2875 | } | |
2876 | if (_argo1) { | |
2877 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2878 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p."); | |
2880 | return NULL; | |
2881 | } | |
2882 | } | |
2883 | { | |
2884 | wxPy_BEGIN_ALLOW_THREADS; | |
2885 | wxIndividualLayoutConstraint_Below(_arg0,_arg1,_arg2); | |
2886 | ||
2887 | wxPy_END_ALLOW_THREADS; | |
2888 | } Py_INCREF(Py_None); | |
2889 | _resultobj = Py_None; | |
2890 | return _resultobj; | |
2891 | } | |
2892 | ||
2893 | #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained()) | |
2894 | static PyObject *_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args) { | |
2895 | PyObject * _resultobj; | |
2896 | wxIndividualLayoutConstraint * _arg0; | |
2897 | PyObject * _argo0 = 0; | |
2898 | ||
2899 | self = self; | |
2900 | if(!PyArg_ParseTuple(args,"O:wxIndividualLayoutConstraint_Unconstrained",&_argo0)) | |
2901 | return NULL; | |
2902 | if (_argo0) { | |
2903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p."); | |
2906 | return NULL; | |
2907 | } | |
2908 | } | |
2909 | { | |
2910 | wxPy_BEGIN_ALLOW_THREADS; | |
2911 | wxIndividualLayoutConstraint_Unconstrained(_arg0); | |
2912 | ||
2913 | wxPy_END_ALLOW_THREADS; | |
2914 | } Py_INCREF(Py_None); | |
2915 | _resultobj = Py_None; | |
2916 | return _resultobj; | |
2917 | } | |
2918 | ||
2919 | #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1)) | |
2920 | static PyObject *_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args) { | |
2921 | PyObject * _resultobj; | |
2922 | wxIndividualLayoutConstraint * _arg0; | |
2923 | wxWindow * _arg1; | |
2924 | int _arg2 = (int ) 0; | |
2925 | PyObject * _argo0 = 0; | |
2926 | PyObject * _argo1 = 0; | |
2927 | ||
2928 | self = self; | |
2929 | if(!PyArg_ParseTuple(args,"OO|i:wxIndividualLayoutConstraint_LeftOf",&_argo0,&_argo1,&_arg2)) | |
2930 | return NULL; | |
2931 | if (_argo0) { | |
2932 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2933 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p."); | |
2935 | return NULL; | |
2936 | } | |
2937 | } | |
2938 | if (_argo1) { | |
2939 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2940 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p."); | |
2942 | return NULL; | |
2943 | } | |
2944 | } | |
2945 | { | |
2946 | wxPy_BEGIN_ALLOW_THREADS; | |
2947 | wxIndividualLayoutConstraint_LeftOf(_arg0,_arg1,_arg2); | |
2948 | ||
2949 | wxPy_END_ALLOW_THREADS; | |
2950 | } Py_INCREF(Py_None); | |
2951 | _resultobj = Py_None; | |
2952 | return _resultobj; | |
2953 | } | |
2954 | ||
2955 | #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2)) | |
2956 | static PyObject *_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args) { | |
2957 | PyObject * _resultobj; | |
2958 | wxIndividualLayoutConstraint * _arg0; | |
2959 | wxWindow * _arg1; | |
2960 | wxEdge _arg2; | |
2961 | int _arg3; | |
2962 | PyObject * _argo0 = 0; | |
2963 | PyObject * _argo1 = 0; | |
2964 | ||
2965 | self = self; | |
2966 | if(!PyArg_ParseTuple(args,"OOii:wxIndividualLayoutConstraint_PercentOf",&_argo0,&_argo1,&_arg2,&_arg3)) | |
2967 | return NULL; | |
2968 | if (_argo0) { | |
2969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
2971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p."); | |
2972 | return NULL; | |
2973 | } | |
2974 | } | |
2975 | if (_argo1) { | |
2976 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2977 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
2978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p."); | |
2979 | return NULL; | |
2980 | } | |
2981 | } | |
2982 | { | |
2983 | wxPy_BEGIN_ALLOW_THREADS; | |
2984 | wxIndividualLayoutConstraint_PercentOf(_arg0,_arg1,_arg2,_arg3); | |
2985 | ||
2986 | wxPy_END_ALLOW_THREADS; | |
2987 | } Py_INCREF(Py_None); | |
2988 | _resultobj = Py_None; | |
2989 | return _resultobj; | |
2990 | } | |
2991 | ||
2992 | #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1)) | |
2993 | static PyObject *_wrap_wxIndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args) { | |
2994 | PyObject * _resultobj; | |
2995 | wxIndividualLayoutConstraint * _arg0; | |
2996 | wxWindow * _arg1; | |
2997 | int _arg2 = (int ) 0; | |
2998 | PyObject * _argo0 = 0; | |
2999 | PyObject * _argo1 = 0; | |
3000 | ||
3001 | self = self; | |
3002 | if(!PyArg_ParseTuple(args,"OO|i:wxIndividualLayoutConstraint_RightOf",&_argo0,&_argo1,&_arg2)) | |
3003 | return NULL; | |
3004 | if (_argo0) { | |
3005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
3007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p."); | |
3008 | return NULL; | |
3009 | } | |
3010 | } | |
3011 | if (_argo1) { | |
3012 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3013 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
3014 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p."); | |
3015 | return NULL; | |
3016 | } | |
3017 | } | |
3018 | { | |
3019 | wxPy_BEGIN_ALLOW_THREADS; | |
3020 | wxIndividualLayoutConstraint_RightOf(_arg0,_arg1,_arg2); | |
3021 | ||
3022 | wxPy_END_ALLOW_THREADS; | |
3023 | } Py_INCREF(Py_None); | |
3024 | _resultobj = Py_None; | |
3025 | return _resultobj; | |
3026 | } | |
3027 | ||
3028 | #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2)) | |
3029 | static PyObject *_wrap_wxIndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args) { | |
3030 | PyObject * _resultobj; | |
3031 | wxIndividualLayoutConstraint * _arg0; | |
3032 | wxWindow * _arg1; | |
3033 | wxEdge _arg2; | |
3034 | int _arg3 = (int ) 0; | |
3035 | PyObject * _argo0 = 0; | |
3036 | PyObject * _argo1 = 0; | |
3037 | ||
3038 | self = self; | |
3039 | if(!PyArg_ParseTuple(args,"OOi|i:wxIndividualLayoutConstraint_SameAs",&_argo0,&_argo1,&_arg2,&_arg3)) | |
3040 | return NULL; | |
3041 | if (_argo0) { | |
3042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
3044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p."); | |
3045 | return NULL; | |
3046 | } | |
3047 | } | |
3048 | if (_argo1) { | |
3049 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3050 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
3051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p."); | |
3052 | return NULL; | |
3053 | } | |
3054 | } | |
3055 | { | |
3056 | wxPy_BEGIN_ALLOW_THREADS; | |
3057 | wxIndividualLayoutConstraint_SameAs(_arg0,_arg1,_arg2,_arg3); | |
3058 | ||
3059 | wxPy_END_ALLOW_THREADS; | |
3060 | } Py_INCREF(Py_None); | |
3061 | _resultobj = Py_None; | |
3062 | return _resultobj; | |
3063 | } | |
3064 | ||
3065 | #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3066 | static PyObject *_wrap_wxIndividualLayoutConstraint_Set(PyObject *self, PyObject *args) { | |
3067 | PyObject * _resultobj; | |
3068 | wxIndividualLayoutConstraint * _arg0; | |
3069 | wxRelationship _arg1; | |
3070 | wxWindow * _arg2; | |
3071 | wxEdge _arg3; | |
3072 | int _arg4 = (int ) 0; | |
3073 | int _arg5 = (int ) 0; | |
3074 | PyObject * _argo0 = 0; | |
3075 | PyObject * _argo2 = 0; | |
3076 | ||
3077 | self = self; | |
3078 | if(!PyArg_ParseTuple(args,"OiOi|ii:wxIndividualLayoutConstraint_Set",&_argo0,&_arg1,&_argo2,&_arg3,&_arg4,&_arg5)) | |
3079 | return NULL; | |
3080 | if (_argo0) { | |
3081 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3082 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIndividualLayoutConstraint_p")) { | |
3083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p."); | |
3084 | return NULL; | |
3085 | } | |
3086 | } | |
3087 | if (_argo2) { | |
3088 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3089 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
3090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p."); | |
3091 | return NULL; | |
3092 | } | |
3093 | } | |
3094 | { | |
3095 | wxPy_BEGIN_ALLOW_THREADS; | |
3096 | wxIndividualLayoutConstraint_Set(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3097 | ||
3098 | wxPy_END_ALLOW_THREADS; | |
3099 | } Py_INCREF(Py_None); | |
3100 | _resultobj = Py_None; | |
3101 | return _resultobj; | |
3102 | } | |
3103 | ||
3104 | #define new_wxLayoutConstraints() (new wxLayoutConstraints()) | |
3105 | static PyObject *_wrap_new_wxLayoutConstraints(PyObject *self, PyObject *args) { | |
3106 | PyObject * _resultobj; | |
3107 | wxLayoutConstraints * _result; | |
3108 | char _ptemp[128]; | |
3109 | ||
3110 | self = self; | |
3111 | if(!PyArg_ParseTuple(args,":new_wxLayoutConstraints")) | |
3112 | return NULL; | |
3113 | { | |
3114 | wxPy_BEGIN_ALLOW_THREADS; | |
3115 | _result = (wxLayoutConstraints *)new_wxLayoutConstraints(); | |
3116 | ||
3117 | wxPy_END_ALLOW_THREADS; | |
3118 | } if (_result) { | |
3119 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLayoutConstraints_p"); | |
3120 | _resultobj = Py_BuildValue("s",_ptemp); | |
3121 | } else { | |
3122 | Py_INCREF(Py_None); | |
3123 | _resultobj = Py_None; | |
3124 | } | |
3125 | return _resultobj; | |
3126 | } | |
3127 | ||
3128 | #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom) | |
3129 | static PyObject *_wrap_wxLayoutConstraints_bottom_get(PyObject *self, PyObject *args) { | |
3130 | PyObject * _resultobj; | |
3131 | wxIndividualLayoutConstraint * _result; | |
3132 | wxLayoutConstraints * _arg0; | |
3133 | PyObject * _argo0 = 0; | |
3134 | char _ptemp[128]; | |
3135 | ||
3136 | self = self; | |
3137 | if(!PyArg_ParseTuple(args,"O:wxLayoutConstraints_bottom_get",&_argo0)) | |
3138 | return NULL; | |
3139 | if (_argo0) { | |
3140 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3141 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
3142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p."); | |
3143 | return NULL; | |
3144 | } | |
3145 | } | |
3146 | { | |
3147 | wxPy_BEGIN_ALLOW_THREADS; | |
3148 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_bottom_get(_arg0); | |
3149 | ||
3150 | wxPy_END_ALLOW_THREADS; | |
3151 | } if (_result) { | |
3152 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
3153 | _resultobj = Py_BuildValue("s",_ptemp); | |
3154 | } else { | |
3155 | Py_INCREF(Py_None); | |
3156 | _resultobj = Py_None; | |
3157 | } | |
3158 | return _resultobj; | |
3159 | } | |
3160 | ||
3161 | #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX) | |
3162 | static PyObject *_wrap_wxLayoutConstraints_centreX_get(PyObject *self, PyObject *args) { | |
3163 | PyObject * _resultobj; | |
3164 | wxIndividualLayoutConstraint * _result; | |
3165 | wxLayoutConstraints * _arg0; | |
3166 | PyObject * _argo0 = 0; | |
3167 | char _ptemp[128]; | |
3168 | ||
3169 | self = self; | |
3170 | if(!PyArg_ParseTuple(args,"O:wxLayoutConstraints_centreX_get",&_argo0)) | |
3171 | return NULL; | |
3172 | if (_argo0) { | |
3173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
3175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p."); | |
3176 | return NULL; | |
3177 | } | |
3178 | } | |
3179 | { | |
3180 | wxPy_BEGIN_ALLOW_THREADS; | |
3181 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreX_get(_arg0); | |
3182 | ||
3183 | wxPy_END_ALLOW_THREADS; | |
3184 | } if (_result) { | |
3185 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
3186 | _resultobj = Py_BuildValue("s",_ptemp); | |
3187 | } else { | |
3188 | Py_INCREF(Py_None); | |
3189 | _resultobj = Py_None; | |
3190 | } | |
3191 | return _resultobj; | |
3192 | } | |
3193 | ||
3194 | #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY) | |
3195 | static PyObject *_wrap_wxLayoutConstraints_centreY_get(PyObject *self, PyObject *args) { | |
3196 | PyObject * _resultobj; | |
3197 | wxIndividualLayoutConstraint * _result; | |
3198 | wxLayoutConstraints * _arg0; | |
3199 | PyObject * _argo0 = 0; | |
3200 | char _ptemp[128]; | |
3201 | ||
3202 | self = self; | |
3203 | if(!PyArg_ParseTuple(args,"O:wxLayoutConstraints_centreY_get",&_argo0)) | |
3204 | return NULL; | |
3205 | if (_argo0) { | |
3206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
3208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p."); | |
3209 | return NULL; | |
3210 | } | |
3211 | } | |
3212 | { | |
3213 | wxPy_BEGIN_ALLOW_THREADS; | |
3214 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_centreY_get(_arg0); | |
3215 | ||
3216 | wxPy_END_ALLOW_THREADS; | |
3217 | } if (_result) { | |
3218 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
3219 | _resultobj = Py_BuildValue("s",_ptemp); | |
3220 | } else { | |
3221 | Py_INCREF(Py_None); | |
3222 | _resultobj = Py_None; | |
3223 | } | |
3224 | return _resultobj; | |
3225 | } | |
3226 | ||
3227 | #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height) | |
3228 | static PyObject *_wrap_wxLayoutConstraints_height_get(PyObject *self, PyObject *args) { | |
3229 | PyObject * _resultobj; | |
3230 | wxIndividualLayoutConstraint * _result; | |
3231 | wxLayoutConstraints * _arg0; | |
3232 | PyObject * _argo0 = 0; | |
3233 | char _ptemp[128]; | |
3234 | ||
3235 | self = self; | |
3236 | if(!PyArg_ParseTuple(args,"O:wxLayoutConstraints_height_get",&_argo0)) | |
3237 | return NULL; | |
3238 | if (_argo0) { | |
3239 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3240 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
3241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p."); | |
3242 | return NULL; | |
3243 | } | |
3244 | } | |
3245 | { | |
3246 | wxPy_BEGIN_ALLOW_THREADS; | |
3247 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_height_get(_arg0); | |
3248 | ||
3249 | wxPy_END_ALLOW_THREADS; | |
3250 | } if (_result) { | |
3251 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
3252 | _resultobj = Py_BuildValue("s",_ptemp); | |
3253 | } else { | |
3254 | Py_INCREF(Py_None); | |
3255 | _resultobj = Py_None; | |
3256 | } | |
3257 | return _resultobj; | |
3258 | } | |
3259 | ||
3260 | #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left) | |
3261 | static PyObject *_wrap_wxLayoutConstraints_left_get(PyObject *self, PyObject *args) { | |
3262 | PyObject * _resultobj; | |
3263 | wxIndividualLayoutConstraint * _result; | |
3264 | wxLayoutConstraints * _arg0; | |
3265 | PyObject * _argo0 = 0; | |
3266 | char _ptemp[128]; | |
3267 | ||
3268 | self = self; | |
3269 | if(!PyArg_ParseTuple(args,"O:wxLayoutConstraints_left_get",&_argo0)) | |
3270 | return NULL; | |
3271 | if (_argo0) { | |
3272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
3274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p."); | |
3275 | return NULL; | |
3276 | } | |
3277 | } | |
3278 | { | |
3279 | wxPy_BEGIN_ALLOW_THREADS; | |
3280 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_left_get(_arg0); | |
3281 | ||
3282 | wxPy_END_ALLOW_THREADS; | |
3283 | } if (_result) { | |
3284 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
3285 | _resultobj = Py_BuildValue("s",_ptemp); | |
3286 | } else { | |
3287 | Py_INCREF(Py_None); | |
3288 | _resultobj = Py_None; | |
3289 | } | |
3290 | return _resultobj; | |
3291 | } | |
3292 | ||
3293 | #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right) | |
3294 | static PyObject *_wrap_wxLayoutConstraints_right_get(PyObject *self, PyObject *args) { | |
3295 | PyObject * _resultobj; | |
3296 | wxIndividualLayoutConstraint * _result; | |
3297 | wxLayoutConstraints * _arg0; | |
3298 | PyObject * _argo0 = 0; | |
3299 | char _ptemp[128]; | |
3300 | ||
3301 | self = self; | |
3302 | if(!PyArg_ParseTuple(args,"O:wxLayoutConstraints_right_get",&_argo0)) | |
3303 | return NULL; | |
3304 | if (_argo0) { | |
3305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
3307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p."); | |
3308 | return NULL; | |
3309 | } | |
3310 | } | |
3311 | { | |
3312 | wxPy_BEGIN_ALLOW_THREADS; | |
3313 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_right_get(_arg0); | |
3314 | ||
3315 | wxPy_END_ALLOW_THREADS; | |
3316 | } if (_result) { | |
3317 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
3318 | _resultobj = Py_BuildValue("s",_ptemp); | |
3319 | } else { | |
3320 | Py_INCREF(Py_None); | |
3321 | _resultobj = Py_None; | |
3322 | } | |
3323 | return _resultobj; | |
3324 | } | |
3325 | ||
3326 | #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top) | |
3327 | static PyObject *_wrap_wxLayoutConstraints_top_get(PyObject *self, PyObject *args) { | |
3328 | PyObject * _resultobj; | |
3329 | wxIndividualLayoutConstraint * _result; | |
3330 | wxLayoutConstraints * _arg0; | |
3331 | PyObject * _argo0 = 0; | |
3332 | char _ptemp[128]; | |
3333 | ||
3334 | self = self; | |
3335 | if(!PyArg_ParseTuple(args,"O:wxLayoutConstraints_top_get",&_argo0)) | |
3336 | return NULL; | |
3337 | if (_argo0) { | |
3338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
3340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p."); | |
3341 | return NULL; | |
3342 | } | |
3343 | } | |
3344 | { | |
3345 | wxPy_BEGIN_ALLOW_THREADS; | |
3346 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_top_get(_arg0); | |
3347 | ||
3348 | wxPy_END_ALLOW_THREADS; | |
3349 | } if (_result) { | |
3350 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
3351 | _resultobj = Py_BuildValue("s",_ptemp); | |
3352 | } else { | |
3353 | Py_INCREF(Py_None); | |
3354 | _resultobj = Py_None; | |
3355 | } | |
3356 | return _resultobj; | |
3357 | } | |
3358 | ||
3359 | #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width) | |
3360 | static PyObject *_wrap_wxLayoutConstraints_width_get(PyObject *self, PyObject *args) { | |
3361 | PyObject * _resultobj; | |
3362 | wxIndividualLayoutConstraint * _result; | |
3363 | wxLayoutConstraints * _arg0; | |
3364 | PyObject * _argo0 = 0; | |
3365 | char _ptemp[128]; | |
3366 | ||
3367 | self = self; | |
3368 | if(!PyArg_ParseTuple(args,"O:wxLayoutConstraints_width_get",&_argo0)) | |
3369 | return NULL; | |
3370 | if (_argo0) { | |
3371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLayoutConstraints_p")) { | |
3373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p."); | |
3374 | return NULL; | |
3375 | } | |
3376 | } | |
3377 | { | |
3378 | wxPy_BEGIN_ALLOW_THREADS; | |
3379 | _result = (wxIndividualLayoutConstraint *)wxLayoutConstraints_width_get(_arg0); | |
3380 | ||
3381 | wxPy_END_ALLOW_THREADS; | |
3382 | } if (_result) { | |
3383 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxIndividualLayoutConstraint_p"); | |
3384 | _resultobj = Py_BuildValue("s",_ptemp); | |
3385 | } else { | |
3386 | Py_INCREF(Py_None); | |
3387 | _resultobj = Py_None; | |
3388 | } | |
3389 | return _resultobj; | |
3390 | } | |
3391 | ||
3392 | #define new_wxRegion() (new wxRegion()) | |
3393 | static PyObject *_wrap_new_wxRegion(PyObject *self, PyObject *args) { | |
3394 | PyObject * _resultobj; | |
3395 | wxRegion * _result; | |
3396 | char _ptemp[128]; | |
3397 | ||
3398 | self = self; | |
3399 | if(!PyArg_ParseTuple(args,":new_wxRegion")) | |
3400 | return NULL; | |
3401 | { | |
3402 | wxPy_BEGIN_ALLOW_THREADS; | |
3403 | _result = (wxRegion *)new_wxRegion(); | |
3404 | ||
3405 | wxPy_END_ALLOW_THREADS; | |
3406 | } if (_result) { | |
3407 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegion_p"); | |
3408 | _resultobj = Py_BuildValue("s",_ptemp); | |
3409 | } else { | |
3410 | Py_INCREF(Py_None); | |
3411 | _resultobj = Py_None; | |
3412 | } | |
3413 | return _resultobj; | |
3414 | } | |
3415 | ||
3416 | #define delete_wxRegion(_swigobj) (delete _swigobj) | |
3417 | static PyObject *_wrap_delete_wxRegion(PyObject *self, PyObject *args) { | |
3418 | PyObject * _resultobj; | |
3419 | wxRegion * _arg0; | |
3420 | PyObject * _argo0 = 0; | |
3421 | ||
3422 | self = self; | |
3423 | if(!PyArg_ParseTuple(args,"O:delete_wxRegion",&_argo0)) | |
3424 | return NULL; | |
3425 | if (_argo0) { | |
3426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) { | |
3428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p."); | |
3429 | return NULL; | |
3430 | } | |
3431 | } | |
3432 | { | |
3433 | wxPy_BEGIN_ALLOW_THREADS; | |
3434 | delete_wxRegion(_arg0); | |
3435 | ||
3436 | wxPy_END_ALLOW_THREADS; | |
3437 | } Py_INCREF(Py_None); | |
3438 | _resultobj = Py_None; | |
3439 | return _resultobj; | |
3440 | } | |
3441 | ||
3442 | #define wxRegion_Clear(_swigobj) (_swigobj->Clear()) | |
3443 | static PyObject *_wrap_wxRegion_Clear(PyObject *self, PyObject *args) { | |
3444 | PyObject * _resultobj; | |
3445 | wxRegion * _arg0; | |
3446 | PyObject * _argo0 = 0; | |
3447 | ||
3448 | self = self; | |
3449 | if(!PyArg_ParseTuple(args,"O:wxRegion_Clear",&_argo0)) | |
3450 | return NULL; | |
3451 | if (_argo0) { | |
3452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) { | |
3454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p."); | |
3455 | return NULL; | |
3456 | } | |
3457 | } | |
3458 | { | |
3459 | wxPy_BEGIN_ALLOW_THREADS; | |
3460 | wxRegion_Clear(_arg0); | |
3461 | ||
3462 | wxPy_END_ALLOW_THREADS; | |
3463 | } Py_INCREF(Py_None); | |
3464 | _resultobj = Py_None; | |
3465 | return _resultobj; | |
3466 | } | |
3467 | ||
3468 | #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1)) | |
3469 | static PyObject *_wrap_wxRegion_Contains(PyObject *self, PyObject *args) { | |
3470 | PyObject * _resultobj; | |
3471 | wxRegionContain _result; | |
3472 | wxRegion * _arg0; | |
3473 | long _arg1; | |
3474 | long _arg2; | |
3475 | PyObject * _argo0 = 0; | |
3476 | ||
3477 | self = self; | |
3478 | if(!PyArg_ParseTuple(args,"Oll:wxRegion_Contains",&_argo0,&_arg1,&_arg2)) | |
3479 | return NULL; | |
3480 | if (_argo0) { | |
3481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) { | |
3483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p."); | |
3484 | return NULL; | |
3485 | } | |
3486 | } | |
3487 | { | |
3488 | wxPy_BEGIN_ALLOW_THREADS; | |
3489 | _result = (wxRegionContain )wxRegion_Contains(_arg0,_arg1,_arg2); | |
3490 | ||
3491 | wxPy_END_ALLOW_THREADS; | |
3492 | } _resultobj = Py_BuildValue("i",_result); | |
3493 | return _resultobj; | |
3494 | } | |
3495 | ||
3496 | #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0)) | |
3497 | static PyObject *_wrap_wxRegion_ContainsPoint(PyObject *self, PyObject *args) { | |
3498 | PyObject * _resultobj; | |
3499 | wxRegionContain _result; | |
3500 | wxRegion * _arg0; | |
3501 | wxPoint * _arg1; | |
3502 | PyObject * _argo0 = 0; | |
3503 | PyObject * _argo1 = 0; | |
3504 | ||
3505 | self = self; | |
3506 | if(!PyArg_ParseTuple(args,"OO:wxRegion_ContainsPoint",&_argo0,&_argo1)) | |
3507 | return NULL; | |
3508 | if (_argo0) { | |
3509 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3510 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) { | |
3511 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p."); | |
3512 | return NULL; | |
3513 | } | |
3514 | } | |
3515 | if (_argo1) { | |
3516 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3517 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) { | |
3518 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_ContainsPoint. Expected _wxPoint_p."); | |
3519 | return NULL; | |
3520 | } | |
3521 | } | |
3522 | { | |
3523 | wxPy_BEGIN_ALLOW_THREADS; | |
3524 | _result = (wxRegionContain )wxRegion_ContainsPoint(_arg0,*_arg1); | |
3525 | ||
3526 | wxPy_END_ALLOW_THREADS; | |
3527 | } _resultobj = Py_BuildValue("i",_result); | |
3528 | return _resultobj; | |
3529 | } | |
3530 | ||
3531 | #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0)) | |
3532 | static PyObject *_wrap_wxRegion_ContainsRect(PyObject *self, PyObject *args) { | |
3533 | PyObject * _resultobj; | |
3534 | wxRegionContain _result; | |
3535 | wxRegion * _arg0; | |
3536 | wxRect * _arg1; | |
3537 | PyObject * _argo0 = 0; | |
3538 | PyObject * _argo1 = 0; | |
3539 | ||
3540 | self = self; | |
3541 | if(!PyArg_ParseTuple(args,"OO:wxRegion_ContainsRect",&_argo0,&_argo1)) | |
3542 | return NULL; | |
3543 | if (_argo0) { | |
3544 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3545 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) { | |
3546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p."); | |
3547 | return NULL; | |
3548 | } | |
3549 | } | |
3550 | if (_argo1) { | |
3551 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3552 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) { | |
3553 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_ContainsRect. Expected _wxRect_p."); | |
3554 | return NULL; | |
3555 | } | |
3556 | } | |
3557 | { | |
3558 | wxPy_BEGIN_ALLOW_THREADS; | |
3559 | _result = (wxRegionContain )wxRegion_ContainsRect(_arg0,*_arg1); | |
3560 | ||
3561 | wxPy_END_ALLOW_THREADS; | |
3562 | } _resultobj = Py_BuildValue("i",_result); | |
3563 | return _resultobj; | |
3564 | } | |
3565 | ||
3566 | #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox()) | |
3567 | static PyObject *_wrap_wxRegion_GetBox(PyObject *self, PyObject *args) { | |
3568 | PyObject * _resultobj; | |
3569 | wxRect * _result; | |
3570 | wxRegion * _arg0; | |
3571 | PyObject * _argo0 = 0; | |
3572 | char _ptemp[128]; | |
3573 | ||
3574 | self = self; | |
3575 | if(!PyArg_ParseTuple(args,"O:wxRegion_GetBox",&_argo0)) | |
3576 | return NULL; | |
3577 | if (_argo0) { | |
3578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) { | |
3580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p."); | |
3581 | return NULL; | |
3582 | } | |
3583 | } | |
3584 | { | |
3585 | wxPy_BEGIN_ALLOW_THREADS; | |
3586 | _result = new wxRect (wxRegion_GetBox(_arg0)); | |
3587 | ||
3588 | wxPy_END_ALLOW_THREADS; | |
3589 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); | |
3590 | _resultobj = Py_BuildValue("s",_ptemp); | |
3591 | return _resultobj; | |
3592 | } | |
3593 | ||
3594 | #define wxRegion_Intersect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0)) | |
3595 | static PyObject *_wrap_wxRegion_Intersect(PyObject *self, PyObject *args) { | |
3596 | PyObject * _resultobj; | |
3597 | bool _result; | |
3598 | wxRegion * _arg0; | |
3599 | wxRect * _arg1; | |
3600 | PyObject * _argo0 = 0; | |
3601 | PyObject * _argo1 = 0; | |
3602 | ||
3603 | self = self; | |
3604 | if(!PyArg_ParseTuple(args,"OO:wxRegion_Intersect",&_argo0,&_argo1)) | |
3605 | return NULL; | |
3606 | if (_argo0) { | |
3607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) { | |
3609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p."); | |
3610 | return NULL; | |
3611 | } | |
3612 | } | |
3613 | if (_argo1) { | |
3614 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3615 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) { | |
3616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Intersect. Expected _wxRect_p."); | |
3617 | return NULL; | |
3618 | } | |
3619 | } | |
3620 | { | |
3621 | wxPy_BEGIN_ALLOW_THREADS; | |
3622 | _result = (bool )wxRegion_Intersect(_arg0,*_arg1); | |
3623 | ||
3624 | wxPy_END_ALLOW_THREADS; | |
3625 | } _resultobj = Py_BuildValue("i",_result); | |
3626 | return _resultobj; | |
3627 | } | |
3628 | ||
3629 | #define wxRegion_Subtract(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0)) | |
3630 | static PyObject *_wrap_wxRegion_Subtract(PyObject *self, PyObject *args) { | |
3631 | PyObject * _resultobj; | |
3632 | bool _result; | |
3633 | wxRegion * _arg0; | |
3634 | wxRect * _arg1; | |
3635 | PyObject * _argo0 = 0; | |
3636 | PyObject * _argo1 = 0; | |
3637 | ||
3638 | self = self; | |
3639 | if(!PyArg_ParseTuple(args,"OO:wxRegion_Subtract",&_argo0,&_argo1)) | |
3640 | return NULL; | |
3641 | if (_argo0) { | |
3642 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3643 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) { | |
3644 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p."); | |
3645 | return NULL; | |
3646 | } | |
3647 | } | |
3648 | if (_argo1) { | |
3649 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3650 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) { | |
3651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Subtract. Expected _wxRect_p."); | |
3652 | return NULL; | |
3653 | } | |
3654 | } | |
3655 | { | |
3656 | wxPy_BEGIN_ALLOW_THREADS; | |
3657 | _result = (bool )wxRegion_Subtract(_arg0,*_arg1); | |
3658 | ||
3659 | wxPy_END_ALLOW_THREADS; | |
3660 | } _resultobj = Py_BuildValue("i",_result); | |
3661 | return _resultobj; | |
3662 | } | |
3663 | ||
3664 | #define wxRegion_Union(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0)) | |
3665 | static PyObject *_wrap_wxRegion_Union(PyObject *self, PyObject *args) { | |
3666 | PyObject * _resultobj; | |
3667 | bool _result; | |
3668 | wxRegion * _arg0; | |
3669 | wxRect * _arg1; | |
3670 | PyObject * _argo0 = 0; | |
3671 | PyObject * _argo1 = 0; | |
3672 | ||
3673 | self = self; | |
3674 | if(!PyArg_ParseTuple(args,"OO:wxRegion_Union",&_argo0,&_argo1)) | |
3675 | return NULL; | |
3676 | if (_argo0) { | |
3677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) { | |
3679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p."); | |
3680 | return NULL; | |
3681 | } | |
3682 | } | |
3683 | if (_argo1) { | |
3684 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3685 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) { | |
3686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Union. Expected _wxRect_p."); | |
3687 | return NULL; | |
3688 | } | |
3689 | } | |
3690 | { | |
3691 | wxPy_BEGIN_ALLOW_THREADS; | |
3692 | _result = (bool )wxRegion_Union(_arg0,*_arg1); | |
3693 | ||
3694 | wxPy_END_ALLOW_THREADS; | |
3695 | } _resultobj = Py_BuildValue("i",_result); | |
3696 | return _resultobj; | |
3697 | } | |
3698 | ||
3699 | #define wxRegion_Xor(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0)) | |
3700 | static PyObject *_wrap_wxRegion_Xor(PyObject *self, PyObject *args) { | |
3701 | PyObject * _resultobj; | |
3702 | bool _result; | |
3703 | wxRegion * _arg0; | |
3704 | wxRect * _arg1; | |
3705 | PyObject * _argo0 = 0; | |
3706 | PyObject * _argo1 = 0; | |
3707 | ||
3708 | self = self; | |
3709 | if(!PyArg_ParseTuple(args,"OO:wxRegion_Xor",&_argo0,&_argo1)) | |
3710 | return NULL; | |
3711 | if (_argo0) { | |
3712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) { | |
3714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p."); | |
3715 | return NULL; | |
3716 | } | |
3717 | } | |
3718 | if (_argo1) { | |
3719 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3720 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) { | |
3721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRegion_Xor. Expected _wxRect_p."); | |
3722 | return NULL; | |
3723 | } | |
3724 | } | |
3725 | { | |
3726 | wxPy_BEGIN_ALLOW_THREADS; | |
3727 | _result = (bool )wxRegion_Xor(_arg0,*_arg1); | |
3728 | ||
3729 | wxPy_END_ALLOW_THREADS; | |
3730 | } _resultobj = Py_BuildValue("i",_result); | |
3731 | return _resultobj; | |
3732 | } | |
3733 | ||
3734 | #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0)) | |
3735 | static PyObject *_wrap_new_wxRegionIterator(PyObject *self, PyObject *args) { | |
3736 | PyObject * _resultobj; | |
3737 | wxRegionIterator * _result; | |
3738 | wxRegion * _arg0; | |
3739 | PyObject * _argo0 = 0; | |
3740 | char _ptemp[128]; | |
3741 | ||
3742 | self = self; | |
3743 | if(!PyArg_ParseTuple(args,"O:new_wxRegionIterator",&_argo0)) | |
3744 | return NULL; | |
3745 | if (_argo0) { | |
3746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegion_p")) { | |
3748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p."); | |
3749 | return NULL; | |
3750 | } | |
3751 | } | |
3752 | { | |
3753 | wxPy_BEGIN_ALLOW_THREADS; | |
3754 | _result = (wxRegionIterator *)new_wxRegionIterator(*_arg0); | |
3755 | ||
3756 | wxPy_END_ALLOW_THREADS; | |
3757 | } if (_result) { | |
3758 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRegionIterator_p"); | |
3759 | _resultobj = Py_BuildValue("s",_ptemp); | |
3760 | } else { | |
3761 | Py_INCREF(Py_None); | |
3762 | _resultobj = Py_None; | |
3763 | } | |
3764 | return _resultobj; | |
3765 | } | |
3766 | ||
3767 | #define delete_wxRegionIterator(_swigobj) (delete _swigobj) | |
3768 | static PyObject *_wrap_delete_wxRegionIterator(PyObject *self, PyObject *args) { | |
3769 | PyObject * _resultobj; | |
3770 | wxRegionIterator * _arg0; | |
3771 | PyObject * _argo0 = 0; | |
3772 | ||
3773 | self = self; | |
3774 | if(!PyArg_ParseTuple(args,"O:delete_wxRegionIterator",&_argo0)) | |
3775 | return NULL; | |
3776 | if (_argo0) { | |
3777 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3778 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p."); | |
3780 | return NULL; | |
3781 | } | |
3782 | } | |
3783 | { | |
3784 | wxPy_BEGIN_ALLOW_THREADS; | |
3785 | delete_wxRegionIterator(_arg0); | |
3786 | ||
3787 | wxPy_END_ALLOW_THREADS; | |
3788 | } Py_INCREF(Py_None); | |
3789 | _resultobj = Py_None; | |
3790 | return _resultobj; | |
3791 | } | |
3792 | ||
3793 | #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX()) | |
3794 | static PyObject *_wrap_wxRegionIterator_GetX(PyObject *self, PyObject *args) { | |
3795 | PyObject * _resultobj; | |
3796 | long _result; | |
3797 | wxRegionIterator * _arg0; | |
3798 | PyObject * _argo0 = 0; | |
3799 | ||
3800 | self = self; | |
3801 | if(!PyArg_ParseTuple(args,"O:wxRegionIterator_GetX",&_argo0)) | |
3802 | return NULL; | |
3803 | if (_argo0) { | |
3804 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3805 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3806 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p."); | |
3807 | return NULL; | |
3808 | } | |
3809 | } | |
3810 | { | |
3811 | wxPy_BEGIN_ALLOW_THREADS; | |
3812 | _result = (long )wxRegionIterator_GetX(_arg0); | |
3813 | ||
3814 | wxPy_END_ALLOW_THREADS; | |
3815 | } _resultobj = Py_BuildValue("l",_result); | |
3816 | return _resultobj; | |
3817 | } | |
3818 | ||
3819 | #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY()) | |
3820 | static PyObject *_wrap_wxRegionIterator_GetY(PyObject *self, PyObject *args) { | |
3821 | PyObject * _resultobj; | |
3822 | long _result; | |
3823 | wxRegionIterator * _arg0; | |
3824 | PyObject * _argo0 = 0; | |
3825 | ||
3826 | self = self; | |
3827 | if(!PyArg_ParseTuple(args,"O:wxRegionIterator_GetY",&_argo0)) | |
3828 | return NULL; | |
3829 | if (_argo0) { | |
3830 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3831 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3832 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p."); | |
3833 | return NULL; | |
3834 | } | |
3835 | } | |
3836 | { | |
3837 | wxPy_BEGIN_ALLOW_THREADS; | |
3838 | _result = (long )wxRegionIterator_GetY(_arg0); | |
3839 | ||
3840 | wxPy_END_ALLOW_THREADS; | |
3841 | } _resultobj = Py_BuildValue("l",_result); | |
3842 | return _resultobj; | |
3843 | } | |
3844 | ||
3845 | #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW()) | |
3846 | static PyObject *_wrap_wxRegionIterator_GetW(PyObject *self, PyObject *args) { | |
3847 | PyObject * _resultobj; | |
3848 | long _result; | |
3849 | wxRegionIterator * _arg0; | |
3850 | PyObject * _argo0 = 0; | |
3851 | ||
3852 | self = self; | |
3853 | if(!PyArg_ParseTuple(args,"O:wxRegionIterator_GetW",&_argo0)) | |
3854 | return NULL; | |
3855 | if (_argo0) { | |
3856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p."); | |
3859 | return NULL; | |
3860 | } | |
3861 | } | |
3862 | { | |
3863 | wxPy_BEGIN_ALLOW_THREADS; | |
3864 | _result = (long )wxRegionIterator_GetW(_arg0); | |
3865 | ||
3866 | wxPy_END_ALLOW_THREADS; | |
3867 | } _resultobj = Py_BuildValue("l",_result); | |
3868 | return _resultobj; | |
3869 | } | |
3870 | ||
3871 | #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
3872 | static PyObject *_wrap_wxRegionIterator_GetWidth(PyObject *self, PyObject *args) { | |
3873 | PyObject * _resultobj; | |
3874 | long _result; | |
3875 | wxRegionIterator * _arg0; | |
3876 | PyObject * _argo0 = 0; | |
3877 | ||
3878 | self = self; | |
3879 | if(!PyArg_ParseTuple(args,"O:wxRegionIterator_GetWidth",&_argo0)) | |
3880 | return NULL; | |
3881 | if (_argo0) { | |
3882 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3883 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p."); | |
3885 | return NULL; | |
3886 | } | |
3887 | } | |
3888 | { | |
3889 | wxPy_BEGIN_ALLOW_THREADS; | |
3890 | _result = (long )wxRegionIterator_GetWidth(_arg0); | |
3891 | ||
3892 | wxPy_END_ALLOW_THREADS; | |
3893 | } _resultobj = Py_BuildValue("l",_result); | |
3894 | return _resultobj; | |
3895 | } | |
3896 | ||
3897 | #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH()) | |
3898 | static PyObject *_wrap_wxRegionIterator_GetH(PyObject *self, PyObject *args) { | |
3899 | PyObject * _resultobj; | |
3900 | long _result; | |
3901 | wxRegionIterator * _arg0; | |
3902 | PyObject * _argo0 = 0; | |
3903 | ||
3904 | self = self; | |
3905 | if(!PyArg_ParseTuple(args,"O:wxRegionIterator_GetH",&_argo0)) | |
3906 | return NULL; | |
3907 | if (_argo0) { | |
3908 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3909 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3910 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p."); | |
3911 | return NULL; | |
3912 | } | |
3913 | } | |
3914 | { | |
3915 | wxPy_BEGIN_ALLOW_THREADS; | |
3916 | _result = (long )wxRegionIterator_GetH(_arg0); | |
3917 | ||
3918 | wxPy_END_ALLOW_THREADS; | |
3919 | } _resultobj = Py_BuildValue("l",_result); | |
3920 | return _resultobj; | |
3921 | } | |
3922 | ||
3923 | #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
3924 | static PyObject *_wrap_wxRegionIterator_GetHeight(PyObject *self, PyObject *args) { | |
3925 | PyObject * _resultobj; | |
3926 | long _result; | |
3927 | wxRegionIterator * _arg0; | |
3928 | PyObject * _argo0 = 0; | |
3929 | ||
3930 | self = self; | |
3931 | if(!PyArg_ParseTuple(args,"O:wxRegionIterator_GetHeight",&_argo0)) | |
3932 | return NULL; | |
3933 | if (_argo0) { | |
3934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p."); | |
3937 | return NULL; | |
3938 | } | |
3939 | } | |
3940 | { | |
3941 | wxPy_BEGIN_ALLOW_THREADS; | |
3942 | _result = (long )wxRegionIterator_GetHeight(_arg0); | |
3943 | ||
3944 | wxPy_END_ALLOW_THREADS; | |
3945 | } _resultobj = Py_BuildValue("l",_result); | |
3946 | return _resultobj; | |
3947 | } | |
3948 | ||
3949 | #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect()) | |
3950 | static PyObject *_wrap_wxRegionIterator_GetRect(PyObject *self, PyObject *args) { | |
3951 | PyObject * _resultobj; | |
3952 | wxRect * _result; | |
3953 | wxRegionIterator * _arg0; | |
3954 | PyObject * _argo0 = 0; | |
3955 | char _ptemp[128]; | |
3956 | ||
3957 | self = self; | |
3958 | if(!PyArg_ParseTuple(args,"O:wxRegionIterator_GetRect",&_argo0)) | |
3959 | return NULL; | |
3960 | if (_argo0) { | |
3961 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3962 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p."); | |
3964 | return NULL; | |
3965 | } | |
3966 | } | |
3967 | { | |
3968 | wxPy_BEGIN_ALLOW_THREADS; | |
3969 | _result = new wxRect (wxRegionIterator_GetRect(_arg0)); | |
3970 | ||
3971 | wxPy_END_ALLOW_THREADS; | |
3972 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); | |
3973 | _resultobj = Py_BuildValue("s",_ptemp); | |
3974 | return _resultobj; | |
3975 | } | |
3976 | ||
3977 | #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects()) | |
3978 | static PyObject *_wrap_wxRegionIterator_HaveRects(PyObject *self, PyObject *args) { | |
3979 | PyObject * _resultobj; | |
3980 | bool _result; | |
3981 | wxRegionIterator * _arg0; | |
3982 | PyObject * _argo0 = 0; | |
3983 | ||
3984 | self = self; | |
3985 | if(!PyArg_ParseTuple(args,"O:wxRegionIterator_HaveRects",&_argo0)) | |
3986 | return NULL; | |
3987 | if (_argo0) { | |
3988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
3990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p."); | |
3991 | return NULL; | |
3992 | } | |
3993 | } | |
3994 | { | |
3995 | wxPy_BEGIN_ALLOW_THREADS; | |
3996 | _result = (bool )wxRegionIterator_HaveRects(_arg0); | |
3997 | ||
3998 | wxPy_END_ALLOW_THREADS; | |
3999 | } _resultobj = Py_BuildValue("i",_result); | |
4000 | return _resultobj; | |
4001 | } | |
4002 | ||
4003 | #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset()) | |
4004 | static PyObject *_wrap_wxRegionIterator_Reset(PyObject *self, PyObject *args) { | |
4005 | PyObject * _resultobj; | |
4006 | wxRegionIterator * _arg0; | |
4007 | PyObject * _argo0 = 0; | |
4008 | ||
4009 | self = self; | |
4010 | if(!PyArg_ParseTuple(args,"O:wxRegionIterator_Reset",&_argo0)) | |
4011 | return NULL; | |
4012 | if (_argo0) { | |
4013 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4014 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
4015 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p."); | |
4016 | return NULL; | |
4017 | } | |
4018 | } | |
4019 | { | |
4020 | wxPy_BEGIN_ALLOW_THREADS; | |
4021 | wxRegionIterator_Reset(_arg0); | |
4022 | ||
4023 | wxPy_END_ALLOW_THREADS; | |
4024 | } Py_INCREF(Py_None); | |
4025 | _resultobj = Py_None; | |
4026 | return _resultobj; | |
4027 | } | |
4028 | ||
4029 | static void wxRegionIterator_Next(wxRegionIterator *self) { | |
4030 | (*self) ++; | |
4031 | } | |
4032 | static PyObject *_wrap_wxRegionIterator_Next(PyObject *self, PyObject *args) { | |
4033 | PyObject * _resultobj; | |
4034 | wxRegionIterator * _arg0; | |
4035 | PyObject * _argo0 = 0; | |
4036 | ||
4037 | self = self; | |
4038 | if(!PyArg_ParseTuple(args,"O:wxRegionIterator_Next",&_argo0)) | |
4039 | return NULL; | |
4040 | if (_argo0) { | |
4041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRegionIterator_p")) { | |
4043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p."); | |
4044 | return NULL; | |
4045 | } | |
4046 | } | |
4047 | { | |
4048 | wxPy_BEGIN_ALLOW_THREADS; | |
4049 | wxRegionIterator_Next(_arg0); | |
4050 | ||
4051 | wxPy_END_ALLOW_THREADS; | |
4052 | } Py_INCREF(Py_None); | |
4053 | _resultobj = Py_None; | |
4054 | return _resultobj; | |
4055 | } | |
4056 | ||
4057 | #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2)) | |
4058 | static PyObject *_wrap_new_wxAcceleratorEntry(PyObject *self, PyObject *args) { | |
4059 | PyObject * _resultobj; | |
4060 | wxAcceleratorEntry * _result; | |
4061 | int _arg0 = (int ) 0; | |
4062 | int _arg1 = (int ) 0; | |
4063 | int _arg2 = (int ) 0; | |
4064 | char _ptemp[128]; | |
4065 | ||
4066 | self = self; | |
4067 | if(!PyArg_ParseTuple(args,"|iii:new_wxAcceleratorEntry",&_arg0,&_arg1,&_arg2)) | |
4068 | return NULL; | |
4069 | { | |
4070 | wxPy_BEGIN_ALLOW_THREADS; | |
4071 | _result = (wxAcceleratorEntry *)new_wxAcceleratorEntry(_arg0,_arg1,_arg2); | |
4072 | ||
4073 | wxPy_END_ALLOW_THREADS; | |
4074 | } if (_result) { | |
4075 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorEntry_p"); | |
4076 | _resultobj = Py_BuildValue("s",_ptemp); | |
4077 | } else { | |
4078 | Py_INCREF(Py_None); | |
4079 | _resultobj = Py_None; | |
4080 | } | |
4081 | return _resultobj; | |
4082 | } | |
4083 | ||
4084 | #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2)) | |
4085 | static PyObject *_wrap_wxAcceleratorEntry_Set(PyObject *self, PyObject *args) { | |
4086 | PyObject * _resultobj; | |
4087 | wxAcceleratorEntry * _arg0; | |
4088 | int _arg1; | |
4089 | int _arg2; | |
4090 | int _arg3; | |
4091 | PyObject * _argo0 = 0; | |
4092 | ||
4093 | self = self; | |
4094 | if(!PyArg_ParseTuple(args,"Oiii:wxAcceleratorEntry_Set",&_argo0,&_arg1,&_arg2,&_arg3)) | |
4095 | return NULL; | |
4096 | if (_argo0) { | |
4097 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4098 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
4099 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p."); | |
4100 | return NULL; | |
4101 | } | |
4102 | } | |
4103 | { | |
4104 | wxPy_BEGIN_ALLOW_THREADS; | |
4105 | wxAcceleratorEntry_Set(_arg0,_arg1,_arg2,_arg3); | |
4106 | ||
4107 | wxPy_END_ALLOW_THREADS; | |
4108 | } Py_INCREF(Py_None); | |
4109 | _resultobj = Py_None; | |
4110 | return _resultobj; | |
4111 | } | |
4112 | ||
4113 | #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags()) | |
4114 | static PyObject *_wrap_wxAcceleratorEntry_GetFlags(PyObject *self, PyObject *args) { | |
4115 | PyObject * _resultobj; | |
4116 | int _result; | |
4117 | wxAcceleratorEntry * _arg0; | |
4118 | PyObject * _argo0 = 0; | |
4119 | ||
4120 | self = self; | |
4121 | if(!PyArg_ParseTuple(args,"O:wxAcceleratorEntry_GetFlags",&_argo0)) | |
4122 | return NULL; | |
4123 | if (_argo0) { | |
4124 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4125 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
4126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p."); | |
4127 | return NULL; | |
4128 | } | |
4129 | } | |
4130 | { | |
4131 | wxPy_BEGIN_ALLOW_THREADS; | |
4132 | _result = (int )wxAcceleratorEntry_GetFlags(_arg0); | |
4133 | ||
4134 | wxPy_END_ALLOW_THREADS; | |
4135 | } _resultobj = Py_BuildValue("i",_result); | |
4136 | return _resultobj; | |
4137 | } | |
4138 | ||
4139 | #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode()) | |
4140 | static PyObject *_wrap_wxAcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args) { | |
4141 | PyObject * _resultobj; | |
4142 | int _result; | |
4143 | wxAcceleratorEntry * _arg0; | |
4144 | PyObject * _argo0 = 0; | |
4145 | ||
4146 | self = self; | |
4147 | if(!PyArg_ParseTuple(args,"O:wxAcceleratorEntry_GetKeyCode",&_argo0)) | |
4148 | return NULL; | |
4149 | if (_argo0) { | |
4150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
4152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p."); | |
4153 | return NULL; | |
4154 | } | |
4155 | } | |
4156 | { | |
4157 | wxPy_BEGIN_ALLOW_THREADS; | |
4158 | _result = (int )wxAcceleratorEntry_GetKeyCode(_arg0); | |
4159 | ||
4160 | wxPy_END_ALLOW_THREADS; | |
4161 | } _resultobj = Py_BuildValue("i",_result); | |
4162 | return _resultobj; | |
4163 | } | |
4164 | ||
4165 | #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand()) | |
4166 | static PyObject *_wrap_wxAcceleratorEntry_GetCommand(PyObject *self, PyObject *args) { | |
4167 | PyObject * _resultobj; | |
4168 | int _result; | |
4169 | wxAcceleratorEntry * _arg0; | |
4170 | PyObject * _argo0 = 0; | |
4171 | ||
4172 | self = self; | |
4173 | if(!PyArg_ParseTuple(args,"O:wxAcceleratorEntry_GetCommand",&_argo0)) | |
4174 | return NULL; | |
4175 | if (_argo0) { | |
4176 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4177 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxAcceleratorEntry_p")) { | |
4178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p."); | |
4179 | return NULL; | |
4180 | } | |
4181 | } | |
4182 | { | |
4183 | wxPy_BEGIN_ALLOW_THREADS; | |
4184 | _result = (int )wxAcceleratorEntry_GetCommand(_arg0); | |
4185 | ||
4186 | wxPy_END_ALLOW_THREADS; | |
4187 | } _resultobj = Py_BuildValue("i",_result); | |
4188 | return _resultobj; | |
4189 | } | |
4190 | ||
4191 | #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1)) | |
4192 | static PyObject *_wrap_new_wxAcceleratorTable(PyObject *self, PyObject *args) { | |
4193 | PyObject * _resultobj; | |
4194 | wxAcceleratorTable * _result; | |
4195 | int _arg0; | |
4196 | wxAcceleratorEntry * _arg1; | |
4197 | PyObject * _obj1 = 0; | |
4198 | char _ptemp[128]; | |
4199 | ||
4200 | self = self; | |
4201 | if(!PyArg_ParseTuple(args,"O:new_wxAcceleratorTable",&_obj1)) | |
4202 | return NULL; | |
4203 | if (_obj1) | |
4204 | { | |
4205 | _arg1 = wxAcceleratorEntry_LIST_helper(_obj1); | |
4206 | if (_arg1 == NULL) { | |
4207 | return NULL; | |
4208 | } | |
4209 | } | |
4210 | { | |
4211 | if (_obj1) { | |
4212 | _arg0 = PyList_Size(_obj1); | |
4213 | } | |
4214 | else { | |
4215 | _arg0 = 0; | |
4216 | } | |
4217 | } | |
4218 | { | |
4219 | wxPy_BEGIN_ALLOW_THREADS; | |
4220 | _result = (wxAcceleratorTable *)new_wxAcceleratorTable(_arg0,_arg1); | |
4221 | ||
4222 | wxPy_END_ALLOW_THREADS; | |
4223 | } if (_result) { | |
4224 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxAcceleratorTable_p"); | |
4225 | _resultobj = Py_BuildValue("s",_ptemp); | |
4226 | } else { | |
4227 | Py_INCREF(Py_None); | |
4228 | _resultobj = Py_None; | |
4229 | } | |
4230 | { | |
4231 | delete [] _arg1; | |
4232 | } | |
4233 | return _resultobj; | |
4234 | } | |
4235 | ||
4236 | static PyMethodDef misccMethods[] = { | |
4237 | { "new_wxAcceleratorTable", _wrap_new_wxAcceleratorTable, METH_VARARGS }, | |
4238 | { "wxAcceleratorEntry_GetCommand", _wrap_wxAcceleratorEntry_GetCommand, METH_VARARGS }, | |
4239 | { "wxAcceleratorEntry_GetKeyCode", _wrap_wxAcceleratorEntry_GetKeyCode, METH_VARARGS }, | |
4240 | { "wxAcceleratorEntry_GetFlags", _wrap_wxAcceleratorEntry_GetFlags, METH_VARARGS }, | |
4241 | { "wxAcceleratorEntry_Set", _wrap_wxAcceleratorEntry_Set, METH_VARARGS }, | |
4242 | { "new_wxAcceleratorEntry", _wrap_new_wxAcceleratorEntry, METH_VARARGS }, | |
4243 | { "wxRegionIterator_Next", _wrap_wxRegionIterator_Next, METH_VARARGS }, | |
4244 | { "wxRegionIterator_Reset", _wrap_wxRegionIterator_Reset, METH_VARARGS }, | |
4245 | { "wxRegionIterator_HaveRects", _wrap_wxRegionIterator_HaveRects, METH_VARARGS }, | |
4246 | { "wxRegionIterator_GetRect", _wrap_wxRegionIterator_GetRect, METH_VARARGS }, | |
4247 | { "wxRegionIterator_GetHeight", _wrap_wxRegionIterator_GetHeight, METH_VARARGS }, | |
4248 | { "wxRegionIterator_GetH", _wrap_wxRegionIterator_GetH, METH_VARARGS }, | |
4249 | { "wxRegionIterator_GetWidth", _wrap_wxRegionIterator_GetWidth, METH_VARARGS }, | |
4250 | { "wxRegionIterator_GetW", _wrap_wxRegionIterator_GetW, METH_VARARGS }, | |
4251 | { "wxRegionIterator_GetY", _wrap_wxRegionIterator_GetY, METH_VARARGS }, | |
4252 | { "wxRegionIterator_GetX", _wrap_wxRegionIterator_GetX, METH_VARARGS }, | |
4253 | { "delete_wxRegionIterator", _wrap_delete_wxRegionIterator, METH_VARARGS }, | |
4254 | { "new_wxRegionIterator", _wrap_new_wxRegionIterator, METH_VARARGS }, | |
4255 | { "wxRegion_Xor", _wrap_wxRegion_Xor, METH_VARARGS }, | |
4256 | { "wxRegion_Union", _wrap_wxRegion_Union, METH_VARARGS }, | |
4257 | { "wxRegion_Subtract", _wrap_wxRegion_Subtract, METH_VARARGS }, | |
4258 | { "wxRegion_Intersect", _wrap_wxRegion_Intersect, METH_VARARGS }, | |
4259 | { "wxRegion_GetBox", _wrap_wxRegion_GetBox, METH_VARARGS }, | |
4260 | { "wxRegion_ContainsRect", _wrap_wxRegion_ContainsRect, METH_VARARGS }, | |
4261 | { "wxRegion_ContainsPoint", _wrap_wxRegion_ContainsPoint, METH_VARARGS }, | |
4262 | { "wxRegion_Contains", _wrap_wxRegion_Contains, METH_VARARGS }, | |
4263 | { "wxRegion_Clear", _wrap_wxRegion_Clear, METH_VARARGS }, | |
4264 | { "delete_wxRegion", _wrap_delete_wxRegion, METH_VARARGS }, | |
4265 | { "new_wxRegion", _wrap_new_wxRegion, METH_VARARGS }, | |
4266 | { "wxLayoutConstraints_width_get", _wrap_wxLayoutConstraints_width_get, METH_VARARGS }, | |
4267 | { "wxLayoutConstraints_top_get", _wrap_wxLayoutConstraints_top_get, METH_VARARGS }, | |
4268 | { "wxLayoutConstraints_right_get", _wrap_wxLayoutConstraints_right_get, METH_VARARGS }, | |
4269 | { "wxLayoutConstraints_left_get", _wrap_wxLayoutConstraints_left_get, METH_VARARGS }, | |
4270 | { "wxLayoutConstraints_height_get", _wrap_wxLayoutConstraints_height_get, METH_VARARGS }, | |
4271 | { "wxLayoutConstraints_centreY_get", _wrap_wxLayoutConstraints_centreY_get, METH_VARARGS }, | |
4272 | { "wxLayoutConstraints_centreX_get", _wrap_wxLayoutConstraints_centreX_get, METH_VARARGS }, | |
4273 | { "wxLayoutConstraints_bottom_get", _wrap_wxLayoutConstraints_bottom_get, METH_VARARGS }, | |
4274 | { "new_wxLayoutConstraints", _wrap_new_wxLayoutConstraints, METH_VARARGS }, | |
4275 | { "wxIndividualLayoutConstraint_Set", _wrap_wxIndividualLayoutConstraint_Set, METH_VARARGS }, | |
4276 | { "wxIndividualLayoutConstraint_SameAs", _wrap_wxIndividualLayoutConstraint_SameAs, METH_VARARGS }, | |
4277 | { "wxIndividualLayoutConstraint_RightOf", _wrap_wxIndividualLayoutConstraint_RightOf, METH_VARARGS }, | |
4278 | { "wxIndividualLayoutConstraint_PercentOf", _wrap_wxIndividualLayoutConstraint_PercentOf, METH_VARARGS }, | |
4279 | { "wxIndividualLayoutConstraint_LeftOf", _wrap_wxIndividualLayoutConstraint_LeftOf, METH_VARARGS }, | |
4280 | { "wxIndividualLayoutConstraint_Unconstrained", _wrap_wxIndividualLayoutConstraint_Unconstrained, METH_VARARGS }, | |
4281 | { "wxIndividualLayoutConstraint_Below", _wrap_wxIndividualLayoutConstraint_Below, METH_VARARGS }, | |
4282 | { "wxIndividualLayoutConstraint_AsIs", _wrap_wxIndividualLayoutConstraint_AsIs, METH_VARARGS }, | |
4283 | { "wxIndividualLayoutConstraint_Absolute", _wrap_wxIndividualLayoutConstraint_Absolute, METH_VARARGS }, | |
4284 | { "wxIndividualLayoutConstraint_Above", _wrap_wxIndividualLayoutConstraint_Above, METH_VARARGS }, | |
4285 | { "wxPyTimer_Stop", _wrap_wxPyTimer_Stop, METH_VARARGS }, | |
4286 | { "wxPyTimer_Start", _wrap_wxPyTimer_Start, METH_VARARGS }, | |
4287 | { "wxPyTimer_Interval", _wrap_wxPyTimer_Interval, METH_VARARGS }, | |
4288 | { "delete_wxPyTimer", _wrap_delete_wxPyTimer, METH_VARARGS }, | |
4289 | { "new_wxPyTimer", _wrap_new_wxPyTimer, METH_VARARGS }, | |
4290 | { "wxRect_asTuple", _wrap_wxRect_asTuple, METH_VARARGS }, | |
4291 | { "wxRect_height_get", _wrap_wxRect_height_get, METH_VARARGS }, | |
4292 | { "wxRect_height_set", _wrap_wxRect_height_set, METH_VARARGS }, | |
4293 | { "wxRect_width_get", _wrap_wxRect_width_get, METH_VARARGS }, | |
4294 | { "wxRect_width_set", _wrap_wxRect_width_set, METH_VARARGS }, | |
4295 | { "wxRect_y_get", _wrap_wxRect_y_get, METH_VARARGS }, | |
4296 | { "wxRect_y_set", _wrap_wxRect_y_set, METH_VARARGS }, | |
4297 | { "wxRect_x_get", _wrap_wxRect_x_get, METH_VARARGS }, | |
4298 | { "wxRect_x_set", _wrap_wxRect_x_set, METH_VARARGS }, | |
4299 | { "wxRect_GetRight", _wrap_wxRect_GetRight, METH_VARARGS }, | |
4300 | { "wxRect_GetBottom", _wrap_wxRect_GetBottom, METH_VARARGS }, | |
4301 | { "wxRect_GetTop", _wrap_wxRect_GetTop, METH_VARARGS }, | |
4302 | { "wxRect_GetLeft", _wrap_wxRect_GetLeft, METH_VARARGS }, | |
4303 | { "wxRect_GetSize", _wrap_wxRect_GetSize, METH_VARARGS }, | |
4304 | { "wxRect_GetPosition", _wrap_wxRect_GetPosition, METH_VARARGS }, | |
4305 | { "wxRect_SetHeight", _wrap_wxRect_SetHeight, METH_VARARGS }, | |
4306 | { "wxRect_GetHeight", _wrap_wxRect_GetHeight, METH_VARARGS }, | |
4307 | { "wxRect_SetWidth", _wrap_wxRect_SetWidth, METH_VARARGS }, | |
4308 | { "wxRect_GetWidth", _wrap_wxRect_GetWidth, METH_VARARGS }, | |
4309 | { "wxRect_SetY", _wrap_wxRect_SetY, METH_VARARGS }, | |
4310 | { "wxRect_GetY", _wrap_wxRect_GetY, METH_VARARGS }, | |
4311 | { "wxRect_SetX", _wrap_wxRect_SetX, METH_VARARGS }, | |
4312 | { "wxRect_GetX", _wrap_wxRect_GetX, METH_VARARGS }, | |
4313 | { "delete_wxRect", _wrap_delete_wxRect, METH_VARARGS }, | |
4314 | { "new_wxRect", _wrap_new_wxRect, METH_VARARGS }, | |
4315 | { "wxPoint_asTuple", _wrap_wxPoint_asTuple, METH_VARARGS }, | |
4316 | { "wxPoint_Set", _wrap_wxPoint_Set, METH_VARARGS }, | |
4317 | { "delete_wxPoint", _wrap_delete_wxPoint, METH_VARARGS }, | |
4318 | { "new_wxPoint", _wrap_new_wxPoint, METH_VARARGS }, | |
4319 | { "wxPoint_y_get", _wrap_wxPoint_y_get, METH_VARARGS }, | |
4320 | { "wxPoint_y_set", _wrap_wxPoint_y_set, METH_VARARGS }, | |
4321 | { "wxPoint_x_get", _wrap_wxPoint_x_get, METH_VARARGS }, | |
4322 | { "wxPoint_x_set", _wrap_wxPoint_x_set, METH_VARARGS }, | |
4323 | { "delete_wxRealPoint", _wrap_delete_wxRealPoint, METH_VARARGS }, | |
4324 | { "new_wxRealPoint", _wrap_new_wxRealPoint, METH_VARARGS }, | |
4325 | { "wxRealPoint_y_get", _wrap_wxRealPoint_y_get, METH_VARARGS }, | |
4326 | { "wxRealPoint_y_set", _wrap_wxRealPoint_y_set, METH_VARARGS }, | |
4327 | { "wxRealPoint_x_get", _wrap_wxRealPoint_x_get, METH_VARARGS }, | |
4328 | { "wxRealPoint_x_set", _wrap_wxRealPoint_x_set, METH_VARARGS }, | |
4329 | { "wxSize_asTuple", _wrap_wxSize_asTuple, METH_VARARGS }, | |
4330 | { "wxSize_SetHeight", _wrap_wxSize_SetHeight, METH_VARARGS }, | |
4331 | { "wxSize_SetWidth", _wrap_wxSize_SetWidth, METH_VARARGS }, | |
4332 | { "wxSize_GetHeight", _wrap_wxSize_GetHeight, METH_VARARGS }, | |
4333 | { "wxSize_GetWidth", _wrap_wxSize_GetWidth, METH_VARARGS }, | |
4334 | { "wxSize_GetY", _wrap_wxSize_GetY, METH_VARARGS }, | |
4335 | { "wxSize_GetX", _wrap_wxSize_GetX, METH_VARARGS }, | |
4336 | { "wxSize_Set", _wrap_wxSize_Set, METH_VARARGS }, | |
4337 | { "delete_wxSize", _wrap_delete_wxSize, METH_VARARGS }, | |
4338 | { "new_wxSize", _wrap_new_wxSize, METH_VARARGS }, | |
4339 | { "wxSize_height_get", _wrap_wxSize_y_get, METH_VARARGS }, | |
4340 | { "wxSize_height_set", _wrap_wxSize_y_set, METH_VARARGS }, | |
4341 | { "wxSize_width_get", _wrap_wxSize_x_get, METH_VARARGS }, | |
4342 | { "wxSize_width_set", _wrap_wxSize_x_set, METH_VARARGS }, | |
4343 | { "wxSize_y_get", _wrap_wxSize_y_get, METH_VARARGS }, | |
4344 | { "wxSize_y_set", _wrap_wxSize_y_set, METH_VARARGS }, | |
4345 | { "wxSize_x_get", _wrap_wxSize_x_get, METH_VARARGS }, | |
4346 | { "wxSize_x_set", _wrap_wxSize_x_set, METH_VARARGS }, | |
4347 | { "wxSystemSettings_GetSystemMetric", _wrap_wxSystemSettings_GetSystemMetric, METH_VARARGS }, | |
4348 | { "wxSystemSettings_GetSystemFont", _wrap_wxSystemSettings_GetSystemFont, METH_VARARGS }, | |
4349 | { "wxSystemSettings_GetSystemColour", _wrap_wxSystemSettings_GetSystemColour, METH_VARARGS }, | |
4350 | { "wxResourceParseString", _wrap_wxResourceParseString, METH_VARARGS }, | |
4351 | { "wxResourceParseFile", _wrap_wxResourceParseFile, METH_VARARGS }, | |
4352 | { "wxResourceParseData", _wrap_wxResourceParseData, METH_VARARGS }, | |
4353 | { "wxResourceGetIdentifier", _wrap_wxResourceGetIdentifier, METH_VARARGS }, | |
4354 | { "wxResourceCreateMenuBar", _wrap_wxResourceCreateMenuBar, METH_VARARGS }, | |
4355 | { "wxResourceCreateIcon", _wrap_wxResourceCreateIcon, METH_VARARGS }, | |
4356 | { "wxResourceCreateBitmap", _wrap_wxResourceCreateBitmap, METH_VARARGS }, | |
4357 | { "wxResourceClear", _wrap_wxResourceClear, METH_VARARGS }, | |
4358 | { "wxResourceAddIdentifier", _wrap_wxResourceAddIdentifier, METH_VARARGS }, | |
4359 | { "wxGetResource", _wrap_wxGetResource, METH_VARARGS }, | |
4360 | { "wxEnableTopLevelWindows", _wrap_wxEnableTopLevelWindows, METH_VARARGS }, | |
4361 | { "wxSafeYield", _wrap_wxSafeYield, METH_VARARGS }, | |
4362 | { "wxYield", _wrap_wxYield, METH_VARARGS }, | |
4363 | { "wxSleep", _wrap_wxSleep, METH_VARARGS }, | |
4364 | { "wxNow", _wrap_wxNow, METH_VARARGS }, | |
4365 | { "wxIsBusy", _wrap_wxIsBusy, METH_VARARGS }, | |
4366 | { "wxGetMousePosition", _wrap_wxGetMousePosition, METH_VARARGS }, | |
4367 | { "wxExecute", _wrap_wxExecute, METH_VARARGS }, | |
4368 | { "wxEndBusyCursor", _wrap_wxEndBusyCursor, METH_VARARGS }, | |
4369 | { "wxDisplaySize", _wrap_wxDisplaySize, METH_VARARGS }, | |
4370 | { "wxBell", _wrap_wxBell, METH_VARARGS }, | |
4371 | { "wxBeginBusyCursor", _wrap_wxBeginBusyCursor, METH_VARARGS }, | |
4372 | { "RegisterId", _wrap_RegisterId, METH_VARARGS }, | |
4373 | { "NewId", _wrap_NewId, METH_VARARGS }, | |
4374 | { "wxRegisterId", _wrap_wxRegisterId, METH_VARARGS }, | |
4375 | { "wxNewId", _wrap_wxNewId, METH_VARARGS }, | |
4376 | { "wxSetCursor", _wrap_wxSetCursor, METH_VARARGS }, | |
4377 | { "wxDisplayDepth", _wrap_wxDisplayDepth, METH_VARARGS }, | |
4378 | { "wxColourDisplay", _wrap_wxColourDisplay, METH_VARARGS }, | |
4379 | { "wxGetNumberFromUser", _wrap_wxGetNumberFromUser, METH_VARARGS }, | |
4380 | { "wxMessageBox", _wrap_wxMessageBox, METH_VARARGS }, | |
4381 | { "wxGetSingleChoiceIndex", _wrap_wxGetSingleChoiceIndex, METH_VARARGS }, | |
4382 | { "wxGetSingleChoice", _wrap_wxGetSingleChoice, METH_VARARGS }, | |
4383 | { "wxGetTextFromUser", _wrap_wxGetTextFromUser, METH_VARARGS }, | |
4384 | { "wxFileSelector", _wrap_wxFileSelector, METH_VARARGS }, | |
4385 | { NULL, NULL } | |
4386 | }; | |
4387 | #ifdef __cplusplus | |
4388 | } | |
4389 | #endif | |
4390 | /* | |
4391 | * This table is used by the pointer type-checker | |
4392 | */ | |
4393 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
4394 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
4395 | { "_signed_long","_long",0}, | |
4396 | { "_wxPrintQuality","_int",0}, | |
4397 | { "_wxPrintQuality","_signed_int",0}, | |
4398 | { "_wxPrintQuality","_unsigned_int",0}, | |
4399 | { "_wxPrintQuality","_wxWindowID",0}, | |
4400 | { "_wxPrintQuality","_uint",0}, | |
4401 | { "_wxPrintQuality","_EBool",0}, | |
4402 | { "_wxPrintQuality","_size_t",0}, | |
4403 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
4404 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
4405 | { "_byte","_unsigned_char",0}, | |
4406 | { "_long","_unsigned_long",0}, | |
4407 | { "_long","_signed_long",0}, | |
4408 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
4409 | { "_size_t","_wxPrintQuality",0}, | |
4410 | { "_size_t","_unsigned_int",0}, | |
4411 | { "_size_t","_int",0}, | |
4412 | { "_size_t","_wxWindowID",0}, | |
4413 | { "_size_t","_uint",0}, | |
4414 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
4415 | { "_uint","_wxPrintQuality",0}, | |
4416 | { "_uint","_size_t",0}, | |
4417 | { "_uint","_unsigned_int",0}, | |
4418 | { "_uint","_int",0}, | |
4419 | { "_uint","_wxWindowID",0}, | |
4420 | { "_wxRect","_class_wxRect",0}, | |
4421 | { "_wxPoint","_class_wxPoint",0}, | |
4422 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
4423 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
4424 | { "_EBool","_wxPrintQuality",0}, | |
4425 | { "_EBool","_signed_int",0}, | |
4426 | { "_EBool","_int",0}, | |
4427 | { "_EBool","_wxWindowID",0}, | |
4428 | { "_class_wxRegion","_wxRegion",0}, | |
4429 | { "_unsigned_long","_long",0}, | |
4430 | { "_class_wxRect","_wxRect",0}, | |
4431 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
4432 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
4433 | { "_signed_int","_wxPrintQuality",0}, | |
4434 | { "_signed_int","_EBool",0}, | |
4435 | { "_signed_int","_wxWindowID",0}, | |
4436 | { "_signed_int","_int",0}, | |
4437 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
4438 | { "_WXTYPE","_short",0}, | |
4439 | { "_WXTYPE","_signed_short",0}, | |
4440 | { "_WXTYPE","_unsigned_short",0}, | |
4441 | { "_unsigned_short","_WXTYPE",0}, | |
4442 | { "_unsigned_short","_short",0}, | |
4443 | { "_class_wxPoint","_wxPoint",0}, | |
4444 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
4445 | { "_signed_short","_WXTYPE",0}, | |
4446 | { "_signed_short","_short",0}, | |
4447 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
4448 | { "_unsigned_char","_byte",0}, | |
4449 | { "_unsigned_int","_wxPrintQuality",0}, | |
4450 | { "_unsigned_int","_size_t",0}, | |
4451 | { "_unsigned_int","_uint",0}, | |
4452 | { "_unsigned_int","_wxWindowID",0}, | |
4453 | { "_unsigned_int","_int",0}, | |
4454 | { "_short","_WXTYPE",0}, | |
4455 | { "_short","_unsigned_short",0}, | |
4456 | { "_short","_signed_short",0}, | |
4457 | { "_wxWindowID","_wxPrintQuality",0}, | |
4458 | { "_wxWindowID","_size_t",0}, | |
4459 | { "_wxWindowID","_EBool",0}, | |
4460 | { "_wxWindowID","_uint",0}, | |
4461 | { "_wxWindowID","_int",0}, | |
4462 | { "_wxWindowID","_signed_int",0}, | |
4463 | { "_wxWindowID","_unsigned_int",0}, | |
4464 | { "_int","_wxPrintQuality",0}, | |
4465 | { "_int","_size_t",0}, | |
4466 | { "_int","_EBool",0}, | |
4467 | { "_int","_uint",0}, | |
4468 | { "_int","_wxWindowID",0}, | |
4469 | { "_int","_unsigned_int",0}, | |
4470 | { "_int","_signed_int",0}, | |
4471 | { "_wxSize","_class_wxSize",0}, | |
4472 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
4473 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
4474 | { "_wxRegion","_class_wxRegion",0}, | |
4475 | { "_class_wxSize","_wxSize",0}, | |
4476 | {0,0,0}}; | |
4477 | ||
4478 | static PyObject *SWIG_globals; | |
4479 | #ifdef __cplusplus | |
4480 | extern "C" | |
4481 | #endif | |
4482 | SWIGEXPORT(void) initmiscc() { | |
4483 | PyObject *m, *d; | |
4484 | SWIG_globals = SWIG_newvarlink(); | |
4485 | m = Py_InitModule("miscc", misccMethods); | |
4486 | d = PyModule_GetDict(m); | |
4487 | PyDict_SetItemString(d,"wxLeft", PyInt_FromLong((long) wxLeft)); | |
4488 | PyDict_SetItemString(d,"wxTop", PyInt_FromLong((long) wxTop)); | |
4489 | PyDict_SetItemString(d,"wxRight", PyInt_FromLong((long) wxRight)); | |
4490 | PyDict_SetItemString(d,"wxBottom", PyInt_FromLong((long) wxBottom)); | |
4491 | PyDict_SetItemString(d,"wxWidth", PyInt_FromLong((long) wxWidth)); | |
4492 | PyDict_SetItemString(d,"wxHeight", PyInt_FromLong((long) wxHeight)); | |
4493 | PyDict_SetItemString(d,"wxCentre", PyInt_FromLong((long) wxCentre)); | |
4494 | PyDict_SetItemString(d,"wxCenter", PyInt_FromLong((long) wxCenter)); | |
4495 | PyDict_SetItemString(d,"wxCentreX", PyInt_FromLong((long) wxCentreX)); | |
4496 | PyDict_SetItemString(d,"wxCentreY", PyInt_FromLong((long) wxCentreY)); | |
4497 | PyDict_SetItemString(d,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained)); | |
4498 | PyDict_SetItemString(d,"wxAsIs", PyInt_FromLong((long) wxAsIs)); | |
4499 | PyDict_SetItemString(d,"wxPercentOf", PyInt_FromLong((long) wxPercentOf)); | |
4500 | PyDict_SetItemString(d,"wxAbove", PyInt_FromLong((long) wxAbove)); | |
4501 | PyDict_SetItemString(d,"wxBelow", PyInt_FromLong((long) wxBelow)); | |
4502 | PyDict_SetItemString(d,"wxLeftOf", PyInt_FromLong((long) wxLeftOf)); | |
4503 | PyDict_SetItemString(d,"wxRightOf", PyInt_FromLong((long) wxRightOf)); | |
4504 | PyDict_SetItemString(d,"wxSameAs", PyInt_FromLong((long) wxSameAs)); | |
4505 | PyDict_SetItemString(d,"wxAbsolute", PyInt_FromLong((long) wxAbsolute)); | |
4506 | PyDict_SetItemString(d,"wxOutRegion", PyInt_FromLong((long) wxOutRegion)); | |
4507 | PyDict_SetItemString(d,"wxPartRegion", PyInt_FromLong((long) wxPartRegion)); | |
4508 | PyDict_SetItemString(d,"wxInRegion", PyInt_FromLong((long) wxInRegion)); | |
4509 | PyDict_SetItemString(d,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH)); | |
4510 | PyDict_SetItemString(d,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH)); | |
4511 | PyDict_SetItemString(d,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH)); | |
4512 | PyDict_SetItemString(d,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH)); | |
4513 | PyDict_SetItemString(d,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH)); | |
4514 | PyDict_SetItemString(d,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH)); | |
4515 | PyDict_SetItemString(d,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH)); | |
4516 | PyDict_SetItemString(d,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN)); | |
4517 | PyDict_SetItemString(d,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN)); | |
4518 | PyDict_SetItemString(d,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN)); | |
4519 | PyDict_SetItemString(d,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT)); | |
4520 | PyDict_SetItemString(d,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT)); | |
4521 | PyDict_SetItemString(d,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT)); | |
4522 | PyDict_SetItemString(d,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT)); | |
4523 | PyDict_SetItemString(d,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT)); | |
4524 | PyDict_SetItemString(d,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE)); | |
4525 | PyDict_SetItemString(d,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT)); | |
4526 | PyDict_SetItemString(d,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT)); | |
4527 | PyDict_SetItemString(d,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR)); | |
4528 | PyDict_SetItemString(d,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND)); | |
4529 | PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION)); | |
4530 | PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION)); | |
4531 | PyDict_SetItemString(d,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU)); | |
4532 | PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW)); | |
4533 | PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME)); | |
4534 | PyDict_SetItemString(d,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT)); | |
4535 | PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT)); | |
4536 | PyDict_SetItemString(d,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT)); | |
4537 | PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER)); | |
4538 | PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER)); | |
4539 | PyDict_SetItemString(d,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE)); | |
4540 | PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT)); | |
4541 | PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT)); | |
4542 | PyDict_SetItemString(d,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE)); | |
4543 | PyDict_SetItemString(d,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW)); | |
4544 | PyDict_SetItemString(d,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT)); | |
4545 | PyDict_SetItemString(d,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT)); | |
4546 | PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT)); | |
4547 | PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT)); | |
4548 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW)); | |
4549 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT)); | |
4550 | PyDict_SetItemString(d,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT)); | |
4551 | PyDict_SetItemString(d,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK)); | |
4552 | PyDict_SetItemString(d,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP)); | |
4553 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE)); | |
4554 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW)); | |
4555 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT)); | |
4556 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT)); | |
4557 | PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT)); | |
4558 | PyDict_SetItemString(d,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS)); | |
4559 | PyDict_SetItemString(d,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X)); | |
4560 | PyDict_SetItemString(d,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y)); | |
4561 | PyDict_SetItemString(d,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X)); | |
4562 | PyDict_SetItemString(d,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y)); | |
4563 | PyDict_SetItemString(d,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X)); | |
4564 | PyDict_SetItemString(d,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y)); | |
4565 | PyDict_SetItemString(d,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X)); | |
4566 | PyDict_SetItemString(d,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y)); | |
4567 | PyDict_SetItemString(d,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X)); | |
4568 | PyDict_SetItemString(d,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y)); | |
4569 | PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X)); | |
4570 | PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y)); | |
4571 | PyDict_SetItemString(d,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X)); | |
4572 | PyDict_SetItemString(d,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X)); | |
4573 | PyDict_SetItemString(d,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y)); | |
4574 | PyDict_SetItemString(d,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X)); | |
4575 | PyDict_SetItemString(d,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y)); | |
4576 | PyDict_SetItemString(d,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X)); | |
4577 | PyDict_SetItemString(d,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y)); | |
4578 | PyDict_SetItemString(d,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X)); | |
4579 | PyDict_SetItemString(d,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y)); | |
4580 | PyDict_SetItemString(d,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X)); | |
4581 | PyDict_SetItemString(d,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y)); | |
4582 | PyDict_SetItemString(d,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X)); | |
4583 | PyDict_SetItemString(d,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y)); | |
4584 | PyDict_SetItemString(d,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y)); | |
4585 | PyDict_SetItemString(d,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X)); | |
4586 | PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X)); | |
4587 | PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y)); | |
4588 | PyDict_SetItemString(d,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y)); | |
4589 | PyDict_SetItemString(d,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y)); | |
4590 | PyDict_SetItemString(d,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y)); | |
4591 | PyDict_SetItemString(d,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT)); | |
4592 | PyDict_SetItemString(d,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT)); | |
4593 | PyDict_SetItemString(d,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS)); | |
4594 | PyDict_SetItemString(d,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS)); | |
4595 | { | |
4596 | int i; | |
4597 | for (i = 0; _swig_mapping[i].n1; i++) | |
4598 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
4599 | } | |
4600 | } |