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