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 static char* wxStringErrorMsg
= "string type is required for parameter";
111 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
114 wxRect
dest(0,0,0,0);
117 reg1
.Intersect(reg2
);
118 dest
= reg1
.GetBox();
120 if (dest
!= wxRect(0,0,0,0)) {
121 bool doSave
= wxPyRestoreThread();
122 wxRect
* newRect
= new wxRect(dest
);
123 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
124 PyObject
* one
= PyInt_FromLong(1);
125 PyObject_SetAttrString(obj
, "thisown", one
);
127 wxPySaveThread(doSave
);
134 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
136 wxGetResource(section
, entry
, &retval
, file
);
140 #if 0 // we want to use the definition from the header, not the
141 // one SWIG will generate.
142 extern wxAcceleratorTable wxNullAcceleratorTable
;
148 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
149 PyObject
* _resultobj
;
154 PyObject
* _obj0
= 0;
156 PyObject
* _obj1
= 0;
157 char *_kwnames
[] = { "r1","r2", NULL
};
160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
164 if (! wxRect_helper(_obj0
, &_arg0
))
169 if (! wxRect_helper(_obj1
, &_arg1
))
173 wxPy_BEGIN_ALLOW_THREADS
;
174 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
176 wxPy_END_ALLOW_THREADS
;
178 _resultobj
= _result
;
183 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
186 char *_kwnames
[] = { NULL
};
189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
192 wxPy_BEGIN_ALLOW_THREADS
;
193 _result
= (long )wxNewId();
195 wxPy_END_ALLOW_THREADS
;
196 } _resultobj
= Py_BuildValue("l",_result
);
200 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
201 PyObject
* _resultobj
;
203 char *_kwnames
[] = { "id", NULL
};
206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
209 wxPy_BEGIN_ALLOW_THREADS
;
212 wxPy_END_ALLOW_THREADS
;
213 } Py_INCREF(Py_None
);
214 _resultobj
= Py_None
;
218 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
219 PyObject
* _resultobj
;
221 char *_kwnames
[] = { NULL
};
224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
227 wxPy_BEGIN_ALLOW_THREADS
;
228 _result
= (long )wxNewId();
230 wxPy_END_ALLOW_THREADS
;
231 } _resultobj
= Py_BuildValue("l",_result
);
235 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
236 PyObject
* _resultobj
;
238 char *_kwnames
[] = { "id", NULL
};
241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
244 wxPy_BEGIN_ALLOW_THREADS
;
247 wxPy_END_ALLOW_THREADS
;
248 } Py_INCREF(Py_None
);
249 _resultobj
= Py_None
;
253 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
254 PyObject
* _resultobj
;
255 char *_kwnames
[] = { NULL
};
258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
261 wxPy_BEGIN_ALLOW_THREADS
;
264 wxPy_END_ALLOW_THREADS
;
265 } Py_INCREF(Py_None
);
266 _resultobj
= Py_None
;
270 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
271 PyObject
* _resultobj
;
276 char *_kwnames
[] = { NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
288 wxPy_BEGIN_ALLOW_THREADS
;
289 wxDisplaySize(_arg0
,_arg1
);
291 wxPy_END_ALLOW_THREADS
;
292 } Py_INCREF(Py_None
);
293 _resultobj
= Py_None
;
296 o
= PyInt_FromLong((long) (*_arg0
));
297 _resultobj
= t_output_helper(_resultobj
, o
);
301 o
= PyInt_FromLong((long) (*_arg1
));
302 _resultobj
= t_output_helper(_resultobj
, o
);
307 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
308 PyObject
* _resultobj
;
309 char *_kwnames
[] = { NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
315 wxPy_BEGIN_ALLOW_THREADS
;
318 wxPy_END_ALLOW_THREADS
;
319 } Py_INCREF(Py_None
);
320 _resultobj
= Py_None
;
324 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
327 bool _arg0
= (bool ) TRUE
;
328 int tempbool0
= (int) TRUE
;
329 char *_kwnames
[] = { "resetTimer", NULL
};
332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
334 _arg0
= (bool ) tempbool0
;
336 wxPy_BEGIN_ALLOW_THREADS
;
337 _result
= (long )wxGetElapsedTime(_arg0
);
339 wxPy_END_ALLOW_THREADS
;
340 } _resultobj
= Py_BuildValue("l",_result
);
344 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
345 PyObject
* _resultobj
;
350 char *_kwnames
[] = { NULL
};
359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
362 wxPy_BEGIN_ALLOW_THREADS
;
363 wxGetMousePosition(_arg0
,_arg1
);
365 wxPy_END_ALLOW_THREADS
;
366 } Py_INCREF(Py_None
);
367 _resultobj
= Py_None
;
370 o
= PyInt_FromLong((long) (*_arg0
));
371 _resultobj
= t_output_helper(_resultobj
, o
);
375 o
= PyInt_FromLong((long) (*_arg1
));
376 _resultobj
= t_output_helper(_resultobj
, o
);
381 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
382 PyObject
* _resultobj
;
384 char *_kwnames
[] = { NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
390 wxPy_BEGIN_ALLOW_THREADS
;
391 _result
= (bool )wxIsBusy();
393 wxPy_END_ALLOW_THREADS
;
394 } _resultobj
= Py_BuildValue("i",_result
);
398 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
399 PyObject
* _resultobj
;
401 char *_kwnames
[] = { NULL
};
404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
407 wxPy_BEGIN_ALLOW_THREADS
;
408 _result
= new wxString (wxNow());
410 wxPy_END_ALLOW_THREADS
;
412 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
420 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
423 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
424 PyObject
* _obj0
= 0;
425 char *_kwnames
[] = { "command", NULL
};
428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
432 #if PYTHON_API_VERSION >= 1009
433 char* tmpPtr
; int tmpSize
;
434 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
435 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
438 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
440 _arg0
= new wxString(tmpPtr
, tmpSize
);
442 if (!PyString_Check(_obj0
)) {
443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
446 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
450 wxPy_BEGIN_ALLOW_THREADS
;
451 _result
= (bool )wxShell(*_arg0
);
453 wxPy_END_ALLOW_THREADS
;
454 } _resultobj
= Py_BuildValue("i",_result
);
462 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
464 char *_kwnames
[] = { NULL
};
467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
470 wxPy_BEGIN_ALLOW_THREADS
;
473 wxPy_END_ALLOW_THREADS
;
474 } Py_INCREF(Py_None
);
475 _resultobj
= Py_None
;
479 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
486 char *_kwnames
[] = { NULL
};
495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
498 wxPy_BEGIN_ALLOW_THREADS
;
499 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
501 wxPy_END_ALLOW_THREADS
;
502 } _resultobj
= Py_BuildValue("i",_result
);
505 o
= PyInt_FromLong((long) (*_arg0
));
506 _resultobj
= t_output_helper(_resultobj
, o
);
510 o
= PyInt_FromLong((long) (*_arg1
));
511 _resultobj
= t_output_helper(_resultobj
, o
);
516 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
519 char *_kwnames
[] = { NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
525 wxPy_BEGIN_ALLOW_THREADS
;
526 _result
= new wxString (wxGetOsDescription());
528 wxPy_END_ALLOW_THREADS
;
530 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
538 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
541 char *_kwnames
[] = { "secs", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
547 wxPy_BEGIN_ALLOW_THREADS
;
550 wxPy_END_ALLOW_THREADS
;
551 } Py_INCREF(Py_None
);
552 _resultobj
= Py_None
;
556 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
557 PyObject
* _resultobj
;
559 char *_kwnames
[] = { "milliseconds", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
565 wxPy_BEGIN_ALLOW_THREADS
;
568 wxPy_END_ALLOW_THREADS
;
569 } Py_INCREF(Py_None
);
570 _resultobj
= Py_None
;
574 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
577 char *_kwnames
[] = { NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
583 wxPy_BEGIN_ALLOW_THREADS
;
584 _result
= (bool )wxYield();
586 wxPy_END_ALLOW_THREADS
;
587 } _resultobj
= Py_BuildValue("i",_result
);
591 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
592 PyObject
* _resultobj
;
595 char *_kwnames
[] = { "enable", NULL
};
598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
600 _arg0
= (bool ) tempbool0
;
602 wxPy_BEGIN_ALLOW_THREADS
;
603 wxEnableTopLevelWindows(_arg0
);
605 wxPy_END_ALLOW_THREADS
;
606 } Py_INCREF(Py_None
);
607 _resultobj
= Py_None
;
611 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
612 PyObject
* _resultobj
;
616 char * _arg2
= (char *) NULL
;
617 char *_kwnames
[] = { "section","entry","file", NULL
};
620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
623 wxPy_BEGIN_ALLOW_THREADS
;
624 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
626 wxPy_END_ALLOW_THREADS
;
627 } _resultobj
= Py_BuildValue("s", _result
);
631 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
635 PyObject
* _obj0
= 0;
636 char *_kwnames
[] = { "in", NULL
};
639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
642 #if PYTHON_API_VERSION >= 1009
643 char* tmpPtr
; int tmpSize
;
644 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
645 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
648 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
650 _arg0
= new wxString(tmpPtr
, tmpSize
);
652 if (!PyString_Check(_obj0
)) {
653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
656 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
660 wxPy_BEGIN_ALLOW_THREADS
;
661 _result
= new wxString (wxStripMenuCodes(*_arg0
));
663 wxPy_END_ALLOW_THREADS
;
665 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
677 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
680 char *_kwnames
[] = { NULL
};
683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
686 wxPy_BEGIN_ALLOW_THREADS
;
687 _result
= new wxString (wxGetEmailAddress());
689 wxPy_END_ALLOW_THREADS
;
691 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
699 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
700 PyObject
* _resultobj
;
702 char *_kwnames
[] = { NULL
};
705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
708 wxPy_BEGIN_ALLOW_THREADS
;
709 _result
= new wxString (wxGetHostName());
711 wxPy_END_ALLOW_THREADS
;
713 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
721 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
722 PyObject
* _resultobj
;
724 char *_kwnames
[] = { NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
730 wxPy_BEGIN_ALLOW_THREADS
;
731 _result
= new wxString (wxGetFullHostName());
733 wxPy_END_ALLOW_THREADS
;
735 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
743 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
746 char *_kwnames
[] = { NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
752 wxPy_BEGIN_ALLOW_THREADS
;
753 _result
= new wxString (wxGetUserId());
755 wxPy_END_ALLOW_THREADS
;
757 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
765 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
768 char *_kwnames
[] = { NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
774 wxPy_BEGIN_ALLOW_THREADS
;
775 _result
= new wxString (wxGetUserName());
777 wxPy_END_ALLOW_THREADS
;
779 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
787 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
788 PyObject
* _resultobj
;
790 char *_kwnames
[] = { NULL
};
793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
796 wxPy_BEGIN_ALLOW_THREADS
;
797 _result
= new wxString (wxGetHomeDir());
799 wxPy_END_ALLOW_THREADS
;
801 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
809 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
810 PyObject
* _resultobj
;
811 wxAcceleratorEntry
* _result
;
813 PyObject
* _obj0
= 0;
814 char *_kwnames
[] = { "label", NULL
};
818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
821 #if PYTHON_API_VERSION >= 1009
822 char* tmpPtr
; int tmpSize
;
823 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
824 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
827 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
829 _arg0
= new wxString(tmpPtr
, tmpSize
);
831 if (!PyString_Check(_obj0
)) {
832 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
835 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
839 wxPy_BEGIN_ALLOW_THREADS
;
840 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
842 wxPy_END_ALLOW_THREADS
;
844 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
845 _resultobj
= Py_BuildValue("s",_ptemp
);
848 _resultobj
= Py_None
;
857 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
859 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
863 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
867 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
868 pyobj
= PyString_FromString(ptemp
);
872 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
873 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
874 PyObject
* _resultobj
;
879 PyObject
* _obj0
= 0;
880 char *_kwnames
[] = { "self","x", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
887 if (! wxSize_helper(_obj0
, &_arg0
))
891 wxPy_BEGIN_ALLOW_THREADS
;
892 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
894 wxPy_END_ALLOW_THREADS
;
895 } _resultobj
= Py_BuildValue("l",_result
);
899 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
900 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
905 PyObject
* _obj0
= 0;
906 char *_kwnames
[] = { "self", NULL
};
909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
913 if (! wxSize_helper(_obj0
, &_arg0
))
917 wxPy_BEGIN_ALLOW_THREADS
;
918 _result
= (long )wxSize_x_get(_arg0
);
920 wxPy_END_ALLOW_THREADS
;
921 } _resultobj
= Py_BuildValue("l",_result
);
925 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
926 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
932 PyObject
* _obj0
= 0;
933 char *_kwnames
[] = { "self","y", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
940 if (! wxSize_helper(_obj0
, &_arg0
))
944 wxPy_BEGIN_ALLOW_THREADS
;
945 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
947 wxPy_END_ALLOW_THREADS
;
948 } _resultobj
= Py_BuildValue("l",_result
);
952 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
953 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 PyObject
* _resultobj
;
958 PyObject
* _obj0
= 0;
959 char *_kwnames
[] = { "self", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
966 if (! wxSize_helper(_obj0
, &_arg0
))
970 wxPy_BEGIN_ALLOW_THREADS
;
971 _result
= (long )wxSize_y_get(_arg0
);
973 wxPy_END_ALLOW_THREADS
;
974 } _resultobj
= Py_BuildValue("l",_result
);
978 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
979 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 PyObject
* _resultobj
;
982 long _arg0
= (long ) 0;
983 long _arg1
= (long ) 0;
984 char *_kwnames
[] = { "w","h", NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
991 wxPy_BEGIN_ALLOW_THREADS
;
992 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
994 wxPy_END_ALLOW_THREADS
;
996 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
997 _resultobj
= Py_BuildValue("s",_ptemp
);
1000 _resultobj
= Py_None
;
1005 #define delete_wxSize(_swigobj) (delete _swigobj)
1006 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1010 PyObject
* _obj0
= 0;
1011 char *_kwnames
[] = { "self", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1018 if (! wxSize_helper(_obj0
, &_arg0
))
1022 wxPy_BEGIN_ALLOW_THREADS
;
1023 delete_wxSize(_arg0
);
1025 wxPy_END_ALLOW_THREADS
;
1026 } Py_INCREF(Py_None
);
1027 _resultobj
= Py_None
;
1031 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1032 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1038 PyObject
* _obj0
= 0;
1039 char *_kwnames
[] = { "self","w","h", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1046 if (! wxSize_helper(_obj0
, &_arg0
))
1050 wxPy_BEGIN_ALLOW_THREADS
;
1051 wxSize_Set(_arg0
,_arg1
,_arg2
);
1053 wxPy_END_ALLOW_THREADS
;
1054 } Py_INCREF(Py_None
);
1055 _resultobj
= Py_None
;
1059 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1060 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1065 PyObject
* _obj0
= 0;
1066 char *_kwnames
[] = { "self", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1073 if (! wxSize_helper(_obj0
, &_arg0
))
1077 wxPy_BEGIN_ALLOW_THREADS
;
1078 _result
= (long )wxSize_GetX(_arg0
);
1080 wxPy_END_ALLOW_THREADS
;
1081 } _resultobj
= Py_BuildValue("l",_result
);
1085 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1086 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1091 PyObject
* _obj0
= 0;
1092 char *_kwnames
[] = { "self", NULL
};
1095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1099 if (! wxSize_helper(_obj0
, &_arg0
))
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 _result
= (long )wxSize_GetY(_arg0
);
1106 wxPy_END_ALLOW_THREADS
;
1107 } _resultobj
= Py_BuildValue("l",_result
);
1111 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1112 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
* _resultobj
;
1117 PyObject
* _obj0
= 0;
1118 char *_kwnames
[] = { "self", NULL
};
1121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1125 if (! wxSize_helper(_obj0
, &_arg0
))
1129 wxPy_BEGIN_ALLOW_THREADS
;
1130 _result
= (long )wxSize_GetWidth(_arg0
);
1132 wxPy_END_ALLOW_THREADS
;
1133 } _resultobj
= Py_BuildValue("l",_result
);
1137 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1138 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1143 PyObject
* _obj0
= 0;
1144 char *_kwnames
[] = { "self", NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1151 if (! wxSize_helper(_obj0
, &_arg0
))
1155 wxPy_BEGIN_ALLOW_THREADS
;
1156 _result
= (long )wxSize_GetHeight(_arg0
);
1158 wxPy_END_ALLOW_THREADS
;
1159 } _resultobj
= Py_BuildValue("l",_result
);
1163 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1164 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
* _resultobj
;
1169 PyObject
* _obj0
= 0;
1170 char *_kwnames
[] = { "self","w", NULL
};
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1177 if (! wxSize_helper(_obj0
, &_arg0
))
1181 wxPy_BEGIN_ALLOW_THREADS
;
1182 wxSize_SetWidth(_arg0
,_arg1
);
1184 wxPy_END_ALLOW_THREADS
;
1185 } Py_INCREF(Py_None
);
1186 _resultobj
= Py_None
;
1190 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1191 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1196 PyObject
* _obj0
= 0;
1197 char *_kwnames
[] = { "self","h", NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1204 if (! wxSize_helper(_obj0
, &_arg0
))
1208 wxPy_BEGIN_ALLOW_THREADS
;
1209 wxSize_SetHeight(_arg0
,_arg1
);
1211 wxPy_END_ALLOW_THREADS
;
1212 } Py_INCREF(Py_None
);
1213 _resultobj
= Py_None
;
1217 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1218 PyObject
* tup
= PyTuple_New(2);
1219 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1220 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1223 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1228 PyObject
* _obj0
= 0;
1229 char *_kwnames
[] = { "self", NULL
};
1232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1236 if (! wxSize_helper(_obj0
, &_arg0
))
1240 wxPy_BEGIN_ALLOW_THREADS
;
1241 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1243 wxPy_END_ALLOW_THREADS
;
1245 _resultobj
= _result
;
1250 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1251 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
* _resultobj
;
1254 wxRealPoint
* _arg0
;
1257 PyObject
* _obj0
= 0;
1258 char *_kwnames
[] = { "self","x", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1265 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1269 wxPy_BEGIN_ALLOW_THREADS
;
1270 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1272 wxPy_END_ALLOW_THREADS
;
1273 } _resultobj
= Py_BuildValue("d",_result
);
1277 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1278 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
* _resultobj
;
1281 wxRealPoint
* _arg0
;
1283 PyObject
* _obj0
= 0;
1284 char *_kwnames
[] = { "self", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1291 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1295 wxPy_BEGIN_ALLOW_THREADS
;
1296 _result
= (double )wxRealPoint_x_get(_arg0
);
1298 wxPy_END_ALLOW_THREADS
;
1299 } _resultobj
= Py_BuildValue("d",_result
);
1303 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1304 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1307 wxRealPoint
* _arg0
;
1310 PyObject
* _obj0
= 0;
1311 char *_kwnames
[] = { "self","y", NULL
};
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1318 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1322 wxPy_BEGIN_ALLOW_THREADS
;
1323 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1325 wxPy_END_ALLOW_THREADS
;
1326 } _resultobj
= Py_BuildValue("d",_result
);
1330 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1331 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
* _resultobj
;
1334 wxRealPoint
* _arg0
;
1336 PyObject
* _obj0
= 0;
1337 char *_kwnames
[] = { "self", NULL
};
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1344 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1348 wxPy_BEGIN_ALLOW_THREADS
;
1349 _result
= (double )wxRealPoint_y_get(_arg0
);
1351 wxPy_END_ALLOW_THREADS
;
1352 } _resultobj
= Py_BuildValue("d",_result
);
1356 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1357 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1359 wxRealPoint
* _result
;
1360 double _arg0
= (double ) 0.0;
1361 double _arg1
= (double ) 0.0;
1362 char *_kwnames
[] = { "x","y", NULL
};
1366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1369 wxPy_BEGIN_ALLOW_THREADS
;
1370 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1372 wxPy_END_ALLOW_THREADS
;
1374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1375 _resultobj
= Py_BuildValue("s",_ptemp
);
1378 _resultobj
= Py_None
;
1383 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1384 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
* _resultobj
;
1386 wxRealPoint
* _arg0
;
1388 PyObject
* _obj0
= 0;
1389 char *_kwnames
[] = { "self", NULL
};
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1396 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 delete_wxRealPoint(_arg0
);
1403 wxPy_END_ALLOW_THREADS
;
1404 } Py_INCREF(Py_None
);
1405 _resultobj
= Py_None
;
1409 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1413 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
* _resultobj
;
1415 wxRealPoint
* _arg0
;
1419 PyObject
* _obj0
= 0;
1420 char *_kwnames
[] = { "self","x","y", NULL
};
1423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1427 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1431 wxPy_BEGIN_ALLOW_THREADS
;
1432 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1434 wxPy_END_ALLOW_THREADS
;
1435 } Py_INCREF(Py_None
);
1436 _resultobj
= Py_None
;
1440 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1441 PyObject
* tup
= PyTuple_New(2);
1442 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1443 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1446 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1449 wxRealPoint
* _arg0
;
1451 PyObject
* _obj0
= 0;
1452 char *_kwnames
[] = { "self", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1459 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1463 wxPy_BEGIN_ALLOW_THREADS
;
1464 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1466 wxPy_END_ALLOW_THREADS
;
1468 _resultobj
= _result
;
1473 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1474 if (! p
) return *self
;
1477 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1479 wxRealPoint
* _result
;
1480 wxRealPoint
* _arg0
;
1481 wxRealPoint
* _arg1
;
1483 PyObject
* _obj0
= 0;
1485 PyObject
* _obj1
= 0;
1486 char *_kwnames
[] = { "self","p", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1494 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1499 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1506 wxPy_END_ALLOW_THREADS
;
1507 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1512 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1513 if (! p
) return *self
;
1516 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1518 wxRealPoint
* _result
;
1519 wxRealPoint
* _arg0
;
1520 wxRealPoint
* _arg1
;
1522 PyObject
* _obj0
= 0;
1524 PyObject
* _obj1
= 0;
1525 char *_kwnames
[] = { "self","p", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1533 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1538 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1542 wxPy_BEGIN_ALLOW_THREADS
;
1543 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1545 wxPy_END_ALLOW_THREADS
;
1546 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1547 _resultobj
= Py_BuildValue("s",_ptemp
);
1551 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1555 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1558 wxRealPoint
* _arg0
;
1559 wxRealPoint
* _arg1
;
1561 PyObject
* _obj0
= 0;
1563 PyObject
* _obj1
= 0;
1564 char *_kwnames
[] = { "self","p", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1571 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1576 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1580 wxPy_BEGIN_ALLOW_THREADS
;
1581 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1583 wxPy_END_ALLOW_THREADS
;
1584 } _resultobj
= Py_BuildValue("i",_result
);
1588 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1589 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
* _resultobj
;
1595 PyObject
* _obj0
= 0;
1596 char *_kwnames
[] = { "self","x", NULL
};
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1603 if (! wxPoint_helper(_obj0
, &_arg0
))
1607 wxPy_BEGIN_ALLOW_THREADS
;
1608 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1610 wxPy_END_ALLOW_THREADS
;
1611 } _resultobj
= Py_BuildValue("l",_result
);
1615 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1616 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1621 PyObject
* _obj0
= 0;
1622 char *_kwnames
[] = { "self", NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1629 if (! wxPoint_helper(_obj0
, &_arg0
))
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (long )wxPoint_x_get(_arg0
);
1636 wxPy_END_ALLOW_THREADS
;
1637 } _resultobj
= Py_BuildValue("l",_result
);
1641 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1642 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1648 PyObject
* _obj0
= 0;
1649 char *_kwnames
[] = { "self","y", NULL
};
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1656 if (! wxPoint_helper(_obj0
, &_arg0
))
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1663 wxPy_END_ALLOW_THREADS
;
1664 } _resultobj
= Py_BuildValue("l",_result
);
1668 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1669 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1674 PyObject
* _obj0
= 0;
1675 char *_kwnames
[] = { "self", NULL
};
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1682 if (! wxPoint_helper(_obj0
, &_arg0
))
1686 wxPy_BEGIN_ALLOW_THREADS
;
1687 _result
= (long )wxPoint_y_get(_arg0
);
1689 wxPy_END_ALLOW_THREADS
;
1690 } _resultobj
= Py_BuildValue("l",_result
);
1694 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1695 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1698 long _arg0
= (long ) 0;
1699 long _arg1
= (long ) 0;
1700 char *_kwnames
[] = { "x","y", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1710 wxPy_END_ALLOW_THREADS
;
1712 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1713 _resultobj
= Py_BuildValue("s",_ptemp
);
1716 _resultobj
= Py_None
;
1721 #define delete_wxPoint(_swigobj) (delete _swigobj)
1722 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
* _resultobj
;
1726 PyObject
* _obj0
= 0;
1727 char *_kwnames
[] = { "self", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1734 if (! wxPoint_helper(_obj0
, &_arg0
))
1738 wxPy_BEGIN_ALLOW_THREADS
;
1739 delete_wxPoint(_arg0
);
1741 wxPy_END_ALLOW_THREADS
;
1742 } Py_INCREF(Py_None
);
1743 _resultobj
= Py_None
;
1747 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1751 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
* _resultobj
;
1757 PyObject
* _obj0
= 0;
1758 char *_kwnames
[] = { "self","x","y", NULL
};
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1765 if (! wxPoint_helper(_obj0
, &_arg0
))
1769 wxPy_BEGIN_ALLOW_THREADS
;
1770 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1772 wxPy_END_ALLOW_THREADS
;
1773 } Py_INCREF(Py_None
);
1774 _resultobj
= Py_None
;
1778 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1779 PyObject
* tup
= PyTuple_New(2);
1780 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1781 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1784 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1789 PyObject
* _obj0
= 0;
1790 char *_kwnames
[] = { "self", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1797 if (! wxPoint_helper(_obj0
, &_arg0
))
1801 wxPy_BEGIN_ALLOW_THREADS
;
1802 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1804 wxPy_END_ALLOW_THREADS
;
1806 _resultobj
= _result
;
1811 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1812 if (! p
) return *self
;
1815 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1821 PyObject
* _obj0
= 0;
1823 PyObject
* _obj1
= 0;
1824 char *_kwnames
[] = { "self","p", NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1832 if (! wxPoint_helper(_obj0
, &_arg0
))
1837 if (! wxPoint_helper(_obj1
, &_arg1
))
1841 wxPy_BEGIN_ALLOW_THREADS
;
1842 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
1844 wxPy_END_ALLOW_THREADS
;
1845 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1846 _resultobj
= Py_BuildValue("s",_ptemp
);
1850 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
1851 if (! p
) return *self
;
1854 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1860 PyObject
* _obj0
= 0;
1862 PyObject
* _obj1
= 0;
1863 char *_kwnames
[] = { "self","p", NULL
};
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1871 if (! wxPoint_helper(_obj0
, &_arg0
))
1876 if (! wxPoint_helper(_obj1
, &_arg1
))
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
1883 wxPy_END_ALLOW_THREADS
;
1884 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1885 _resultobj
= Py_BuildValue("s",_ptemp
);
1889 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
1893 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1899 PyObject
* _obj0
= 0;
1901 PyObject
* _obj1
= 0;
1902 char *_kwnames
[] = { "self","p", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1909 if (! wxPoint_helper(_obj0
, &_arg0
))
1914 if (! wxPoint_helper(_obj1
, &_arg1
))
1918 wxPy_BEGIN_ALLOW_THREADS
;
1919 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
1921 wxPy_END_ALLOW_THREADS
;
1922 } _resultobj
= Py_BuildValue("i",_result
);
1926 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1927 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1930 int _arg0
= (int ) 0;
1931 int _arg1
= (int ) 0;
1932 int _arg2
= (int ) 0;
1933 int _arg3
= (int ) 0;
1934 char *_kwnames
[] = { "x","y","w","h", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1941 wxPy_BEGIN_ALLOW_THREADS
;
1942 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1944 wxPy_END_ALLOW_THREADS
;
1946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1947 _resultobj
= Py_BuildValue("s",_ptemp
);
1950 _resultobj
= Py_None
;
1955 #define delete_wxRect(_swigobj) (delete _swigobj)
1956 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1960 PyObject
* _obj0
= 0;
1961 char *_kwnames
[] = { "self", NULL
};
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
1968 if (! wxRect_helper(_obj0
, &_arg0
))
1972 wxPy_BEGIN_ALLOW_THREADS
;
1973 delete_wxRect(_arg0
);
1975 wxPy_END_ALLOW_THREADS
;
1976 } Py_INCREF(Py_None
);
1977 _resultobj
= Py_None
;
1981 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1982 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1987 PyObject
* _obj0
= 0;
1988 char *_kwnames
[] = { "self", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
1995 if (! wxRect_helper(_obj0
, &_arg0
))
1999 wxPy_BEGIN_ALLOW_THREADS
;
2000 _result
= (int )wxRect_GetX(_arg0
);
2002 wxPy_END_ALLOW_THREADS
;
2003 } _resultobj
= Py_BuildValue("i",_result
);
2007 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2008 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2013 PyObject
* _obj0
= 0;
2014 char *_kwnames
[] = { "self","X", NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2021 if (! wxRect_helper(_obj0
, &_arg0
))
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 wxRect_SetX(_arg0
,_arg1
);
2028 wxPy_END_ALLOW_THREADS
;
2029 } Py_INCREF(Py_None
);
2030 _resultobj
= Py_None
;
2034 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2035 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
* _resultobj
;
2040 PyObject
* _obj0
= 0;
2041 char *_kwnames
[] = { "self", NULL
};
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2048 if (! wxRect_helper(_obj0
, &_arg0
))
2052 wxPy_BEGIN_ALLOW_THREADS
;
2053 _result
= (int )wxRect_GetY(_arg0
);
2055 wxPy_END_ALLOW_THREADS
;
2056 } _resultobj
= Py_BuildValue("i",_result
);
2060 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2061 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2066 PyObject
* _obj0
= 0;
2067 char *_kwnames
[] = { "self","Y", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2074 if (! wxRect_helper(_obj0
, &_arg0
))
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 wxRect_SetY(_arg0
,_arg1
);
2081 wxPy_END_ALLOW_THREADS
;
2082 } Py_INCREF(Py_None
);
2083 _resultobj
= Py_None
;
2087 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2088 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2093 PyObject
* _obj0
= 0;
2094 char *_kwnames
[] = { "self", NULL
};
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2101 if (! wxRect_helper(_obj0
, &_arg0
))
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 _result
= (int )wxRect_GetWidth(_arg0
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } _resultobj
= Py_BuildValue("i",_result
);
2113 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2114 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2119 PyObject
* _obj0
= 0;
2120 char *_kwnames
[] = { "self","w", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2127 if (! wxRect_helper(_obj0
, &_arg0
))
2131 wxPy_BEGIN_ALLOW_THREADS
;
2132 wxRect_SetWidth(_arg0
,_arg1
);
2134 wxPy_END_ALLOW_THREADS
;
2135 } Py_INCREF(Py_None
);
2136 _resultobj
= Py_None
;
2140 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2141 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2146 PyObject
* _obj0
= 0;
2147 char *_kwnames
[] = { "self", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2154 if (! wxRect_helper(_obj0
, &_arg0
))
2158 wxPy_BEGIN_ALLOW_THREADS
;
2159 _result
= (int )wxRect_GetHeight(_arg0
);
2161 wxPy_END_ALLOW_THREADS
;
2162 } _resultobj
= Py_BuildValue("i",_result
);
2166 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2167 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2172 PyObject
* _obj0
= 0;
2173 char *_kwnames
[] = { "self","h", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2180 if (! wxRect_helper(_obj0
, &_arg0
))
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 wxRect_SetHeight(_arg0
,_arg1
);
2187 wxPy_END_ALLOW_THREADS
;
2188 } Py_INCREF(Py_None
);
2189 _resultobj
= Py_None
;
2193 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2194 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2199 PyObject
* _obj0
= 0;
2200 char *_kwnames
[] = { "self", NULL
};
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2208 if (! wxRect_helper(_obj0
, &_arg0
))
2212 wxPy_BEGIN_ALLOW_THREADS
;
2213 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2215 wxPy_END_ALLOW_THREADS
;
2216 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2217 _resultobj
= Py_BuildValue("s",_ptemp
);
2221 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2222 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2227 PyObject
* _obj0
= 0;
2228 char *_kwnames
[] = { "self", NULL
};
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2236 if (! wxRect_helper(_obj0
, &_arg0
))
2240 wxPy_BEGIN_ALLOW_THREADS
;
2241 _result
= new wxSize (wxRect_GetSize(_arg0
));
2243 wxPy_END_ALLOW_THREADS
;
2244 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2245 _resultobj
= Py_BuildValue("s",_ptemp
);
2249 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2250 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2255 PyObject
* _obj0
= 0;
2256 char *_kwnames
[] = { "self", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2263 if (! wxRect_helper(_obj0
, &_arg0
))
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 _result
= (int )wxRect_GetLeft(_arg0
);
2270 wxPy_END_ALLOW_THREADS
;
2271 } _resultobj
= Py_BuildValue("i",_result
);
2275 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2276 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
* _resultobj
;
2281 PyObject
* _obj0
= 0;
2282 char *_kwnames
[] = { "self", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2289 if (! wxRect_helper(_obj0
, &_arg0
))
2293 wxPy_BEGIN_ALLOW_THREADS
;
2294 _result
= (int )wxRect_GetTop(_arg0
);
2296 wxPy_END_ALLOW_THREADS
;
2297 } _resultobj
= Py_BuildValue("i",_result
);
2301 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2302 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2307 PyObject
* _obj0
= 0;
2308 char *_kwnames
[] = { "self", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2315 if (! wxRect_helper(_obj0
, &_arg0
))
2319 wxPy_BEGIN_ALLOW_THREADS
;
2320 _result
= (int )wxRect_GetBottom(_arg0
);
2322 wxPy_END_ALLOW_THREADS
;
2323 } _resultobj
= Py_BuildValue("i",_result
);
2327 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2328 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2333 PyObject
* _obj0
= 0;
2334 char *_kwnames
[] = { "self", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2341 if (! wxRect_helper(_obj0
, &_arg0
))
2345 wxPy_BEGIN_ALLOW_THREADS
;
2346 _result
= (int )wxRect_GetRight(_arg0
);
2348 wxPy_END_ALLOW_THREADS
;
2349 } _resultobj
= Py_BuildValue("i",_result
);
2353 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2354 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
* _resultobj
;
2359 PyObject
* _obj0
= 0;
2360 char *_kwnames
[] = { "self","left", NULL
};
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2367 if (! wxRect_helper(_obj0
, &_arg0
))
2371 wxPy_BEGIN_ALLOW_THREADS
;
2372 wxRect_SetLeft(_arg0
,_arg1
);
2374 wxPy_END_ALLOW_THREADS
;
2375 } Py_INCREF(Py_None
);
2376 _resultobj
= Py_None
;
2380 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2381 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2386 PyObject
* _obj0
= 0;
2387 char *_kwnames
[] = { "self","right", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2394 if (! wxRect_helper(_obj0
, &_arg0
))
2398 wxPy_BEGIN_ALLOW_THREADS
;
2399 wxRect_SetRight(_arg0
,_arg1
);
2401 wxPy_END_ALLOW_THREADS
;
2402 } Py_INCREF(Py_None
);
2403 _resultobj
= Py_None
;
2407 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2408 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2413 PyObject
* _obj0
= 0;
2414 char *_kwnames
[] = { "self","top", NULL
};
2417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2421 if (! wxRect_helper(_obj0
, &_arg0
))
2425 wxPy_BEGIN_ALLOW_THREADS
;
2426 wxRect_SetTop(_arg0
,_arg1
);
2428 wxPy_END_ALLOW_THREADS
;
2429 } Py_INCREF(Py_None
);
2430 _resultobj
= Py_None
;
2434 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2435 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
* _resultobj
;
2440 PyObject
* _obj0
= 0;
2441 char *_kwnames
[] = { "self","bottom", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2448 if (! wxRect_helper(_obj0
, &_arg0
))
2452 wxPy_BEGIN_ALLOW_THREADS
;
2453 wxRect_SetBottom(_arg0
,_arg1
);
2455 wxPy_END_ALLOW_THREADS
;
2456 } Py_INCREF(Py_None
);
2457 _resultobj
= Py_None
;
2461 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2462 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2468 PyObject
* _obj0
= 0;
2469 char *_kwnames
[] = { "self","dx","dy", NULL
};
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2476 if (! wxRect_helper(_obj0
, &_arg0
))
2480 wxPy_BEGIN_ALLOW_THREADS
;
2481 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2483 wxPy_END_ALLOW_THREADS
;
2484 } Py_INCREF(Py_None
);
2485 _resultobj
= Py_None
;
2489 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2490 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2497 PyObject
* _obj0
= 0;
2498 char *_kwnames
[] = { "self","cx","cy", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2505 if (! wxRect_helper(_obj0
, &_arg0
))
2509 wxPy_BEGIN_ALLOW_THREADS
;
2510 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2512 wxPy_END_ALLOW_THREADS
;
2513 } _resultobj
= Py_BuildValue("i",_result
);
2517 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2518 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2524 PyObject
* _obj0
= 0;
2525 char *_kwnames
[] = { "self","x", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2532 if (! wxRect_helper(_obj0
, &_arg0
))
2536 wxPy_BEGIN_ALLOW_THREADS
;
2537 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2539 wxPy_END_ALLOW_THREADS
;
2540 } _resultobj
= Py_BuildValue("i",_result
);
2544 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2545 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2550 PyObject
* _obj0
= 0;
2551 char *_kwnames
[] = { "self", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2558 if (! wxRect_helper(_obj0
, &_arg0
))
2562 wxPy_BEGIN_ALLOW_THREADS
;
2563 _result
= (int )wxRect_x_get(_arg0
);
2565 wxPy_END_ALLOW_THREADS
;
2566 } _resultobj
= Py_BuildValue("i",_result
);
2570 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2571 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2577 PyObject
* _obj0
= 0;
2578 char *_kwnames
[] = { "self","y", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2585 if (! wxRect_helper(_obj0
, &_arg0
))
2589 wxPy_BEGIN_ALLOW_THREADS
;
2590 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2592 wxPy_END_ALLOW_THREADS
;
2593 } _resultobj
= Py_BuildValue("i",_result
);
2597 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2598 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2603 PyObject
* _obj0
= 0;
2604 char *_kwnames
[] = { "self", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2611 if (! wxRect_helper(_obj0
, &_arg0
))
2615 wxPy_BEGIN_ALLOW_THREADS
;
2616 _result
= (int )wxRect_y_get(_arg0
);
2618 wxPy_END_ALLOW_THREADS
;
2619 } _resultobj
= Py_BuildValue("i",_result
);
2623 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2624 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2630 PyObject
* _obj0
= 0;
2631 char *_kwnames
[] = { "self","width", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2638 if (! wxRect_helper(_obj0
, &_arg0
))
2642 wxPy_BEGIN_ALLOW_THREADS
;
2643 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2645 wxPy_END_ALLOW_THREADS
;
2646 } _resultobj
= Py_BuildValue("i",_result
);
2650 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2651 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2656 PyObject
* _obj0
= 0;
2657 char *_kwnames
[] = { "self", NULL
};
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2664 if (! wxRect_helper(_obj0
, &_arg0
))
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 _result
= (int )wxRect_width_get(_arg0
);
2671 wxPy_END_ALLOW_THREADS
;
2672 } _resultobj
= Py_BuildValue("i",_result
);
2676 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2677 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2683 PyObject
* _obj0
= 0;
2684 char *_kwnames
[] = { "self","height", NULL
};
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2691 if (! wxRect_helper(_obj0
, &_arg0
))
2695 wxPy_BEGIN_ALLOW_THREADS
;
2696 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2698 wxPy_END_ALLOW_THREADS
;
2699 } _resultobj
= Py_BuildValue("i",_result
);
2703 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2704 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2709 PyObject
* _obj0
= 0;
2710 char *_kwnames
[] = { "self", NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2717 if (! wxRect_helper(_obj0
, &_arg0
))
2721 wxPy_BEGIN_ALLOW_THREADS
;
2722 _result
= (int )wxRect_height_get(_arg0
);
2724 wxPy_END_ALLOW_THREADS
;
2725 } _resultobj
= Py_BuildValue("i",_result
);
2729 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2730 PyObject
* tup
= PyTuple_New(4);
2731 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2732 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2733 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2734 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2737 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2742 PyObject
* _obj0
= 0;
2743 char *_kwnames
[] = { "self", NULL
};
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2750 if (! wxRect_helper(_obj0
, &_arg0
))
2754 wxPy_BEGIN_ALLOW_THREADS
;
2755 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2757 wxPy_END_ALLOW_THREADS
;
2759 _resultobj
= _result
;
2764 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2765 if (! rect
) return *self
;
2766 return *self
+ *rect
;
2768 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2774 PyObject
* _obj0
= 0;
2776 PyObject
* _obj1
= 0;
2777 char *_kwnames
[] = { "self","rect", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2785 if (! wxRect_helper(_obj0
, &_arg0
))
2790 if (! wxRect_helper(_obj1
, &_arg1
))
2794 wxPy_BEGIN_ALLOW_THREADS
;
2795 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2797 wxPy_END_ALLOW_THREADS
;
2798 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2799 _resultobj
= Py_BuildValue("s",_ptemp
);
2803 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
2804 if (! rect
) return 0;
2805 return *self
== *rect
;
2807 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2813 PyObject
* _obj0
= 0;
2815 PyObject
* _obj1
= 0;
2816 char *_kwnames
[] = { "self","rect", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
2823 if (! wxRect_helper(_obj0
, &_arg0
))
2828 if (! wxRect_helper(_obj1
, &_arg1
))
2832 wxPy_BEGIN_ALLOW_THREADS
;
2833 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
2835 wxPy_END_ALLOW_THREADS
;
2836 } _resultobj
= Py_BuildValue("i",_result
);
2840 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2841 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2843 wxIndividualLayoutConstraint
* _arg0
;
2845 int _arg2
= (int ) 0;
2846 PyObject
* _argo0
= 0;
2847 PyObject
* _argo1
= 0;
2848 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2861 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2868 wxPy_BEGIN_ALLOW_THREADS
;
2869 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2871 wxPy_END_ALLOW_THREADS
;
2872 } Py_INCREF(Py_None
);
2873 _resultobj
= Py_None
;
2877 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2878 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2880 wxIndividualLayoutConstraint
* _arg0
;
2882 PyObject
* _argo0
= 0;
2883 char *_kwnames
[] = { "self","value", NULL
};
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2896 wxPy_BEGIN_ALLOW_THREADS
;
2897 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2899 wxPy_END_ALLOW_THREADS
;
2900 } Py_INCREF(Py_None
);
2901 _resultobj
= Py_None
;
2905 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2906 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2908 wxIndividualLayoutConstraint
* _arg0
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 wxIndividualLayoutConstraint_AsIs(_arg0
);
2926 wxPy_END_ALLOW_THREADS
;
2927 } Py_INCREF(Py_None
);
2928 _resultobj
= Py_None
;
2932 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2933 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2935 wxIndividualLayoutConstraint
* _arg0
;
2937 int _arg2
= (int ) 0;
2938 PyObject
* _argo0
= 0;
2939 PyObject
* _argo1
= 0;
2940 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2953 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2954 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2960 wxPy_BEGIN_ALLOW_THREADS
;
2961 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2963 wxPy_END_ALLOW_THREADS
;
2964 } Py_INCREF(Py_None
);
2965 _resultobj
= Py_None
;
2969 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2970 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2972 wxIndividualLayoutConstraint
* _arg0
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2987 wxPy_BEGIN_ALLOW_THREADS
;
2988 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2990 wxPy_END_ALLOW_THREADS
;
2991 } Py_INCREF(Py_None
);
2992 _resultobj
= Py_None
;
2996 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2997 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
2999 wxIndividualLayoutConstraint
* _arg0
;
3001 int _arg2
= (int ) 0;
3002 PyObject
* _argo0
= 0;
3003 PyObject
* _argo1
= 0;
3004 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3017 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3018 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3024 wxPy_BEGIN_ALLOW_THREADS
;
3025 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3027 wxPy_END_ALLOW_THREADS
;
3028 } Py_INCREF(Py_None
);
3029 _resultobj
= Py_None
;
3033 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3034 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3036 wxIndividualLayoutConstraint
* _arg0
;
3040 PyObject
* _argo0
= 0;
3041 PyObject
* _argo1
= 0;
3042 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3055 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3056 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3062 wxPy_BEGIN_ALLOW_THREADS
;
3063 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3065 wxPy_END_ALLOW_THREADS
;
3066 } Py_INCREF(Py_None
);
3067 _resultobj
= Py_None
;
3071 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3072 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
* _resultobj
;
3074 wxIndividualLayoutConstraint
* _arg0
;
3076 int _arg2
= (int ) 0;
3077 PyObject
* _argo0
= 0;
3078 PyObject
* _argo1
= 0;
3079 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3092 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3099 wxPy_BEGIN_ALLOW_THREADS
;
3100 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3102 wxPy_END_ALLOW_THREADS
;
3103 } Py_INCREF(Py_None
);
3104 _resultobj
= Py_None
;
3108 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3109 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3110 PyObject
* _resultobj
;
3111 wxIndividualLayoutConstraint
* _arg0
;
3114 int _arg3
= (int ) 0;
3115 PyObject
* _argo0
= 0;
3116 PyObject
* _argo1
= 0;
3117 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3137 wxPy_BEGIN_ALLOW_THREADS
;
3138 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3140 wxPy_END_ALLOW_THREADS
;
3141 } Py_INCREF(Py_None
);
3142 _resultobj
= Py_None
;
3146 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3147 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3149 wxIndividualLayoutConstraint
* _arg0
;
3150 wxRelationship _arg1
;
3153 int _arg4
= (int ) 0;
3154 int _arg5
= (int ) 0;
3155 PyObject
* _argo0
= 0;
3156 PyObject
* _argo2
= 0;
3157 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3170 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3171 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3177 wxPy_BEGIN_ALLOW_THREADS
;
3178 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3180 wxPy_END_ALLOW_THREADS
;
3181 } Py_INCREF(Py_None
);
3182 _resultobj
= Py_None
;
3186 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3187 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
* _resultobj
;
3189 wxLayoutConstraints
* _result
;
3190 char *_kwnames
[] = { NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3197 wxPy_BEGIN_ALLOW_THREADS
;
3198 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3200 wxPy_END_ALLOW_THREADS
;
3202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3203 _resultobj
= Py_BuildValue("s",_ptemp
);
3206 _resultobj
= Py_None
;
3211 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3212 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
* _resultobj
;
3214 wxIndividualLayoutConstraint
* _result
;
3215 wxLayoutConstraints
* _arg0
;
3216 PyObject
* _argo0
= 0;
3217 char *_kwnames
[] = { "self", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3231 wxPy_BEGIN_ALLOW_THREADS
;
3232 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3234 wxPy_END_ALLOW_THREADS
;
3236 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3237 _resultobj
= Py_BuildValue("s",_ptemp
);
3240 _resultobj
= Py_None
;
3245 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3246 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3248 wxIndividualLayoutConstraint
* _result
;
3249 wxLayoutConstraints
* _arg0
;
3250 PyObject
* _argo0
= 0;
3251 char *_kwnames
[] = { "self", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3265 wxPy_BEGIN_ALLOW_THREADS
;
3266 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3268 wxPy_END_ALLOW_THREADS
;
3270 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3271 _resultobj
= Py_BuildValue("s",_ptemp
);
3274 _resultobj
= Py_None
;
3279 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3280 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
* _resultobj
;
3282 wxIndividualLayoutConstraint
* _result
;
3283 wxLayoutConstraints
* _arg0
;
3284 PyObject
* _argo0
= 0;
3285 char *_kwnames
[] = { "self", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3299 wxPy_BEGIN_ALLOW_THREADS
;
3300 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3302 wxPy_END_ALLOW_THREADS
;
3304 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3305 _resultobj
= Py_BuildValue("s",_ptemp
);
3308 _resultobj
= Py_None
;
3313 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3314 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3316 wxIndividualLayoutConstraint
* _result
;
3317 wxLayoutConstraints
* _arg0
;
3318 PyObject
* _argo0
= 0;
3319 char *_kwnames
[] = { "self", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3333 wxPy_BEGIN_ALLOW_THREADS
;
3334 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3336 wxPy_END_ALLOW_THREADS
;
3338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3339 _resultobj
= Py_BuildValue("s",_ptemp
);
3342 _resultobj
= Py_None
;
3347 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3348 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
* _resultobj
;
3350 wxIndividualLayoutConstraint
* _result
;
3351 wxLayoutConstraints
* _arg0
;
3352 PyObject
* _argo0
= 0;
3353 char *_kwnames
[] = { "self", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3367 wxPy_BEGIN_ALLOW_THREADS
;
3368 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3370 wxPy_END_ALLOW_THREADS
;
3372 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3373 _resultobj
= Py_BuildValue("s",_ptemp
);
3376 _resultobj
= Py_None
;
3381 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3382 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
* _resultobj
;
3384 wxIndividualLayoutConstraint
* _result
;
3385 wxLayoutConstraints
* _arg0
;
3386 PyObject
* _argo0
= 0;
3387 char *_kwnames
[] = { "self", NULL
};
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3401 wxPy_BEGIN_ALLOW_THREADS
;
3402 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3404 wxPy_END_ALLOW_THREADS
;
3406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3407 _resultobj
= Py_BuildValue("s",_ptemp
);
3410 _resultobj
= Py_None
;
3415 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3416 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3418 wxIndividualLayoutConstraint
* _result
;
3419 wxLayoutConstraints
* _arg0
;
3420 PyObject
* _argo0
= 0;
3421 char *_kwnames
[] = { "self", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3435 wxPy_BEGIN_ALLOW_THREADS
;
3436 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3438 wxPy_END_ALLOW_THREADS
;
3440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3441 _resultobj
= Py_BuildValue("s",_ptemp
);
3444 _resultobj
= Py_None
;
3449 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3450 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3452 wxIndividualLayoutConstraint
* _result
;
3453 wxLayoutConstraints
* _arg0
;
3454 PyObject
* _argo0
= 0;
3455 char *_kwnames
[] = { "self", NULL
};
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3469 wxPy_BEGIN_ALLOW_THREADS
;
3470 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3472 wxPy_END_ALLOW_THREADS
;
3474 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3475 _resultobj
= Py_BuildValue("s",_ptemp
);
3478 _resultobj
= Py_None
;
3483 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3484 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
* _resultobj
;
3487 long _arg0
= (long ) 0;
3488 long _arg1
= (long ) 0;
3489 long _arg2
= (long ) 0;
3490 long _arg3
= (long ) 0;
3491 char *_kwnames
[] = { "x","y","width","height", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3498 wxPy_BEGIN_ALLOW_THREADS
;
3499 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
3501 wxPy_END_ALLOW_THREADS
;
3503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3504 _resultobj
= Py_BuildValue("s",_ptemp
);
3507 _resultobj
= Py_None
;
3512 #define delete_wxRegion(_swigobj) (delete _swigobj)
3513 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3516 PyObject
* _argo0
= 0;
3517 char *_kwnames
[] = { "self", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3530 wxPy_BEGIN_ALLOW_THREADS
;
3531 delete_wxRegion(_arg0
);
3533 wxPy_END_ALLOW_THREADS
;
3534 } Py_INCREF(Py_None
);
3535 _resultobj
= Py_None
;
3539 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3540 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3543 PyObject
* _argo0
= 0;
3544 char *_kwnames
[] = { "self", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3557 wxPy_BEGIN_ALLOW_THREADS
;
3558 wxRegion_Clear(_arg0
);
3560 wxPy_END_ALLOW_THREADS
;
3561 } Py_INCREF(Py_None
);
3562 _resultobj
= Py_None
;
3566 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3567 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
* _resultobj
;
3569 wxRegionContain _result
;
3573 PyObject
* _argo0
= 0;
3574 char *_kwnames
[] = { "self","x","y", NULL
};
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3587 wxPy_BEGIN_ALLOW_THREADS
;
3588 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3590 wxPy_END_ALLOW_THREADS
;
3591 } _resultobj
= Py_BuildValue("i",_result
);
3595 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3596 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
* _resultobj
;
3598 wxRegionContain _result
;
3601 PyObject
* _argo0
= 0;
3603 PyObject
* _obj1
= 0;
3604 char *_kwnames
[] = { "self","pt", NULL
};
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3618 if (! wxPoint_helper(_obj1
, &_arg1
))
3622 wxPy_BEGIN_ALLOW_THREADS
;
3623 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3625 wxPy_END_ALLOW_THREADS
;
3626 } _resultobj
= Py_BuildValue("i",_result
);
3630 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3631 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
* _resultobj
;
3633 wxRegionContain _result
;
3636 PyObject
* _argo0
= 0;
3638 PyObject
* _obj1
= 0;
3639 char *_kwnames
[] = { "self","rect", NULL
};
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3653 if (! wxRect_helper(_obj1
, &_arg1
))
3657 wxPy_BEGIN_ALLOW_THREADS
;
3658 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3660 wxPy_END_ALLOW_THREADS
;
3661 } _resultobj
= Py_BuildValue("i",_result
);
3665 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3666 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
* _resultobj
;
3668 wxRegionContain _result
;
3674 PyObject
* _argo0
= 0;
3675 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3688 wxPy_BEGIN_ALLOW_THREADS
;
3689 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3691 wxPy_END_ALLOW_THREADS
;
3692 } _resultobj
= Py_BuildValue("i",_result
);
3696 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3697 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
* _resultobj
;
3701 PyObject
* _argo0
= 0;
3702 char *_kwnames
[] = { "self", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3716 wxPy_BEGIN_ALLOW_THREADS
;
3717 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3719 wxPy_END_ALLOW_THREADS
;
3720 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3721 _resultobj
= Py_BuildValue("s",_ptemp
);
3725 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3726 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
* _resultobj
;
3734 PyObject
* _argo0
= 0;
3735 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3748 wxPy_BEGIN_ALLOW_THREADS
;
3749 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3751 wxPy_END_ALLOW_THREADS
;
3752 } _resultobj
= Py_BuildValue("i",_result
);
3756 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3757 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
* _resultobj
;
3762 PyObject
* _argo0
= 0;
3764 PyObject
* _obj1
= 0;
3765 char *_kwnames
[] = { "self","rect", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3779 if (! wxRect_helper(_obj1
, &_arg1
))
3783 wxPy_BEGIN_ALLOW_THREADS
;
3784 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
3786 wxPy_END_ALLOW_THREADS
;
3787 } _resultobj
= Py_BuildValue("i",_result
);
3791 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3792 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
* _resultobj
;
3797 PyObject
* _argo0
= 0;
3798 PyObject
* _argo1
= 0;
3799 char *_kwnames
[] = { "self","region", NULL
};
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
3805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3819 wxPy_BEGIN_ALLOW_THREADS
;
3820 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
3822 wxPy_END_ALLOW_THREADS
;
3823 } _resultobj
= Py_BuildValue("i",_result
);
3827 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3828 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
* _resultobj
;
3832 PyObject
* _argo0
= 0;
3833 char *_kwnames
[] = { "self", NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3846 wxPy_BEGIN_ALLOW_THREADS
;
3847 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3849 wxPy_END_ALLOW_THREADS
;
3850 } _resultobj
= Py_BuildValue("i",_result
);
3854 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3855 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3863 PyObject
* _argo0
= 0;
3864 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3877 wxPy_BEGIN_ALLOW_THREADS
;
3878 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3880 wxPy_END_ALLOW_THREADS
;
3881 } _resultobj
= Py_BuildValue("i",_result
);
3885 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3886 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3891 PyObject
* _argo0
= 0;
3893 PyObject
* _obj1
= 0;
3894 char *_kwnames
[] = { "self","rect", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3908 if (! wxRect_helper(_obj1
, &_arg1
))
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
3915 wxPy_END_ALLOW_THREADS
;
3916 } _resultobj
= Py_BuildValue("i",_result
);
3920 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3921 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
* _resultobj
;
3926 PyObject
* _argo0
= 0;
3927 PyObject
* _argo1
= 0;
3928 char *_kwnames
[] = { "self","region", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3941 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3948 wxPy_BEGIN_ALLOW_THREADS
;
3949 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
3951 wxPy_END_ALLOW_THREADS
;
3952 } _resultobj
= Py_BuildValue("i",_result
);
3956 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3957 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
* _resultobj
;
3965 PyObject
* _argo0
= 0;
3966 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3979 wxPy_BEGIN_ALLOW_THREADS
;
3980 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3982 wxPy_END_ALLOW_THREADS
;
3983 } _resultobj
= Py_BuildValue("i",_result
);
3987 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3988 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
* _resultobj
;
3993 PyObject
* _argo0
= 0;
3995 PyObject
* _obj1
= 0;
3996 char *_kwnames
[] = { "self","rect", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
4010 if (! wxRect_helper(_obj1
, &_arg1
))
4014 wxPy_BEGIN_ALLOW_THREADS
;
4015 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
4017 wxPy_END_ALLOW_THREADS
;
4018 } _resultobj
= Py_BuildValue("i",_result
);
4022 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4023 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
* _resultobj
;
4028 PyObject
* _argo0
= 0;
4029 PyObject
* _argo1
= 0;
4030 char *_kwnames
[] = { "self","region", NULL
};
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
4036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4043 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4044 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4050 wxPy_BEGIN_ALLOW_THREADS
;
4051 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
4053 wxPy_END_ALLOW_THREADS
;
4054 } _resultobj
= Py_BuildValue("i",_result
);
4058 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4059 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
* _resultobj
;
4067 PyObject
* _argo0
= 0;
4068 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
4081 wxPy_BEGIN_ALLOW_THREADS
;
4082 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4084 wxPy_END_ALLOW_THREADS
;
4085 } _resultobj
= Py_BuildValue("i",_result
);
4089 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4090 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4095 PyObject
* _argo0
= 0;
4097 PyObject
* _obj1
= 0;
4098 char *_kwnames
[] = { "self","rect", NULL
};
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
4104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
4112 if (! wxRect_helper(_obj1
, &_arg1
))
4116 wxPy_BEGIN_ALLOW_THREADS
;
4117 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
4119 wxPy_END_ALLOW_THREADS
;
4120 } _resultobj
= Py_BuildValue("i",_result
);
4124 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4125 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
* _resultobj
;
4130 PyObject
* _argo0
= 0;
4131 PyObject
* _argo1
= 0;
4132 char *_kwnames
[] = { "self","region", NULL
};
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
4138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
4145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
4152 wxPy_BEGIN_ALLOW_THREADS
;
4153 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
4155 wxPy_END_ALLOW_THREADS
;
4156 } _resultobj
= Py_BuildValue("i",_result
);
4160 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
4161 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4163 wxRegionIterator
* _result
;
4165 PyObject
* _argo0
= 0;
4166 char *_kwnames
[] = { "region", NULL
};
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
4173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
4180 wxPy_BEGIN_ALLOW_THREADS
;
4181 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
4183 wxPy_END_ALLOW_THREADS
;
4185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
4186 _resultobj
= Py_BuildValue("s",_ptemp
);
4189 _resultobj
= Py_None
;
4194 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
4195 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
* _resultobj
;
4197 wxRegionIterator
* _arg0
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
4212 wxPy_BEGIN_ALLOW_THREADS
;
4213 delete_wxRegionIterator(_arg0
);
4215 wxPy_END_ALLOW_THREADS
;
4216 } Py_INCREF(Py_None
);
4217 _resultobj
= Py_None
;
4221 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
4222 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
* _resultobj
;
4225 wxRegionIterator
* _arg0
;
4226 PyObject
* _argo0
= 0;
4227 char *_kwnames
[] = { "self", NULL
};
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
4233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
4240 wxPy_BEGIN_ALLOW_THREADS
;
4241 _result
= (long )wxRegionIterator_GetX(_arg0
);
4243 wxPy_END_ALLOW_THREADS
;
4244 } _resultobj
= Py_BuildValue("l",_result
);
4248 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
4249 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
* _resultobj
;
4252 wxRegionIterator
* _arg0
;
4253 PyObject
* _argo0
= 0;
4254 char *_kwnames
[] = { "self", NULL
};
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
4260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
4267 wxPy_BEGIN_ALLOW_THREADS
;
4268 _result
= (long )wxRegionIterator_GetY(_arg0
);
4270 wxPy_END_ALLOW_THREADS
;
4271 } _resultobj
= Py_BuildValue("l",_result
);
4275 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
4276 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4279 wxRegionIterator
* _arg0
;
4280 PyObject
* _argo0
= 0;
4281 char *_kwnames
[] = { "self", NULL
};
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
4287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
4294 wxPy_BEGIN_ALLOW_THREADS
;
4295 _result
= (long )wxRegionIterator_GetW(_arg0
);
4297 wxPy_END_ALLOW_THREADS
;
4298 } _resultobj
= Py_BuildValue("l",_result
);
4302 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
4303 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
* _resultobj
;
4306 wxRegionIterator
* _arg0
;
4307 PyObject
* _argo0
= 0;
4308 char *_kwnames
[] = { "self", NULL
};
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
4314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
4321 wxPy_BEGIN_ALLOW_THREADS
;
4322 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
4324 wxPy_END_ALLOW_THREADS
;
4325 } _resultobj
= Py_BuildValue("l",_result
);
4329 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
4330 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
* _resultobj
;
4333 wxRegionIterator
* _arg0
;
4334 PyObject
* _argo0
= 0;
4335 char *_kwnames
[] = { "self", NULL
};
4338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
4341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
4348 wxPy_BEGIN_ALLOW_THREADS
;
4349 _result
= (long )wxRegionIterator_GetH(_arg0
);
4351 wxPy_END_ALLOW_THREADS
;
4352 } _resultobj
= Py_BuildValue("l",_result
);
4356 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
4357 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4360 wxRegionIterator
* _arg0
;
4361 PyObject
* _argo0
= 0;
4362 char *_kwnames
[] = { "self", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
4368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
4375 wxPy_BEGIN_ALLOW_THREADS
;
4376 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
4378 wxPy_END_ALLOW_THREADS
;
4379 } _resultobj
= Py_BuildValue("l",_result
);
4383 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
4384 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4387 wxRegionIterator
* _arg0
;
4388 PyObject
* _argo0
= 0;
4389 char *_kwnames
[] = { "self", NULL
};
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
4396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4403 wxPy_BEGIN_ALLOW_THREADS
;
4404 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4406 wxPy_END_ALLOW_THREADS
;
4407 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4408 _resultobj
= Py_BuildValue("s",_ptemp
);
4412 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4413 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4416 wxRegionIterator
* _arg0
;
4417 PyObject
* _argo0
= 0;
4418 char *_kwnames
[] = { "self", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4431 wxPy_BEGIN_ALLOW_THREADS
;
4432 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4434 wxPy_END_ALLOW_THREADS
;
4435 } _resultobj
= Py_BuildValue("i",_result
);
4439 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4440 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
* _resultobj
;
4442 wxRegionIterator
* _arg0
;
4443 PyObject
* _argo0
= 0;
4444 char *_kwnames
[] = { "self", NULL
};
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4457 wxPy_BEGIN_ALLOW_THREADS
;
4458 wxRegionIterator_Reset(_arg0
);
4460 wxPy_END_ALLOW_THREADS
;
4461 } Py_INCREF(Py_None
);
4462 _resultobj
= Py_None
;
4466 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4469 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
* _resultobj
;
4471 wxRegionIterator
* _arg0
;
4472 PyObject
* _argo0
= 0;
4473 char *_kwnames
[] = { "self", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4486 wxPy_BEGIN_ALLOW_THREADS
;
4487 wxRegionIterator_Next(_arg0
);
4489 wxPy_END_ALLOW_THREADS
;
4490 } Py_INCREF(Py_None
);
4491 _resultobj
= Py_None
;
4495 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4496 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
* _resultobj
;
4498 wxAcceleratorEntry
* _result
;
4499 int _arg0
= (int ) 0;
4500 int _arg1
= (int ) 0;
4501 int _arg2
= (int ) 0;
4502 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4509 wxPy_BEGIN_ALLOW_THREADS
;
4510 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4512 wxPy_END_ALLOW_THREADS
;
4514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4515 _resultobj
= Py_BuildValue("s",_ptemp
);
4518 _resultobj
= Py_None
;
4523 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4524 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
* _resultobj
;
4526 wxAcceleratorEntry
* _arg0
;
4527 PyObject
* _argo0
= 0;
4528 char *_kwnames
[] = { "self", NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4541 wxPy_BEGIN_ALLOW_THREADS
;
4542 delete_wxAcceleratorEntry(_arg0
);
4544 wxPy_END_ALLOW_THREADS
;
4545 } Py_INCREF(Py_None
);
4546 _resultobj
= Py_None
;
4550 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4551 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
* _resultobj
;
4553 wxAcceleratorEntry
* _arg0
;
4557 PyObject
* _argo0
= 0;
4558 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4571 wxPy_BEGIN_ALLOW_THREADS
;
4572 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4574 wxPy_END_ALLOW_THREADS
;
4575 } Py_INCREF(Py_None
);
4576 _resultobj
= Py_None
;
4580 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4581 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4582 PyObject
* _resultobj
;
4584 wxAcceleratorEntry
* _arg0
;
4585 PyObject
* _argo0
= 0;
4586 char *_kwnames
[] = { "self", NULL
};
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4599 wxPy_BEGIN_ALLOW_THREADS
;
4600 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4602 wxPy_END_ALLOW_THREADS
;
4603 } _resultobj
= Py_BuildValue("i",_result
);
4607 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4608 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
* _resultobj
;
4611 wxAcceleratorEntry
* _arg0
;
4612 PyObject
* _argo0
= 0;
4613 char *_kwnames
[] = { "self", NULL
};
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4626 wxPy_BEGIN_ALLOW_THREADS
;
4627 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4629 wxPy_END_ALLOW_THREADS
;
4630 } _resultobj
= Py_BuildValue("i",_result
);
4634 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4635 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4638 wxAcceleratorEntry
* _arg0
;
4639 PyObject
* _argo0
= 0;
4640 char *_kwnames
[] = { "self", NULL
};
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4653 wxPy_BEGIN_ALLOW_THREADS
;
4654 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4656 wxPy_END_ALLOW_THREADS
;
4657 } _resultobj
= Py_BuildValue("i",_result
);
4661 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4662 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4664 wxAcceleratorTable
* _result
;
4666 wxAcceleratorEntry
* _arg1
;
4667 PyObject
* _obj1
= 0;
4668 char *_kwnames
[] = { "choices", NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4676 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4677 if (_arg1
== NULL
) {
4683 _arg0
= PyList_Size(_obj1
);
4690 wxPy_BEGIN_ALLOW_THREADS
;
4691 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4693 wxPy_END_ALLOW_THREADS
;
4695 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4696 _resultobj
= Py_BuildValue("s",_ptemp
);
4699 _resultobj
= Py_None
;
4707 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4708 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
* _resultobj
;
4710 wxAcceleratorTable
* _arg0
;
4711 PyObject
* _argo0
= 0;
4712 char *_kwnames
[] = { "self", NULL
};
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4725 wxPy_BEGIN_ALLOW_THREADS
;
4726 delete_wxAcceleratorTable(_arg0
);
4728 wxPy_END_ALLOW_THREADS
;
4729 } Py_INCREF(Py_None
);
4730 _resultobj
= Py_None
;
4734 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4735 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
* _resultobj
;
4737 wxBusyInfo
* _result
;
4739 PyObject
* _obj0
= 0;
4740 char *_kwnames
[] = { "message", NULL
};
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4747 #if PYTHON_API_VERSION >= 1009
4748 char* tmpPtr
; int tmpSize
;
4749 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4750 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4753 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4755 _arg0
= new wxString(tmpPtr
, tmpSize
);
4757 if (!PyString_Check(_obj0
)) {
4758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4761 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4765 wxPy_BEGIN_ALLOW_THREADS
;
4766 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4768 wxPy_END_ALLOW_THREADS
;
4770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4771 _resultobj
= Py_BuildValue("s",_ptemp
);
4774 _resultobj
= Py_None
;
4783 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4784 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
* _resultobj
;
4787 PyObject
* _argo0
= 0;
4788 char *_kwnames
[] = { "self", NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4801 wxPy_BEGIN_ALLOW_THREADS
;
4802 delete_wxBusyInfo(_arg0
);
4804 wxPy_END_ALLOW_THREADS
;
4805 } Py_INCREF(Py_None
);
4806 _resultobj
= Py_None
;
4810 static PyMethodDef misccMethods
[] = {
4811 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4812 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4813 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4814 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4815 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4816 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4817 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4818 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4819 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4820 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4821 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4822 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4823 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4824 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4825 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4826 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4827 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4828 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4829 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4830 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4831 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4832 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4833 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
4834 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
4835 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4836 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
4837 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
4838 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4839 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
4840 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
4841 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4842 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4843 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
4844 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4845 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4846 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4847 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
4848 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4849 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4850 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4851 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4852 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4853 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4854 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4855 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4856 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4857 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4858 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4859 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4860 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4861 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4862 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4863 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4864 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4865 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4866 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4867 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4868 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4869 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4870 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4871 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4872 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4873 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4874 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4875 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4876 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4877 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4878 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4879 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4880 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4881 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4882 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4883 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4884 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4885 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4886 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4887 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4888 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4889 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4890 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4891 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4892 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4893 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4894 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4895 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4896 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4897 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4898 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4899 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4900 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4901 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4902 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4903 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4904 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4905 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4906 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4907 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4908 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4909 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4910 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4911 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4912 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4913 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4914 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4915 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4916 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4917 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4918 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4919 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4920 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4921 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4922 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4923 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4924 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4925 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4926 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4927 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4928 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4929 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4930 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4931 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4932 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4933 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4934 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4935 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4936 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4937 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4938 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4939 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4940 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4941 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4942 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4943 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4944 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4945 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4946 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4947 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4948 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4949 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4950 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4951 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4952 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4981 * This table is used by the pointer type-checker
4983 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4984 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4985 { "_signed_long","_long",0},
4986 { "_wxPrintQuality","_wxCoord",0},
4987 { "_wxPrintQuality","_int",0},
4988 { "_wxPrintQuality","_signed_int",0},
4989 { "_wxPrintQuality","_unsigned_int",0},
4990 { "_wxPrintQuality","_wxWindowID",0},
4991 { "_wxPrintQuality","_uint",0},
4992 { "_wxPrintQuality","_EBool",0},
4993 { "_wxPrintQuality","_size_t",0},
4994 { "_wxPrintQuality","_time_t",0},
4995 { "_class_wxRegionIterator","_wxRegionIterator",0},
4996 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4997 { "_byte","_unsigned_char",0},
4998 { "_long","_unsigned_long",0},
4999 { "_long","_signed_long",0},
5000 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5001 { "_size_t","_wxCoord",0},
5002 { "_size_t","_wxPrintQuality",0},
5003 { "_size_t","_time_t",0},
5004 { "_size_t","_unsigned_int",0},
5005 { "_size_t","_int",0},
5006 { "_size_t","_wxWindowID",0},
5007 { "_size_t","_uint",0},
5008 { "_class_wxRealPoint","_wxRealPoint",0},
5009 { "_uint","_wxCoord",0},
5010 { "_uint","_wxPrintQuality",0},
5011 { "_uint","_time_t",0},
5012 { "_uint","_size_t",0},
5013 { "_uint","_unsigned_int",0},
5014 { "_uint","_int",0},
5015 { "_uint","_wxWindowID",0},
5016 { "_wxChar","_char",0},
5017 { "_wxRect","_class_wxRect",0},
5018 { "_wxPoint","_class_wxPoint",0},
5019 { "_char","_wxChar",0},
5020 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5021 { "_EBool","_wxCoord",0},
5022 { "_EBool","_wxPrintQuality",0},
5023 { "_EBool","_signed_int",0},
5024 { "_EBool","_int",0},
5025 { "_EBool","_wxWindowID",0},
5026 { "_class_wxRegion","_wxRegion",0},
5027 { "_unsigned_long","_long",0},
5028 { "_class_wxRect","_wxRect",0},
5029 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5030 { "_signed_int","_wxCoord",0},
5031 { "_signed_int","_wxPrintQuality",0},
5032 { "_signed_int","_EBool",0},
5033 { "_signed_int","_wxWindowID",0},
5034 { "_signed_int","_int",0},
5035 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5036 { "_WXTYPE","_short",0},
5037 { "_WXTYPE","_signed_short",0},
5038 { "_WXTYPE","_unsigned_short",0},
5039 { "_unsigned_short","_WXTYPE",0},
5040 { "_unsigned_short","_short",0},
5041 { "_wxBusyInfo","_class_wxBusyInfo",0},
5042 { "_class_wxPoint","_wxPoint",0},
5043 { "_wxRealPoint","_class_wxRealPoint",0},
5044 { "_signed_short","_WXTYPE",0},
5045 { "_signed_short","_short",0},
5046 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5047 { "_unsigned_char","_byte",0},
5048 { "_unsigned_int","_wxCoord",0},
5049 { "_unsigned_int","_wxPrintQuality",0},
5050 { "_unsigned_int","_time_t",0},
5051 { "_unsigned_int","_size_t",0},
5052 { "_unsigned_int","_uint",0},
5053 { "_unsigned_int","_wxWindowID",0},
5054 { "_unsigned_int","_int",0},
5055 { "_short","_WXTYPE",0},
5056 { "_short","_unsigned_short",0},
5057 { "_short","_signed_short",0},
5058 { "_wxWindowID","_wxCoord",0},
5059 { "_wxWindowID","_wxPrintQuality",0},
5060 { "_wxWindowID","_time_t",0},
5061 { "_wxWindowID","_size_t",0},
5062 { "_wxWindowID","_EBool",0},
5063 { "_wxWindowID","_uint",0},
5064 { "_wxWindowID","_int",0},
5065 { "_wxWindowID","_signed_int",0},
5066 { "_wxWindowID","_unsigned_int",0},
5067 { "_int","_wxCoord",0},
5068 { "_int","_wxPrintQuality",0},
5069 { "_int","_time_t",0},
5070 { "_int","_size_t",0},
5071 { "_int","_EBool",0},
5072 { "_int","_uint",0},
5073 { "_int","_wxWindowID",0},
5074 { "_int","_unsigned_int",0},
5075 { "_int","_signed_int",0},
5076 { "_time_t","_wxCoord",0},
5077 { "_time_t","_wxPrintQuality",0},
5078 { "_time_t","_unsigned_int",0},
5079 { "_time_t","_int",0},
5080 { "_time_t","_wxWindowID",0},
5081 { "_time_t","_uint",0},
5082 { "_time_t","_size_t",0},
5083 { "_wxSize","_class_wxSize",0},
5084 { "_wxRegionIterator","_class_wxRegionIterator",0},
5085 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5086 { "_wxCoord","_int",0},
5087 { "_wxCoord","_signed_int",0},
5088 { "_wxCoord","_unsigned_int",0},
5089 { "_wxCoord","_wxWindowID",0},
5090 { "_wxCoord","_uint",0},
5091 { "_wxCoord","_EBool",0},
5092 { "_wxCoord","_size_t",0},
5093 { "_wxCoord","_time_t",0},
5094 { "_wxCoord","_wxPrintQuality",0},
5095 { "_wxRegion","_class_wxRegion",0},
5096 { "_class_wxBusyInfo","_wxBusyInfo",0},
5097 { "_class_wxSize","_wxSize",0},
5100 static PyObject
*SWIG_globals
;
5104 SWIGEXPORT(void) initmiscc() {
5106 SWIG_globals
= SWIG_newvarlink();
5107 m
= Py_InitModule("miscc", misccMethods
);
5108 d
= PyModule_GetDict(m
);
5109 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5110 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5111 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5112 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5113 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5114 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5115 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5116 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5117 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5118 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5119 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5120 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5121 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5122 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5123 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5124 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5125 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5126 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5127 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5128 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
5129 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
5130 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
5131 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5132 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5135 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5136 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);