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