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>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 #if PYTHON_API_VERSION >= 1009
110 static char* wxStringErrorMsg
= "String or Unicode type required";
112 static char* wxStringErrorMsg
= "string type is required for parameter";
115 static wxString
wxPyEmptyStr("");
117 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
120 wxRect
dest(0,0,0,0);
123 reg1
.Intersect(reg2
);
124 dest
= reg1
.GetBox();
126 if (dest
!= wxRect(0,0,0,0)) {
127 bool doSave
= wxPyRestoreThread();
128 wxRect
* newRect
= new wxRect(dest
);
129 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
130 PyObject
* one
= PyInt_FromLong(1);
131 PyObject_SetAttrString(obj
, "thisown", one
);
133 wxPySaveThread(doSave
);
140 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
142 wxGetResource(section
, entry
, &retval
, file
);
146 #if 0 // we want to use the definition from the header, not the
147 // one SWIG will generate.
148 extern wxAcceleratorTable wxNullAcceleratorTable
;
154 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
155 PyObject
* _resultobj
;
160 PyObject
* _obj0
= 0;
162 PyObject
* _obj1
= 0;
163 char *_kwnames
[] = { "r1","r2", NULL
};
166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
170 if (! wxRect_helper(_obj0
, &_arg0
))
175 if (! wxRect_helper(_obj1
, &_arg1
))
179 wxPy_BEGIN_ALLOW_THREADS
;
180 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
182 wxPy_END_ALLOW_THREADS
;
184 _resultobj
= _result
;
189 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
190 PyObject
* _resultobj
;
192 char *_kwnames
[] = { NULL
};
195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
198 wxPy_BEGIN_ALLOW_THREADS
;
199 _result
= (long )wxNewId();
201 wxPy_END_ALLOW_THREADS
;
202 } _resultobj
= Py_BuildValue("l",_result
);
206 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
207 PyObject
* _resultobj
;
209 char *_kwnames
[] = { "id", NULL
};
212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
215 wxPy_BEGIN_ALLOW_THREADS
;
218 wxPy_END_ALLOW_THREADS
;
219 } Py_INCREF(Py_None
);
220 _resultobj
= Py_None
;
224 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
225 PyObject
* _resultobj
;
227 char *_kwnames
[] = { NULL
};
230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
233 wxPy_BEGIN_ALLOW_THREADS
;
234 _result
= (long )wxNewId();
236 wxPy_END_ALLOW_THREADS
;
237 } _resultobj
= Py_BuildValue("l",_result
);
241 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
244 char *_kwnames
[] = { "id", NULL
};
247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
250 wxPy_BEGIN_ALLOW_THREADS
;
253 wxPy_END_ALLOW_THREADS
;
254 } Py_INCREF(Py_None
);
255 _resultobj
= Py_None
;
259 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
262 char *_kwnames
[] = { NULL
};
265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
268 wxPy_BEGIN_ALLOW_THREADS
;
269 _result
= (long )wxGetCurrentId();
271 wxPy_END_ALLOW_THREADS
;
272 } _resultobj
= Py_BuildValue("l",_result
);
276 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
277 PyObject
* _resultobj
;
278 char *_kwnames
[] = { NULL
};
281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
284 wxPy_BEGIN_ALLOW_THREADS
;
287 wxPy_END_ALLOW_THREADS
;
288 } Py_INCREF(Py_None
);
289 _resultobj
= Py_None
;
293 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
295 char *_kwnames
[] = { NULL
};
298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
301 wxPy_BEGIN_ALLOW_THREADS
;
304 wxPy_END_ALLOW_THREADS
;
305 } Py_INCREF(Py_None
);
306 _resultobj
= Py_None
;
310 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
313 bool _arg0
= (bool ) TRUE
;
314 int tempbool0
= (int) TRUE
;
315 char *_kwnames
[] = { "resetTimer", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
320 _arg0
= (bool ) tempbool0
;
322 wxPy_BEGIN_ALLOW_THREADS
;
323 _result
= (long )wxGetElapsedTime(_arg0
);
325 wxPy_END_ALLOW_THREADS
;
326 } _resultobj
= Py_BuildValue("l",_result
);
330 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
333 char *_kwnames
[] = { NULL
};
336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
339 wxPy_BEGIN_ALLOW_THREADS
;
340 _result
= (long )wxGetFreeMemory();
342 wxPy_END_ALLOW_THREADS
;
343 } _resultobj
= Py_BuildValue("l",_result
);
347 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
353 char *_kwnames
[] = { NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
365 wxPy_BEGIN_ALLOW_THREADS
;
366 wxGetMousePosition(_arg0
,_arg1
);
368 wxPy_END_ALLOW_THREADS
;
369 } Py_INCREF(Py_None
);
370 _resultobj
= Py_None
;
373 o
= PyInt_FromLong((long) (*_arg0
));
374 _resultobj
= t_output_helper(_resultobj
, o
);
378 o
= PyInt_FromLong((long) (*_arg1
));
379 _resultobj
= t_output_helper(_resultobj
, o
);
384 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
385 PyObject
* _resultobj
;
387 char *_kwnames
[] = { NULL
};
390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
393 wxPy_BEGIN_ALLOW_THREADS
;
394 _result
= (bool )wxIsBusy();
396 wxPy_END_ALLOW_THREADS
;
397 } _resultobj
= Py_BuildValue("i",_result
);
401 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
404 char *_kwnames
[] = { NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
410 wxPy_BEGIN_ALLOW_THREADS
;
411 _result
= new wxString (wxNow());
413 wxPy_END_ALLOW_THREADS
;
415 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
423 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
426 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
427 PyObject
* _obj0
= 0;
428 char *_kwnames
[] = { "command", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
435 #if PYTHON_API_VERSION >= 1009
436 char* tmpPtr
; int tmpSize
;
437 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
441 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
443 _arg0
= new wxString(tmpPtr
, tmpSize
);
445 if (!PyString_Check(_obj0
)) {
446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
449 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
453 wxPy_BEGIN_ALLOW_THREADS
;
454 _result
= (bool )wxShell(*_arg0
);
456 wxPy_END_ALLOW_THREADS
;
457 } _resultobj
= Py_BuildValue("i",_result
);
465 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
467 char *_kwnames
[] = { NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
473 wxPy_BEGIN_ALLOW_THREADS
;
476 wxPy_END_ALLOW_THREADS
;
477 } Py_INCREF(Py_None
);
478 _resultobj
= Py_None
;
482 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
489 char *_kwnames
[] = { NULL
};
498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
501 wxPy_BEGIN_ALLOW_THREADS
;
502 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
504 wxPy_END_ALLOW_THREADS
;
505 } _resultobj
= Py_BuildValue("i",_result
);
508 o
= PyInt_FromLong((long) (*_arg0
));
509 _resultobj
= t_output_helper(_resultobj
, o
);
513 o
= PyInt_FromLong((long) (*_arg1
));
514 _resultobj
= t_output_helper(_resultobj
, o
);
519 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
522 char *_kwnames
[] = { NULL
};
525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
528 wxPy_BEGIN_ALLOW_THREADS
;
529 _result
= new wxString (wxGetOsDescription());
531 wxPy_END_ALLOW_THREADS
;
533 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
541 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
544 char *_kwnames
[] = { "secs", NULL
};
547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
550 wxPy_BEGIN_ALLOW_THREADS
;
553 wxPy_END_ALLOW_THREADS
;
554 } Py_INCREF(Py_None
);
555 _resultobj
= Py_None
;
559 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
560 PyObject
* _resultobj
;
562 char *_kwnames
[] = { "milliseconds", NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
568 wxPy_BEGIN_ALLOW_THREADS
;
571 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
587 _result
= (bool )wxYield();
589 wxPy_END_ALLOW_THREADS
;
590 } _resultobj
= Py_BuildValue("i",_result
);
594 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 PyObject
* _resultobj
;
597 char *_kwnames
[] = { NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
603 wxPy_BEGIN_ALLOW_THREADS
;
604 _result
= (bool )wxYieldIfNeeded();
606 wxPy_END_ALLOW_THREADS
;
607 } _resultobj
= Py_BuildValue("i",_result
);
611 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
612 PyObject
* _resultobj
;
615 char *_kwnames
[] = { "enable", NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
620 _arg0
= (bool ) tempbool0
;
622 wxPy_BEGIN_ALLOW_THREADS
;
623 wxEnableTopLevelWindows(_arg0
);
625 wxPy_END_ALLOW_THREADS
;
626 } Py_INCREF(Py_None
);
627 _resultobj
= Py_None
;
631 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
636 char * _arg2
= (char *) NULL
;
637 char *_kwnames
[] = { "section","entry","file", NULL
};
640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
643 wxPy_BEGIN_ALLOW_THREADS
;
644 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
646 wxPy_END_ALLOW_THREADS
;
647 } _resultobj
= Py_BuildValue("s", _result
);
651 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
655 PyObject
* _obj0
= 0;
656 char *_kwnames
[] = { "in", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
662 #if PYTHON_API_VERSION >= 1009
663 char* tmpPtr
; int tmpSize
;
664 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
665 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
668 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
670 _arg0
= new wxString(tmpPtr
, tmpSize
);
672 if (!PyString_Check(_obj0
)) {
673 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
676 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
680 wxPy_BEGIN_ALLOW_THREADS
;
681 _result
= new wxString (wxStripMenuCodes(*_arg0
));
683 wxPy_END_ALLOW_THREADS
;
685 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
697 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 PyObject
* _resultobj
;
700 char *_kwnames
[] = { NULL
};
703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
706 wxPy_BEGIN_ALLOW_THREADS
;
707 _result
= new wxString (wxGetEmailAddress());
709 wxPy_END_ALLOW_THREADS
;
711 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
719 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
720 PyObject
* _resultobj
;
722 char *_kwnames
[] = { NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
728 wxPy_BEGIN_ALLOW_THREADS
;
729 _result
= new wxString (wxGetHostName());
731 wxPy_END_ALLOW_THREADS
;
733 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
741 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
744 char *_kwnames
[] = { NULL
};
747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
750 wxPy_BEGIN_ALLOW_THREADS
;
751 _result
= new wxString (wxGetFullHostName());
753 wxPy_END_ALLOW_THREADS
;
755 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
763 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
766 char *_kwnames
[] = { NULL
};
769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
772 wxPy_BEGIN_ALLOW_THREADS
;
773 _result
= new wxString (wxGetUserId());
775 wxPy_END_ALLOW_THREADS
;
777 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
785 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
786 PyObject
* _resultobj
;
788 char *_kwnames
[] = { NULL
};
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
794 wxPy_BEGIN_ALLOW_THREADS
;
795 _result
= new wxString (wxGetUserName());
797 wxPy_END_ALLOW_THREADS
;
799 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
807 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
810 char *_kwnames
[] = { NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
816 wxPy_BEGIN_ALLOW_THREADS
;
817 _result
= new wxString (wxGetHomeDir());
819 wxPy_END_ALLOW_THREADS
;
821 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
829 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
830 PyObject
* _resultobj
;
831 wxAcceleratorEntry
* _result
;
833 PyObject
* _obj0
= 0;
834 char *_kwnames
[] = { "label", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
841 #if PYTHON_API_VERSION >= 1009
842 char* tmpPtr
; int tmpSize
;
843 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
847 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
849 _arg0
= new wxString(tmpPtr
, tmpSize
);
851 if (!PyString_Check(_obj0
)) {
852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
855 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
859 wxPy_BEGIN_ALLOW_THREADS
;
860 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
862 wxPy_END_ALLOW_THREADS
;
864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
865 _resultobj
= Py_BuildValue("s",_ptemp
);
868 _resultobj
= Py_None
;
877 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
879 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
883 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
887 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
888 pyobj
= PyString_FromString(ptemp
);
892 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
893 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
894 PyObject
* _resultobj
;
899 PyObject
* _obj0
= 0;
900 char *_kwnames
[] = { "self","x", NULL
};
903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
907 if (! wxSize_helper(_obj0
, &_arg0
))
911 wxPy_BEGIN_ALLOW_THREADS
;
912 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
914 wxPy_END_ALLOW_THREADS
;
915 } _resultobj
= Py_BuildValue("l",_result
);
919 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
920 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
921 PyObject
* _resultobj
;
925 PyObject
* _obj0
= 0;
926 char *_kwnames
[] = { "self", NULL
};
929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
933 if (! wxSize_helper(_obj0
, &_arg0
))
937 wxPy_BEGIN_ALLOW_THREADS
;
938 _result
= (long )wxSize_x_get(_arg0
);
940 wxPy_END_ALLOW_THREADS
;
941 } _resultobj
= Py_BuildValue("l",_result
);
945 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
946 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
947 PyObject
* _resultobj
;
952 PyObject
* _obj0
= 0;
953 char *_kwnames
[] = { "self","y", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
960 if (! wxSize_helper(_obj0
, &_arg0
))
964 wxPy_BEGIN_ALLOW_THREADS
;
965 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
967 wxPy_END_ALLOW_THREADS
;
968 } _resultobj
= Py_BuildValue("l",_result
);
972 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
973 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
978 PyObject
* _obj0
= 0;
979 char *_kwnames
[] = { "self", NULL
};
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
986 if (! wxSize_helper(_obj0
, &_arg0
))
990 wxPy_BEGIN_ALLOW_THREADS
;
991 _result
= (long )wxSize_y_get(_arg0
);
993 wxPy_END_ALLOW_THREADS
;
994 } _resultobj
= Py_BuildValue("l",_result
);
998 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
999 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1002 long _arg0
= (long ) 0;
1003 long _arg1
= (long ) 0;
1004 char *_kwnames
[] = { "w","h", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1011 wxPy_BEGIN_ALLOW_THREADS
;
1012 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1014 wxPy_END_ALLOW_THREADS
;
1016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1017 _resultobj
= Py_BuildValue("s",_ptemp
);
1020 _resultobj
= Py_None
;
1025 #define delete_wxSize(_swigobj) (delete _swigobj)
1026 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1030 PyObject
* _obj0
= 0;
1031 char *_kwnames
[] = { "self", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1038 if (! wxSize_helper(_obj0
, &_arg0
))
1042 wxPy_BEGIN_ALLOW_THREADS
;
1043 delete_wxSize(_arg0
);
1045 wxPy_END_ALLOW_THREADS
;
1046 } Py_INCREF(Py_None
);
1047 _resultobj
= Py_None
;
1051 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1052 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
* _resultobj
;
1058 PyObject
* _obj0
= 0;
1059 char *_kwnames
[] = { "self","w","h", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1066 if (! wxSize_helper(_obj0
, &_arg0
))
1070 wxPy_BEGIN_ALLOW_THREADS
;
1071 wxSize_Set(_arg0
,_arg1
,_arg2
);
1073 wxPy_END_ALLOW_THREADS
;
1074 } Py_INCREF(Py_None
);
1075 _resultobj
= Py_None
;
1079 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1080 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1085 PyObject
* _obj0
= 0;
1086 char *_kwnames
[] = { "self", NULL
};
1089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1093 if (! wxSize_helper(_obj0
, &_arg0
))
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 _result
= (long )wxSize_GetX(_arg0
);
1100 wxPy_END_ALLOW_THREADS
;
1101 } _resultobj
= Py_BuildValue("l",_result
);
1105 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1106 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1107 PyObject
* _resultobj
;
1111 PyObject
* _obj0
= 0;
1112 char *_kwnames
[] = { "self", NULL
};
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1119 if (! wxSize_helper(_obj0
, &_arg0
))
1123 wxPy_BEGIN_ALLOW_THREADS
;
1124 _result
= (long )wxSize_GetY(_arg0
);
1126 wxPy_END_ALLOW_THREADS
;
1127 } _resultobj
= Py_BuildValue("l",_result
);
1131 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1132 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1133 PyObject
* _resultobj
;
1137 PyObject
* _obj0
= 0;
1138 char *_kwnames
[] = { "self", NULL
};
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1145 if (! wxSize_helper(_obj0
, &_arg0
))
1149 wxPy_BEGIN_ALLOW_THREADS
;
1150 _result
= (long )wxSize_GetWidth(_arg0
);
1152 wxPy_END_ALLOW_THREADS
;
1153 } _resultobj
= Py_BuildValue("l",_result
);
1157 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1158 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1163 PyObject
* _obj0
= 0;
1164 char *_kwnames
[] = { "self", NULL
};
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1171 if (! wxSize_helper(_obj0
, &_arg0
))
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= (long )wxSize_GetHeight(_arg0
);
1178 wxPy_END_ALLOW_THREADS
;
1179 } _resultobj
= Py_BuildValue("l",_result
);
1183 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1184 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1189 PyObject
* _obj0
= 0;
1190 char *_kwnames
[] = { "self","w", NULL
};
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1197 if (! wxSize_helper(_obj0
, &_arg0
))
1201 wxPy_BEGIN_ALLOW_THREADS
;
1202 wxSize_SetWidth(_arg0
,_arg1
);
1204 wxPy_END_ALLOW_THREADS
;
1205 } Py_INCREF(Py_None
);
1206 _resultobj
= Py_None
;
1210 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1211 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
* _resultobj
;
1216 PyObject
* _obj0
= 0;
1217 char *_kwnames
[] = { "self","h", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1224 if (! wxSize_helper(_obj0
, &_arg0
))
1228 wxPy_BEGIN_ALLOW_THREADS
;
1229 wxSize_SetHeight(_arg0
,_arg1
);
1231 wxPy_END_ALLOW_THREADS
;
1232 } Py_INCREF(Py_None
);
1233 _resultobj
= Py_None
;
1237 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1238 PyObject
* tup
= PyTuple_New(2);
1239 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1240 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1243 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1248 PyObject
* _obj0
= 0;
1249 char *_kwnames
[] = { "self", NULL
};
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1256 if (! wxSize_helper(_obj0
, &_arg0
))
1260 wxPy_BEGIN_ALLOW_THREADS
;
1261 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1263 wxPy_END_ALLOW_THREADS
;
1265 _resultobj
= _result
;
1270 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1271 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1274 wxRealPoint
* _arg0
;
1277 PyObject
* _obj0
= 0;
1278 char *_kwnames
[] = { "self","x", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1285 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1289 wxPy_BEGIN_ALLOW_THREADS
;
1290 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1292 wxPy_END_ALLOW_THREADS
;
1293 } _resultobj
= Py_BuildValue("d",_result
);
1297 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1298 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1301 wxRealPoint
* _arg0
;
1303 PyObject
* _obj0
= 0;
1304 char *_kwnames
[] = { "self", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1311 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1315 wxPy_BEGIN_ALLOW_THREADS
;
1316 _result
= (double )wxRealPoint_x_get(_arg0
);
1318 wxPy_END_ALLOW_THREADS
;
1319 } _resultobj
= Py_BuildValue("d",_result
);
1323 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1324 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1327 wxRealPoint
* _arg0
;
1330 PyObject
* _obj0
= 0;
1331 char *_kwnames
[] = { "self","y", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1338 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1342 wxPy_BEGIN_ALLOW_THREADS
;
1343 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1345 wxPy_END_ALLOW_THREADS
;
1346 } _resultobj
= Py_BuildValue("d",_result
);
1350 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1351 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1352 PyObject
* _resultobj
;
1354 wxRealPoint
* _arg0
;
1356 PyObject
* _obj0
= 0;
1357 char *_kwnames
[] = { "self", NULL
};
1360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1364 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1368 wxPy_BEGIN_ALLOW_THREADS
;
1369 _result
= (double )wxRealPoint_y_get(_arg0
);
1371 wxPy_END_ALLOW_THREADS
;
1372 } _resultobj
= Py_BuildValue("d",_result
);
1376 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1377 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1379 wxRealPoint
* _result
;
1380 double _arg0
= (double ) 0.0;
1381 double _arg1
= (double ) 0.0;
1382 char *_kwnames
[] = { "x","y", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1389 wxPy_BEGIN_ALLOW_THREADS
;
1390 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1392 wxPy_END_ALLOW_THREADS
;
1394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1395 _resultobj
= Py_BuildValue("s",_ptemp
);
1398 _resultobj
= Py_None
;
1403 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1404 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1406 wxRealPoint
* _arg0
;
1408 PyObject
* _obj0
= 0;
1409 char *_kwnames
[] = { "self", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1416 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1420 wxPy_BEGIN_ALLOW_THREADS
;
1421 delete_wxRealPoint(_arg0
);
1423 wxPy_END_ALLOW_THREADS
;
1424 } Py_INCREF(Py_None
);
1425 _resultobj
= Py_None
;
1429 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1433 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
* _resultobj
;
1435 wxRealPoint
* _arg0
;
1439 PyObject
* _obj0
= 0;
1440 char *_kwnames
[] = { "self","x","y", NULL
};
1443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1447 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1451 wxPy_BEGIN_ALLOW_THREADS
;
1452 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1454 wxPy_END_ALLOW_THREADS
;
1455 } Py_INCREF(Py_None
);
1456 _resultobj
= Py_None
;
1460 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1461 PyObject
* tup
= PyTuple_New(2);
1462 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1463 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1466 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1469 wxRealPoint
* _arg0
;
1471 PyObject
* _obj0
= 0;
1472 char *_kwnames
[] = { "self", NULL
};
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1479 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1483 wxPy_BEGIN_ALLOW_THREADS
;
1484 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1486 wxPy_END_ALLOW_THREADS
;
1488 _resultobj
= _result
;
1493 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1494 if (! p
) return *self
;
1497 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1499 wxRealPoint
* _result
;
1500 wxRealPoint
* _arg0
;
1501 wxRealPoint
* _arg1
;
1503 PyObject
* _obj0
= 0;
1505 PyObject
* _obj1
= 0;
1506 char *_kwnames
[] = { "self","p", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1514 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1519 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1523 wxPy_BEGIN_ALLOW_THREADS
;
1524 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1526 wxPy_END_ALLOW_THREADS
;
1527 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1528 _resultobj
= Py_BuildValue("s",_ptemp
);
1532 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1533 if (! p
) return *self
;
1536 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1538 wxRealPoint
* _result
;
1539 wxRealPoint
* _arg0
;
1540 wxRealPoint
* _arg1
;
1542 PyObject
* _obj0
= 0;
1544 PyObject
* _obj1
= 0;
1545 char *_kwnames
[] = { "self","p", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1553 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1558 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1562 wxPy_BEGIN_ALLOW_THREADS
;
1563 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1565 wxPy_END_ALLOW_THREADS
;
1566 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1567 _resultobj
= Py_BuildValue("s",_ptemp
);
1571 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1575 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
* _resultobj
;
1578 wxRealPoint
* _arg0
;
1579 wxRealPoint
* _arg1
;
1581 PyObject
* _obj0
= 0;
1583 PyObject
* _obj1
= 0;
1584 char *_kwnames
[] = { "self","p", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1591 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1596 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1603 wxPy_END_ALLOW_THREADS
;
1604 } _resultobj
= Py_BuildValue("i",_result
);
1608 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1609 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1615 PyObject
* _obj0
= 0;
1616 char *_kwnames
[] = { "self","x", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1623 if (! wxPoint_helper(_obj0
, &_arg0
))
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } _resultobj
= Py_BuildValue("l",_result
);
1635 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1636 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1641 PyObject
* _obj0
= 0;
1642 char *_kwnames
[] = { "self", NULL
};
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1649 if (! wxPoint_helper(_obj0
, &_arg0
))
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 _result
= (long )wxPoint_x_get(_arg0
);
1656 wxPy_END_ALLOW_THREADS
;
1657 } _resultobj
= Py_BuildValue("l",_result
);
1661 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1662 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1668 PyObject
* _obj0
= 0;
1669 char *_kwnames
[] = { "self","y", NULL
};
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1676 if (! wxPoint_helper(_obj0
, &_arg0
))
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1683 wxPy_END_ALLOW_THREADS
;
1684 } _resultobj
= Py_BuildValue("l",_result
);
1688 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1689 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1694 PyObject
* _obj0
= 0;
1695 char *_kwnames
[] = { "self", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1702 if (! wxPoint_helper(_obj0
, &_arg0
))
1706 wxPy_BEGIN_ALLOW_THREADS
;
1707 _result
= (long )wxPoint_y_get(_arg0
);
1709 wxPy_END_ALLOW_THREADS
;
1710 } _resultobj
= Py_BuildValue("l",_result
);
1714 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1715 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1718 long _arg0
= (long ) 0;
1719 long _arg1
= (long ) 0;
1720 char *_kwnames
[] = { "x","y", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1727 wxPy_BEGIN_ALLOW_THREADS
;
1728 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1730 wxPy_END_ALLOW_THREADS
;
1732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1733 _resultobj
= Py_BuildValue("s",_ptemp
);
1736 _resultobj
= Py_None
;
1741 #define delete_wxPoint(_swigobj) (delete _swigobj)
1742 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1746 PyObject
* _obj0
= 0;
1747 char *_kwnames
[] = { "self", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1754 if (! wxPoint_helper(_obj0
, &_arg0
))
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 delete_wxPoint(_arg0
);
1761 wxPy_END_ALLOW_THREADS
;
1762 } Py_INCREF(Py_None
);
1763 _resultobj
= Py_None
;
1767 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1771 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1772 PyObject
* _resultobj
;
1777 PyObject
* _obj0
= 0;
1778 char *_kwnames
[] = { "self","x","y", NULL
};
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1785 if (! wxPoint_helper(_obj0
, &_arg0
))
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1792 wxPy_END_ALLOW_THREADS
;
1793 } Py_INCREF(Py_None
);
1794 _resultobj
= Py_None
;
1798 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1799 PyObject
* tup
= PyTuple_New(2);
1800 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1801 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1804 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1809 PyObject
* _obj0
= 0;
1810 char *_kwnames
[] = { "self", NULL
};
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1817 if (! wxPoint_helper(_obj0
, &_arg0
))
1821 wxPy_BEGIN_ALLOW_THREADS
;
1822 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1824 wxPy_END_ALLOW_THREADS
;
1826 _resultobj
= _result
;
1831 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1832 if (! p
) return *self
;
1835 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1841 PyObject
* _obj0
= 0;
1843 PyObject
* _obj1
= 0;
1844 char *_kwnames
[] = { "self","p", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1852 if (! wxPoint_helper(_obj0
, &_arg0
))
1857 if (! wxPoint_helper(_obj1
, &_arg1
))
1861 wxPy_BEGIN_ALLOW_THREADS
;
1862 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
1864 wxPy_END_ALLOW_THREADS
;
1865 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1866 _resultobj
= Py_BuildValue("s",_ptemp
);
1870 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
1871 if (! p
) return *self
;
1874 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1880 PyObject
* _obj0
= 0;
1882 PyObject
* _obj1
= 0;
1883 char *_kwnames
[] = { "self","p", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1891 if (! wxPoint_helper(_obj0
, &_arg0
))
1896 if (! wxPoint_helper(_obj1
, &_arg1
))
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
1903 wxPy_END_ALLOW_THREADS
;
1904 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1905 _resultobj
= Py_BuildValue("s",_ptemp
);
1909 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
1913 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1919 PyObject
* _obj0
= 0;
1921 PyObject
* _obj1
= 0;
1922 char *_kwnames
[] = { "self","p", NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1929 if (! wxPoint_helper(_obj0
, &_arg0
))
1934 if (! wxPoint_helper(_obj1
, &_arg1
))
1938 wxPy_BEGIN_ALLOW_THREADS
;
1939 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
1941 wxPy_END_ALLOW_THREADS
;
1942 } _resultobj
= Py_BuildValue("i",_result
);
1946 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1947 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
* _resultobj
;
1950 int _arg0
= (int ) 0;
1951 int _arg1
= (int ) 0;
1952 int _arg2
= (int ) 0;
1953 int _arg3
= (int ) 0;
1954 char *_kwnames
[] = { "x","y","w","h", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1961 wxPy_BEGIN_ALLOW_THREADS
;
1962 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1964 wxPy_END_ALLOW_THREADS
;
1966 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1967 _resultobj
= Py_BuildValue("s",_ptemp
);
1970 _resultobj
= Py_None
;
1975 #define delete_wxRect(_swigobj) (delete _swigobj)
1976 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1980 PyObject
* _obj0
= 0;
1981 char *_kwnames
[] = { "self", NULL
};
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
1988 if (! wxRect_helper(_obj0
, &_arg0
))
1992 wxPy_BEGIN_ALLOW_THREADS
;
1993 delete_wxRect(_arg0
);
1995 wxPy_END_ALLOW_THREADS
;
1996 } Py_INCREF(Py_None
);
1997 _resultobj
= Py_None
;
2001 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2002 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2007 PyObject
* _obj0
= 0;
2008 char *_kwnames
[] = { "self", NULL
};
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2015 if (! wxRect_helper(_obj0
, &_arg0
))
2019 wxPy_BEGIN_ALLOW_THREADS
;
2020 _result
= (int )wxRect_GetX(_arg0
);
2022 wxPy_END_ALLOW_THREADS
;
2023 } _resultobj
= Py_BuildValue("i",_result
);
2027 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2028 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2033 PyObject
* _obj0
= 0;
2034 char *_kwnames
[] = { "self","X", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2041 if (! wxRect_helper(_obj0
, &_arg0
))
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 wxRect_SetX(_arg0
,_arg1
);
2048 wxPy_END_ALLOW_THREADS
;
2049 } Py_INCREF(Py_None
);
2050 _resultobj
= Py_None
;
2054 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2055 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2060 PyObject
* _obj0
= 0;
2061 char *_kwnames
[] = { "self", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2068 if (! wxRect_helper(_obj0
, &_arg0
))
2072 wxPy_BEGIN_ALLOW_THREADS
;
2073 _result
= (int )wxRect_GetY(_arg0
);
2075 wxPy_END_ALLOW_THREADS
;
2076 } _resultobj
= Py_BuildValue("i",_result
);
2080 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2081 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2086 PyObject
* _obj0
= 0;
2087 char *_kwnames
[] = { "self","Y", NULL
};
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2094 if (! wxRect_helper(_obj0
, &_arg0
))
2098 wxPy_BEGIN_ALLOW_THREADS
;
2099 wxRect_SetY(_arg0
,_arg1
);
2101 wxPy_END_ALLOW_THREADS
;
2102 } Py_INCREF(Py_None
);
2103 _resultobj
= Py_None
;
2107 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2108 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2113 PyObject
* _obj0
= 0;
2114 char *_kwnames
[] = { "self", NULL
};
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2121 if (! wxRect_helper(_obj0
, &_arg0
))
2125 wxPy_BEGIN_ALLOW_THREADS
;
2126 _result
= (int )wxRect_GetWidth(_arg0
);
2128 wxPy_END_ALLOW_THREADS
;
2129 } _resultobj
= Py_BuildValue("i",_result
);
2133 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2134 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
* _resultobj
;
2139 PyObject
* _obj0
= 0;
2140 char *_kwnames
[] = { "self","w", NULL
};
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2147 if (! wxRect_helper(_obj0
, &_arg0
))
2151 wxPy_BEGIN_ALLOW_THREADS
;
2152 wxRect_SetWidth(_arg0
,_arg1
);
2154 wxPy_END_ALLOW_THREADS
;
2155 } Py_INCREF(Py_None
);
2156 _resultobj
= Py_None
;
2160 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2161 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
* _resultobj
;
2166 PyObject
* _obj0
= 0;
2167 char *_kwnames
[] = { "self", NULL
};
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2174 if (! wxRect_helper(_obj0
, &_arg0
))
2178 wxPy_BEGIN_ALLOW_THREADS
;
2179 _result
= (int )wxRect_GetHeight(_arg0
);
2181 wxPy_END_ALLOW_THREADS
;
2182 } _resultobj
= Py_BuildValue("i",_result
);
2186 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2187 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2192 PyObject
* _obj0
= 0;
2193 char *_kwnames
[] = { "self","h", NULL
};
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2200 if (! wxRect_helper(_obj0
, &_arg0
))
2204 wxPy_BEGIN_ALLOW_THREADS
;
2205 wxRect_SetHeight(_arg0
,_arg1
);
2207 wxPy_END_ALLOW_THREADS
;
2208 } Py_INCREF(Py_None
);
2209 _resultobj
= Py_None
;
2213 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2214 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2219 PyObject
* _obj0
= 0;
2220 char *_kwnames
[] = { "self", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2228 if (! wxRect_helper(_obj0
, &_arg0
))
2232 wxPy_BEGIN_ALLOW_THREADS
;
2233 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2235 wxPy_END_ALLOW_THREADS
;
2236 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2237 _resultobj
= Py_BuildValue("s",_ptemp
);
2241 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2242 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2247 PyObject
* _obj0
= 0;
2248 char *_kwnames
[] = { "self", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2256 if (! wxRect_helper(_obj0
, &_arg0
))
2260 wxPy_BEGIN_ALLOW_THREADS
;
2261 _result
= new wxSize (wxRect_GetSize(_arg0
));
2263 wxPy_END_ALLOW_THREADS
;
2264 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2265 _resultobj
= Py_BuildValue("s",_ptemp
);
2269 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2270 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
* _resultobj
;
2275 PyObject
* _obj0
= 0;
2276 char *_kwnames
[] = { "self", NULL
};
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2283 if (! wxRect_helper(_obj0
, &_arg0
))
2287 wxPy_BEGIN_ALLOW_THREADS
;
2288 _result
= (int )wxRect_GetLeft(_arg0
);
2290 wxPy_END_ALLOW_THREADS
;
2291 } _resultobj
= Py_BuildValue("i",_result
);
2295 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2296 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2301 PyObject
* _obj0
= 0;
2302 char *_kwnames
[] = { "self", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2309 if (! wxRect_helper(_obj0
, &_arg0
))
2313 wxPy_BEGIN_ALLOW_THREADS
;
2314 _result
= (int )wxRect_GetTop(_arg0
);
2316 wxPy_END_ALLOW_THREADS
;
2317 } _resultobj
= Py_BuildValue("i",_result
);
2321 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2322 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2327 PyObject
* _obj0
= 0;
2328 char *_kwnames
[] = { "self", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2335 if (! wxRect_helper(_obj0
, &_arg0
))
2339 wxPy_BEGIN_ALLOW_THREADS
;
2340 _result
= (int )wxRect_GetBottom(_arg0
);
2342 wxPy_END_ALLOW_THREADS
;
2343 } _resultobj
= Py_BuildValue("i",_result
);
2347 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2348 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
* _resultobj
;
2353 PyObject
* _obj0
= 0;
2354 char *_kwnames
[] = { "self", NULL
};
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2361 if (! wxRect_helper(_obj0
, &_arg0
))
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 _result
= (int )wxRect_GetRight(_arg0
);
2368 wxPy_END_ALLOW_THREADS
;
2369 } _resultobj
= Py_BuildValue("i",_result
);
2373 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2374 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2379 PyObject
* _obj0
= 0;
2380 char *_kwnames
[] = { "self","left", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2387 if (! wxRect_helper(_obj0
, &_arg0
))
2391 wxPy_BEGIN_ALLOW_THREADS
;
2392 wxRect_SetLeft(_arg0
,_arg1
);
2394 wxPy_END_ALLOW_THREADS
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2400 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2401 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2406 PyObject
* _obj0
= 0;
2407 char *_kwnames
[] = { "self","right", NULL
};
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2414 if (! wxRect_helper(_obj0
, &_arg0
))
2418 wxPy_BEGIN_ALLOW_THREADS
;
2419 wxRect_SetRight(_arg0
,_arg1
);
2421 wxPy_END_ALLOW_THREADS
;
2422 } Py_INCREF(Py_None
);
2423 _resultobj
= Py_None
;
2427 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2428 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2433 PyObject
* _obj0
= 0;
2434 char *_kwnames
[] = { "self","top", NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2441 if (! wxRect_helper(_obj0
, &_arg0
))
2445 wxPy_BEGIN_ALLOW_THREADS
;
2446 wxRect_SetTop(_arg0
,_arg1
);
2448 wxPy_END_ALLOW_THREADS
;
2449 } Py_INCREF(Py_None
);
2450 _resultobj
= Py_None
;
2454 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2455 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2460 PyObject
* _obj0
= 0;
2461 char *_kwnames
[] = { "self","bottom", NULL
};
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2468 if (! wxRect_helper(_obj0
, &_arg0
))
2472 wxPy_BEGIN_ALLOW_THREADS
;
2473 wxRect_SetBottom(_arg0
,_arg1
);
2475 wxPy_END_ALLOW_THREADS
;
2476 } Py_INCREF(Py_None
);
2477 _resultobj
= Py_None
;
2481 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2482 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2488 PyObject
* _obj0
= 0;
2489 char *_kwnames
[] = { "self","dx","dy", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2496 if (! wxRect_helper(_obj0
, &_arg0
))
2500 wxPy_BEGIN_ALLOW_THREADS
;
2501 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2503 wxPy_END_ALLOW_THREADS
;
2504 } Py_INCREF(Py_None
);
2505 _resultobj
= Py_None
;
2509 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2510 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
* _resultobj
;
2517 PyObject
* _obj0
= 0;
2518 char *_kwnames
[] = { "self","cx","cy", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2525 if (! wxRect_helper(_obj0
, &_arg0
))
2529 wxPy_BEGIN_ALLOW_THREADS
;
2530 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2532 wxPy_END_ALLOW_THREADS
;
2533 } _resultobj
= Py_BuildValue("i",_result
);
2537 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2538 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
* _resultobj
;
2544 PyObject
* _obj0
= 0;
2545 char *_kwnames
[] = { "self","x", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2552 if (! wxRect_helper(_obj0
, &_arg0
))
2556 wxPy_BEGIN_ALLOW_THREADS
;
2557 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2559 wxPy_END_ALLOW_THREADS
;
2560 } _resultobj
= Py_BuildValue("i",_result
);
2564 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2565 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
* _resultobj
;
2570 PyObject
* _obj0
= 0;
2571 char *_kwnames
[] = { "self", NULL
};
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2578 if (! wxRect_helper(_obj0
, &_arg0
))
2582 wxPy_BEGIN_ALLOW_THREADS
;
2583 _result
= (int )wxRect_x_get(_arg0
);
2585 wxPy_END_ALLOW_THREADS
;
2586 } _resultobj
= Py_BuildValue("i",_result
);
2590 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2591 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
* _resultobj
;
2597 PyObject
* _obj0
= 0;
2598 char *_kwnames
[] = { "self","y", NULL
};
2601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2605 if (! wxRect_helper(_obj0
, &_arg0
))
2609 wxPy_BEGIN_ALLOW_THREADS
;
2610 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2612 wxPy_END_ALLOW_THREADS
;
2613 } _resultobj
= Py_BuildValue("i",_result
);
2617 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2618 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2623 PyObject
* _obj0
= 0;
2624 char *_kwnames
[] = { "self", NULL
};
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2631 if (! wxRect_helper(_obj0
, &_arg0
))
2635 wxPy_BEGIN_ALLOW_THREADS
;
2636 _result
= (int )wxRect_y_get(_arg0
);
2638 wxPy_END_ALLOW_THREADS
;
2639 } _resultobj
= Py_BuildValue("i",_result
);
2643 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2644 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
* _resultobj
;
2650 PyObject
* _obj0
= 0;
2651 char *_kwnames
[] = { "self","width", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2658 if (! wxRect_helper(_obj0
, &_arg0
))
2662 wxPy_BEGIN_ALLOW_THREADS
;
2663 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2665 wxPy_END_ALLOW_THREADS
;
2666 } _resultobj
= Py_BuildValue("i",_result
);
2670 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2671 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2676 PyObject
* _obj0
= 0;
2677 char *_kwnames
[] = { "self", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2684 if (! wxRect_helper(_obj0
, &_arg0
))
2688 wxPy_BEGIN_ALLOW_THREADS
;
2689 _result
= (int )wxRect_width_get(_arg0
);
2691 wxPy_END_ALLOW_THREADS
;
2692 } _resultobj
= Py_BuildValue("i",_result
);
2696 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2697 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
* _resultobj
;
2703 PyObject
* _obj0
= 0;
2704 char *_kwnames
[] = { "self","height", NULL
};
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2711 if (! wxRect_helper(_obj0
, &_arg0
))
2715 wxPy_BEGIN_ALLOW_THREADS
;
2716 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2718 wxPy_END_ALLOW_THREADS
;
2719 } _resultobj
= Py_BuildValue("i",_result
);
2723 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2724 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2729 PyObject
* _obj0
= 0;
2730 char *_kwnames
[] = { "self", NULL
};
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2737 if (! wxRect_helper(_obj0
, &_arg0
))
2741 wxPy_BEGIN_ALLOW_THREADS
;
2742 _result
= (int )wxRect_height_get(_arg0
);
2744 wxPy_END_ALLOW_THREADS
;
2745 } _resultobj
= Py_BuildValue("i",_result
);
2749 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2750 PyObject
* tup
= PyTuple_New(4);
2751 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2752 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2753 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2754 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2757 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2762 PyObject
* _obj0
= 0;
2763 char *_kwnames
[] = { "self", NULL
};
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2770 if (! wxRect_helper(_obj0
, &_arg0
))
2774 wxPy_BEGIN_ALLOW_THREADS
;
2775 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2777 wxPy_END_ALLOW_THREADS
;
2779 _resultobj
= _result
;
2784 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2785 if (! rect
) return *self
;
2786 return *self
+ *rect
;
2788 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
* _resultobj
;
2794 PyObject
* _obj0
= 0;
2796 PyObject
* _obj1
= 0;
2797 char *_kwnames
[] = { "self","rect", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2805 if (! wxRect_helper(_obj0
, &_arg0
))
2810 if (! wxRect_helper(_obj1
, &_arg1
))
2814 wxPy_BEGIN_ALLOW_THREADS
;
2815 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2817 wxPy_END_ALLOW_THREADS
;
2818 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2819 _resultobj
= Py_BuildValue("s",_ptemp
);
2823 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
2824 if (! rect
) return 0;
2825 return *self
== *rect
;
2827 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
* _resultobj
;
2833 PyObject
* _obj0
= 0;
2835 PyObject
* _obj1
= 0;
2836 char *_kwnames
[] = { "self","rect", NULL
};
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
2843 if (! wxRect_helper(_obj0
, &_arg0
))
2848 if (! wxRect_helper(_obj1
, &_arg1
))
2852 wxPy_BEGIN_ALLOW_THREADS
;
2853 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
2855 wxPy_END_ALLOW_THREADS
;
2856 } _resultobj
= Py_BuildValue("i",_result
);
2860 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2861 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
* _resultobj
;
2863 wxIndividualLayoutConstraint
* _arg0
;
2865 int _arg2
= (int ) 0;
2866 PyObject
* _argo0
= 0;
2867 PyObject
* _argo1
= 0;
2868 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2881 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2891 wxPy_END_ALLOW_THREADS
;
2892 } Py_INCREF(Py_None
);
2893 _resultobj
= Py_None
;
2897 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2898 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2900 wxIndividualLayoutConstraint
* _arg0
;
2902 PyObject
* _argo0
= 0;
2903 char *_kwnames
[] = { "self","value", NULL
};
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2916 wxPy_BEGIN_ALLOW_THREADS
;
2917 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2919 wxPy_END_ALLOW_THREADS
;
2920 } Py_INCREF(Py_None
);
2921 _resultobj
= Py_None
;
2925 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2926 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
* _resultobj
;
2928 wxIndividualLayoutConstraint
* _arg0
;
2929 PyObject
* _argo0
= 0;
2930 char *_kwnames
[] = { "self", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2943 wxPy_BEGIN_ALLOW_THREADS
;
2944 wxIndividualLayoutConstraint_AsIs(_arg0
);
2946 wxPy_END_ALLOW_THREADS
;
2947 } Py_INCREF(Py_None
);
2948 _resultobj
= Py_None
;
2952 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2953 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
* _resultobj
;
2955 wxIndividualLayoutConstraint
* _arg0
;
2957 int _arg2
= (int ) 0;
2958 PyObject
* _argo0
= 0;
2959 PyObject
* _argo1
= 0;
2960 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2973 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2974 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2980 wxPy_BEGIN_ALLOW_THREADS
;
2981 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2983 wxPy_END_ALLOW_THREADS
;
2984 } Py_INCREF(Py_None
);
2985 _resultobj
= Py_None
;
2989 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2990 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2992 wxIndividualLayoutConstraint
* _arg0
;
2993 PyObject
* _argo0
= 0;
2994 char *_kwnames
[] = { "self", NULL
};
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3007 wxPy_BEGIN_ALLOW_THREADS
;
3008 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3010 wxPy_END_ALLOW_THREADS
;
3011 } Py_INCREF(Py_None
);
3012 _resultobj
= Py_None
;
3016 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3017 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
* _resultobj
;
3019 wxIndividualLayoutConstraint
* _arg0
;
3021 int _arg2
= (int ) 0;
3022 PyObject
* _argo0
= 0;
3023 PyObject
* _argo1
= 0;
3024 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3047 wxPy_END_ALLOW_THREADS
;
3048 } Py_INCREF(Py_None
);
3049 _resultobj
= Py_None
;
3053 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3054 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3056 wxIndividualLayoutConstraint
* _arg0
;
3060 PyObject
* _argo0
= 0;
3061 PyObject
* _argo1
= 0;
3062 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3075 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3076 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3082 wxPy_BEGIN_ALLOW_THREADS
;
3083 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3085 wxPy_END_ALLOW_THREADS
;
3086 } Py_INCREF(Py_None
);
3087 _resultobj
= Py_None
;
3091 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3092 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
* _resultobj
;
3094 wxIndividualLayoutConstraint
* _arg0
;
3096 int _arg2
= (int ) 0;
3097 PyObject
* _argo0
= 0;
3098 PyObject
* _argo1
= 0;
3099 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3112 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3113 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3119 wxPy_BEGIN_ALLOW_THREADS
;
3120 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3122 wxPy_END_ALLOW_THREADS
;
3123 } Py_INCREF(Py_None
);
3124 _resultobj
= Py_None
;
3128 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3129 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3131 wxIndividualLayoutConstraint
* _arg0
;
3134 int _arg3
= (int ) 0;
3135 PyObject
* _argo0
= 0;
3136 PyObject
* _argo1
= 0;
3137 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3150 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3157 wxPy_BEGIN_ALLOW_THREADS
;
3158 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3160 wxPy_END_ALLOW_THREADS
;
3161 } Py_INCREF(Py_None
);
3162 _resultobj
= Py_None
;
3166 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3167 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3169 wxIndividualLayoutConstraint
* _arg0
;
3170 wxRelationship _arg1
;
3173 int _arg4
= (int ) 0;
3174 int _arg5
= (int ) 0;
3175 PyObject
* _argo0
= 0;
3176 PyObject
* _argo2
= 0;
3177 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3190 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3191 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3197 wxPy_BEGIN_ALLOW_THREADS
;
3198 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3200 wxPy_END_ALLOW_THREADS
;
3201 } Py_INCREF(Py_None
);
3202 _resultobj
= Py_None
;
3206 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3207 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3209 wxLayoutConstraints
* _result
;
3210 char *_kwnames
[] = { NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3217 wxPy_BEGIN_ALLOW_THREADS
;
3218 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3220 wxPy_END_ALLOW_THREADS
;
3222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3223 _resultobj
= Py_BuildValue("s",_ptemp
);
3226 _resultobj
= Py_None
;
3231 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3232 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3234 wxIndividualLayoutConstraint
* _result
;
3235 wxLayoutConstraints
* _arg0
;
3236 PyObject
* _argo0
= 0;
3237 char *_kwnames
[] = { "self", NULL
};
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3251 wxPy_BEGIN_ALLOW_THREADS
;
3252 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3254 wxPy_END_ALLOW_THREADS
;
3256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3257 _resultobj
= Py_BuildValue("s",_ptemp
);
3260 _resultobj
= Py_None
;
3265 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3266 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3268 wxIndividualLayoutConstraint
* _result
;
3269 wxLayoutConstraints
* _arg0
;
3270 PyObject
* _argo0
= 0;
3271 char *_kwnames
[] = { "self", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3285 wxPy_BEGIN_ALLOW_THREADS
;
3286 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3288 wxPy_END_ALLOW_THREADS
;
3290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3291 _resultobj
= Py_BuildValue("s",_ptemp
);
3294 _resultobj
= Py_None
;
3299 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3300 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
* _resultobj
;
3302 wxIndividualLayoutConstraint
* _result
;
3303 wxLayoutConstraints
* _arg0
;
3304 PyObject
* _argo0
= 0;
3305 char *_kwnames
[] = { "self", NULL
};
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3319 wxPy_BEGIN_ALLOW_THREADS
;
3320 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3322 wxPy_END_ALLOW_THREADS
;
3324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3325 _resultobj
= Py_BuildValue("s",_ptemp
);
3328 _resultobj
= Py_None
;
3333 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3334 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3336 wxIndividualLayoutConstraint
* _result
;
3337 wxLayoutConstraints
* _arg0
;
3338 PyObject
* _argo0
= 0;
3339 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3353 wxPy_BEGIN_ALLOW_THREADS
;
3354 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3356 wxPy_END_ALLOW_THREADS
;
3358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3359 _resultobj
= Py_BuildValue("s",_ptemp
);
3362 _resultobj
= Py_None
;
3367 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3368 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3370 wxIndividualLayoutConstraint
* _result
;
3371 wxLayoutConstraints
* _arg0
;
3372 PyObject
* _argo0
= 0;
3373 char *_kwnames
[] = { "self", NULL
};
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3390 wxPy_END_ALLOW_THREADS
;
3392 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3393 _resultobj
= Py_BuildValue("s",_ptemp
);
3396 _resultobj
= Py_None
;
3401 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3402 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3404 wxIndividualLayoutConstraint
* _result
;
3405 wxLayoutConstraints
* _arg0
;
3406 PyObject
* _argo0
= 0;
3407 char *_kwnames
[] = { "self", NULL
};
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3421 wxPy_BEGIN_ALLOW_THREADS
;
3422 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3424 wxPy_END_ALLOW_THREADS
;
3426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3427 _resultobj
= Py_BuildValue("s",_ptemp
);
3430 _resultobj
= Py_None
;
3435 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3436 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
* _resultobj
;
3438 wxIndividualLayoutConstraint
* _result
;
3439 wxLayoutConstraints
* _arg0
;
3440 PyObject
* _argo0
= 0;
3441 char *_kwnames
[] = { "self", NULL
};
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3455 wxPy_BEGIN_ALLOW_THREADS
;
3456 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3458 wxPy_END_ALLOW_THREADS
;
3460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3461 _resultobj
= Py_BuildValue("s",_ptemp
);
3464 _resultobj
= Py_None
;
3469 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3470 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3472 wxIndividualLayoutConstraint
* _result
;
3473 wxLayoutConstraints
* _arg0
;
3474 PyObject
* _argo0
= 0;
3475 char *_kwnames
[] = { "self", NULL
};
3479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3489 wxPy_BEGIN_ALLOW_THREADS
;
3490 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3492 wxPy_END_ALLOW_THREADS
;
3494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3495 _resultobj
= Py_BuildValue("s",_ptemp
);
3498 _resultobj
= Py_None
;
3503 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3504 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
* _resultobj
;
3507 long _arg0
= (long ) 0;
3508 long _arg1
= (long ) 0;
3509 long _arg2
= (long ) 0;
3510 long _arg3
= (long ) 0;
3511 char *_kwnames
[] = { "x","y","width","height", NULL
};
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3518 wxPy_BEGIN_ALLOW_THREADS
;
3519 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
3521 wxPy_END_ALLOW_THREADS
;
3523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3524 _resultobj
= Py_BuildValue("s",_ptemp
);
3527 _resultobj
= Py_None
;
3532 #define delete_wxRegion(_swigobj) (delete _swigobj)
3533 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
* _resultobj
;
3536 PyObject
* _argo0
= 0;
3537 char *_kwnames
[] = { "self", NULL
};
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3550 wxPy_BEGIN_ALLOW_THREADS
;
3551 delete_wxRegion(_arg0
);
3553 wxPy_END_ALLOW_THREADS
;
3554 } Py_INCREF(Py_None
);
3555 _resultobj
= Py_None
;
3559 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3560 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
* _resultobj
;
3563 PyObject
* _argo0
= 0;
3564 char *_kwnames
[] = { "self", NULL
};
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 wxRegion_Clear(_arg0
);
3580 wxPy_END_ALLOW_THREADS
;
3581 } Py_INCREF(Py_None
);
3582 _resultobj
= Py_None
;
3586 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3587 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
* _resultobj
;
3589 wxRegionContain _result
;
3593 PyObject
* _argo0
= 0;
3594 char *_kwnames
[] = { "self","x","y", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3607 wxPy_BEGIN_ALLOW_THREADS
;
3608 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3610 wxPy_END_ALLOW_THREADS
;
3611 } _resultobj
= Py_BuildValue("i",_result
);
3615 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3616 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
* _resultobj
;
3618 wxRegionContain _result
;
3621 PyObject
* _argo0
= 0;
3623 PyObject
* _obj1
= 0;
3624 char *_kwnames
[] = { "self","pt", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3638 if (! wxPoint_helper(_obj1
, &_arg1
))
3642 wxPy_BEGIN_ALLOW_THREADS
;
3643 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3645 wxPy_END_ALLOW_THREADS
;
3646 } _resultobj
= Py_BuildValue("i",_result
);
3650 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3651 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
* _resultobj
;
3653 wxRegionContain _result
;
3656 PyObject
* _argo0
= 0;
3658 PyObject
* _obj1
= 0;
3659 char *_kwnames
[] = { "self","rect", NULL
};
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3673 if (! wxRect_helper(_obj1
, &_arg1
))
3677 wxPy_BEGIN_ALLOW_THREADS
;
3678 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3680 wxPy_END_ALLOW_THREADS
;
3681 } _resultobj
= Py_BuildValue("i",_result
);
3685 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3686 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
* _resultobj
;
3688 wxRegionContain _result
;
3694 PyObject
* _argo0
= 0;
3695 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3708 wxPy_BEGIN_ALLOW_THREADS
;
3709 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3711 wxPy_END_ALLOW_THREADS
;
3712 } _resultobj
= Py_BuildValue("i",_result
);
3716 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3717 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3721 PyObject
* _argo0
= 0;
3722 char *_kwnames
[] = { "self", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3736 wxPy_BEGIN_ALLOW_THREADS
;
3737 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3739 wxPy_END_ALLOW_THREADS
;
3740 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3741 _resultobj
= Py_BuildValue("s",_ptemp
);
3745 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3746 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
* _resultobj
;
3754 PyObject
* _argo0
= 0;
3755 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3768 wxPy_BEGIN_ALLOW_THREADS
;
3769 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3771 wxPy_END_ALLOW_THREADS
;
3772 } _resultobj
= Py_BuildValue("i",_result
);
3776 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3777 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3782 PyObject
* _argo0
= 0;
3784 PyObject
* _obj1
= 0;
3785 char *_kwnames
[] = { "self","rect", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3799 if (! wxRect_helper(_obj1
, &_arg1
))
3803 wxPy_BEGIN_ALLOW_THREADS
;
3804 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
3806 wxPy_END_ALLOW_THREADS
;
3807 } _resultobj
= Py_BuildValue("i",_result
);
3811 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3812 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3817 PyObject
* _argo0
= 0;
3818 PyObject
* _argo1
= 0;
3819 char *_kwnames
[] = { "self","region", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3839 wxPy_BEGIN_ALLOW_THREADS
;
3840 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
3842 wxPy_END_ALLOW_THREADS
;
3843 } _resultobj
= Py_BuildValue("i",_result
);
3847 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3848 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3852 PyObject
* _argo0
= 0;
3853 char *_kwnames
[] = { "self", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3866 wxPy_BEGIN_ALLOW_THREADS
;
3867 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3869 wxPy_END_ALLOW_THREADS
;
3870 } _resultobj
= Py_BuildValue("i",_result
);
3874 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3875 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
* _resultobj
;
3883 PyObject
* _argo0
= 0;
3884 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3897 wxPy_BEGIN_ALLOW_THREADS
;
3898 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3900 wxPy_END_ALLOW_THREADS
;
3901 } _resultobj
= Py_BuildValue("i",_result
);
3905 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3906 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
* _resultobj
;
3911 PyObject
* _argo0
= 0;
3913 PyObject
* _obj1
= 0;
3914 char *_kwnames
[] = { "self","rect", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
3920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3928 if (! wxRect_helper(_obj1
, &_arg1
))
3932 wxPy_BEGIN_ALLOW_THREADS
;
3933 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
3935 wxPy_END_ALLOW_THREADS
;
3936 } _resultobj
= Py_BuildValue("i",_result
);
3940 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3941 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3946 PyObject
* _argo0
= 0;
3947 PyObject
* _argo1
= 0;
3948 char *_kwnames
[] = { "self","region", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
3954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
3971 wxPy_END_ALLOW_THREADS
;
3972 } _resultobj
= Py_BuildValue("i",_result
);
3976 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3977 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
* _resultobj
;
3985 PyObject
* _argo0
= 0;
3986 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3999 wxPy_BEGIN_ALLOW_THREADS
;
4000 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4002 wxPy_END_ALLOW_THREADS
;
4003 } _resultobj
= Py_BuildValue("i",_result
);
4007 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4008 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
* _resultobj
;
4013 PyObject
* _argo0
= 0;
4015 PyObject
* _obj1
= 0;
4016 char *_kwnames
[] = { "self","rect", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
4030 if (! wxRect_helper(_obj1
, &_arg1
))
4034 wxPy_BEGIN_ALLOW_THREADS
;
4035 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
4037 wxPy_END_ALLOW_THREADS
;
4038 } _resultobj
= Py_BuildValue("i",_result
);
4042 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4043 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4048 PyObject
* _argo0
= 0;
4049 PyObject
* _argo1
= 0;
4050 char *_kwnames
[] = { "self","region", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4063 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4070 wxPy_BEGIN_ALLOW_THREADS
;
4071 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
4073 wxPy_END_ALLOW_THREADS
;
4074 } _resultobj
= Py_BuildValue("i",_result
);
4078 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4079 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
* _resultobj
;
4087 PyObject
* _argo0
= 0;
4088 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
4101 wxPy_BEGIN_ALLOW_THREADS
;
4102 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4104 wxPy_END_ALLOW_THREADS
;
4105 } _resultobj
= Py_BuildValue("i",_result
);
4109 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4110 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
* _resultobj
;
4115 PyObject
* _argo0
= 0;
4117 PyObject
* _obj1
= 0;
4118 char *_kwnames
[] = { "self","rect", NULL
};
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
4124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
4132 if (! wxRect_helper(_obj1
, &_arg1
))
4136 wxPy_BEGIN_ALLOW_THREADS
;
4137 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
4139 wxPy_END_ALLOW_THREADS
;
4140 } _resultobj
= Py_BuildValue("i",_result
);
4144 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4145 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
* _resultobj
;
4150 PyObject
* _argo0
= 0;
4151 PyObject
* _argo1
= 0;
4152 char *_kwnames
[] = { "self","region", NULL
};
4155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
4158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
4165 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
4172 wxPy_BEGIN_ALLOW_THREADS
;
4173 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
4175 wxPy_END_ALLOW_THREADS
;
4176 } _resultobj
= Py_BuildValue("i",_result
);
4180 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
4181 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4183 wxRegionIterator
* _result
;
4185 PyObject
* _argo0
= 0;
4186 char *_kwnames
[] = { "region", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
4200 wxPy_BEGIN_ALLOW_THREADS
;
4201 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
4203 wxPy_END_ALLOW_THREADS
;
4205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
4206 _resultobj
= Py_BuildValue("s",_ptemp
);
4209 _resultobj
= Py_None
;
4214 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
4215 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
* _resultobj
;
4217 wxRegionIterator
* _arg0
;
4218 PyObject
* _argo0
= 0;
4219 char *_kwnames
[] = { "self", NULL
};
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
4225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
4232 wxPy_BEGIN_ALLOW_THREADS
;
4233 delete_wxRegionIterator(_arg0
);
4235 wxPy_END_ALLOW_THREADS
;
4236 } Py_INCREF(Py_None
);
4237 _resultobj
= Py_None
;
4241 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
4242 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
* _resultobj
;
4245 wxRegionIterator
* _arg0
;
4246 PyObject
* _argo0
= 0;
4247 char *_kwnames
[] = { "self", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
4253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
4260 wxPy_BEGIN_ALLOW_THREADS
;
4261 _result
= (long )wxRegionIterator_GetX(_arg0
);
4263 wxPy_END_ALLOW_THREADS
;
4264 } _resultobj
= Py_BuildValue("l",_result
);
4268 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
4269 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4272 wxRegionIterator
* _arg0
;
4273 PyObject
* _argo0
= 0;
4274 char *_kwnames
[] = { "self", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
4280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
4287 wxPy_BEGIN_ALLOW_THREADS
;
4288 _result
= (long )wxRegionIterator_GetY(_arg0
);
4290 wxPy_END_ALLOW_THREADS
;
4291 } _resultobj
= Py_BuildValue("l",_result
);
4295 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
4296 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
* _resultobj
;
4299 wxRegionIterator
* _arg0
;
4300 PyObject
* _argo0
= 0;
4301 char *_kwnames
[] = { "self", NULL
};
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
4307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
4314 wxPy_BEGIN_ALLOW_THREADS
;
4315 _result
= (long )wxRegionIterator_GetW(_arg0
);
4317 wxPy_END_ALLOW_THREADS
;
4318 } _resultobj
= Py_BuildValue("l",_result
);
4322 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
4323 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
* _resultobj
;
4326 wxRegionIterator
* _arg0
;
4327 PyObject
* _argo0
= 0;
4328 char *_kwnames
[] = { "self", NULL
};
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
4334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
4341 wxPy_BEGIN_ALLOW_THREADS
;
4342 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
4344 wxPy_END_ALLOW_THREADS
;
4345 } _resultobj
= Py_BuildValue("l",_result
);
4349 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
4350 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
* _resultobj
;
4353 wxRegionIterator
* _arg0
;
4354 PyObject
* _argo0
= 0;
4355 char *_kwnames
[] = { "self", NULL
};
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
4361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
4368 wxPy_BEGIN_ALLOW_THREADS
;
4369 _result
= (long )wxRegionIterator_GetH(_arg0
);
4371 wxPy_END_ALLOW_THREADS
;
4372 } _resultobj
= Py_BuildValue("l",_result
);
4376 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
4377 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
* _resultobj
;
4380 wxRegionIterator
* _arg0
;
4381 PyObject
* _argo0
= 0;
4382 char *_kwnames
[] = { "self", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
4395 wxPy_BEGIN_ALLOW_THREADS
;
4396 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
4398 wxPy_END_ALLOW_THREADS
;
4399 } _resultobj
= Py_BuildValue("l",_result
);
4403 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
4404 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4407 wxRegionIterator
* _arg0
;
4408 PyObject
* _argo0
= 0;
4409 char *_kwnames
[] = { "self", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4423 wxPy_BEGIN_ALLOW_THREADS
;
4424 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4426 wxPy_END_ALLOW_THREADS
;
4427 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4428 _resultobj
= Py_BuildValue("s",_ptemp
);
4432 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4433 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
* _resultobj
;
4436 wxRegionIterator
* _arg0
;
4437 PyObject
* _argo0
= 0;
4438 char *_kwnames
[] = { "self", NULL
};
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4451 wxPy_BEGIN_ALLOW_THREADS
;
4452 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4454 wxPy_END_ALLOW_THREADS
;
4455 } _resultobj
= Py_BuildValue("i",_result
);
4459 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4460 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
* _resultobj
;
4462 wxRegionIterator
* _arg0
;
4463 PyObject
* _argo0
= 0;
4464 char *_kwnames
[] = { "self", NULL
};
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4477 wxPy_BEGIN_ALLOW_THREADS
;
4478 wxRegionIterator_Reset(_arg0
);
4480 wxPy_END_ALLOW_THREADS
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4489 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
* _resultobj
;
4491 wxRegionIterator
* _arg0
;
4492 PyObject
* _argo0
= 0;
4493 char *_kwnames
[] = { "self", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4506 wxPy_BEGIN_ALLOW_THREADS
;
4507 wxRegionIterator_Next(_arg0
);
4509 wxPy_END_ALLOW_THREADS
;
4510 } Py_INCREF(Py_None
);
4511 _resultobj
= Py_None
;
4515 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4516 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
* _resultobj
;
4518 wxAcceleratorEntry
* _result
;
4519 int _arg0
= (int ) 0;
4520 int _arg1
= (int ) 0;
4521 int _arg2
= (int ) 0;
4522 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4529 wxPy_BEGIN_ALLOW_THREADS
;
4530 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4532 wxPy_END_ALLOW_THREADS
;
4534 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4535 _resultobj
= Py_BuildValue("s",_ptemp
);
4538 _resultobj
= Py_None
;
4543 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4544 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4546 wxAcceleratorEntry
* _arg0
;
4547 PyObject
* _argo0
= 0;
4548 char *_kwnames
[] = { "self", NULL
};
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4561 wxPy_BEGIN_ALLOW_THREADS
;
4562 delete_wxAcceleratorEntry(_arg0
);
4564 wxPy_END_ALLOW_THREADS
;
4565 } Py_INCREF(Py_None
);
4566 _resultobj
= Py_None
;
4570 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4571 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4573 wxAcceleratorEntry
* _arg0
;
4577 PyObject
* _argo0
= 0;
4578 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4591 wxPy_BEGIN_ALLOW_THREADS
;
4592 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4594 wxPy_END_ALLOW_THREADS
;
4595 } Py_INCREF(Py_None
);
4596 _resultobj
= Py_None
;
4600 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4601 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4604 wxAcceleratorEntry
* _arg0
;
4605 PyObject
* _argo0
= 0;
4606 char *_kwnames
[] = { "self", NULL
};
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4619 wxPy_BEGIN_ALLOW_THREADS
;
4620 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4622 wxPy_END_ALLOW_THREADS
;
4623 } _resultobj
= Py_BuildValue("i",_result
);
4627 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4628 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4631 wxAcceleratorEntry
* _arg0
;
4632 PyObject
* _argo0
= 0;
4633 char *_kwnames
[] = { "self", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4646 wxPy_BEGIN_ALLOW_THREADS
;
4647 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4649 wxPy_END_ALLOW_THREADS
;
4650 } _resultobj
= Py_BuildValue("i",_result
);
4654 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4655 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
* _resultobj
;
4658 wxAcceleratorEntry
* _arg0
;
4659 PyObject
* _argo0
= 0;
4660 char *_kwnames
[] = { "self", NULL
};
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4673 wxPy_BEGIN_ALLOW_THREADS
;
4674 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4676 wxPy_END_ALLOW_THREADS
;
4677 } _resultobj
= Py_BuildValue("i",_result
);
4681 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4682 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
* _resultobj
;
4684 wxAcceleratorTable
* _result
;
4686 wxAcceleratorEntry
* _arg1
;
4687 PyObject
* _obj1
= 0;
4688 char *_kwnames
[] = { "choices", NULL
};
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4696 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4697 if (_arg1
== NULL
) {
4703 _arg0
= PyList_Size(_obj1
);
4710 wxPy_BEGIN_ALLOW_THREADS
;
4711 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4713 wxPy_END_ALLOW_THREADS
;
4715 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4716 _resultobj
= Py_BuildValue("s",_ptemp
);
4719 _resultobj
= Py_None
;
4727 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4728 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
* _resultobj
;
4730 wxAcceleratorTable
* _arg0
;
4731 PyObject
* _argo0
= 0;
4732 char *_kwnames
[] = { "self", NULL
};
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4745 wxPy_BEGIN_ALLOW_THREADS
;
4746 delete_wxAcceleratorTable(_arg0
);
4748 wxPy_END_ALLOW_THREADS
;
4749 } Py_INCREF(Py_None
);
4750 _resultobj
= Py_None
;
4754 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4755 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
* _resultobj
;
4757 wxBusyInfo
* _result
;
4759 PyObject
* _obj0
= 0;
4760 char *_kwnames
[] = { "message", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4767 #if PYTHON_API_VERSION >= 1009
4768 char* tmpPtr
; int tmpSize
;
4769 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4770 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4773 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4775 _arg0
= new wxString(tmpPtr
, tmpSize
);
4777 if (!PyString_Check(_obj0
)) {
4778 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4781 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4785 wxPy_BEGIN_ALLOW_THREADS
;
4786 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4788 wxPy_END_ALLOW_THREADS
;
4790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4791 _resultobj
= Py_BuildValue("s",_ptemp
);
4794 _resultobj
= Py_None
;
4803 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4804 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
* _resultobj
;
4807 PyObject
* _argo0
= 0;
4808 char *_kwnames
[] = { "self", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4821 wxPy_BEGIN_ALLOW_THREADS
;
4822 delete_wxBusyInfo(_arg0
);
4824 wxPy_END_ALLOW_THREADS
;
4825 } Py_INCREF(Py_None
);
4826 _resultobj
= Py_None
;
4830 static PyMethodDef misccMethods
[] = {
4831 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4832 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4833 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4834 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4835 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4836 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4837 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4838 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4839 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4840 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4841 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4842 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4843 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4844 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4845 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4846 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4847 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4848 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4849 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4850 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4851 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4852 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4853 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
4854 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
4855 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4856 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
4857 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
4858 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4859 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
4860 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
4861 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4862 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4863 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
4864 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4865 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4866 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4867 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
4868 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4869 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4870 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4871 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4872 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4873 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4874 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4875 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4876 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4877 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4878 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4879 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4880 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4881 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4882 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4883 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4884 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4885 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4886 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4887 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4888 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4889 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4890 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4891 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4892 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4893 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4894 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4895 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4896 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4897 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4898 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4899 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4900 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4901 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4902 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4903 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4904 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4905 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4906 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4907 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4908 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4909 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4910 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4911 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4912 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4913 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4914 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4915 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4916 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4917 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4918 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4919 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4920 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4921 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4922 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4923 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4924 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4925 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4926 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4927 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4928 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4929 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4930 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4931 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4932 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4933 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4934 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4935 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4936 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4937 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4938 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4939 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4940 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4941 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4942 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4943 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4944 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4945 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4946 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4947 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4948 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4949 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4950 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4951 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4952 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4979 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4980 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4981 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4982 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
5003 * This table is used by the pointer type-checker
5005 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5006 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5007 { "_signed_long","_long",0},
5008 { "_wxPrintQuality","_wxCoord",0},
5009 { "_wxPrintQuality","_int",0},
5010 { "_wxPrintQuality","_signed_int",0},
5011 { "_wxPrintQuality","_unsigned_int",0},
5012 { "_wxPrintQuality","_wxWindowID",0},
5013 { "_wxPrintQuality","_uint",0},
5014 { "_wxPrintQuality","_EBool",0},
5015 { "_wxPrintQuality","_size_t",0},
5016 { "_wxPrintQuality","_time_t",0},
5017 { "_class_wxRegionIterator","_wxRegionIterator",0},
5018 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5019 { "_byte","_unsigned_char",0},
5020 { "_long","_unsigned_long",0},
5021 { "_long","_signed_long",0},
5022 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5023 { "_size_t","_wxCoord",0},
5024 { "_size_t","_wxPrintQuality",0},
5025 { "_size_t","_time_t",0},
5026 { "_size_t","_unsigned_int",0},
5027 { "_size_t","_int",0},
5028 { "_size_t","_wxWindowID",0},
5029 { "_size_t","_uint",0},
5030 { "_class_wxRealPoint","_wxRealPoint",0},
5031 { "_uint","_wxCoord",0},
5032 { "_uint","_wxPrintQuality",0},
5033 { "_uint","_time_t",0},
5034 { "_uint","_size_t",0},
5035 { "_uint","_unsigned_int",0},
5036 { "_uint","_int",0},
5037 { "_uint","_wxWindowID",0},
5038 { "_wxChar","_char",0},
5039 { "_wxRect","_class_wxRect",0},
5040 { "_wxPoint","_class_wxPoint",0},
5041 { "_char","_wxChar",0},
5042 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5043 { "_EBool","_wxCoord",0},
5044 { "_EBool","_wxPrintQuality",0},
5045 { "_EBool","_signed_int",0},
5046 { "_EBool","_int",0},
5047 { "_EBool","_wxWindowID",0},
5048 { "_class_wxRegion","_wxRegion",0},
5049 { "_unsigned_long","_long",0},
5050 { "_class_wxRect","_wxRect",0},
5051 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5052 { "_signed_int","_wxCoord",0},
5053 { "_signed_int","_wxPrintQuality",0},
5054 { "_signed_int","_EBool",0},
5055 { "_signed_int","_wxWindowID",0},
5056 { "_signed_int","_int",0},
5057 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5058 { "_WXTYPE","_short",0},
5059 { "_WXTYPE","_signed_short",0},
5060 { "_WXTYPE","_unsigned_short",0},
5061 { "_unsigned_short","_WXTYPE",0},
5062 { "_unsigned_short","_short",0},
5063 { "_wxBusyInfo","_class_wxBusyInfo",0},
5064 { "_class_wxPoint","_wxPoint",0},
5065 { "_wxRealPoint","_class_wxRealPoint",0},
5066 { "_signed_short","_WXTYPE",0},
5067 { "_signed_short","_short",0},
5068 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5069 { "_unsigned_char","_byte",0},
5070 { "_unsigned_int","_wxCoord",0},
5071 { "_unsigned_int","_wxPrintQuality",0},
5072 { "_unsigned_int","_time_t",0},
5073 { "_unsigned_int","_size_t",0},
5074 { "_unsigned_int","_uint",0},
5075 { "_unsigned_int","_wxWindowID",0},
5076 { "_unsigned_int","_int",0},
5077 { "_short","_WXTYPE",0},
5078 { "_short","_unsigned_short",0},
5079 { "_short","_signed_short",0},
5080 { "_wxWindowID","_wxCoord",0},
5081 { "_wxWindowID","_wxPrintQuality",0},
5082 { "_wxWindowID","_time_t",0},
5083 { "_wxWindowID","_size_t",0},
5084 { "_wxWindowID","_EBool",0},
5085 { "_wxWindowID","_uint",0},
5086 { "_wxWindowID","_int",0},
5087 { "_wxWindowID","_signed_int",0},
5088 { "_wxWindowID","_unsigned_int",0},
5089 { "_int","_wxCoord",0},
5090 { "_int","_wxPrintQuality",0},
5091 { "_int","_time_t",0},
5092 { "_int","_size_t",0},
5093 { "_int","_EBool",0},
5094 { "_int","_uint",0},
5095 { "_int","_wxWindowID",0},
5096 { "_int","_unsigned_int",0},
5097 { "_int","_signed_int",0},
5098 { "_time_t","_wxCoord",0},
5099 { "_time_t","_wxPrintQuality",0},
5100 { "_time_t","_unsigned_int",0},
5101 { "_time_t","_int",0},
5102 { "_time_t","_wxWindowID",0},
5103 { "_time_t","_uint",0},
5104 { "_time_t","_size_t",0},
5105 { "_wxSize","_class_wxSize",0},
5106 { "_wxRegionIterator","_class_wxRegionIterator",0},
5107 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5108 { "_wxCoord","_int",0},
5109 { "_wxCoord","_signed_int",0},
5110 { "_wxCoord","_unsigned_int",0},
5111 { "_wxCoord","_wxWindowID",0},
5112 { "_wxCoord","_uint",0},
5113 { "_wxCoord","_EBool",0},
5114 { "_wxCoord","_size_t",0},
5115 { "_wxCoord","_time_t",0},
5116 { "_wxCoord","_wxPrintQuality",0},
5117 { "_wxRegion","_class_wxRegion",0},
5118 { "_class_wxBusyInfo","_wxBusyInfo",0},
5119 { "_class_wxSize","_wxSize",0},
5122 static PyObject
*SWIG_globals
;
5126 SWIGEXPORT(void) initmiscc() {
5128 SWIG_globals
= SWIG_newvarlink();
5129 m
= Py_InitModule("miscc", misccMethods
);
5130 d
= PyModule_GetDict(m
);
5131 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5132 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5133 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5134 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5135 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5136 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5137 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5138 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5139 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5140 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5141 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5142 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5143 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5144 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5145 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5146 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5147 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5148 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5149 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5150 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
5151 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
5152 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
5153 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5154 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5157 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5158 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);