2 * FILE : src/gtk/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_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
336 char *_kwnames
[] = { NULL
};
345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
348 wxPy_BEGIN_ALLOW_THREADS
;
349 wxGetMousePosition(_arg0
,_arg1
);
351 wxPy_END_ALLOW_THREADS
;
352 } Py_INCREF(Py_None
);
353 _resultobj
= Py_None
;
356 o
= PyInt_FromLong((long) (*_arg0
));
357 _resultobj
= t_output_helper(_resultobj
, o
);
361 o
= PyInt_FromLong((long) (*_arg1
));
362 _resultobj
= t_output_helper(_resultobj
, o
);
367 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
370 char *_kwnames
[] = { NULL
};
373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
376 wxPy_BEGIN_ALLOW_THREADS
;
377 _result
= (bool )wxIsBusy();
379 wxPy_END_ALLOW_THREADS
;
380 } _resultobj
= Py_BuildValue("i",_result
);
384 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
385 PyObject
* _resultobj
;
387 char *_kwnames
[] = { NULL
};
390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
393 wxPy_BEGIN_ALLOW_THREADS
;
394 _result
= new wxString (wxNow());
396 wxPy_END_ALLOW_THREADS
;
398 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
406 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
407 PyObject
* _resultobj
;
409 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
410 PyObject
* _obj0
= 0;
411 char *_kwnames
[] = { "command", NULL
};
414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
418 #if PYTHON_API_VERSION >= 1009
419 char* tmpPtr
; int tmpSize
;
420 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
424 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
426 _arg0
= new wxString(tmpPtr
, tmpSize
);
428 if (!PyString_Check(_obj0
)) {
429 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
432 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
436 wxPy_BEGIN_ALLOW_THREADS
;
437 _result
= (bool )wxShell(*_arg0
);
439 wxPy_END_ALLOW_THREADS
;
440 } _resultobj
= Py_BuildValue("i",_result
);
448 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
450 char *_kwnames
[] = { NULL
};
453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
456 wxPy_BEGIN_ALLOW_THREADS
;
459 wxPy_END_ALLOW_THREADS
;
460 } Py_INCREF(Py_None
);
461 _resultobj
= Py_None
;
465 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
472 char *_kwnames
[] = { NULL
};
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
484 wxPy_BEGIN_ALLOW_THREADS
;
485 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
487 wxPy_END_ALLOW_THREADS
;
488 } _resultobj
= Py_BuildValue("i",_result
);
491 o
= PyInt_FromLong((long) (*_arg0
));
492 _resultobj
= t_output_helper(_resultobj
, o
);
496 o
= PyInt_FromLong((long) (*_arg1
));
497 _resultobj
= t_output_helper(_resultobj
, o
);
502 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
503 PyObject
* _resultobj
;
505 char *_kwnames
[] = { NULL
};
508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
511 wxPy_BEGIN_ALLOW_THREADS
;
512 _result
= new wxString (wxGetOsDescription());
514 wxPy_END_ALLOW_THREADS
;
516 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
524 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
527 char *_kwnames
[] = { "secs", NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
533 wxPy_BEGIN_ALLOW_THREADS
;
536 wxPy_END_ALLOW_THREADS
;
537 } Py_INCREF(Py_None
);
538 _resultobj
= Py_None
;
542 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
545 char *_kwnames
[] = { "milliseconds", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
551 wxPy_BEGIN_ALLOW_THREADS
;
554 wxPy_END_ALLOW_THREADS
;
555 } Py_INCREF(Py_None
);
556 _resultobj
= Py_None
;
560 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
561 PyObject
* _resultobj
;
563 char *_kwnames
[] = { NULL
};
566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
569 wxPy_BEGIN_ALLOW_THREADS
;
570 _result
= (bool )wxYield();
572 wxPy_END_ALLOW_THREADS
;
573 } _resultobj
= Py_BuildValue("i",_result
);
577 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
580 char *_kwnames
[] = { NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
586 wxPy_BEGIN_ALLOW_THREADS
;
587 _result
= (bool )wxYieldIfNeeded();
589 wxPy_END_ALLOW_THREADS
;
590 } _resultobj
= Py_BuildValue("i",_result
);
594 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 PyObject
* _resultobj
;
598 char *_kwnames
[] = { "enable", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
603 _arg0
= (bool ) tempbool0
;
605 wxPy_BEGIN_ALLOW_THREADS
;
606 wxEnableTopLevelWindows(_arg0
);
608 wxPy_END_ALLOW_THREADS
;
609 } Py_INCREF(Py_None
);
610 _resultobj
= Py_None
;
614 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
615 PyObject
* _resultobj
;
619 char * _arg2
= (char *) NULL
;
620 char *_kwnames
[] = { "section","entry","file", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
626 wxPy_BEGIN_ALLOW_THREADS
;
627 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
629 wxPy_END_ALLOW_THREADS
;
630 } _resultobj
= Py_BuildValue("s", _result
);
634 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
635 PyObject
* _resultobj
;
638 PyObject
* _obj0
= 0;
639 char *_kwnames
[] = { "in", NULL
};
642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
645 #if PYTHON_API_VERSION >= 1009
646 char* tmpPtr
; int tmpSize
;
647 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
651 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
653 _arg0
= new wxString(tmpPtr
, tmpSize
);
655 if (!PyString_Check(_obj0
)) {
656 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
659 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
663 wxPy_BEGIN_ALLOW_THREADS
;
664 _result
= new wxString (wxStripMenuCodes(*_arg0
));
666 wxPy_END_ALLOW_THREADS
;
668 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
680 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
681 PyObject
* _resultobj
;
683 char *_kwnames
[] = { NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
689 wxPy_BEGIN_ALLOW_THREADS
;
690 _result
= new wxString (wxGetEmailAddress());
692 wxPy_END_ALLOW_THREADS
;
694 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
702 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 PyObject
* _resultobj
;
705 char *_kwnames
[] = { NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
711 wxPy_BEGIN_ALLOW_THREADS
;
712 _result
= new wxString (wxGetHostName());
714 wxPy_END_ALLOW_THREADS
;
716 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
724 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
727 char *_kwnames
[] = { NULL
};
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
733 wxPy_BEGIN_ALLOW_THREADS
;
734 _result
= new wxString (wxGetFullHostName());
736 wxPy_END_ALLOW_THREADS
;
738 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
746 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
749 char *_kwnames
[] = { NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
755 wxPy_BEGIN_ALLOW_THREADS
;
756 _result
= new wxString (wxGetUserId());
758 wxPy_END_ALLOW_THREADS
;
760 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
768 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
769 PyObject
* _resultobj
;
771 char *_kwnames
[] = { NULL
};
774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
777 wxPy_BEGIN_ALLOW_THREADS
;
778 _result
= new wxString (wxGetUserName());
780 wxPy_END_ALLOW_THREADS
;
782 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
790 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
793 char *_kwnames
[] = { NULL
};
796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
799 wxPy_BEGIN_ALLOW_THREADS
;
800 _result
= new wxString (wxGetHomeDir());
802 wxPy_END_ALLOW_THREADS
;
804 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
812 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 PyObject
* _resultobj
;
814 wxAcceleratorEntry
* _result
;
816 PyObject
* _obj0
= 0;
817 char *_kwnames
[] = { "label", NULL
};
821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
824 #if PYTHON_API_VERSION >= 1009
825 char* tmpPtr
; int tmpSize
;
826 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
827 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
830 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
832 _arg0
= new wxString(tmpPtr
, tmpSize
);
834 if (!PyString_Check(_obj0
)) {
835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
838 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
842 wxPy_BEGIN_ALLOW_THREADS
;
843 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
845 wxPy_END_ALLOW_THREADS
;
847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
848 _resultobj
= Py_BuildValue("s",_ptemp
);
851 _resultobj
= Py_None
;
860 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
862 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
866 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
870 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
871 pyobj
= PyString_FromString(ptemp
);
875 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
876 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
882 PyObject
* _obj0
= 0;
883 char *_kwnames
[] = { "self","x", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
890 if (! wxSize_helper(_obj0
, &_arg0
))
894 wxPy_BEGIN_ALLOW_THREADS
;
895 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
897 wxPy_END_ALLOW_THREADS
;
898 } _resultobj
= Py_BuildValue("l",_result
);
902 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
903 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
904 PyObject
* _resultobj
;
908 PyObject
* _obj0
= 0;
909 char *_kwnames
[] = { "self", NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
916 if (! wxSize_helper(_obj0
, &_arg0
))
920 wxPy_BEGIN_ALLOW_THREADS
;
921 _result
= (long )wxSize_x_get(_arg0
);
923 wxPy_END_ALLOW_THREADS
;
924 } _resultobj
= Py_BuildValue("l",_result
);
928 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
929 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
930 PyObject
* _resultobj
;
935 PyObject
* _obj0
= 0;
936 char *_kwnames
[] = { "self","y", NULL
};
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
943 if (! wxSize_helper(_obj0
, &_arg0
))
947 wxPy_BEGIN_ALLOW_THREADS
;
948 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
950 wxPy_END_ALLOW_THREADS
;
951 } _resultobj
= Py_BuildValue("l",_result
);
955 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
956 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
957 PyObject
* _resultobj
;
961 PyObject
* _obj0
= 0;
962 char *_kwnames
[] = { "self", NULL
};
965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
969 if (! wxSize_helper(_obj0
, &_arg0
))
973 wxPy_BEGIN_ALLOW_THREADS
;
974 _result
= (long )wxSize_y_get(_arg0
);
976 wxPy_END_ALLOW_THREADS
;
977 } _resultobj
= Py_BuildValue("l",_result
);
981 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
982 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
983 PyObject
* _resultobj
;
985 long _arg0
= (long ) 0;
986 long _arg1
= (long ) 0;
987 char *_kwnames
[] = { "w","h", NULL
};
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
994 wxPy_BEGIN_ALLOW_THREADS
;
995 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
997 wxPy_END_ALLOW_THREADS
;
999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1000 _resultobj
= Py_BuildValue("s",_ptemp
);
1003 _resultobj
= Py_None
;
1008 #define delete_wxSize(_swigobj) (delete _swigobj)
1009 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1010 PyObject
* _resultobj
;
1013 PyObject
* _obj0
= 0;
1014 char *_kwnames
[] = { "self", NULL
};
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1021 if (! wxSize_helper(_obj0
, &_arg0
))
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 delete_wxSize(_arg0
);
1028 wxPy_END_ALLOW_THREADS
;
1029 } Py_INCREF(Py_None
);
1030 _resultobj
= Py_None
;
1034 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1035 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1041 PyObject
* _obj0
= 0;
1042 char *_kwnames
[] = { "self","w","h", NULL
};
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1049 if (! wxSize_helper(_obj0
, &_arg0
))
1053 wxPy_BEGIN_ALLOW_THREADS
;
1054 wxSize_Set(_arg0
,_arg1
,_arg2
);
1056 wxPy_END_ALLOW_THREADS
;
1057 } Py_INCREF(Py_None
);
1058 _resultobj
= Py_None
;
1062 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1063 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1064 PyObject
* _resultobj
;
1068 PyObject
* _obj0
= 0;
1069 char *_kwnames
[] = { "self", NULL
};
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1076 if (! wxSize_helper(_obj0
, &_arg0
))
1080 wxPy_BEGIN_ALLOW_THREADS
;
1081 _result
= (long )wxSize_GetX(_arg0
);
1083 wxPy_END_ALLOW_THREADS
;
1084 } _resultobj
= Py_BuildValue("l",_result
);
1088 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1089 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1090 PyObject
* _resultobj
;
1094 PyObject
* _obj0
= 0;
1095 char *_kwnames
[] = { "self", NULL
};
1098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1102 if (! wxSize_helper(_obj0
, &_arg0
))
1106 wxPy_BEGIN_ALLOW_THREADS
;
1107 _result
= (long )wxSize_GetY(_arg0
);
1109 wxPy_END_ALLOW_THREADS
;
1110 } _resultobj
= Py_BuildValue("l",_result
);
1114 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1115 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1120 PyObject
* _obj0
= 0;
1121 char *_kwnames
[] = { "self", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1128 if (! wxSize_helper(_obj0
, &_arg0
))
1132 wxPy_BEGIN_ALLOW_THREADS
;
1133 _result
= (long )wxSize_GetWidth(_arg0
);
1135 wxPy_END_ALLOW_THREADS
;
1136 } _resultobj
= Py_BuildValue("l",_result
);
1140 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1141 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
* _resultobj
;
1146 PyObject
* _obj0
= 0;
1147 char *_kwnames
[] = { "self", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1154 if (! wxSize_helper(_obj0
, &_arg0
))
1158 wxPy_BEGIN_ALLOW_THREADS
;
1159 _result
= (long )wxSize_GetHeight(_arg0
);
1161 wxPy_END_ALLOW_THREADS
;
1162 } _resultobj
= Py_BuildValue("l",_result
);
1166 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1167 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
* _resultobj
;
1172 PyObject
* _obj0
= 0;
1173 char *_kwnames
[] = { "self","w", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1180 if (! wxSize_helper(_obj0
, &_arg0
))
1184 wxPy_BEGIN_ALLOW_THREADS
;
1185 wxSize_SetWidth(_arg0
,_arg1
);
1187 wxPy_END_ALLOW_THREADS
;
1188 } Py_INCREF(Py_None
);
1189 _resultobj
= Py_None
;
1193 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1194 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
* _resultobj
;
1199 PyObject
* _obj0
= 0;
1200 char *_kwnames
[] = { "self","h", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1207 if (! wxSize_helper(_obj0
, &_arg0
))
1211 wxPy_BEGIN_ALLOW_THREADS
;
1212 wxSize_SetHeight(_arg0
,_arg1
);
1214 wxPy_END_ALLOW_THREADS
;
1215 } Py_INCREF(Py_None
);
1216 _resultobj
= Py_None
;
1220 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1221 PyObject
* tup
= PyTuple_New(2);
1222 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1223 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1226 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1227 PyObject
* _resultobj
;
1231 PyObject
* _obj0
= 0;
1232 char *_kwnames
[] = { "self", NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1239 if (! wxSize_helper(_obj0
, &_arg0
))
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1246 wxPy_END_ALLOW_THREADS
;
1248 _resultobj
= _result
;
1253 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1254 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1257 wxRealPoint
* _arg0
;
1260 PyObject
* _obj0
= 0;
1261 char *_kwnames
[] = { "self","x", NULL
};
1264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1268 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1272 wxPy_BEGIN_ALLOW_THREADS
;
1273 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1275 wxPy_END_ALLOW_THREADS
;
1276 } _resultobj
= Py_BuildValue("d",_result
);
1280 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1281 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1284 wxRealPoint
* _arg0
;
1286 PyObject
* _obj0
= 0;
1287 char *_kwnames
[] = { "self", NULL
};
1290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1294 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1298 wxPy_BEGIN_ALLOW_THREADS
;
1299 _result
= (double )wxRealPoint_x_get(_arg0
);
1301 wxPy_END_ALLOW_THREADS
;
1302 } _resultobj
= Py_BuildValue("d",_result
);
1306 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1307 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1310 wxRealPoint
* _arg0
;
1313 PyObject
* _obj0
= 0;
1314 char *_kwnames
[] = { "self","y", NULL
};
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1321 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1325 wxPy_BEGIN_ALLOW_THREADS
;
1326 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1328 wxPy_END_ALLOW_THREADS
;
1329 } _resultobj
= Py_BuildValue("d",_result
);
1333 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1334 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
* _resultobj
;
1337 wxRealPoint
* _arg0
;
1339 PyObject
* _obj0
= 0;
1340 char *_kwnames
[] = { "self", NULL
};
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1347 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1351 wxPy_BEGIN_ALLOW_THREADS
;
1352 _result
= (double )wxRealPoint_y_get(_arg0
);
1354 wxPy_END_ALLOW_THREADS
;
1355 } _resultobj
= Py_BuildValue("d",_result
);
1359 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1360 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1362 wxRealPoint
* _result
;
1363 double _arg0
= (double ) 0.0;
1364 double _arg1
= (double ) 0.0;
1365 char *_kwnames
[] = { "x","y", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1372 wxPy_BEGIN_ALLOW_THREADS
;
1373 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1375 wxPy_END_ALLOW_THREADS
;
1377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1378 _resultobj
= Py_BuildValue("s",_ptemp
);
1381 _resultobj
= Py_None
;
1386 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1387 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1388 PyObject
* _resultobj
;
1389 wxRealPoint
* _arg0
;
1391 PyObject
* _obj0
= 0;
1392 char *_kwnames
[] = { "self", NULL
};
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1399 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1403 wxPy_BEGIN_ALLOW_THREADS
;
1404 delete_wxRealPoint(_arg0
);
1406 wxPy_END_ALLOW_THREADS
;
1407 } Py_INCREF(Py_None
);
1408 _resultobj
= Py_None
;
1412 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1416 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1418 wxRealPoint
* _arg0
;
1422 PyObject
* _obj0
= 0;
1423 char *_kwnames
[] = { "self","x","y", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1430 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1434 wxPy_BEGIN_ALLOW_THREADS
;
1435 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1437 wxPy_END_ALLOW_THREADS
;
1438 } Py_INCREF(Py_None
);
1439 _resultobj
= Py_None
;
1443 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1444 PyObject
* tup
= PyTuple_New(2);
1445 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1446 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1449 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
* _resultobj
;
1452 wxRealPoint
* _arg0
;
1454 PyObject
* _obj0
= 0;
1455 char *_kwnames
[] = { "self", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1462 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1466 wxPy_BEGIN_ALLOW_THREADS
;
1467 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1469 wxPy_END_ALLOW_THREADS
;
1471 _resultobj
= _result
;
1476 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1477 if (! p
) return *self
;
1480 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1482 wxRealPoint
* _result
;
1483 wxRealPoint
* _arg0
;
1484 wxRealPoint
* _arg1
;
1486 PyObject
* _obj0
= 0;
1488 PyObject
* _obj1
= 0;
1489 char *_kwnames
[] = { "self","p", NULL
};
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1497 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1502 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1509 wxPy_END_ALLOW_THREADS
;
1510 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1511 _resultobj
= Py_BuildValue("s",_ptemp
);
1515 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1516 if (! p
) return *self
;
1519 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1521 wxRealPoint
* _result
;
1522 wxRealPoint
* _arg0
;
1523 wxRealPoint
* _arg1
;
1525 PyObject
* _obj0
= 0;
1527 PyObject
* _obj1
= 0;
1528 char *_kwnames
[] = { "self","p", NULL
};
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1536 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1541 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1545 wxPy_BEGIN_ALLOW_THREADS
;
1546 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1548 wxPy_END_ALLOW_THREADS
;
1549 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1550 _resultobj
= Py_BuildValue("s",_ptemp
);
1554 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1558 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
* _resultobj
;
1561 wxRealPoint
* _arg0
;
1562 wxRealPoint
* _arg1
;
1564 PyObject
* _obj0
= 0;
1566 PyObject
* _obj1
= 0;
1567 char *_kwnames
[] = { "self","p", NULL
};
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1574 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1579 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1583 wxPy_BEGIN_ALLOW_THREADS
;
1584 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1586 wxPy_END_ALLOW_THREADS
;
1587 } _resultobj
= Py_BuildValue("i",_result
);
1591 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1592 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1598 PyObject
* _obj0
= 0;
1599 char *_kwnames
[] = { "self","x", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1606 if (! wxPoint_helper(_obj0
, &_arg0
))
1610 wxPy_BEGIN_ALLOW_THREADS
;
1611 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1613 wxPy_END_ALLOW_THREADS
;
1614 } _resultobj
= Py_BuildValue("l",_result
);
1618 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1619 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
* _resultobj
;
1624 PyObject
* _obj0
= 0;
1625 char *_kwnames
[] = { "self", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1632 if (! wxPoint_helper(_obj0
, &_arg0
))
1636 wxPy_BEGIN_ALLOW_THREADS
;
1637 _result
= (long )wxPoint_x_get(_arg0
);
1639 wxPy_END_ALLOW_THREADS
;
1640 } _resultobj
= Py_BuildValue("l",_result
);
1644 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1645 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
* _resultobj
;
1651 PyObject
* _obj0
= 0;
1652 char *_kwnames
[] = { "self","y", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1659 if (! wxPoint_helper(_obj0
, &_arg0
))
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1666 wxPy_END_ALLOW_THREADS
;
1667 } _resultobj
= Py_BuildValue("l",_result
);
1671 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1672 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1673 PyObject
* _resultobj
;
1677 PyObject
* _obj0
= 0;
1678 char *_kwnames
[] = { "self", NULL
};
1681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1685 if (! wxPoint_helper(_obj0
, &_arg0
))
1689 wxPy_BEGIN_ALLOW_THREADS
;
1690 _result
= (long )wxPoint_y_get(_arg0
);
1692 wxPy_END_ALLOW_THREADS
;
1693 } _resultobj
= Py_BuildValue("l",_result
);
1697 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1698 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
* _resultobj
;
1701 long _arg0
= (long ) 0;
1702 long _arg1
= (long ) 0;
1703 char *_kwnames
[] = { "x","y", NULL
};
1707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1710 wxPy_BEGIN_ALLOW_THREADS
;
1711 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1713 wxPy_END_ALLOW_THREADS
;
1715 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1716 _resultobj
= Py_BuildValue("s",_ptemp
);
1719 _resultobj
= Py_None
;
1724 #define delete_wxPoint(_swigobj) (delete _swigobj)
1725 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
* _resultobj
;
1729 PyObject
* _obj0
= 0;
1730 char *_kwnames
[] = { "self", NULL
};
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1737 if (! wxPoint_helper(_obj0
, &_arg0
))
1741 wxPy_BEGIN_ALLOW_THREADS
;
1742 delete_wxPoint(_arg0
);
1744 wxPy_END_ALLOW_THREADS
;
1745 } Py_INCREF(Py_None
);
1746 _resultobj
= Py_None
;
1750 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1754 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1760 PyObject
* _obj0
= 0;
1761 char *_kwnames
[] = { "self","x","y", NULL
};
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1768 if (! wxPoint_helper(_obj0
, &_arg0
))
1772 wxPy_BEGIN_ALLOW_THREADS
;
1773 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1775 wxPy_END_ALLOW_THREADS
;
1776 } Py_INCREF(Py_None
);
1777 _resultobj
= Py_None
;
1781 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1782 PyObject
* tup
= PyTuple_New(2);
1783 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1784 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1787 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1792 PyObject
* _obj0
= 0;
1793 char *_kwnames
[] = { "self", NULL
};
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1800 if (! wxPoint_helper(_obj0
, &_arg0
))
1804 wxPy_BEGIN_ALLOW_THREADS
;
1805 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1807 wxPy_END_ALLOW_THREADS
;
1809 _resultobj
= _result
;
1814 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1815 if (! p
) return *self
;
1818 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1824 PyObject
* _obj0
= 0;
1826 PyObject
* _obj1
= 0;
1827 char *_kwnames
[] = { "self","p", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1835 if (! wxPoint_helper(_obj0
, &_arg0
))
1840 if (! wxPoint_helper(_obj1
, &_arg1
))
1844 wxPy_BEGIN_ALLOW_THREADS
;
1845 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
1847 wxPy_END_ALLOW_THREADS
;
1848 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1849 _resultobj
= Py_BuildValue("s",_ptemp
);
1853 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
1854 if (! p
) return *self
;
1857 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
* _resultobj
;
1863 PyObject
* _obj0
= 0;
1865 PyObject
* _obj1
= 0;
1866 char *_kwnames
[] = { "self","p", NULL
};
1870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1874 if (! wxPoint_helper(_obj0
, &_arg0
))
1879 if (! wxPoint_helper(_obj1
, &_arg1
))
1883 wxPy_BEGIN_ALLOW_THREADS
;
1884 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
1886 wxPy_END_ALLOW_THREADS
;
1887 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1888 _resultobj
= Py_BuildValue("s",_ptemp
);
1892 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
1896 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1902 PyObject
* _obj0
= 0;
1904 PyObject
* _obj1
= 0;
1905 char *_kwnames
[] = { "self","p", NULL
};
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1912 if (! wxPoint_helper(_obj0
, &_arg0
))
1917 if (! wxPoint_helper(_obj1
, &_arg1
))
1921 wxPy_BEGIN_ALLOW_THREADS
;
1922 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
1924 wxPy_END_ALLOW_THREADS
;
1925 } _resultobj
= Py_BuildValue("i",_result
);
1929 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1930 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
* _resultobj
;
1933 int _arg0
= (int ) 0;
1934 int _arg1
= (int ) 0;
1935 int _arg2
= (int ) 0;
1936 int _arg3
= (int ) 0;
1937 char *_kwnames
[] = { "x","y","w","h", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1944 wxPy_BEGIN_ALLOW_THREADS
;
1945 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1947 wxPy_END_ALLOW_THREADS
;
1949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1950 _resultobj
= Py_BuildValue("s",_ptemp
);
1953 _resultobj
= Py_None
;
1958 #define delete_wxRect(_swigobj) (delete _swigobj)
1959 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1963 PyObject
* _obj0
= 0;
1964 char *_kwnames
[] = { "self", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
1971 if (! wxRect_helper(_obj0
, &_arg0
))
1975 wxPy_BEGIN_ALLOW_THREADS
;
1976 delete_wxRect(_arg0
);
1978 wxPy_END_ALLOW_THREADS
;
1979 } Py_INCREF(Py_None
);
1980 _resultobj
= Py_None
;
1984 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1985 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1990 PyObject
* _obj0
= 0;
1991 char *_kwnames
[] = { "self", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
1998 if (! wxRect_helper(_obj0
, &_arg0
))
2002 wxPy_BEGIN_ALLOW_THREADS
;
2003 _result
= (int )wxRect_GetX(_arg0
);
2005 wxPy_END_ALLOW_THREADS
;
2006 } _resultobj
= Py_BuildValue("i",_result
);
2010 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2011 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
* _resultobj
;
2016 PyObject
* _obj0
= 0;
2017 char *_kwnames
[] = { "self","X", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2024 if (! wxRect_helper(_obj0
, &_arg0
))
2028 wxPy_BEGIN_ALLOW_THREADS
;
2029 wxRect_SetX(_arg0
,_arg1
);
2031 wxPy_END_ALLOW_THREADS
;
2032 } Py_INCREF(Py_None
);
2033 _resultobj
= Py_None
;
2037 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2038 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
* _resultobj
;
2043 PyObject
* _obj0
= 0;
2044 char *_kwnames
[] = { "self", NULL
};
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2051 if (! wxRect_helper(_obj0
, &_arg0
))
2055 wxPy_BEGIN_ALLOW_THREADS
;
2056 _result
= (int )wxRect_GetY(_arg0
);
2058 wxPy_END_ALLOW_THREADS
;
2059 } _resultobj
= Py_BuildValue("i",_result
);
2063 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2064 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2069 PyObject
* _obj0
= 0;
2070 char *_kwnames
[] = { "self","Y", NULL
};
2073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2077 if (! wxRect_helper(_obj0
, &_arg0
))
2081 wxPy_BEGIN_ALLOW_THREADS
;
2082 wxRect_SetY(_arg0
,_arg1
);
2084 wxPy_END_ALLOW_THREADS
;
2085 } Py_INCREF(Py_None
);
2086 _resultobj
= Py_None
;
2090 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2091 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
* _resultobj
;
2096 PyObject
* _obj0
= 0;
2097 char *_kwnames
[] = { "self", NULL
};
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2104 if (! wxRect_helper(_obj0
, &_arg0
))
2108 wxPy_BEGIN_ALLOW_THREADS
;
2109 _result
= (int )wxRect_GetWidth(_arg0
);
2111 wxPy_END_ALLOW_THREADS
;
2112 } _resultobj
= Py_BuildValue("i",_result
);
2116 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2117 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2122 PyObject
* _obj0
= 0;
2123 char *_kwnames
[] = { "self","w", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2130 if (! wxRect_helper(_obj0
, &_arg0
))
2134 wxPy_BEGIN_ALLOW_THREADS
;
2135 wxRect_SetWidth(_arg0
,_arg1
);
2137 wxPy_END_ALLOW_THREADS
;
2138 } Py_INCREF(Py_None
);
2139 _resultobj
= Py_None
;
2143 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2144 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2149 PyObject
* _obj0
= 0;
2150 char *_kwnames
[] = { "self", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2157 if (! wxRect_helper(_obj0
, &_arg0
))
2161 wxPy_BEGIN_ALLOW_THREADS
;
2162 _result
= (int )wxRect_GetHeight(_arg0
);
2164 wxPy_END_ALLOW_THREADS
;
2165 } _resultobj
= Py_BuildValue("i",_result
);
2169 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2170 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2175 PyObject
* _obj0
= 0;
2176 char *_kwnames
[] = { "self","h", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2183 if (! wxRect_helper(_obj0
, &_arg0
))
2187 wxPy_BEGIN_ALLOW_THREADS
;
2188 wxRect_SetHeight(_arg0
,_arg1
);
2190 wxPy_END_ALLOW_THREADS
;
2191 } Py_INCREF(Py_None
);
2192 _resultobj
= Py_None
;
2196 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2197 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2202 PyObject
* _obj0
= 0;
2203 char *_kwnames
[] = { "self", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2211 if (! wxRect_helper(_obj0
, &_arg0
))
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2218 wxPy_END_ALLOW_THREADS
;
2219 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2220 _resultobj
= Py_BuildValue("s",_ptemp
);
2224 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2225 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2230 PyObject
* _obj0
= 0;
2231 char *_kwnames
[] = { "self", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2239 if (! wxRect_helper(_obj0
, &_arg0
))
2243 wxPy_BEGIN_ALLOW_THREADS
;
2244 _result
= new wxSize (wxRect_GetSize(_arg0
));
2246 wxPy_END_ALLOW_THREADS
;
2247 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2248 _resultobj
= Py_BuildValue("s",_ptemp
);
2252 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2253 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2258 PyObject
* _obj0
= 0;
2259 char *_kwnames
[] = { "self", NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2266 if (! wxRect_helper(_obj0
, &_arg0
))
2270 wxPy_BEGIN_ALLOW_THREADS
;
2271 _result
= (int )wxRect_GetLeft(_arg0
);
2273 wxPy_END_ALLOW_THREADS
;
2274 } _resultobj
= Py_BuildValue("i",_result
);
2278 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2279 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2284 PyObject
* _obj0
= 0;
2285 char *_kwnames
[] = { "self", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2292 if (! wxRect_helper(_obj0
, &_arg0
))
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 _result
= (int )wxRect_GetTop(_arg0
);
2299 wxPy_END_ALLOW_THREADS
;
2300 } _resultobj
= Py_BuildValue("i",_result
);
2304 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2305 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2310 PyObject
* _obj0
= 0;
2311 char *_kwnames
[] = { "self", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2318 if (! wxRect_helper(_obj0
, &_arg0
))
2322 wxPy_BEGIN_ALLOW_THREADS
;
2323 _result
= (int )wxRect_GetBottom(_arg0
);
2325 wxPy_END_ALLOW_THREADS
;
2326 } _resultobj
= Py_BuildValue("i",_result
);
2330 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2331 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2336 PyObject
* _obj0
= 0;
2337 char *_kwnames
[] = { "self", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2344 if (! wxRect_helper(_obj0
, &_arg0
))
2348 wxPy_BEGIN_ALLOW_THREADS
;
2349 _result
= (int )wxRect_GetRight(_arg0
);
2351 wxPy_END_ALLOW_THREADS
;
2352 } _resultobj
= Py_BuildValue("i",_result
);
2356 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2357 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2362 PyObject
* _obj0
= 0;
2363 char *_kwnames
[] = { "self","left", NULL
};
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2370 if (! wxRect_helper(_obj0
, &_arg0
))
2374 wxPy_BEGIN_ALLOW_THREADS
;
2375 wxRect_SetLeft(_arg0
,_arg1
);
2377 wxPy_END_ALLOW_THREADS
;
2378 } Py_INCREF(Py_None
);
2379 _resultobj
= Py_None
;
2383 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2384 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
* _resultobj
;
2389 PyObject
* _obj0
= 0;
2390 char *_kwnames
[] = { "self","right", NULL
};
2393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2397 if (! wxRect_helper(_obj0
, &_arg0
))
2401 wxPy_BEGIN_ALLOW_THREADS
;
2402 wxRect_SetRight(_arg0
,_arg1
);
2404 wxPy_END_ALLOW_THREADS
;
2405 } Py_INCREF(Py_None
);
2406 _resultobj
= Py_None
;
2410 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2411 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2416 PyObject
* _obj0
= 0;
2417 char *_kwnames
[] = { "self","top", NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2424 if (! wxRect_helper(_obj0
, &_arg0
))
2428 wxPy_BEGIN_ALLOW_THREADS
;
2429 wxRect_SetTop(_arg0
,_arg1
);
2431 wxPy_END_ALLOW_THREADS
;
2432 } Py_INCREF(Py_None
);
2433 _resultobj
= Py_None
;
2437 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2438 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
* _resultobj
;
2443 PyObject
* _obj0
= 0;
2444 char *_kwnames
[] = { "self","bottom", NULL
};
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2451 if (! wxRect_helper(_obj0
, &_arg0
))
2455 wxPy_BEGIN_ALLOW_THREADS
;
2456 wxRect_SetBottom(_arg0
,_arg1
);
2458 wxPy_END_ALLOW_THREADS
;
2459 } Py_INCREF(Py_None
);
2460 _resultobj
= Py_None
;
2464 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2465 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2471 PyObject
* _obj0
= 0;
2472 char *_kwnames
[] = { "self","dx","dy", NULL
};
2475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2479 if (! wxRect_helper(_obj0
, &_arg0
))
2483 wxPy_BEGIN_ALLOW_THREADS
;
2484 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2486 wxPy_END_ALLOW_THREADS
;
2487 } Py_INCREF(Py_None
);
2488 _resultobj
= Py_None
;
2492 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2493 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
* _resultobj
;
2500 PyObject
* _obj0
= 0;
2501 char *_kwnames
[] = { "self","cx","cy", NULL
};
2504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2508 if (! wxRect_helper(_obj0
, &_arg0
))
2512 wxPy_BEGIN_ALLOW_THREADS
;
2513 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2515 wxPy_END_ALLOW_THREADS
;
2516 } _resultobj
= Py_BuildValue("i",_result
);
2520 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2521 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2527 PyObject
* _obj0
= 0;
2528 char *_kwnames
[] = { "self","x", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2535 if (! wxRect_helper(_obj0
, &_arg0
))
2539 wxPy_BEGIN_ALLOW_THREADS
;
2540 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2542 wxPy_END_ALLOW_THREADS
;
2543 } _resultobj
= Py_BuildValue("i",_result
);
2547 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2548 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
* _resultobj
;
2553 PyObject
* _obj0
= 0;
2554 char *_kwnames
[] = { "self", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2561 if (! wxRect_helper(_obj0
, &_arg0
))
2565 wxPy_BEGIN_ALLOW_THREADS
;
2566 _result
= (int )wxRect_x_get(_arg0
);
2568 wxPy_END_ALLOW_THREADS
;
2569 } _resultobj
= Py_BuildValue("i",_result
);
2573 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2574 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2580 PyObject
* _obj0
= 0;
2581 char *_kwnames
[] = { "self","y", NULL
};
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2588 if (! wxRect_helper(_obj0
, &_arg0
))
2592 wxPy_BEGIN_ALLOW_THREADS
;
2593 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2595 wxPy_END_ALLOW_THREADS
;
2596 } _resultobj
= Py_BuildValue("i",_result
);
2600 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2601 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
* _resultobj
;
2606 PyObject
* _obj0
= 0;
2607 char *_kwnames
[] = { "self", NULL
};
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2614 if (! wxRect_helper(_obj0
, &_arg0
))
2618 wxPy_BEGIN_ALLOW_THREADS
;
2619 _result
= (int )wxRect_y_get(_arg0
);
2621 wxPy_END_ALLOW_THREADS
;
2622 } _resultobj
= Py_BuildValue("i",_result
);
2626 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2627 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
* _resultobj
;
2633 PyObject
* _obj0
= 0;
2634 char *_kwnames
[] = { "self","width", NULL
};
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2641 if (! wxRect_helper(_obj0
, &_arg0
))
2645 wxPy_BEGIN_ALLOW_THREADS
;
2646 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2648 wxPy_END_ALLOW_THREADS
;
2649 } _resultobj
= Py_BuildValue("i",_result
);
2653 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2654 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
* _resultobj
;
2659 PyObject
* _obj0
= 0;
2660 char *_kwnames
[] = { "self", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2667 if (! wxRect_helper(_obj0
, &_arg0
))
2671 wxPy_BEGIN_ALLOW_THREADS
;
2672 _result
= (int )wxRect_width_get(_arg0
);
2674 wxPy_END_ALLOW_THREADS
;
2675 } _resultobj
= Py_BuildValue("i",_result
);
2679 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2680 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
* _resultobj
;
2686 PyObject
* _obj0
= 0;
2687 char *_kwnames
[] = { "self","height", NULL
};
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2694 if (! wxRect_helper(_obj0
, &_arg0
))
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2701 wxPy_END_ALLOW_THREADS
;
2702 } _resultobj
= Py_BuildValue("i",_result
);
2706 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2707 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
* _resultobj
;
2712 PyObject
* _obj0
= 0;
2713 char *_kwnames
[] = { "self", NULL
};
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2720 if (! wxRect_helper(_obj0
, &_arg0
))
2724 wxPy_BEGIN_ALLOW_THREADS
;
2725 _result
= (int )wxRect_height_get(_arg0
);
2727 wxPy_END_ALLOW_THREADS
;
2728 } _resultobj
= Py_BuildValue("i",_result
);
2732 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2733 PyObject
* tup
= PyTuple_New(4);
2734 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2735 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2736 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2737 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2740 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
* _resultobj
;
2745 PyObject
* _obj0
= 0;
2746 char *_kwnames
[] = { "self", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2753 if (! wxRect_helper(_obj0
, &_arg0
))
2757 wxPy_BEGIN_ALLOW_THREADS
;
2758 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2760 wxPy_END_ALLOW_THREADS
;
2762 _resultobj
= _result
;
2767 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2768 if (! rect
) return *self
;
2769 return *self
+ *rect
;
2771 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2777 PyObject
* _obj0
= 0;
2779 PyObject
* _obj1
= 0;
2780 char *_kwnames
[] = { "self","rect", NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2788 if (! wxRect_helper(_obj0
, &_arg0
))
2793 if (! wxRect_helper(_obj1
, &_arg1
))
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2800 wxPy_END_ALLOW_THREADS
;
2801 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2802 _resultobj
= Py_BuildValue("s",_ptemp
);
2806 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
2807 if (! rect
) return 0;
2808 return *self
== *rect
;
2810 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2816 PyObject
* _obj0
= 0;
2818 PyObject
* _obj1
= 0;
2819 char *_kwnames
[] = { "self","rect", NULL
};
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
2826 if (! wxRect_helper(_obj0
, &_arg0
))
2831 if (! wxRect_helper(_obj1
, &_arg1
))
2835 wxPy_BEGIN_ALLOW_THREADS
;
2836 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
2838 wxPy_END_ALLOW_THREADS
;
2839 } _resultobj
= Py_BuildValue("i",_result
);
2843 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2844 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2845 PyObject
* _resultobj
;
2846 wxIndividualLayoutConstraint
* _arg0
;
2848 int _arg2
= (int ) 0;
2849 PyObject
* _argo0
= 0;
2850 PyObject
* _argo1
= 0;
2851 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2864 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2865 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2871 wxPy_BEGIN_ALLOW_THREADS
;
2872 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2874 wxPy_END_ALLOW_THREADS
;
2875 } Py_INCREF(Py_None
);
2876 _resultobj
= Py_None
;
2880 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2881 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2883 wxIndividualLayoutConstraint
* _arg0
;
2885 PyObject
* _argo0
= 0;
2886 char *_kwnames
[] = { "self","value", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2899 wxPy_BEGIN_ALLOW_THREADS
;
2900 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2902 wxPy_END_ALLOW_THREADS
;
2903 } Py_INCREF(Py_None
);
2904 _resultobj
= Py_None
;
2908 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2909 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
* _resultobj
;
2911 wxIndividualLayoutConstraint
* _arg0
;
2912 PyObject
* _argo0
= 0;
2913 char *_kwnames
[] = { "self", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2926 wxPy_BEGIN_ALLOW_THREADS
;
2927 wxIndividualLayoutConstraint_AsIs(_arg0
);
2929 wxPy_END_ALLOW_THREADS
;
2930 } Py_INCREF(Py_None
);
2931 _resultobj
= Py_None
;
2935 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2936 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2938 wxIndividualLayoutConstraint
* _arg0
;
2940 int _arg2
= (int ) 0;
2941 PyObject
* _argo0
= 0;
2942 PyObject
* _argo1
= 0;
2943 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2956 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2963 wxPy_BEGIN_ALLOW_THREADS
;
2964 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2966 wxPy_END_ALLOW_THREADS
;
2967 } Py_INCREF(Py_None
);
2968 _resultobj
= Py_None
;
2972 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2973 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
* _resultobj
;
2975 wxIndividualLayoutConstraint
* _arg0
;
2976 PyObject
* _argo0
= 0;
2977 char *_kwnames
[] = { "self", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2990 wxPy_BEGIN_ALLOW_THREADS
;
2991 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2993 wxPy_END_ALLOW_THREADS
;
2994 } Py_INCREF(Py_None
);
2995 _resultobj
= Py_None
;
2999 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3000 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
* _resultobj
;
3002 wxIndividualLayoutConstraint
* _arg0
;
3004 int _arg2
= (int ) 0;
3005 PyObject
* _argo0
= 0;
3006 PyObject
* _argo1
= 0;
3007 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3020 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3027 wxPy_BEGIN_ALLOW_THREADS
;
3028 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3030 wxPy_END_ALLOW_THREADS
;
3031 } Py_INCREF(Py_None
);
3032 _resultobj
= Py_None
;
3036 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3037 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3039 wxIndividualLayoutConstraint
* _arg0
;
3043 PyObject
* _argo0
= 0;
3044 PyObject
* _argo1
= 0;
3045 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3058 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3065 wxPy_BEGIN_ALLOW_THREADS
;
3066 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3068 wxPy_END_ALLOW_THREADS
;
3069 } Py_INCREF(Py_None
);
3070 _resultobj
= Py_None
;
3074 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3075 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
* _resultobj
;
3077 wxIndividualLayoutConstraint
* _arg0
;
3079 int _arg2
= (int ) 0;
3080 PyObject
* _argo0
= 0;
3081 PyObject
* _argo1
= 0;
3082 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3095 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3096 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3102 wxPy_BEGIN_ALLOW_THREADS
;
3103 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3105 wxPy_END_ALLOW_THREADS
;
3106 } Py_INCREF(Py_None
);
3107 _resultobj
= Py_None
;
3111 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3112 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
* _resultobj
;
3114 wxIndividualLayoutConstraint
* _arg0
;
3117 int _arg3
= (int ) 0;
3118 PyObject
* _argo0
= 0;
3119 PyObject
* _argo1
= 0;
3120 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3133 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3140 wxPy_BEGIN_ALLOW_THREADS
;
3141 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3143 wxPy_END_ALLOW_THREADS
;
3144 } Py_INCREF(Py_None
);
3145 _resultobj
= Py_None
;
3149 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3150 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3152 wxIndividualLayoutConstraint
* _arg0
;
3153 wxRelationship _arg1
;
3156 int _arg4
= (int ) 0;
3157 int _arg5
= (int ) 0;
3158 PyObject
* _argo0
= 0;
3159 PyObject
* _argo2
= 0;
3160 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3173 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3180 wxPy_BEGIN_ALLOW_THREADS
;
3181 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3183 wxPy_END_ALLOW_THREADS
;
3184 } Py_INCREF(Py_None
);
3185 _resultobj
= Py_None
;
3189 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3190 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3192 wxLayoutConstraints
* _result
;
3193 char *_kwnames
[] = { NULL
};
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3200 wxPy_BEGIN_ALLOW_THREADS
;
3201 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3203 wxPy_END_ALLOW_THREADS
;
3205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3206 _resultobj
= Py_BuildValue("s",_ptemp
);
3209 _resultobj
= Py_None
;
3214 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3215 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3216 PyObject
* _resultobj
;
3217 wxIndividualLayoutConstraint
* _result
;
3218 wxLayoutConstraints
* _arg0
;
3219 PyObject
* _argo0
= 0;
3220 char *_kwnames
[] = { "self", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3234 wxPy_BEGIN_ALLOW_THREADS
;
3235 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3237 wxPy_END_ALLOW_THREADS
;
3239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3240 _resultobj
= Py_BuildValue("s",_ptemp
);
3243 _resultobj
= Py_None
;
3248 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3249 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
* _resultobj
;
3251 wxIndividualLayoutConstraint
* _result
;
3252 wxLayoutConstraints
* _arg0
;
3253 PyObject
* _argo0
= 0;
3254 char *_kwnames
[] = { "self", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3268 wxPy_BEGIN_ALLOW_THREADS
;
3269 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3271 wxPy_END_ALLOW_THREADS
;
3273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3274 _resultobj
= Py_BuildValue("s",_ptemp
);
3277 _resultobj
= Py_None
;
3282 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3283 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
* _resultobj
;
3285 wxIndividualLayoutConstraint
* _result
;
3286 wxLayoutConstraints
* _arg0
;
3287 PyObject
* _argo0
= 0;
3288 char *_kwnames
[] = { "self", NULL
};
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3302 wxPy_BEGIN_ALLOW_THREADS
;
3303 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3305 wxPy_END_ALLOW_THREADS
;
3307 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3308 _resultobj
= Py_BuildValue("s",_ptemp
);
3311 _resultobj
= Py_None
;
3316 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3317 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
* _resultobj
;
3319 wxIndividualLayoutConstraint
* _result
;
3320 wxLayoutConstraints
* _arg0
;
3321 PyObject
* _argo0
= 0;
3322 char *_kwnames
[] = { "self", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3336 wxPy_BEGIN_ALLOW_THREADS
;
3337 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3339 wxPy_END_ALLOW_THREADS
;
3341 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3342 _resultobj
= Py_BuildValue("s",_ptemp
);
3345 _resultobj
= Py_None
;
3350 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3351 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
* _resultobj
;
3353 wxIndividualLayoutConstraint
* _result
;
3354 wxLayoutConstraints
* _arg0
;
3355 PyObject
* _argo0
= 0;
3356 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3375 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3376 _resultobj
= Py_BuildValue("s",_ptemp
);
3379 _resultobj
= Py_None
;
3384 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3385 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
* _resultobj
;
3387 wxIndividualLayoutConstraint
* _result
;
3388 wxLayoutConstraints
* _arg0
;
3389 PyObject
* _argo0
= 0;
3390 char *_kwnames
[] = { "self", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3404 wxPy_BEGIN_ALLOW_THREADS
;
3405 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3407 wxPy_END_ALLOW_THREADS
;
3409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3410 _resultobj
= Py_BuildValue("s",_ptemp
);
3413 _resultobj
= Py_None
;
3418 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3419 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
* _resultobj
;
3421 wxIndividualLayoutConstraint
* _result
;
3422 wxLayoutConstraints
* _arg0
;
3423 PyObject
* _argo0
= 0;
3424 char *_kwnames
[] = { "self", NULL
};
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3438 wxPy_BEGIN_ALLOW_THREADS
;
3439 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3441 wxPy_END_ALLOW_THREADS
;
3443 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3444 _resultobj
= Py_BuildValue("s",_ptemp
);
3447 _resultobj
= Py_None
;
3452 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3453 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
* _resultobj
;
3455 wxIndividualLayoutConstraint
* _result
;
3456 wxLayoutConstraints
* _arg0
;
3457 PyObject
* _argo0
= 0;
3458 char *_kwnames
[] = { "self", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3472 wxPy_BEGIN_ALLOW_THREADS
;
3473 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3475 wxPy_END_ALLOW_THREADS
;
3477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3478 _resultobj
= Py_BuildValue("s",_ptemp
);
3481 _resultobj
= Py_None
;
3486 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3487 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3490 long _arg0
= (long ) 0;
3491 long _arg1
= (long ) 0;
3492 long _arg2
= (long ) 0;
3493 long _arg3
= (long ) 0;
3494 char *_kwnames
[] = { "x","y","width","height", NULL
};
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3501 wxPy_BEGIN_ALLOW_THREADS
;
3502 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
3504 wxPy_END_ALLOW_THREADS
;
3506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3507 _resultobj
= Py_BuildValue("s",_ptemp
);
3510 _resultobj
= Py_None
;
3515 #define delete_wxRegion(_swigobj) (delete _swigobj)
3516 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3519 PyObject
* _argo0
= 0;
3520 char *_kwnames
[] = { "self", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3533 wxPy_BEGIN_ALLOW_THREADS
;
3534 delete_wxRegion(_arg0
);
3536 wxPy_END_ALLOW_THREADS
;
3537 } Py_INCREF(Py_None
);
3538 _resultobj
= Py_None
;
3542 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3543 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3546 PyObject
* _argo0
= 0;
3547 char *_kwnames
[] = { "self", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3560 wxPy_BEGIN_ALLOW_THREADS
;
3561 wxRegion_Clear(_arg0
);
3563 wxPy_END_ALLOW_THREADS
;
3564 } Py_INCREF(Py_None
);
3565 _resultobj
= Py_None
;
3569 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3570 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3572 wxRegionContain _result
;
3576 PyObject
* _argo0
= 0;
3577 char *_kwnames
[] = { "self","x","y", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3590 wxPy_BEGIN_ALLOW_THREADS
;
3591 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3593 wxPy_END_ALLOW_THREADS
;
3594 } _resultobj
= Py_BuildValue("i",_result
);
3598 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3599 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3601 wxRegionContain _result
;
3604 PyObject
* _argo0
= 0;
3606 PyObject
* _obj1
= 0;
3607 char *_kwnames
[] = { "self","pt", NULL
};
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3621 if (! wxPoint_helper(_obj1
, &_arg1
))
3625 wxPy_BEGIN_ALLOW_THREADS
;
3626 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3628 wxPy_END_ALLOW_THREADS
;
3629 } _resultobj
= Py_BuildValue("i",_result
);
3633 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3634 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
* _resultobj
;
3636 wxRegionContain _result
;
3639 PyObject
* _argo0
= 0;
3641 PyObject
* _obj1
= 0;
3642 char *_kwnames
[] = { "self","rect", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3656 if (! wxRect_helper(_obj1
, &_arg1
))
3660 wxPy_BEGIN_ALLOW_THREADS
;
3661 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3663 wxPy_END_ALLOW_THREADS
;
3664 } _resultobj
= Py_BuildValue("i",_result
);
3668 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3669 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
* _resultobj
;
3671 wxRegionContain _result
;
3677 PyObject
* _argo0
= 0;
3678 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3691 wxPy_BEGIN_ALLOW_THREADS
;
3692 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3694 wxPy_END_ALLOW_THREADS
;
3695 } _resultobj
= Py_BuildValue("i",_result
);
3699 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3700 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
* _resultobj
;
3704 PyObject
* _argo0
= 0;
3705 char *_kwnames
[] = { "self", NULL
};
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3719 wxPy_BEGIN_ALLOW_THREADS
;
3720 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3722 wxPy_END_ALLOW_THREADS
;
3723 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3724 _resultobj
= Py_BuildValue("s",_ptemp
);
3728 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3729 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
* _resultobj
;
3737 PyObject
* _argo0
= 0;
3738 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3751 wxPy_BEGIN_ALLOW_THREADS
;
3752 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3754 wxPy_END_ALLOW_THREADS
;
3755 } _resultobj
= Py_BuildValue("i",_result
);
3759 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3760 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3765 PyObject
* _argo0
= 0;
3767 PyObject
* _obj1
= 0;
3768 char *_kwnames
[] = { "self","rect", NULL
};
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
3774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3782 if (! wxRect_helper(_obj1
, &_arg1
))
3786 wxPy_BEGIN_ALLOW_THREADS
;
3787 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
3789 wxPy_END_ALLOW_THREADS
;
3790 } _resultobj
= Py_BuildValue("i",_result
);
3794 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3795 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3800 PyObject
* _argo0
= 0;
3801 PyObject
* _argo1
= 0;
3802 char *_kwnames
[] = { "self","region", NULL
};
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
3808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3815 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3816 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3822 wxPy_BEGIN_ALLOW_THREADS
;
3823 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
3825 wxPy_END_ALLOW_THREADS
;
3826 } _resultobj
= Py_BuildValue("i",_result
);
3830 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3831 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3849 wxPy_BEGIN_ALLOW_THREADS
;
3850 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3852 wxPy_END_ALLOW_THREADS
;
3853 } _resultobj
= Py_BuildValue("i",_result
);
3857 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3858 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3866 PyObject
* _argo0
= 0;
3867 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3880 wxPy_BEGIN_ALLOW_THREADS
;
3881 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3883 wxPy_END_ALLOW_THREADS
;
3884 } _resultobj
= Py_BuildValue("i",_result
);
3888 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3889 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
* _resultobj
;
3894 PyObject
* _argo0
= 0;
3896 PyObject
* _obj1
= 0;
3897 char *_kwnames
[] = { "self","rect", NULL
};
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
3903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3911 if (! wxRect_helper(_obj1
, &_arg1
))
3915 wxPy_BEGIN_ALLOW_THREADS
;
3916 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
3918 wxPy_END_ALLOW_THREADS
;
3919 } _resultobj
= Py_BuildValue("i",_result
);
3923 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3924 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
* _resultobj
;
3929 PyObject
* _argo0
= 0;
3930 PyObject
* _argo1
= 0;
3931 char *_kwnames
[] = { "self","region", NULL
};
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
3937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3951 wxPy_BEGIN_ALLOW_THREADS
;
3952 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
3954 wxPy_END_ALLOW_THREADS
;
3955 } _resultobj
= Py_BuildValue("i",_result
);
3959 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3960 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
* _resultobj
;
3968 PyObject
* _argo0
= 0;
3969 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3982 wxPy_BEGIN_ALLOW_THREADS
;
3983 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3985 wxPy_END_ALLOW_THREADS
;
3986 } _resultobj
= Py_BuildValue("i",_result
);
3990 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3991 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3996 PyObject
* _argo0
= 0;
3998 PyObject
* _obj1
= 0;
3999 char *_kwnames
[] = { "self","rect", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
4005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
4013 if (! wxRect_helper(_obj1
, &_arg1
))
4017 wxPy_BEGIN_ALLOW_THREADS
;
4018 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
4020 wxPy_END_ALLOW_THREADS
;
4021 } _resultobj
= Py_BuildValue("i",_result
);
4025 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4026 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
* _resultobj
;
4031 PyObject
* _argo0
= 0;
4032 PyObject
* _argo1
= 0;
4033 char *_kwnames
[] = { "self","region", NULL
};
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
4039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4046 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4047 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4053 wxPy_BEGIN_ALLOW_THREADS
;
4054 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
4056 wxPy_END_ALLOW_THREADS
;
4057 } _resultobj
= Py_BuildValue("i",_result
);
4061 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4062 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4070 PyObject
* _argo0
= 0;
4071 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
4084 wxPy_BEGIN_ALLOW_THREADS
;
4085 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4087 wxPy_END_ALLOW_THREADS
;
4088 } _resultobj
= Py_BuildValue("i",_result
);
4092 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4093 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4098 PyObject
* _argo0
= 0;
4100 PyObject
* _obj1
= 0;
4101 char *_kwnames
[] = { "self","rect", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
4107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
4115 if (! wxRect_helper(_obj1
, &_arg1
))
4119 wxPy_BEGIN_ALLOW_THREADS
;
4120 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
4122 wxPy_END_ALLOW_THREADS
;
4123 } _resultobj
= Py_BuildValue("i",_result
);
4127 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4128 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4133 PyObject
* _argo0
= 0;
4134 PyObject
* _argo1
= 0;
4135 char *_kwnames
[] = { "self","region", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
4148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
4155 wxPy_BEGIN_ALLOW_THREADS
;
4156 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
4158 wxPy_END_ALLOW_THREADS
;
4159 } _resultobj
= Py_BuildValue("i",_result
);
4163 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
4164 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
* _resultobj
;
4166 wxRegionIterator
* _result
;
4168 PyObject
* _argo0
= 0;
4169 char *_kwnames
[] = { "region", NULL
};
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
4176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
4183 wxPy_BEGIN_ALLOW_THREADS
;
4184 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
4186 wxPy_END_ALLOW_THREADS
;
4188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
4189 _resultobj
= Py_BuildValue("s",_ptemp
);
4192 _resultobj
= Py_None
;
4197 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
4198 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
* _resultobj
;
4200 wxRegionIterator
* _arg0
;
4201 PyObject
* _argo0
= 0;
4202 char *_kwnames
[] = { "self", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
4208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
4215 wxPy_BEGIN_ALLOW_THREADS
;
4216 delete_wxRegionIterator(_arg0
);
4218 wxPy_END_ALLOW_THREADS
;
4219 } Py_INCREF(Py_None
);
4220 _resultobj
= Py_None
;
4224 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
4225 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4228 wxRegionIterator
* _arg0
;
4229 PyObject
* _argo0
= 0;
4230 char *_kwnames
[] = { "self", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
4236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
4243 wxPy_BEGIN_ALLOW_THREADS
;
4244 _result
= (long )wxRegionIterator_GetX(_arg0
);
4246 wxPy_END_ALLOW_THREADS
;
4247 } _resultobj
= Py_BuildValue("l",_result
);
4251 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
4252 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
* _resultobj
;
4255 wxRegionIterator
* _arg0
;
4256 PyObject
* _argo0
= 0;
4257 char *_kwnames
[] = { "self", NULL
};
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
4263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
4270 wxPy_BEGIN_ALLOW_THREADS
;
4271 _result
= (long )wxRegionIterator_GetY(_arg0
);
4273 wxPy_END_ALLOW_THREADS
;
4274 } _resultobj
= Py_BuildValue("l",_result
);
4278 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
4279 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4282 wxRegionIterator
* _arg0
;
4283 PyObject
* _argo0
= 0;
4284 char *_kwnames
[] = { "self", NULL
};
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
4290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
4297 wxPy_BEGIN_ALLOW_THREADS
;
4298 _result
= (long )wxRegionIterator_GetW(_arg0
);
4300 wxPy_END_ALLOW_THREADS
;
4301 } _resultobj
= Py_BuildValue("l",_result
);
4305 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
4306 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
* _resultobj
;
4309 wxRegionIterator
* _arg0
;
4310 PyObject
* _argo0
= 0;
4311 char *_kwnames
[] = { "self", NULL
};
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
4317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
4324 wxPy_BEGIN_ALLOW_THREADS
;
4325 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
4327 wxPy_END_ALLOW_THREADS
;
4328 } _resultobj
= Py_BuildValue("l",_result
);
4332 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
4333 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4336 wxRegionIterator
* _arg0
;
4337 PyObject
* _argo0
= 0;
4338 char *_kwnames
[] = { "self", NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
4351 wxPy_BEGIN_ALLOW_THREADS
;
4352 _result
= (long )wxRegionIterator_GetH(_arg0
);
4354 wxPy_END_ALLOW_THREADS
;
4355 } _resultobj
= Py_BuildValue("l",_result
);
4359 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
4360 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4363 wxRegionIterator
* _arg0
;
4364 PyObject
* _argo0
= 0;
4365 char *_kwnames
[] = { "self", NULL
};
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
4371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
4378 wxPy_BEGIN_ALLOW_THREADS
;
4379 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
4381 wxPy_END_ALLOW_THREADS
;
4382 } _resultobj
= Py_BuildValue("l",_result
);
4386 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
4387 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
* _resultobj
;
4390 wxRegionIterator
* _arg0
;
4391 PyObject
* _argo0
= 0;
4392 char *_kwnames
[] = { "self", NULL
};
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
4399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4406 wxPy_BEGIN_ALLOW_THREADS
;
4407 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4409 wxPy_END_ALLOW_THREADS
;
4410 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4411 _resultobj
= Py_BuildValue("s",_ptemp
);
4415 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4416 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
* _resultobj
;
4419 wxRegionIterator
* _arg0
;
4420 PyObject
* _argo0
= 0;
4421 char *_kwnames
[] = { "self", NULL
};
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4434 wxPy_BEGIN_ALLOW_THREADS
;
4435 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4437 wxPy_END_ALLOW_THREADS
;
4438 } _resultobj
= Py_BuildValue("i",_result
);
4442 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4443 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
* _resultobj
;
4445 wxRegionIterator
* _arg0
;
4446 PyObject
* _argo0
= 0;
4447 char *_kwnames
[] = { "self", NULL
};
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4460 wxPy_BEGIN_ALLOW_THREADS
;
4461 wxRegionIterator_Reset(_arg0
);
4463 wxPy_END_ALLOW_THREADS
;
4464 } Py_INCREF(Py_None
);
4465 _resultobj
= Py_None
;
4469 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4472 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
* _resultobj
;
4474 wxRegionIterator
* _arg0
;
4475 PyObject
* _argo0
= 0;
4476 char *_kwnames
[] = { "self", NULL
};
4479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4489 wxPy_BEGIN_ALLOW_THREADS
;
4490 wxRegionIterator_Next(_arg0
);
4492 wxPy_END_ALLOW_THREADS
;
4493 } Py_INCREF(Py_None
);
4494 _resultobj
= Py_None
;
4498 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4499 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
* _resultobj
;
4501 wxAcceleratorEntry
* _result
;
4502 int _arg0
= (int ) 0;
4503 int _arg1
= (int ) 0;
4504 int _arg2
= (int ) 0;
4505 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4512 wxPy_BEGIN_ALLOW_THREADS
;
4513 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4515 wxPy_END_ALLOW_THREADS
;
4517 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4518 _resultobj
= Py_BuildValue("s",_ptemp
);
4521 _resultobj
= Py_None
;
4526 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4527 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
* _resultobj
;
4529 wxAcceleratorEntry
* _arg0
;
4530 PyObject
* _argo0
= 0;
4531 char *_kwnames
[] = { "self", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4544 wxPy_BEGIN_ALLOW_THREADS
;
4545 delete_wxAcceleratorEntry(_arg0
);
4547 wxPy_END_ALLOW_THREADS
;
4548 } Py_INCREF(Py_None
);
4549 _resultobj
= Py_None
;
4553 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4554 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
* _resultobj
;
4556 wxAcceleratorEntry
* _arg0
;
4560 PyObject
* _argo0
= 0;
4561 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4574 wxPy_BEGIN_ALLOW_THREADS
;
4575 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4577 wxPy_END_ALLOW_THREADS
;
4578 } Py_INCREF(Py_None
);
4579 _resultobj
= Py_None
;
4583 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4584 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
* _resultobj
;
4587 wxAcceleratorEntry
* _arg0
;
4588 PyObject
* _argo0
= 0;
4589 char *_kwnames
[] = { "self", NULL
};
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4602 wxPy_BEGIN_ALLOW_THREADS
;
4603 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4605 wxPy_END_ALLOW_THREADS
;
4606 } _resultobj
= Py_BuildValue("i",_result
);
4610 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4611 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
* _resultobj
;
4614 wxAcceleratorEntry
* _arg0
;
4615 PyObject
* _argo0
= 0;
4616 char *_kwnames
[] = { "self", NULL
};
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4629 wxPy_BEGIN_ALLOW_THREADS
;
4630 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4632 wxPy_END_ALLOW_THREADS
;
4633 } _resultobj
= Py_BuildValue("i",_result
);
4637 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4638 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
* _resultobj
;
4641 wxAcceleratorEntry
* _arg0
;
4642 PyObject
* _argo0
= 0;
4643 char *_kwnames
[] = { "self", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4656 wxPy_BEGIN_ALLOW_THREADS
;
4657 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4659 wxPy_END_ALLOW_THREADS
;
4660 } _resultobj
= Py_BuildValue("i",_result
);
4664 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4665 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
* _resultobj
;
4667 wxAcceleratorTable
* _result
;
4669 wxAcceleratorEntry
* _arg1
;
4670 PyObject
* _obj1
= 0;
4671 char *_kwnames
[] = { "choices", NULL
};
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4679 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4680 if (_arg1
== NULL
) {
4686 _arg0
= PyList_Size(_obj1
);
4693 wxPy_BEGIN_ALLOW_THREADS
;
4694 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4696 wxPy_END_ALLOW_THREADS
;
4698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4699 _resultobj
= Py_BuildValue("s",_ptemp
);
4702 _resultobj
= Py_None
;
4710 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4711 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
* _resultobj
;
4713 wxAcceleratorTable
* _arg0
;
4714 PyObject
* _argo0
= 0;
4715 char *_kwnames
[] = { "self", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4728 wxPy_BEGIN_ALLOW_THREADS
;
4729 delete_wxAcceleratorTable(_arg0
);
4731 wxPy_END_ALLOW_THREADS
;
4732 } Py_INCREF(Py_None
);
4733 _resultobj
= Py_None
;
4737 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4738 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
* _resultobj
;
4740 wxBusyInfo
* _result
;
4742 PyObject
* _obj0
= 0;
4743 char *_kwnames
[] = { "message", NULL
};
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4750 #if PYTHON_API_VERSION >= 1009
4751 char* tmpPtr
; int tmpSize
;
4752 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4753 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4756 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4758 _arg0
= new wxString(tmpPtr
, tmpSize
);
4760 if (!PyString_Check(_obj0
)) {
4761 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4764 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4768 wxPy_BEGIN_ALLOW_THREADS
;
4769 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4771 wxPy_END_ALLOW_THREADS
;
4773 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4774 _resultobj
= Py_BuildValue("s",_ptemp
);
4777 _resultobj
= Py_None
;
4786 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4787 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
* _resultobj
;
4790 PyObject
* _argo0
= 0;
4791 char *_kwnames
[] = { "self", NULL
};
4794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4804 wxPy_BEGIN_ALLOW_THREADS
;
4805 delete_wxBusyInfo(_arg0
);
4807 wxPy_END_ALLOW_THREADS
;
4808 } Py_INCREF(Py_None
);
4809 _resultobj
= Py_None
;
4813 static PyMethodDef misccMethods
[] = {
4814 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4815 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4816 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4817 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4818 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4819 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4820 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4821 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4822 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4823 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4824 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4825 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4826 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4827 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4828 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4829 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4830 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4831 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4832 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4833 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4834 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4835 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4836 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
4837 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
4838 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4839 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
4840 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
4841 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4842 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
4843 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
4844 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4845 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4846 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
4847 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4848 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4849 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4850 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
4851 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4852 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4853 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4854 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4855 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4856 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4857 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4858 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4859 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4860 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4861 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4862 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4863 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4864 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4865 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4866 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4867 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4868 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4869 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4870 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4871 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4872 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4873 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4874 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4875 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4876 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4877 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4878 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4879 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4880 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4881 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4882 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4883 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4884 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4885 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4886 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4887 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4888 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4889 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4890 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4891 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4892 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4893 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4894 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4895 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4896 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4897 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4898 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4899 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4900 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4901 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4902 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4903 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4904 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4905 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4906 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4907 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4908 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4909 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4910 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4911 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4912 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4913 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4914 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4915 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4916 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4917 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4918 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4919 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4920 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4921 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4922 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4923 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4924 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4925 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4926 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4927 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4928 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4929 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4930 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4931 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4932 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4933 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4934 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4935 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4936 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4937 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4938 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4939 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4940 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4941 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4942 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4943 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4944 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4945 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4946 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4947 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4948 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4949 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4950 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4951 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4952 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4985 * This table is used by the pointer type-checker
4987 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4988 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4989 { "_signed_long","_long",0},
4990 { "_wxPrintQuality","_wxCoord",0},
4991 { "_wxPrintQuality","_int",0},
4992 { "_wxPrintQuality","_signed_int",0},
4993 { "_wxPrintQuality","_unsigned_int",0},
4994 { "_wxPrintQuality","_wxWindowID",0},
4995 { "_wxPrintQuality","_uint",0},
4996 { "_wxPrintQuality","_EBool",0},
4997 { "_wxPrintQuality","_size_t",0},
4998 { "_wxPrintQuality","_time_t",0},
4999 { "_class_wxRegionIterator","_wxRegionIterator",0},
5000 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5001 { "_byte","_unsigned_char",0},
5002 { "_long","_unsigned_long",0},
5003 { "_long","_signed_long",0},
5004 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5005 { "_size_t","_wxCoord",0},
5006 { "_size_t","_wxPrintQuality",0},
5007 { "_size_t","_time_t",0},
5008 { "_size_t","_unsigned_int",0},
5009 { "_size_t","_int",0},
5010 { "_size_t","_wxWindowID",0},
5011 { "_size_t","_uint",0},
5012 { "_class_wxRealPoint","_wxRealPoint",0},
5013 { "_uint","_wxCoord",0},
5014 { "_uint","_wxPrintQuality",0},
5015 { "_uint","_time_t",0},
5016 { "_uint","_size_t",0},
5017 { "_uint","_unsigned_int",0},
5018 { "_uint","_int",0},
5019 { "_uint","_wxWindowID",0},
5020 { "_wxChar","_char",0},
5021 { "_wxRect","_class_wxRect",0},
5022 { "_wxPoint","_class_wxPoint",0},
5023 { "_char","_wxChar",0},
5024 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5025 { "_EBool","_wxCoord",0},
5026 { "_EBool","_wxPrintQuality",0},
5027 { "_EBool","_signed_int",0},
5028 { "_EBool","_int",0},
5029 { "_EBool","_wxWindowID",0},
5030 { "_class_wxRegion","_wxRegion",0},
5031 { "_unsigned_long","_long",0},
5032 { "_class_wxRect","_wxRect",0},
5033 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5034 { "_signed_int","_wxCoord",0},
5035 { "_signed_int","_wxPrintQuality",0},
5036 { "_signed_int","_EBool",0},
5037 { "_signed_int","_wxWindowID",0},
5038 { "_signed_int","_int",0},
5039 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5040 { "_WXTYPE","_short",0},
5041 { "_WXTYPE","_signed_short",0},
5042 { "_WXTYPE","_unsigned_short",0},
5043 { "_unsigned_short","_WXTYPE",0},
5044 { "_unsigned_short","_short",0},
5045 { "_wxBusyInfo","_class_wxBusyInfo",0},
5046 { "_class_wxPoint","_wxPoint",0},
5047 { "_wxRealPoint","_class_wxRealPoint",0},
5048 { "_signed_short","_WXTYPE",0},
5049 { "_signed_short","_short",0},
5050 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5051 { "_unsigned_char","_byte",0},
5052 { "_unsigned_int","_wxCoord",0},
5053 { "_unsigned_int","_wxPrintQuality",0},
5054 { "_unsigned_int","_time_t",0},
5055 { "_unsigned_int","_size_t",0},
5056 { "_unsigned_int","_uint",0},
5057 { "_unsigned_int","_wxWindowID",0},
5058 { "_unsigned_int","_int",0},
5059 { "_short","_WXTYPE",0},
5060 { "_short","_unsigned_short",0},
5061 { "_short","_signed_short",0},
5062 { "_wxWindowID","_wxCoord",0},
5063 { "_wxWindowID","_wxPrintQuality",0},
5064 { "_wxWindowID","_time_t",0},
5065 { "_wxWindowID","_size_t",0},
5066 { "_wxWindowID","_EBool",0},
5067 { "_wxWindowID","_uint",0},
5068 { "_wxWindowID","_int",0},
5069 { "_wxWindowID","_signed_int",0},
5070 { "_wxWindowID","_unsigned_int",0},
5071 { "_int","_wxCoord",0},
5072 { "_int","_wxPrintQuality",0},
5073 { "_int","_time_t",0},
5074 { "_int","_size_t",0},
5075 { "_int","_EBool",0},
5076 { "_int","_uint",0},
5077 { "_int","_wxWindowID",0},
5078 { "_int","_unsigned_int",0},
5079 { "_int","_signed_int",0},
5080 { "_time_t","_wxCoord",0},
5081 { "_time_t","_wxPrintQuality",0},
5082 { "_time_t","_unsigned_int",0},
5083 { "_time_t","_int",0},
5084 { "_time_t","_wxWindowID",0},
5085 { "_time_t","_uint",0},
5086 { "_time_t","_size_t",0},
5087 { "_wxSize","_class_wxSize",0},
5088 { "_wxRegionIterator","_class_wxRegionIterator",0},
5089 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5090 { "_wxCoord","_int",0},
5091 { "_wxCoord","_signed_int",0},
5092 { "_wxCoord","_unsigned_int",0},
5093 { "_wxCoord","_wxWindowID",0},
5094 { "_wxCoord","_uint",0},
5095 { "_wxCoord","_EBool",0},
5096 { "_wxCoord","_size_t",0},
5097 { "_wxCoord","_time_t",0},
5098 { "_wxCoord","_wxPrintQuality",0},
5099 { "_wxRegion","_class_wxRegion",0},
5100 { "_class_wxBusyInfo","_wxBusyInfo",0},
5101 { "_class_wxSize","_wxSize",0},
5104 static PyObject
*SWIG_globals
;
5108 SWIGEXPORT(void) initmiscc() {
5110 SWIG_globals
= SWIG_newvarlink();
5111 m
= Py_InitModule("miscc", misccMethods
);
5112 d
= PyModule_GetDict(m
);
5113 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5114 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5115 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5116 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5117 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5118 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5119 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5120 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5121 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5122 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5123 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5124 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5125 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5126 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5127 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5128 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5129 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5130 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5131 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5132 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
5133 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
5134 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
5135 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5136 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5139 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5140 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);