]>
Commit | Line | Data |
---|---|---|
d24a34bb | 1 | /* |
c368d904 | 2 | * FILE : src/gtk/misc2.cpp |
d24a34bb RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2cd2fac8 | 6 | * Version 1.1 (Build 883) |
d24a34bb 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) | |
2d091820 | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
d24a34bb RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
9c4165ad | 30 | # define SWIGEXPORT(a) a _export |
d24a34bb | 31 | # else |
9c4165ad | 32 | # define SWIGEXPORT(a) a |
d24a34bb RD |
33 | # endif |
34 | # endif | |
35 | #else | |
9c4165ad | 36 | # define SWIGEXPORT(a) a |
d24a34bb RD |
37 | #endif |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
9c4165ad | 42 | #include "Python.h" |
d24a34bb RD |
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 *); | |
2d091820 | 46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
d24a34bb RD |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
d24a34bb RD |
52 | #define SWIG_init initmisc2c |
53 | ||
54 | #define SWIG_name "misc2c" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include <wx/resource.h> | |
58 | #include <wx/tooltip.h> | |
8f17924e RD |
59 | #include <wx/caret.h> |
60 | #include <wx/fontenum.h> | |
f6bcfd97 | 61 | #include <wx/tipdlg.h> |
c368d904 | 62 | #include <wx/process.h> |
2cd2fac8 | 63 | #include <wx/joystick.h> |
d24a34bb RD |
64 | |
65 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
66 | PyObject* o2; | |
2cd2fac8 | 67 | if (!target) { |
d24a34bb | 68 | target = o; |
2cd2fac8 | 69 | } else if (target == Py_None) { |
d24a34bb RD |
70 | Py_DECREF(Py_None); |
71 | target = o; | |
2cd2fac8 | 72 | } else { |
d24a34bb RD |
73 | if (!PyList_Check(target)) { |
74 | o2 = target; | |
75 | target = PyList_New(0); | |
76 | PyList_Append(target, o2); | |
77 | Py_XDECREF(o2); | |
78 | } | |
79 | PyList_Append(target,o); | |
80 | Py_XDECREF(o); | |
81 | } | |
82 | return target; | |
83 | } | |
84 | ||
85 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
86 | PyObject* o2; | |
87 | PyObject* o3; | |
88 | ||
2cd2fac8 | 89 | if (!target) { |
d24a34bb | 90 | target = o; |
2cd2fac8 | 91 | } else if (target == Py_None) { |
d24a34bb RD |
92 | Py_DECREF(Py_None); |
93 | target = o; | |
2cd2fac8 | 94 | } else { |
d24a34bb RD |
95 | if (!PyTuple_Check(target)) { |
96 | o2 = target; | |
97 | target = PyTuple_New(1); | |
98 | PyTuple_SetItem(target, 0, o2); | |
99 | } | |
2cd2fac8 RD |
100 | o3 = PyTuple_New(1); |
101 | PyTuple_SetItem(o3, 0, o); | |
d24a34bb RD |
102 | |
103 | o2 = target; | |
2cd2fac8 RD |
104 | target = PySequence_Concat(o2, o3); |
105 | Py_DECREF(o2); | |
d24a34bb RD |
106 | Py_DECREF(o3); |
107 | } | |
108 | return target; | |
109 | } | |
110 | ||
d24a34bb RD |
111 | static char* wxStringErrorMsg = "string type is required for parameter"; |
112 | ||
b68dc582 RD |
113 | static wxString wxPyEmptyStr(""); |
114 | ||
bc29c5e0 RD |
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 | } | |
127 | ||
d24a34bb RD |
128 | void wxToolTip_Enable(bool flag) { |
129 | wxToolTip::Enable(flag); | |
130 | } | |
131 | ||
bc29c5e0 RD |
132 | void wxToolTip_SetDelay(long milliseconds) { |
133 | wxToolTip::SetDelay(milliseconds); | |
134 | } | |
135 | ||
136 | int wxCaret_GetBlinkTime() { | |
137 | return wxCaret::GetBlinkTime(); | |
138 | } | |
139 | ||
140 | void wxCaret_SetBlinkTime(int milliseconds) { | |
141 | wxCaret::SetBlinkTime(milliseconds); | |
142 | } | |
4120ef2b RD |
143 | |
144 | class wxPyFontEnumerator : public wxFontEnumerator { | |
145 | public: | |
146 | wxPyFontEnumerator() {} | |
147 | ~wxPyFontEnumerator() {} | |
148 | ||
149 | DEC_PYCALLBACK_BOOL_STRING(OnFacename); | |
150 | DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding); | |
151 | ||
152 | PYPRIVATE; | |
153 | }; | |
154 | ||
155 | IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator, wxFontEnumerator, OnFacename); | |
156 | IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator, wxFontEnumerator, OnFontEncoding); | |
157 | ||
f6bcfd97 BP |
158 | |
159 | class wxPyTipProvider : public wxTipProvider { | |
160 | public: | |
161 | wxPyTipProvider(size_t currentTip) | |
162 | : wxTipProvider(currentTip) {} | |
163 | ||
164 | DEC_PYCALLBACK_STRING__pure(GetTip); | |
165 | ||
166 | PYPRIVATE; | |
167 | }; | |
168 | ||
169 | IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip); | |
170 | ||
171 | ||
172 | #include <wx/generic/dragimgg.h> | |
173 | static wxPoint wxPyNullPoint; | |
174 | ||
175 | ||
176 | wxGenericDragImage* wxDragIcon(const wxIcon& image, | |
177 | const wxCursor& cursor, | |
178 | const wxPoint& hotspot) { | |
179 | return new wxGenericDragImage(image, cursor, hotspot); | |
180 | } | |
181 | ||
182 | wxGenericDragImage* wxDragString(const wxString& str, | |
183 | const wxCursor& cursor, | |
184 | const wxPoint& hotspot) { | |
185 | return new wxGenericDragImage(str, cursor, hotspot); | |
186 | } | |
187 | ||
188 | wxGenericDragImage* wxDragTreeItem(const wxTreeCtrl& treeCtrl, wxTreeItemId& id) { | |
189 | return new wxGenericDragImage(treeCtrl, id); | |
190 | } | |
191 | ||
192 | wxGenericDragImage* wxDragListItem(const wxListCtrl& listCtrl, long id) { | |
193 | return new wxGenericDragImage(listCtrl, id); | |
194 | } | |
195 | ||
c368d904 RD |
196 | // C++ version of wxProcess derived class |
197 | ||
198 | class wxPyProcess : public wxProcess { | |
199 | public: | |
200 | wxPyProcess(wxEvtHandler *parent = NULL, int id = -1) | |
201 | : wxProcess(parent, id) | |
202 | {} | |
203 | ||
204 | DEC_PYCALLBACK_VOID_INTINT(OnTerminate); | |
205 | ||
206 | PYPRIVATE; | |
207 | }; | |
208 | ||
209 | IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate); | |
bc29c5e0 RD |
210 | #ifdef __cplusplus |
211 | extern "C" { | |
212 | #endif | |
213 | static PyObject *_wrap_wxFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) { | |
214 | PyObject * _resultobj; | |
215 | wxString * _result; | |
216 | char * _arg0; | |
217 | char * _arg1 = (char *) NULL; | |
218 | char * _arg2 = (char *) NULL; | |
219 | char * _arg3 = (char *) NULL; | |
220 | char * _arg4 = (char *) "*.*"; | |
221 | int _arg5 = (int ) 0; | |
222 | wxWindow * _arg6 = (wxWindow *) NULL; | |
223 | int _arg7 = (int ) -1; | |
224 | int _arg8 = (int ) -1; | |
225 | PyObject * _argo6 = 0; | |
226 | char *_kwnames[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL }; | |
227 | ||
228 | self = self; | |
229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|ssssiOii:wxFileSelector",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6,&_arg7,&_arg8)) | |
230 | return NULL; | |
231 | if (_argo6) { | |
232 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
233 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) { | |
234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p."); | |
235 | return NULL; | |
236 | } | |
237 | } | |
238 | { | |
239 | wxPy_BEGIN_ALLOW_THREADS; | |
240 | _result = new wxString (wxFileSelector(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8)); | |
241 | ||
242 | wxPy_END_ALLOW_THREADS; | |
243 | }{ | |
e02c03a4 | 244 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
bc29c5e0 RD |
245 | } |
246 | { | |
247 | delete _result; | |
248 | } | |
249 | return _resultobj; | |
250 | } | |
251 | ||
252 | static PyObject *_wrap_wxGetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
253 | PyObject * _resultobj; | |
254 | wxString * _result; | |
255 | wxString * _arg0; | |
256 | wxString * _arg1 = (wxString *) &wxPyEmptyStr; | |
257 | wxString * _arg2 = (wxString *) &wxPyEmptyStr; | |
258 | wxWindow * _arg3 = (wxWindow *) NULL; | |
259 | int _arg4 = (int ) -1; | |
260 | int _arg5 = (int ) -1; | |
261 | bool _arg6 = (bool ) TRUE; | |
262 | PyObject * _obj0 = 0; | |
263 | PyObject * _obj1 = 0; | |
264 | PyObject * _obj2 = 0; | |
265 | PyObject * _argo3 = 0; | |
266 | int tempbool6 = (int) TRUE; | |
267 | char *_kwnames[] = { "message","caption","default_value","parent","x","y","centre", NULL }; | |
268 | ||
269 | self = self; | |
270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOOiii:wxGetTextFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_argo3,&_arg4,&_arg5,&tempbool6)) | |
271 | return NULL; | |
272 | { | |
2cd2fac8 RD |
273 | #if PYTHON_API_VERSION >= 1009 |
274 | char* tmpPtr; int tmpSize; | |
275 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
276 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
277 | return NULL; | |
278 | } | |
279 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
280 | return NULL; | |
281 | _arg0 = new wxString(tmpPtr, tmpSize); | |
282 | #else | |
bc29c5e0 RD |
283 | if (!PyString_Check(_obj0)) { |
284 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
285 | return NULL; | |
286 | } | |
2cd2fac8 RD |
287 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
288 | #endif | |
bc29c5e0 RD |
289 | } |
290 | if (_obj1) | |
291 | { | |
2cd2fac8 RD |
292 | #if PYTHON_API_VERSION >= 1009 |
293 | char* tmpPtr; int tmpSize; | |
294 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
295 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
296 | return NULL; | |
297 | } | |
298 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
299 | return NULL; | |
300 | _arg1 = new wxString(tmpPtr, tmpSize); | |
301 | #else | |
bc29c5e0 RD |
302 | if (!PyString_Check(_obj1)) { |
303 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
304 | return NULL; | |
305 | } | |
2cd2fac8 RD |
306 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
307 | #endif | |
bc29c5e0 RD |
308 | } |
309 | if (_obj2) | |
310 | { | |
2cd2fac8 RD |
311 | #if PYTHON_API_VERSION >= 1009 |
312 | char* tmpPtr; int tmpSize; | |
313 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
314 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
315 | return NULL; | |
316 | } | |
317 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
318 | return NULL; | |
319 | _arg2 = new wxString(tmpPtr, tmpSize); | |
320 | #else | |
bc29c5e0 RD |
321 | if (!PyString_Check(_obj2)) { |
322 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
323 | return NULL; | |
324 | } | |
2cd2fac8 RD |
325 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
326 | #endif | |
bc29c5e0 RD |
327 | } |
328 | if (_argo3) { | |
329 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
330 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) { | |
331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p."); | |
332 | return NULL; | |
333 | } | |
334 | } | |
335 | _arg6 = (bool ) tempbool6; | |
336 | { | |
337 | wxPy_BEGIN_ALLOW_THREADS; | |
338 | _result = new wxString (wxGetTextFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6)); | |
339 | ||
340 | wxPy_END_ALLOW_THREADS; | |
341 | }{ | |
e02c03a4 | 342 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
bc29c5e0 RD |
343 | } |
344 | { | |
345 | if (_obj0) | |
346 | delete _arg0; | |
347 | } | |
348 | { | |
349 | if (_obj1) | |
350 | delete _arg1; | |
351 | } | |
352 | { | |
353 | if (_obj2) | |
354 | delete _arg2; | |
355 | } | |
356 | { | |
357 | delete _result; | |
358 | } | |
359 | return _resultobj; | |
360 | } | |
361 | ||
1b62f00d RD |
362 | static PyObject *_wrap_wxGetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) { |
363 | PyObject * _resultobj; | |
364 | wxString * _result; | |
365 | wxString * _arg0; | |
366 | wxString * _arg1 = (wxString *) &wxPyEmptyStr; | |
367 | wxString * _arg2 = (wxString *) &wxPyEmptyStr; | |
368 | wxWindow * _arg3 = (wxWindow *) NULL; | |
369 | PyObject * _obj0 = 0; | |
370 | PyObject * _obj1 = 0; | |
371 | PyObject * _obj2 = 0; | |
372 | PyObject * _argo3 = 0; | |
373 | char *_kwnames[] = { "message","caption","default_value","parent", NULL }; | |
374 | ||
375 | self = self; | |
376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OOO:wxGetPasswordFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_argo3)) | |
377 | return NULL; | |
378 | { | |
379 | #if PYTHON_API_VERSION >= 1009 | |
380 | char* tmpPtr; int tmpSize; | |
381 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
382 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
383 | return NULL; | |
384 | } | |
385 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
386 | return NULL; | |
387 | _arg0 = new wxString(tmpPtr, tmpSize); | |
388 | #else | |
389 | if (!PyString_Check(_obj0)) { | |
390 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
391 | return NULL; | |
392 | } | |
393 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); | |
394 | #endif | |
395 | } | |
396 | if (_obj1) | |
397 | { | |
398 | #if PYTHON_API_VERSION >= 1009 | |
399 | char* tmpPtr; int tmpSize; | |
400 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
401 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
402 | return NULL; | |
403 | } | |
404 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
405 | return NULL; | |
406 | _arg1 = new wxString(tmpPtr, tmpSize); | |
407 | #else | |
408 | if (!PyString_Check(_obj1)) { | |
409 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
410 | return NULL; | |
411 | } | |
412 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
413 | #endif | |
414 | } | |
415 | if (_obj2) | |
416 | { | |
417 | #if PYTHON_API_VERSION >= 1009 | |
418 | char* tmpPtr; int tmpSize; | |
419 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
420 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
421 | return NULL; | |
422 | } | |
423 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
424 | return NULL; | |
425 | _arg2 = new wxString(tmpPtr, tmpSize); | |
426 | #else | |
427 | if (!PyString_Check(_obj2)) { | |
428 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
429 | return NULL; | |
430 | } | |
431 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); | |
432 | #endif | |
433 | } | |
434 | if (_argo3) { | |
435 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
436 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) { | |
437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p."); | |
438 | return NULL; | |
439 | } | |
440 | } | |
441 | { | |
442 | wxPy_BEGIN_ALLOW_THREADS; | |
443 | _result = new wxString (wxGetPasswordFromUser(*_arg0,*_arg1,*_arg2,_arg3)); | |
444 | ||
445 | wxPy_END_ALLOW_THREADS; | |
446 | }{ | |
447 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
448 | } | |
449 | { | |
450 | if (_obj0) | |
451 | delete _arg0; | |
452 | } | |
453 | { | |
454 | if (_obj1) | |
455 | delete _arg1; | |
456 | } | |
457 | { | |
458 | if (_obj2) | |
459 | delete _arg2; | |
460 | } | |
461 | { | |
462 | delete _result; | |
463 | } | |
464 | return _resultobj; | |
465 | } | |
466 | ||
bc29c5e0 RD |
467 | static PyObject *_wrap_wxGetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) { |
468 | PyObject * _resultobj; | |
469 | wxString * _result; | |
470 | wxString * _arg0; | |
471 | wxString * _arg1; | |
472 | int _arg2; | |
473 | wxString * _arg3; | |
474 | wxWindow * _arg4 = (wxWindow *) NULL; | |
475 | int _arg5 = (int ) -1; | |
476 | int _arg6 = (int ) -1; | |
477 | bool _arg7 = (bool ) TRUE; | |
478 | int _arg8 = (int ) 150; | |
479 | int _arg9 = (int ) 200; | |
480 | PyObject * _obj0 = 0; | |
481 | PyObject * _obj1 = 0; | |
482 | PyObject * _obj3 = 0; | |
483 | PyObject * _argo4 = 0; | |
484 | int tempbool7 = (int) TRUE; | |
e02c03a4 | 485 | char *_kwnames[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL }; |
bc29c5e0 RD |
486 | |
487 | self = self; | |
488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoice",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9)) | |
489 | return NULL; | |
490 | { | |
2cd2fac8 RD |
491 | #if PYTHON_API_VERSION >= 1009 |
492 | char* tmpPtr; int tmpSize; | |
493 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
494 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
495 | return NULL; | |
496 | } | |
497 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
498 | return NULL; | |
499 | _arg0 = new wxString(tmpPtr, tmpSize); | |
500 | #else | |
bc29c5e0 RD |
501 | if (!PyString_Check(_obj0)) { |
502 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
503 | return NULL; | |
504 | } | |
2cd2fac8 RD |
505 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
506 | #endif | |
bc29c5e0 RD |
507 | } |
508 | { | |
2cd2fac8 RD |
509 | #if PYTHON_API_VERSION >= 1009 |
510 | char* tmpPtr; int tmpSize; | |
511 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
512 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
513 | return NULL; | |
514 | } | |
515 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
516 | return NULL; | |
517 | _arg1 = new wxString(tmpPtr, tmpSize); | |
518 | #else | |
bc29c5e0 RD |
519 | if (!PyString_Check(_obj1)) { |
520 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
521 | return NULL; | |
522 | } | |
2cd2fac8 RD |
523 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
524 | #endif | |
bc29c5e0 RD |
525 | } |
526 | if (_obj3) | |
527 | { | |
528 | _arg3 = wxString_LIST_helper(_obj3); | |
529 | if (_arg3 == NULL) { | |
530 | return NULL; | |
531 | } | |
532 | } | |
533 | if (_argo4) { | |
534 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
535 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) { | |
536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p."); | |
537 | return NULL; | |
538 | } | |
539 | } | |
540 | _arg7 = (bool ) tempbool7; | |
541 | { | |
542 | if (_obj3) { | |
543 | _arg2 = PyList_Size(_obj3); | |
544 | } | |
545 | else { | |
546 | _arg2 = 0; | |
547 | } | |
548 | } | |
549 | { | |
550 | wxPy_BEGIN_ALLOW_THREADS; | |
551 | _result = new wxString (wxGetSingleChoice(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9)); | |
552 | ||
553 | wxPy_END_ALLOW_THREADS; | |
554 | }{ | |
e02c03a4 | 555 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
bc29c5e0 RD |
556 | } |
557 | { | |
558 | if (_obj0) | |
559 | delete _arg0; | |
560 | } | |
561 | { | |
562 | if (_obj1) | |
563 | delete _arg1; | |
564 | } | |
565 | { | |
566 | delete [] _arg3; | |
567 | } | |
568 | { | |
569 | delete _result; | |
570 | } | |
571 | return _resultobj; | |
572 | } | |
573 | ||
574 | static PyObject *_wrap_wxGetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
575 | PyObject * _resultobj; | |
576 | int _result; | |
577 | wxString * _arg0; | |
578 | wxString * _arg1; | |
579 | int _arg2; | |
580 | wxString * _arg3; | |
581 | wxWindow * _arg4 = (wxWindow *) NULL; | |
582 | int _arg5 = (int ) -1; | |
583 | int _arg6 = (int ) -1; | |
584 | bool _arg7 = (bool ) TRUE; | |
585 | int _arg8 = (int ) 150; | |
586 | int _arg9 = (int ) 200; | |
587 | PyObject * _obj0 = 0; | |
588 | PyObject * _obj1 = 0; | |
589 | PyObject * _obj3 = 0; | |
590 | PyObject * _argo4 = 0; | |
591 | int tempbool7 = (int) TRUE; | |
e02c03a4 | 592 | char *_kwnames[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL }; |
bc29c5e0 RD |
593 | |
594 | self = self; | |
595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames,&_obj0,&_obj1,&_obj3,&_argo4,&_arg5,&_arg6,&tempbool7,&_arg8,&_arg9)) | |
596 | return NULL; | |
597 | { | |
2cd2fac8 RD |
598 | #if PYTHON_API_VERSION >= 1009 |
599 | char* tmpPtr; int tmpSize; | |
600 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
601 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
602 | return NULL; | |
603 | } | |
604 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
605 | return NULL; | |
606 | _arg0 = new wxString(tmpPtr, tmpSize); | |
607 | #else | |
bc29c5e0 RD |
608 | if (!PyString_Check(_obj0)) { |
609 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
610 | return NULL; | |
611 | } | |
2cd2fac8 RD |
612 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
613 | #endif | |
bc29c5e0 RD |
614 | } |
615 | { | |
2cd2fac8 RD |
616 | #if PYTHON_API_VERSION >= 1009 |
617 | char* tmpPtr; int tmpSize; | |
618 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
619 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
620 | return NULL; | |
621 | } | |
622 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
623 | return NULL; | |
624 | _arg1 = new wxString(tmpPtr, tmpSize); | |
625 | #else | |
bc29c5e0 RD |
626 | if (!PyString_Check(_obj1)) { |
627 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
628 | return NULL; | |
629 | } | |
2cd2fac8 RD |
630 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
631 | #endif | |
bc29c5e0 RD |
632 | } |
633 | if (_obj3) | |
634 | { | |
635 | _arg3 = wxString_LIST_helper(_obj3); | |
636 | if (_arg3 == NULL) { | |
637 | return NULL; | |
638 | } | |
639 | } | |
640 | if (_argo4) { | |
641 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
642 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxWindow_p")) { | |
643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p."); | |
644 | return NULL; | |
645 | } | |
646 | } | |
647 | _arg7 = (bool ) tempbool7; | |
648 | { | |
649 | if (_obj3) { | |
650 | _arg2 = PyList_Size(_obj3); | |
651 | } | |
652 | else { | |
653 | _arg2 = 0; | |
654 | } | |
655 | } | |
656 | { | |
657 | wxPy_BEGIN_ALLOW_THREADS; | |
658 | _result = (int )wxGetSingleChoiceIndex(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8,_arg9); | |
659 | ||
660 | wxPy_END_ALLOW_THREADS; | |
661 | } _resultobj = Py_BuildValue("i",_result); | |
662 | { | |
663 | if (_obj0) | |
664 | delete _arg0; | |
665 | } | |
666 | { | |
667 | if (_obj1) | |
668 | delete _arg1; | |
669 | } | |
670 | { | |
671 | delete [] _arg3; | |
672 | } | |
673 | return _resultobj; | |
674 | } | |
675 | ||
676 | static PyObject *_wrap_wxMessageBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
677 | PyObject * _resultobj; | |
678 | int _result; | |
679 | wxString * _arg0; | |
680 | wxString * _arg1 = (wxString *) &wxPyEmptyStr; | |
681 | int _arg2 = (int ) wxOK|wxCENTRE; | |
682 | wxWindow * _arg3 = (wxWindow *) NULL; | |
683 | int _arg4 = (int ) -1; | |
684 | int _arg5 = (int ) -1; | |
685 | PyObject * _obj0 = 0; | |
686 | PyObject * _obj1 = 0; | |
687 | PyObject * _argo3 = 0; | |
688 | char *_kwnames[] = { "message","caption","style","parent","x","y", NULL }; | |
689 | ||
690 | self = self; | |
691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OiOii:wxMessageBox",_kwnames,&_obj0,&_obj1,&_arg2,&_argo3,&_arg4,&_arg5)) | |
692 | return NULL; | |
693 | { | |
2cd2fac8 RD |
694 | #if PYTHON_API_VERSION >= 1009 |
695 | char* tmpPtr; int tmpSize; | |
696 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
697 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
698 | return NULL; | |
699 | } | |
700 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
701 | return NULL; | |
702 | _arg0 = new wxString(tmpPtr, tmpSize); | |
703 | #else | |
bc29c5e0 RD |
704 | if (!PyString_Check(_obj0)) { |
705 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
706 | return NULL; | |
707 | } | |
2cd2fac8 RD |
708 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
709 | #endif | |
bc29c5e0 RD |
710 | } |
711 | if (_obj1) | |
712 | { | |
2cd2fac8 RD |
713 | #if PYTHON_API_VERSION >= 1009 |
714 | char* tmpPtr; int tmpSize; | |
715 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
716 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
717 | return NULL; | |
718 | } | |
719 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
720 | return NULL; | |
721 | _arg1 = new wxString(tmpPtr, tmpSize); | |
722 | #else | |
bc29c5e0 RD |
723 | if (!PyString_Check(_obj1)) { |
724 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
725 | return NULL; | |
726 | } | |
2cd2fac8 RD |
727 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
728 | #endif | |
bc29c5e0 RD |
729 | } |
730 | if (_argo3) { | |
731 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
732 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) { | |
733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p."); | |
734 | return NULL; | |
735 | } | |
736 | } | |
737 | { | |
738 | wxPy_BEGIN_ALLOW_THREADS; | |
739 | _result = (int )wxMessageBox(*_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
740 | ||
741 | wxPy_END_ALLOW_THREADS; | |
742 | } _resultobj = Py_BuildValue("i",_result); | |
743 | { | |
744 | if (_obj0) | |
745 | delete _arg0; | |
746 | } | |
747 | { | |
748 | if (_obj1) | |
749 | delete _arg1; | |
750 | } | |
751 | return _resultobj; | |
752 | } | |
753 | ||
754 | static PyObject *_wrap_wxGetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) { | |
755 | PyObject * _resultobj; | |
756 | long _result; | |
757 | wxString * _arg0; | |
758 | wxString * _arg1; | |
759 | wxString * _arg2; | |
760 | long _arg3; | |
761 | long _arg4 = (long ) 0; | |
762 | long _arg5 = (long ) 100; | |
763 | wxWindow * _arg6 = (wxWindow *) NULL; | |
b68dc582 | 764 | wxPoint * _arg7 = (wxPoint *) &wxDefaultPosition; |
bc29c5e0 RD |
765 | PyObject * _obj0 = 0; |
766 | PyObject * _obj1 = 0; | |
767 | PyObject * _obj2 = 0; | |
768 | PyObject * _argo6 = 0; | |
769 | wxPoint temp; | |
770 | PyObject * _obj7 = 0; | |
771 | char *_kwnames[] = { "message","prompt","caption","value","min","max","parent","pos", NULL }; | |
772 | ||
773 | self = self; | |
774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOl|llOO:wxGetNumberFromUser",_kwnames,&_obj0,&_obj1,&_obj2,&_arg3,&_arg4,&_arg5,&_argo6,&_obj7)) | |
775 | return NULL; | |
776 | { | |
2cd2fac8 RD |
777 | #if PYTHON_API_VERSION >= 1009 |
778 | char* tmpPtr; int tmpSize; | |
779 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
780 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
781 | return NULL; | |
782 | } | |
783 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
784 | return NULL; | |
785 | _arg0 = new wxString(tmpPtr, tmpSize); | |
786 | #else | |
bc29c5e0 RD |
787 | if (!PyString_Check(_obj0)) { |
788 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
789 | return NULL; | |
790 | } | |
2cd2fac8 RD |
791 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
792 | #endif | |
bc29c5e0 RD |
793 | } |
794 | { | |
2cd2fac8 RD |
795 | #if PYTHON_API_VERSION >= 1009 |
796 | char* tmpPtr; int tmpSize; | |
797 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
798 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
799 | return NULL; | |
800 | } | |
801 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
802 | return NULL; | |
803 | _arg1 = new wxString(tmpPtr, tmpSize); | |
804 | #else | |
bc29c5e0 RD |
805 | if (!PyString_Check(_obj1)) { |
806 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
807 | return NULL; | |
808 | } | |
2cd2fac8 RD |
809 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
810 | #endif | |
bc29c5e0 RD |
811 | } |
812 | { | |
2cd2fac8 RD |
813 | #if PYTHON_API_VERSION >= 1009 |
814 | char* tmpPtr; int tmpSize; | |
815 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
816 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
817 | return NULL; | |
818 | } | |
819 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
820 | return NULL; | |
821 | _arg2 = new wxString(tmpPtr, tmpSize); | |
822 | #else | |
bc29c5e0 RD |
823 | if (!PyString_Check(_obj2)) { |
824 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
825 | return NULL; | |
826 | } | |
2cd2fac8 RD |
827 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
828 | #endif | |
bc29c5e0 RD |
829 | } |
830 | if (_argo6) { | |
831 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
832 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxWindow_p")) { | |
833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p."); | |
834 | return NULL; | |
835 | } | |
836 | } | |
837 | if (_obj7) | |
838 | { | |
839 | _arg7 = &temp; | |
840 | if (! wxPoint_helper(_obj7, &_arg7)) | |
841 | return NULL; | |
842 | } | |
843 | { | |
844 | wxPy_BEGIN_ALLOW_THREADS; | |
845 | _result = (long )wxGetNumberFromUser(*_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5,_arg6,*_arg7); | |
846 | ||
847 | wxPy_END_ALLOW_THREADS; | |
848 | } _resultobj = Py_BuildValue("l",_result); | |
849 | { | |
850 | if (_obj0) | |
851 | delete _arg0; | |
852 | } | |
853 | { | |
854 | if (_obj1) | |
855 | delete _arg1; | |
856 | } | |
857 | { | |
858 | if (_obj2) | |
859 | delete _arg2; | |
860 | } | |
861 | return _resultobj; | |
862 | } | |
863 | ||
864 | static PyObject *_wrap_wxColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { | |
865 | PyObject * _resultobj; | |
866 | bool _result; | |
867 | char *_kwnames[] = { NULL }; | |
868 | ||
869 | self = self; | |
870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxColourDisplay",_kwnames)) | |
871 | return NULL; | |
872 | { | |
873 | wxPy_BEGIN_ALLOW_THREADS; | |
874 | _result = (bool )wxColourDisplay(); | |
875 | ||
876 | wxPy_END_ALLOW_THREADS; | |
877 | } _resultobj = Py_BuildValue("i",_result); | |
878 | return _resultobj; | |
879 | } | |
880 | ||
881 | static PyObject *_wrap_wxDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
882 | PyObject * _resultobj; | |
883 | int _result; | |
884 | char *_kwnames[] = { NULL }; | |
885 | ||
886 | self = self; | |
887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplayDepth",_kwnames)) | |
888 | return NULL; | |
889 | { | |
890 | wxPy_BEGIN_ALLOW_THREADS; | |
891 | _result = (int )wxDisplayDepth(); | |
892 | ||
893 | wxPy_END_ALLOW_THREADS; | |
894 | } _resultobj = Py_BuildValue("i",_result); | |
895 | return _resultobj; | |
896 | } | |
8f17924e | 897 | |
b68dc582 RD |
898 | static PyObject *_wrap_wxGetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) { |
899 | PyObject * _resultobj; | |
900 | int _result; | |
901 | char *_kwnames[] = { NULL }; | |
902 | ||
903 | self = self; | |
904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplayDepth",_kwnames)) | |
905 | return NULL; | |
906 | { | |
907 | wxPy_BEGIN_ALLOW_THREADS; | |
908 | _result = (int )wxGetDisplayDepth(); | |
909 | ||
910 | wxPy_END_ALLOW_THREADS; | |
911 | } _resultobj = Py_BuildValue("i",_result); | |
912 | return _resultobj; | |
913 | } | |
914 | ||
915 | static PyObject *_wrap_wxDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
916 | PyObject * _resultobj; | |
917 | int * _arg0; | |
918 | int temp; | |
919 | int * _arg1; | |
920 | int temp0; | |
921 | char *_kwnames[] = { NULL }; | |
922 | ||
923 | self = self; | |
924 | { | |
925 | _arg0 = &temp; | |
926 | } | |
927 | { | |
928 | _arg1 = &temp0; | |
929 | } | |
930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplaySize",_kwnames)) | |
931 | return NULL; | |
932 | { | |
933 | wxPy_BEGIN_ALLOW_THREADS; | |
934 | wxDisplaySize(_arg0,_arg1); | |
935 | ||
936 | wxPy_END_ALLOW_THREADS; | |
937 | } Py_INCREF(Py_None); | |
938 | _resultobj = Py_None; | |
939 | { | |
940 | PyObject *o; | |
941 | o = PyInt_FromLong((long) (*_arg0)); | |
942 | _resultobj = t_output_helper(_resultobj, o); | |
943 | } | |
944 | { | |
945 | PyObject *o; | |
946 | o = PyInt_FromLong((long) (*_arg1)); | |
947 | _resultobj = t_output_helper(_resultobj, o); | |
948 | } | |
949 | return _resultobj; | |
950 | } | |
951 | ||
952 | static PyObject *_wrap_wxGetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
953 | PyObject * _resultobj; | |
954 | wxSize * _result; | |
955 | char *_kwnames[] = { NULL }; | |
956 | char _ptemp[128]; | |
957 | ||
958 | self = self; | |
959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplaySize",_kwnames)) | |
960 | return NULL; | |
961 | { | |
962 | wxPy_BEGIN_ALLOW_THREADS; | |
963 | _result = new wxSize (wxGetDisplaySize()); | |
964 | ||
965 | wxPy_END_ALLOW_THREADS; | |
966 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
967 | _resultobj = Py_BuildValue("s",_ptemp); | |
968 | return _resultobj; | |
969 | } | |
970 | ||
9c4165ad RD |
971 | static PyObject *_wrap_wxDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { |
972 | PyObject * _resultobj; | |
973 | int * _arg0; | |
974 | int temp; | |
975 | int * _arg1; | |
976 | int temp0; | |
977 | char *_kwnames[] = { NULL }; | |
978 | ||
979 | self = self; | |
980 | { | |
981 | _arg0 = &temp; | |
982 | } | |
983 | { | |
984 | _arg1 = &temp0; | |
985 | } | |
986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxDisplaySizeMM",_kwnames)) | |
987 | return NULL; | |
988 | { | |
989 | wxPy_BEGIN_ALLOW_THREADS; | |
990 | wxDisplaySizeMM(_arg0,_arg1); | |
991 | ||
992 | wxPy_END_ALLOW_THREADS; | |
993 | } Py_INCREF(Py_None); | |
994 | _resultobj = Py_None; | |
995 | { | |
996 | PyObject *o; | |
997 | o = PyInt_FromLong((long) (*_arg0)); | |
998 | _resultobj = t_output_helper(_resultobj, o); | |
999 | } | |
1000 | { | |
1001 | PyObject *o; | |
1002 | o = PyInt_FromLong((long) (*_arg1)); | |
1003 | _resultobj = t_output_helper(_resultobj, o); | |
1004 | } | |
1005 | return _resultobj; | |
1006 | } | |
1007 | ||
1008 | static PyObject *_wrap_wxGetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1009 | PyObject * _resultobj; | |
1010 | wxSize * _result; | |
1011 | char *_kwnames[] = { NULL }; | |
1012 | char _ptemp[128]; | |
1013 | ||
1014 | self = self; | |
1015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetDisplaySizeMM",_kwnames)) | |
1016 | return NULL; | |
1017 | { | |
1018 | wxPy_BEGIN_ALLOW_THREADS; | |
1019 | _result = new wxSize (wxGetDisplaySizeMM()); | |
1020 | ||
1021 | wxPy_END_ALLOW_THREADS; | |
1022 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
1023 | _resultobj = Py_BuildValue("s",_ptemp); | |
1024 | return _resultobj; | |
1025 | } | |
1026 | ||
bc29c5e0 RD |
1027 | static PyObject *_wrap_wxSetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { |
1028 | PyObject * _resultobj; | |
1029 | wxCursor * _arg0; | |
1030 | PyObject * _argo0 = 0; | |
1031 | char *_kwnames[] = { "cursor", NULL }; | |
8f17924e | 1032 | |
bc29c5e0 RD |
1033 | self = self; |
1034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSetCursor",_kwnames,&_argo0)) | |
1035 | return NULL; | |
1036 | if (_argo0) { | |
1037 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1038 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) { | |
1039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p."); | |
1040 | return NULL; | |
1041 | } | |
8f17924e | 1042 | } |
bc29c5e0 RD |
1043 | { |
1044 | wxPy_BEGIN_ALLOW_THREADS; | |
1045 | wxSetCursor(*_arg0); | |
1046 | ||
1047 | wxPy_END_ALLOW_THREADS; | |
1048 | } Py_INCREF(Py_None); | |
1049 | _resultobj = Py_None; | |
1050 | return _resultobj; | |
1051 | } | |
1052 | ||
107e4716 | 1053 | static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1054 | PyObject * _resultobj; |
1055 | wxWindow * _result; | |
1056 | wxString * _arg0; | |
2d091820 | 1057 | wxWindow * _arg1 = (wxWindow *) NULL; |
d24a34bb | 1058 | PyObject * _obj0 = 0; |
2d091820 | 1059 | PyObject * _argo1 = 0; |
107e4716 | 1060 | char *_kwnames[] = { "label","parent", NULL }; |
d24a34bb RD |
1061 | char _ptemp[128]; |
1062 | ||
1063 | self = self; | |
107e4716 | 1064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1)) |
d24a34bb RD |
1065 | return NULL; |
1066 | { | |
2cd2fac8 RD |
1067 | #if PYTHON_API_VERSION >= 1009 |
1068 | char* tmpPtr; int tmpSize; | |
1069 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
1070 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1071 | return NULL; | |
1072 | } | |
1073 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
1074 | return NULL; | |
1075 | _arg0 = new wxString(tmpPtr, tmpSize); | |
1076 | #else | |
d24a34bb RD |
1077 | if (!PyString_Check(_obj0)) { |
1078 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1079 | return NULL; | |
1080 | } | |
2cd2fac8 RD |
1081 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
1082 | #endif | |
d24a34bb | 1083 | } |
2d091820 RD |
1084 | if (_argo1) { |
1085 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1086 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
d24a34bb RD |
1087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p."); |
1088 | return NULL; | |
1089 | } | |
1090 | } | |
1091 | { | |
1092 | wxPy_BEGIN_ALLOW_THREADS; | |
1093 | _result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1); | |
1094 | ||
1095 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1096 | } if (_result) { |
1097 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
1098 | _resultobj = Py_BuildValue("s",_ptemp); | |
1099 | } else { | |
1100 | Py_INCREF(Py_None); | |
1101 | _resultobj = Py_None; | |
1102 | } | |
d24a34bb RD |
1103 | { |
1104 | if (_obj0) | |
1105 | delete _arg0; | |
1106 | } | |
1107 | return _resultobj; | |
1108 | } | |
1109 | ||
107e4716 | 1110 | static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1111 | PyObject * _resultobj; |
1112 | wxWindow * _result; | |
1113 | wxString * _arg0; | |
2d091820 | 1114 | wxWindow * _arg1 = (wxWindow *) NULL; |
d24a34bb | 1115 | PyObject * _obj0 = 0; |
2d091820 | 1116 | PyObject * _argo1 = 0; |
107e4716 | 1117 | char *_kwnames[] = { "name","parent", NULL }; |
d24a34bb RD |
1118 | char _ptemp[128]; |
1119 | ||
1120 | self = self; | |
107e4716 | 1121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1)) |
d24a34bb RD |
1122 | return NULL; |
1123 | { | |
2cd2fac8 RD |
1124 | #if PYTHON_API_VERSION >= 1009 |
1125 | char* tmpPtr; int tmpSize; | |
1126 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
1127 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1128 | return NULL; | |
1129 | } | |
1130 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
1131 | return NULL; | |
1132 | _arg0 = new wxString(tmpPtr, tmpSize); | |
1133 | #else | |
d24a34bb RD |
1134 | if (!PyString_Check(_obj0)) { |
1135 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1136 | return NULL; | |
1137 | } | |
2cd2fac8 RD |
1138 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
1139 | #endif | |
d24a34bb | 1140 | } |
2d091820 RD |
1141 | if (_argo1) { |
1142 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1143 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) { | |
d24a34bb RD |
1144 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p."); |
1145 | return NULL; | |
1146 | } | |
1147 | } | |
1148 | { | |
1149 | wxPy_BEGIN_ALLOW_THREADS; | |
1150 | _result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1); | |
1151 | ||
1152 | wxPy_END_ALLOW_THREADS; | |
2d091820 RD |
1153 | } if (_result) { |
1154 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
1155 | _resultobj = Py_BuildValue("s",_ptemp); | |
1156 | } else { | |
1157 | Py_INCREF(Py_None); | |
1158 | _resultobj = Py_None; | |
1159 | } | |
d24a34bb RD |
1160 | { |
1161 | if (_obj0) | |
1162 | delete _arg0; | |
1163 | } | |
1164 | return _resultobj; | |
1165 | } | |
1166 | ||
bc29c5e0 RD |
1167 | static PyObject *_wrap_wxBeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) { |
1168 | PyObject * _resultobj; | |
1169 | wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR; | |
1170 | PyObject * _argo0 = 0; | |
1171 | char *_kwnames[] = { "cursor", NULL }; | |
1172 | ||
1173 | self = self; | |
1174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxBeginBusyCursor",_kwnames,&_argo0)) | |
1175 | return NULL; | |
1176 | if (_argo0) { | |
1177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) { | |
1179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p."); | |
1180 | return NULL; | |
1181 | } | |
1182 | } | |
1183 | { | |
1184 | wxPy_BEGIN_ALLOW_THREADS; | |
1185 | wxBeginBusyCursor(_arg0); | |
1186 | ||
1187 | wxPy_END_ALLOW_THREADS; | |
1188 | } Py_INCREF(Py_None); | |
1189 | _resultobj = Py_None; | |
1190 | return _resultobj; | |
1191 | } | |
1192 | ||
1193 | static PyObject *_wrap_wxGetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1194 | PyObject * _resultobj; | |
1195 | wxWindow * _result; | |
1196 | char *_kwnames[] = { NULL }; | |
1197 | char _ptemp[128]; | |
1198 | ||
1199 | self = self; | |
1200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxGetActiveWindow",_kwnames)) | |
1201 | return NULL; | |
1202 | { | |
1203 | wxPy_BEGIN_ALLOW_THREADS; | |
1204 | _result = (wxWindow *)wxGetActiveWindow(); | |
1205 | ||
1206 | wxPy_END_ALLOW_THREADS; | |
1207 | } if (_result) { | |
1208 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
1209 | _resultobj = Py_BuildValue("s",_ptemp); | |
1210 | } else { | |
1211 | Py_INCREF(Py_None); | |
1212 | _resultobj = Py_None; | |
1213 | } | |
1214 | return _resultobj; | |
1215 | } | |
1216 | ||
1217 | static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1218 | PyObject * _resultobj; | |
1219 | bool _result; | |
1220 | char * _arg0; | |
1221 | int _arg1; | |
1222 | char *_kwnames[] = { "name","value", NULL }; | |
1223 | ||
1224 | self = self; | |
1225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"si:wxResourceAddIdentifier",_kwnames,&_arg0,&_arg1)) | |
1226 | return NULL; | |
1227 | { | |
1228 | wxPy_BEGIN_ALLOW_THREADS; | |
1229 | _result = (bool )wxResourceAddIdentifier(_arg0,_arg1); | |
1230 | ||
1231 | wxPy_END_ALLOW_THREADS; | |
1232 | } _resultobj = Py_BuildValue("i",_result); | |
1233 | return _resultobj; | |
1234 | } | |
1235 | ||
1236 | static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1237 | PyObject * _resultobj; | |
1238 | char *_kwnames[] = { NULL }; | |
1239 | ||
1240 | self = self; | |
1241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxResourceClear",_kwnames)) | |
1242 | return NULL; | |
1243 | { | |
1244 | wxPy_BEGIN_ALLOW_THREADS; | |
1245 | wxResourceClear(); | |
1246 | ||
1247 | wxPy_END_ALLOW_THREADS; | |
1248 | } Py_INCREF(Py_None); | |
1249 | _resultobj = Py_None; | |
1250 | return _resultobj; | |
1251 | } | |
1252 | ||
1253 | static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1254 | PyObject * _resultobj; | |
1255 | wxBitmap * _result; | |
1256 | char * _arg0; | |
1257 | char *_kwnames[] = { "resource", NULL }; | |
1258 | char _ptemp[128]; | |
1259 | ||
1260 | self = self; | |
1261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateBitmap",_kwnames,&_arg0)) | |
1262 | return NULL; | |
1263 | { | |
1264 | wxPy_BEGIN_ALLOW_THREADS; | |
1265 | _result = new wxBitmap (wxResourceCreateBitmap(_arg0)); | |
1266 | ||
1267 | wxPy_END_ALLOW_THREADS; | |
1268 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p"); | |
1269 | _resultobj = Py_BuildValue("s",_ptemp); | |
1270 | return _resultobj; | |
1271 | } | |
1272 | ||
1273 | static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1274 | PyObject * _resultobj; | |
1275 | wxIcon * _result; | |
1276 | char * _arg0; | |
1277 | char *_kwnames[] = { "resource", NULL }; | |
1278 | char _ptemp[128]; | |
1279 | ||
1280 | self = self; | |
1281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateIcon",_kwnames,&_arg0)) | |
1282 | return NULL; | |
1283 | { | |
1284 | wxPy_BEGIN_ALLOW_THREADS; | |
1285 | _result = new wxIcon (wxResourceCreateIcon(_arg0)); | |
1286 | ||
1287 | wxPy_END_ALLOW_THREADS; | |
1288 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p"); | |
1289 | _resultobj = Py_BuildValue("s",_ptemp); | |
1290 | return _resultobj; | |
1291 | } | |
1292 | ||
1293 | static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1294 | PyObject * _resultobj; | |
1295 | wxMenuBar * _result; | |
1296 | char * _arg0; | |
1297 | char *_kwnames[] = { "resource", NULL }; | |
1298 | char _ptemp[128]; | |
1299 | ||
1300 | self = self; | |
1301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateMenuBar",_kwnames,&_arg0)) | |
1302 | return NULL; | |
1303 | { | |
1304 | wxPy_BEGIN_ALLOW_THREADS; | |
1305 | _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0); | |
1306 | ||
1307 | wxPy_END_ALLOW_THREADS; | |
1308 | } if (_result) { | |
1309 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxMenuBar_p"); | |
1310 | _resultobj = Py_BuildValue("s",_ptemp); | |
1311 | } else { | |
1312 | Py_INCREF(Py_None); | |
1313 | _resultobj = Py_None; | |
1314 | } | |
1315 | return _resultobj; | |
1316 | } | |
1317 | ||
1318 | static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1319 | PyObject * _resultobj; | |
1320 | int _result; | |
1321 | char * _arg0; | |
1322 | char *_kwnames[] = { "name", NULL }; | |
1323 | ||
1324 | self = self; | |
1325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceGetIdentifier",_kwnames,&_arg0)) | |
1326 | return NULL; | |
1327 | { | |
1328 | wxPy_BEGIN_ALLOW_THREADS; | |
1329 | _result = (int )wxResourceGetIdentifier(_arg0); | |
1330 | ||
1331 | wxPy_END_ALLOW_THREADS; | |
1332 | } _resultobj = Py_BuildValue("i",_result); | |
1333 | return _resultobj; | |
1334 | } | |
1335 | ||
1336 | static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1337 | PyObject * _resultobj; | |
1338 | bool _result; | |
1339 | char * _arg0; | |
1340 | wxResourceTable * _arg1 = (wxResourceTable *) NULL; | |
1341 | PyObject * _argo1 = 0; | |
1342 | char *_kwnames[] = { "resource","table", NULL }; | |
1343 | ||
1344 | self = self; | |
1345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseData",_kwnames,&_arg0,&_argo1)) | |
1346 | return NULL; | |
1347 | if (_argo1) { | |
1348 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1349 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) { | |
1350 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p."); | |
1351 | return NULL; | |
1352 | } | |
1353 | } | |
1354 | { | |
1355 | wxPy_BEGIN_ALLOW_THREADS; | |
1356 | _result = (bool )wxResourceParseData(_arg0,_arg1); | |
1357 | ||
1358 | wxPy_END_ALLOW_THREADS; | |
1359 | } _resultobj = Py_BuildValue("i",_result); | |
1360 | return _resultobj; | |
1361 | } | |
1362 | ||
1363 | static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1364 | PyObject * _resultobj; | |
1365 | bool _result; | |
1366 | char * _arg0; | |
1367 | wxResourceTable * _arg1 = (wxResourceTable *) NULL; | |
1368 | PyObject * _argo1 = 0; | |
1369 | char *_kwnames[] = { "filename","table", NULL }; | |
1370 | ||
1371 | self = self; | |
1372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseFile",_kwnames,&_arg0,&_argo1)) | |
1373 | return NULL; | |
1374 | if (_argo1) { | |
1375 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1376 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) { | |
1377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p."); | |
1378 | return NULL; | |
1379 | } | |
1380 | } | |
1381 | { | |
1382 | wxPy_BEGIN_ALLOW_THREADS; | |
1383 | _result = (bool )wxResourceParseFile(_arg0,_arg1); | |
1384 | ||
1385 | wxPy_END_ALLOW_THREADS; | |
1386 | } _resultobj = Py_BuildValue("i",_result); | |
1387 | return _resultobj; | |
1388 | } | |
1389 | ||
1390 | static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1391 | PyObject * _resultobj; | |
1392 | bool _result; | |
1393 | char * _arg0; | |
1394 | wxResourceTable * _arg1 = (wxResourceTable *) NULL; | |
1395 | PyObject * _argo1 = 0; | |
1396 | char *_kwnames[] = { "resource","table", NULL }; | |
1397 | ||
1398 | self = self; | |
1399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseString",_kwnames,&_arg0,&_argo1)) | |
1400 | return NULL; | |
1401 | if (_argo1) { | |
1402 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1403 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) { | |
1404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p."); | |
1405 | return NULL; | |
1406 | } | |
1407 | } | |
1408 | { | |
1409 | wxPy_BEGIN_ALLOW_THREADS; | |
1410 | _result = (bool )wxResourceParseString(_arg0,_arg1); | |
1411 | ||
1412 | wxPy_END_ALLOW_THREADS; | |
1413 | } _resultobj = Py_BuildValue("i",_result); | |
1414 | return _resultobj; | |
1415 | } | |
1416 | ||
1417 | static PyObject *_wrap_wxSystemSettings_GetSystemColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1418 | PyObject * _resultobj; | |
1419 | wxColour * _result; | |
1420 | int _arg0; | |
1421 | char *_kwnames[] = { "index", NULL }; | |
1422 | char _ptemp[128]; | |
1423 | ||
1424 | self = self; | |
1425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemColour",_kwnames,&_arg0)) | |
1426 | return NULL; | |
1427 | { | |
1428 | wxPy_BEGIN_ALLOW_THREADS; | |
1429 | _result = new wxColour (wxSystemSettings_GetSystemColour(_arg0)); | |
1430 | ||
1431 | wxPy_END_ALLOW_THREADS; | |
1432 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
1433 | _resultobj = Py_BuildValue("s",_ptemp); | |
1434 | return _resultobj; | |
1435 | } | |
1436 | ||
1437 | static PyObject *_wrap_wxSystemSettings_GetSystemFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1438 | PyObject * _resultobj; | |
1439 | wxFont * _result; | |
1440 | int _arg0; | |
1441 | char *_kwnames[] = { "index", NULL }; | |
1442 | char _ptemp[128]; | |
1443 | ||
1444 | self = self; | |
1445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemFont",_kwnames,&_arg0)) | |
1446 | return NULL; | |
1447 | { | |
1448 | wxPy_BEGIN_ALLOW_THREADS; | |
1449 | _result = new wxFont (wxSystemSettings_GetSystemFont(_arg0)); | |
1450 | ||
1451 | wxPy_END_ALLOW_THREADS; | |
1452 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); | |
1453 | _resultobj = Py_BuildValue("s",_ptemp); | |
1454 | return _resultobj; | |
1455 | } | |
1456 | ||
1457 | static PyObject *_wrap_wxSystemSettings_GetSystemMetric(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1458 | PyObject * _resultobj; | |
1459 | int _result; | |
1460 | int _arg0; | |
1461 | char *_kwnames[] = { "index", NULL }; | |
1462 | ||
1463 | self = self; | |
1464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxSystemSettings_GetSystemMetric",_kwnames,&_arg0)) | |
1465 | return NULL; | |
1466 | { | |
1467 | wxPy_BEGIN_ALLOW_THREADS; | |
1468 | _result = (int )wxSystemSettings_GetSystemMetric(_arg0); | |
1469 | ||
1470 | wxPy_END_ALLOW_THREADS; | |
1471 | } _resultobj = Py_BuildValue("i",_result); | |
1472 | return _resultobj; | |
1473 | } | |
1474 | ||
107e4716 | 1475 | static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1476 | PyObject * _resultobj; |
1477 | bool _arg0; | |
1478 | int tempbool0; | |
107e4716 | 1479 | char *_kwnames[] = { "flag", NULL }; |
d24a34bb RD |
1480 | |
1481 | self = self; | |
107e4716 | 1482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0)) |
d24a34bb RD |
1483 | return NULL; |
1484 | _arg0 = (bool ) tempbool0; | |
1485 | { | |
1486 | wxPy_BEGIN_ALLOW_THREADS; | |
1487 | wxToolTip_Enable(_arg0); | |
1488 | ||
1489 | wxPy_END_ALLOW_THREADS; | |
1490 | } Py_INCREF(Py_None); | |
1491 | _resultobj = Py_None; | |
1492 | return _resultobj; | |
1493 | } | |
1494 | ||
107e4716 | 1495 | static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb RD |
1496 | PyObject * _resultobj; |
1497 | long _arg0; | |
107e4716 | 1498 | char *_kwnames[] = { "milliseconds", NULL }; |
d24a34bb RD |
1499 | |
1500 | self = self; | |
107e4716 | 1501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0)) |
d24a34bb RD |
1502 | return NULL; |
1503 | { | |
1504 | wxPy_BEGIN_ALLOW_THREADS; | |
1505 | wxToolTip_SetDelay(_arg0); | |
1506 | ||
1507 | wxPy_END_ALLOW_THREADS; | |
1508 | } Py_INCREF(Py_None); | |
1509 | _resultobj = Py_None; | |
1510 | return _resultobj; | |
1511 | } | |
1512 | ||
8f17924e RD |
1513 | static PyObject *_wrap_wxCaret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) { |
1514 | PyObject * _resultobj; | |
1515 | int _result; | |
1516 | char *_kwnames[] = { NULL }; | |
1517 | ||
1518 | self = self; | |
1519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxCaret_GetBlinkTime",_kwnames)) | |
1520 | return NULL; | |
1521 | { | |
1522 | wxPy_BEGIN_ALLOW_THREADS; | |
1523 | _result = (int )wxCaret_GetBlinkTime(); | |
1524 | ||
1525 | wxPy_END_ALLOW_THREADS; | |
1526 | } _resultobj = Py_BuildValue("i",_result); | |
1527 | return _resultobj; | |
1528 | } | |
1529 | ||
1530 | static PyObject *_wrap_wxCaret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1531 | PyObject * _resultobj; | |
1532 | int _arg0; | |
1533 | char *_kwnames[] = { "milliseconds", NULL }; | |
1534 | ||
1535 | self = self; | |
1536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxCaret_SetBlinkTime",_kwnames,&_arg0)) | |
1537 | return NULL; | |
1538 | { | |
1539 | wxPy_BEGIN_ALLOW_THREADS; | |
1540 | wxCaret_SetBlinkTime(_arg0); | |
1541 | ||
1542 | wxPy_END_ALLOW_THREADS; | |
1543 | } Py_INCREF(Py_None); | |
1544 | _resultobj = Py_None; | |
1545 | return _resultobj; | |
1546 | } | |
1547 | ||
4120ef2b RD |
1548 | static PyObject *_wrap_wxPostEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
1549 | PyObject * _resultobj; | |
1550 | wxEvtHandler * _arg0; | |
1551 | wxEvent * _arg1; | |
1552 | PyObject * _argo0 = 0; | |
1553 | PyObject * _argo1 = 0; | |
1554 | char *_kwnames[] = { "dest","event", NULL }; | |
1555 | ||
1556 | self = self; | |
1557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPostEvent",_kwnames,&_argo0,&_argo1)) | |
1558 | return NULL; | |
1559 | if (_argo0) { | |
1560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) { | |
1562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p."); | |
1563 | return NULL; | |
1564 | } | |
1565 | } | |
1566 | if (_argo1) { | |
1567 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1568 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvent_p")) { | |
1569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p."); | |
1570 | return NULL; | |
1571 | } | |
1572 | } | |
1573 | { | |
1574 | wxPy_BEGIN_ALLOW_THREADS; | |
1575 | wxPostEvent(_arg0,*_arg1); | |
1576 | ||
1577 | wxPy_END_ALLOW_THREADS; | |
1578 | } Py_INCREF(Py_None); | |
1579 | _resultobj = Py_None; | |
1580 | return _resultobj; | |
1581 | } | |
1582 | ||
d29aba2f RD |
1583 | static PyObject *_wrap_wxWakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) { |
1584 | PyObject * _resultobj; | |
1585 | char *_kwnames[] = { NULL }; | |
1586 | ||
1587 | self = self; | |
1588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxWakeUpIdle",_kwnames)) | |
1589 | return NULL; | |
1590 | { | |
1591 | wxPy_BEGIN_ALLOW_THREADS; | |
1592 | wxWakeUpIdle(); | |
1593 | ||
1594 | wxPy_END_ALLOW_THREADS; | |
1595 | } Py_INCREF(Py_None); | |
1596 | _resultobj = Py_None; | |
1597 | return _resultobj; | |
1598 | } | |
1599 | ||
c368d904 RD |
1600 | static PyObject *_wrap_wxSafeYield(PyObject *self, PyObject *args, PyObject *kwargs) { |
1601 | PyObject * _resultobj; | |
1602 | bool _result; | |
1603 | wxWindow * _arg0 = (wxWindow *) NULL; | |
1604 | PyObject * _argo0 = 0; | |
1605 | char *_kwnames[] = { "win", NULL }; | |
1606 | ||
1607 | self = self; | |
1608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:wxSafeYield",_kwnames,&_argo0)) | |
1609 | return NULL; | |
1610 | if (_argo0) { | |
1611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
1613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p."); | |
1614 | return NULL; | |
1615 | } | |
1616 | } | |
1617 | { | |
1618 | wxPy_BEGIN_ALLOW_THREADS; | |
1619 | _result = (bool )wxSafeYield(_arg0); | |
1620 | ||
1621 | wxPy_END_ALLOW_THREADS; | |
1622 | } _resultobj = Py_BuildValue("i",_result); | |
1623 | return _resultobj; | |
1624 | } | |
1625 | ||
f6bcfd97 | 1626 | static PyObject *_wrap_wxShowTip(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb | 1627 | PyObject * _resultobj; |
f6bcfd97 BP |
1628 | bool _result; |
1629 | wxWindow * _arg0; | |
1630 | wxTipProvider * _arg1; | |
1631 | bool _arg2 = (bool ) TRUE; | |
1632 | PyObject * _argo0 = 0; | |
1633 | PyObject * _argo1 = 0; | |
1634 | int tempbool2 = (int) TRUE; | |
1635 | char *_kwnames[] = { "parent","tipProvider","showAtStartup", NULL }; | |
1636 | ||
1637 | self = self; | |
1638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxShowTip",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1639 | return NULL; | |
1640 | if (_argo0) { | |
1641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
1643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p."); | |
1644 | return NULL; | |
1645 | } | |
1646 | } | |
1647 | if (_argo1) { | |
1648 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1649 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTipProvider_p")) { | |
1650 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p."); | |
1651 | return NULL; | |
1652 | } | |
1653 | } | |
1654 | _arg2 = (bool ) tempbool2; | |
1655 | { | |
1656 | wxPy_BEGIN_ALLOW_THREADS; | |
1657 | _result = (bool )wxShowTip(_arg0,_arg1,_arg2); | |
1658 | ||
1659 | wxPy_END_ALLOW_THREADS; | |
1660 | } _resultobj = Py_BuildValue("i",_result); | |
1661 | return _resultobj; | |
1662 | } | |
1663 | ||
1664 | static PyObject *_wrap_wxCreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1665 | PyObject * _resultobj; | |
1666 | wxTipProvider * _result; | |
d24a34bb | 1667 | wxString * _arg0; |
f6bcfd97 | 1668 | size_t _arg1; |
d24a34bb | 1669 | PyObject * _obj0 = 0; |
f6bcfd97 | 1670 | char *_kwnames[] = { "filename","currentTip", NULL }; |
d24a34bb RD |
1671 | char _ptemp[128]; |
1672 | ||
1673 | self = self; | |
f6bcfd97 | 1674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCreateFileTipProvider",_kwnames,&_obj0,&_arg1)) |
d24a34bb RD |
1675 | return NULL; |
1676 | { | |
2cd2fac8 RD |
1677 | #if PYTHON_API_VERSION >= 1009 |
1678 | char* tmpPtr; int tmpSize; | |
1679 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
1680 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1681 | return NULL; | |
1682 | } | |
1683 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
1684 | return NULL; | |
1685 | _arg0 = new wxString(tmpPtr, tmpSize); | |
1686 | #else | |
d24a34bb RD |
1687 | if (!PyString_Check(_obj0)) { |
1688 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1689 | return NULL; | |
1690 | } | |
2cd2fac8 RD |
1691 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
1692 | #endif | |
d24a34bb RD |
1693 | } |
1694 | { | |
1695 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1696 | _result = (wxTipProvider *)wxCreateFileTipProvider(*_arg0,_arg1); |
d24a34bb RD |
1697 | |
1698 | wxPy_END_ALLOW_THREADS; | |
2d091820 | 1699 | } if (_result) { |
f6bcfd97 | 1700 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTipProvider_p"); |
2d091820 RD |
1701 | _resultobj = Py_BuildValue("s",_ptemp); |
1702 | } else { | |
1703 | Py_INCREF(Py_None); | |
1704 | _resultobj = Py_None; | |
1705 | } | |
d24a34bb RD |
1706 | { |
1707 | if (_obj0) | |
1708 | delete _arg0; | |
1709 | } | |
1710 | return _resultobj; | |
1711 | } | |
1712 | ||
f6bcfd97 | 1713 | static PyObject *_wrap_wxDragIcon(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb | 1714 | PyObject * _resultobj; |
f6bcfd97 BP |
1715 | wxGenericDragImage * _result; |
1716 | wxIcon * _arg0; | |
1717 | wxCursor * _arg1 = (wxCursor *) &wxNullCursor; | |
1718 | wxPoint * _arg2 = (wxPoint *) &wxPyNullPoint; | |
2d091820 | 1719 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
1720 | PyObject * _argo1 = 0; |
1721 | wxPoint temp; | |
1722 | PyObject * _obj2 = 0; | |
1723 | char *_kwnames[] = { "image","cursor","hotspot", NULL }; | |
1724 | char _ptemp[128]; | |
d24a34bb RD |
1725 | |
1726 | self = self; | |
f6bcfd97 | 1727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OO:wxDragIcon",_kwnames,&_argo0,&_argo1,&_obj2)) |
d24a34bb | 1728 | return NULL; |
2d091820 RD |
1729 | if (_argo0) { |
1730 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
1731 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxIcon_p")) { |
1732 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p."); | |
d24a34bb RD |
1733 | return NULL; |
1734 | } | |
1735 | } | |
f6bcfd97 BP |
1736 | if (_argo1) { |
1737 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1738 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) { | |
1739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p."); | |
d24a34bb | 1740 | return NULL; |
f6bcfd97 | 1741 | } |
d24a34bb | 1742 | } |
f6bcfd97 BP |
1743 | if (_obj2) |
1744 | { | |
1745 | _arg2 = &temp; | |
1746 | if (! wxPoint_helper(_obj2, &_arg2)) | |
1747 | return NULL; | |
d24a34bb RD |
1748 | } |
1749 | { | |
1750 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1751 | _result = (wxGenericDragImage *)wxDragIcon(*_arg0,*_arg1,*_arg2); |
d24a34bb RD |
1752 | |
1753 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
1754 | } if (_result) { |
1755 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p"); | |
1756 | _resultobj = Py_BuildValue("s",_ptemp); | |
1757 | } else { | |
1758 | Py_INCREF(Py_None); | |
1759 | _resultobj = Py_None; | |
1760 | } | |
d24a34bb RD |
1761 | return _resultobj; |
1762 | } | |
1763 | ||
f6bcfd97 | 1764 | static PyObject *_wrap_wxDragString(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb | 1765 | PyObject * _resultobj; |
f6bcfd97 BP |
1766 | wxGenericDragImage * _result; |
1767 | wxString * _arg0; | |
1768 | wxCursor * _arg1 = (wxCursor *) &wxNullCursor; | |
1769 | wxPoint * _arg2 = (wxPoint *) &wxPyNullPoint; | |
1770 | PyObject * _obj0 = 0; | |
1771 | PyObject * _argo1 = 0; | |
1772 | wxPoint temp; | |
1773 | PyObject * _obj2 = 0; | |
1774 | char *_kwnames[] = { "str","cursor","hotspot", NULL }; | |
1775 | char _ptemp[128]; | |
d24a34bb RD |
1776 | |
1777 | self = self; | |
f6bcfd97 | 1778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OO:wxDragString",_kwnames,&_obj0,&_argo1,&_obj2)) |
d24a34bb | 1779 | return NULL; |
f6bcfd97 | 1780 | { |
2cd2fac8 RD |
1781 | #if PYTHON_API_VERSION >= 1009 |
1782 | char* tmpPtr; int tmpSize; | |
1783 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
1784 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1785 | return NULL; | |
1786 | } | |
1787 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
1788 | return NULL; | |
1789 | _arg0 = new wxString(tmpPtr, tmpSize); | |
1790 | #else | |
f6bcfd97 BP |
1791 | if (!PyString_Check(_obj0)) { |
1792 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1793 | return NULL; | |
1794 | } | |
2cd2fac8 RD |
1795 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
1796 | #endif | |
f6bcfd97 BP |
1797 | } |
1798 | if (_argo1) { | |
1799 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1800 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) { | |
1801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDragString. Expected _wxCursor_p."); | |
d24a34bb RD |
1802 | return NULL; |
1803 | } | |
1804 | } | |
f6bcfd97 BP |
1805 | if (_obj2) |
1806 | { | |
1807 | _arg2 = &temp; | |
1808 | if (! wxPoint_helper(_obj2, &_arg2)) | |
1809 | return NULL; | |
1810 | } | |
d24a34bb RD |
1811 | { |
1812 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1813 | _result = (wxGenericDragImage *)wxDragString(*_arg0,*_arg1,*_arg2); |
d24a34bb RD |
1814 | |
1815 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
1816 | } if (_result) { |
1817 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p"); | |
1818 | _resultobj = Py_BuildValue("s",_ptemp); | |
1819 | } else { | |
1820 | Py_INCREF(Py_None); | |
1821 | _resultobj = Py_None; | |
1822 | } | |
d24a34bb | 1823 | { |
f6bcfd97 BP |
1824 | if (_obj0) |
1825 | delete _arg0; | |
d24a34bb RD |
1826 | } |
1827 | return _resultobj; | |
1828 | } | |
1829 | ||
f6bcfd97 | 1830 | static PyObject *_wrap_wxDragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
d24a34bb | 1831 | PyObject * _resultobj; |
f6bcfd97 BP |
1832 | wxGenericDragImage * _result; |
1833 | wxTreeCtrl * _arg0; | |
1834 | wxTreeItemId * _arg1; | |
2d091820 | 1835 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
1836 | PyObject * _argo1 = 0; |
1837 | char *_kwnames[] = { "treeCtrl","id", NULL }; | |
d24a34bb RD |
1838 | char _ptemp[128]; |
1839 | ||
1840 | self = self; | |
f6bcfd97 | 1841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragTreeItem",_kwnames,&_argo0,&_argo1)) |
d24a34bb | 1842 | return NULL; |
2d091820 RD |
1843 | if (_argo0) { |
1844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
1845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { |
1846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p."); | |
1847 | return NULL; | |
1848 | } | |
1849 | } | |
1850 | if (_argo1) { | |
1851 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1852 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
1853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p."); | |
d24a34bb RD |
1854 | return NULL; |
1855 | } | |
1856 | } | |
1857 | { | |
1858 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1859 | _result = (wxGenericDragImage *)wxDragTreeItem(*_arg0,*_arg1); |
d24a34bb RD |
1860 | |
1861 | wxPy_END_ALLOW_THREADS; | |
2d091820 | 1862 | } if (_result) { |
f6bcfd97 | 1863 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p"); |
2d091820 RD |
1864 | _resultobj = Py_BuildValue("s",_ptemp); |
1865 | } else { | |
1866 | Py_INCREF(Py_None); | |
1867 | _resultobj = Py_None; | |
1868 | } | |
d24a34bb RD |
1869 | return _resultobj; |
1870 | } | |
1871 | ||
f6bcfd97 | 1872 | static PyObject *_wrap_wxDragListItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8f17924e | 1873 | PyObject * _resultobj; |
f6bcfd97 BP |
1874 | wxGenericDragImage * _result; |
1875 | wxListCtrl * _arg0; | |
1876 | long _arg1; | |
8f17924e | 1877 | PyObject * _argo0 = 0; |
f6bcfd97 | 1878 | char *_kwnames[] = { "listCtrl","id", NULL }; |
8f17924e RD |
1879 | char _ptemp[128]; |
1880 | ||
1881 | self = self; | |
f6bcfd97 | 1882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDragListItem",_kwnames,&_argo0,&_arg1)) |
8f17924e RD |
1883 | return NULL; |
1884 | if (_argo0) { | |
1885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
1886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { |
1887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p."); | |
8f17924e RD |
1888 | return NULL; |
1889 | } | |
1890 | } | |
8f17924e RD |
1891 | { |
1892 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1893 | _result = (wxGenericDragImage *)wxDragListItem(*_arg0,_arg1); |
8f17924e RD |
1894 | |
1895 | wxPy_END_ALLOW_THREADS; | |
1896 | } if (_result) { | |
f6bcfd97 | 1897 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p"); |
8f17924e RD |
1898 | _resultobj = Py_BuildValue("s",_ptemp); |
1899 | } else { | |
1900 | Py_INCREF(Py_None); | |
1901 | _resultobj = Py_None; | |
1902 | } | |
1903 | return _resultobj; | |
1904 | } | |
1905 | ||
f6bcfd97 | 1906 | static PyObject *_wrap_wxSysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) { |
8f17924e | 1907 | PyObject * _resultobj; |
f6bcfd97 BP |
1908 | unsigned long _result; |
1909 | char *_kwnames[] = { NULL }; | |
8f17924e RD |
1910 | |
1911 | self = self; | |
f6bcfd97 | 1912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxSysErrorCode",_kwnames)) |
8f17924e | 1913 | return NULL; |
8f17924e RD |
1914 | { |
1915 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1916 | _result = (unsigned long )wxSysErrorCode(); |
8f17924e RD |
1917 | |
1918 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 1919 | } _resultobj = Py_BuildValue("l",_result); |
8f17924e RD |
1920 | return _resultobj; |
1921 | } | |
1922 | ||
f6bcfd97 | 1923 | static PyObject *_wrap_wxSysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) { |
8f17924e | 1924 | PyObject * _resultobj; |
f6bcfd97 BP |
1925 | char * _result; |
1926 | unsigned long _arg0 = (unsigned long ) 0; | |
1927 | char *_kwnames[] = { "nErrCode", NULL }; | |
8f17924e RD |
1928 | |
1929 | self = self; | |
f6bcfd97 | 1930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|l:wxSysErrorMsg",_kwnames,&_arg0)) |
8f17924e | 1931 | return NULL; |
8f17924e RD |
1932 | { |
1933 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1934 | _result = (char *)wxSysErrorMsg(_arg0); |
8f17924e RD |
1935 | |
1936 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 1937 | } _resultobj = Py_BuildValue("s", _result); |
8f17924e RD |
1938 | return _resultobj; |
1939 | } | |
1940 | ||
f6bcfd97 | 1941 | static PyObject *_wrap_wxLogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) { |
8f17924e | 1942 | PyObject * _resultobj; |
f6bcfd97 BP |
1943 | char * _arg0; |
1944 | char *_kwnames[] = { "szFormat", NULL }; | |
8f17924e RD |
1945 | |
1946 | self = self; | |
f6bcfd97 | 1947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogFatalError",_kwnames,&_arg0)) |
8f17924e | 1948 | return NULL; |
8f17924e RD |
1949 | { |
1950 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1951 | wxLogFatalError(_arg0); |
8f17924e RD |
1952 | |
1953 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
1954 | } Py_INCREF(Py_None); |
1955 | _resultobj = Py_None; | |
8f17924e RD |
1956 | return _resultobj; |
1957 | } | |
1958 | ||
f6bcfd97 | 1959 | static PyObject *_wrap_wxLogError(PyObject *self, PyObject *args, PyObject *kwargs) { |
8f17924e | 1960 | PyObject * _resultobj; |
f6bcfd97 BP |
1961 | char * _arg0; |
1962 | char *_kwnames[] = { "szFormat", NULL }; | |
8f17924e RD |
1963 | |
1964 | self = self; | |
f6bcfd97 | 1965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogError",_kwnames,&_arg0)) |
8f17924e | 1966 | return NULL; |
8f17924e RD |
1967 | { |
1968 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1969 | wxLogError(_arg0); |
8f17924e RD |
1970 | |
1971 | wxPy_END_ALLOW_THREADS; | |
1972 | } Py_INCREF(Py_None); | |
1973 | _resultobj = Py_None; | |
8f17924e RD |
1974 | return _resultobj; |
1975 | } | |
1976 | ||
f6bcfd97 BP |
1977 | static PyObject *_wrap_wxLogWarning(PyObject *self, PyObject *args, PyObject *kwargs) { |
1978 | PyObject * _resultobj; | |
1979 | char * _arg0; | |
1980 | char *_kwnames[] = { "szFormat", NULL }; | |
1981 | ||
1982 | self = self; | |
1983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogWarning",_kwnames,&_arg0)) | |
1984 | return NULL; | |
1985 | { | |
1986 | wxPy_BEGIN_ALLOW_THREADS; | |
1987 | wxLogWarning(_arg0); | |
1988 | ||
1989 | wxPy_END_ALLOW_THREADS; | |
1990 | } Py_INCREF(Py_None); | |
1991 | _resultobj = Py_None; | |
1992 | return _resultobj; | |
1993 | } | |
1994 | ||
1995 | static PyObject *_wrap_wxLogMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1996 | PyObject * _resultobj; | |
1997 | char * _arg0; | |
1998 | char *_kwnames[] = { "szFormat", NULL }; | |
1999 | ||
2000 | self = self; | |
2001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogMessage",_kwnames,&_arg0)) | |
2002 | return NULL; | |
2003 | { | |
2004 | wxPy_BEGIN_ALLOW_THREADS; | |
2005 | wxLogMessage(_arg0); | |
2006 | ||
2007 | wxPy_END_ALLOW_THREADS; | |
2008 | } Py_INCREF(Py_None); | |
2009 | _resultobj = Py_None; | |
2010 | return _resultobj; | |
2011 | } | |
2012 | ||
2013 | static PyObject *_wrap_wxLogInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2014 | PyObject * _resultobj; | |
2015 | char * _arg0; | |
2016 | char *_kwnames[] = { "szFormat", NULL }; | |
2017 | ||
2018 | self = self; | |
2019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogInfo",_kwnames,&_arg0)) | |
2020 | return NULL; | |
2021 | { | |
2022 | wxPy_BEGIN_ALLOW_THREADS; | |
2023 | wxLogInfo(_arg0); | |
2024 | ||
2025 | wxPy_END_ALLOW_THREADS; | |
2026 | } Py_INCREF(Py_None); | |
2027 | _resultobj = Py_None; | |
2028 | return _resultobj; | |
2029 | } | |
2030 | ||
2031 | static PyObject *_wrap_wxLogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2032 | PyObject * _resultobj; | |
2033 | char * _arg0; | |
2034 | char *_kwnames[] = { "szFormat", NULL }; | |
2035 | ||
2036 | self = self; | |
2037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogVerbose",_kwnames,&_arg0)) | |
2038 | return NULL; | |
2039 | { | |
2040 | wxPy_BEGIN_ALLOW_THREADS; | |
2041 | wxLogVerbose(_arg0); | |
2042 | ||
2043 | wxPy_END_ALLOW_THREADS; | |
2044 | } Py_INCREF(Py_None); | |
2045 | _resultobj = Py_None; | |
2046 | return _resultobj; | |
2047 | } | |
2048 | ||
2049 | static PyObject *_wrap_wxLogStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2050 | PyObject * _resultobj; | |
2051 | char * _arg0; | |
2052 | char *_kwnames[] = { "szFormat", NULL }; | |
2053 | ||
2054 | self = self; | |
2055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogStatus",_kwnames,&_arg0)) | |
2056 | return NULL; | |
2057 | { | |
2058 | wxPy_BEGIN_ALLOW_THREADS; | |
2059 | wxLogStatus(_arg0); | |
2060 | ||
2061 | wxPy_END_ALLOW_THREADS; | |
2062 | } Py_INCREF(Py_None); | |
2063 | _resultobj = Py_None; | |
2064 | return _resultobj; | |
2065 | } | |
2066 | ||
2067 | static PyObject *_wrap_wxLogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2068 | PyObject * _resultobj; | |
2069 | wxFrame * _arg0; | |
2070 | char * _arg1; | |
2071 | PyObject * _argo0 = 0; | |
2072 | char *_kwnames[] = { "pFrame","szFormat", NULL }; | |
2073 | ||
2074 | self = self; | |
2075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxLogStatusFrame",_kwnames,&_argo0,&_arg1)) | |
2076 | return NULL; | |
2077 | if (_argo0) { | |
2078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { | |
2080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p."); | |
2081 | return NULL; | |
2082 | } | |
2083 | } | |
2084 | { | |
2085 | wxPy_BEGIN_ALLOW_THREADS; | |
2086 | wxLogStatus(_arg0,_arg1); | |
2087 | ||
2088 | wxPy_END_ALLOW_THREADS; | |
2089 | } Py_INCREF(Py_None); | |
2090 | _resultobj = Py_None; | |
2091 | return _resultobj; | |
2092 | } | |
2093 | ||
2094 | static PyObject *_wrap_wxLogSysError(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2095 | PyObject * _resultobj; | |
2096 | char * _arg0; | |
2097 | char *_kwnames[] = { "szFormat", NULL }; | |
2098 | ||
2099 | self = self; | |
2100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLogSysError",_kwnames,&_arg0)) | |
2101 | return NULL; | |
2102 | { | |
2103 | wxPy_BEGIN_ALLOW_THREADS; | |
2104 | wxLogSysError(_arg0); | |
2105 | ||
2106 | wxPy_END_ALLOW_THREADS; | |
2107 | } Py_INCREF(Py_None); | |
2108 | _resultobj = Py_None; | |
2109 | return _resultobj; | |
2110 | } | |
2111 | ||
c368d904 RD |
2112 | static PyObject *_wrap_wxExecute(PyObject *self, PyObject *args, PyObject *kwargs) { |
2113 | PyObject * _resultobj; | |
2114 | long _result; | |
2115 | wxString * _arg0; | |
2116 | int _arg1 = (int ) FALSE; | |
2117 | wxPyProcess * _arg2 = (wxPyProcess *) NULL; | |
2118 | PyObject * _obj0 = 0; | |
2119 | PyObject * _argo2 = 0; | |
2120 | char *_kwnames[] = { "command","sync","process", NULL }; | |
2121 | ||
2122 | self = self; | |
2123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxExecute",_kwnames,&_obj0,&_arg1,&_argo2)) | |
2124 | return NULL; | |
2125 | { | |
2cd2fac8 RD |
2126 | #if PYTHON_API_VERSION >= 1009 |
2127 | char* tmpPtr; int tmpSize; | |
2128 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
2129 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
2130 | return NULL; | |
2131 | } | |
2132 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
2133 | return NULL; | |
2134 | _arg0 = new wxString(tmpPtr, tmpSize); | |
2135 | #else | |
c368d904 RD |
2136 | if (!PyString_Check(_obj0)) { |
2137 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2138 | return NULL; | |
2139 | } | |
2cd2fac8 RD |
2140 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
2141 | #endif | |
c368d904 RD |
2142 | } |
2143 | if (_argo2) { | |
2144 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2145 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyProcess_p")) { | |
2146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p."); | |
2147 | return NULL; | |
2148 | } | |
2149 | } | |
2150 | { | |
2151 | wxPy_BEGIN_ALLOW_THREADS; | |
2152 | _result = (long )wxExecute(*_arg0,_arg1,_arg2); | |
2153 | ||
2154 | wxPy_END_ALLOW_THREADS; | |
2155 | } _resultobj = Py_BuildValue("l",_result); | |
2156 | { | |
2157 | if (_obj0) | |
2158 | delete _arg0; | |
2159 | } | |
2160 | return _resultobj; | |
2161 | } | |
2162 | ||
f6bcfd97 BP |
2163 | #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0)) |
2164 | static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2165 | PyObject * _resultobj; | |
2166 | wxToolTip * _result; | |
2167 | wxString * _arg0; | |
2168 | PyObject * _obj0 = 0; | |
2169 | char *_kwnames[] = { "tip", NULL }; | |
2170 | char _ptemp[128]; | |
2171 | ||
2172 | self = self; | |
2173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0)) | |
2174 | return NULL; | |
2175 | { | |
2cd2fac8 RD |
2176 | #if PYTHON_API_VERSION >= 1009 |
2177 | char* tmpPtr; int tmpSize; | |
2178 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
2179 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
2180 | return NULL; | |
2181 | } | |
2182 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
2183 | return NULL; | |
2184 | _arg0 = new wxString(tmpPtr, tmpSize); | |
2185 | #else | |
f6bcfd97 BP |
2186 | if (!PyString_Check(_obj0)) { |
2187 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2188 | return NULL; | |
2189 | } | |
2cd2fac8 RD |
2190 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
2191 | #endif | |
f6bcfd97 BP |
2192 | } |
2193 | { | |
2194 | wxPy_BEGIN_ALLOW_THREADS; | |
2195 | _result = (wxToolTip *)new_wxToolTip(*_arg0); | |
2196 | ||
2197 | wxPy_END_ALLOW_THREADS; | |
2198 | } if (_result) { | |
2199 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p"); | |
2200 | _resultobj = Py_BuildValue("s",_ptemp); | |
2201 | } else { | |
2202 | Py_INCREF(Py_None); | |
2203 | _resultobj = Py_None; | |
2204 | } | |
2205 | { | |
2206 | if (_obj0) | |
2207 | delete _arg0; | |
2208 | } | |
2209 | return _resultobj; | |
2210 | } | |
2211 | ||
2212 | #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0)) | |
2213 | static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2214 | PyObject * _resultobj; | |
2215 | wxToolTip * _arg0; | |
2216 | wxString * _arg1; | |
2217 | PyObject * _argo0 = 0; | |
2218 | PyObject * _obj1 = 0; | |
2219 | char *_kwnames[] = { "self","tip", NULL }; | |
2220 | ||
2221 | self = self; | |
2222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1)) | |
2223 | return NULL; | |
2224 | if (_argo0) { | |
2225 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2226 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) { | |
2227 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p."); | |
2228 | return NULL; | |
2229 | } | |
2230 | } | |
2231 | { | |
2cd2fac8 RD |
2232 | #if PYTHON_API_VERSION >= 1009 |
2233 | char* tmpPtr; int tmpSize; | |
2234 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
2235 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
2236 | return NULL; | |
2237 | } | |
2238 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
2239 | return NULL; | |
2240 | _arg1 = new wxString(tmpPtr, tmpSize); | |
2241 | #else | |
f6bcfd97 BP |
2242 | if (!PyString_Check(_obj1)) { |
2243 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2244 | return NULL; | |
2245 | } | |
2cd2fac8 RD |
2246 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
2247 | #endif | |
f6bcfd97 BP |
2248 | } |
2249 | { | |
2250 | wxPy_BEGIN_ALLOW_THREADS; | |
2251 | wxToolTip_SetTip(_arg0,*_arg1); | |
2252 | ||
2253 | wxPy_END_ALLOW_THREADS; | |
2254 | } Py_INCREF(Py_None); | |
2255 | _resultobj = Py_None; | |
2256 | { | |
2257 | if (_obj1) | |
2258 | delete _arg1; | |
2259 | } | |
2260 | return _resultobj; | |
2261 | } | |
2262 | ||
2263 | #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip()) | |
2264 | static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2265 | PyObject * _resultobj; | |
2266 | wxString * _result; | |
2267 | wxToolTip * _arg0; | |
2268 | PyObject * _argo0 = 0; | |
2269 | char *_kwnames[] = { "self", NULL }; | |
2270 | ||
2271 | self = self; | |
2272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0)) | |
2273 | return NULL; | |
2274 | if (_argo0) { | |
2275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) { | |
2277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p."); | |
2278 | return NULL; | |
2279 | } | |
2280 | } | |
2281 | { | |
2282 | wxPy_BEGIN_ALLOW_THREADS; | |
2283 | _result = new wxString (wxToolTip_GetTip(_arg0)); | |
2284 | ||
2285 | wxPy_END_ALLOW_THREADS; | |
2286 | }{ | |
2287 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
2288 | } | |
2289 | { | |
2290 | delete _result; | |
2291 | } | |
2292 | return _resultobj; | |
2293 | } | |
2294 | ||
2295 | #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow()) | |
2296 | static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2297 | PyObject * _resultobj; | |
2298 | wxWindow * _result; | |
2299 | wxToolTip * _arg0; | |
2300 | PyObject * _argo0 = 0; | |
2301 | char *_kwnames[] = { "self", NULL }; | |
2302 | char _ptemp[128]; | |
2303 | ||
2304 | self = self; | |
2305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0)) | |
2306 | return NULL; | |
2307 | if (_argo0) { | |
2308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) { | |
2310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p."); | |
2311 | return NULL; | |
2312 | } | |
2313 | } | |
2314 | { | |
2315 | wxPy_BEGIN_ALLOW_THREADS; | |
2316 | _result = (wxWindow *)wxToolTip_GetWindow(_arg0); | |
2317 | ||
2318 | wxPy_END_ALLOW_THREADS; | |
2319 | } if (_result) { | |
2320 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
2321 | _resultobj = Py_BuildValue("s",_ptemp); | |
2322 | } else { | |
2323 | Py_INCREF(Py_None); | |
2324 | _resultobj = Py_None; | |
2325 | } | |
2326 | return _resultobj; | |
2327 | } | |
2328 | ||
2329 | #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1)) | |
2330 | static PyObject *_wrap_new_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2331 | PyObject * _resultobj; | |
2332 | wxCaret * _result; | |
2333 | wxWindow * _arg0; | |
2334 | wxSize * _arg1; | |
2335 | PyObject * _argo0 = 0; | |
2336 | wxSize temp; | |
2337 | PyObject * _obj1 = 0; | |
2338 | char *_kwnames[] = { "window","size", NULL }; | |
2339 | char _ptemp[128]; | |
2340 | ||
2341 | self = self; | |
2342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:new_wxCaret",_kwnames,&_argo0,&_obj1)) | |
2343 | return NULL; | |
2344 | if (_argo0) { | |
2345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
2347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p."); | |
2348 | return NULL; | |
2349 | } | |
2350 | } | |
2351 | { | |
2352 | _arg1 = &temp; | |
2353 | if (! wxSize_helper(_obj1, &_arg1)) | |
2354 | return NULL; | |
2355 | } | |
2356 | { | |
2357 | wxPy_BEGIN_ALLOW_THREADS; | |
2358 | _result = (wxCaret *)new_wxCaret(_arg0,*_arg1); | |
2359 | ||
2360 | wxPy_END_ALLOW_THREADS; | |
2361 | } if (_result) { | |
2362 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxCaret_p"); | |
2363 | _resultobj = Py_BuildValue("s",_ptemp); | |
2364 | } else { | |
2365 | Py_INCREF(Py_None); | |
2366 | _resultobj = Py_None; | |
2367 | } | |
2368 | return _resultobj; | |
2369 | } | |
2370 | ||
2371 | #define delete_wxCaret(_swigobj) (delete _swigobj) | |
2372 | static PyObject *_wrap_delete_wxCaret(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2373 | PyObject * _resultobj; | |
2374 | wxCaret * _arg0; | |
2375 | PyObject * _argo0 = 0; | |
2376 | char *_kwnames[] = { "self", NULL }; | |
2377 | ||
2378 | self = self; | |
2379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxCaret",_kwnames,&_argo0)) | |
2380 | return NULL; | |
2381 | if (_argo0) { | |
2382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p."); | |
2385 | return NULL; | |
2386 | } | |
2387 | } | |
2388 | { | |
2389 | wxPy_BEGIN_ALLOW_THREADS; | |
2390 | delete_wxCaret(_arg0); | |
2391 | ||
2392 | wxPy_END_ALLOW_THREADS; | |
2393 | } Py_INCREF(Py_None); | |
2394 | _resultobj = Py_None; | |
2395 | return _resultobj; | |
2396 | } | |
2397 | ||
2398 | #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk()) | |
2399 | static PyObject *_wrap_wxCaret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2400 | PyObject * _resultobj; | |
2401 | bool _result; | |
2402 | wxCaret * _arg0; | |
2403 | PyObject * _argo0 = 0; | |
2404 | char *_kwnames[] = { "self", NULL }; | |
2405 | ||
2406 | self = self; | |
2407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsOk",_kwnames,&_argo0)) | |
2408 | return NULL; | |
2409 | if (_argo0) { | |
2410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p."); | |
2413 | return NULL; | |
2414 | } | |
2415 | } | |
2416 | { | |
2417 | wxPy_BEGIN_ALLOW_THREADS; | |
2418 | _result = (bool )wxCaret_IsOk(_arg0); | |
2419 | ||
2420 | wxPy_END_ALLOW_THREADS; | |
2421 | } _resultobj = Py_BuildValue("i",_result); | |
2422 | return _resultobj; | |
2423 | } | |
2424 | ||
2425 | #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible()) | |
2426 | static PyObject *_wrap_wxCaret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2427 | PyObject * _resultobj; | |
2428 | bool _result; | |
2429 | wxCaret * _arg0; | |
2430 | PyObject * _argo0 = 0; | |
2431 | char *_kwnames[] = { "self", NULL }; | |
2432 | ||
2433 | self = self; | |
2434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_IsVisible",_kwnames,&_argo0)) | |
2435 | return NULL; | |
2436 | if (_argo0) { | |
2437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p."); | |
2440 | return NULL; | |
2441 | } | |
2442 | } | |
2443 | { | |
2444 | wxPy_BEGIN_ALLOW_THREADS; | |
2445 | _result = (bool )wxCaret_IsVisible(_arg0); | |
2446 | ||
2447 | wxPy_END_ALLOW_THREADS; | |
2448 | } _resultobj = Py_BuildValue("i",_result); | |
2449 | return _resultobj; | |
2450 | } | |
2451 | ||
2452 | #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1)) | |
2453 | static PyObject *_wrap_wxCaret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2454 | PyObject * _resultobj; | |
2455 | wxCaret * _arg0; | |
2456 | int * _arg1; | |
2457 | int temp; | |
2458 | int * _arg2; | |
2459 | int temp0; | |
2460 | PyObject * _argo0 = 0; | |
2461 | char *_kwnames[] = { "self", NULL }; | |
2462 | ||
2463 | self = self; | |
2464 | { | |
2465 | _arg1 = &temp; | |
2466 | } | |
2467 | { | |
2468 | _arg2 = &temp0; | |
2469 | } | |
2470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPositionTuple",_kwnames,&_argo0)) | |
2471 | return NULL; | |
2472 | if (_argo0) { | |
2473 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2474 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p."); | |
2476 | return NULL; | |
2477 | } | |
2478 | } | |
2479 | { | |
2480 | wxPy_BEGIN_ALLOW_THREADS; | |
2481 | wxCaret_GetPositionTuple(_arg0,_arg1,_arg2); | |
2482 | ||
2483 | wxPy_END_ALLOW_THREADS; | |
2484 | } Py_INCREF(Py_None); | |
2485 | _resultobj = Py_None; | |
2486 | { | |
2487 | PyObject *o; | |
2488 | o = PyInt_FromLong((long) (*_arg1)); | |
2489 | _resultobj = t_output_helper(_resultobj, o); | |
2490 | } | |
2491 | { | |
2492 | PyObject *o; | |
2493 | o = PyInt_FromLong((long) (*_arg2)); | |
2494 | _resultobj = t_output_helper(_resultobj, o); | |
2495 | } | |
2496 | return _resultobj; | |
2497 | } | |
2498 | ||
2499 | #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
8f17924e RD |
2500 | static PyObject *_wrap_wxCaret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
2501 | PyObject * _resultobj; | |
f6bcfd97 BP |
2502 | wxPoint * _result; |
2503 | wxCaret * _arg0; | |
2504 | PyObject * _argo0 = 0; | |
2505 | char *_kwnames[] = { "self", NULL }; | |
2506 | char _ptemp[128]; | |
2507 | ||
2508 | self = self; | |
2509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetPosition",_kwnames,&_argo0)) | |
2510 | return NULL; | |
2511 | if (_argo0) { | |
2512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p."); | |
2515 | return NULL; | |
2516 | } | |
2517 | } | |
2518 | { | |
2519 | wxPy_BEGIN_ALLOW_THREADS; | |
2520 | _result = new wxPoint (wxCaret_GetPosition(_arg0)); | |
2521 | ||
2522 | wxPy_END_ALLOW_THREADS; | |
2523 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2524 | _resultobj = Py_BuildValue("s",_ptemp); | |
2525 | return _resultobj; | |
2526 | } | |
2527 | ||
2528 | #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1)) | |
2529 | static PyObject *_wrap_wxCaret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2530 | PyObject * _resultobj; | |
2531 | wxCaret * _arg0; | |
2532 | int * _arg1; | |
2533 | int temp; | |
2534 | int * _arg2; | |
2535 | int temp0; | |
2536 | PyObject * _argo0 = 0; | |
2537 | char *_kwnames[] = { "self", NULL }; | |
2538 | ||
2539 | self = self; | |
2540 | { | |
2541 | _arg1 = &temp; | |
2542 | } | |
2543 | { | |
2544 | _arg2 = &temp0; | |
2545 | } | |
2546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSizeTuple",_kwnames,&_argo0)) | |
2547 | return NULL; | |
2548 | if (_argo0) { | |
2549 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2550 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p."); | |
2552 | return NULL; | |
2553 | } | |
2554 | } | |
2555 | { | |
2556 | wxPy_BEGIN_ALLOW_THREADS; | |
2557 | wxCaret_GetSizeTuple(_arg0,_arg1,_arg2); | |
2558 | ||
2559 | wxPy_END_ALLOW_THREADS; | |
2560 | } Py_INCREF(Py_None); | |
2561 | _resultobj = Py_None; | |
2562 | { | |
2563 | PyObject *o; | |
2564 | o = PyInt_FromLong((long) (*_arg1)); | |
2565 | _resultobj = t_output_helper(_resultobj, o); | |
2566 | } | |
2567 | { | |
2568 | PyObject *o; | |
2569 | o = PyInt_FromLong((long) (*_arg2)); | |
2570 | _resultobj = t_output_helper(_resultobj, o); | |
2571 | } | |
2572 | return _resultobj; | |
2573 | } | |
2574 | ||
2575 | #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize()) | |
2576 | static PyObject *_wrap_wxCaret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2577 | PyObject * _resultobj; | |
2578 | wxSize * _result; | |
2579 | wxCaret * _arg0; | |
2580 | PyObject * _argo0 = 0; | |
2581 | char *_kwnames[] = { "self", NULL }; | |
2582 | char _ptemp[128]; | |
2583 | ||
2584 | self = self; | |
2585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetSize",_kwnames,&_argo0)) | |
2586 | return NULL; | |
2587 | if (_argo0) { | |
2588 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2589 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p."); | |
2591 | return NULL; | |
2592 | } | |
2593 | } | |
2594 | { | |
2595 | wxPy_BEGIN_ALLOW_THREADS; | |
2596 | _result = new wxSize (wxCaret_GetSize(_arg0)); | |
2597 | ||
2598 | wxPy_END_ALLOW_THREADS; | |
2599 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p"); | |
2600 | _resultobj = Py_BuildValue("s",_ptemp); | |
2601 | return _resultobj; | |
2602 | } | |
2603 | ||
2604 | #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow()) | |
2605 | static PyObject *_wrap_wxCaret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2606 | PyObject * _resultobj; | |
2607 | wxWindow * _result; | |
2608 | wxCaret * _arg0; | |
2609 | PyObject * _argo0 = 0; | |
2610 | char *_kwnames[] = { "self", NULL }; | |
2611 | char _ptemp[128]; | |
2612 | ||
2613 | self = self; | |
2614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_GetWindow",_kwnames,&_argo0)) | |
2615 | return NULL; | |
2616 | if (_argo0) { | |
2617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p."); | |
2620 | return NULL; | |
2621 | } | |
2622 | } | |
2623 | { | |
2624 | wxPy_BEGIN_ALLOW_THREADS; | |
2625 | _result = (wxWindow *)wxCaret_GetWindow(_arg0); | |
2626 | ||
2627 | wxPy_END_ALLOW_THREADS; | |
2628 | } if (_result) { | |
2629 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p"); | |
2630 | _resultobj = Py_BuildValue("s",_ptemp); | |
2631 | } else { | |
2632 | Py_INCREF(Py_None); | |
2633 | _resultobj = Py_None; | |
2634 | } | |
2635 | return _resultobj; | |
2636 | } | |
2637 | ||
2638 | #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1)) | |
2639 | static PyObject *_wrap_wxCaret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2640 | PyObject * _resultobj; | |
2641 | wxCaret * _arg0; | |
2642 | int _arg1; | |
2643 | int _arg2; | |
2644 | PyObject * _argo0 = 0; | |
2645 | char *_kwnames[] = { "self","x","y", NULL }; | |
2646 | ||
2647 | self = self; | |
2648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_MoveXY",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2649 | return NULL; | |
2650 | if (_argo0) { | |
2651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p."); | |
2654 | return NULL; | |
2655 | } | |
2656 | } | |
2657 | { | |
2658 | wxPy_BEGIN_ALLOW_THREADS; | |
2659 | wxCaret_MoveXY(_arg0,_arg1,_arg2); | |
2660 | ||
2661 | wxPy_END_ALLOW_THREADS; | |
2662 | } Py_INCREF(Py_None); | |
2663 | _resultobj = Py_None; | |
2664 | return _resultobj; | |
2665 | } | |
2666 | ||
2667 | #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0)) | |
2668 | static PyObject *_wrap_wxCaret_Move(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2669 | PyObject * _resultobj; | |
2670 | wxCaret * _arg0; | |
2671 | wxPoint * _arg1; | |
2672 | PyObject * _argo0 = 0; | |
2673 | wxPoint temp; | |
2674 | PyObject * _obj1 = 0; | |
2675 | char *_kwnames[] = { "self","pt", NULL }; | |
2676 | ||
2677 | self = self; | |
2678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_Move",_kwnames,&_argo0,&_obj1)) | |
2679 | return NULL; | |
2680 | if (_argo0) { | |
2681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p."); | |
2684 | return NULL; | |
2685 | } | |
2686 | } | |
2687 | { | |
2688 | _arg1 = &temp; | |
2689 | if (! wxPoint_helper(_obj1, &_arg1)) | |
2690 | return NULL; | |
2691 | } | |
2692 | { | |
2693 | wxPy_BEGIN_ALLOW_THREADS; | |
2694 | wxCaret_Move(_arg0,*_arg1); | |
2695 | ||
2696 | wxPy_END_ALLOW_THREADS; | |
2697 | } Py_INCREF(Py_None); | |
2698 | _resultobj = Py_None; | |
2699 | return _resultobj; | |
2700 | } | |
2701 | ||
2702 | #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) | |
2703 | static PyObject *_wrap_wxCaret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2704 | PyObject * _resultobj; | |
2705 | wxCaret * _arg0; | |
2706 | int _arg1; | |
2707 | int _arg2; | |
2708 | PyObject * _argo0 = 0; | |
2709 | char *_kwnames[] = { "self","width","height", NULL }; | |
2710 | ||
2711 | self = self; | |
2712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCaret_SetSizeWH",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2713 | return NULL; | |
2714 | if (_argo0) { | |
2715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p."); | |
2718 | return NULL; | |
2719 | } | |
2720 | } | |
2721 | { | |
2722 | wxPy_BEGIN_ALLOW_THREADS; | |
2723 | wxCaret_SetSizeWH(_arg0,_arg1,_arg2); | |
2724 | ||
2725 | wxPy_END_ALLOW_THREADS; | |
2726 | } Py_INCREF(Py_None); | |
2727 | _resultobj = Py_None; | |
2728 | return _resultobj; | |
2729 | } | |
2730 | ||
2731 | #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0)) | |
2732 | static PyObject *_wrap_wxCaret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2733 | PyObject * _resultobj; | |
2734 | wxCaret * _arg0; | |
2735 | wxSize * _arg1; | |
2736 | PyObject * _argo0 = 0; | |
2737 | wxSize temp; | |
2738 | PyObject * _obj1 = 0; | |
2739 | char *_kwnames[] = { "self","size", NULL }; | |
2740 | ||
2741 | self = self; | |
2742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCaret_SetSize",_kwnames,&_argo0,&_obj1)) | |
2743 | return NULL; | |
2744 | if (_argo0) { | |
2745 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2746 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p."); | |
2748 | return NULL; | |
2749 | } | |
2750 | } | |
2751 | { | |
2752 | _arg1 = &temp; | |
2753 | if (! wxSize_helper(_obj1, &_arg1)) | |
2754 | return NULL; | |
2755 | } | |
2756 | { | |
2757 | wxPy_BEGIN_ALLOW_THREADS; | |
2758 | wxCaret_SetSize(_arg0,*_arg1); | |
2759 | ||
2760 | wxPy_END_ALLOW_THREADS; | |
2761 | } Py_INCREF(Py_None); | |
2762 | _resultobj = Py_None; | |
2763 | return _resultobj; | |
2764 | } | |
2765 | ||
2766 | #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0)) | |
2767 | static PyObject *_wrap_wxCaret_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2768 | PyObject * _resultobj; | |
2769 | wxCaret * _arg0; | |
2770 | int _arg1 = (int ) TRUE; | |
2771 | PyObject * _argo0 = 0; | |
2772 | char *_kwnames[] = { "self","show", NULL }; | |
2773 | ||
2774 | self = self; | |
2775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxCaret_Show",_kwnames,&_argo0,&_arg1)) | |
2776 | return NULL; | |
2777 | if (_argo0) { | |
2778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p."); | |
2781 | return NULL; | |
2782 | } | |
2783 | } | |
2784 | { | |
2785 | wxPy_BEGIN_ALLOW_THREADS; | |
2786 | wxCaret_Show(_arg0,_arg1); | |
2787 | ||
2788 | wxPy_END_ALLOW_THREADS; | |
2789 | } Py_INCREF(Py_None); | |
2790 | _resultobj = Py_None; | |
2791 | return _resultobj; | |
2792 | } | |
2793 | ||
2794 | #define wxCaret_Hide(_swigobj) (_swigobj->Hide()) | |
2795 | static PyObject *_wrap_wxCaret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2796 | PyObject * _resultobj; | |
2797 | wxCaret * _arg0; | |
2798 | PyObject * _argo0 = 0; | |
2799 | char *_kwnames[] = { "self", NULL }; | |
2800 | ||
2801 | self = self; | |
2802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCaret_Hide",_kwnames,&_argo0)) | |
2803 | return NULL; | |
2804 | if (_argo0) { | |
2805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCaret_p")) { | |
2807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p."); | |
2808 | return NULL; | |
2809 | } | |
2810 | } | |
2811 | { | |
2812 | wxPy_BEGIN_ALLOW_THREADS; | |
2813 | wxCaret_Hide(_arg0); | |
2814 | ||
2815 | wxPy_END_ALLOW_THREADS; | |
2816 | } Py_INCREF(Py_None); | |
2817 | _resultobj = Py_None; | |
2818 | return _resultobj; | |
2819 | } | |
2820 | ||
2821 | #define new_wxFontEnumerator() (new wxPyFontEnumerator()) | |
2822 | static PyObject *_wrap_new_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2823 | PyObject * _resultobj; | |
2824 | wxPyFontEnumerator * _result; | |
2825 | char *_kwnames[] = { NULL }; | |
2826 | char _ptemp[128]; | |
2827 | ||
2828 | self = self; | |
2829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxFontEnumerator",_kwnames)) | |
2830 | return NULL; | |
2831 | { | |
2832 | wxPy_BEGIN_ALLOW_THREADS; | |
2833 | _result = (wxPyFontEnumerator *)new_wxFontEnumerator(); | |
2834 | ||
2835 | wxPy_END_ALLOW_THREADS; | |
2836 | } if (_result) { | |
2837 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyFontEnumerator_p"); | |
2838 | _resultobj = Py_BuildValue("s",_ptemp); | |
2839 | } else { | |
2840 | Py_INCREF(Py_None); | |
2841 | _resultobj = Py_None; | |
2842 | } | |
2843 | return _resultobj; | |
2844 | } | |
2845 | ||
2846 | #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj) | |
2847 | static PyObject *_wrap_delete_wxFontEnumerator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2848 | PyObject * _resultobj; | |
2849 | wxPyFontEnumerator * _arg0; | |
2850 | PyObject * _argo0 = 0; | |
2851 | char *_kwnames[] = { "self", NULL }; | |
2852 | ||
2853 | self = self; | |
2854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxFontEnumerator",_kwnames,&_argo0)) | |
2855 | return NULL; | |
2856 | if (_argo0) { | |
2857 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2858 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) { | |
2859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p."); | |
2860 | return NULL; | |
2861 | } | |
2862 | } | |
2863 | { | |
2864 | wxPy_BEGIN_ALLOW_THREADS; | |
2865 | delete_wxPyFontEnumerator(_arg0); | |
2866 | ||
2867 | wxPy_END_ALLOW_THREADS; | |
2868 | } Py_INCREF(Py_None); | |
2869 | _resultobj = Py_None; | |
2870 | return _resultobj; | |
2871 | } | |
2872 | ||
2873 | #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) | |
2874 | static PyObject *_wrap_wxFontEnumerator__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2875 | PyObject * _resultobj; | |
2876 | wxPyFontEnumerator * _arg0; | |
2877 | PyObject * _arg1; | |
2878 | PyObject * _arg2; | |
2879 | PyObject * _argo0 = 0; | |
2880 | PyObject * _obj1 = 0; | |
2881 | PyObject * _obj2 = 0; | |
2882 | char *_kwnames[] = { "self","self","_class", NULL }; | |
2883 | ||
2884 | self = self; | |
2885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxFontEnumerator__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) | |
2886 | return NULL; | |
2887 | if (_argo0) { | |
2888 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2889 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) { | |
2890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p."); | |
2891 | return NULL; | |
2892 | } | |
2893 | } | |
2894 | { | |
2895 | _arg1 = _obj1; | |
2896 | } | |
2897 | { | |
2898 | _arg2 = _obj2; | |
2899 | } | |
2900 | { | |
2901 | wxPy_BEGIN_ALLOW_THREADS; | |
2902 | wxFontEnumerator__setSelf(_arg0,_arg1,_arg2); | |
2903 | ||
2904 | wxPy_END_ALLOW_THREADS; | |
2905 | } Py_INCREF(Py_None); | |
2906 | _resultobj = Py_None; | |
2907 | return _resultobj; | |
2908 | } | |
2909 | ||
2910 | #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1)) | |
2911 | static PyObject *_wrap_wxFontEnumerator_EnumerateFacenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2912 | PyObject * _resultobj; | |
2913 | bool _result; | |
2914 | wxPyFontEnumerator * _arg0; | |
2915 | wxFontEncoding _arg1 = (wxFontEncoding ) wxFONTENCODING_SYSTEM; | |
2916 | bool _arg2 = (bool ) FALSE; | |
2917 | PyObject * _argo0 = 0; | |
2918 | int tempbool2 = (int) FALSE; | |
2919 | char *_kwnames[] = { "self","encoding","fixedWidthOnly", NULL }; | |
2920 | ||
2921 | self = self; | |
2922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2923 | return NULL; | |
2924 | if (_argo0) { | |
2925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) { | |
2927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p."); | |
2928 | return NULL; | |
2929 | } | |
2930 | } | |
2931 | _arg2 = (bool ) tempbool2; | |
2932 | { | |
2933 | wxPy_BEGIN_ALLOW_THREADS; | |
2934 | _result = (bool )wxFontEnumerator_EnumerateFacenames(_arg0,_arg1,_arg2); | |
2935 | ||
2936 | wxPy_END_ALLOW_THREADS; | |
2937 | } _resultobj = Py_BuildValue("i",_result); | |
2938 | return _resultobj; | |
2939 | } | |
2940 | ||
2941 | #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0)) | |
2942 | static PyObject *_wrap_wxFontEnumerator_EnumerateEncodings(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2943 | PyObject * _resultobj; | |
2944 | bool _result; | |
2945 | wxPyFontEnumerator * _arg0; | |
2946 | char * _arg1 = (char *) ""; | |
2947 | PyObject * _argo0 = 0; | |
2948 | char *_kwnames[] = { "self","facename", NULL }; | |
2949 | ||
2950 | self = self; | |
2951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames,&_argo0,&_arg1)) | |
2952 | return NULL; | |
2953 | if (_argo0) { | |
2954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) { | |
2956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p."); | |
2957 | return NULL; | |
2958 | } | |
2959 | } | |
2960 | { | |
2961 | wxPy_BEGIN_ALLOW_THREADS; | |
2962 | _result = (bool )wxFontEnumerator_EnumerateEncodings(_arg0,_arg1); | |
2963 | ||
2964 | wxPy_END_ALLOW_THREADS; | |
2965 | } _resultobj = Py_BuildValue("i",_result); | |
2966 | return _resultobj; | |
2967 | } | |
2968 | ||
2969 | static PyObject * wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator *self) { | |
2970 | wxArrayString* arr = self->GetEncodings(); | |
2971 | PyObject* list = PyList_New(0); | |
2972 | for (size_t x=0; x<arr->GetCount(); x++) | |
2973 | PyList_Append(list, PyString_FromString((*arr)[x])); | |
2974 | return list; | |
2975 | } | |
2976 | static PyObject *_wrap_wxFontEnumerator_GetEncodings(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2977 | PyObject * _resultobj; | |
2978 | PyObject * _result; | |
2979 | wxPyFontEnumerator * _arg0; | |
2980 | PyObject * _argo0 = 0; | |
2981 | char *_kwnames[] = { "self", NULL }; | |
2982 | ||
2983 | self = self; | |
2984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetEncodings",_kwnames,&_argo0)) | |
2985 | return NULL; | |
2986 | if (_argo0) { | |
2987 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2988 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) { | |
2989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p."); | |
2990 | return NULL; | |
2991 | } | |
2992 | } | |
2993 | { | |
2994 | wxPy_BEGIN_ALLOW_THREADS; | |
2995 | _result = (PyObject *)wxPyFontEnumerator_GetEncodings(_arg0); | |
2996 | ||
2997 | wxPy_END_ALLOW_THREADS; | |
2998 | }{ | |
2999 | _resultobj = _result; | |
3000 | } | |
3001 | return _resultobj; | |
3002 | } | |
3003 | ||
3004 | static PyObject * wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator *self) { | |
3005 | wxArrayString* arr = self->GetFacenames(); | |
3006 | PyObject* list = PyList_New(0); | |
3007 | for (size_t x=0; x<arr->GetCount(); x++) | |
3008 | PyList_Append(list, PyString_FromString((*arr)[x])); | |
3009 | return list; | |
3010 | } | |
3011 | static PyObject *_wrap_wxFontEnumerator_GetFacenames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3012 | PyObject * _resultobj; | |
3013 | PyObject * _result; | |
3014 | wxPyFontEnumerator * _arg0; | |
3015 | PyObject * _argo0 = 0; | |
3016 | char *_kwnames[] = { "self", NULL }; | |
3017 | ||
3018 | self = self; | |
3019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxFontEnumerator_GetFacenames",_kwnames,&_argo0)) | |
3020 | return NULL; | |
3021 | if (_argo0) { | |
3022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyFontEnumerator_p")) { | |
3024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p."); | |
3025 | return NULL; | |
3026 | } | |
3027 | } | |
3028 | { | |
3029 | wxPy_BEGIN_ALLOW_THREADS; | |
3030 | _result = (PyObject *)wxPyFontEnumerator_GetFacenames(_arg0); | |
3031 | ||
3032 | wxPy_END_ALLOW_THREADS; | |
3033 | }{ | |
3034 | _resultobj = _result; | |
3035 | } | |
3036 | return _resultobj; | |
3037 | } | |
3038 | ||
3039 | #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0)) | |
3040 | static PyObject *_wrap_new_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3041 | PyObject * _resultobj; | |
3042 | wxBusyCursor * _result; | |
3043 | wxCursor * _arg0 = (wxCursor *) wxHOURGLASS_CURSOR; | |
3044 | PyObject * _argo0 = 0; | |
3045 | char *_kwnames[] = { "cursor", NULL }; | |
3046 | char _ptemp[128]; | |
3047 | ||
3048 | self = self; | |
3049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxBusyCursor",_kwnames,&_argo0)) | |
3050 | return NULL; | |
3051 | if (_argo0) { | |
3052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCursor_p")) { | |
3054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p."); | |
3055 | return NULL; | |
3056 | } | |
3057 | } | |
3058 | { | |
3059 | wxPy_BEGIN_ALLOW_THREADS; | |
3060 | _result = (wxBusyCursor *)new_wxBusyCursor(_arg0); | |
3061 | ||
3062 | wxPy_END_ALLOW_THREADS; | |
3063 | } if (_result) { | |
3064 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBusyCursor_p"); | |
3065 | _resultobj = Py_BuildValue("s",_ptemp); | |
3066 | } else { | |
3067 | Py_INCREF(Py_None); | |
3068 | _resultobj = Py_None; | |
3069 | } | |
3070 | return _resultobj; | |
3071 | } | |
3072 | ||
3073 | #define delete_wxBusyCursor(_swigobj) (delete _swigobj) | |
3074 | static PyObject *_wrap_delete_wxBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3075 | PyObject * _resultobj; | |
3076 | wxBusyCursor * _arg0; | |
3077 | PyObject * _argo0 = 0; | |
3078 | char *_kwnames[] = { "self", NULL }; | |
3079 | ||
3080 | self = self; | |
3081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxBusyCursor",_kwnames,&_argo0)) | |
3082 | return NULL; | |
3083 | if (_argo0) { | |
3084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBusyCursor_p")) { | |
3086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p."); | |
3087 | return NULL; | |
3088 | } | |
3089 | } | |
3090 | { | |
3091 | wxPy_BEGIN_ALLOW_THREADS; | |
3092 | delete_wxBusyCursor(_arg0); | |
3093 | ||
3094 | wxPy_END_ALLOW_THREADS; | |
3095 | } Py_INCREF(Py_None); | |
3096 | _resultobj = Py_None; | |
3097 | return _resultobj; | |
3098 | } | |
3099 | ||
c368d904 RD |
3100 | #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0)) |
3101 | static PyObject *_wrap_new_wxWindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3102 | PyObject * _resultobj; | |
3103 | wxWindowDisabler * _result; | |
3104 | wxWindow * _arg0 = (wxWindow *) NULL; | |
3105 | PyObject * _argo0 = 0; | |
3106 | char *_kwnames[] = { "winToSkip", NULL }; | |
3107 | char _ptemp[128]; | |
3108 | ||
3109 | self = self; | |
3110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxWindowDisabler",_kwnames,&_argo0)) | |
3111 | return NULL; | |
3112 | if (_argo0) { | |
3113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
3115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p."); | |
3116 | return NULL; | |
3117 | } | |
3118 | } | |
3119 | { | |
3120 | wxPy_BEGIN_ALLOW_THREADS; | |
3121 | _result = (wxWindowDisabler *)new_wxWindowDisabler(_arg0); | |
3122 | ||
3123 | wxPy_END_ALLOW_THREADS; | |
3124 | } if (_result) { | |
3125 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindowDisabler_p"); | |
3126 | _resultobj = Py_BuildValue("s",_ptemp); | |
3127 | } else { | |
3128 | Py_INCREF(Py_None); | |
3129 | _resultobj = Py_None; | |
3130 | } | |
3131 | return _resultobj; | |
3132 | } | |
3133 | ||
3134 | #define delete_wxWindowDisabler(_swigobj) (delete _swigobj) | |
3135 | static PyObject *_wrap_delete_wxWindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3136 | PyObject * _resultobj; | |
3137 | wxWindowDisabler * _arg0; | |
3138 | PyObject * _argo0 = 0; | |
3139 | char *_kwnames[] = { "self", NULL }; | |
3140 | ||
3141 | self = self; | |
3142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxWindowDisabler",_kwnames,&_argo0)) | |
3143 | return NULL; | |
3144 | if (_argo0) { | |
3145 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3146 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindowDisabler_p")) { | |
3147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p."); | |
3148 | return NULL; | |
3149 | } | |
3150 | } | |
3151 | { | |
3152 | wxPy_BEGIN_ALLOW_THREADS; | |
3153 | delete_wxWindowDisabler(_arg0); | |
3154 | ||
3155 | wxPy_END_ALLOW_THREADS; | |
3156 | } Py_INCREF(Py_None); | |
3157 | _resultobj = Py_None; | |
3158 | return _resultobj; | |
3159 | } | |
3160 | ||
f6bcfd97 BP |
3161 | #define delete_wxTipProvider(_swigobj) (delete _swigobj) |
3162 | static PyObject *_wrap_delete_wxTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3163 | PyObject * _resultobj; | |
3164 | wxTipProvider * _arg0; | |
3165 | PyObject * _argo0 = 0; | |
3166 | char *_kwnames[] = { "self", NULL }; | |
3167 | ||
3168 | self = self; | |
3169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTipProvider",_kwnames,&_argo0)) | |
3170 | return NULL; | |
3171 | if (_argo0) { | |
3172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) { | |
3174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p."); | |
3175 | return NULL; | |
3176 | } | |
3177 | } | |
3178 | { | |
3179 | wxPy_BEGIN_ALLOW_THREADS; | |
3180 | delete_wxTipProvider(_arg0); | |
3181 | ||
3182 | wxPy_END_ALLOW_THREADS; | |
3183 | } Py_INCREF(Py_None); | |
3184 | _resultobj = Py_None; | |
3185 | return _resultobj; | |
3186 | } | |
3187 | ||
3188 | #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip()) | |
3189 | static PyObject *_wrap_wxTipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3190 | PyObject * _resultobj; | |
3191 | wxString * _result; | |
3192 | wxTipProvider * _arg0; | |
3193 | PyObject * _argo0 = 0; | |
3194 | char *_kwnames[] = { "self", NULL }; | |
3195 | ||
3196 | self = self; | |
3197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipProvider_GetTip",_kwnames,&_argo0)) | |
3198 | return NULL; | |
3199 | if (_argo0) { | |
3200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) { | |
3202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p."); | |
3203 | return NULL; | |
3204 | } | |
3205 | } | |
3206 | { | |
3207 | wxPy_BEGIN_ALLOW_THREADS; | |
3208 | _result = new wxString (wxTipProvider_GetTip(_arg0)); | |
3209 | ||
3210 | wxPy_END_ALLOW_THREADS; | |
3211 | }{ | |
3212 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
3213 | } | |
3214 | { | |
3215 | delete _result; | |
3216 | } | |
3217 | return _resultobj; | |
3218 | } | |
3219 | ||
3220 | #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip()) | |
3221 | static PyObject *_wrap_wxTipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3222 | PyObject * _resultobj; | |
3223 | size_t _result; | |
3224 | wxTipProvider * _arg0; | |
3225 | PyObject * _argo0 = 0; | |
3226 | char *_kwnames[] = { "self", NULL }; | |
3227 | ||
3228 | self = self; | |
3229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTipProvider_GetCurrentTip",_kwnames,&_argo0)) | |
3230 | return NULL; | |
3231 | if (_argo0) { | |
3232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTipProvider_p")) { | |
3234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p."); | |
3235 | return NULL; | |
3236 | } | |
3237 | } | |
3238 | { | |
3239 | wxPy_BEGIN_ALLOW_THREADS; | |
3240 | _result = (size_t )wxTipProvider_GetCurrentTip(_arg0); | |
3241 | ||
3242 | wxPy_END_ALLOW_THREADS; | |
3243 | } _resultobj = Py_BuildValue("i",_result); | |
3244 | return _resultobj; | |
3245 | } | |
3246 | ||
3247 | static void *SwigwxPyTipProviderTowxTipProvider(void *ptr) { | |
3248 | wxPyTipProvider *src; | |
3249 | wxTipProvider *dest; | |
3250 | src = (wxPyTipProvider *) ptr; | |
3251 | dest = (wxTipProvider *) src; | |
3252 | return (void *) dest; | |
3253 | } | |
3254 | ||
3255 | #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0)) | |
3256 | static PyObject *_wrap_new_wxPyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3257 | PyObject * _resultobj; | |
3258 | wxPyTipProvider * _result; | |
3259 | size_t _arg0; | |
3260 | char *_kwnames[] = { "currentTip", NULL }; | |
3261 | char _ptemp[128]; | |
3262 | ||
3263 | self = self; | |
3264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:new_wxPyTipProvider",_kwnames,&_arg0)) | |
3265 | return NULL; | |
3266 | { | |
3267 | wxPy_BEGIN_ALLOW_THREADS; | |
3268 | _result = (wxPyTipProvider *)new_wxPyTipProvider(_arg0); | |
3269 | ||
3270 | wxPy_END_ALLOW_THREADS; | |
3271 | } if (_result) { | |
3272 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTipProvider_p"); | |
3273 | _resultobj = Py_BuildValue("s",_ptemp); | |
3274 | } else { | |
3275 | Py_INCREF(Py_None); | |
3276 | _resultobj = Py_None; | |
3277 | } | |
3278 | return _resultobj; | |
3279 | } | |
3280 | ||
3281 | #define new_wxDragImage(_swigarg0,_swigarg1,_swigarg2) (new wxGenericDragImage(_swigarg0,_swigarg1,_swigarg2)) | |
3282 | static PyObject *_wrap_new_wxDragImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3283 | PyObject * _resultobj; | |
3284 | wxGenericDragImage * _result; | |
3285 | wxBitmap * _arg0; | |
3286 | wxCursor * _arg1 = (wxCursor *) &wxNullCursor; | |
3287 | wxPoint * _arg2 = (wxPoint *) &wxPyNullPoint; | |
3288 | PyObject * _argo0 = 0; | |
3289 | PyObject * _argo1 = 0; | |
3290 | wxPoint temp; | |
3291 | PyObject * _obj2 = 0; | |
3292 | char *_kwnames[] = { "image","cursor","hotspot", NULL }; | |
3293 | char _ptemp[128]; | |
3294 | ||
3295 | self = self; | |
3296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|OO:new_wxDragImage",_kwnames,&_argo0,&_argo1,&_obj2)) | |
3297 | return NULL; | |
3298 | if (_argo0) { | |
3299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmap_p")) { | |
3301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p."); | |
3302 | return NULL; | |
3303 | } | |
3304 | } | |
3305 | if (_argo1) { | |
3306 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3307 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCursor_p")) { | |
3308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p."); | |
3309 | return NULL; | |
3310 | } | |
3311 | } | |
3312 | if (_obj2) | |
3313 | { | |
3314 | _arg2 = &temp; | |
3315 | if (! wxPoint_helper(_obj2, &_arg2)) | |
3316 | return NULL; | |
3317 | } | |
3318 | { | |
3319 | wxPy_BEGIN_ALLOW_THREADS; | |
3320 | _result = (wxGenericDragImage *)new_wxDragImage(*_arg0,*_arg1,*_arg2); | |
3321 | ||
3322 | wxPy_END_ALLOW_THREADS; | |
3323 | } if (_result) { | |
3324 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxGenericDragImage_p"); | |
3325 | _resultobj = Py_BuildValue("s",_ptemp); | |
3326 | } else { | |
3327 | Py_INCREF(Py_None); | |
3328 | _resultobj = Py_None; | |
3329 | } | |
3330 | return _resultobj; | |
3331 | } | |
3332 | ||
3333 | #define delete_wxGenericDragImage(_swigobj) (delete _swigobj) | |
3334 | static PyObject *_wrap_delete_wxDragImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3335 | PyObject * _resultobj; | |
3336 | wxGenericDragImage * _arg0; | |
3337 | PyObject * _argo0 = 0; | |
3338 | char *_kwnames[] = { "self", NULL }; | |
3339 | ||
3340 | self = self; | |
3341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDragImage",_kwnames,&_argo0)) | |
3342 | return NULL; | |
3343 | if (_argo0) { | |
3344 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3345 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) { | |
3346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p."); | |
3347 | return NULL; | |
3348 | } | |
3349 | } | |
3350 | { | |
3351 | wxPy_BEGIN_ALLOW_THREADS; | |
3352 | delete_wxGenericDragImage(_arg0); | |
3353 | ||
3354 | wxPy_END_ALLOW_THREADS; | |
3355 | } Py_INCREF(Py_None); | |
3356 | _resultobj = Py_None; | |
3357 | return _resultobj; | |
3358 | } | |
3359 | ||
3360 | #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3361 | static PyObject *_wrap_wxDragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3362 | PyObject * _resultobj; | |
3363 | bool _result; | |
3364 | wxGenericDragImage * _arg0; | |
3365 | wxPoint * _arg1; | |
3366 | wxWindow * _arg2; | |
3367 | bool _arg3 = (bool ) FALSE; | |
3368 | wxRect * _arg4 = (wxRect *) NULL; | |
3369 | PyObject * _argo0 = 0; | |
3370 | wxPoint temp; | |
3371 | PyObject * _obj1 = 0; | |
3372 | PyObject * _argo2 = 0; | |
3373 | int tempbool3 = (int) FALSE; | |
3374 | wxRect temp0; | |
3375 | PyObject * _obj4 = 0; | |
3376 | char *_kwnames[] = { "self","hotspot","window","fullScreen","rect", NULL }; | |
3377 | ||
3378 | self = self; | |
3379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iO:wxDragImage_BeginDrag",_kwnames,&_argo0,&_obj1,&_argo2,&tempbool3,&_obj4)) | |
3380 | return NULL; | |
3381 | if (_argo0) { | |
3382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) { | |
3384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p."); | |
3385 | return NULL; | |
3386 | } | |
3387 | } | |
3388 | { | |
3389 | _arg1 = &temp; | |
3390 | if (! wxPoint_helper(_obj1, &_arg1)) | |
3391 | return NULL; | |
3392 | } | |
3393 | if (_argo2) { | |
3394 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3395 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
3396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p."); | |
3397 | return NULL; | |
3398 | } | |
3399 | } | |
3400 | _arg3 = (bool ) tempbool3; | |
3401 | if (_obj4) | |
3402 | { | |
3403 | _arg4 = &temp0; | |
3404 | if (! wxRect_helper(_obj4, &_arg4)) | |
3405 | return NULL; | |
3406 | } | |
3407 | { | |
3408 | wxPy_BEGIN_ALLOW_THREADS; | |
3409 | _result = (bool )wxDragImage_BeginDrag(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3410 | ||
3411 | wxPy_END_ALLOW_THREADS; | |
3412 | } _resultobj = Py_BuildValue("i",_result); | |
3413 | return _resultobj; | |
3414 | } | |
3415 | ||
3416 | #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2)) | |
3417 | static PyObject *_wrap_wxDragImage_BeginDrag2(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3418 | PyObject * _resultobj; | |
3419 | bool _result; | |
3420 | wxGenericDragImage * _arg0; | |
3421 | wxPoint * _arg1; | |
3422 | wxWindow * _arg2; | |
3423 | wxWindow * _arg3; | |
3424 | PyObject * _argo0 = 0; | |
3425 | wxPoint temp; | |
3426 | PyObject * _obj1 = 0; | |
3427 | PyObject * _argo2 = 0; | |
3428 | PyObject * _argo3 = 0; | |
3429 | char *_kwnames[] = { "self","hotspot","window","fullScreenRect", NULL }; | |
3430 | ||
3431 | self = self; | |
3432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxDragImage_BeginDrag2",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3)) | |
3433 | return NULL; | |
3434 | if (_argo0) { | |
3435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) { | |
3437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p."); | |
3438 | return NULL; | |
3439 | } | |
3440 | } | |
3441 | { | |
3442 | _arg1 = &temp; | |
3443 | if (! wxPoint_helper(_obj1, &_arg1)) | |
3444 | return NULL; | |
3445 | } | |
3446 | if (_argo2) { | |
3447 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3448 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) { | |
3449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p."); | |
3450 | return NULL; | |
3451 | } | |
3452 | } | |
3453 | if (_argo3) { | |
3454 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
3455 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) { | |
3456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p."); | |
3457 | return NULL; | |
3458 | } | |
3459 | } | |
3460 | { | |
3461 | wxPy_BEGIN_ALLOW_THREADS; | |
3462 | _result = (bool )wxDragImage_BeginDrag2(_arg0,*_arg1,_arg2,_arg3); | |
3463 | ||
3464 | wxPy_END_ALLOW_THREADS; | |
3465 | } _resultobj = Py_BuildValue("i",_result); | |
3466 | return _resultobj; | |
3467 | } | |
3468 | ||
3469 | #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag()) | |
3470 | static PyObject *_wrap_wxDragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3471 | PyObject * _resultobj; | |
3472 | bool _result; | |
3473 | wxGenericDragImage * _arg0; | |
3474 | PyObject * _argo0 = 0; | |
3475 | char *_kwnames[] = { "self", NULL }; | |
3476 | ||
3477 | self = self; | |
3478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_EndDrag",_kwnames,&_argo0)) | |
3479 | return NULL; | |
3480 | if (_argo0) { | |
3481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) { | |
3483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p."); | |
3484 | return NULL; | |
3485 | } | |
3486 | } | |
3487 | { | |
3488 | wxPy_BEGIN_ALLOW_THREADS; | |
3489 | _result = (bool )wxDragImage_EndDrag(_arg0); | |
3490 | ||
3491 | wxPy_END_ALLOW_THREADS; | |
3492 | } _resultobj = Py_BuildValue("i",_result); | |
3493 | return _resultobj; | |
3494 | } | |
3495 | ||
3496 | #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0)) | |
3497 | static PyObject *_wrap_wxDragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3498 | PyObject * _resultobj; | |
3499 | bool _result; | |
3500 | wxGenericDragImage * _arg0; | |
3501 | wxPoint * _arg1; | |
3502 | PyObject * _argo0 = 0; | |
3503 | wxPoint temp; | |
3504 | PyObject * _obj1 = 0; | |
3505 | char *_kwnames[] = { "self","pt", NULL }; | |
3506 | ||
3507 | self = self; | |
3508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_Move",_kwnames,&_argo0,&_obj1)) | |
3509 | return NULL; | |
3510 | if (_argo0) { | |
3511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) { | |
3513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p."); | |
3514 | return NULL; | |
3515 | } | |
3516 | } | |
3517 | { | |
3518 | _arg1 = &temp; | |
3519 | if (! wxPoint_helper(_obj1, &_arg1)) | |
3520 | return NULL; | |
3521 | } | |
3522 | { | |
3523 | wxPy_BEGIN_ALLOW_THREADS; | |
3524 | _result = (bool )wxDragImage_Move(_arg0,*_arg1); | |
3525 | ||
3526 | wxPy_END_ALLOW_THREADS; | |
3527 | } _resultobj = Py_BuildValue("i",_result); | |
3528 | return _resultobj; | |
3529 | } | |
3530 | ||
3531 | #define wxDragImage_Show(_swigobj) (_swigobj->Show()) | |
3532 | static PyObject *_wrap_wxDragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3533 | PyObject * _resultobj; | |
3534 | bool _result; | |
3535 | wxGenericDragImage * _arg0; | |
3536 | PyObject * _argo0 = 0; | |
3537 | char *_kwnames[] = { "self", NULL }; | |
3538 | ||
3539 | self = self; | |
3540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_Show",_kwnames,&_argo0)) | |
3541 | return NULL; | |
3542 | if (_argo0) { | |
3543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) { | |
3545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p."); | |
3546 | return NULL; | |
3547 | } | |
3548 | } | |
3549 | { | |
3550 | wxPy_BEGIN_ALLOW_THREADS; | |
3551 | _result = (bool )wxDragImage_Show(_arg0); | |
3552 | ||
3553 | wxPy_END_ALLOW_THREADS; | |
3554 | } _resultobj = Py_BuildValue("i",_result); | |
3555 | return _resultobj; | |
3556 | } | |
3557 | ||
3558 | #define wxDragImage_Hide(_swigobj) (_swigobj->Hide()) | |
3559 | static PyObject *_wrap_wxDragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3560 | PyObject * _resultobj; | |
3561 | bool _result; | |
3562 | wxGenericDragImage * _arg0; | |
3563 | PyObject * _argo0 = 0; | |
3564 | char *_kwnames[] = { "self", NULL }; | |
3565 | ||
3566 | self = self; | |
3567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDragImage_Hide",_kwnames,&_argo0)) | |
3568 | return NULL; | |
3569 | if (_argo0) { | |
3570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) { | |
3572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p."); | |
3573 | return NULL; | |
3574 | } | |
3575 | } | |
3576 | { | |
3577 | wxPy_BEGIN_ALLOW_THREADS; | |
3578 | _result = (bool )wxDragImage_Hide(_arg0); | |
3579 | ||
3580 | wxPy_END_ALLOW_THREADS; | |
3581 | } _resultobj = Py_BuildValue("i",_result); | |
3582 | return _resultobj; | |
3583 | } | |
3584 | ||
3585 | #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0)) | |
3586 | static PyObject *_wrap_wxDragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3587 | PyObject * _resultobj; | |
3588 | wxRect * _result; | |
3589 | wxGenericDragImage * _arg0; | |
3590 | wxPoint * _arg1; | |
3591 | PyObject * _argo0 = 0; | |
3592 | wxPoint temp; | |
3593 | PyObject * _obj1 = 0; | |
3594 | char *_kwnames[] = { "self","pos", NULL }; | |
3595 | char _ptemp[128]; | |
3596 | ||
3597 | self = self; | |
3598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDragImage_GetImageRect",_kwnames,&_argo0,&_obj1)) | |
3599 | return NULL; | |
3600 | if (_argo0) { | |
3601 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3602 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) { | |
3603 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p."); | |
3604 | return NULL; | |
3605 | } | |
3606 | } | |
3607 | { | |
3608 | _arg1 = &temp; | |
3609 | if (! wxPoint_helper(_obj1, &_arg1)) | |
3610 | return NULL; | |
3611 | } | |
3612 | { | |
3613 | wxPy_BEGIN_ALLOW_THREADS; | |
3614 | _result = new wxRect (wxDragImage_GetImageRect(_arg0,*_arg1)); | |
3615 | ||
3616 | wxPy_END_ALLOW_THREADS; | |
3617 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRect_p"); | |
3618 | _resultobj = Py_BuildValue("s",_ptemp); | |
3619 | return _resultobj; | |
3620 | } | |
3621 | ||
3622 | #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3623 | static PyObject *_wrap_wxDragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3624 | PyObject * _resultobj; | |
3625 | bool _result; | |
3626 | wxGenericDragImage * _arg0; | |
3627 | wxPoint * _arg1; | |
3628 | wxPoint * _arg2; | |
3629 | bool _arg3; | |
3630 | bool _arg4; | |
3631 | PyObject * _argo0 = 0; | |
3632 | wxPoint temp; | |
3633 | PyObject * _obj1 = 0; | |
3634 | wxPoint temp0; | |
3635 | PyObject * _obj2 = 0; | |
3636 | int tempbool3; | |
3637 | int tempbool4; | |
3638 | char *_kwnames[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL }; | |
3639 | ||
3640 | self = self; | |
3641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOii:wxDragImage_RedrawImage",_kwnames,&_argo0,&_obj1,&_obj2,&tempbool3,&tempbool4)) | |
3642 | return NULL; | |
3643 | if (_argo0) { | |
3644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGenericDragImage_p")) { | |
3646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p."); | |
3647 | return NULL; | |
3648 | } | |
3649 | } | |
3650 | { | |
3651 | _arg1 = &temp; | |
3652 | if (! wxPoint_helper(_obj1, &_arg1)) | |
3653 | return NULL; | |
3654 | } | |
3655 | { | |
3656 | _arg2 = &temp0; | |
3657 | if (! wxPoint_helper(_obj2, &_arg2)) | |
3658 | return NULL; | |
3659 | } | |
3660 | _arg3 = (bool ) tempbool3; | |
3661 | _arg4 = (bool ) tempbool4; | |
3662 | { | |
3663 | wxPy_BEGIN_ALLOW_THREADS; | |
3664 | _result = (bool )wxDragImage_RedrawImage(_arg0,*_arg1,*_arg2,_arg3,_arg4); | |
3665 | ||
3666 | wxPy_END_ALLOW_THREADS; | |
3667 | } _resultobj = Py_BuildValue("i",_result); | |
3668 | return _resultobj; | |
3669 | } | |
3670 | ||
3671 | #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0)) | |
3672 | static PyObject *_wrap_new_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3673 | PyObject * _resultobj; | |
3674 | wxPyTimer * _result; | |
3675 | PyObject * _arg0; | |
3676 | PyObject * _obj0 = 0; | |
3677 | char *_kwnames[] = { "notify", NULL }; | |
3678 | char _ptemp[128]; | |
3679 | ||
3680 | self = self; | |
3681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxPyTimer",_kwnames,&_obj0)) | |
3682 | return NULL; | |
3683 | { | |
3684 | _arg0 = _obj0; | |
3685 | } | |
3686 | { | |
3687 | wxPy_BEGIN_ALLOW_THREADS; | |
3688 | _result = (wxPyTimer *)new_wxPyTimer(_arg0); | |
3689 | ||
3690 | wxPy_END_ALLOW_THREADS; | |
3691 | } if (_result) { | |
3692 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTimer_p"); | |
3693 | _resultobj = Py_BuildValue("s",_ptemp); | |
3694 | } else { | |
3695 | Py_INCREF(Py_None); | |
3696 | _resultobj = Py_None; | |
3697 | } | |
3698 | return _resultobj; | |
3699 | } | |
3700 | ||
3701 | #define delete_wxPyTimer(_swigobj) (delete _swigobj) | |
3702 | static PyObject *_wrap_delete_wxPyTimer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3703 | PyObject * _resultobj; | |
3704 | wxPyTimer * _arg0; | |
3705 | PyObject * _argo0 = 0; | |
3706 | char *_kwnames[] = { "self", NULL }; | |
3707 | ||
3708 | self = self; | |
3709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPyTimer",_kwnames,&_argo0)) | |
3710 | return NULL; | |
3711 | if (_argo0) { | |
3712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) { | |
3714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p."); | |
3715 | return NULL; | |
3716 | } | |
3717 | } | |
3718 | { | |
3719 | wxPy_BEGIN_ALLOW_THREADS; | |
3720 | delete_wxPyTimer(_arg0); | |
3721 | ||
3722 | wxPy_END_ALLOW_THREADS; | |
3723 | } Py_INCREF(Py_None); | |
3724 | _resultobj = Py_None; | |
3725 | return _resultobj; | |
3726 | } | |
3727 | ||
3728 | #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval()) | |
3729 | static PyObject *_wrap_wxPyTimer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3730 | PyObject * _resultobj; | |
3731 | int _result; | |
3732 | wxPyTimer * _arg0; | |
3733 | PyObject * _argo0 = 0; | |
3734 | char *_kwnames[] = { "self", NULL }; | |
3735 | ||
3736 | self = self; | |
3737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_GetInterval",_kwnames,&_argo0)) | |
3738 | return NULL; | |
3739 | if (_argo0) { | |
3740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) { | |
3742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p."); | |
3743 | return NULL; | |
3744 | } | |
3745 | } | |
3746 | { | |
3747 | wxPy_BEGIN_ALLOW_THREADS; | |
3748 | _result = (int )wxPyTimer_GetInterval(_arg0); | |
3749 | ||
3750 | wxPy_END_ALLOW_THREADS; | |
3751 | } _resultobj = Py_BuildValue("i",_result); | |
3752 | return _resultobj; | |
3753 | } | |
3754 | ||
3755 | #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot()) | |
3756 | static PyObject *_wrap_wxPyTimer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3757 | PyObject * _resultobj; | |
3758 | bool _result; | |
3759 | wxPyTimer * _arg0; | |
3760 | PyObject * _argo0 = 0; | |
3761 | char *_kwnames[] = { "self", NULL }; | |
3762 | ||
3763 | self = self; | |
3764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_IsOneShot",_kwnames,&_argo0)) | |
3765 | return NULL; | |
3766 | if (_argo0) { | |
3767 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3768 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) { | |
3769 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p."); | |
3770 | return NULL; | |
3771 | } | |
3772 | } | |
3773 | { | |
3774 | wxPy_BEGIN_ALLOW_THREADS; | |
3775 | _result = (bool )wxPyTimer_IsOneShot(_arg0); | |
3776 | ||
3777 | wxPy_END_ALLOW_THREADS; | |
3778 | } _resultobj = Py_BuildValue("i",_result); | |
3779 | return _resultobj; | |
3780 | } | |
3781 | ||
3782 | #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning()) | |
3783 | static PyObject *_wrap_wxPyTimer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3784 | PyObject * _resultobj; | |
3785 | bool _result; | |
3786 | wxPyTimer * _arg0; | |
3787 | PyObject * _argo0 = 0; | |
3788 | char *_kwnames[] = { "self", NULL }; | |
3789 | ||
3790 | self = self; | |
3791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_IsRunning",_kwnames,&_argo0)) | |
3792 | return NULL; | |
3793 | if (_argo0) { | |
3794 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3795 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) { | |
3796 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p."); | |
3797 | return NULL; | |
3798 | } | |
3799 | } | |
3800 | { | |
3801 | wxPy_BEGIN_ALLOW_THREADS; | |
3802 | _result = (bool )wxPyTimer_IsRunning(_arg0); | |
3803 | ||
3804 | wxPy_END_ALLOW_THREADS; | |
3805 | } _resultobj = Py_BuildValue("i",_result); | |
3806 | return _resultobj; | |
3807 | } | |
3808 | ||
3809 | #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1)) | |
3810 | static PyObject *_wrap_wxPyTimer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3811 | PyObject * _resultobj; | |
3812 | wxPyTimer * _arg0; | |
3813 | wxEvtHandler * _arg1; | |
3814 | int _arg2 = (int ) -1; | |
3815 | PyObject * _argo0 = 0; | |
3816 | PyObject * _argo1 = 0; | |
3817 | char *_kwnames[] = { "self","owner","id", NULL }; | |
3818 | ||
3819 | self = self; | |
3820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTimer_SetOwner",_kwnames,&_argo0,&_argo1,&_arg2)) | |
3821 | return NULL; | |
3822 | if (_argo0) { | |
3823 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3824 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) { | |
3825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p."); | |
3826 | return NULL; | |
3827 | } | |
3828 | } | |
3829 | if (_argo1) { | |
3830 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3831 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxEvtHandler_p")) { | |
3832 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p."); | |
3833 | return NULL; | |
3834 | } | |
3835 | } | |
3836 | { | |
3837 | wxPy_BEGIN_ALLOW_THREADS; | |
3838 | wxPyTimer_SetOwner(_arg0,_arg1,_arg2); | |
3839 | ||
3840 | wxPy_END_ALLOW_THREADS; | |
3841 | } Py_INCREF(Py_None); | |
3842 | _resultobj = Py_None; | |
3843 | return _resultobj; | |
3844 | } | |
3845 | ||
3846 | #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1)) | |
3847 | static PyObject *_wrap_wxPyTimer_Start(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3848 | PyObject * _resultobj; | |
3849 | wxPyTimer * _arg0; | |
3850 | int _arg1 = (int ) -1; | |
3851 | int _arg2 = (int ) FALSE; | |
3852 | PyObject * _argo0 = 0; | |
3853 | char *_kwnames[] = { "self","milliseconds","oneShot", NULL }; | |
3854 | ||
3855 | self = self; | |
3856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyTimer_Start",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3857 | return NULL; | |
3858 | if (_argo0) { | |
3859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) { | |
3861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p."); | |
3862 | return NULL; | |
3863 | } | |
3864 | } | |
3865 | { | |
3866 | wxPy_BEGIN_ALLOW_THREADS; | |
3867 | wxPyTimer_Start(_arg0,_arg1,_arg2); | |
3868 | ||
3869 | wxPy_END_ALLOW_THREADS; | |
3870 | } Py_INCREF(Py_None); | |
3871 | _resultobj = Py_None; | |
3872 | return _resultobj; | |
3873 | } | |
3874 | ||
3875 | #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop()) | |
3876 | static PyObject *_wrap_wxPyTimer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3877 | PyObject * _resultobj; | |
3878 | wxPyTimer * _arg0; | |
8f17924e RD |
3879 | PyObject * _argo0 = 0; |
3880 | char *_kwnames[] = { "self", NULL }; | |
8f17924e RD |
3881 | |
3882 | self = self; | |
f6bcfd97 | 3883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTimer_Stop",_kwnames,&_argo0)) |
8f17924e RD |
3884 | return NULL; |
3885 | if (_argo0) { | |
3886 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
3887 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTimer_p")) { |
3888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p."); | |
8f17924e RD |
3889 | return NULL; |
3890 | } | |
3891 | } | |
3892 | { | |
3893 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 3894 | wxPyTimer_Stop(_arg0); |
8f17924e RD |
3895 | |
3896 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
3897 | } Py_INCREF(Py_None); |
3898 | _resultobj = Py_None; | |
8f17924e RD |
3899 | return _resultobj; |
3900 | } | |
3901 | ||
f6bcfd97 BP |
3902 | #define new_wxLog() (new wxLog()) |
3903 | static PyObject *_wrap_new_wxLog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8f17924e | 3904 | PyObject * _resultobj; |
f6bcfd97 BP |
3905 | wxLog * _result; |
3906 | char *_kwnames[] = { NULL }; | |
3907 | char _ptemp[128]; | |
8f17924e RD |
3908 | |
3909 | self = self; | |
f6bcfd97 BP |
3910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLog",_kwnames)) |
3911 | return NULL; | |
8f17924e | 3912 | { |
f6bcfd97 BP |
3913 | wxPy_BEGIN_ALLOW_THREADS; |
3914 | _result = (wxLog *)new_wxLog(); | |
3915 | ||
3916 | wxPy_END_ALLOW_THREADS; | |
3917 | } if (_result) { | |
3918 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p"); | |
3919 | _resultobj = Py_BuildValue("s",_ptemp); | |
3920 | } else { | |
3921 | Py_INCREF(Py_None); | |
3922 | _resultobj = Py_None; | |
3923 | } | |
3924 | return _resultobj; | |
8f17924e | 3925 | } |
f6bcfd97 BP |
3926 | |
3927 | static PyObject *_wrap_wxLog_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3928 | PyObject * _resultobj; | |
3929 | bool _result; | |
3930 | char *_kwnames[] = { NULL }; | |
3931 | ||
3932 | self = self; | |
3933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_IsEnabled",_kwnames)) | |
3934 | return NULL; | |
8f17924e | 3935 | { |
f6bcfd97 BP |
3936 | wxPy_BEGIN_ALLOW_THREADS; |
3937 | _result = (bool )wxLog::IsEnabled(); | |
3938 | ||
3939 | wxPy_END_ALLOW_THREADS; | |
3940 | } _resultobj = Py_BuildValue("i",_result); | |
3941 | return _resultobj; | |
8f17924e | 3942 | } |
f6bcfd97 BP |
3943 | |
3944 | static PyObject *_wrap_wxLog_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3945 | PyObject * _resultobj; | |
3946 | bool _result; | |
3947 | bool _arg0 = (bool ) TRUE; | |
3948 | int tempbool0 = (int) TRUE; | |
3949 | char *_kwnames[] = { "doIt", NULL }; | |
3950 | ||
3951 | self = self; | |
3952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:wxLog_EnableLogging",_kwnames,&tempbool0)) | |
3953 | return NULL; | |
3954 | _arg0 = (bool ) tempbool0; | |
3955 | { | |
3956 | wxPy_BEGIN_ALLOW_THREADS; | |
3957 | _result = (bool )wxLog::EnableLogging(_arg0); | |
3958 | ||
3959 | wxPy_END_ALLOW_THREADS; | |
3960 | } _resultobj = Py_BuildValue("i",_result); | |
3961 | return _resultobj; | |
3962 | } | |
3963 | ||
3964 | static PyObject *_wrap_wxLog_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3965 | PyObject * _resultobj; | |
3966 | wxLogLevel * _arg0; | |
3967 | char * _arg1; | |
3968 | int _arg2 = (int ) 0; | |
3969 | PyObject * _argo0 = 0; | |
3970 | char *_kwnames[] = { "level","szString","t", NULL }; | |
3971 | ||
3972 | self = self; | |
3973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|i:wxLog_OnLog",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8f17924e RD |
3974 | return NULL; |
3975 | if (_argo0) { | |
3976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
3977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogLevel_p")) { |
3978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p."); | |
8f17924e RD |
3979 | return NULL; |
3980 | } | |
3981 | } | |
3982 | { | |
3983 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 3984 | wxLog::OnLog(*_arg0,_arg1,_arg2); |
8f17924e RD |
3985 | |
3986 | wxPy_END_ALLOW_THREADS; | |
3987 | } Py_INCREF(Py_None); | |
3988 | _resultobj = Py_None; | |
f6bcfd97 | 3989 | return _resultobj; |
8f17924e | 3990 | } |
f6bcfd97 BP |
3991 | |
3992 | #define wxLog_Flush(_swigobj) (_swigobj->Flush()) | |
3993 | static PyObject *_wrap_wxLog_Flush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3994 | PyObject * _resultobj; | |
3995 | wxLog * _arg0; | |
3996 | PyObject * _argo0 = 0; | |
3997 | char *_kwnames[] = { "self", NULL }; | |
3998 | ||
3999 | self = self; | |
4000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_Flush",_kwnames,&_argo0)) | |
4001 | return NULL; | |
4002 | if (_argo0) { | |
4003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) { | |
4005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p."); | |
4006 | return NULL; | |
4007 | } | |
4008 | } | |
8f17924e | 4009 | { |
f6bcfd97 BP |
4010 | wxPy_BEGIN_ALLOW_THREADS; |
4011 | wxLog_Flush(_arg0); | |
4012 | ||
4013 | wxPy_END_ALLOW_THREADS; | |
4014 | } Py_INCREF(Py_None); | |
4015 | _resultobj = Py_None; | |
8f17924e RD |
4016 | return _resultobj; |
4017 | } | |
4018 | ||
f6bcfd97 BP |
4019 | #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages()) |
4020 | static PyObject *_wrap_wxLog_HasPendingMessages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8f17924e | 4021 | PyObject * _resultobj; |
f6bcfd97 BP |
4022 | bool _result; |
4023 | wxLog * _arg0; | |
8f17924e RD |
4024 | PyObject * _argo0 = 0; |
4025 | char *_kwnames[] = { "self", NULL }; | |
8f17924e RD |
4026 | |
4027 | self = self; | |
f6bcfd97 | 4028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_HasPendingMessages",_kwnames,&_argo0)) |
8f17924e RD |
4029 | return NULL; |
4030 | if (_argo0) { | |
4031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) { |
4033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p."); | |
8f17924e RD |
4034 | return NULL; |
4035 | } | |
4036 | } | |
4037 | { | |
4038 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4039 | _result = (bool )wxLog_HasPendingMessages(_arg0); |
8f17924e RD |
4040 | |
4041 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 4042 | } _resultobj = Py_BuildValue("i",_result); |
8f17924e RD |
4043 | return _resultobj; |
4044 | } | |
4045 | ||
f6bcfd97 | 4046 | static PyObject *_wrap_wxLog_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) { |
8f17924e | 4047 | PyObject * _resultobj; |
f6bcfd97 BP |
4048 | char *_kwnames[] = { NULL }; |
4049 | ||
4050 | self = self; | |
4051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_FlushActive",_kwnames)) | |
4052 | return NULL; | |
4053 | { | |
4054 | wxPy_BEGIN_ALLOW_THREADS; | |
4055 | wxLog::FlushActive(); | |
4056 | ||
4057 | wxPy_END_ALLOW_THREADS; | |
4058 | } Py_INCREF(Py_None); | |
4059 | _resultobj = Py_None; | |
4060 | return _resultobj; | |
4061 | } | |
4062 | ||
4063 | static PyObject *_wrap_wxLog_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4064 | PyObject * _resultobj; | |
4065 | wxLog * _result; | |
4066 | char *_kwnames[] = { NULL }; | |
4067 | char _ptemp[128]; | |
4068 | ||
4069 | self = self; | |
4070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetActiveTarget",_kwnames)) | |
4071 | return NULL; | |
4072 | { | |
4073 | wxPy_BEGIN_ALLOW_THREADS; | |
4074 | _result = (wxLog *)wxLog::GetActiveTarget(); | |
4075 | ||
4076 | wxPy_END_ALLOW_THREADS; | |
4077 | } if (_result) { | |
4078 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p"); | |
4079 | _resultobj = Py_BuildValue("s",_ptemp); | |
4080 | } else { | |
4081 | Py_INCREF(Py_None); | |
4082 | _resultobj = Py_None; | |
4083 | } | |
4084 | return _resultobj; | |
4085 | } | |
4086 | ||
4087 | static PyObject *_wrap_wxLog_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4088 | PyObject * _resultobj; | |
4089 | wxLog * _result; | |
4090 | wxLog * _arg0; | |
8f17924e | 4091 | PyObject * _argo0 = 0; |
f6bcfd97 | 4092 | char *_kwnames[] = { "pLogger", NULL }; |
8f17924e RD |
4093 | char _ptemp[128]; |
4094 | ||
4095 | self = self; | |
f6bcfd97 | 4096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetActiveTarget",_kwnames,&_argo0)) |
8f17924e RD |
4097 | return NULL; |
4098 | if (_argo0) { | |
4099 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4100 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) { |
4101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p."); | |
8f17924e RD |
4102 | return NULL; |
4103 | } | |
4104 | } | |
4105 | { | |
4106 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4107 | _result = (wxLog *)wxLog::SetActiveTarget(_arg0); |
8f17924e RD |
4108 | |
4109 | wxPy_END_ALLOW_THREADS; | |
4110 | } if (_result) { | |
f6bcfd97 | 4111 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p"); |
8f17924e RD |
4112 | _resultobj = Py_BuildValue("s",_ptemp); |
4113 | } else { | |
4114 | Py_INCREF(Py_None); | |
4115 | _resultobj = Py_None; | |
4116 | } | |
4117 | return _resultobj; | |
4118 | } | |
4119 | ||
f6bcfd97 | 4120 | static PyObject *_wrap_wxLog_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) { |
8f17924e | 4121 | PyObject * _resultobj; |
f6bcfd97 BP |
4122 | char *_kwnames[] = { NULL }; |
4123 | ||
4124 | self = self; | |
4125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Suspend",_kwnames)) | |
4126 | return NULL; | |
4127 | { | |
4128 | wxPy_BEGIN_ALLOW_THREADS; | |
4129 | wxLog::Suspend(); | |
4130 | ||
4131 | wxPy_END_ALLOW_THREADS; | |
4132 | } Py_INCREF(Py_None); | |
4133 | _resultobj = Py_None; | |
4134 | return _resultobj; | |
4135 | } | |
4136 | ||
4137 | static PyObject *_wrap_wxLog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4138 | PyObject * _resultobj; | |
4139 | char *_kwnames[] = { NULL }; | |
4140 | ||
4141 | self = self; | |
4142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_Resume",_kwnames)) | |
4143 | return NULL; | |
4144 | { | |
4145 | wxPy_BEGIN_ALLOW_THREADS; | |
4146 | wxLog::Resume(); | |
4147 | ||
4148 | wxPy_END_ALLOW_THREADS; | |
4149 | } Py_INCREF(Py_None); | |
4150 | _resultobj = Py_None; | |
4151 | return _resultobj; | |
4152 | } | |
4153 | ||
4154 | #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0)) | |
4155 | static PyObject *_wrap_wxLog_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4156 | PyObject * _resultobj; | |
4157 | wxLog * _arg0; | |
4158 | bool _arg1 = (bool ) TRUE; | |
8f17924e | 4159 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
4160 | int tempbool1 = (int) TRUE; |
4161 | char *_kwnames[] = { "self","bVerbose", NULL }; | |
8f17924e RD |
4162 | |
4163 | self = self; | |
f6bcfd97 | 4164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxLog_SetVerbose",_kwnames,&_argo0,&tempbool1)) |
8f17924e RD |
4165 | return NULL; |
4166 | if (_argo0) { | |
4167 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4168 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) { |
4169 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p."); | |
8f17924e RD |
4170 | return NULL; |
4171 | } | |
4172 | } | |
f6bcfd97 | 4173 | _arg1 = (bool ) tempbool1; |
8f17924e RD |
4174 | { |
4175 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4176 | wxLog_SetVerbose(_arg0,_arg1); |
8f17924e RD |
4177 | |
4178 | wxPy_END_ALLOW_THREADS; | |
4179 | } Py_INCREF(Py_None); | |
4180 | _resultobj = Py_None; | |
4181 | return _resultobj; | |
4182 | } | |
4183 | ||
f6bcfd97 | 4184 | static PyObject *_wrap_wxLog_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) { |
8f17924e | 4185 | PyObject * _resultobj; |
f6bcfd97 BP |
4186 | char *_kwnames[] = { NULL }; |
4187 | ||
4188 | self = self; | |
4189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_DontCreateOnDemand",_kwnames)) | |
4190 | return NULL; | |
4191 | { | |
4192 | wxPy_BEGIN_ALLOW_THREADS; | |
4193 | wxLog::DontCreateOnDemand(); | |
4194 | ||
4195 | wxPy_END_ALLOW_THREADS; | |
4196 | } Py_INCREF(Py_None); | |
4197 | _resultobj = Py_None; | |
4198 | return _resultobj; | |
4199 | } | |
4200 | ||
4201 | static PyObject *_wrap_wxLog_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4202 | PyObject * _resultobj; | |
4203 | wxTraceMask * _arg0; | |
8f17924e | 4204 | PyObject * _argo0 = 0; |
f6bcfd97 | 4205 | char *_kwnames[] = { "ulMask", NULL }; |
8f17924e RD |
4206 | |
4207 | self = self; | |
f6bcfd97 | 4208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_SetTraceMask",_kwnames,&_argo0)) |
8f17924e RD |
4209 | return NULL; |
4210 | if (_argo0) { | |
4211 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4212 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTraceMask_p")) { |
4213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p."); | |
4214 | return NULL; | |
4215 | } | |
4216 | } | |
4217 | { | |
4218 | wxPy_BEGIN_ALLOW_THREADS; | |
4219 | wxLog::SetTraceMask(*_arg0); | |
4220 | ||
4221 | wxPy_END_ALLOW_THREADS; | |
4222 | } Py_INCREF(Py_None); | |
4223 | _resultobj = Py_None; | |
4224 | return _resultobj; | |
4225 | } | |
4226 | ||
4227 | static PyObject *_wrap_wxLog_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4228 | PyObject * _resultobj; | |
4229 | wxString * _arg0; | |
4230 | PyObject * _obj0 = 0; | |
4231 | char *_kwnames[] = { "str", NULL }; | |
4232 | ||
4233 | self = self; | |
4234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_AddTraceMask",_kwnames,&_obj0)) | |
4235 | return NULL; | |
4236 | { | |
2cd2fac8 RD |
4237 | #if PYTHON_API_VERSION >= 1009 |
4238 | char* tmpPtr; int tmpSize; | |
4239 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
4240 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
4241 | return NULL; | |
4242 | } | |
4243 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
4244 | return NULL; | |
4245 | _arg0 = new wxString(tmpPtr, tmpSize); | |
4246 | #else | |
f6bcfd97 BP |
4247 | if (!PyString_Check(_obj0)) { |
4248 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4249 | return NULL; | |
4250 | } | |
2cd2fac8 RD |
4251 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
4252 | #endif | |
f6bcfd97 BP |
4253 | } |
4254 | { | |
4255 | wxPy_BEGIN_ALLOW_THREADS; | |
4256 | wxLog::AddTraceMask(*_arg0); | |
4257 | ||
4258 | wxPy_END_ALLOW_THREADS; | |
4259 | } Py_INCREF(Py_None); | |
4260 | _resultobj = Py_None; | |
4261 | { | |
4262 | if (_obj0) | |
4263 | delete _arg0; | |
4264 | } | |
4265 | return _resultobj; | |
4266 | } | |
4267 | ||
4268 | static PyObject *_wrap_wxLog_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4269 | PyObject * _resultobj; | |
4270 | wxString * _arg0; | |
4271 | PyObject * _obj0 = 0; | |
4272 | char *_kwnames[] = { "str", NULL }; | |
4273 | ||
4274 | self = self; | |
4275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_RemoveTraceMask",_kwnames,&_obj0)) | |
8f17924e | 4276 | return NULL; |
8f17924e | 4277 | { |
2cd2fac8 RD |
4278 | #if PYTHON_API_VERSION >= 1009 |
4279 | char* tmpPtr; int tmpSize; | |
4280 | if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) { | |
4281 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
4282 | return NULL; | |
4283 | } | |
4284 | if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1) | |
4285 | return NULL; | |
4286 | _arg0 = new wxString(tmpPtr, tmpSize); | |
4287 | #else | |
f6bcfd97 BP |
4288 | if (!PyString_Check(_obj0)) { |
4289 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
8f17924e | 4290 | return NULL; |
f6bcfd97 | 4291 | } |
2cd2fac8 RD |
4292 | _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0)); |
4293 | #endif | |
8f17924e RD |
4294 | } |
4295 | { | |
4296 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4297 | wxLog::RemoveTraceMask(*_arg0); |
8f17924e RD |
4298 | |
4299 | wxPy_END_ALLOW_THREADS; | |
4300 | } Py_INCREF(Py_None); | |
4301 | _resultobj = Py_None; | |
f6bcfd97 BP |
4302 | { |
4303 | if (_obj0) | |
4304 | delete _arg0; | |
4305 | } | |
8f17924e RD |
4306 | return _resultobj; |
4307 | } | |
4308 | ||
f6bcfd97 BP |
4309 | #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose()) |
4310 | static PyObject *_wrap_wxLog_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8f17924e | 4311 | PyObject * _resultobj; |
f6bcfd97 BP |
4312 | bool _result; |
4313 | wxLog * _arg0; | |
8f17924e | 4314 | PyObject * _argo0 = 0; |
f6bcfd97 | 4315 | char *_kwnames[] = { "self", NULL }; |
8f17924e RD |
4316 | |
4317 | self = self; | |
f6bcfd97 | 4318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLog_GetVerbose",_kwnames,&_argo0)) |
8f17924e RD |
4319 | return NULL; |
4320 | if (_argo0) { | |
4321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLog_p")) { |
4323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p."); | |
8f17924e RD |
4324 | return NULL; |
4325 | } | |
4326 | } | |
4327 | { | |
4328 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4329 | _result = (bool )wxLog_GetVerbose(_arg0); |
8f17924e RD |
4330 | |
4331 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 4332 | } _resultobj = Py_BuildValue("i",_result); |
8f17924e RD |
4333 | return _resultobj; |
4334 | } | |
4335 | ||
f6bcfd97 | 4336 | static PyObject *_wrap_wxLog_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
8f17924e | 4337 | PyObject * _resultobj; |
f6bcfd97 BP |
4338 | wxTraceMask * _result; |
4339 | char *_kwnames[] = { NULL }; | |
4340 | char _ptemp[128]; | |
8f17924e RD |
4341 | |
4342 | self = self; | |
f6bcfd97 | 4343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxLog_GetTraceMask",_kwnames)) |
8f17924e | 4344 | return NULL; |
e02c03a4 | 4345 | { |
f6bcfd97 BP |
4346 | wxPy_BEGIN_ALLOW_THREADS; |
4347 | _result = new wxTraceMask (wxLog::GetTraceMask()); | |
4348 | ||
4349 | wxPy_END_ALLOW_THREADS; | |
4350 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTraceMask_p"); | |
4351 | _resultobj = Py_BuildValue("s",_ptemp); | |
4352 | return _resultobj; | |
e02c03a4 | 4353 | } |
f6bcfd97 BP |
4354 | |
4355 | static PyObject *_wrap_wxLog_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4356 | PyObject * _resultobj; | |
4357 | bool _result; | |
4358 | char * _arg0; | |
4359 | char *_kwnames[] = { "mask", NULL }; | |
4360 | ||
4361 | self = self; | |
4362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxLog_IsAllowedTraceMask",_kwnames,&_arg0)) | |
4363 | return NULL; | |
8f17924e RD |
4364 | { |
4365 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4366 | _result = (bool )wxLog::IsAllowedTraceMask(_arg0); |
8f17924e RD |
4367 | |
4368 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 4369 | } _resultobj = Py_BuildValue("i",_result); |
8f17924e RD |
4370 | return _resultobj; |
4371 | } | |
4372 | ||
f6bcfd97 BP |
4373 | static void *SwigwxLogStderrTowxLog(void *ptr) { |
4374 | wxLogStderr *src; | |
4375 | wxLog *dest; | |
4376 | src = (wxLogStderr *) ptr; | |
4377 | dest = (wxLog *) src; | |
4378 | return (void *) dest; | |
4379 | } | |
4380 | ||
4381 | #define new_wxLogStderr() (new wxLogStderr()) | |
4382 | static PyObject *_wrap_new_wxLogStderr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8f17924e | 4383 | PyObject * _resultobj; |
f6bcfd97 BP |
4384 | wxLogStderr * _result; |
4385 | char *_kwnames[] = { NULL }; | |
4386 | char _ptemp[128]; | |
8f17924e RD |
4387 | |
4388 | self = self; | |
f6bcfd97 | 4389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogStderr",_kwnames)) |
8f17924e | 4390 | return NULL; |
8f17924e RD |
4391 | { |
4392 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4393 | _result = (wxLogStderr *)new_wxLogStderr(); |
8f17924e RD |
4394 | |
4395 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
4396 | } if (_result) { |
4397 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogStderr_p"); | |
4398 | _resultobj = Py_BuildValue("s",_ptemp); | |
4399 | } else { | |
4400 | Py_INCREF(Py_None); | |
4401 | _resultobj = Py_None; | |
4402 | } | |
8f17924e RD |
4403 | return _resultobj; |
4404 | } | |
4405 | ||
f6bcfd97 BP |
4406 | static void *SwigwxLogTextCtrlTowxLog(void *ptr) { |
4407 | wxLogTextCtrl *src; | |
4408 | wxLog *dest; | |
4409 | src = (wxLogTextCtrl *) ptr; | |
4410 | dest = (wxLog *) src; | |
4411 | return (void *) dest; | |
4412 | } | |
4413 | ||
4414 | #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0)) | |
4415 | static PyObject *_wrap_new_wxLogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8f17924e | 4416 | PyObject * _resultobj; |
f6bcfd97 BP |
4417 | wxLogTextCtrl * _result; |
4418 | wxTextCtrl * _arg0; | |
8f17924e | 4419 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
4420 | char *_kwnames[] = { "pTextCtrl", NULL }; |
4421 | char _ptemp[128]; | |
8f17924e RD |
4422 | |
4423 | self = self; | |
f6bcfd97 | 4424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxLogTextCtrl",_kwnames,&_argo0)) |
8f17924e RD |
4425 | return NULL; |
4426 | if (_argo0) { | |
4427 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4428 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) { |
4429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p."); | |
8f17924e RD |
4430 | return NULL; |
4431 | } | |
4432 | } | |
4433 | { | |
4434 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4435 | _result = (wxLogTextCtrl *)new_wxLogTextCtrl(_arg0); |
8f17924e RD |
4436 | |
4437 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
4438 | } if (_result) { |
4439 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogTextCtrl_p"); | |
4440 | _resultobj = Py_BuildValue("s",_ptemp); | |
4441 | } else { | |
4442 | Py_INCREF(Py_None); | |
4443 | _resultobj = Py_None; | |
4444 | } | |
8f17924e RD |
4445 | return _resultobj; |
4446 | } | |
4447 | ||
f6bcfd97 BP |
4448 | static void *SwigwxLogGuiTowxLog(void *ptr) { |
4449 | wxLogGui *src; | |
4450 | wxLog *dest; | |
4451 | src = (wxLogGui *) ptr; | |
4452 | dest = (wxLog *) src; | |
4453 | return (void *) dest; | |
4454 | } | |
4455 | ||
4456 | #define new_wxLogGui() (new wxLogGui()) | |
4457 | static PyObject *_wrap_new_wxLogGui(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4120ef2b | 4458 | PyObject * _resultobj; |
f6bcfd97 | 4459 | wxLogGui * _result; |
4120ef2b RD |
4460 | char *_kwnames[] = { NULL }; |
4461 | char _ptemp[128]; | |
4462 | ||
4463 | self = self; | |
f6bcfd97 | 4464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogGui",_kwnames)) |
4120ef2b RD |
4465 | return NULL; |
4466 | { | |
4467 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4468 | _result = (wxLogGui *)new_wxLogGui(); |
4120ef2b RD |
4469 | |
4470 | wxPy_END_ALLOW_THREADS; | |
4471 | } if (_result) { | |
f6bcfd97 | 4472 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogGui_p"); |
4120ef2b RD |
4473 | _resultobj = Py_BuildValue("s",_ptemp); |
4474 | } else { | |
4475 | Py_INCREF(Py_None); | |
4476 | _resultobj = Py_None; | |
4477 | } | |
4478 | return _resultobj; | |
4479 | } | |
4480 | ||
f6bcfd97 BP |
4481 | static void *SwigwxLogWindowTowxLog(void *ptr) { |
4482 | wxLogWindow *src; | |
4483 | wxLog *dest; | |
4484 | src = (wxLogWindow *) ptr; | |
4485 | dest = (wxLog *) src; | |
4486 | return (void *) dest; | |
4487 | } | |
4488 | ||
4489 | #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4490 | static PyObject *_wrap_new_wxLogWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4120ef2b | 4491 | PyObject * _resultobj; |
f6bcfd97 BP |
4492 | wxLogWindow * _result; |
4493 | wxFrame * _arg0; | |
4494 | char * _arg1; | |
4495 | bool _arg2 = (bool ) TRUE; | |
4496 | bool _arg3 = (bool ) TRUE; | |
4120ef2b | 4497 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
4498 | int tempbool2 = (int) TRUE; |
4499 | int tempbool3 = (int) TRUE; | |
4500 | char *_kwnames[] = { "pParent","szTitle","bShow","bPassToOld", NULL }; | |
4501 | char _ptemp[128]; | |
4120ef2b RD |
4502 | |
4503 | self = self; | |
f6bcfd97 | 4504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os|ii:new_wxLogWindow",_kwnames,&_argo0,&_arg1,&tempbool2,&tempbool3)) |
4120ef2b RD |
4505 | return NULL; |
4506 | if (_argo0) { | |
4507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxFrame_p")) { |
4509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p."); | |
4120ef2b RD |
4510 | return NULL; |
4511 | } | |
4512 | } | |
f6bcfd97 BP |
4513 | _arg2 = (bool ) tempbool2; |
4514 | _arg3 = (bool ) tempbool3; | |
4120ef2b RD |
4515 | { |
4516 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4517 | _result = (wxLogWindow *)new_wxLogWindow(_arg0,_arg1,_arg2,_arg3); |
4120ef2b RD |
4518 | |
4519 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
4520 | } if (_result) { |
4521 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogWindow_p"); | |
4522 | _resultobj = Py_BuildValue("s",_ptemp); | |
4523 | } else { | |
4524 | Py_INCREF(Py_None); | |
4525 | _resultobj = Py_None; | |
4526 | } | |
4120ef2b RD |
4527 | return _resultobj; |
4528 | } | |
4529 | ||
f6bcfd97 BP |
4530 | #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0)) |
4531 | static PyObject *_wrap_wxLogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4120ef2b | 4532 | PyObject * _resultobj; |
f6bcfd97 BP |
4533 | wxLogWindow * _arg0; |
4534 | bool _arg1 = (bool ) TRUE; | |
4120ef2b | 4535 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
4536 | int tempbool1 = (int) TRUE; |
4537 | char *_kwnames[] = { "self","bShow", NULL }; | |
4120ef2b RD |
4538 | |
4539 | self = self; | |
f6bcfd97 | 4540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxLogWindow_Show",_kwnames,&_argo0,&tempbool1)) |
4120ef2b RD |
4541 | return NULL; |
4542 | if (_argo0) { | |
4543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) { |
4545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p."); | |
4120ef2b RD |
4546 | return NULL; |
4547 | } | |
4548 | } | |
f6bcfd97 | 4549 | _arg1 = (bool ) tempbool1; |
4120ef2b RD |
4550 | { |
4551 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4552 | wxLogWindow_Show(_arg0,_arg1); |
4120ef2b RD |
4553 | |
4554 | wxPy_END_ALLOW_THREADS; | |
4555 | } Py_INCREF(Py_None); | |
4556 | _resultobj = Py_None; | |
4557 | return _resultobj; | |
4558 | } | |
4559 | ||
f6bcfd97 BP |
4560 | #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame()) |
4561 | static PyObject *_wrap_wxLogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4120ef2b | 4562 | PyObject * _resultobj; |
f6bcfd97 BP |
4563 | wxFrame * _result; |
4564 | wxLogWindow * _arg0; | |
4120ef2b | 4565 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
4566 | char *_kwnames[] = { "self", NULL }; |
4567 | char _ptemp[128]; | |
4120ef2b RD |
4568 | |
4569 | self = self; | |
f6bcfd97 | 4570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetFrame",_kwnames,&_argo0)) |
4120ef2b RD |
4571 | return NULL; |
4572 | if (_argo0) { | |
4573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) { |
4575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p."); | |
4120ef2b RD |
4576 | return NULL; |
4577 | } | |
4578 | } | |
4120ef2b RD |
4579 | { |
4580 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4581 | _result = (wxFrame *)wxLogWindow_GetFrame(_arg0); |
4120ef2b RD |
4582 | |
4583 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
4584 | } if (_result) { |
4585 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFrame_p"); | |
4586 | _resultobj = Py_BuildValue("s",_ptemp); | |
4587 | } else { | |
4588 | Py_INCREF(Py_None); | |
4589 | _resultobj = Py_None; | |
4590 | } | |
4120ef2b RD |
4591 | return _resultobj; |
4592 | } | |
4593 | ||
f6bcfd97 BP |
4594 | #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog()) |
4595 | static PyObject *_wrap_wxLogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4120ef2b | 4596 | PyObject * _resultobj; |
f6bcfd97 BP |
4597 | wxLog * _result; |
4598 | wxLogWindow * _arg0; | |
4120ef2b | 4599 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
4600 | char *_kwnames[] = { "self", NULL }; |
4601 | char _ptemp[128]; | |
4120ef2b RD |
4602 | |
4603 | self = self; | |
f6bcfd97 | 4604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_GetOldLog",_kwnames,&_argo0)) |
4120ef2b RD |
4605 | return NULL; |
4606 | if (_argo0) { | |
4607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) { |
4609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p."); | |
4120ef2b RD |
4610 | return NULL; |
4611 | } | |
4612 | } | |
4613 | { | |
4614 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4615 | _result = (wxLog *)wxLogWindow_GetOldLog(_arg0); |
4120ef2b RD |
4616 | |
4617 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
4618 | } if (_result) { |
4619 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLog_p"); | |
4620 | _resultobj = Py_BuildValue("s",_ptemp); | |
4621 | } else { | |
4622 | Py_INCREF(Py_None); | |
4623 | _resultobj = Py_None; | |
4624 | } | |
4120ef2b RD |
4625 | return _resultobj; |
4626 | } | |
4627 | ||
f6bcfd97 BP |
4628 | #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages()) |
4629 | static PyObject *_wrap_wxLogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4120ef2b | 4630 | PyObject * _resultobj; |
f6bcfd97 BP |
4631 | bool _result; |
4632 | wxLogWindow * _arg0; | |
4120ef2b RD |
4633 | PyObject * _argo0 = 0; |
4634 | char *_kwnames[] = { "self", NULL }; | |
4635 | ||
4636 | self = self; | |
f6bcfd97 | 4637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLogWindow_IsPassingMessages",_kwnames,&_argo0)) |
4120ef2b RD |
4638 | return NULL; |
4639 | if (_argo0) { | |
4640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) { |
4642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p."); | |
4120ef2b RD |
4643 | return NULL; |
4644 | } | |
4645 | } | |
4646 | { | |
4647 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4648 | _result = (bool )wxLogWindow_IsPassingMessages(_arg0); |
4120ef2b RD |
4649 | |
4650 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 4651 | } _resultobj = Py_BuildValue("i",_result); |
4120ef2b RD |
4652 | return _resultobj; |
4653 | } | |
4654 | ||
f6bcfd97 BP |
4655 | #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0)) |
4656 | static PyObject *_wrap_wxLogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4120ef2b | 4657 | PyObject * _resultobj; |
f6bcfd97 BP |
4658 | wxLogWindow * _arg0; |
4659 | bool _arg1; | |
4120ef2b | 4660 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
4661 | int tempbool1; |
4662 | char *_kwnames[] = { "self","bDoPass", NULL }; | |
4120ef2b RD |
4663 | |
4664 | self = self; | |
f6bcfd97 | 4665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxLogWindow_PassMessages",_kwnames,&_argo0,&tempbool1)) |
4120ef2b RD |
4666 | return NULL; |
4667 | if (_argo0) { | |
4668 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4669 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogWindow_p")) { |
4670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p."); | |
4120ef2b RD |
4671 | return NULL; |
4672 | } | |
4673 | } | |
f6bcfd97 | 4674 | _arg1 = (bool ) tempbool1; |
4120ef2b RD |
4675 | { |
4676 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4677 | wxLogWindow_PassMessages(_arg0,_arg1); |
4120ef2b RD |
4678 | |
4679 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
4680 | } Py_INCREF(Py_None); |
4681 | _resultobj = Py_None; | |
4120ef2b RD |
4682 | return _resultobj; |
4683 | } | |
4684 | ||
f6bcfd97 BP |
4685 | #define new_wxLogNull() (new wxLogNull()) |
4686 | static PyObject *_wrap_new_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4120ef2b | 4687 | PyObject * _resultobj; |
f6bcfd97 BP |
4688 | wxLogNull * _result; |
4689 | char *_kwnames[] = { NULL }; | |
4120ef2b RD |
4690 | char _ptemp[128]; |
4691 | ||
4692 | self = self; | |
f6bcfd97 | 4693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxLogNull",_kwnames)) |
4120ef2b | 4694 | return NULL; |
4120ef2b RD |
4695 | { |
4696 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4697 | _result = (wxLogNull *)new_wxLogNull(); |
4120ef2b RD |
4698 | |
4699 | wxPy_END_ALLOW_THREADS; | |
4700 | } if (_result) { | |
f6bcfd97 | 4701 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxLogNull_p"); |
4120ef2b RD |
4702 | _resultobj = Py_BuildValue("s",_ptemp); |
4703 | } else { | |
4704 | Py_INCREF(Py_None); | |
4705 | _resultobj = Py_None; | |
4706 | } | |
4707 | return _resultobj; | |
4708 | } | |
4709 | ||
f6bcfd97 BP |
4710 | #define delete_wxLogNull(_swigobj) (delete _swigobj) |
4711 | static PyObject *_wrap_delete_wxLogNull(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4120ef2b | 4712 | PyObject * _resultobj; |
f6bcfd97 | 4713 | wxLogNull * _arg0; |
4120ef2b RD |
4714 | PyObject * _argo0 = 0; |
4715 | char *_kwnames[] = { "self", NULL }; | |
4716 | ||
4717 | self = self; | |
f6bcfd97 | 4718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxLogNull",_kwnames,&_argo0)) |
4120ef2b RD |
4719 | return NULL; |
4720 | if (_argo0) { | |
4721 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
4722 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLogNull_p")) { |
4723 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p."); | |
4120ef2b RD |
4724 | return NULL; |
4725 | } | |
4726 | } | |
4727 | { | |
4728 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4729 | delete_wxLogNull(_arg0); |
4120ef2b RD |
4730 | |
4731 | wxPy_END_ALLOW_THREADS; | |
4732 | } Py_INCREF(Py_None); | |
4733 | _resultobj = Py_None; | |
4734 | return _resultobj; | |
4735 | } | |
4736 | ||
c368d904 RD |
4737 | static void *SwigwxProcessEventTowxEvent(void *ptr) { |
4738 | wxProcessEvent *src; | |
4739 | wxEvent *dest; | |
4740 | src = (wxProcessEvent *) ptr; | |
4741 | dest = (wxEvent *) src; | |
4742 | return (void *) dest; | |
4743 | } | |
4744 | ||
4745 | #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2)) | |
4746 | static PyObject *_wrap_new_wxProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4747 | PyObject * _resultobj; | |
4748 | wxProcessEvent * _result; | |
4749 | int _arg0 = (int ) 0; | |
4750 | int _arg1 = (int ) 0; | |
4751 | int _arg2 = (int ) 0; | |
4752 | char *_kwnames[] = { "id","pid","exitcode", NULL }; | |
4753 | char _ptemp[128]; | |
4754 | ||
4755 | self = self; | |
4756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iii:new_wxProcessEvent",_kwnames,&_arg0,&_arg1,&_arg2)) | |
4757 | return NULL; | |
4758 | { | |
4759 | wxPy_BEGIN_ALLOW_THREADS; | |
4760 | _result = (wxProcessEvent *)new_wxProcessEvent(_arg0,_arg1,_arg2); | |
4761 | ||
4762 | wxPy_END_ALLOW_THREADS; | |
4763 | } if (_result) { | |
4764 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxProcessEvent_p"); | |
4765 | _resultobj = Py_BuildValue("s",_ptemp); | |
4766 | } else { | |
4767 | Py_INCREF(Py_None); | |
4768 | _resultobj = Py_None; | |
4769 | } | |
4770 | return _resultobj; | |
4771 | } | |
4772 | ||
4773 | #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid()) | |
4774 | static PyObject *_wrap_wxProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4775 | PyObject * _resultobj; | |
4776 | int _result; | |
4777 | wxProcessEvent * _arg0; | |
4778 | PyObject * _argo0 = 0; | |
4779 | char *_kwnames[] = { "self", NULL }; | |
4780 | ||
4781 | self = self; | |
4782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_GetPid",_kwnames,&_argo0)) | |
4783 | return NULL; | |
4784 | if (_argo0) { | |
4785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) { | |
4787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p."); | |
4788 | return NULL; | |
4789 | } | |
4790 | } | |
4791 | { | |
4792 | wxPy_BEGIN_ALLOW_THREADS; | |
4793 | _result = (int )wxProcessEvent_GetPid(_arg0); | |
4794 | ||
4795 | wxPy_END_ALLOW_THREADS; | |
4796 | } _resultobj = Py_BuildValue("i",_result); | |
4797 | return _resultobj; | |
4798 | } | |
4799 | ||
4800 | #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode()) | |
4801 | static PyObject *_wrap_wxProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4802 | PyObject * _resultobj; | |
4803 | int _result; | |
4804 | wxProcessEvent * _arg0; | |
4805 | PyObject * _argo0 = 0; | |
4806 | char *_kwnames[] = { "self", NULL }; | |
4807 | ||
4808 | self = self; | |
4809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_GetExitCode",_kwnames,&_argo0)) | |
4810 | return NULL; | |
4811 | if (_argo0) { | |
4812 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4813 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) { | |
4814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p."); | |
4815 | return NULL; | |
4816 | } | |
4817 | } | |
4818 | { | |
4819 | wxPy_BEGIN_ALLOW_THREADS; | |
4820 | _result = (int )wxProcessEvent_GetExitCode(_arg0); | |
4821 | ||
4822 | wxPy_END_ALLOW_THREADS; | |
4823 | } _resultobj = Py_BuildValue("i",_result); | |
4824 | return _resultobj; | |
4825 | } | |
4826 | ||
4827 | #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval) | |
4828 | static PyObject *_wrap_wxProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4829 | PyObject * _resultobj; | |
4830 | int _result; | |
4831 | wxProcessEvent * _arg0; | |
4832 | int _arg1; | |
4833 | PyObject * _argo0 = 0; | |
4834 | char *_kwnames[] = { "self","m_pid", NULL }; | |
4835 | ||
4836 | self = self; | |
4837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_pid_set",_kwnames,&_argo0,&_arg1)) | |
4838 | return NULL; | |
4839 | if (_argo0) { | |
4840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) { | |
4842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p."); | |
4843 | return NULL; | |
4844 | } | |
4845 | } | |
4846 | { | |
4847 | wxPy_BEGIN_ALLOW_THREADS; | |
4848 | _result = (int )wxProcessEvent_m_pid_set(_arg0,_arg1); | |
4849 | ||
4850 | wxPy_END_ALLOW_THREADS; | |
4851 | } _resultobj = Py_BuildValue("i",_result); | |
4852 | return _resultobj; | |
4853 | } | |
4854 | ||
4855 | #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid) | |
4856 | static PyObject *_wrap_wxProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4857 | PyObject * _resultobj; | |
4858 | int _result; | |
4859 | wxProcessEvent * _arg0; | |
4860 | PyObject * _argo0 = 0; | |
4861 | char *_kwnames[] = { "self", NULL }; | |
4862 | ||
4863 | self = self; | |
4864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_pid_get",_kwnames,&_argo0)) | |
4865 | return NULL; | |
4866 | if (_argo0) { | |
4867 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4868 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) { | |
4869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p."); | |
4870 | return NULL; | |
4871 | } | |
4872 | } | |
4873 | { | |
4874 | wxPy_BEGIN_ALLOW_THREADS; | |
4875 | _result = (int )wxProcessEvent_m_pid_get(_arg0); | |
4876 | ||
4877 | wxPy_END_ALLOW_THREADS; | |
4878 | } _resultobj = Py_BuildValue("i",_result); | |
4879 | return _resultobj; | |
4880 | } | |
4881 | ||
4882 | #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval) | |
4883 | static PyObject *_wrap_wxProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4884 | PyObject * _resultobj; | |
4885 | int _result; | |
4886 | wxProcessEvent * _arg0; | |
4887 | int _arg1; | |
4888 | PyObject * _argo0 = 0; | |
4889 | char *_kwnames[] = { "self","m_exitcode", NULL }; | |
4890 | ||
4891 | self = self; | |
4892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxProcessEvent_m_exitcode_set",_kwnames,&_argo0,&_arg1)) | |
4893 | return NULL; | |
4894 | if (_argo0) { | |
4895 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4896 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) { | |
4897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p."); | |
4898 | return NULL; | |
4899 | } | |
4900 | } | |
4901 | { | |
4902 | wxPy_BEGIN_ALLOW_THREADS; | |
4903 | _result = (int )wxProcessEvent_m_exitcode_set(_arg0,_arg1); | |
4904 | ||
4905 | wxPy_END_ALLOW_THREADS; | |
4906 | } _resultobj = Py_BuildValue("i",_result); | |
4907 | return _resultobj; | |
4908 | } | |
4909 | ||
4910 | #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode) | |
4911 | static PyObject *_wrap_wxProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4912 | PyObject * _resultobj; | |
4913 | int _result; | |
4914 | wxProcessEvent * _arg0; | |
4915 | PyObject * _argo0 = 0; | |
4916 | char *_kwnames[] = { "self", NULL }; | |
4917 | ||
4918 | self = self; | |
4919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcessEvent_m_exitcode_get",_kwnames,&_argo0)) | |
4920 | return NULL; | |
4921 | if (_argo0) { | |
4922 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4923 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxProcessEvent_p")) { | |
4924 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p."); | |
4925 | return NULL; | |
4926 | } | |
4927 | } | |
4928 | { | |
4929 | wxPy_BEGIN_ALLOW_THREADS; | |
4930 | _result = (int )wxProcessEvent_m_exitcode_get(_arg0); | |
4931 | ||
4932 | wxPy_END_ALLOW_THREADS; | |
4933 | } _resultobj = Py_BuildValue("i",_result); | |
4934 | return _resultobj; | |
4935 | } | |
4936 | ||
4937 | static void *SwigwxPyProcessTowxEvtHandler(void *ptr) { | |
4938 | wxPyProcess *src; | |
4939 | wxEvtHandler *dest; | |
4940 | src = (wxPyProcess *) ptr; | |
4941 | dest = (wxEvtHandler *) src; | |
4942 | return (void *) dest; | |
4943 | } | |
4944 | ||
4945 | #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1)) | |
4946 | static PyObject *_wrap_new_wxProcess(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4947 | PyObject * _resultobj; | |
4948 | wxPyProcess * _result; | |
4949 | wxEvtHandler * _arg0 = (wxEvtHandler *) NULL; | |
4950 | int _arg1 = (int ) -1; | |
4951 | PyObject * _argo0 = 0; | |
4952 | char *_kwnames[] = { "parent","id", NULL }; | |
4953 | char _ptemp[128]; | |
4954 | ||
4955 | self = self; | |
4956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|Oi:new_wxProcess",_kwnames,&_argo0,&_arg1)) | |
4957 | return NULL; | |
4958 | if (_argo0) { | |
4959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEvtHandler_p")) { | |
4961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p."); | |
4962 | return NULL; | |
4963 | } | |
4964 | } | |
4965 | { | |
4966 | wxPy_BEGIN_ALLOW_THREADS; | |
4967 | _result = (wxPyProcess *)new_wxProcess(_arg0,_arg1); | |
4968 | ||
4969 | wxPy_END_ALLOW_THREADS; | |
4970 | } if (_result) { | |
4971 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyProcess_p"); | |
4972 | _resultobj = Py_BuildValue("s",_ptemp); | |
4973 | } else { | |
4974 | Py_INCREF(Py_None); | |
4975 | _resultobj = Py_None; | |
4976 | } | |
4977 | return _resultobj; | |
4978 | } | |
4979 | ||
4980 | static void wxPyProcess_Destroy(wxPyProcess *self) { delete self; } | |
4981 | static PyObject *_wrap_wxProcess_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4982 | PyObject * _resultobj; | |
4983 | wxPyProcess * _arg0; | |
4984 | PyObject * _argo0 = 0; | |
4985 | char *_kwnames[] = { "self", NULL }; | |
4986 | ||
4987 | self = self; | |
4988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Destroy",_kwnames,&_argo0)) | |
4989 | return NULL; | |
4990 | if (_argo0) { | |
4991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) { | |
4993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p."); | |
4994 | return NULL; | |
4995 | } | |
4996 | } | |
4997 | { | |
4998 | wxPy_BEGIN_ALLOW_THREADS; | |
4999 | wxPyProcess_Destroy(_arg0); | |
5000 | ||
5001 | wxPy_END_ALLOW_THREADS; | |
5002 | } Py_INCREF(Py_None); | |
5003 | _resultobj = Py_None; | |
5004 | return _resultobj; | |
5005 | } | |
5006 | ||
5007 | #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) | |
5008 | static PyObject *_wrap_wxProcess__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5009 | PyObject * _resultobj; | |
5010 | wxPyProcess * _arg0; | |
5011 | PyObject * _arg1; | |
5012 | PyObject * _arg2; | |
5013 | PyObject * _argo0 = 0; | |
5014 | PyObject * _obj1 = 0; | |
5015 | PyObject * _obj2 = 0; | |
5016 | char *_kwnames[] = { "self","self","_class", NULL }; | |
5017 | ||
5018 | self = self; | |
5019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxProcess__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) | |
5020 | return NULL; | |
5021 | if (_argo0) { | |
5022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) { | |
5024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p."); | |
5025 | return NULL; | |
5026 | } | |
5027 | } | |
5028 | { | |
5029 | _arg1 = _obj1; | |
5030 | } | |
5031 | { | |
5032 | _arg2 = _obj2; | |
5033 | } | |
5034 | { | |
5035 | wxPy_BEGIN_ALLOW_THREADS; | |
5036 | wxProcess__setSelf(_arg0,_arg1,_arg2); | |
5037 | ||
5038 | wxPy_END_ALLOW_THREADS; | |
5039 | } Py_INCREF(Py_None); | |
5040 | _resultobj = Py_None; | |
5041 | return _resultobj; | |
5042 | } | |
5043 | ||
5044 | #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1)) | |
5045 | static PyObject *_wrap_wxProcess_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5046 | PyObject * _resultobj; | |
5047 | wxPyProcess * _arg0; | |
5048 | int _arg1; | |
5049 | int _arg2; | |
5050 | PyObject * _argo0 = 0; | |
5051 | char *_kwnames[] = { "self","pid","status", NULL }; | |
5052 | ||
5053 | self = self; | |
5054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxProcess_base_OnTerminate",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5055 | return NULL; | |
5056 | if (_argo0) { | |
5057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) { | |
5059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p."); | |
5060 | return NULL; | |
5061 | } | |
5062 | } | |
5063 | { | |
5064 | wxPy_BEGIN_ALLOW_THREADS; | |
5065 | wxProcess_base_OnTerminate(_arg0,_arg1,_arg2); | |
5066 | ||
5067 | wxPy_END_ALLOW_THREADS; | |
5068 | } Py_INCREF(Py_None); | |
5069 | _resultobj = Py_None; | |
5070 | return _resultobj; | |
5071 | } | |
5072 | ||
5073 | #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect()) | |
5074 | static PyObject *_wrap_wxProcess_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5075 | PyObject * _resultobj; | |
5076 | wxPyProcess * _arg0; | |
5077 | PyObject * _argo0 = 0; | |
5078 | char *_kwnames[] = { "self", NULL }; | |
5079 | ||
5080 | self = self; | |
5081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Redirect",_kwnames,&_argo0)) | |
5082 | return NULL; | |
5083 | if (_argo0) { | |
5084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) { | |
5086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p."); | |
5087 | return NULL; | |
5088 | } | |
5089 | } | |
5090 | { | |
5091 | wxPy_BEGIN_ALLOW_THREADS; | |
5092 | wxProcess_Redirect(_arg0); | |
5093 | ||
5094 | wxPy_END_ALLOW_THREADS; | |
5095 | } Py_INCREF(Py_None); | |
5096 | _resultobj = Py_None; | |
5097 | return _resultobj; | |
5098 | } | |
5099 | ||
5100 | #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected()) | |
5101 | static PyObject *_wrap_wxProcess_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5102 | PyObject * _resultobj; | |
5103 | bool _result; | |
5104 | wxPyProcess * _arg0; | |
5105 | PyObject * _argo0 = 0; | |
5106 | char *_kwnames[] = { "self", NULL }; | |
5107 | ||
5108 | self = self; | |
5109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_IsRedirected",_kwnames,&_argo0)) | |
5110 | return NULL; | |
5111 | if (_argo0) { | |
5112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) { | |
5114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p."); | |
5115 | return NULL; | |
5116 | } | |
5117 | } | |
5118 | { | |
5119 | wxPy_BEGIN_ALLOW_THREADS; | |
5120 | _result = (bool )wxProcess_IsRedirected(_arg0); | |
5121 | ||
5122 | wxPy_END_ALLOW_THREADS; | |
5123 | } _resultobj = Py_BuildValue("i",_result); | |
5124 | return _resultobj; | |
5125 | } | |
5126 | ||
5127 | #define wxProcess_Detach(_swigobj) (_swigobj->Detach()) | |
5128 | static PyObject *_wrap_wxProcess_Detach(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5129 | PyObject * _resultobj; | |
5130 | wxPyProcess * _arg0; | |
5131 | PyObject * _argo0 = 0; | |
5132 | char *_kwnames[] = { "self", NULL }; | |
5133 | ||
5134 | self = self; | |
5135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_Detach",_kwnames,&_argo0)) | |
5136 | return NULL; | |
5137 | if (_argo0) { | |
5138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) { | |
5140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p."); | |
5141 | return NULL; | |
5142 | } | |
5143 | } | |
5144 | { | |
5145 | wxPy_BEGIN_ALLOW_THREADS; | |
5146 | wxProcess_Detach(_arg0); | |
5147 | ||
5148 | wxPy_END_ALLOW_THREADS; | |
5149 | } Py_INCREF(Py_None); | |
5150 | _resultobj = Py_None; | |
5151 | return _resultobj; | |
5152 | } | |
5153 | ||
5154 | #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream()) | |
5155 | static PyObject *_wrap_wxProcess_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5156 | PyObject * _resultobj; | |
5157 | wxInputStream * _result; | |
5158 | wxPyProcess * _arg0; | |
5159 | PyObject * _argo0 = 0; | |
5160 | char *_kwnames[] = { "self", NULL }; | |
5161 | ||
5162 | self = self; | |
5163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetInputStream",_kwnames,&_argo0)) | |
5164 | return NULL; | |
5165 | if (_argo0) { | |
5166 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5167 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) { | |
5168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p."); | |
5169 | return NULL; | |
5170 | } | |
5171 | } | |
5172 | { | |
5173 | wxPy_BEGIN_ALLOW_THREADS; | |
5174 | _result = (wxInputStream *)wxProcess_GetInputStream(_arg0); | |
5175 | ||
5176 | wxPy_END_ALLOW_THREADS; | |
5177 | }{ | |
5178 | wxPyInputStream * _ptr = NULL; | |
5179 | ||
5180 | if (_result) { | |
5181 | _ptr = new wxPyInputStream(_result); | |
5182 | } | |
5183 | if (_ptr) { | |
5184 | char swigptr[64]; | |
5185 | SWIG_MakePtr(swigptr, _ptr, "_wxPyInputStream_p"); | |
5186 | ||
5187 | PyObject* classobj = PyDict_GetItemString(wxPython_dict, "wxInputStreamPtr"); | |
5188 | if (! classobj) { | |
5189 | Py_INCREF(Py_None); | |
5190 | _resultobj = Py_None; | |
5191 | } else { | |
5192 | PyObject* arg = Py_BuildValue("(s)", swigptr); | |
5193 | _resultobj = PyInstance_New(classobj, arg, NULL); | |
5194 | Py_DECREF(arg); | |
5195 | ||
5196 | // set ThisOwn | |
2cd2fac8 RD |
5197 | PyObject* one = PyInt_FromLong(1); |
5198 | PyObject_SetAttrString(_resultobj, "thisown", one); | |
5199 | Py_DECREF(one); | |
c368d904 RD |
5200 | } |
5201 | } else { | |
5202 | Py_INCREF(Py_None); | |
5203 | _resultobj = Py_None; | |
5204 | } | |
5205 | } | |
5206 | return _resultobj; | |
5207 | } | |
5208 | ||
5209 | #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream()) | |
5210 | static PyObject *_wrap_wxProcess_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5211 | PyObject * _resultobj; | |
5212 | wxInputStream * _result; | |
5213 | wxPyProcess * _arg0; | |
5214 | PyObject * _argo0 = 0; | |
5215 | char *_kwnames[] = { "self", NULL }; | |
5216 | ||
5217 | self = self; | |
5218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetErrorStream",_kwnames,&_argo0)) | |
5219 | return NULL; | |
5220 | if (_argo0) { | |
5221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) { | |
5223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p."); | |
5224 | return NULL; | |
5225 | } | |
5226 | } | |
5227 | { | |
5228 | wxPy_BEGIN_ALLOW_THREADS; | |
5229 | _result = (wxInputStream *)wxProcess_GetErrorStream(_arg0); | |
5230 | ||
5231 | wxPy_END_ALLOW_THREADS; | |
5232 | }{ | |
5233 | wxPyInputStream * _ptr = NULL; | |
5234 | ||
5235 | if (_result) { | |
5236 | _ptr = new wxPyInputStream(_result); | |
5237 | } | |
5238 | if (_ptr) { | |
5239 | char swigptr[64]; | |
5240 | SWIG_MakePtr(swigptr, _ptr, "_wxPyInputStream_p"); | |
5241 | ||
5242 | PyObject* classobj = PyDict_GetItemString(wxPython_dict, "wxInputStreamPtr"); | |
5243 | if (! classobj) { | |
5244 | Py_INCREF(Py_None); | |
5245 | _resultobj = Py_None; | |
5246 | } else { | |
5247 | PyObject* arg = Py_BuildValue("(s)", swigptr); | |
5248 | _resultobj = PyInstance_New(classobj, arg, NULL); | |
5249 | Py_DECREF(arg); | |
5250 | ||
5251 | // set ThisOwn | |
2cd2fac8 RD |
5252 | PyObject* one = PyInt_FromLong(1); |
5253 | PyObject_SetAttrString(_resultobj, "thisown", one); | |
5254 | Py_DECREF(one); | |
c368d904 RD |
5255 | } |
5256 | } else { | |
5257 | Py_INCREF(Py_None); | |
5258 | _resultobj = Py_None; | |
5259 | } | |
5260 | } | |
5261 | return _resultobj; | |
5262 | } | |
5263 | ||
5264 | #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream()) | |
5265 | static PyObject *_wrap_wxProcess_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5266 | PyObject * _resultobj; | |
5267 | wxOutputStream * _result; | |
5268 | wxPyProcess * _arg0; | |
5269 | PyObject * _argo0 = 0; | |
5270 | char *_kwnames[] = { "self", NULL }; | |
5271 | char _ptemp[128]; | |
5272 | ||
5273 | self = self; | |
5274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_GetOutputStream",_kwnames,&_argo0)) | |
5275 | return NULL; | |
5276 | if (_argo0) { | |
5277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) { | |
5279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p."); | |
5280 | return NULL; | |
5281 | } | |
5282 | } | |
5283 | { | |
5284 | wxPy_BEGIN_ALLOW_THREADS; | |
5285 | _result = (wxOutputStream *)wxProcess_GetOutputStream(_arg0); | |
5286 | ||
5287 | wxPy_END_ALLOW_THREADS; | |
5288 | } if (_result) { | |
5289 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOutputStream_p"); | |
5290 | _resultobj = Py_BuildValue("s",_ptemp); | |
5291 | } else { | |
5292 | Py_INCREF(Py_None); | |
5293 | _resultobj = Py_None; | |
5294 | } | |
5295 | return _resultobj; | |
5296 | } | |
5297 | ||
5298 | #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput()) | |
5299 | static PyObject *_wrap_wxProcess_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5300 | PyObject * _resultobj; | |
5301 | wxPyProcess * _arg0; | |
5302 | PyObject * _argo0 = 0; | |
5303 | char *_kwnames[] = { "self", NULL }; | |
5304 | ||
5305 | self = self; | |
5306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxProcess_CloseOutput",_kwnames,&_argo0)) | |
5307 | return NULL; | |
5308 | if (_argo0) { | |
5309 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5310 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyProcess_p")) { | |
5311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p."); | |
5312 | return NULL; | |
5313 | } | |
5314 | } | |
5315 | { | |
5316 | wxPy_BEGIN_ALLOW_THREADS; | |
5317 | wxProcess_CloseOutput(_arg0); | |
5318 | ||
5319 | wxPy_END_ALLOW_THREADS; | |
5320 | } Py_INCREF(Py_None); | |
5321 | _resultobj = Py_None; | |
5322 | return _resultobj; | |
5323 | } | |
5324 | ||
d24a34bb | 5325 | static PyMethodDef misc2cMethods[] = { |
c368d904 RD |
5326 | { "wxProcess_CloseOutput", (PyCFunction) _wrap_wxProcess_CloseOutput, METH_VARARGS | METH_KEYWORDS }, |
5327 | { "wxProcess_GetOutputStream", (PyCFunction) _wrap_wxProcess_GetOutputStream, METH_VARARGS | METH_KEYWORDS }, | |
5328 | { "wxProcess_GetErrorStream", (PyCFunction) _wrap_wxProcess_GetErrorStream, METH_VARARGS | METH_KEYWORDS }, | |
5329 | { "wxProcess_GetInputStream", (PyCFunction) _wrap_wxProcess_GetInputStream, METH_VARARGS | METH_KEYWORDS }, | |
5330 | { "wxProcess_Detach", (PyCFunction) _wrap_wxProcess_Detach, METH_VARARGS | METH_KEYWORDS }, | |
5331 | { "wxProcess_IsRedirected", (PyCFunction) _wrap_wxProcess_IsRedirected, METH_VARARGS | METH_KEYWORDS }, | |
5332 | { "wxProcess_Redirect", (PyCFunction) _wrap_wxProcess_Redirect, METH_VARARGS | METH_KEYWORDS }, | |
5333 | { "wxProcess_base_OnTerminate", (PyCFunction) _wrap_wxProcess_base_OnTerminate, METH_VARARGS | METH_KEYWORDS }, | |
5334 | { "wxProcess__setSelf", (PyCFunction) _wrap_wxProcess__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
5335 | { "wxProcess_Destroy", (PyCFunction) _wrap_wxProcess_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
5336 | { "new_wxProcess", (PyCFunction) _wrap_new_wxProcess, METH_VARARGS | METH_KEYWORDS }, | |
5337 | { "wxProcessEvent_m_exitcode_get", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS }, | |
5338 | { "wxProcessEvent_m_exitcode_set", (PyCFunction) _wrap_wxProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS }, | |
5339 | { "wxProcessEvent_m_pid_get", (PyCFunction) _wrap_wxProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS }, | |
5340 | { "wxProcessEvent_m_pid_set", (PyCFunction) _wrap_wxProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS }, | |
5341 | { "wxProcessEvent_GetExitCode", (PyCFunction) _wrap_wxProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS }, | |
5342 | { "wxProcessEvent_GetPid", (PyCFunction) _wrap_wxProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS }, | |
5343 | { "new_wxProcessEvent", (PyCFunction) _wrap_new_wxProcessEvent, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
5344 | { "delete_wxLogNull", (PyCFunction) _wrap_delete_wxLogNull, METH_VARARGS | METH_KEYWORDS }, |
5345 | { "new_wxLogNull", (PyCFunction) _wrap_new_wxLogNull, METH_VARARGS | METH_KEYWORDS }, | |
5346 | { "wxLogWindow_PassMessages", (PyCFunction) _wrap_wxLogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS }, | |
5347 | { "wxLogWindow_IsPassingMessages", (PyCFunction) _wrap_wxLogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS }, | |
5348 | { "wxLogWindow_GetOldLog", (PyCFunction) _wrap_wxLogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS }, | |
5349 | { "wxLogWindow_GetFrame", (PyCFunction) _wrap_wxLogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS }, | |
5350 | { "wxLogWindow_Show", (PyCFunction) _wrap_wxLogWindow_Show, METH_VARARGS | METH_KEYWORDS }, | |
5351 | { "new_wxLogWindow", (PyCFunction) _wrap_new_wxLogWindow, METH_VARARGS | METH_KEYWORDS }, | |
5352 | { "new_wxLogGui", (PyCFunction) _wrap_new_wxLogGui, METH_VARARGS | METH_KEYWORDS }, | |
5353 | { "new_wxLogTextCtrl", (PyCFunction) _wrap_new_wxLogTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
5354 | { "new_wxLogStderr", (PyCFunction) _wrap_new_wxLogStderr, METH_VARARGS | METH_KEYWORDS }, | |
5355 | { "wxLog_IsAllowedTraceMask", (PyCFunction) _wrap_wxLog_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS }, | |
5356 | { "wxLog_GetTraceMask", (PyCFunction) _wrap_wxLog_GetTraceMask, METH_VARARGS | METH_KEYWORDS }, | |
5357 | { "wxLog_GetVerbose", (PyCFunction) _wrap_wxLog_GetVerbose, METH_VARARGS | METH_KEYWORDS }, | |
5358 | { "wxLog_RemoveTraceMask", (PyCFunction) _wrap_wxLog_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS }, | |
5359 | { "wxLog_AddTraceMask", (PyCFunction) _wrap_wxLog_AddTraceMask, METH_VARARGS | METH_KEYWORDS }, | |
5360 | { "wxLog_SetTraceMask", (PyCFunction) _wrap_wxLog_SetTraceMask, METH_VARARGS | METH_KEYWORDS }, | |
5361 | { "wxLog_DontCreateOnDemand", (PyCFunction) _wrap_wxLog_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS }, | |
5362 | { "wxLog_SetVerbose", (PyCFunction) _wrap_wxLog_SetVerbose, METH_VARARGS | METH_KEYWORDS }, | |
5363 | { "wxLog_Resume", (PyCFunction) _wrap_wxLog_Resume, METH_VARARGS | METH_KEYWORDS }, | |
5364 | { "wxLog_Suspend", (PyCFunction) _wrap_wxLog_Suspend, METH_VARARGS | METH_KEYWORDS }, | |
5365 | { "wxLog_SetActiveTarget", (PyCFunction) _wrap_wxLog_SetActiveTarget, METH_VARARGS | METH_KEYWORDS }, | |
5366 | { "wxLog_GetActiveTarget", (PyCFunction) _wrap_wxLog_GetActiveTarget, METH_VARARGS | METH_KEYWORDS }, | |
5367 | { "wxLog_FlushActive", (PyCFunction) _wrap_wxLog_FlushActive, METH_VARARGS | METH_KEYWORDS }, | |
5368 | { "wxLog_HasPendingMessages", (PyCFunction) _wrap_wxLog_HasPendingMessages, METH_VARARGS | METH_KEYWORDS }, | |
5369 | { "wxLog_Flush", (PyCFunction) _wrap_wxLog_Flush, METH_VARARGS | METH_KEYWORDS }, | |
5370 | { "wxLog_OnLog", (PyCFunction) _wrap_wxLog_OnLog, METH_VARARGS | METH_KEYWORDS }, | |
5371 | { "wxLog_EnableLogging", (PyCFunction) _wrap_wxLog_EnableLogging, METH_VARARGS | METH_KEYWORDS }, | |
5372 | { "wxLog_IsEnabled", (PyCFunction) _wrap_wxLog_IsEnabled, METH_VARARGS | METH_KEYWORDS }, | |
5373 | { "new_wxLog", (PyCFunction) _wrap_new_wxLog, METH_VARARGS | METH_KEYWORDS }, | |
5374 | { "wxPyTimer_Stop", (PyCFunction) _wrap_wxPyTimer_Stop, METH_VARARGS | METH_KEYWORDS }, | |
5375 | { "wxPyTimer_Start", (PyCFunction) _wrap_wxPyTimer_Start, METH_VARARGS | METH_KEYWORDS }, | |
5376 | { "wxPyTimer_SetOwner", (PyCFunction) _wrap_wxPyTimer_SetOwner, METH_VARARGS | METH_KEYWORDS }, | |
5377 | { "wxPyTimer_IsRunning", (PyCFunction) _wrap_wxPyTimer_IsRunning, METH_VARARGS | METH_KEYWORDS }, | |
5378 | { "wxPyTimer_IsOneShot", (PyCFunction) _wrap_wxPyTimer_IsOneShot, METH_VARARGS | METH_KEYWORDS }, | |
5379 | { "wxPyTimer_GetInterval", (PyCFunction) _wrap_wxPyTimer_GetInterval, METH_VARARGS | METH_KEYWORDS }, | |
5380 | { "delete_wxPyTimer", (PyCFunction) _wrap_delete_wxPyTimer, METH_VARARGS | METH_KEYWORDS }, | |
5381 | { "new_wxPyTimer", (PyCFunction) _wrap_new_wxPyTimer, METH_VARARGS | METH_KEYWORDS }, | |
5382 | { "wxDragImage_RedrawImage", (PyCFunction) _wrap_wxDragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS }, | |
5383 | { "wxDragImage_GetImageRect", (PyCFunction) _wrap_wxDragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS }, | |
5384 | { "wxDragImage_Hide", (PyCFunction) _wrap_wxDragImage_Hide, METH_VARARGS | METH_KEYWORDS }, | |
5385 | { "wxDragImage_Show", (PyCFunction) _wrap_wxDragImage_Show, METH_VARARGS | METH_KEYWORDS }, | |
5386 | { "wxDragImage_Move", (PyCFunction) _wrap_wxDragImage_Move, METH_VARARGS | METH_KEYWORDS }, | |
5387 | { "wxDragImage_EndDrag", (PyCFunction) _wrap_wxDragImage_EndDrag, METH_VARARGS | METH_KEYWORDS }, | |
5388 | { "wxDragImage_BeginDrag2", (PyCFunction) _wrap_wxDragImage_BeginDrag2, METH_VARARGS | METH_KEYWORDS }, | |
5389 | { "wxDragImage_BeginDrag", (PyCFunction) _wrap_wxDragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS }, | |
5390 | { "delete_wxDragImage", (PyCFunction) _wrap_delete_wxDragImage, METH_VARARGS | METH_KEYWORDS }, | |
5391 | { "new_wxDragImage", (PyCFunction) _wrap_new_wxDragImage, METH_VARARGS | METH_KEYWORDS }, | |
5392 | { "new_wxPyTipProvider", (PyCFunction) _wrap_new_wxPyTipProvider, METH_VARARGS | METH_KEYWORDS }, | |
5393 | { "wxTipProvider_GetCurrentTip", (PyCFunction) _wrap_wxTipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS }, | |
5394 | { "wxTipProvider_GetTip", (PyCFunction) _wrap_wxTipProvider_GetTip, METH_VARARGS | METH_KEYWORDS }, | |
5395 | { "delete_wxTipProvider", (PyCFunction) _wrap_delete_wxTipProvider, METH_VARARGS | METH_KEYWORDS }, | |
c368d904 RD |
5396 | { "delete_wxWindowDisabler", (PyCFunction) _wrap_delete_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS }, |
5397 | { "new_wxWindowDisabler", (PyCFunction) _wrap_new_wxWindowDisabler, METH_VARARGS | METH_KEYWORDS }, | |
4120ef2b RD |
5398 | { "delete_wxBusyCursor", (PyCFunction) _wrap_delete_wxBusyCursor, METH_VARARGS | METH_KEYWORDS }, |
5399 | { "new_wxBusyCursor", (PyCFunction) _wrap_new_wxBusyCursor, METH_VARARGS | METH_KEYWORDS }, | |
5400 | { "wxFontEnumerator_GetFacenames", (PyCFunction) _wrap_wxFontEnumerator_GetFacenames, METH_VARARGS | METH_KEYWORDS }, | |
5401 | { "wxFontEnumerator_GetEncodings", (PyCFunction) _wrap_wxFontEnumerator_GetEncodings, METH_VARARGS | METH_KEYWORDS }, | |
5402 | { "wxFontEnumerator_EnumerateEncodings", (PyCFunction) _wrap_wxFontEnumerator_EnumerateEncodings, METH_VARARGS | METH_KEYWORDS }, | |
5403 | { "wxFontEnumerator_EnumerateFacenames", (PyCFunction) _wrap_wxFontEnumerator_EnumerateFacenames, METH_VARARGS | METH_KEYWORDS }, | |
5404 | { "wxFontEnumerator__setSelf", (PyCFunction) _wrap_wxFontEnumerator__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
5405 | { "delete_wxFontEnumerator", (PyCFunction) _wrap_delete_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS }, | |
5406 | { "new_wxFontEnumerator", (PyCFunction) _wrap_new_wxFontEnumerator, METH_VARARGS | METH_KEYWORDS }, | |
8f17924e RD |
5407 | { "wxCaret_Hide", (PyCFunction) _wrap_wxCaret_Hide, METH_VARARGS | METH_KEYWORDS }, |
5408 | { "wxCaret_Show", (PyCFunction) _wrap_wxCaret_Show, METH_VARARGS | METH_KEYWORDS }, | |
e02c03a4 RD |
5409 | { "wxCaret_SetSize", (PyCFunction) _wrap_wxCaret_SetSize, METH_VARARGS | METH_KEYWORDS }, |
5410 | { "wxCaret_SetSizeWH", (PyCFunction) _wrap_wxCaret_SetSizeWH, METH_VARARGS | METH_KEYWORDS }, | |
8f17924e RD |
5411 | { "wxCaret_Move", (PyCFunction) _wrap_wxCaret_Move, METH_VARARGS | METH_KEYWORDS }, |
5412 | { "wxCaret_MoveXY", (PyCFunction) _wrap_wxCaret_MoveXY, METH_VARARGS | METH_KEYWORDS }, | |
5413 | { "wxCaret_GetWindow", (PyCFunction) _wrap_wxCaret_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
5414 | { "wxCaret_GetSize", (PyCFunction) _wrap_wxCaret_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
5415 | { "wxCaret_GetSizeTuple", (PyCFunction) _wrap_wxCaret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS }, | |
5416 | { "wxCaret_GetPosition", (PyCFunction) _wrap_wxCaret_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
5417 | { "wxCaret_GetPositionTuple", (PyCFunction) _wrap_wxCaret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS }, | |
5418 | { "wxCaret_IsVisible", (PyCFunction) _wrap_wxCaret_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
5419 | { "wxCaret_IsOk", (PyCFunction) _wrap_wxCaret_IsOk, METH_VARARGS | METH_KEYWORDS }, | |
5420 | { "delete_wxCaret", (PyCFunction) _wrap_delete_wxCaret, METH_VARARGS | METH_KEYWORDS }, | |
5421 | { "new_wxCaret", (PyCFunction) _wrap_new_wxCaret, METH_VARARGS | METH_KEYWORDS }, | |
107e4716 RD |
5422 | { "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS }, |
5423 | { "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS }, | |
5424 | { "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS }, | |
5425 | { "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS }, | |
c368d904 | 5426 | { "wxExecute", (PyCFunction) _wrap_wxExecute, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
5427 | { "wxLogSysError", (PyCFunction) _wrap_wxLogSysError, METH_VARARGS | METH_KEYWORDS }, |
5428 | { "wxLogStatusFrame", (PyCFunction) _wrap_wxLogStatusFrame, METH_VARARGS | METH_KEYWORDS }, | |
5429 | { "wxLogStatus", (PyCFunction) _wrap_wxLogStatus, METH_VARARGS | METH_KEYWORDS }, | |
5430 | { "wxLogVerbose", (PyCFunction) _wrap_wxLogVerbose, METH_VARARGS | METH_KEYWORDS }, | |
5431 | { "wxLogInfo", (PyCFunction) _wrap_wxLogInfo, METH_VARARGS | METH_KEYWORDS }, | |
5432 | { "wxLogMessage", (PyCFunction) _wrap_wxLogMessage, METH_VARARGS | METH_KEYWORDS }, | |
5433 | { "wxLogWarning", (PyCFunction) _wrap_wxLogWarning, METH_VARARGS | METH_KEYWORDS }, | |
5434 | { "wxLogError", (PyCFunction) _wrap_wxLogError, METH_VARARGS | METH_KEYWORDS }, | |
5435 | { "wxLogFatalError", (PyCFunction) _wrap_wxLogFatalError, METH_VARARGS | METH_KEYWORDS }, | |
5436 | { "wxSysErrorMsg", (PyCFunction) _wrap_wxSysErrorMsg, METH_VARARGS | METH_KEYWORDS }, | |
5437 | { "wxSysErrorCode", (PyCFunction) _wrap_wxSysErrorCode, METH_VARARGS | METH_KEYWORDS }, | |
5438 | { "wxDragListItem", (PyCFunction) _wrap_wxDragListItem, METH_VARARGS | METH_KEYWORDS }, | |
5439 | { "wxDragTreeItem", (PyCFunction) _wrap_wxDragTreeItem, METH_VARARGS | METH_KEYWORDS }, | |
5440 | { "wxDragString", (PyCFunction) _wrap_wxDragString, METH_VARARGS | METH_KEYWORDS }, | |
5441 | { "wxDragIcon", (PyCFunction) _wrap_wxDragIcon, METH_VARARGS | METH_KEYWORDS }, | |
5442 | { "wxCreateFileTipProvider", (PyCFunction) _wrap_wxCreateFileTipProvider, METH_VARARGS | METH_KEYWORDS }, | |
5443 | { "wxShowTip", (PyCFunction) _wrap_wxShowTip, METH_VARARGS | METH_KEYWORDS }, | |
c368d904 | 5444 | { "wxSafeYield", (PyCFunction) _wrap_wxSafeYield, METH_VARARGS | METH_KEYWORDS }, |
d29aba2f | 5445 | { "wxWakeUpIdle", (PyCFunction) _wrap_wxWakeUpIdle, METH_VARARGS | METH_KEYWORDS }, |
4120ef2b | 5446 | { "wxPostEvent", (PyCFunction) _wrap_wxPostEvent, METH_VARARGS | METH_KEYWORDS }, |
8f17924e RD |
5447 | { "wxCaret_SetBlinkTime", (PyCFunction) _wrap_wxCaret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS }, |
5448 | { "wxCaret_GetBlinkTime", (PyCFunction) _wrap_wxCaret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS }, | |
107e4716 RD |
5449 | { "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS }, |
5450 | { "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS }, | |
bc29c5e0 RD |
5451 | { "wxSystemSettings_GetSystemMetric", (PyCFunction) _wrap_wxSystemSettings_GetSystemMetric, METH_VARARGS | METH_KEYWORDS }, |
5452 | { "wxSystemSettings_GetSystemFont", (PyCFunction) _wrap_wxSystemSettings_GetSystemFont, METH_VARARGS | METH_KEYWORDS }, | |
5453 | { "wxSystemSettings_GetSystemColour", (PyCFunction) _wrap_wxSystemSettings_GetSystemColour, METH_VARARGS | METH_KEYWORDS }, | |
5454 | { "wxResourceParseString", (PyCFunction) _wrap_wxResourceParseString, METH_VARARGS | METH_KEYWORDS }, | |
5455 | { "wxResourceParseFile", (PyCFunction) _wrap_wxResourceParseFile, METH_VARARGS | METH_KEYWORDS }, | |
5456 | { "wxResourceParseData", (PyCFunction) _wrap_wxResourceParseData, METH_VARARGS | METH_KEYWORDS }, | |
5457 | { "wxResourceGetIdentifier", (PyCFunction) _wrap_wxResourceGetIdentifier, METH_VARARGS | METH_KEYWORDS }, | |
5458 | { "wxResourceCreateMenuBar", (PyCFunction) _wrap_wxResourceCreateMenuBar, METH_VARARGS | METH_KEYWORDS }, | |
5459 | { "wxResourceCreateIcon", (PyCFunction) _wrap_wxResourceCreateIcon, METH_VARARGS | METH_KEYWORDS }, | |
5460 | { "wxResourceCreateBitmap", (PyCFunction) _wrap_wxResourceCreateBitmap, METH_VARARGS | METH_KEYWORDS }, | |
5461 | { "wxResourceClear", (PyCFunction) _wrap_wxResourceClear, METH_VARARGS | METH_KEYWORDS }, | |
5462 | { "wxResourceAddIdentifier", (PyCFunction) _wrap_wxResourceAddIdentifier, METH_VARARGS | METH_KEYWORDS }, | |
5463 | { "wxGetActiveWindow", (PyCFunction) _wrap_wxGetActiveWindow, METH_VARARGS | METH_KEYWORDS }, | |
5464 | { "wxBeginBusyCursor", (PyCFunction) _wrap_wxBeginBusyCursor, METH_VARARGS | METH_KEYWORDS }, | |
107e4716 RD |
5465 | { "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS }, |
5466 | { "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS }, | |
bc29c5e0 | 5467 | { "wxSetCursor", (PyCFunction) _wrap_wxSetCursor, METH_VARARGS | METH_KEYWORDS }, |
9c4165ad RD |
5468 | { "wxGetDisplaySizeMM", (PyCFunction) _wrap_wxGetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS }, |
5469 | { "wxDisplaySizeMM", (PyCFunction) _wrap_wxDisplaySizeMM, METH_VARARGS | METH_KEYWORDS }, | |
b68dc582 RD |
5470 | { "wxGetDisplaySize", (PyCFunction) _wrap_wxGetDisplaySize, METH_VARARGS | METH_KEYWORDS }, |
5471 | { "wxDisplaySize", (PyCFunction) _wrap_wxDisplaySize, METH_VARARGS | METH_KEYWORDS }, | |
5472 | { "wxGetDisplayDepth", (PyCFunction) _wrap_wxGetDisplayDepth, METH_VARARGS | METH_KEYWORDS }, | |
bc29c5e0 RD |
5473 | { "wxDisplayDepth", (PyCFunction) _wrap_wxDisplayDepth, METH_VARARGS | METH_KEYWORDS }, |
5474 | { "wxColourDisplay", (PyCFunction) _wrap_wxColourDisplay, METH_VARARGS | METH_KEYWORDS }, | |
5475 | { "wxGetNumberFromUser", (PyCFunction) _wrap_wxGetNumberFromUser, METH_VARARGS | METH_KEYWORDS }, | |
5476 | { "wxMessageBox", (PyCFunction) _wrap_wxMessageBox, METH_VARARGS | METH_KEYWORDS }, | |
5477 | { "wxGetSingleChoiceIndex", (PyCFunction) _wrap_wxGetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS }, | |
5478 | { "wxGetSingleChoice", (PyCFunction) _wrap_wxGetSingleChoice, METH_VARARGS | METH_KEYWORDS }, | |
1b62f00d | 5479 | { "wxGetPasswordFromUser", (PyCFunction) _wrap_wxGetPasswordFromUser, METH_VARARGS | METH_KEYWORDS }, |
bc29c5e0 RD |
5480 | { "wxGetTextFromUser", (PyCFunction) _wrap_wxGetTextFromUser, METH_VARARGS | METH_KEYWORDS }, |
5481 | { "wxFileSelector", (PyCFunction) _wrap_wxFileSelector, METH_VARARGS | METH_KEYWORDS }, | |
d24a34bb RD |
5482 | { NULL, NULL } |
5483 | }; | |
2d091820 RD |
5484 | #ifdef __cplusplus |
5485 | } | |
5486 | #endif | |
5487 | /* | |
5488 | * This table is used by the pointer type-checker | |
5489 | */ | |
5490 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
5491 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
c368d904 RD |
5492 | { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent}, |
5493 | { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent}, | |
4120ef2b RD |
5494 | { "_wxEvent","_class_wxEvent",0}, |
5495 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
2d091820 | 5496 | { "_signed_long","_long",0}, |
4120ef2b | 5497 | { "_wxMenuEvent","_class_wxMenuEvent",0}, |
c368d904 | 5498 | { "_class_wxProcessEvent","_wxProcessEvent",0}, |
4120ef2b RD |
5499 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
5500 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
5501 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, | |
c368d904 | 5502 | { "_wxWindowDisabler","_class_wxWindowDisabler",0}, |
4120ef2b | 5503 | { "_wxPrintQuality","_wxCoord",0}, |
2d091820 RD |
5504 | { "_wxPrintQuality","_int",0}, |
5505 | { "_wxPrintQuality","_signed_int",0}, | |
5506 | { "_wxPrintQuality","_unsigned_int",0}, | |
5507 | { "_wxPrintQuality","_wxWindowID",0}, | |
5508 | { "_wxPrintQuality","_uint",0}, | |
5509 | { "_wxPrintQuality","_EBool",0}, | |
5510 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 5511 | { "_wxPrintQuality","_time_t",0}, |
4120ef2b | 5512 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
2d091820 | 5513 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
4120ef2b | 5514 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
2d091820 | 5515 | { "_class_wxMenuBar","_wxMenuBar",0}, |
c368d904 RD |
5516 | { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler}, |
5517 | { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler}, | |
2d091820 | 5518 | { "_class_wxEvtHandler","_wxEvtHandler",0}, |
4120ef2b | 5519 | { "_wxPaintEvent","_class_wxPaintEvent",0}, |
2d091820 RD |
5520 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, |
5521 | { "_wxCursor","_class_wxCursor",0}, | |
4120ef2b | 5522 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, |
c368d904 | 5523 | { "_wxPyProcess","_class_wxPyProcess",0}, |
f6bcfd97 BP |
5524 | { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog}, |
5525 | { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog}, | |
5526 | { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog}, | |
5527 | { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog}, | |
5528 | { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog}, | |
5529 | { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog}, | |
5530 | { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog}, | |
5531 | { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog}, | |
5532 | { "_wxLog","_class_wxLog",0}, | |
2d091820 RD |
5533 | { "_wxMask","_class_wxMask",0}, |
5534 | { "_wxToolTip","_class_wxToolTip",0}, | |
5535 | { "_wxPen","_class_wxPen",0}, | |
4120ef2b | 5536 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, |
2d091820 | 5537 | { "_byte","_unsigned_char",0}, |
4120ef2b RD |
5538 | { "_wxDataObject","_class_wxDataObject",0}, |
5539 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
5540 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, | |
5541 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
2d091820 RD |
5542 | { "_long","_unsigned_long",0}, |
5543 | { "_long","_signed_long",0}, | |
5544 | { "_wxImageList","_class_wxImageList",0}, | |
4120ef2b RD |
5545 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
5546 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
2d091820 | 5547 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, |
4120ef2b | 5548 | { "_class_wxClipboard","_wxClipboard",0}, |
2d091820 | 5549 | { "_wxDC","_class_wxDC",0}, |
4120ef2b RD |
5550 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
5551 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
5552 | { "_size_t","_wxCoord",0}, | |
2d091820 | 5553 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 5554 | { "_size_t","_time_t",0}, |
2d091820 RD |
5555 | { "_size_t","_unsigned_int",0}, |
5556 | { "_size_t","_int",0}, | |
5557 | { "_size_t","_wxWindowID",0}, | |
5558 | { "_size_t","_uint",0}, | |
5559 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
4120ef2b RD |
5560 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
5561 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
f6bcfd97 | 5562 | { "_wxLogGui","_class_wxLogGui",0}, |
2d091820 | 5563 | { "_class_wxMenuItem","_wxMenuItem",0}, |
4120ef2b RD |
5564 | { "_class_wxPaintEvent","_wxPaintEvent",0}, |
5565 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
2d091820 RD |
5566 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, |
5567 | { "_wxPanel","_class_wxPanel",0}, | |
4120ef2b RD |
5568 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, |
5569 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
2d091820 | 5570 | { "_class_wxMask","_wxMask",0}, |
4120ef2b RD |
5571 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
5572 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
2d091820 RD |
5573 | { "_class_wxToolTip","_wxToolTip",0}, |
5574 | { "_wxColour","_class_wxColour",0}, | |
5575 | { "_class_wxDialog","_wxDialog",0}, | |
4120ef2b RD |
5576 | { "_wxBusyCursor","_class_wxBusyCursor",0}, |
5577 | { "_class_wxFileDataObject","_wxFileDataObject",0}, | |
5578 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
5579 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
5580 | { "_class_wxDataObject","_wxDataObject",0}, | |
8f17924e | 5581 | { "_wxCaret","_class_wxCaret",0}, |
2d091820 | 5582 | { "_wxBrush","_class_wxBrush",0}, |
4120ef2b RD |
5583 | { "_wxDataFormat","_class_wxDataFormat",0}, |
5584 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
5585 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
5586 | { "_uint","_wxCoord",0}, | |
2d091820 | 5587 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 5588 | { "_uint","_time_t",0}, |
2d091820 RD |
5589 | { "_uint","_size_t",0}, |
5590 | { "_uint","_unsigned_int",0}, | |
5591 | { "_uint","_int",0}, | |
5592 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 5593 | { "_wxChar","_char",0}, |
37f6a977 | 5594 | { "_wxPyValidator","_class_wxPyValidator",0}, |
c368d904 RD |
5595 | { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent}, |
5596 | { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent}, | |
4120ef2b | 5597 | { "_class_wxEvent","_wxEvent",0}, |
2d091820 | 5598 | { "_wxRect","_class_wxRect",0}, |
4120ef2b RD |
5599 | { "_wxCommandEvent","_class_wxCommandEvent",0}, |
5600 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
f6bcfd97 | 5601 | { "_class_wxLogWindow","_wxLogWindow",0}, |
2d091820 | 5602 | { "_wxPoint","_class_wxPoint",0}, |
c368d904 | 5603 | { "_class_wxWindowDisabler","_wxWindowDisabler",0}, |
f6bcfd97 | 5604 | { "_char","_wxChar",0}, |
2d091820 | 5605 | { "_wxBitmap","_class_wxBitmap",0}, |
2d091820 | 5606 | { "_wxWindowDC","_class_wxWindowDC",0}, |
f6bcfd97 BP |
5607 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
5608 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
2d091820 | 5609 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
4120ef2b | 5610 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, |
37f6a977 | 5611 | { "_class_wxValidator","_wxValidator",0}, |
4120ef2b RD |
5612 | { "_class_wxPyEvent","_wxPyEvent",0}, |
5613 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
5614 | { "_class_wxBusyCursor","_wxBusyCursor",0}, | |
5615 | { "_wxDropTarget","_class_wxDropTarget",0}, | |
5616 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
5617 | { "_EBool","_wxCoord",0}, | |
2d091820 RD |
5618 | { "_EBool","_wxPrintQuality",0}, |
5619 | { "_EBool","_signed_int",0}, | |
5620 | { "_EBool","_int",0}, | |
5621 | { "_EBool","_wxWindowID",0}, | |
5622 | { "_class_wxRegion","_wxRegion",0}, | |
4120ef2b RD |
5623 | { "_class_wxDataFormat","_wxDataFormat",0}, |
5624 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
5625 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, | |
2d091820 | 5626 | { "_wxFont","_class_wxFont",0}, |
4120ef2b RD |
5627 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
5628 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
c368d904 | 5629 | { "_wxProcessEvent","_class_wxProcessEvent",0}, |
2d091820 RD |
5630 | { "_unsigned_long","_long",0}, |
5631 | { "_class_wxRect","_wxRect",0}, | |
5632 | { "_class_wxDC","_wxDC",0}, | |
4120ef2b | 5633 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
f6bcfd97 | 5634 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, |
4120ef2b | 5635 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
c368d904 | 5636 | { "_wxPyInputStream","_class_wxPyInputStream",0}, |
4120ef2b | 5637 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
c368d904 | 5638 | { "_class_wxOutputStream","_wxOutputStream",0}, |
f6bcfd97 | 5639 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, |
4120ef2b RD |
5640 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
5641 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
f6bcfd97 BP |
5642 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
5643 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
2d091820 RD |
5644 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, |
5645 | { "_class_wxPanel","_wxPanel",0}, | |
4120ef2b | 5646 | { "_signed_int","_wxCoord",0}, |
2d091820 RD |
5647 | { "_signed_int","_wxPrintQuality",0}, |
5648 | { "_signed_int","_EBool",0}, | |
5649 | { "_signed_int","_wxWindowID",0}, | |
5650 | { "_signed_int","_int",0}, | |
5651 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
4120ef2b | 5652 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
2d091820 | 5653 | { "_wxMenu","_class_wxMenu",0}, |
4120ef2b | 5654 | { "_class_wxMoveEvent","_wxMoveEvent",0}, |
2d091820 RD |
5655 | { "_wxScreenDC","_class_wxScreenDC",0}, |
5656 | { "_WXTYPE","_short",0}, | |
5657 | { "_WXTYPE","_signed_short",0}, | |
5658 | { "_WXTYPE","_unsigned_short",0}, | |
4120ef2b | 5659 | { "_class_wxDropTarget","_wxDropTarget",0}, |
8f17924e | 5660 | { "_class_wxCaret","_wxCaret",0}, |
2d091820 | 5661 | { "_class_wxBrush","_wxBrush",0}, |
f6bcfd97 BP |
5662 | { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider}, |
5663 | { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider}, | |
5664 | { "_wxTipProvider","_class_wxTipProvider",0}, | |
2d091820 RD |
5665 | { "_unsigned_short","_WXTYPE",0}, |
5666 | { "_unsigned_short","_short",0}, | |
5667 | { "_class_wxWindow","_wxWindow",0}, | |
f6bcfd97 | 5668 | { "_class_wxLogStderr","_wxLogStderr",0}, |
2d091820 | 5669 | { "_class_wxFont","_wxFont",0}, |
4120ef2b | 5670 | { "_wxClipboard","_class_wxClipboard",0}, |
37f6a977 | 5671 | { "_class_wxPyValidator","_wxPyValidator",0}, |
4120ef2b RD |
5672 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
5673 | { "_wxBusyInfo","_class_wxBusyInfo",0}, | |
5674 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
5675 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, | |
5676 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, | |
2d091820 | 5677 | { "_wxClientDC","_class_wxClientDC",0}, |
4120ef2b | 5678 | { "_wxMouseEvent","_class_wxMouseEvent",0}, |
f6bcfd97 | 5679 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, |
2d091820 | 5680 | { "_class_wxPoint","_wxPoint",0}, |
c368d904 | 5681 | { "_class_wxPyInputStream","_wxPyInputStream",0}, |
2d091820 RD |
5682 | { "_wxRealPoint","_class_wxRealPoint",0}, |
5683 | { "_signed_short","_WXTYPE",0}, | |
5684 | { "_signed_short","_short",0}, | |
5685 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
4120ef2b | 5686 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
2d091820 RD |
5687 | { "_wxPaintDC","_class_wxPaintDC",0}, |
5688 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
4120ef2b RD |
5689 | { "_class_wxFocusEvent","_wxFocusEvent",0}, |
5690 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
2d091820 RD |
5691 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
5692 | { "_class_wxCursor","_wxCursor",0}, | |
5693 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, | |
4120ef2b | 5694 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
c368d904 | 5695 | { "_class_wxPyProcess","_wxPyProcess",0}, |
2d091820 | 5696 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
f6bcfd97 BP |
5697 | { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog}, |
5698 | { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog}, | |
5699 | { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog}, | |
5700 | { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog}, | |
5701 | { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog}, | |
5702 | { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog}, | |
5703 | { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog}, | |
5704 | { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog}, | |
5705 | { "_class_wxLog","_wxLog",0}, | |
2d091820 RD |
5706 | { "_unsigned_char","_byte",0}, |
5707 | { "_class_wxMenu","_wxMenu",0}, | |
4120ef2b | 5708 | { "_unsigned_int","_wxCoord",0}, |
2d091820 | 5709 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 5710 | { "_unsigned_int","_time_t",0}, |
2d091820 RD |
5711 | { "_unsigned_int","_size_t",0}, |
5712 | { "_unsigned_int","_uint",0}, | |
5713 | { "_unsigned_int","_wxWindowID",0}, | |
5714 | { "_unsigned_int","_int",0}, | |
5715 | { "_wxIcon","_class_wxIcon",0}, | |
5716 | { "_wxDialog","_class_wxDialog",0}, | |
5717 | { "_class_wxPen","_wxPen",0}, | |
5718 | { "_short","_WXTYPE",0}, | |
5719 | { "_short","_unsigned_short",0}, | |
5720 | { "_short","_signed_short",0}, | |
4120ef2b RD |
5721 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
5722 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
5723 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
5724 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
2d091820 | 5725 | { "_class_wxImageList","_wxImageList",0}, |
f6bcfd97 | 5726 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, |
4120ef2b RD |
5727 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
5728 | { "_wxWindowID","_wxCoord",0}, | |
2d091820 | 5729 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 5730 | { "_wxWindowID","_time_t",0}, |
2d091820 RD |
5731 | { "_wxWindowID","_size_t",0}, |
5732 | { "_wxWindowID","_EBool",0}, | |
5733 | { "_wxWindowID","_uint",0}, | |
5734 | { "_wxWindowID","_int",0}, | |
5735 | { "_wxWindowID","_signed_int",0}, | |
5736 | { "_wxWindowID","_unsigned_int",0}, | |
4120ef2b RD |
5737 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
5738 | { "_int","_wxCoord",0}, | |
2d091820 | 5739 | { "_int","_wxPrintQuality",0}, |
c368d904 | 5740 | { "_int","_time_t",0}, |
2d091820 RD |
5741 | { "_int","_size_t",0}, |
5742 | { "_int","_EBool",0}, | |
5743 | { "_int","_uint",0}, | |
5744 | { "_int","_wxWindowID",0}, | |
5745 | { "_int","_unsigned_int",0}, | |
5746 | { "_int","_signed_int",0}, | |
4120ef2b RD |
5747 | { "_class_wxMouseEvent","_wxMouseEvent",0}, |
5748 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, | |
f6bcfd97 | 5749 | { "_wxLogWindow","_class_wxLogWindow",0}, |
4120ef2b RD |
5750 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
5751 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, | |
c368d904 RD |
5752 | { "_time_t","_wxCoord",0}, |
5753 | { "_time_t","_wxPrintQuality",0}, | |
5754 | { "_time_t","_unsigned_int",0}, | |
5755 | { "_time_t","_int",0}, | |
5756 | { "_time_t","_wxWindowID",0}, | |
5757 | { "_time_t","_uint",0}, | |
5758 | { "_time_t","_size_t",0}, | |
4120ef2b | 5759 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
f6bcfd97 | 5760 | { "_wxLogNull","_class_wxLogNull",0}, |
2d091820 RD |
5761 | { "_wxSize","_class_wxSize",0}, |
5762 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
4120ef2b | 5763 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
f6bcfd97 BP |
5764 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, |
5765 | { "_class_wxLogGui","_wxLogGui",0}, | |
2d091820 | 5766 | { "_class_wxPaintDC","_wxPaintDC",0}, |
4120ef2b RD |
5767 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, |
5768 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, | |
5769 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
37f6a977 | 5770 | { "_wxValidator","_class_wxValidator",0}, |
2d091820 | 5771 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
4120ef2b | 5772 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, |
2d091820 RD |
5773 | { "_class_wxIcon","_wxIcon",0}, |
5774 | { "_class_wxColour","_wxColour",0}, | |
5775 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
5776 | { "_wxPalette","_class_wxPalette",0}, | |
4120ef2b RD |
5777 | { "_class_wxIdleEvent","_wxIdleEvent",0}, |
5778 | { "_wxCoord","_int",0}, | |
5779 | { "_wxCoord","_signed_int",0}, | |
5780 | { "_wxCoord","_unsigned_int",0}, | |
5781 | { "_wxCoord","_wxWindowID",0}, | |
5782 | { "_wxCoord","_uint",0}, | |
5783 | { "_wxCoord","_EBool",0}, | |
5784 | { "_wxCoord","_size_t",0}, | |
c368d904 | 5785 | { "_wxCoord","_time_t",0}, |
4120ef2b RD |
5786 | { "_wxCoord","_wxPrintQuality",0}, |
5787 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
5788 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, | |
5789 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
f6bcfd97 BP |
5790 | { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider}, |
5791 | { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider}, | |
5792 | { "_class_wxTipProvider","_wxTipProvider",0}, | |
2d091820 | 5793 | { "_wxRegion","_class_wxRegion",0}, |
4120ef2b | 5794 | { "_class_wxShowEvent","_wxShowEvent",0}, |
f6bcfd97 | 5795 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, |
4120ef2b RD |
5796 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
5797 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
5798 | { "_class_wxBusyInfo","_wxBusyInfo",0}, | |
5799 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
2d091820 | 5800 | { "_class_wxClientDC","_wxClientDC",0}, |
4120ef2b RD |
5801 | { "_class_wxSizeEvent","_wxSizeEvent",0}, |
5802 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, | |
f6bcfd97 | 5803 | { "_class_wxLogNull","_wxLogNull",0}, |
2d091820 RD |
5804 | { "_class_wxSize","_wxSize",0}, |
5805 | { "_class_wxBitmap","_wxBitmap",0}, | |
5806 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
4120ef2b | 5807 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
2d091820 | 5808 | { "_wxMenuBar","_class_wxMenuBar",0}, |
c368d904 RD |
5809 | { "_wxOutputStream","_class_wxOutputStream",0}, |
5810 | { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler}, | |
5811 | { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler}, | |
2d091820 RD |
5812 | { "_wxEvtHandler","_class_wxEvtHandler",0}, |
5813 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
2d091820 | 5814 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
4120ef2b RD |
5815 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
5816 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
2d091820 | 5817 | { "_class_wxPalette","_wxPalette",0}, |
4120ef2b RD |
5818 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
5819 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
5820 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, | |
5821 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, | |
2d091820 | 5822 | { "_wxWindow","_class_wxWindow",0}, |
4120ef2b | 5823 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
f6bcfd97 | 5824 | { "_wxLogStderr","_class_wxLogStderr",0}, |
2d091820 RD |
5825 | {0,0,0}}; |
5826 | ||
d24a34bb RD |
5827 | static PyObject *SWIG_globals; |
5828 | #ifdef __cplusplus | |
5829 | extern "C" | |
5830 | #endif | |
2d091820 | 5831 | SWIGEXPORT(void) initmisc2c() { |
d24a34bb RD |
5832 | PyObject *m, *d; |
5833 | SWIG_globals = SWIG_newvarlink(); | |
5834 | m = Py_InitModule("misc2c", misc2cMethods); | |
5835 | d = PyModule_GetDict(m); | |
bc29c5e0 RD |
5836 | PyDict_SetItemString(d,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH)); |
5837 | PyDict_SetItemString(d,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH)); | |
5838 | PyDict_SetItemString(d,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH)); | |
5839 | PyDict_SetItemString(d,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH)); | |
5840 | PyDict_SetItemString(d,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH)); | |
5841 | PyDict_SetItemString(d,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH)); | |
5842 | PyDict_SetItemString(d,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH)); | |
5843 | PyDict_SetItemString(d,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN)); | |
5844 | PyDict_SetItemString(d,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN)); | |
5845 | PyDict_SetItemString(d,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN)); | |
5846 | PyDict_SetItemString(d,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT)); | |
5847 | PyDict_SetItemString(d,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT)); | |
5848 | PyDict_SetItemString(d,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT)); | |
5849 | PyDict_SetItemString(d,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT)); | |
5850 | PyDict_SetItemString(d,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT)); | |
5851 | PyDict_SetItemString(d,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE)); | |
5852 | PyDict_SetItemString(d,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT)); | |
5853 | PyDict_SetItemString(d,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT)); | |
5854 | PyDict_SetItemString(d,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR)); | |
5855 | PyDict_SetItemString(d,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND)); | |
5856 | PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION)); | |
5857 | PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION)); | |
5858 | PyDict_SetItemString(d,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU)); | |
5859 | PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW)); | |
5860 | PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME)); | |
5861 | PyDict_SetItemString(d,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT)); | |
5862 | PyDict_SetItemString(d,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT)); | |
5863 | PyDict_SetItemString(d,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT)); | |
5864 | PyDict_SetItemString(d,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER)); | |
5865 | PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER)); | |
5866 | PyDict_SetItemString(d,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE)); | |
5867 | PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT)); | |
5868 | PyDict_SetItemString(d,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT)); | |
5869 | PyDict_SetItemString(d,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE)); | |
5870 | PyDict_SetItemString(d,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW)); | |
5871 | PyDict_SetItemString(d,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT)); | |
5872 | PyDict_SetItemString(d,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT)); | |
5873 | PyDict_SetItemString(d,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT)); | |
5874 | PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT)); | |
5875 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW)); | |
5876 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT)); | |
5877 | PyDict_SetItemString(d,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT)); | |
5878 | PyDict_SetItemString(d,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK)); | |
5879 | PyDict_SetItemString(d,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP)); | |
5880 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE)); | |
5881 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW)); | |
5882 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT)); | |
5883 | PyDict_SetItemString(d,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT)); | |
5884 | PyDict_SetItemString(d,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT)); | |
5885 | PyDict_SetItemString(d,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS)); | |
5886 | PyDict_SetItemString(d,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X)); | |
5887 | PyDict_SetItemString(d,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y)); | |
5888 | PyDict_SetItemString(d,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X)); | |
5889 | PyDict_SetItemString(d,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y)); | |
5890 | PyDict_SetItemString(d,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X)); | |
5891 | PyDict_SetItemString(d,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y)); | |
5892 | PyDict_SetItemString(d,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X)); | |
5893 | PyDict_SetItemString(d,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y)); | |
5894 | PyDict_SetItemString(d,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X)); | |
5895 | PyDict_SetItemString(d,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y)); | |
5896 | PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X)); | |
5897 | PyDict_SetItemString(d,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y)); | |
5898 | PyDict_SetItemString(d,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X)); | |
5899 | PyDict_SetItemString(d,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X)); | |
5900 | PyDict_SetItemString(d,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y)); | |
5901 | PyDict_SetItemString(d,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X)); | |
5902 | PyDict_SetItemString(d,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y)); | |
5903 | PyDict_SetItemString(d,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X)); | |
5904 | PyDict_SetItemString(d,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y)); | |
5905 | PyDict_SetItemString(d,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X)); | |
5906 | PyDict_SetItemString(d,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y)); | |
5907 | PyDict_SetItemString(d,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X)); | |
5908 | PyDict_SetItemString(d,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y)); | |
5909 | PyDict_SetItemString(d,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X)); | |
5910 | PyDict_SetItemString(d,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y)); | |
5911 | PyDict_SetItemString(d,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y)); | |
5912 | PyDict_SetItemString(d,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X)); | |
5913 | PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X)); | |
5914 | PyDict_SetItemString(d,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y)); | |
5915 | PyDict_SetItemString(d,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y)); | |
5916 | PyDict_SetItemString(d,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y)); | |
5917 | PyDict_SetItemString(d,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y)); | |
5918 | PyDict_SetItemString(d,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT)); | |
5919 | PyDict_SetItemString(d,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT)); | |
5920 | PyDict_SetItemString(d,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS)); | |
5921 | PyDict_SetItemString(d,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS)); | |
f6bcfd97 BP |
5922 | PyDict_SetItemString(d,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError)); |
5923 | PyDict_SetItemString(d,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error)); | |
5924 | PyDict_SetItemString(d,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning)); | |
5925 | PyDict_SetItemString(d,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message)); | |
5926 | PyDict_SetItemString(d,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info)); | |
5927 | PyDict_SetItemString(d,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status)); | |
5928 | PyDict_SetItemString(d,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug)); | |
5929 | PyDict_SetItemString(d,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace)); | |
5930 | PyDict_SetItemString(d,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress)); | |
5931 | PyDict_SetItemString(d,"wxLOG_User", PyInt_FromLong((long) wxLOG_User)); | |
9c4165ad | 5932 | PyDict_SetItemString(d,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS)); |
2d091820 RD |
5933 | { |
5934 | int i; | |
5935 | for (i = 0; _swig_mapping[i].n1; i++) | |
5936 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
5937 | } | |
d24a34bb | 5938 | } |