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_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
842 wxAcceleratorEntry
* _result
;
844 PyObject
* _obj0
= 0;
845 char *_kwnames
[] = { "label", NULL
};
849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
852 #if PYTHON_API_VERSION >= 1009
853 char* tmpPtr
; int tmpSize
;
854 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
855 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
858 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
860 _arg0
= new wxString(tmpPtr
, tmpSize
);
862 if (!PyString_Check(_obj0
)) {
863 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
866 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
871 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
873 wxPyEndAllowThreads(__tstate
);
874 if (PyErr_Occurred()) return NULL
;
876 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
877 _resultobj
= Py_BuildValue("s",_ptemp
);
880 _resultobj
= Py_None
;
889 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
891 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
895 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
899 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
900 pyobj
= PyString_FromString(ptemp
);
904 static const char * wxObject_GetClassName(wxObject
*self
) {
905 return self
->GetClassInfo()->GetClassName();
907 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
908 PyObject
* _resultobj
;
911 PyObject
* _argo0
= 0;
912 char *_kwnames
[] = { "self", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 _result
= (char *)wxObject_GetClassName(_arg0
);
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
930 } _resultobj
= Py_BuildValue("s", _result
);
934 static void wxObject_Destroy(wxObject
*self
) {
937 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
940 PyObject
* _argo0
= 0;
941 char *_kwnames
[] = { "self", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
955 wxObject_Destroy(_arg0
);
957 wxPyEndAllowThreads(__tstate
);
958 if (PyErr_Occurred()) return NULL
;
959 } Py_INCREF(Py_None
);
960 _resultobj
= Py_None
;
964 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
965 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
971 PyObject
* _obj0
= 0;
972 char *_kwnames
[] = { "self","x", NULL
};
975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
979 if (! wxSize_helper(_obj0
, &_arg0
))
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
986 wxPyEndAllowThreads(__tstate
);
987 if (PyErr_Occurred()) return NULL
;
988 } _resultobj
= Py_BuildValue("l",_result
);
992 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
993 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
994 PyObject
* _resultobj
;
998 PyObject
* _obj0
= 0;
999 char *_kwnames
[] = { "self", NULL
};
1002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1006 if (! wxSize_helper(_obj0
, &_arg0
))
1010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1011 _result
= (long )wxSize_x_get(_arg0
);
1013 wxPyEndAllowThreads(__tstate
);
1014 if (PyErr_Occurred()) return NULL
;
1015 } _resultobj
= Py_BuildValue("l",_result
);
1019 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1020 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1026 PyObject
* _obj0
= 0;
1027 char *_kwnames
[] = { "self","y", NULL
};
1030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1034 if (! wxSize_helper(_obj0
, &_arg0
))
1038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1039 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1041 wxPyEndAllowThreads(__tstate
);
1042 if (PyErr_Occurred()) return NULL
;
1043 } _resultobj
= Py_BuildValue("l",_result
);
1047 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1048 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1053 PyObject
* _obj0
= 0;
1054 char *_kwnames
[] = { "self", NULL
};
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1061 if (! wxSize_helper(_obj0
, &_arg0
))
1065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1066 _result
= (long )wxSize_y_get(_arg0
);
1068 wxPyEndAllowThreads(__tstate
);
1069 if (PyErr_Occurred()) return NULL
;
1070 } _resultobj
= Py_BuildValue("l",_result
);
1074 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1075 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1078 long _arg0
= (long ) 0;
1079 long _arg1
= (long ) 0;
1080 char *_kwnames
[] = { "w","h", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1088 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1090 wxPyEndAllowThreads(__tstate
);
1091 if (PyErr_Occurred()) return NULL
;
1093 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1094 _resultobj
= Py_BuildValue("s",_ptemp
);
1097 _resultobj
= Py_None
;
1102 #define delete_wxSize(_swigobj) (delete _swigobj)
1103 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
* _resultobj
;
1107 PyObject
* _obj0
= 0;
1108 char *_kwnames
[] = { "self", NULL
};
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1115 if (! wxSize_helper(_obj0
, &_arg0
))
1119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1120 delete_wxSize(_arg0
);
1122 wxPyEndAllowThreads(__tstate
);
1123 if (PyErr_Occurred()) return NULL
;
1124 } Py_INCREF(Py_None
);
1125 _resultobj
= Py_None
;
1129 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1130 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1131 PyObject
* _resultobj
;
1136 PyObject
* _obj0
= 0;
1137 char *_kwnames
[] = { "self","w","h", NULL
};
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1144 if (! wxSize_helper(_obj0
, &_arg0
))
1148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1149 wxSize_Set(_arg0
,_arg1
,_arg2
);
1151 wxPyEndAllowThreads(__tstate
);
1152 if (PyErr_Occurred()) return NULL
;
1153 } Py_INCREF(Py_None
);
1154 _resultobj
= Py_None
;
1158 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1159 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1160 PyObject
* _resultobj
;
1164 PyObject
* _obj0
= 0;
1165 char *_kwnames
[] = { "self", NULL
};
1168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1172 if (! wxSize_helper(_obj0
, &_arg0
))
1176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1177 _result
= (long )wxSize_GetX(_arg0
);
1179 wxPyEndAllowThreads(__tstate
);
1180 if (PyErr_Occurred()) return NULL
;
1181 } _resultobj
= Py_BuildValue("l",_result
);
1185 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1186 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1187 PyObject
* _resultobj
;
1191 PyObject
* _obj0
= 0;
1192 char *_kwnames
[] = { "self", NULL
};
1195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1199 if (! wxSize_helper(_obj0
, &_arg0
))
1203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1204 _result
= (long )wxSize_GetY(_arg0
);
1206 wxPyEndAllowThreads(__tstate
);
1207 if (PyErr_Occurred()) return NULL
;
1208 } _resultobj
= Py_BuildValue("l",_result
);
1212 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1213 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1214 PyObject
* _resultobj
;
1218 PyObject
* _obj0
= 0;
1219 char *_kwnames
[] = { "self", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1226 if (! wxSize_helper(_obj0
, &_arg0
))
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 _result
= (long )wxSize_GetWidth(_arg0
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) return NULL
;
1235 } _resultobj
= Py_BuildValue("l",_result
);
1239 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1240 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1245 PyObject
* _obj0
= 0;
1246 char *_kwnames
[] = { "self", NULL
};
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1253 if (! wxSize_helper(_obj0
, &_arg0
))
1257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1258 _result
= (long )wxSize_GetHeight(_arg0
);
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) return NULL
;
1262 } _resultobj
= Py_BuildValue("l",_result
);
1266 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1267 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1272 PyObject
* _obj0
= 0;
1273 char *_kwnames
[] = { "self","w", NULL
};
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1280 if (! wxSize_helper(_obj0
, &_arg0
))
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 wxSize_SetWidth(_arg0
,_arg1
);
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) return NULL
;
1289 } Py_INCREF(Py_None
);
1290 _resultobj
= Py_None
;
1294 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1295 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1300 PyObject
* _obj0
= 0;
1301 char *_kwnames
[] = { "self","h", NULL
};
1304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1308 if (! wxSize_helper(_obj0
, &_arg0
))
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 wxSize_SetHeight(_arg0
,_arg1
);
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) return NULL
;
1317 } Py_INCREF(Py_None
);
1318 _resultobj
= Py_None
;
1322 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1323 PyObject
* tup
= PyTuple_New(2);
1324 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1325 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1328 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1333 PyObject
* _obj0
= 0;
1334 char *_kwnames
[] = { "self", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1341 if (! wxSize_helper(_obj0
, &_arg0
))
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) return NULL
;
1351 _resultobj
= _result
;
1356 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1358 if (*self
== *sz
) return 0;
1361 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1367 PyObject
* _obj0
= 0;
1369 PyObject
* _obj1
= 0;
1370 char *_kwnames
[] = { "self","sz", NULL
};
1373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1377 if (! wxSize_helper(_obj0
, &_arg0
))
1382 if (! wxSize_helper(_obj1
, &_arg1
))
1386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1387 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1389 wxPyEndAllowThreads(__tstate
);
1390 if (PyErr_Occurred()) return NULL
;
1391 } _resultobj
= Py_BuildValue("i",_result
);
1395 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1396 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
* _resultobj
;
1399 wxRealPoint
* _arg0
;
1402 PyObject
* _obj0
= 0;
1403 char *_kwnames
[] = { "self","x", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1410 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1415 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1417 wxPyEndAllowThreads(__tstate
);
1418 if (PyErr_Occurred()) return NULL
;
1419 } _resultobj
= Py_BuildValue("d",_result
);
1423 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1424 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1427 wxRealPoint
* _arg0
;
1429 PyObject
* _obj0
= 0;
1430 char *_kwnames
[] = { "self", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1437 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1442 _result
= (double )wxRealPoint_x_get(_arg0
);
1444 wxPyEndAllowThreads(__tstate
);
1445 if (PyErr_Occurred()) return NULL
;
1446 } _resultobj
= Py_BuildValue("d",_result
);
1450 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1451 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1454 wxRealPoint
* _arg0
;
1457 PyObject
* _obj0
= 0;
1458 char *_kwnames
[] = { "self","y", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1465 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) return NULL
;
1474 } _resultobj
= Py_BuildValue("d",_result
);
1478 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1479 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1482 wxRealPoint
* _arg0
;
1484 PyObject
* _obj0
= 0;
1485 char *_kwnames
[] = { "self", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1492 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 _result
= (double )wxRealPoint_y_get(_arg0
);
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) return NULL
;
1501 } _resultobj
= Py_BuildValue("d",_result
);
1505 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1506 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1508 wxRealPoint
* _result
;
1509 double _arg0
= (double ) 0.0;
1510 double _arg1
= (double ) 0.0;
1511 char *_kwnames
[] = { "x","y", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) return NULL
;
1524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1525 _resultobj
= Py_BuildValue("s",_ptemp
);
1528 _resultobj
= Py_None
;
1533 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1534 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1536 wxRealPoint
* _arg0
;
1538 PyObject
* _obj0
= 0;
1539 char *_kwnames
[] = { "self", NULL
};
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1546 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1551 delete_wxRealPoint(_arg0
);
1553 wxPyEndAllowThreads(__tstate
);
1554 if (PyErr_Occurred()) return NULL
;
1555 } Py_INCREF(Py_None
);
1556 _resultobj
= Py_None
;
1560 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1564 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1566 wxRealPoint
* _arg0
;
1570 PyObject
* _obj0
= 0;
1571 char *_kwnames
[] = { "self","x","y", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1578 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) return NULL
;
1587 } Py_INCREF(Py_None
);
1588 _resultobj
= Py_None
;
1592 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1593 PyObject
* tup
= PyTuple_New(2);
1594 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1595 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1598 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1601 wxRealPoint
* _arg0
;
1603 PyObject
* _obj0
= 0;
1604 char *_kwnames
[] = { "self", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1611 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) return NULL
;
1621 _resultobj
= _result
;
1626 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1627 if (! p
) return *self
;
1630 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1632 wxRealPoint
* _result
;
1633 wxRealPoint
* _arg0
;
1634 wxRealPoint
* _arg1
;
1636 PyObject
* _obj0
= 0;
1638 PyObject
* _obj1
= 0;
1639 char *_kwnames
[] = { "self","p", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1647 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1652 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1657 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) return NULL
;
1661 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1662 _resultobj
= Py_BuildValue("s",_ptemp
);
1666 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1667 if (! p
) return *self
;
1670 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1672 wxRealPoint
* _result
;
1673 wxRealPoint
* _arg0
;
1674 wxRealPoint
* _arg1
;
1676 PyObject
* _obj0
= 0;
1678 PyObject
* _obj1
= 0;
1679 char *_kwnames
[] = { "self","p", NULL
};
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1687 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1692 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) return NULL
;
1701 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1702 _resultobj
= Py_BuildValue("s",_ptemp
);
1706 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1708 if (*self
== *p
) return 0;
1711 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
* _resultobj
;
1714 wxRealPoint
* _arg0
;
1715 wxRealPoint
* _arg1
;
1717 PyObject
* _obj0
= 0;
1719 PyObject
* _obj1
= 0;
1720 char *_kwnames
[] = { "self","p", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1727 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1732 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1739 wxPyEndAllowThreads(__tstate
);
1740 if (PyErr_Occurred()) return NULL
;
1741 } _resultobj
= Py_BuildValue("i",_result
);
1745 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1746 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
* _resultobj
;
1752 PyObject
* _obj0
= 0;
1753 char *_kwnames
[] = { "self","x", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1760 if (! wxPoint_helper(_obj0
, &_arg0
))
1764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1765 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1767 wxPyEndAllowThreads(__tstate
);
1768 if (PyErr_Occurred()) return NULL
;
1769 } _resultobj
= Py_BuildValue("l",_result
);
1773 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1774 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1779 PyObject
* _obj0
= 0;
1780 char *_kwnames
[] = { "self", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1787 if (! wxPoint_helper(_obj0
, &_arg0
))
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 _result
= (long )wxPoint_x_get(_arg0
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) return NULL
;
1796 } _resultobj
= Py_BuildValue("l",_result
);
1800 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1801 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1807 PyObject
* _obj0
= 0;
1808 char *_kwnames
[] = { "self","y", NULL
};
1811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1815 if (! wxPoint_helper(_obj0
, &_arg0
))
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) return NULL
;
1824 } _resultobj
= Py_BuildValue("l",_result
);
1828 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1829 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1830 PyObject
* _resultobj
;
1834 PyObject
* _obj0
= 0;
1835 char *_kwnames
[] = { "self", NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1842 if (! wxPoint_helper(_obj0
, &_arg0
))
1846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1847 _result
= (long )wxPoint_y_get(_arg0
);
1849 wxPyEndAllowThreads(__tstate
);
1850 if (PyErr_Occurred()) return NULL
;
1851 } _resultobj
= Py_BuildValue("l",_result
);
1855 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1856 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
* _resultobj
;
1859 long _arg0
= (long ) 0;
1860 long _arg1
= (long ) 0;
1861 char *_kwnames
[] = { "x","y", NULL
};
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) return NULL
;
1874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1875 _resultobj
= Py_BuildValue("s",_ptemp
);
1878 _resultobj
= Py_None
;
1883 #define delete_wxPoint(_swigobj) (delete _swigobj)
1884 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
* _resultobj
;
1888 PyObject
* _obj0
= 0;
1889 char *_kwnames
[] = { "self", NULL
};
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1896 if (! wxPoint_helper(_obj0
, &_arg0
))
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 delete_wxPoint(_arg0
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) return NULL
;
1905 } Py_INCREF(Py_None
);
1906 _resultobj
= Py_None
;
1910 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1914 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
* _resultobj
;
1920 PyObject
* _obj0
= 0;
1921 char *_kwnames
[] = { "self","x","y", NULL
};
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1928 if (! wxPoint_helper(_obj0
, &_arg0
))
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) return NULL
;
1937 } Py_INCREF(Py_None
);
1938 _resultobj
= Py_None
;
1942 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1943 PyObject
* tup
= PyTuple_New(2);
1944 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1945 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1948 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1953 PyObject
* _obj0
= 0;
1954 char *_kwnames
[] = { "self", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1961 if (! wxPoint_helper(_obj0
, &_arg0
))
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) return NULL
;
1971 _resultobj
= _result
;
1976 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1977 if (! p
) return *self
;
1980 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1986 PyObject
* _obj0
= 0;
1988 PyObject
* _obj1
= 0;
1989 char *_kwnames
[] = { "self","p", NULL
};
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1997 if (! wxPoint_helper(_obj0
, &_arg0
))
2002 if (! wxPoint_helper(_obj1
, &_arg1
))
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) return NULL
;
2011 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2012 _resultobj
= Py_BuildValue("s",_ptemp
);
2016 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2017 if (! p
) return *self
;
2020 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2026 PyObject
* _obj0
= 0;
2028 PyObject
* _obj1
= 0;
2029 char *_kwnames
[] = { "self","p", NULL
};
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2037 if (! wxPoint_helper(_obj0
, &_arg0
))
2042 if (! wxPoint_helper(_obj1
, &_arg1
))
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) return NULL
;
2051 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2052 _resultobj
= Py_BuildValue("s",_ptemp
);
2056 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2058 if (*self
== *p
) return 0;
2061 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2067 PyObject
* _obj0
= 0;
2069 PyObject
* _obj1
= 0;
2070 char *_kwnames
[] = { "self","p", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2077 if (! wxPoint_helper(_obj0
, &_arg0
))
2082 if (! wxPoint_helper(_obj1
, &_arg1
))
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) return NULL
;
2091 } _resultobj
= Py_BuildValue("i",_result
);
2095 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2096 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
* _resultobj
;
2099 int _arg0
= (int ) 0;
2100 int _arg1
= (int ) 0;
2101 int _arg2
= (int ) 0;
2102 int _arg3
= (int ) 0;
2103 char *_kwnames
[] = { "x","y","w","h", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) return NULL
;
2116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2117 _resultobj
= Py_BuildValue("s",_ptemp
);
2120 _resultobj
= Py_None
;
2125 #define delete_wxRect(_swigobj) (delete _swigobj)
2126 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2130 PyObject
* _obj0
= 0;
2131 char *_kwnames
[] = { "self", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2138 if (! wxRect_helper(_obj0
, &_arg0
))
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 delete_wxRect(_arg0
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) return NULL
;
2147 } Py_INCREF(Py_None
);
2148 _resultobj
= Py_None
;
2152 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2153 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2158 PyObject
* _obj0
= 0;
2159 char *_kwnames
[] = { "self", NULL
};
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2166 if (! wxRect_helper(_obj0
, &_arg0
))
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 _result
= (int )wxRect_GetX(_arg0
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) return NULL
;
2175 } _resultobj
= Py_BuildValue("i",_result
);
2179 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2180 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2185 PyObject
* _obj0
= 0;
2186 char *_kwnames
[] = { "self","X", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2193 if (! wxRect_helper(_obj0
, &_arg0
))
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 wxRect_SetX(_arg0
,_arg1
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) return NULL
;
2202 } Py_INCREF(Py_None
);
2203 _resultobj
= Py_None
;
2207 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2208 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2213 PyObject
* _obj0
= 0;
2214 char *_kwnames
[] = { "self", NULL
};
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2221 if (! wxRect_helper(_obj0
, &_arg0
))
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 _result
= (int )wxRect_GetY(_arg0
);
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) return NULL
;
2230 } _resultobj
= Py_BuildValue("i",_result
);
2234 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2235 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2240 PyObject
* _obj0
= 0;
2241 char *_kwnames
[] = { "self","Y", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2248 if (! wxRect_helper(_obj0
, &_arg0
))
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 wxRect_SetY(_arg0
,_arg1
);
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) return NULL
;
2257 } Py_INCREF(Py_None
);
2258 _resultobj
= Py_None
;
2262 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2263 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
* _resultobj
;
2268 PyObject
* _obj0
= 0;
2269 char *_kwnames
[] = { "self", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2276 if (! wxRect_helper(_obj0
, &_arg0
))
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 _result
= (int )wxRect_GetWidth(_arg0
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) return NULL
;
2285 } _resultobj
= Py_BuildValue("i",_result
);
2289 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2290 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
* _resultobj
;
2295 PyObject
* _obj0
= 0;
2296 char *_kwnames
[] = { "self","w", NULL
};
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2303 if (! wxRect_helper(_obj0
, &_arg0
))
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 wxRect_SetWidth(_arg0
,_arg1
);
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) return NULL
;
2312 } Py_INCREF(Py_None
);
2313 _resultobj
= Py_None
;
2317 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2318 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
* _resultobj
;
2323 PyObject
* _obj0
= 0;
2324 char *_kwnames
[] = { "self", NULL
};
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2331 if (! wxRect_helper(_obj0
, &_arg0
))
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2336 _result
= (int )wxRect_GetHeight(_arg0
);
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) return NULL
;
2340 } _resultobj
= Py_BuildValue("i",_result
);
2344 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2345 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2350 PyObject
* _obj0
= 0;
2351 char *_kwnames
[] = { "self","h", NULL
};
2354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2358 if (! wxRect_helper(_obj0
, &_arg0
))
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2363 wxRect_SetHeight(_arg0
,_arg1
);
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) return NULL
;
2367 } Py_INCREF(Py_None
);
2368 _resultobj
= Py_None
;
2372 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2373 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
* _resultobj
;
2378 PyObject
* _obj0
= 0;
2379 char *_kwnames
[] = { "self", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2387 if (! wxRect_helper(_obj0
, &_arg0
))
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) return NULL
;
2396 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2397 _resultobj
= Py_BuildValue("s",_ptemp
);
2401 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2402 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
* _resultobj
;
2407 PyObject
* _obj0
= 0;
2408 char *_kwnames
[] = { "self", NULL
};
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2416 if (! wxRect_helper(_obj0
, &_arg0
))
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 _result
= new wxSize (wxRect_GetSize(_arg0
));
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) return NULL
;
2425 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2426 _resultobj
= Py_BuildValue("s",_ptemp
);
2430 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2431 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2436 PyObject
* _obj0
= 0;
2437 char *_kwnames
[] = { "self", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2444 if (! wxRect_helper(_obj0
, &_arg0
))
2448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2449 _result
= (int )wxRect_GetLeft(_arg0
);
2451 wxPyEndAllowThreads(__tstate
);
2452 if (PyErr_Occurred()) return NULL
;
2453 } _resultobj
= Py_BuildValue("i",_result
);
2457 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2458 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2463 PyObject
* _obj0
= 0;
2464 char *_kwnames
[] = { "self", NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2471 if (! wxRect_helper(_obj0
, &_arg0
))
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2476 _result
= (int )wxRect_GetTop(_arg0
);
2478 wxPyEndAllowThreads(__tstate
);
2479 if (PyErr_Occurred()) return NULL
;
2480 } _resultobj
= Py_BuildValue("i",_result
);
2484 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2485 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
* _resultobj
;
2490 PyObject
* _obj0
= 0;
2491 char *_kwnames
[] = { "self", NULL
};
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2498 if (! wxRect_helper(_obj0
, &_arg0
))
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2503 _result
= (int )wxRect_GetBottom(_arg0
);
2505 wxPyEndAllowThreads(__tstate
);
2506 if (PyErr_Occurred()) return NULL
;
2507 } _resultobj
= Py_BuildValue("i",_result
);
2511 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2512 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
* _resultobj
;
2517 PyObject
* _obj0
= 0;
2518 char *_kwnames
[] = { "self", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2525 if (! wxRect_helper(_obj0
, &_arg0
))
2529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 _result
= (int )wxRect_GetRight(_arg0
);
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) return NULL
;
2534 } _resultobj
= Py_BuildValue("i",_result
);
2538 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2539 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2544 PyObject
* _obj0
= 0;
2545 char *_kwnames
[] = { "self","left", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2552 if (! wxRect_helper(_obj0
, &_arg0
))
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 wxRect_SetLeft(_arg0
,_arg1
);
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) return NULL
;
2561 } Py_INCREF(Py_None
);
2562 _resultobj
= Py_None
;
2566 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2567 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
* _resultobj
;
2572 PyObject
* _obj0
= 0;
2573 char *_kwnames
[] = { "self","right", NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2580 if (! wxRect_helper(_obj0
, &_arg0
))
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 wxRect_SetRight(_arg0
,_arg1
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) return NULL
;
2589 } Py_INCREF(Py_None
);
2590 _resultobj
= Py_None
;
2594 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2595 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
* _resultobj
;
2600 PyObject
* _obj0
= 0;
2601 char *_kwnames
[] = { "self","top", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2608 if (! wxRect_helper(_obj0
, &_arg0
))
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 wxRect_SetTop(_arg0
,_arg1
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) return NULL
;
2617 } Py_INCREF(Py_None
);
2618 _resultobj
= Py_None
;
2622 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2623 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2628 PyObject
* _obj0
= 0;
2629 char *_kwnames
[] = { "self","bottom", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2636 if (! wxRect_helper(_obj0
, &_arg0
))
2640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2641 wxRect_SetBottom(_arg0
,_arg1
);
2643 wxPyEndAllowThreads(__tstate
);
2644 if (PyErr_Occurred()) return NULL
;
2645 } Py_INCREF(Py_None
);
2646 _resultobj
= Py_None
;
2650 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2651 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2657 PyObject
* _obj0
= 0;
2658 char *_kwnames
[] = { "self","dx","dy", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2665 if (! wxRect_helper(_obj0
, &_arg0
))
2669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2670 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2672 wxPyEndAllowThreads(__tstate
);
2673 if (PyErr_Occurred()) return NULL
;
2674 } Py_INCREF(Py_None
);
2675 _resultobj
= Py_None
;
2679 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2680 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
* _resultobj
;
2687 PyObject
* _obj0
= 0;
2688 char *_kwnames
[] = { "self","cx","cy", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2695 if (! wxRect_helper(_obj0
, &_arg0
))
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2704 } _resultobj
= Py_BuildValue("i",_result
);
2708 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2709 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2715 PyObject
* _obj0
= 0;
2716 char *_kwnames
[] = { "self","x", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2723 if (! wxRect_helper(_obj0
, &_arg0
))
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) return NULL
;
2732 } _resultobj
= Py_BuildValue("i",_result
);
2736 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2737 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2742 PyObject
* _obj0
= 0;
2743 char *_kwnames
[] = { "self", NULL
};
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2750 if (! wxRect_helper(_obj0
, &_arg0
))
2754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2755 _result
= (int )wxRect_x_get(_arg0
);
2757 wxPyEndAllowThreads(__tstate
);
2758 if (PyErr_Occurred()) return NULL
;
2759 } _resultobj
= Py_BuildValue("i",_result
);
2763 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2764 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
* _resultobj
;
2770 PyObject
* _obj0
= 0;
2771 char *_kwnames
[] = { "self","y", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2778 if (! wxRect_helper(_obj0
, &_arg0
))
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2783 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) return NULL
;
2787 } _resultobj
= Py_BuildValue("i",_result
);
2791 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2792 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
* _resultobj
;
2797 PyObject
* _obj0
= 0;
2798 char *_kwnames
[] = { "self", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2805 if (! wxRect_helper(_obj0
, &_arg0
))
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 _result
= (int )wxRect_y_get(_arg0
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) return NULL
;
2814 } _resultobj
= Py_BuildValue("i",_result
);
2818 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2819 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
* _resultobj
;
2825 PyObject
* _obj0
= 0;
2826 char *_kwnames
[] = { "self","width", NULL
};
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2833 if (! wxRect_helper(_obj0
, &_arg0
))
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) return NULL
;
2842 } _resultobj
= Py_BuildValue("i",_result
);
2846 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2847 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2852 PyObject
* _obj0
= 0;
2853 char *_kwnames
[] = { "self", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2860 if (! wxRect_helper(_obj0
, &_arg0
))
2864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 _result
= (int )wxRect_width_get(_arg0
);
2867 wxPyEndAllowThreads(__tstate
);
2868 if (PyErr_Occurred()) return NULL
;
2869 } _resultobj
= Py_BuildValue("i",_result
);
2873 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2874 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2880 PyObject
* _obj0
= 0;
2881 char *_kwnames
[] = { "self","height", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2888 if (! wxRect_helper(_obj0
, &_arg0
))
2892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2893 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) return NULL
;
2897 } _resultobj
= Py_BuildValue("i",_result
);
2901 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2902 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
* _resultobj
;
2907 PyObject
* _obj0
= 0;
2908 char *_kwnames
[] = { "self", NULL
};
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2915 if (! wxRect_helper(_obj0
, &_arg0
))
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 _result
= (int )wxRect_height_get(_arg0
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) return NULL
;
2924 } _resultobj
= Py_BuildValue("i",_result
);
2928 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2929 PyObject
* tup
= PyTuple_New(4);
2930 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2931 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2932 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2933 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2936 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2941 PyObject
* _obj0
= 0;
2942 char *_kwnames
[] = { "self", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2949 if (! wxRect_helper(_obj0
, &_arg0
))
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) return NULL
;
2959 _resultobj
= _result
;
2964 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2965 if (! rect
) return *self
;
2966 return *self
+ *rect
;
2968 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2974 PyObject
* _obj0
= 0;
2976 PyObject
* _obj1
= 0;
2977 char *_kwnames
[] = { "self","rect", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2985 if (! wxRect_helper(_obj0
, &_arg0
))
2990 if (! wxRect_helper(_obj1
, &_arg1
))
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) return NULL
;
2999 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3000 _resultobj
= Py_BuildValue("s",_ptemp
);
3004 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3005 if (! rect
) return 1;
3006 if (*self
== *rect
) return 0;
3009 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3015 PyObject
* _obj0
= 0;
3017 PyObject
* _obj1
= 0;
3018 char *_kwnames
[] = { "self","rect", NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3025 if (! wxRect_helper(_obj0
, &_arg0
))
3030 if (! wxRect_helper(_obj1
, &_arg1
))
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) return NULL
;
3039 } _resultobj
= Py_BuildValue("i",_result
);
3043 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3044 wxIndividualLayoutConstraint
*src
;
3046 src
= (wxIndividualLayoutConstraint
*) ptr
;
3047 dest
= (wxObject
*) src
;
3048 return (void *) dest
;
3051 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3052 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3054 wxIndividualLayoutConstraint
* _arg0
;
3056 int _arg2
= (int ) 0;
3057 PyObject
* _argo0
= 0;
3058 PyObject
* _argo1
= 0;
3059 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) return NULL
;
3084 } Py_INCREF(Py_None
);
3085 _resultobj
= Py_None
;
3089 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3090 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3092 wxIndividualLayoutConstraint
* _arg0
;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "self","value", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3109 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3111 wxPyEndAllowThreads(__tstate
);
3112 if (PyErr_Occurred()) return NULL
;
3113 } Py_INCREF(Py_None
);
3114 _resultobj
= Py_None
;
3118 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3119 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3121 wxIndividualLayoutConstraint
* _arg0
;
3122 PyObject
* _argo0
= 0;
3123 char *_kwnames
[] = { "self", NULL
};
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 wxIndividualLayoutConstraint_AsIs(_arg0
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) return NULL
;
3141 } Py_INCREF(Py_None
);
3142 _resultobj
= Py_None
;
3146 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3147 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3149 wxIndividualLayoutConstraint
* _arg0
;
3151 int _arg2
= (int ) 0;
3152 PyObject
* _argo0
= 0;
3153 PyObject
* _argo1
= 0;
3154 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) return NULL
;
3179 } Py_INCREF(Py_None
);
3180 _resultobj
= Py_None
;
3184 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3185 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
* _resultobj
;
3187 wxIndividualLayoutConstraint
* _arg0
;
3188 PyObject
* _argo0
= 0;
3189 char *_kwnames
[] = { "self", NULL
};
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) return NULL
;
3207 } Py_INCREF(Py_None
);
3208 _resultobj
= Py_None
;
3212 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3213 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3215 wxIndividualLayoutConstraint
* _arg0
;
3217 int _arg2
= (int ) 0;
3218 PyObject
* _argo0
= 0;
3219 PyObject
* _argo1
= 0;
3220 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3250 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3251 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3253 wxIndividualLayoutConstraint
* _arg0
;
3257 PyObject
* _argo0
= 0;
3258 PyObject
* _argo1
= 0;
3259 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3280 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3282 wxPyEndAllowThreads(__tstate
);
3283 if (PyErr_Occurred()) return NULL
;
3284 } Py_INCREF(Py_None
);
3285 _resultobj
= Py_None
;
3289 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3290 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3292 wxIndividualLayoutConstraint
* _arg0
;
3294 int _arg2
= (int ) 0;
3295 PyObject
* _argo0
= 0;
3296 PyObject
* _argo1
= 0;
3297 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) return NULL
;
3322 } Py_INCREF(Py_None
);
3323 _resultobj
= Py_None
;
3327 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3328 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
* _resultobj
;
3330 wxIndividualLayoutConstraint
* _arg0
;
3333 int _arg3
= (int ) 0;
3334 PyObject
* _argo0
= 0;
3335 PyObject
* _argo1
= 0;
3336 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3349 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3350 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) return NULL
;
3361 } Py_INCREF(Py_None
);
3362 _resultobj
= Py_None
;
3366 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3367 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
* _resultobj
;
3369 wxIndividualLayoutConstraint
* _arg0
;
3370 wxRelationship _arg1
;
3373 int _arg4
= (int ) 0;
3374 int _arg5
= (int ) 0;
3375 PyObject
* _argo0
= 0;
3376 PyObject
* _argo2
= 0;
3377 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3390 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) return NULL
;
3402 } Py_INCREF(Py_None
);
3403 _resultobj
= Py_None
;
3407 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3408 wxLayoutConstraints
*src
;
3410 src
= (wxLayoutConstraints
*) ptr
;
3411 dest
= (wxObject
*) src
;
3412 return (void *) dest
;
3415 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3416 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3418 wxLayoutConstraints
* _result
;
3419 char *_kwnames
[] = { NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) return NULL
;
3432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3433 _resultobj
= Py_BuildValue("s",_ptemp
);
3436 _resultobj
= Py_None
;
3441 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3442 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
* _resultobj
;
3444 wxIndividualLayoutConstraint
* _result
;
3445 wxLayoutConstraints
* _arg0
;
3446 PyObject
* _argo0
= 0;
3447 char *_kwnames
[] = { "self", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) return NULL
;
3467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3468 _resultobj
= Py_BuildValue("s",_ptemp
);
3471 _resultobj
= Py_None
;
3476 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3477 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxIndividualLayoutConstraint
* _result
;
3480 wxLayoutConstraints
* _arg0
;
3481 PyObject
* _argo0
= 0;
3482 char *_kwnames
[] = { "self", NULL
};
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) return NULL
;
3502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3503 _resultobj
= Py_BuildValue("s",_ptemp
);
3506 _resultobj
= Py_None
;
3511 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3512 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3514 wxIndividualLayoutConstraint
* _result
;
3515 wxLayoutConstraints
* _arg0
;
3516 PyObject
* _argo0
= 0;
3517 char *_kwnames
[] = { "self", NULL
};
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) return NULL
;
3537 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3538 _resultobj
= Py_BuildValue("s",_ptemp
);
3541 _resultobj
= Py_None
;
3546 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3547 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3549 wxIndividualLayoutConstraint
* _result
;
3550 wxLayoutConstraints
* _arg0
;
3551 PyObject
* _argo0
= 0;
3552 char *_kwnames
[] = { "self", NULL
};
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) return NULL
;
3572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3573 _resultobj
= Py_BuildValue("s",_ptemp
);
3576 _resultobj
= Py_None
;
3581 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3582 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
* _resultobj
;
3584 wxIndividualLayoutConstraint
* _result
;
3585 wxLayoutConstraints
* _arg0
;
3586 PyObject
* _argo0
= 0;
3587 char *_kwnames
[] = { "self", NULL
};
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) return NULL
;
3607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3608 _resultobj
= Py_BuildValue("s",_ptemp
);
3611 _resultobj
= Py_None
;
3616 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3617 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
* _resultobj
;
3619 wxIndividualLayoutConstraint
* _result
;
3620 wxLayoutConstraints
* _arg0
;
3621 PyObject
* _argo0
= 0;
3622 char *_kwnames
[] = { "self", NULL
};
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) return NULL
;
3642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3643 _resultobj
= Py_BuildValue("s",_ptemp
);
3646 _resultobj
= Py_None
;
3651 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3652 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3654 wxIndividualLayoutConstraint
* _result
;
3655 wxLayoutConstraints
* _arg0
;
3656 PyObject
* _argo0
= 0;
3657 char *_kwnames
[] = { "self", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) return NULL
;
3677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3678 _resultobj
= Py_BuildValue("s",_ptemp
);
3681 _resultobj
= Py_None
;
3686 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3687 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3689 wxIndividualLayoutConstraint
* _result
;
3690 wxLayoutConstraints
* _arg0
;
3691 PyObject
* _argo0
= 0;
3692 char *_kwnames
[] = { "self", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) return NULL
;
3712 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3713 _resultobj
= Py_BuildValue("s",_ptemp
);
3716 _resultobj
= Py_None
;
3721 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3722 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
* _resultobj
;
3724 wxAcceleratorEntry
* _result
;
3725 int _arg0
= (int ) 0;
3726 int _arg1
= (int ) 0;
3727 int _arg2
= (int ) 0;
3728 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) return NULL
;
3741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3742 _resultobj
= Py_BuildValue("s",_ptemp
);
3745 _resultobj
= Py_None
;
3750 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3751 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
* _resultobj
;
3753 wxAcceleratorEntry
* _arg0
;
3754 PyObject
* _argo0
= 0;
3755 char *_kwnames
[] = { "self", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 delete_wxAcceleratorEntry(_arg0
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) return NULL
;
3773 } Py_INCREF(Py_None
);
3774 _resultobj
= Py_None
;
3778 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3779 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
* _resultobj
;
3781 wxAcceleratorEntry
* _arg0
;
3785 PyObject
* _argo0
= 0;
3786 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) return NULL
;
3804 } Py_INCREF(Py_None
);
3805 _resultobj
= Py_None
;
3809 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3810 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3813 wxAcceleratorEntry
* _arg0
;
3814 PyObject
* _argo0
= 0;
3815 char *_kwnames
[] = { "self", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) return NULL
;
3833 } _resultobj
= Py_BuildValue("i",_result
);
3837 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3838 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
* _resultobj
;
3841 wxAcceleratorEntry
* _arg0
;
3842 PyObject
* _argo0
= 0;
3843 char *_kwnames
[] = { "self", NULL
};
3846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) return NULL
;
3861 } _resultobj
= Py_BuildValue("i",_result
);
3865 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3866 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
* _resultobj
;
3869 wxAcceleratorEntry
* _arg0
;
3870 PyObject
* _argo0
= 0;
3871 char *_kwnames
[] = { "self", NULL
};
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) return NULL
;
3889 } _resultobj
= Py_BuildValue("i",_result
);
3893 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3894 wxAcceleratorTable
*src
;
3896 src
= (wxAcceleratorTable
*) ptr
;
3897 dest
= (wxObject
*) src
;
3898 return (void *) dest
;
3901 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3902 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3904 wxAcceleratorTable
* _result
;
3906 wxAcceleratorEntry
* _arg1
;
3907 PyObject
* _obj1
= 0;
3908 char *_kwnames
[] = { "choices", NULL
};
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3916 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3917 if (_arg1
== NULL
) {
3923 _arg0
= PyList_Size(_obj1
);
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) return NULL
;
3936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3937 _resultobj
= Py_BuildValue("s",_ptemp
);
3940 _resultobj
= Py_None
;
3948 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
3949 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3951 wxAcceleratorTable
* _arg0
;
3952 PyObject
* _argo0
= 0;
3953 char *_kwnames
[] = { "self", NULL
};
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
3959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
3961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 delete_wxAcceleratorTable(_arg0
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) return NULL
;
3971 } Py_INCREF(Py_None
);
3972 _resultobj
= Py_None
;
3976 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
3979 src
= (wxBusyInfo
*) ptr
;
3980 dest
= (wxObject
*) src
;
3981 return (void *) dest
;
3984 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
3985 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
* _resultobj
;
3987 wxBusyInfo
* _result
;
3989 PyObject
* _obj0
= 0;
3990 char *_kwnames
[] = { "message", NULL
};
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
3997 #if PYTHON_API_VERSION >= 1009
3998 char* tmpPtr
; int tmpSize
;
3999 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4000 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4003 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4005 _arg0
= new wxString(tmpPtr
, tmpSize
);
4007 if (!PyString_Check(_obj0
)) {
4008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4011 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) return NULL
;
4021 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4022 _resultobj
= Py_BuildValue("s",_ptemp
);
4025 _resultobj
= Py_None
;
4034 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4035 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4038 PyObject
* _argo0
= 0;
4039 char *_kwnames
[] = { "self", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 delete_wxBusyInfo(_arg0
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) return NULL
;
4057 } Py_INCREF(Py_None
);
4058 _resultobj
= Py_None
;
4062 static PyMethodDef misccMethods
[] = {
4063 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4064 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4065 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4066 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4067 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4068 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4069 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4070 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4071 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4072 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4073 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4074 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4075 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4076 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4077 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4078 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4079 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4080 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4081 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4082 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4083 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4084 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4085 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4086 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4087 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4088 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4089 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4090 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4091 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4092 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4093 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4094 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4095 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4096 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4097 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4098 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4099 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4100 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4101 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4102 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4103 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4104 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4105 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4106 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4107 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4108 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4109 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4110 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4111 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4112 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4113 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4114 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4115 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4116 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4117 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4118 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4119 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4120 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4121 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4122 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4123 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4124 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4125 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4126 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4127 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4128 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4129 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4205 * This table is used by the pointer type-checker
4207 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4208 { "_signed_long","_long",0},
4209 { "_wxPrintQuality","_wxCoord",0},
4210 { "_wxPrintQuality","_int",0},
4211 { "_wxPrintQuality","_signed_int",0},
4212 { "_wxPrintQuality","_unsigned_int",0},
4213 { "_wxPrintQuality","_wxWindowID",0},
4214 { "_wxPrintQuality","_uint",0},
4215 { "_wxPrintQuality","_EBool",0},
4216 { "_wxPrintQuality","_size_t",0},
4217 { "_wxPrintQuality","_time_t",0},
4218 { "_byte","_unsigned_char",0},
4219 { "_long","_unsigned_long",0},
4220 { "_long","_signed_long",0},
4221 { "_size_t","_wxCoord",0},
4222 { "_size_t","_wxPrintQuality",0},
4223 { "_size_t","_time_t",0},
4224 { "_size_t","_unsigned_int",0},
4225 { "_size_t","_int",0},
4226 { "_size_t","_wxWindowID",0},
4227 { "_size_t","_uint",0},
4228 { "_uint","_wxCoord",0},
4229 { "_uint","_wxPrintQuality",0},
4230 { "_uint","_time_t",0},
4231 { "_uint","_size_t",0},
4232 { "_uint","_unsigned_int",0},
4233 { "_uint","_int",0},
4234 { "_uint","_wxWindowID",0},
4235 { "_wxChar","_char",0},
4236 { "_char","_wxChar",0},
4237 { "_EBool","_wxCoord",0},
4238 { "_EBool","_wxPrintQuality",0},
4239 { "_EBool","_signed_int",0},
4240 { "_EBool","_int",0},
4241 { "_EBool","_wxWindowID",0},
4242 { "_unsigned_long","_long",0},
4243 { "_signed_int","_wxCoord",0},
4244 { "_signed_int","_wxPrintQuality",0},
4245 { "_signed_int","_EBool",0},
4246 { "_signed_int","_wxWindowID",0},
4247 { "_signed_int","_int",0},
4248 { "_WXTYPE","_short",0},
4249 { "_WXTYPE","_signed_short",0},
4250 { "_WXTYPE","_unsigned_short",0},
4251 { "_unsigned_short","_WXTYPE",0},
4252 { "_unsigned_short","_short",0},
4253 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4254 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4255 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4256 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4257 { "_signed_short","_WXTYPE",0},
4258 { "_signed_short","_short",0},
4259 { "_unsigned_char","_byte",0},
4260 { "_unsigned_int","_wxCoord",0},
4261 { "_unsigned_int","_wxPrintQuality",0},
4262 { "_unsigned_int","_time_t",0},
4263 { "_unsigned_int","_size_t",0},
4264 { "_unsigned_int","_uint",0},
4265 { "_unsigned_int","_wxWindowID",0},
4266 { "_unsigned_int","_int",0},
4267 { "_short","_WXTYPE",0},
4268 { "_short","_unsigned_short",0},
4269 { "_short","_signed_short",0},
4270 { "_wxWindowID","_wxCoord",0},
4271 { "_wxWindowID","_wxPrintQuality",0},
4272 { "_wxWindowID","_time_t",0},
4273 { "_wxWindowID","_size_t",0},
4274 { "_wxWindowID","_EBool",0},
4275 { "_wxWindowID","_uint",0},
4276 { "_wxWindowID","_int",0},
4277 { "_wxWindowID","_signed_int",0},
4278 { "_wxWindowID","_unsigned_int",0},
4279 { "_int","_wxCoord",0},
4280 { "_int","_wxPrintQuality",0},
4281 { "_int","_time_t",0},
4282 { "_int","_size_t",0},
4283 { "_int","_EBool",0},
4284 { "_int","_uint",0},
4285 { "_int","_wxWindowID",0},
4286 { "_int","_unsigned_int",0},
4287 { "_int","_signed_int",0},
4288 { "_time_t","_wxCoord",0},
4289 { "_time_t","_wxPrintQuality",0},
4290 { "_time_t","_unsigned_int",0},
4291 { "_time_t","_int",0},
4292 { "_time_t","_wxWindowID",0},
4293 { "_time_t","_uint",0},
4294 { "_time_t","_size_t",0},
4295 { "_wxCoord","_int",0},
4296 { "_wxCoord","_signed_int",0},
4297 { "_wxCoord","_unsigned_int",0},
4298 { "_wxCoord","_wxWindowID",0},
4299 { "_wxCoord","_uint",0},
4300 { "_wxCoord","_EBool",0},
4301 { "_wxCoord","_size_t",0},
4302 { "_wxCoord","_time_t",0},
4303 { "_wxCoord","_wxPrintQuality",0},
4306 static PyObject
*SWIG_globals
;
4310 SWIGEXPORT(void) initmiscc() {
4312 SWIG_globals
= SWIG_newvarlink();
4313 m
= Py_InitModule("miscc", misccMethods
);
4314 d
= PyModule_GetDict(m
);
4315 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4316 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4317 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4318 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4319 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4320 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4321 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4322 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4323 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4324 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4325 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4326 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4327 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4328 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4329 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4330 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4331 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4332 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4333 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4334 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4335 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4338 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4339 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);