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