2 * FILE : src/msw/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmiscc
56 #define SWIG_name "miscc"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/busyinfo.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 #if PYTHON_API_VERSION >= 1009
91 static char* wxStringErrorMsg
= "String or Unicode type required";
93 static char* wxStringErrorMsg
= "String type required";
96 static wxString
wxPyEmptyStr("");
98 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
101 wxRect
dest(0,0,0,0);
104 reg1
.Intersect(reg2
);
105 dest
= reg1
.GetBox();
107 if (dest
!= wxRect(0,0,0,0)) {
108 wxPyBeginBlockThreads();
109 wxRect
* newRect
= new wxRect(dest
);
110 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
111 PyObject
* one
= PyInt_FromLong(1);
112 PyObject_SetAttrString(obj
, "thisown", one
);
114 wxPyEndBlockThreads();
121 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
123 wxGetResource(section
, entry
, &retval
, file
);
127 #if 0 // we want to use the definition from the header, not the
128 // one SWIG will generate.
129 extern wxAcceleratorTable wxNullAcceleratorTable
;
135 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
136 PyObject
* _resultobj
;
141 PyObject
* _obj0
= 0;
143 PyObject
* _obj1
= 0;
144 char *_kwnames
[] = { "r1","r2", NULL
};
147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
151 if (! wxRect_helper(_obj0
, &_arg0
))
156 if (! wxRect_helper(_obj1
, &_arg1
))
160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
161 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
163 wxPyEndAllowThreads(__tstate
);
164 if (PyErr_Occurred()) return NULL
;
166 _resultobj
= _result
;
171 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
172 PyObject
* _resultobj
;
174 char *_kwnames
[] = { NULL
};
177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
181 _result
= (long )wxNewId();
183 wxPyEndAllowThreads(__tstate
);
184 if (PyErr_Occurred()) return NULL
;
185 } _resultobj
= Py_BuildValue("l",_result
);
189 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
190 PyObject
* _resultobj
;
192 char *_kwnames
[] = { "id", NULL
};
195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
201 wxPyEndAllowThreads(__tstate
);
202 if (PyErr_Occurred()) return NULL
;
203 } Py_INCREF(Py_None
);
204 _resultobj
= Py_None
;
208 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
209 PyObject
* _resultobj
;
211 char *_kwnames
[] = { NULL
};
214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
218 _result
= (long )wxNewId();
220 wxPyEndAllowThreads(__tstate
);
221 if (PyErr_Occurred()) return NULL
;
222 } _resultobj
= Py_BuildValue("l",_result
);
226 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
229 char *_kwnames
[] = { "id", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
238 wxPyEndAllowThreads(__tstate
);
239 if (PyErr_Occurred()) return NULL
;
240 } Py_INCREF(Py_None
);
241 _resultobj
= Py_None
;
245 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
246 PyObject
* _resultobj
;
248 char *_kwnames
[] = { NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
255 _result
= (long )wxGetCurrentId();
257 wxPyEndAllowThreads(__tstate
);
258 if (PyErr_Occurred()) return NULL
;
259 } _resultobj
= Py_BuildValue("l",_result
);
263 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
265 char *_kwnames
[] = { NULL
};
268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
274 wxPyEndAllowThreads(__tstate
);
275 if (PyErr_Occurred()) return NULL
;
276 } Py_INCREF(Py_None
);
277 _resultobj
= Py_None
;
281 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
283 char *_kwnames
[] = { NULL
};
286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
292 wxPyEndAllowThreads(__tstate
);
293 if (PyErr_Occurred()) return NULL
;
294 } Py_INCREF(Py_None
);
295 _resultobj
= Py_None
;
299 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
300 PyObject
* _resultobj
;
302 bool _arg0
= (bool ) TRUE
;
303 int tempbool0
= (int) TRUE
;
304 char *_kwnames
[] = { "resetTimer", NULL
};
307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
309 _arg0
= (bool ) tempbool0
;
311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
312 _result
= (long )wxGetElapsedTime(_arg0
);
314 wxPyEndAllowThreads(__tstate
);
315 if (PyErr_Occurred()) return NULL
;
316 } _resultobj
= Py_BuildValue("l",_result
);
320 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
323 char *_kwnames
[] = { NULL
};
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
330 _result
= (long )wxGetFreeMemory();
332 wxPyEndAllowThreads(__tstate
);
333 if (PyErr_Occurred()) return NULL
;
334 } _resultobj
= Py_BuildValue("l",_result
);
338 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
339 PyObject
* _resultobj
;
344 char *_kwnames
[] = { NULL
};
353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
357 wxGetMousePosition(_arg0
,_arg1
);
359 wxPyEndAllowThreads(__tstate
);
360 if (PyErr_Occurred()) return NULL
;
361 } Py_INCREF(Py_None
);
362 _resultobj
= Py_None
;
365 o
= PyInt_FromLong((long) (*_arg0
));
366 _resultobj
= t_output_helper(_resultobj
, o
);
370 o
= PyInt_FromLong((long) (*_arg1
));
371 _resultobj
= t_output_helper(_resultobj
, o
);
376 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
377 PyObject
* _resultobj
;
379 char *_kwnames
[] = { NULL
};
382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
386 _result
= (bool )wxIsBusy();
388 wxPyEndAllowThreads(__tstate
);
389 if (PyErr_Occurred()) return NULL
;
390 } _resultobj
= Py_BuildValue("i",_result
);
394 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
397 char *_kwnames
[] = { NULL
};
400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
404 _result
= new wxString (wxNow());
406 wxPyEndAllowThreads(__tstate
);
407 if (PyErr_Occurred()) return NULL
;
409 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
417 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
420 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
421 PyObject
* _obj0
= 0;
422 char *_kwnames
[] = { "command", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
429 #if PYTHON_API_VERSION >= 1009
430 char* tmpPtr
; int tmpSize
;
431 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
435 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
437 _arg0
= new wxString(tmpPtr
, tmpSize
);
439 if (!PyString_Check(_obj0
)) {
440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
443 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
448 _result
= (bool )wxShell(*_arg0
);
450 wxPyEndAllowThreads(__tstate
);
451 if (PyErr_Occurred()) return NULL
;
452 } _resultobj
= Py_BuildValue("i",_result
);
460 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
462 char *_kwnames
[] = { NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
471 wxPyEndAllowThreads(__tstate
);
472 if (PyErr_Occurred()) return NULL
;
473 } Py_INCREF(Py_None
);
474 _resultobj
= Py_None
;
478 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
485 char *_kwnames
[] = { NULL
};
494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
498 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
500 wxPyEndAllowThreads(__tstate
);
501 if (PyErr_Occurred()) return NULL
;
502 } _resultobj
= Py_BuildValue("i",_result
);
505 o
= PyInt_FromLong((long) (*_arg0
));
506 _resultobj
= t_output_helper(_resultobj
, o
);
510 o
= PyInt_FromLong((long) (*_arg1
));
511 _resultobj
= t_output_helper(_resultobj
, o
);
516 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
519 char *_kwnames
[] = { NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
526 _result
= new wxString (wxGetOsDescription());
528 wxPyEndAllowThreads(__tstate
);
529 if (PyErr_Occurred()) return NULL
;
531 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
539 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
540 PyObject
* _resultobj
;
542 char *_kwnames
[] = { "secs", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
551 wxPyEndAllowThreads(__tstate
);
552 if (PyErr_Occurred()) return NULL
;
553 } Py_INCREF(Py_None
);
554 _resultobj
= Py_None
;
558 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
559 PyObject
* _resultobj
;
561 char *_kwnames
[] = { "milliseconds", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
570 wxPyEndAllowThreads(__tstate
);
571 if (PyErr_Occurred()) return NULL
;
572 } Py_INCREF(Py_None
);
573 _resultobj
= Py_None
;
577 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
580 char *_kwnames
[] = { NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
587 _result
= (bool )wxYield();
589 wxPyEndAllowThreads(__tstate
);
590 if (PyErr_Occurred()) return NULL
;
591 } _resultobj
= Py_BuildValue("i",_result
);
595 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
598 char *_kwnames
[] = { NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
605 _result
= (bool )wxYieldIfNeeded();
607 wxPyEndAllowThreads(__tstate
);
608 if (PyErr_Occurred()) return NULL
;
609 } _resultobj
= Py_BuildValue("i",_result
);
613 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
614 PyObject
* _resultobj
;
617 char *_kwnames
[] = { "enable", NULL
};
620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
622 _arg0
= (bool ) tempbool0
;
624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
625 wxEnableTopLevelWindows(_arg0
);
627 wxPyEndAllowThreads(__tstate
);
628 if (PyErr_Occurred()) return NULL
;
629 } Py_INCREF(Py_None
);
630 _resultobj
= Py_None
;
634 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
635 PyObject
* _resultobj
;
639 char * _arg2
= (char *) NULL
;
640 char *_kwnames
[] = { "section","entry","file", NULL
};
643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
647 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
649 wxPyEndAllowThreads(__tstate
);
650 if (PyErr_Occurred()) return NULL
;
651 } _resultobj
= Py_BuildValue("s", _result
);
655 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
659 PyObject
* _obj0
= 0;
660 char *_kwnames
[] = { "in", NULL
};
663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
666 #if PYTHON_API_VERSION >= 1009
667 char* tmpPtr
; int tmpSize
;
668 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
669 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
672 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
674 _arg0
= new wxString(tmpPtr
, tmpSize
);
676 if (!PyString_Check(_obj0
)) {
677 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
680 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
685 _result
= new wxString (wxStripMenuCodes(*_arg0
));
687 wxPyEndAllowThreads(__tstate
);
688 if (PyErr_Occurred()) return NULL
;
690 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
702 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
705 char *_kwnames
[] = { NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
712 _result
= new wxString (wxGetEmailAddress());
714 wxPyEndAllowThreads(__tstate
);
715 if (PyErr_Occurred()) return NULL
;
717 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
725 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
726 PyObject
* _resultobj
;
728 char *_kwnames
[] = { NULL
};
731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
735 _result
= new wxString (wxGetHostName());
737 wxPyEndAllowThreads(__tstate
);
738 if (PyErr_Occurred()) return NULL
;
740 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
748 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 PyObject
* _resultobj
;
751 char *_kwnames
[] = { NULL
};
754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
758 _result
= new wxString (wxGetFullHostName());
760 wxPyEndAllowThreads(__tstate
);
761 if (PyErr_Occurred()) return NULL
;
763 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
771 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
772 PyObject
* _resultobj
;
774 char *_kwnames
[] = { NULL
};
777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
781 _result
= new wxString (wxGetUserId());
783 wxPyEndAllowThreads(__tstate
);
784 if (PyErr_Occurred()) return NULL
;
786 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
794 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
795 PyObject
* _resultobj
;
797 char *_kwnames
[] = { NULL
};
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
804 _result
= new wxString (wxGetUserName());
806 wxPyEndAllowThreads(__tstate
);
807 if (PyErr_Occurred()) return NULL
;
809 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
817 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 PyObject
* _resultobj
;
820 char *_kwnames
[] = { NULL
};
823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
827 _result
= new wxString (wxGetHomeDir());
829 wxPyEndAllowThreads(__tstate
);
830 if (PyErr_Occurred()) return NULL
;
832 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
840 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
843 char * _arg0
= (char *) "";
844 char *_kwnames
[] = { "user", NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:wxGetUserHome",_kwnames
,&_arg0
))
850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
851 _result
= new wxString (wxGetUserHome(_arg0
));
853 wxPyEndAllowThreads(__tstate
);
854 if (PyErr_Occurred()) return NULL
;
856 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
864 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
865 PyObject
* _resultobj
;
866 wxAcceleratorEntry
* _result
;
868 PyObject
* _obj0
= 0;
869 char *_kwnames
[] = { "label", NULL
};
873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
876 #if PYTHON_API_VERSION >= 1009
877 char* tmpPtr
; int tmpSize
;
878 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
879 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
882 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
884 _arg0
= new wxString(tmpPtr
, tmpSize
);
886 if (!PyString_Check(_obj0
)) {
887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
890 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
895 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
897 wxPyEndAllowThreads(__tstate
);
898 if (PyErr_Occurred()) return NULL
;
900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
901 _resultobj
= Py_BuildValue("s",_ptemp
);
904 _resultobj
= Py_None
;
913 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
915 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
919 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
923 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
924 pyobj
= PyString_FromString(ptemp
);
928 static const char * wxObject_GetClassName(wxObject
*self
) {
929 return self
->GetClassInfo()->GetClassName();
931 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
935 PyObject
* _argo0
= 0;
936 char *_kwnames
[] = { "self", NULL
};
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
950 _result
= (char *)wxObject_GetClassName(_arg0
);
952 wxPyEndAllowThreads(__tstate
);
953 if (PyErr_Occurred()) return NULL
;
954 } _resultobj
= Py_BuildValue("s", _result
);
958 static void wxObject_Destroy(wxObject
*self
) {
961 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
964 PyObject
* _argo0
= 0;
965 char *_kwnames
[] = { "self", NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
979 wxObject_Destroy(_arg0
);
981 wxPyEndAllowThreads(__tstate
);
982 if (PyErr_Occurred()) return NULL
;
983 } Py_INCREF(Py_None
);
984 _resultobj
= Py_None
;
988 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
989 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
990 PyObject
* _resultobj
;
995 PyObject
* _obj0
= 0;
996 char *_kwnames
[] = { "self","x", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
1003 if (! wxSize_helper(_obj0
, &_arg0
))
1007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1008 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1010 wxPyEndAllowThreads(__tstate
);
1011 if (PyErr_Occurred()) return NULL
;
1012 } _resultobj
= Py_BuildValue("l",_result
);
1016 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1017 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1018 PyObject
* _resultobj
;
1022 PyObject
* _obj0
= 0;
1023 char *_kwnames
[] = { "self", NULL
};
1026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1030 if (! wxSize_helper(_obj0
, &_arg0
))
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 _result
= (long )wxSize_x_get(_arg0
);
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) return NULL
;
1039 } _resultobj
= Py_BuildValue("l",_result
);
1043 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1044 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1045 PyObject
* _resultobj
;
1050 PyObject
* _obj0
= 0;
1051 char *_kwnames
[] = { "self","y", NULL
};
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1058 if (! wxSize_helper(_obj0
, &_arg0
))
1062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1063 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1065 wxPyEndAllowThreads(__tstate
);
1066 if (PyErr_Occurred()) return NULL
;
1067 } _resultobj
= Py_BuildValue("l",_result
);
1071 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1072 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1073 PyObject
* _resultobj
;
1077 PyObject
* _obj0
= 0;
1078 char *_kwnames
[] = { "self", NULL
};
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1085 if (! wxSize_helper(_obj0
, &_arg0
))
1089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1090 _result
= (long )wxSize_y_get(_arg0
);
1092 wxPyEndAllowThreads(__tstate
);
1093 if (PyErr_Occurred()) return NULL
;
1094 } _resultobj
= Py_BuildValue("l",_result
);
1098 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1099 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1102 long _arg0
= (long ) 0;
1103 long _arg1
= (long ) 0;
1104 char *_kwnames
[] = { "w","h", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) return NULL
;
1117 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1118 _resultobj
= Py_BuildValue("s",_ptemp
);
1121 _resultobj
= Py_None
;
1126 #define delete_wxSize(_swigobj) (delete _swigobj)
1127 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1128 PyObject
* _resultobj
;
1131 PyObject
* _obj0
= 0;
1132 char *_kwnames
[] = { "self", NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1139 if (! wxSize_helper(_obj0
, &_arg0
))
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 delete_wxSize(_arg0
);
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) return NULL
;
1148 } Py_INCREF(Py_None
);
1149 _resultobj
= Py_None
;
1153 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1154 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1160 PyObject
* _obj0
= 0;
1161 char *_kwnames
[] = { "self","w","h", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1168 if (! wxSize_helper(_obj0
, &_arg0
))
1172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1173 wxSize_Set(_arg0
,_arg1
,_arg2
);
1175 wxPyEndAllowThreads(__tstate
);
1176 if (PyErr_Occurred()) return NULL
;
1177 } Py_INCREF(Py_None
);
1178 _resultobj
= Py_None
;
1182 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1183 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1188 PyObject
* _obj0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1196 if (! wxSize_helper(_obj0
, &_arg0
))
1200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1201 _result
= (long )wxSize_GetX(_arg0
);
1203 wxPyEndAllowThreads(__tstate
);
1204 if (PyErr_Occurred()) return NULL
;
1205 } _resultobj
= Py_BuildValue("l",_result
);
1209 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1210 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1215 PyObject
* _obj0
= 0;
1216 char *_kwnames
[] = { "self", NULL
};
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1223 if (! wxSize_helper(_obj0
, &_arg0
))
1227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1228 _result
= (long )wxSize_GetY(_arg0
);
1230 wxPyEndAllowThreads(__tstate
);
1231 if (PyErr_Occurred()) return NULL
;
1232 } _resultobj
= Py_BuildValue("l",_result
);
1236 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1237 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1242 PyObject
* _obj0
= 0;
1243 char *_kwnames
[] = { "self", NULL
};
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1250 if (! wxSize_helper(_obj0
, &_arg0
))
1254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1255 _result
= (long )wxSize_GetWidth(_arg0
);
1257 wxPyEndAllowThreads(__tstate
);
1258 if (PyErr_Occurred()) return NULL
;
1259 } _resultobj
= Py_BuildValue("l",_result
);
1263 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1264 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1265 PyObject
* _resultobj
;
1269 PyObject
* _obj0
= 0;
1270 char *_kwnames
[] = { "self", NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1277 if (! wxSize_helper(_obj0
, &_arg0
))
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 _result
= (long )wxSize_GetHeight(_arg0
);
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) return NULL
;
1286 } _resultobj
= Py_BuildValue("l",_result
);
1290 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1291 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1296 PyObject
* _obj0
= 0;
1297 char *_kwnames
[] = { "self","w", NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1304 if (! wxSize_helper(_obj0
, &_arg0
))
1308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1309 wxSize_SetWidth(_arg0
,_arg1
);
1311 wxPyEndAllowThreads(__tstate
);
1312 if (PyErr_Occurred()) return NULL
;
1313 } Py_INCREF(Py_None
);
1314 _resultobj
= Py_None
;
1318 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1319 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1324 PyObject
* _obj0
= 0;
1325 char *_kwnames
[] = { "self","h", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1332 if (! wxSize_helper(_obj0
, &_arg0
))
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1337 wxSize_SetHeight(_arg0
,_arg1
);
1339 wxPyEndAllowThreads(__tstate
);
1340 if (PyErr_Occurred()) return NULL
;
1341 } Py_INCREF(Py_None
);
1342 _resultobj
= Py_None
;
1346 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1347 PyObject
* tup
= PyTuple_New(2);
1348 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1349 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1352 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1357 PyObject
* _obj0
= 0;
1358 char *_kwnames
[] = { "self", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1365 if (! wxSize_helper(_obj0
, &_arg0
))
1369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1370 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1372 wxPyEndAllowThreads(__tstate
);
1373 if (PyErr_Occurred()) return NULL
;
1375 _resultobj
= _result
;
1380 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1382 if (*self
== *sz
) return 0;
1385 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1386 PyObject
* _resultobj
;
1391 PyObject
* _obj0
= 0;
1393 PyObject
* _obj1
= 0;
1394 char *_kwnames
[] = { "self","sz", NULL
};
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1401 if (! wxSize_helper(_obj0
, &_arg0
))
1406 if (! wxSize_helper(_obj1
, &_arg1
))
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) return NULL
;
1415 } _resultobj
= Py_BuildValue("i",_result
);
1419 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1420 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1423 wxRealPoint
* _arg0
;
1426 PyObject
* _obj0
= 0;
1427 char *_kwnames
[] = { "self","x", NULL
};
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1434 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1439 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1441 wxPyEndAllowThreads(__tstate
);
1442 if (PyErr_Occurred()) return NULL
;
1443 } _resultobj
= Py_BuildValue("d",_result
);
1447 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1448 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1451 wxRealPoint
* _arg0
;
1453 PyObject
* _obj0
= 0;
1454 char *_kwnames
[] = { "self", NULL
};
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1461 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 _result
= (double )wxRealPoint_x_get(_arg0
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) return NULL
;
1470 } _resultobj
= Py_BuildValue("d",_result
);
1474 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1475 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
* _resultobj
;
1478 wxRealPoint
* _arg0
;
1481 PyObject
* _obj0
= 0;
1482 char *_kwnames
[] = { "self","y", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1489 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1494 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1496 wxPyEndAllowThreads(__tstate
);
1497 if (PyErr_Occurred()) return NULL
;
1498 } _resultobj
= Py_BuildValue("d",_result
);
1502 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1503 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
* _resultobj
;
1506 wxRealPoint
* _arg0
;
1508 PyObject
* _obj0
= 0;
1509 char *_kwnames
[] = { "self", NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1516 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 _result
= (double )wxRealPoint_y_get(_arg0
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) return NULL
;
1525 } _resultobj
= Py_BuildValue("d",_result
);
1529 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1530 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1532 wxRealPoint
* _result
;
1533 double _arg0
= (double ) 0.0;
1534 double _arg1
= (double ) 0.0;
1535 char *_kwnames
[] = { "x","y", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1543 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1545 wxPyEndAllowThreads(__tstate
);
1546 if (PyErr_Occurred()) return NULL
;
1548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1549 _resultobj
= Py_BuildValue("s",_ptemp
);
1552 _resultobj
= Py_None
;
1557 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1558 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
* _resultobj
;
1560 wxRealPoint
* _arg0
;
1562 PyObject
* _obj0
= 0;
1563 char *_kwnames
[] = { "self", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1570 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 delete_wxRealPoint(_arg0
);
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) return NULL
;
1579 } Py_INCREF(Py_None
);
1580 _resultobj
= Py_None
;
1584 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1588 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1590 wxRealPoint
* _arg0
;
1594 PyObject
* _obj0
= 0;
1595 char *_kwnames
[] = { "self","x","y", NULL
};
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1602 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) return NULL
;
1611 } Py_INCREF(Py_None
);
1612 _resultobj
= Py_None
;
1616 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1617 PyObject
* tup
= PyTuple_New(2);
1618 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1619 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1622 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1625 wxRealPoint
* _arg0
;
1627 PyObject
* _obj0
= 0;
1628 char *_kwnames
[] = { "self", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1635 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) return NULL
;
1645 _resultobj
= _result
;
1650 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1651 if (! p
) return *self
;
1654 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1656 wxRealPoint
* _result
;
1657 wxRealPoint
* _arg0
;
1658 wxRealPoint
* _arg1
;
1660 PyObject
* _obj0
= 0;
1662 PyObject
* _obj1
= 0;
1663 char *_kwnames
[] = { "self","p", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1671 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1676 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) return NULL
;
1685 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1686 _resultobj
= Py_BuildValue("s",_ptemp
);
1690 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1691 if (! p
) return *self
;
1694 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1696 wxRealPoint
* _result
;
1697 wxRealPoint
* _arg0
;
1698 wxRealPoint
* _arg1
;
1700 PyObject
* _obj0
= 0;
1702 PyObject
* _obj1
= 0;
1703 char *_kwnames
[] = { "self","p", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1711 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1716 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) return NULL
;
1725 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1726 _resultobj
= Py_BuildValue("s",_ptemp
);
1730 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1732 if (*self
== *p
) return 0;
1735 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1736 PyObject
* _resultobj
;
1738 wxRealPoint
* _arg0
;
1739 wxRealPoint
* _arg1
;
1741 PyObject
* _obj0
= 0;
1743 PyObject
* _obj1
= 0;
1744 char *_kwnames
[] = { "self","p", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1751 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1756 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) return NULL
;
1765 } _resultobj
= Py_BuildValue("i",_result
);
1769 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1770 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
* _resultobj
;
1776 PyObject
* _obj0
= 0;
1777 char *_kwnames
[] = { "self","x", NULL
};
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1784 if (! wxPoint_helper(_obj0
, &_arg0
))
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) return NULL
;
1793 } _resultobj
= Py_BuildValue("l",_result
);
1797 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1798 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1803 PyObject
* _obj0
= 0;
1804 char *_kwnames
[] = { "self", NULL
};
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1811 if (! wxPoint_helper(_obj0
, &_arg0
))
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 _result
= (long )wxPoint_x_get(_arg0
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) return NULL
;
1820 } _resultobj
= Py_BuildValue("l",_result
);
1824 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1825 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1831 PyObject
* _obj0
= 0;
1832 char *_kwnames
[] = { "self","y", NULL
};
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1839 if (! wxPoint_helper(_obj0
, &_arg0
))
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) return NULL
;
1848 } _resultobj
= Py_BuildValue("l",_result
);
1852 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1853 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1858 PyObject
* _obj0
= 0;
1859 char *_kwnames
[] = { "self", NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1866 if (! wxPoint_helper(_obj0
, &_arg0
))
1870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1871 _result
= (long )wxPoint_y_get(_arg0
);
1873 wxPyEndAllowThreads(__tstate
);
1874 if (PyErr_Occurred()) return NULL
;
1875 } _resultobj
= Py_BuildValue("l",_result
);
1879 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1880 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1883 long _arg0
= (long ) 0;
1884 long _arg1
= (long ) 0;
1885 char *_kwnames
[] = { "x","y", NULL
};
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) return NULL
;
1898 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1899 _resultobj
= Py_BuildValue("s",_ptemp
);
1902 _resultobj
= Py_None
;
1907 #define delete_wxPoint(_swigobj) (delete _swigobj)
1908 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1912 PyObject
* _obj0
= 0;
1913 char *_kwnames
[] = { "self", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1920 if (! wxPoint_helper(_obj0
, &_arg0
))
1924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1925 delete_wxPoint(_arg0
);
1927 wxPyEndAllowThreads(__tstate
);
1928 if (PyErr_Occurred()) return NULL
;
1929 } Py_INCREF(Py_None
);
1930 _resultobj
= Py_None
;
1934 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1938 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1944 PyObject
* _obj0
= 0;
1945 char *_kwnames
[] = { "self","x","y", NULL
};
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1952 if (! wxPoint_helper(_obj0
, &_arg0
))
1956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1959 wxPyEndAllowThreads(__tstate
);
1960 if (PyErr_Occurred()) return NULL
;
1961 } Py_INCREF(Py_None
);
1962 _resultobj
= Py_None
;
1966 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1967 PyObject
* tup
= PyTuple_New(2);
1968 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1969 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1972 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1977 PyObject
* _obj0
= 0;
1978 char *_kwnames
[] = { "self", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1985 if (! wxPoint_helper(_obj0
, &_arg0
))
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) return NULL
;
1995 _resultobj
= _result
;
2000 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
2001 if (! p
) return *self
;
2004 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2005 PyObject
* _resultobj
;
2010 PyObject
* _obj0
= 0;
2012 PyObject
* _obj1
= 0;
2013 char *_kwnames
[] = { "self","p", NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2021 if (! wxPoint_helper(_obj0
, &_arg0
))
2026 if (! wxPoint_helper(_obj1
, &_arg1
))
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) return NULL
;
2035 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2036 _resultobj
= Py_BuildValue("s",_ptemp
);
2040 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2041 if (! p
) return *self
;
2044 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2050 PyObject
* _obj0
= 0;
2052 PyObject
* _obj1
= 0;
2053 char *_kwnames
[] = { "self","p", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2061 if (! wxPoint_helper(_obj0
, &_arg0
))
2066 if (! wxPoint_helper(_obj1
, &_arg1
))
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) return NULL
;
2075 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2076 _resultobj
= Py_BuildValue("s",_ptemp
);
2080 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2082 if (*self
== *p
) return 0;
2085 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2091 PyObject
* _obj0
= 0;
2093 PyObject
* _obj1
= 0;
2094 char *_kwnames
[] = { "self","p", NULL
};
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2101 if (! wxPoint_helper(_obj0
, &_arg0
))
2106 if (! wxPoint_helper(_obj1
, &_arg1
))
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) return NULL
;
2115 } _resultobj
= Py_BuildValue("i",_result
);
2119 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2120 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2123 int _arg0
= (int ) 0;
2124 int _arg1
= (int ) 0;
2125 int _arg2
= (int ) 0;
2126 int _arg3
= (int ) 0;
2127 char *_kwnames
[] = { "x","y","w","h", NULL
};
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) return NULL
;
2140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2141 _resultobj
= Py_BuildValue("s",_ptemp
);
2144 _resultobj
= Py_None
;
2149 #define delete_wxRect(_swigobj) (delete _swigobj)
2150 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
* _resultobj
;
2154 PyObject
* _obj0
= 0;
2155 char *_kwnames
[] = { "self", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2162 if (! wxRect_helper(_obj0
, &_arg0
))
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 delete_wxRect(_arg0
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) return NULL
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2176 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2177 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2182 PyObject
* _obj0
= 0;
2183 char *_kwnames
[] = { "self", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2190 if (! wxRect_helper(_obj0
, &_arg0
))
2194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 _result
= (int )wxRect_GetX(_arg0
);
2197 wxPyEndAllowThreads(__tstate
);
2198 if (PyErr_Occurred()) return NULL
;
2199 } _resultobj
= Py_BuildValue("i",_result
);
2203 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2204 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2209 PyObject
* _obj0
= 0;
2210 char *_kwnames
[] = { "self","X", NULL
};
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2217 if (! wxRect_helper(_obj0
, &_arg0
))
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 wxRect_SetX(_arg0
,_arg1
);
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) return NULL
;
2226 } Py_INCREF(Py_None
);
2227 _resultobj
= Py_None
;
2231 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2232 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
* _resultobj
;
2237 PyObject
* _obj0
= 0;
2238 char *_kwnames
[] = { "self", NULL
};
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2245 if (! wxRect_helper(_obj0
, &_arg0
))
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 _result
= (int )wxRect_GetY(_arg0
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) return NULL
;
2254 } _resultobj
= Py_BuildValue("i",_result
);
2258 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2259 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
* _resultobj
;
2264 PyObject
* _obj0
= 0;
2265 char *_kwnames
[] = { "self","Y", NULL
};
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2272 if (! wxRect_helper(_obj0
, &_arg0
))
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 wxRect_SetY(_arg0
,_arg1
);
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) return NULL
;
2281 } Py_INCREF(Py_None
);
2282 _resultobj
= Py_None
;
2286 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2287 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2292 PyObject
* _obj0
= 0;
2293 char *_kwnames
[] = { "self", NULL
};
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2300 if (! wxRect_helper(_obj0
, &_arg0
))
2304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 _result
= (int )wxRect_GetWidth(_arg0
);
2307 wxPyEndAllowThreads(__tstate
);
2308 if (PyErr_Occurred()) return NULL
;
2309 } _resultobj
= Py_BuildValue("i",_result
);
2313 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2314 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
* _resultobj
;
2319 PyObject
* _obj0
= 0;
2320 char *_kwnames
[] = { "self","w", NULL
};
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2327 if (! wxRect_helper(_obj0
, &_arg0
))
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 wxRect_SetWidth(_arg0
,_arg1
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) return NULL
;
2336 } Py_INCREF(Py_None
);
2337 _resultobj
= Py_None
;
2341 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2342 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2343 PyObject
* _resultobj
;
2347 PyObject
* _obj0
= 0;
2348 char *_kwnames
[] = { "self", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2355 if (! wxRect_helper(_obj0
, &_arg0
))
2359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2360 _result
= (int )wxRect_GetHeight(_arg0
);
2362 wxPyEndAllowThreads(__tstate
);
2363 if (PyErr_Occurred()) return NULL
;
2364 } _resultobj
= Py_BuildValue("i",_result
);
2368 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2369 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2374 PyObject
* _obj0
= 0;
2375 char *_kwnames
[] = { "self","h", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2382 if (! wxRect_helper(_obj0
, &_arg0
))
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 wxRect_SetHeight(_arg0
,_arg1
);
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) return NULL
;
2391 } Py_INCREF(Py_None
);
2392 _resultobj
= Py_None
;
2396 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2397 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2402 PyObject
* _obj0
= 0;
2403 char *_kwnames
[] = { "self", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2411 if (! wxRect_helper(_obj0
, &_arg0
))
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) return NULL
;
2420 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2421 _resultobj
= Py_BuildValue("s",_ptemp
);
2425 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2426 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
* _resultobj
;
2431 PyObject
* _obj0
= 0;
2432 char *_kwnames
[] = { "self", NULL
};
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2440 if (! wxRect_helper(_obj0
, &_arg0
))
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 _result
= new wxSize (wxRect_GetSize(_arg0
));
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) return NULL
;
2449 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2450 _resultobj
= Py_BuildValue("s",_ptemp
);
2454 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2455 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2460 PyObject
* _obj0
= 0;
2461 char *_kwnames
[] = { "self", NULL
};
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2468 if (! wxRect_helper(_obj0
, &_arg0
))
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 _result
= (int )wxRect_GetLeft(_arg0
);
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) return NULL
;
2477 } _resultobj
= Py_BuildValue("i",_result
);
2481 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2482 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2487 PyObject
* _obj0
= 0;
2488 char *_kwnames
[] = { "self", NULL
};
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2495 if (! wxRect_helper(_obj0
, &_arg0
))
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 _result
= (int )wxRect_GetTop(_arg0
);
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) return NULL
;
2504 } _resultobj
= Py_BuildValue("i",_result
);
2508 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2509 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2514 PyObject
* _obj0
= 0;
2515 char *_kwnames
[] = { "self", NULL
};
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2522 if (! wxRect_helper(_obj0
, &_arg0
))
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 _result
= (int )wxRect_GetBottom(_arg0
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) return NULL
;
2531 } _resultobj
= Py_BuildValue("i",_result
);
2535 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2536 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2541 PyObject
* _obj0
= 0;
2542 char *_kwnames
[] = { "self", NULL
};
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2549 if (! wxRect_helper(_obj0
, &_arg0
))
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 _result
= (int )wxRect_GetRight(_arg0
);
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) return NULL
;
2558 } _resultobj
= Py_BuildValue("i",_result
);
2562 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2563 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2568 PyObject
* _obj0
= 0;
2569 char *_kwnames
[] = { "self","left", NULL
};
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2576 if (! wxRect_helper(_obj0
, &_arg0
))
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 wxRect_SetLeft(_arg0
,_arg1
);
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) return NULL
;
2585 } Py_INCREF(Py_None
);
2586 _resultobj
= Py_None
;
2590 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2591 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
* _resultobj
;
2596 PyObject
* _obj0
= 0;
2597 char *_kwnames
[] = { "self","right", NULL
};
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2604 if (! wxRect_helper(_obj0
, &_arg0
))
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 wxRect_SetRight(_arg0
,_arg1
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) return NULL
;
2613 } Py_INCREF(Py_None
);
2614 _resultobj
= Py_None
;
2618 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2619 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2624 PyObject
* _obj0
= 0;
2625 char *_kwnames
[] = { "self","top", NULL
};
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2632 if (! wxRect_helper(_obj0
, &_arg0
))
2636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2637 wxRect_SetTop(_arg0
,_arg1
);
2639 wxPyEndAllowThreads(__tstate
);
2640 if (PyErr_Occurred()) return NULL
;
2641 } Py_INCREF(Py_None
);
2642 _resultobj
= Py_None
;
2646 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2647 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
* _resultobj
;
2652 PyObject
* _obj0
= 0;
2653 char *_kwnames
[] = { "self","bottom", NULL
};
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2660 if (! wxRect_helper(_obj0
, &_arg0
))
2664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 wxRect_SetBottom(_arg0
,_arg1
);
2667 wxPyEndAllowThreads(__tstate
);
2668 if (PyErr_Occurred()) return NULL
;
2669 } Py_INCREF(Py_None
);
2670 _resultobj
= Py_None
;
2674 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2675 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
* _resultobj
;
2681 PyObject
* _obj0
= 0;
2682 char *_kwnames
[] = { "self","dx","dy", NULL
};
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2689 if (! wxRect_helper(_obj0
, &_arg0
))
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) return NULL
;
2698 } Py_INCREF(Py_None
);
2699 _resultobj
= Py_None
;
2703 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2704 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2711 PyObject
* _obj0
= 0;
2712 char *_kwnames
[] = { "self","cx","cy", NULL
};
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2719 if (! wxRect_helper(_obj0
, &_arg0
))
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) return NULL
;
2728 } _resultobj
= Py_BuildValue("i",_result
);
2732 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2733 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2739 PyObject
* _obj0
= 0;
2740 char *_kwnames
[] = { "self","x", NULL
};
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2747 if (! wxRect_helper(_obj0
, &_arg0
))
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2752 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) return NULL
;
2756 } _resultobj
= Py_BuildValue("i",_result
);
2760 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2761 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2766 PyObject
* _obj0
= 0;
2767 char *_kwnames
[] = { "self", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2774 if (! wxRect_helper(_obj0
, &_arg0
))
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2779 _result
= (int )wxRect_x_get(_arg0
);
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) return NULL
;
2783 } _resultobj
= Py_BuildValue("i",_result
);
2787 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2788 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
* _resultobj
;
2794 PyObject
* _obj0
= 0;
2795 char *_kwnames
[] = { "self","y", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2802 if (! wxRect_helper(_obj0
, &_arg0
))
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) return NULL
;
2811 } _resultobj
= Py_BuildValue("i",_result
);
2815 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2816 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
* _resultobj
;
2821 PyObject
* _obj0
= 0;
2822 char *_kwnames
[] = { "self", NULL
};
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2829 if (! wxRect_helper(_obj0
, &_arg0
))
2833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2834 _result
= (int )wxRect_y_get(_arg0
);
2836 wxPyEndAllowThreads(__tstate
);
2837 if (PyErr_Occurred()) return NULL
;
2838 } _resultobj
= Py_BuildValue("i",_result
);
2842 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2843 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2849 PyObject
* _obj0
= 0;
2850 char *_kwnames
[] = { "self","width", NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2857 if (! wxRect_helper(_obj0
, &_arg0
))
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) return NULL
;
2866 } _resultobj
= Py_BuildValue("i",_result
);
2870 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2871 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
* _resultobj
;
2876 PyObject
* _obj0
= 0;
2877 char *_kwnames
[] = { "self", NULL
};
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2884 if (! wxRect_helper(_obj0
, &_arg0
))
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2889 _result
= (int )wxRect_width_get(_arg0
);
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) return NULL
;
2893 } _resultobj
= Py_BuildValue("i",_result
);
2897 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2898 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2904 PyObject
* _obj0
= 0;
2905 char *_kwnames
[] = { "self","height", NULL
};
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2912 if (! wxRect_helper(_obj0
, &_arg0
))
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) return NULL
;
2921 } _resultobj
= Py_BuildValue("i",_result
);
2925 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2926 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
* _resultobj
;
2931 PyObject
* _obj0
= 0;
2932 char *_kwnames
[] = { "self", NULL
};
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2939 if (! wxRect_helper(_obj0
, &_arg0
))
2943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2944 _result
= (int )wxRect_height_get(_arg0
);
2946 wxPyEndAllowThreads(__tstate
);
2947 if (PyErr_Occurred()) return NULL
;
2948 } _resultobj
= Py_BuildValue("i",_result
);
2952 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2953 PyObject
* tup
= PyTuple_New(4);
2954 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2955 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2956 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2957 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2960 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
* _resultobj
;
2965 PyObject
* _obj0
= 0;
2966 char *_kwnames
[] = { "self", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2973 if (! wxRect_helper(_obj0
, &_arg0
))
2977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2978 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2980 wxPyEndAllowThreads(__tstate
);
2981 if (PyErr_Occurred()) return NULL
;
2983 _resultobj
= _result
;
2988 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2989 if (! rect
) return *self
;
2990 return *self
+ *rect
;
2992 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2998 PyObject
* _obj0
= 0;
3000 PyObject
* _obj1
= 0;
3001 char *_kwnames
[] = { "self","rect", NULL
};
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3009 if (! wxRect_helper(_obj0
, &_arg0
))
3014 if (! wxRect_helper(_obj1
, &_arg1
))
3018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3019 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3021 wxPyEndAllowThreads(__tstate
);
3022 if (PyErr_Occurred()) return NULL
;
3023 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3024 _resultobj
= Py_BuildValue("s",_ptemp
);
3028 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3029 if (! rect
) return 1;
3030 if (*self
== *rect
) return 0;
3033 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
* _resultobj
;
3039 PyObject
* _obj0
= 0;
3041 PyObject
* _obj1
= 0;
3042 char *_kwnames
[] = { "self","rect", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3049 if (! wxRect_helper(_obj0
, &_arg0
))
3054 if (! wxRect_helper(_obj1
, &_arg1
))
3058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3061 wxPyEndAllowThreads(__tstate
);
3062 if (PyErr_Occurred()) return NULL
;
3063 } _resultobj
= Py_BuildValue("i",_result
);
3067 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3068 wxIndividualLayoutConstraint
*src
;
3070 src
= (wxIndividualLayoutConstraint
*) ptr
;
3071 dest
= (wxObject
*) src
;
3072 return (void *) dest
;
3075 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3076 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3078 wxIndividualLayoutConstraint
* _arg0
;
3080 int _arg2
= (int ) 0;
3081 PyObject
* _argo0
= 0;
3082 PyObject
* _argo1
= 0;
3083 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3096 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3097 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) return NULL
;
3108 } Py_INCREF(Py_None
);
3109 _resultobj
= Py_None
;
3113 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3114 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3116 wxIndividualLayoutConstraint
* _arg0
;
3118 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "self","value", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) return NULL
;
3137 } Py_INCREF(Py_None
);
3138 _resultobj
= Py_None
;
3142 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3143 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3145 wxIndividualLayoutConstraint
* _arg0
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 wxIndividualLayoutConstraint_AsIs(_arg0
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } Py_INCREF(Py_None
);
3166 _resultobj
= Py_None
;
3170 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3171 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3173 wxIndividualLayoutConstraint
* _arg0
;
3175 int _arg2
= (int ) 0;
3176 PyObject
* _argo0
= 0;
3177 PyObject
* _argo1
= 0;
3178 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3191 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) return NULL
;
3203 } Py_INCREF(Py_None
);
3204 _resultobj
= Py_None
;
3208 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3209 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
* _resultobj
;
3211 wxIndividualLayoutConstraint
* _arg0
;
3212 PyObject
* _argo0
= 0;
3213 char *_kwnames
[] = { "self", NULL
};
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) return NULL
;
3231 } Py_INCREF(Py_None
);
3232 _resultobj
= Py_None
;
3236 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3237 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
* _resultobj
;
3239 wxIndividualLayoutConstraint
* _arg0
;
3241 int _arg2
= (int ) 0;
3242 PyObject
* _argo0
= 0;
3243 PyObject
* _argo1
= 0;
3244 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3257 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) return NULL
;
3269 } Py_INCREF(Py_None
);
3270 _resultobj
= Py_None
;
3274 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3275 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
* _resultobj
;
3277 wxIndividualLayoutConstraint
* _arg0
;
3281 PyObject
* _argo0
= 0;
3282 PyObject
* _argo1
= 0;
3283 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3296 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3297 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) return NULL
;
3308 } Py_INCREF(Py_None
);
3309 _resultobj
= Py_None
;
3313 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3314 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3316 wxIndividualLayoutConstraint
* _arg0
;
3318 int _arg2
= (int ) 0;
3319 PyObject
* _argo0
= 0;
3320 PyObject
* _argo1
= 0;
3321 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3334 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3335 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) return NULL
;
3346 } Py_INCREF(Py_None
);
3347 _resultobj
= Py_None
;
3351 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3352 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3354 wxIndividualLayoutConstraint
* _arg0
;
3357 int _arg3
= (int ) 0;
3358 PyObject
* _argo0
= 0;
3359 PyObject
* _argo1
= 0;
3360 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3373 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) return NULL
;
3385 } Py_INCREF(Py_None
);
3386 _resultobj
= Py_None
;
3390 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3391 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
* _resultobj
;
3393 wxIndividualLayoutConstraint
* _arg0
;
3394 wxRelationship _arg1
;
3397 int _arg4
= (int ) 0;
3398 int _arg5
= (int ) 0;
3399 PyObject
* _argo0
= 0;
3400 PyObject
* _argo2
= 0;
3401 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3414 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) return NULL
;
3426 } Py_INCREF(Py_None
);
3427 _resultobj
= Py_None
;
3431 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3432 wxLayoutConstraints
*src
;
3434 src
= (wxLayoutConstraints
*) ptr
;
3435 dest
= (wxObject
*) src
;
3436 return (void *) dest
;
3439 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3440 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3442 wxLayoutConstraints
* _result
;
3443 char *_kwnames
[] = { NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) return NULL
;
3456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3457 _resultobj
= Py_BuildValue("s",_ptemp
);
3460 _resultobj
= Py_None
;
3465 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3466 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
* _resultobj
;
3468 wxIndividualLayoutConstraint
* _result
;
3469 wxLayoutConstraints
* _arg0
;
3470 PyObject
* _argo0
= 0;
3471 char *_kwnames
[] = { "self", NULL
};
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) return NULL
;
3491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3492 _resultobj
= Py_BuildValue("s",_ptemp
);
3495 _resultobj
= Py_None
;
3500 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3501 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
* _resultobj
;
3503 wxIndividualLayoutConstraint
* _result
;
3504 wxLayoutConstraints
* _arg0
;
3505 PyObject
* _argo0
= 0;
3506 char *_kwnames
[] = { "self", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) return NULL
;
3526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3527 _resultobj
= Py_BuildValue("s",_ptemp
);
3530 _resultobj
= Py_None
;
3535 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3536 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3538 wxIndividualLayoutConstraint
* _result
;
3539 wxLayoutConstraints
* _arg0
;
3540 PyObject
* _argo0
= 0;
3541 char *_kwnames
[] = { "self", NULL
};
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) return NULL
;
3561 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3562 _resultobj
= Py_BuildValue("s",_ptemp
);
3565 _resultobj
= Py_None
;
3570 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3571 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
* _resultobj
;
3573 wxIndividualLayoutConstraint
* _result
;
3574 wxLayoutConstraints
* _arg0
;
3575 PyObject
* _argo0
= 0;
3576 char *_kwnames
[] = { "self", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) return NULL
;
3596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3597 _resultobj
= Py_BuildValue("s",_ptemp
);
3600 _resultobj
= Py_None
;
3605 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3606 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
* _resultobj
;
3608 wxIndividualLayoutConstraint
* _result
;
3609 wxLayoutConstraints
* _arg0
;
3610 PyObject
* _argo0
= 0;
3611 char *_kwnames
[] = { "self", NULL
};
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) return NULL
;
3631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3632 _resultobj
= Py_BuildValue("s",_ptemp
);
3635 _resultobj
= Py_None
;
3640 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3641 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
* _resultobj
;
3643 wxIndividualLayoutConstraint
* _result
;
3644 wxLayoutConstraints
* _arg0
;
3645 PyObject
* _argo0
= 0;
3646 char *_kwnames
[] = { "self", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) return NULL
;
3666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3667 _resultobj
= Py_BuildValue("s",_ptemp
);
3670 _resultobj
= Py_None
;
3675 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3676 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3678 wxIndividualLayoutConstraint
* _result
;
3679 wxLayoutConstraints
* _arg0
;
3680 PyObject
* _argo0
= 0;
3681 char *_kwnames
[] = { "self", NULL
};
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) return NULL
;
3701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3702 _resultobj
= Py_BuildValue("s",_ptemp
);
3705 _resultobj
= Py_None
;
3710 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3711 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
* _resultobj
;
3713 wxIndividualLayoutConstraint
* _result
;
3714 wxLayoutConstraints
* _arg0
;
3715 PyObject
* _argo0
= 0;
3716 char *_kwnames
[] = { "self", NULL
};
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3731 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) return NULL
;
3736 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3737 _resultobj
= Py_BuildValue("s",_ptemp
);
3740 _resultobj
= Py_None
;
3745 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3746 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3748 wxAcceleratorEntry
* _result
;
3749 int _arg0
= (int ) 0;
3750 int _arg1
= (int ) 0;
3751 int _arg2
= (int ) 0;
3752 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) return NULL
;
3765 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3766 _resultobj
= Py_BuildValue("s",_ptemp
);
3769 _resultobj
= Py_None
;
3774 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3775 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
* _resultobj
;
3777 wxAcceleratorEntry
* _arg0
;
3778 PyObject
* _argo0
= 0;
3779 char *_kwnames
[] = { "self", NULL
};
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 delete_wxAcceleratorEntry(_arg0
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) return NULL
;
3797 } Py_INCREF(Py_None
);
3798 _resultobj
= Py_None
;
3802 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3803 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
* _resultobj
;
3805 wxAcceleratorEntry
* _arg0
;
3809 PyObject
* _argo0
= 0;
3810 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) return NULL
;
3828 } Py_INCREF(Py_None
);
3829 _resultobj
= Py_None
;
3833 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3834 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
* _resultobj
;
3837 wxAcceleratorEntry
* _arg0
;
3838 PyObject
* _argo0
= 0;
3839 char *_kwnames
[] = { "self", NULL
};
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) return NULL
;
3857 } _resultobj
= Py_BuildValue("i",_result
);
3861 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3862 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
* _resultobj
;
3865 wxAcceleratorEntry
* _arg0
;
3866 PyObject
* _argo0
= 0;
3867 char *_kwnames
[] = { "self", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) return NULL
;
3885 } _resultobj
= Py_BuildValue("i",_result
);
3889 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3890 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
* _resultobj
;
3893 wxAcceleratorEntry
* _arg0
;
3894 PyObject
* _argo0
= 0;
3895 char *_kwnames
[] = { "self", NULL
};
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) return NULL
;
3913 } _resultobj
= Py_BuildValue("i",_result
);
3917 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3918 wxAcceleratorTable
*src
;
3920 src
= (wxAcceleratorTable
*) ptr
;
3921 dest
= (wxObject
*) src
;
3922 return (void *) dest
;
3925 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3926 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3928 wxAcceleratorTable
* _result
;
3930 wxAcceleratorEntry
* _arg1
;
3931 PyObject
* _obj1
= 0;
3932 char *_kwnames
[] = { "choices", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3940 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3941 if (_arg1
== NULL
) {
3947 _arg0
= PyList_Size(_obj1
);
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3957 wxPyEndAllowThreads(__tstate
);
3958 if (PyErr_Occurred()) return NULL
;
3960 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3961 _resultobj
= Py_BuildValue("s",_ptemp
);
3964 _resultobj
= Py_None
;
3972 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
3973 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
* _resultobj
;
3975 wxAcceleratorTable
* _arg0
;
3976 PyObject
* _argo0
= 0;
3977 char *_kwnames
[] = { "self", NULL
};
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
3983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
3985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 delete_wxAcceleratorTable(_arg0
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) return NULL
;
3995 } Py_INCREF(Py_None
);
3996 _resultobj
= Py_None
;
4000 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
4003 src
= (wxBusyInfo
*) ptr
;
4004 dest
= (wxObject
*) src
;
4005 return (void *) dest
;
4008 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4009 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4011 wxBusyInfo
* _result
;
4013 PyObject
* _obj0
= 0;
4014 char *_kwnames
[] = { "message", NULL
};
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4021 #if PYTHON_API_VERSION >= 1009
4022 char* tmpPtr
; int tmpSize
;
4023 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4024 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4027 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4029 _arg0
= new wxString(tmpPtr
, tmpSize
);
4031 if (!PyString_Check(_obj0
)) {
4032 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4035 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) return NULL
;
4045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4046 _resultobj
= Py_BuildValue("s",_ptemp
);
4049 _resultobj
= Py_None
;
4058 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4059 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
* _resultobj
;
4062 PyObject
* _argo0
= 0;
4063 char *_kwnames
[] = { "self", NULL
};
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 delete_wxBusyInfo(_arg0
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) return NULL
;
4081 } Py_INCREF(Py_None
);
4082 _resultobj
= Py_None
;
4086 static PyMethodDef misccMethods
[] = {
4087 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4088 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4089 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4090 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4091 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4092 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4093 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4094 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4095 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4096 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4097 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4098 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4099 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4100 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4101 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4102 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4103 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4104 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4105 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4106 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4107 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4108 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4109 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4110 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4111 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4112 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4113 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4114 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4115 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4116 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4117 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4118 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4119 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4120 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4121 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4122 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4123 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4124 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4125 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4126 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4127 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4128 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4129 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4205 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4206 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4207 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4208 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4209 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4210 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4211 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4212 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4218 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4219 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4222 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4223 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4230 * This table is used by the pointer type-checker
4232 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4233 { "_signed_long","_long",0},
4234 { "_wxPrintQuality","_wxCoord",0},
4235 { "_wxPrintQuality","_int",0},
4236 { "_wxPrintQuality","_signed_int",0},
4237 { "_wxPrintQuality","_unsigned_int",0},
4238 { "_wxPrintQuality","_wxWindowID",0},
4239 { "_wxPrintQuality","_uint",0},
4240 { "_wxPrintQuality","_EBool",0},
4241 { "_wxPrintQuality","_size_t",0},
4242 { "_wxPrintQuality","_time_t",0},
4243 { "_byte","_unsigned_char",0},
4244 { "_long","_unsigned_long",0},
4245 { "_long","_signed_long",0},
4246 { "_size_t","_wxCoord",0},
4247 { "_size_t","_wxPrintQuality",0},
4248 { "_size_t","_time_t",0},
4249 { "_size_t","_unsigned_int",0},
4250 { "_size_t","_int",0},
4251 { "_size_t","_wxWindowID",0},
4252 { "_size_t","_uint",0},
4253 { "_uint","_wxCoord",0},
4254 { "_uint","_wxPrintQuality",0},
4255 { "_uint","_time_t",0},
4256 { "_uint","_size_t",0},
4257 { "_uint","_unsigned_int",0},
4258 { "_uint","_int",0},
4259 { "_uint","_wxWindowID",0},
4260 { "_wxChar","_char",0},
4261 { "_char","_wxChar",0},
4262 { "_EBool","_wxCoord",0},
4263 { "_EBool","_wxPrintQuality",0},
4264 { "_EBool","_signed_int",0},
4265 { "_EBool","_int",0},
4266 { "_EBool","_wxWindowID",0},
4267 { "_unsigned_long","_long",0},
4268 { "_signed_int","_wxCoord",0},
4269 { "_signed_int","_wxPrintQuality",0},
4270 { "_signed_int","_EBool",0},
4271 { "_signed_int","_wxWindowID",0},
4272 { "_signed_int","_int",0},
4273 { "_WXTYPE","_short",0},
4274 { "_WXTYPE","_signed_short",0},
4275 { "_WXTYPE","_unsigned_short",0},
4276 { "_unsigned_short","_WXTYPE",0},
4277 { "_unsigned_short","_short",0},
4278 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4279 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4280 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4281 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4282 { "_signed_short","_WXTYPE",0},
4283 { "_signed_short","_short",0},
4284 { "_unsigned_char","_byte",0},
4285 { "_unsigned_int","_wxCoord",0},
4286 { "_unsigned_int","_wxPrintQuality",0},
4287 { "_unsigned_int","_time_t",0},
4288 { "_unsigned_int","_size_t",0},
4289 { "_unsigned_int","_uint",0},
4290 { "_unsigned_int","_wxWindowID",0},
4291 { "_unsigned_int","_int",0},
4292 { "_short","_WXTYPE",0},
4293 { "_short","_unsigned_short",0},
4294 { "_short","_signed_short",0},
4295 { "_wxWindowID","_wxCoord",0},
4296 { "_wxWindowID","_wxPrintQuality",0},
4297 { "_wxWindowID","_time_t",0},
4298 { "_wxWindowID","_size_t",0},
4299 { "_wxWindowID","_EBool",0},
4300 { "_wxWindowID","_uint",0},
4301 { "_wxWindowID","_int",0},
4302 { "_wxWindowID","_signed_int",0},
4303 { "_wxWindowID","_unsigned_int",0},
4304 { "_int","_wxCoord",0},
4305 { "_int","_wxPrintQuality",0},
4306 { "_int","_time_t",0},
4307 { "_int","_size_t",0},
4308 { "_int","_EBool",0},
4309 { "_int","_uint",0},
4310 { "_int","_wxWindowID",0},
4311 { "_int","_unsigned_int",0},
4312 { "_int","_signed_int",0},
4313 { "_time_t","_wxCoord",0},
4314 { "_time_t","_wxPrintQuality",0},
4315 { "_time_t","_unsigned_int",0},
4316 { "_time_t","_int",0},
4317 { "_time_t","_wxWindowID",0},
4318 { "_time_t","_uint",0},
4319 { "_time_t","_size_t",0},
4320 { "_wxCoord","_int",0},
4321 { "_wxCoord","_signed_int",0},
4322 { "_wxCoord","_unsigned_int",0},
4323 { "_wxCoord","_wxWindowID",0},
4324 { "_wxCoord","_uint",0},
4325 { "_wxCoord","_EBool",0},
4326 { "_wxCoord","_size_t",0},
4327 { "_wxCoord","_time_t",0},
4328 { "_wxCoord","_wxPrintQuality",0},
4331 static PyObject
*SWIG_globals
;
4335 SWIGEXPORT(void) initmiscc() {
4337 SWIG_globals
= SWIG_newvarlink();
4338 m
= Py_InitModule("miscc", misccMethods
);
4339 d
= PyModule_GetDict(m
);
4340 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4341 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4342 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4343 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4344 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4345 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4346 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4347 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4348 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4349 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4350 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4351 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4352 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4353 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4354 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4355 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4356 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4357 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4358 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4359 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4360 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4363 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4364 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);