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