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