2 * FILE : src/msw/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmiscc
56 #define SWIG_name "miscc"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/busyinfo.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 static char* wxStringErrorMsg
= "string type is required for parameter";
111 static wxString
wxPyEmptyStr("");
113 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
116 wxRect
dest(0,0,0,0);
119 reg1
.Intersect(reg2
);
120 dest
= reg1
.GetBox();
122 if (dest
!= wxRect(0,0,0,0)) {
123 bool doSave
= wxPyRestoreThread();
124 wxRect
* newRect
= new wxRect(dest
);
125 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
126 PyObject
* one
= PyInt_FromLong(1);
127 PyObject_SetAttrString(obj
, "thisown", one
);
129 wxPySaveThread(doSave
);
136 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
138 wxGetResource(section
, entry
, &retval
, file
);
142 #if 0 // we want to use the definition from the header, not the
143 // one SWIG will generate.
144 extern wxAcceleratorTable wxNullAcceleratorTable
;
150 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
151 PyObject
* _resultobj
;
156 PyObject
* _obj0
= 0;
158 PyObject
* _obj1
= 0;
159 char *_kwnames
[] = { "r1","r2", NULL
};
162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
166 if (! wxRect_helper(_obj0
, &_arg0
))
171 if (! wxRect_helper(_obj1
, &_arg1
))
175 wxPy_BEGIN_ALLOW_THREADS
;
176 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
178 wxPy_END_ALLOW_THREADS
;
180 _resultobj
= _result
;
185 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
186 PyObject
* _resultobj
;
188 char *_kwnames
[] = { NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
194 wxPy_BEGIN_ALLOW_THREADS
;
195 _result
= (long )wxNewId();
197 wxPy_END_ALLOW_THREADS
;
198 } _resultobj
= Py_BuildValue("l",_result
);
202 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
203 PyObject
* _resultobj
;
205 char *_kwnames
[] = { "id", NULL
};
208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
211 wxPy_BEGIN_ALLOW_THREADS
;
214 wxPy_END_ALLOW_THREADS
;
215 } Py_INCREF(Py_None
);
216 _resultobj
= Py_None
;
220 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
221 PyObject
* _resultobj
;
223 char *_kwnames
[] = { NULL
};
226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
229 wxPy_BEGIN_ALLOW_THREADS
;
230 _result
= (long )wxNewId();
232 wxPy_END_ALLOW_THREADS
;
233 } _resultobj
= Py_BuildValue("l",_result
);
237 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
238 PyObject
* _resultobj
;
240 char *_kwnames
[] = { "id", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
246 wxPy_BEGIN_ALLOW_THREADS
;
249 wxPy_END_ALLOW_THREADS
;
250 } Py_INCREF(Py_None
);
251 _resultobj
= Py_None
;
255 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
256 PyObject
* _resultobj
;
258 char *_kwnames
[] = { NULL
};
261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
264 wxPy_BEGIN_ALLOW_THREADS
;
265 _result
= (long )wxGetCurrentId();
267 wxPy_END_ALLOW_THREADS
;
268 } _resultobj
= Py_BuildValue("l",_result
);
272 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
273 PyObject
* _resultobj
;
274 char *_kwnames
[] = { NULL
};
277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
280 wxPy_BEGIN_ALLOW_THREADS
;
283 wxPy_END_ALLOW_THREADS
;
284 } Py_INCREF(Py_None
);
285 _resultobj
= Py_None
;
289 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
295 char *_kwnames
[] = { NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
307 wxPy_BEGIN_ALLOW_THREADS
;
308 wxDisplaySize(_arg0
,_arg1
);
310 wxPy_END_ALLOW_THREADS
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
315 o
= PyInt_FromLong((long) (*_arg0
));
316 _resultobj
= t_output_helper(_resultobj
, o
);
320 o
= PyInt_FromLong((long) (*_arg1
));
321 _resultobj
= t_output_helper(_resultobj
, o
);
326 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
327 PyObject
* _resultobj
;
328 char *_kwnames
[] = { NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
334 wxPy_BEGIN_ALLOW_THREADS
;
337 wxPy_END_ALLOW_THREADS
;
338 } Py_INCREF(Py_None
);
339 _resultobj
= Py_None
;
343 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
344 PyObject
* _resultobj
;
346 bool _arg0
= (bool ) TRUE
;
347 int tempbool0
= (int) TRUE
;
348 char *_kwnames
[] = { "resetTimer", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
353 _arg0
= (bool ) tempbool0
;
355 wxPy_BEGIN_ALLOW_THREADS
;
356 _result
= (long )wxGetElapsedTime(_arg0
);
358 wxPy_END_ALLOW_THREADS
;
359 } _resultobj
= Py_BuildValue("l",_result
);
363 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
364 PyObject
* _resultobj
;
366 char *_kwnames
[] = { NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
372 wxPy_BEGIN_ALLOW_THREADS
;
373 _result
= (long )wxGetFreeMemory();
375 wxPy_END_ALLOW_THREADS
;
376 } _resultobj
= Py_BuildValue("l",_result
);
380 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
386 char *_kwnames
[] = { NULL
};
395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
398 wxPy_BEGIN_ALLOW_THREADS
;
399 wxGetMousePosition(_arg0
,_arg1
);
401 wxPy_END_ALLOW_THREADS
;
402 } Py_INCREF(Py_None
);
403 _resultobj
= Py_None
;
406 o
= PyInt_FromLong((long) (*_arg0
));
407 _resultobj
= t_output_helper(_resultobj
, o
);
411 o
= PyInt_FromLong((long) (*_arg1
));
412 _resultobj
= t_output_helper(_resultobj
, o
);
417 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
420 char *_kwnames
[] = { NULL
};
423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
426 wxPy_BEGIN_ALLOW_THREADS
;
427 _result
= (bool )wxIsBusy();
429 wxPy_END_ALLOW_THREADS
;
430 } _resultobj
= Py_BuildValue("i",_result
);
434 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
435 PyObject
* _resultobj
;
437 char *_kwnames
[] = { NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
443 wxPy_BEGIN_ALLOW_THREADS
;
444 _result
= new wxString (wxNow());
446 wxPy_END_ALLOW_THREADS
;
448 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
456 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
459 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
460 PyObject
* _obj0
= 0;
461 char *_kwnames
[] = { "command", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
468 #if PYTHON_API_VERSION >= 1009
469 char* tmpPtr
; int tmpSize
;
470 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
471 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
474 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
476 _arg0
= new wxString(tmpPtr
, tmpSize
);
478 if (!PyString_Check(_obj0
)) {
479 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
482 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
486 wxPy_BEGIN_ALLOW_THREADS
;
487 _result
= (bool )wxShell(*_arg0
);
489 wxPy_END_ALLOW_THREADS
;
490 } _resultobj
= Py_BuildValue("i",_result
);
498 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
499 PyObject
* _resultobj
;
500 char *_kwnames
[] = { NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
506 wxPy_BEGIN_ALLOW_THREADS
;
509 wxPy_END_ALLOW_THREADS
;
510 } Py_INCREF(Py_None
);
511 _resultobj
= Py_None
;
515 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
516 PyObject
* _resultobj
;
522 char *_kwnames
[] = { NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
534 wxPy_BEGIN_ALLOW_THREADS
;
535 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
537 wxPy_END_ALLOW_THREADS
;
538 } _resultobj
= Py_BuildValue("i",_result
);
541 o
= PyInt_FromLong((long) (*_arg0
));
542 _resultobj
= t_output_helper(_resultobj
, o
);
546 o
= PyInt_FromLong((long) (*_arg1
));
547 _resultobj
= t_output_helper(_resultobj
, o
);
552 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
553 PyObject
* _resultobj
;
555 char *_kwnames
[] = { NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
561 wxPy_BEGIN_ALLOW_THREADS
;
562 _result
= new wxString (wxGetOsDescription());
564 wxPy_END_ALLOW_THREADS
;
566 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
574 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
575 PyObject
* _resultobj
;
577 char *_kwnames
[] = { "secs", NULL
};
580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
583 wxPy_BEGIN_ALLOW_THREADS
;
586 wxPy_END_ALLOW_THREADS
;
587 } Py_INCREF(Py_None
);
588 _resultobj
= Py_None
;
592 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
593 PyObject
* _resultobj
;
595 char *_kwnames
[] = { "milliseconds", NULL
};
598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
601 wxPy_BEGIN_ALLOW_THREADS
;
604 wxPy_END_ALLOW_THREADS
;
605 } Py_INCREF(Py_None
);
606 _resultobj
= Py_None
;
610 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
613 char *_kwnames
[] = { NULL
};
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
619 wxPy_BEGIN_ALLOW_THREADS
;
620 _result
= (bool )wxYield();
622 wxPy_END_ALLOW_THREADS
;
623 } _resultobj
= Py_BuildValue("i",_result
);
627 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
630 char *_kwnames
[] = { NULL
};
633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
636 wxPy_BEGIN_ALLOW_THREADS
;
637 _result
= (bool )wxYieldIfNeeded();
639 wxPy_END_ALLOW_THREADS
;
640 } _resultobj
= Py_BuildValue("i",_result
);
644 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
645 PyObject
* _resultobj
;
648 char *_kwnames
[] = { "enable", NULL
};
651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
653 _arg0
= (bool ) tempbool0
;
655 wxPy_BEGIN_ALLOW_THREADS
;
656 wxEnableTopLevelWindows(_arg0
);
658 wxPy_END_ALLOW_THREADS
;
659 } Py_INCREF(Py_None
);
660 _resultobj
= Py_None
;
664 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
669 char * _arg2
= (char *) NULL
;
670 char *_kwnames
[] = { "section","entry","file", NULL
};
673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
676 wxPy_BEGIN_ALLOW_THREADS
;
677 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
679 wxPy_END_ALLOW_THREADS
;
680 } _resultobj
= Py_BuildValue("s", _result
);
684 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
685 PyObject
* _resultobj
;
688 PyObject
* _obj0
= 0;
689 char *_kwnames
[] = { "in", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
695 #if PYTHON_API_VERSION >= 1009
696 char* tmpPtr
; int tmpSize
;
697 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
698 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
701 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
703 _arg0
= new wxString(tmpPtr
, tmpSize
);
705 if (!PyString_Check(_obj0
)) {
706 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
709 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
713 wxPy_BEGIN_ALLOW_THREADS
;
714 _result
= new wxString (wxStripMenuCodes(*_arg0
));
716 wxPy_END_ALLOW_THREADS
;
718 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
730 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 PyObject
* _resultobj
;
733 char *_kwnames
[] = { NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
739 wxPy_BEGIN_ALLOW_THREADS
;
740 _result
= new wxString (wxGetEmailAddress());
742 wxPy_END_ALLOW_THREADS
;
744 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
752 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
753 PyObject
* _resultobj
;
755 char *_kwnames
[] = { NULL
};
758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
761 wxPy_BEGIN_ALLOW_THREADS
;
762 _result
= new wxString (wxGetHostName());
764 wxPy_END_ALLOW_THREADS
;
766 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
774 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
777 char *_kwnames
[] = { NULL
};
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
783 wxPy_BEGIN_ALLOW_THREADS
;
784 _result
= new wxString (wxGetFullHostName());
786 wxPy_END_ALLOW_THREADS
;
788 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
796 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
797 PyObject
* _resultobj
;
799 char *_kwnames
[] = { NULL
};
802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
805 wxPy_BEGIN_ALLOW_THREADS
;
806 _result
= new wxString (wxGetUserId());
808 wxPy_END_ALLOW_THREADS
;
810 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
818 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
819 PyObject
* _resultobj
;
821 char *_kwnames
[] = { NULL
};
824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
827 wxPy_BEGIN_ALLOW_THREADS
;
828 _result
= new wxString (wxGetUserName());
830 wxPy_END_ALLOW_THREADS
;
832 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
840 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
841 PyObject
* _resultobj
;
843 char *_kwnames
[] = { NULL
};
846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
849 wxPy_BEGIN_ALLOW_THREADS
;
850 _result
= new wxString (wxGetHomeDir());
852 wxPy_END_ALLOW_THREADS
;
854 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
862 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
864 wxAcceleratorEntry
* _result
;
866 PyObject
* _obj0
= 0;
867 char *_kwnames
[] = { "label", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
874 #if PYTHON_API_VERSION >= 1009
875 char* tmpPtr
; int tmpSize
;
876 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
877 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
880 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
882 _arg0
= new wxString(tmpPtr
, tmpSize
);
884 if (!PyString_Check(_obj0
)) {
885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
888 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
892 wxPy_BEGIN_ALLOW_THREADS
;
893 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
895 wxPy_END_ALLOW_THREADS
;
897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
898 _resultobj
= Py_BuildValue("s",_ptemp
);
901 _resultobj
= Py_None
;
910 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
912 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
916 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
920 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
921 pyobj
= PyString_FromString(ptemp
);
925 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
926 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
927 PyObject
* _resultobj
;
932 PyObject
* _obj0
= 0;
933 char *_kwnames
[] = { "self","x", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
940 if (! wxSize_helper(_obj0
, &_arg0
))
944 wxPy_BEGIN_ALLOW_THREADS
;
945 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
947 wxPy_END_ALLOW_THREADS
;
948 } _resultobj
= Py_BuildValue("l",_result
);
952 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
953 static PyObject
*_wrap_wxSize_x_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_x_get",_kwnames
,&_obj0
))
966 if (! wxSize_helper(_obj0
, &_arg0
))
970 wxPy_BEGIN_ALLOW_THREADS
;
971 _result
= (long )wxSize_x_get(_arg0
);
973 wxPy_END_ALLOW_THREADS
;
974 } _resultobj
= Py_BuildValue("l",_result
);
978 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
979 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 PyObject
* _resultobj
;
985 PyObject
* _obj0
= 0;
986 char *_kwnames
[] = { "self","y", NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
993 if (! wxSize_helper(_obj0
, &_arg0
))
997 wxPy_BEGIN_ALLOW_THREADS
;
998 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1000 wxPy_END_ALLOW_THREADS
;
1001 } _resultobj
= Py_BuildValue("l",_result
);
1005 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1006 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1011 PyObject
* _obj0
= 0;
1012 char *_kwnames
[] = { "self", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1019 if (! wxSize_helper(_obj0
, &_arg0
))
1023 wxPy_BEGIN_ALLOW_THREADS
;
1024 _result
= (long )wxSize_y_get(_arg0
);
1026 wxPy_END_ALLOW_THREADS
;
1027 } _resultobj
= Py_BuildValue("l",_result
);
1031 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1032 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1035 long _arg0
= (long ) 0;
1036 long _arg1
= (long ) 0;
1037 char *_kwnames
[] = { "w","h", NULL
};
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1044 wxPy_BEGIN_ALLOW_THREADS
;
1045 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1047 wxPy_END_ALLOW_THREADS
;
1049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1050 _resultobj
= Py_BuildValue("s",_ptemp
);
1053 _resultobj
= Py_None
;
1058 #define delete_wxSize(_swigobj) (delete _swigobj)
1059 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1063 PyObject
* _obj0
= 0;
1064 char *_kwnames
[] = { "self", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1071 if (! wxSize_helper(_obj0
, &_arg0
))
1075 wxPy_BEGIN_ALLOW_THREADS
;
1076 delete_wxSize(_arg0
);
1078 wxPy_END_ALLOW_THREADS
;
1079 } Py_INCREF(Py_None
);
1080 _resultobj
= Py_None
;
1084 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1085 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1091 PyObject
* _obj0
= 0;
1092 char *_kwnames
[] = { "self","w","h", NULL
};
1095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1099 if (! wxSize_helper(_obj0
, &_arg0
))
1103 wxPy_BEGIN_ALLOW_THREADS
;
1104 wxSize_Set(_arg0
,_arg1
,_arg2
);
1106 wxPy_END_ALLOW_THREADS
;
1107 } Py_INCREF(Py_None
);
1108 _resultobj
= Py_None
;
1112 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1113 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1114 PyObject
* _resultobj
;
1118 PyObject
* _obj0
= 0;
1119 char *_kwnames
[] = { "self", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1126 if (! wxSize_helper(_obj0
, &_arg0
))
1130 wxPy_BEGIN_ALLOW_THREADS
;
1131 _result
= (long )wxSize_GetX(_arg0
);
1133 wxPy_END_ALLOW_THREADS
;
1134 } _resultobj
= Py_BuildValue("l",_result
);
1138 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1139 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1140 PyObject
* _resultobj
;
1144 PyObject
* _obj0
= 0;
1145 char *_kwnames
[] = { "self", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1152 if (! wxSize_helper(_obj0
, &_arg0
))
1156 wxPy_BEGIN_ALLOW_THREADS
;
1157 _result
= (long )wxSize_GetY(_arg0
);
1159 wxPy_END_ALLOW_THREADS
;
1160 } _resultobj
= Py_BuildValue("l",_result
);
1164 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1165 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
* _resultobj
;
1170 PyObject
* _obj0
= 0;
1171 char *_kwnames
[] = { "self", NULL
};
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1178 if (! wxSize_helper(_obj0
, &_arg0
))
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 _result
= (long )wxSize_GetWidth(_arg0
);
1185 wxPy_END_ALLOW_THREADS
;
1186 } _resultobj
= Py_BuildValue("l",_result
);
1190 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1191 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1196 PyObject
* _obj0
= 0;
1197 char *_kwnames
[] = { "self", NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1204 if (! wxSize_helper(_obj0
, &_arg0
))
1208 wxPy_BEGIN_ALLOW_THREADS
;
1209 _result
= (long )wxSize_GetHeight(_arg0
);
1211 wxPy_END_ALLOW_THREADS
;
1212 } _resultobj
= Py_BuildValue("l",_result
);
1216 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1217 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1222 PyObject
* _obj0
= 0;
1223 char *_kwnames
[] = { "self","w", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1230 if (! wxSize_helper(_obj0
, &_arg0
))
1234 wxPy_BEGIN_ALLOW_THREADS
;
1235 wxSize_SetWidth(_arg0
,_arg1
);
1237 wxPy_END_ALLOW_THREADS
;
1238 } Py_INCREF(Py_None
);
1239 _resultobj
= Py_None
;
1243 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1244 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1245 PyObject
* _resultobj
;
1249 PyObject
* _obj0
= 0;
1250 char *_kwnames
[] = { "self","h", NULL
};
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1257 if (! wxSize_helper(_obj0
, &_arg0
))
1261 wxPy_BEGIN_ALLOW_THREADS
;
1262 wxSize_SetHeight(_arg0
,_arg1
);
1264 wxPy_END_ALLOW_THREADS
;
1265 } Py_INCREF(Py_None
);
1266 _resultobj
= Py_None
;
1270 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1271 PyObject
* tup
= PyTuple_New(2);
1272 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1273 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1276 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1281 PyObject
* _obj0
= 0;
1282 char *_kwnames
[] = { "self", NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1289 if (! wxSize_helper(_obj0
, &_arg0
))
1293 wxPy_BEGIN_ALLOW_THREADS
;
1294 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1296 wxPy_END_ALLOW_THREADS
;
1298 _resultobj
= _result
;
1303 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1304 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1307 wxRealPoint
* _arg0
;
1310 PyObject
* _obj0
= 0;
1311 char *_kwnames
[] = { "self","x", NULL
};
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1318 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1322 wxPy_BEGIN_ALLOW_THREADS
;
1323 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1325 wxPy_END_ALLOW_THREADS
;
1326 } _resultobj
= Py_BuildValue("d",_result
);
1330 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1331 static PyObject
*_wrap_wxRealPoint_x_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_x_get",_kwnames
,&_obj0
))
1344 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1348 wxPy_BEGIN_ALLOW_THREADS
;
1349 _result
= (double )wxRealPoint_x_get(_arg0
);
1351 wxPy_END_ALLOW_THREADS
;
1352 } _resultobj
= Py_BuildValue("d",_result
);
1356 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1357 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1360 wxRealPoint
* _arg0
;
1363 PyObject
* _obj0
= 0;
1364 char *_kwnames
[] = { "self","y", NULL
};
1367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1371 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1375 wxPy_BEGIN_ALLOW_THREADS
;
1376 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1378 wxPy_END_ALLOW_THREADS
;
1379 } _resultobj
= Py_BuildValue("d",_result
);
1383 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1384 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
* _resultobj
;
1387 wxRealPoint
* _arg0
;
1389 PyObject
* _obj0
= 0;
1390 char *_kwnames
[] = { "self", NULL
};
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1397 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1401 wxPy_BEGIN_ALLOW_THREADS
;
1402 _result
= (double )wxRealPoint_y_get(_arg0
);
1404 wxPy_END_ALLOW_THREADS
;
1405 } _resultobj
= Py_BuildValue("d",_result
);
1409 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1410 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1412 wxRealPoint
* _result
;
1413 double _arg0
= (double ) 0.0;
1414 double _arg1
= (double ) 0.0;
1415 char *_kwnames
[] = { "x","y", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1422 wxPy_BEGIN_ALLOW_THREADS
;
1423 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1425 wxPy_END_ALLOW_THREADS
;
1427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1428 _resultobj
= Py_BuildValue("s",_ptemp
);
1431 _resultobj
= Py_None
;
1436 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1437 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1439 wxRealPoint
* _arg0
;
1441 PyObject
* _obj0
= 0;
1442 char *_kwnames
[] = { "self", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1449 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1453 wxPy_BEGIN_ALLOW_THREADS
;
1454 delete_wxRealPoint(_arg0
);
1456 wxPy_END_ALLOW_THREADS
;
1457 } Py_INCREF(Py_None
);
1458 _resultobj
= Py_None
;
1462 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1466 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1468 wxRealPoint
* _arg0
;
1472 PyObject
* _obj0
= 0;
1473 char *_kwnames
[] = { "self","x","y", NULL
};
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1480 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1484 wxPy_BEGIN_ALLOW_THREADS
;
1485 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1487 wxPy_END_ALLOW_THREADS
;
1488 } Py_INCREF(Py_None
);
1489 _resultobj
= Py_None
;
1493 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1494 PyObject
* tup
= PyTuple_New(2);
1495 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1496 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1499 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
* _resultobj
;
1502 wxRealPoint
* _arg0
;
1504 PyObject
* _obj0
= 0;
1505 char *_kwnames
[] = { "self", NULL
};
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1512 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1516 wxPy_BEGIN_ALLOW_THREADS
;
1517 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1519 wxPy_END_ALLOW_THREADS
;
1521 _resultobj
= _result
;
1526 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1527 if (! p
) return *self
;
1530 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1532 wxRealPoint
* _result
;
1533 wxRealPoint
* _arg0
;
1534 wxRealPoint
* _arg1
;
1536 PyObject
* _obj0
= 0;
1538 PyObject
* _obj1
= 0;
1539 char *_kwnames
[] = { "self","p", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1547 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1552 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1559 wxPy_END_ALLOW_THREADS
;
1560 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1561 _resultobj
= Py_BuildValue("s",_ptemp
);
1565 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1566 if (! p
) return *self
;
1569 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1571 wxRealPoint
* _result
;
1572 wxRealPoint
* _arg0
;
1573 wxRealPoint
* _arg1
;
1575 PyObject
* _obj0
= 0;
1577 PyObject
* _obj1
= 0;
1578 char *_kwnames
[] = { "self","p", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1586 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1591 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1595 wxPy_BEGIN_ALLOW_THREADS
;
1596 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1598 wxPy_END_ALLOW_THREADS
;
1599 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1600 _resultobj
= Py_BuildValue("s",_ptemp
);
1604 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1608 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1611 wxRealPoint
* _arg0
;
1612 wxRealPoint
* _arg1
;
1614 PyObject
* _obj0
= 0;
1616 PyObject
* _obj1
= 0;
1617 char *_kwnames
[] = { "self","p", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1624 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1629 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1636 wxPy_END_ALLOW_THREADS
;
1637 } _resultobj
= Py_BuildValue("i",_result
);
1641 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1642 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1648 PyObject
* _obj0
= 0;
1649 char *_kwnames
[] = { "self","x", NULL
};
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1656 if (! wxPoint_helper(_obj0
, &_arg0
))
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1663 wxPy_END_ALLOW_THREADS
;
1664 } _resultobj
= Py_BuildValue("l",_result
);
1668 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1669 static PyObject
*_wrap_wxPoint_x_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_x_get",_kwnames
,&_obj0
))
1682 if (! wxPoint_helper(_obj0
, &_arg0
))
1686 wxPy_BEGIN_ALLOW_THREADS
;
1687 _result
= (long )wxPoint_x_get(_arg0
);
1689 wxPy_END_ALLOW_THREADS
;
1690 } _resultobj
= Py_BuildValue("l",_result
);
1694 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1695 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1701 PyObject
* _obj0
= 0;
1702 char *_kwnames
[] = { "self","y", NULL
};
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1709 if (! wxPoint_helper(_obj0
, &_arg0
))
1713 wxPy_BEGIN_ALLOW_THREADS
;
1714 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1716 wxPy_END_ALLOW_THREADS
;
1717 } _resultobj
= Py_BuildValue("l",_result
);
1721 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1722 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
* _resultobj
;
1727 PyObject
* _obj0
= 0;
1728 char *_kwnames
[] = { "self", NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1735 if (! wxPoint_helper(_obj0
, &_arg0
))
1739 wxPy_BEGIN_ALLOW_THREADS
;
1740 _result
= (long )wxPoint_y_get(_arg0
);
1742 wxPy_END_ALLOW_THREADS
;
1743 } _resultobj
= Py_BuildValue("l",_result
);
1747 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1748 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1751 long _arg0
= (long ) 0;
1752 long _arg1
= (long ) 0;
1753 char *_kwnames
[] = { "x","y", NULL
};
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1760 wxPy_BEGIN_ALLOW_THREADS
;
1761 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1763 wxPy_END_ALLOW_THREADS
;
1765 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1766 _resultobj
= Py_BuildValue("s",_ptemp
);
1769 _resultobj
= Py_None
;
1774 #define delete_wxPoint(_swigobj) (delete _swigobj)
1775 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1779 PyObject
* _obj0
= 0;
1780 char *_kwnames
[] = { "self", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1787 if (! wxPoint_helper(_obj0
, &_arg0
))
1791 wxPy_BEGIN_ALLOW_THREADS
;
1792 delete_wxPoint(_arg0
);
1794 wxPy_END_ALLOW_THREADS
;
1795 } Py_INCREF(Py_None
);
1796 _resultobj
= Py_None
;
1800 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1804 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1810 PyObject
* _obj0
= 0;
1811 char *_kwnames
[] = { "self","x","y", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1818 if (! wxPoint_helper(_obj0
, &_arg0
))
1822 wxPy_BEGIN_ALLOW_THREADS
;
1823 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1825 wxPy_END_ALLOW_THREADS
;
1826 } Py_INCREF(Py_None
);
1827 _resultobj
= Py_None
;
1831 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1832 PyObject
* tup
= PyTuple_New(2);
1833 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1834 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1837 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1842 PyObject
* _obj0
= 0;
1843 char *_kwnames
[] = { "self", NULL
};
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1850 if (! wxPoint_helper(_obj0
, &_arg0
))
1854 wxPy_BEGIN_ALLOW_THREADS
;
1855 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1857 wxPy_END_ALLOW_THREADS
;
1859 _resultobj
= _result
;
1864 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1865 if (! p
) return *self
;
1868 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1874 PyObject
* _obj0
= 0;
1876 PyObject
* _obj1
= 0;
1877 char *_kwnames
[] = { "self","p", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1885 if (! wxPoint_helper(_obj0
, &_arg0
))
1890 if (! wxPoint_helper(_obj1
, &_arg1
))
1894 wxPy_BEGIN_ALLOW_THREADS
;
1895 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
1897 wxPy_END_ALLOW_THREADS
;
1898 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1899 _resultobj
= Py_BuildValue("s",_ptemp
);
1903 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
1904 if (! p
) return *self
;
1907 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1913 PyObject
* _obj0
= 0;
1915 PyObject
* _obj1
= 0;
1916 char *_kwnames
[] = { "self","p", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1924 if (! wxPoint_helper(_obj0
, &_arg0
))
1929 if (! wxPoint_helper(_obj1
, &_arg1
))
1933 wxPy_BEGIN_ALLOW_THREADS
;
1934 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
1936 wxPy_END_ALLOW_THREADS
;
1937 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1938 _resultobj
= Py_BuildValue("s",_ptemp
);
1942 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
1946 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1952 PyObject
* _obj0
= 0;
1954 PyObject
* _obj1
= 0;
1955 char *_kwnames
[] = { "self","p", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1962 if (! wxPoint_helper(_obj0
, &_arg0
))
1967 if (! wxPoint_helper(_obj1
, &_arg1
))
1971 wxPy_BEGIN_ALLOW_THREADS
;
1972 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
1974 wxPy_END_ALLOW_THREADS
;
1975 } _resultobj
= Py_BuildValue("i",_result
);
1979 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1980 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1983 int _arg0
= (int ) 0;
1984 int _arg1
= (int ) 0;
1985 int _arg2
= (int ) 0;
1986 int _arg3
= (int ) 0;
1987 char *_kwnames
[] = { "x","y","w","h", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1994 wxPy_BEGIN_ALLOW_THREADS
;
1995 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1997 wxPy_END_ALLOW_THREADS
;
1999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2000 _resultobj
= Py_BuildValue("s",_ptemp
);
2003 _resultobj
= Py_None
;
2008 #define delete_wxRect(_swigobj) (delete _swigobj)
2009 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
* _resultobj
;
2013 PyObject
* _obj0
= 0;
2014 char *_kwnames
[] = { "self", NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2021 if (! wxRect_helper(_obj0
, &_arg0
))
2025 wxPy_BEGIN_ALLOW_THREADS
;
2026 delete_wxRect(_arg0
);
2028 wxPy_END_ALLOW_THREADS
;
2029 } Py_INCREF(Py_None
);
2030 _resultobj
= Py_None
;
2034 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2035 static PyObject
*_wrap_wxRect_GetX(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_GetX",_kwnames
,&_obj0
))
2048 if (! wxRect_helper(_obj0
, &_arg0
))
2052 wxPy_BEGIN_ALLOW_THREADS
;
2053 _result
= (int )wxRect_GetX(_arg0
);
2055 wxPy_END_ALLOW_THREADS
;
2056 } _resultobj
= Py_BuildValue("i",_result
);
2060 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2061 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2066 PyObject
* _obj0
= 0;
2067 char *_kwnames
[] = { "self","X", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2074 if (! wxRect_helper(_obj0
, &_arg0
))
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 wxRect_SetX(_arg0
,_arg1
);
2081 wxPy_END_ALLOW_THREADS
;
2082 } Py_INCREF(Py_None
);
2083 _resultobj
= Py_None
;
2087 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2088 static PyObject
*_wrap_wxRect_GetY(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_GetY",_kwnames
,&_obj0
))
2101 if (! wxRect_helper(_obj0
, &_arg0
))
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 _result
= (int )wxRect_GetY(_arg0
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } _resultobj
= Py_BuildValue("i",_result
);
2113 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2114 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2119 PyObject
* _obj0
= 0;
2120 char *_kwnames
[] = { "self","Y", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2127 if (! wxRect_helper(_obj0
, &_arg0
))
2131 wxPy_BEGIN_ALLOW_THREADS
;
2132 wxRect_SetY(_arg0
,_arg1
);
2134 wxPy_END_ALLOW_THREADS
;
2135 } Py_INCREF(Py_None
);
2136 _resultobj
= Py_None
;
2140 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2141 static PyObject
*_wrap_wxRect_GetWidth(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_GetWidth",_kwnames
,&_obj0
))
2154 if (! wxRect_helper(_obj0
, &_arg0
))
2158 wxPy_BEGIN_ALLOW_THREADS
;
2159 _result
= (int )wxRect_GetWidth(_arg0
);
2161 wxPy_END_ALLOW_THREADS
;
2162 } _resultobj
= Py_BuildValue("i",_result
);
2166 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2167 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2172 PyObject
* _obj0
= 0;
2173 char *_kwnames
[] = { "self","w", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2180 if (! wxRect_helper(_obj0
, &_arg0
))
2184 wxPy_BEGIN_ALLOW_THREADS
;
2185 wxRect_SetWidth(_arg0
,_arg1
);
2187 wxPy_END_ALLOW_THREADS
;
2188 } Py_INCREF(Py_None
);
2189 _resultobj
= Py_None
;
2193 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2194 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2199 PyObject
* _obj0
= 0;
2200 char *_kwnames
[] = { "self", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2207 if (! wxRect_helper(_obj0
, &_arg0
))
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 _result
= (int )wxRect_GetHeight(_arg0
);
2214 wxPy_END_ALLOW_THREADS
;
2215 } _resultobj
= Py_BuildValue("i",_result
);
2219 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2220 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2225 PyObject
* _obj0
= 0;
2226 char *_kwnames
[] = { "self","h", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2233 if (! wxRect_helper(_obj0
, &_arg0
))
2237 wxPy_BEGIN_ALLOW_THREADS
;
2238 wxRect_SetHeight(_arg0
,_arg1
);
2240 wxPy_END_ALLOW_THREADS
;
2241 } Py_INCREF(Py_None
);
2242 _resultobj
= Py_None
;
2246 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2247 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2252 PyObject
* _obj0
= 0;
2253 char *_kwnames
[] = { "self", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2261 if (! wxRect_helper(_obj0
, &_arg0
))
2265 wxPy_BEGIN_ALLOW_THREADS
;
2266 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2268 wxPy_END_ALLOW_THREADS
;
2269 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2270 _resultobj
= Py_BuildValue("s",_ptemp
);
2274 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2275 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
* _resultobj
;
2280 PyObject
* _obj0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2289 if (! wxRect_helper(_obj0
, &_arg0
))
2293 wxPy_BEGIN_ALLOW_THREADS
;
2294 _result
= new wxSize (wxRect_GetSize(_arg0
));
2296 wxPy_END_ALLOW_THREADS
;
2297 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2298 _resultobj
= Py_BuildValue("s",_ptemp
);
2302 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2303 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
* _resultobj
;
2308 PyObject
* _obj0
= 0;
2309 char *_kwnames
[] = { "self", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2316 if (! wxRect_helper(_obj0
, &_arg0
))
2320 wxPy_BEGIN_ALLOW_THREADS
;
2321 _result
= (int )wxRect_GetLeft(_arg0
);
2323 wxPy_END_ALLOW_THREADS
;
2324 } _resultobj
= Py_BuildValue("i",_result
);
2328 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2329 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2330 PyObject
* _resultobj
;
2334 PyObject
* _obj0
= 0;
2335 char *_kwnames
[] = { "self", NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2342 if (! wxRect_helper(_obj0
, &_arg0
))
2346 wxPy_BEGIN_ALLOW_THREADS
;
2347 _result
= (int )wxRect_GetTop(_arg0
);
2349 wxPy_END_ALLOW_THREADS
;
2350 } _resultobj
= Py_BuildValue("i",_result
);
2354 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2355 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
* _resultobj
;
2360 PyObject
* _obj0
= 0;
2361 char *_kwnames
[] = { "self", NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2368 if (! wxRect_helper(_obj0
, &_arg0
))
2372 wxPy_BEGIN_ALLOW_THREADS
;
2373 _result
= (int )wxRect_GetBottom(_arg0
);
2375 wxPy_END_ALLOW_THREADS
;
2376 } _resultobj
= Py_BuildValue("i",_result
);
2380 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2381 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2386 PyObject
* _obj0
= 0;
2387 char *_kwnames
[] = { "self", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2394 if (! wxRect_helper(_obj0
, &_arg0
))
2398 wxPy_BEGIN_ALLOW_THREADS
;
2399 _result
= (int )wxRect_GetRight(_arg0
);
2401 wxPy_END_ALLOW_THREADS
;
2402 } _resultobj
= Py_BuildValue("i",_result
);
2406 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2407 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
* _resultobj
;
2412 PyObject
* _obj0
= 0;
2413 char *_kwnames
[] = { "self","left", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2420 if (! wxRect_helper(_obj0
, &_arg0
))
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 wxRect_SetLeft(_arg0
,_arg1
);
2427 wxPy_END_ALLOW_THREADS
;
2428 } Py_INCREF(Py_None
);
2429 _resultobj
= Py_None
;
2433 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2434 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2439 PyObject
* _obj0
= 0;
2440 char *_kwnames
[] = { "self","right", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2447 if (! wxRect_helper(_obj0
, &_arg0
))
2451 wxPy_BEGIN_ALLOW_THREADS
;
2452 wxRect_SetRight(_arg0
,_arg1
);
2454 wxPy_END_ALLOW_THREADS
;
2455 } Py_INCREF(Py_None
);
2456 _resultobj
= Py_None
;
2460 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2461 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2466 PyObject
* _obj0
= 0;
2467 char *_kwnames
[] = { "self","top", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2474 if (! wxRect_helper(_obj0
, &_arg0
))
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 wxRect_SetTop(_arg0
,_arg1
);
2481 wxPy_END_ALLOW_THREADS
;
2482 } Py_INCREF(Py_None
);
2483 _resultobj
= Py_None
;
2487 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2488 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2489 PyObject
* _resultobj
;
2493 PyObject
* _obj0
= 0;
2494 char *_kwnames
[] = { "self","bottom", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2501 if (! wxRect_helper(_obj0
, &_arg0
))
2505 wxPy_BEGIN_ALLOW_THREADS
;
2506 wxRect_SetBottom(_arg0
,_arg1
);
2508 wxPy_END_ALLOW_THREADS
;
2509 } Py_INCREF(Py_None
);
2510 _resultobj
= Py_None
;
2514 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2515 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
* _resultobj
;
2521 PyObject
* _obj0
= 0;
2522 char *_kwnames
[] = { "self","dx","dy", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2529 if (! wxRect_helper(_obj0
, &_arg0
))
2533 wxPy_BEGIN_ALLOW_THREADS
;
2534 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2536 wxPy_END_ALLOW_THREADS
;
2537 } Py_INCREF(Py_None
);
2538 _resultobj
= Py_None
;
2542 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2543 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2550 PyObject
* _obj0
= 0;
2551 char *_kwnames
[] = { "self","cx","cy", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2558 if (! wxRect_helper(_obj0
, &_arg0
))
2562 wxPy_BEGIN_ALLOW_THREADS
;
2563 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2565 wxPy_END_ALLOW_THREADS
;
2566 } _resultobj
= Py_BuildValue("i",_result
);
2570 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2571 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2577 PyObject
* _obj0
= 0;
2578 char *_kwnames
[] = { "self","x", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2585 if (! wxRect_helper(_obj0
, &_arg0
))
2589 wxPy_BEGIN_ALLOW_THREADS
;
2590 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2592 wxPy_END_ALLOW_THREADS
;
2593 } _resultobj
= Py_BuildValue("i",_result
);
2597 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2598 static PyObject
*_wrap_wxRect_x_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_x_get",_kwnames
,&_obj0
))
2611 if (! wxRect_helper(_obj0
, &_arg0
))
2615 wxPy_BEGIN_ALLOW_THREADS
;
2616 _result
= (int )wxRect_x_get(_arg0
);
2618 wxPy_END_ALLOW_THREADS
;
2619 } _resultobj
= Py_BuildValue("i",_result
);
2623 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2624 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2630 PyObject
* _obj0
= 0;
2631 char *_kwnames
[] = { "self","y", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2638 if (! wxRect_helper(_obj0
, &_arg0
))
2642 wxPy_BEGIN_ALLOW_THREADS
;
2643 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2645 wxPy_END_ALLOW_THREADS
;
2646 } _resultobj
= Py_BuildValue("i",_result
);
2650 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2651 static PyObject
*_wrap_wxRect_y_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_y_get",_kwnames
,&_obj0
))
2664 if (! wxRect_helper(_obj0
, &_arg0
))
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 _result
= (int )wxRect_y_get(_arg0
);
2671 wxPy_END_ALLOW_THREADS
;
2672 } _resultobj
= Py_BuildValue("i",_result
);
2676 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2677 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
* _resultobj
;
2683 PyObject
* _obj0
= 0;
2684 char *_kwnames
[] = { "self","width", NULL
};
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2691 if (! wxRect_helper(_obj0
, &_arg0
))
2695 wxPy_BEGIN_ALLOW_THREADS
;
2696 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2698 wxPy_END_ALLOW_THREADS
;
2699 } _resultobj
= Py_BuildValue("i",_result
);
2703 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2704 static PyObject
*_wrap_wxRect_width_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_width_get",_kwnames
,&_obj0
))
2717 if (! wxRect_helper(_obj0
, &_arg0
))
2721 wxPy_BEGIN_ALLOW_THREADS
;
2722 _result
= (int )wxRect_width_get(_arg0
);
2724 wxPy_END_ALLOW_THREADS
;
2725 } _resultobj
= Py_BuildValue("i",_result
);
2729 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2730 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2731 PyObject
* _resultobj
;
2736 PyObject
* _obj0
= 0;
2737 char *_kwnames
[] = { "self","height", NULL
};
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2744 if (! wxRect_helper(_obj0
, &_arg0
))
2748 wxPy_BEGIN_ALLOW_THREADS
;
2749 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2751 wxPy_END_ALLOW_THREADS
;
2752 } _resultobj
= Py_BuildValue("i",_result
);
2756 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2757 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2762 PyObject
* _obj0
= 0;
2763 char *_kwnames
[] = { "self", NULL
};
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2770 if (! wxRect_helper(_obj0
, &_arg0
))
2774 wxPy_BEGIN_ALLOW_THREADS
;
2775 _result
= (int )wxRect_height_get(_arg0
);
2777 wxPy_END_ALLOW_THREADS
;
2778 } _resultobj
= Py_BuildValue("i",_result
);
2782 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2783 PyObject
* tup
= PyTuple_New(4);
2784 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2785 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2786 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2787 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2790 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
* _resultobj
;
2795 PyObject
* _obj0
= 0;
2796 char *_kwnames
[] = { "self", NULL
};
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2803 if (! wxRect_helper(_obj0
, &_arg0
))
2807 wxPy_BEGIN_ALLOW_THREADS
;
2808 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2810 wxPy_END_ALLOW_THREADS
;
2812 _resultobj
= _result
;
2817 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2818 if (! rect
) return *self
;
2819 return *self
+ *rect
;
2821 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
* _resultobj
;
2827 PyObject
* _obj0
= 0;
2829 PyObject
* _obj1
= 0;
2830 char *_kwnames
[] = { "self","rect", NULL
};
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2838 if (! wxRect_helper(_obj0
, &_arg0
))
2843 if (! wxRect_helper(_obj1
, &_arg1
))
2847 wxPy_BEGIN_ALLOW_THREADS
;
2848 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2850 wxPy_END_ALLOW_THREADS
;
2851 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2852 _resultobj
= Py_BuildValue("s",_ptemp
);
2856 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
2857 if (! rect
) return 0;
2858 return *self
== *rect
;
2860 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
* _resultobj
;
2866 PyObject
* _obj0
= 0;
2868 PyObject
* _obj1
= 0;
2869 char *_kwnames
[] = { "self","rect", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
2876 if (! wxRect_helper(_obj0
, &_arg0
))
2881 if (! wxRect_helper(_obj1
, &_arg1
))
2885 wxPy_BEGIN_ALLOW_THREADS
;
2886 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
2888 wxPy_END_ALLOW_THREADS
;
2889 } _resultobj
= Py_BuildValue("i",_result
);
2893 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2894 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
* _resultobj
;
2896 wxIndividualLayoutConstraint
* _arg0
;
2898 int _arg2
= (int ) 0;
2899 PyObject
* _argo0
= 0;
2900 PyObject
* _argo1
= 0;
2901 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2921 wxPy_BEGIN_ALLOW_THREADS
;
2922 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2924 wxPy_END_ALLOW_THREADS
;
2925 } Py_INCREF(Py_None
);
2926 _resultobj
= Py_None
;
2930 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2931 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2933 wxIndividualLayoutConstraint
* _arg0
;
2935 PyObject
* _argo0
= 0;
2936 char *_kwnames
[] = { "self","value", NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2949 wxPy_BEGIN_ALLOW_THREADS
;
2950 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2952 wxPy_END_ALLOW_THREADS
;
2953 } Py_INCREF(Py_None
);
2954 _resultobj
= Py_None
;
2958 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2959 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
* _resultobj
;
2961 wxIndividualLayoutConstraint
* _arg0
;
2962 PyObject
* _argo0
= 0;
2963 char *_kwnames
[] = { "self", NULL
};
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2976 wxPy_BEGIN_ALLOW_THREADS
;
2977 wxIndividualLayoutConstraint_AsIs(_arg0
);
2979 wxPy_END_ALLOW_THREADS
;
2980 } Py_INCREF(Py_None
);
2981 _resultobj
= Py_None
;
2985 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2986 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2988 wxIndividualLayoutConstraint
* _arg0
;
2990 int _arg2
= (int ) 0;
2991 PyObject
* _argo0
= 0;
2992 PyObject
* _argo1
= 0;
2993 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3006 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3007 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3013 wxPy_BEGIN_ALLOW_THREADS
;
3014 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3016 wxPy_END_ALLOW_THREADS
;
3017 } Py_INCREF(Py_None
);
3018 _resultobj
= Py_None
;
3022 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3023 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3024 PyObject
* _resultobj
;
3025 wxIndividualLayoutConstraint
* _arg0
;
3026 PyObject
* _argo0
= 0;
3027 char *_kwnames
[] = { "self", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3040 wxPy_BEGIN_ALLOW_THREADS
;
3041 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3043 wxPy_END_ALLOW_THREADS
;
3044 } Py_INCREF(Py_None
);
3045 _resultobj
= Py_None
;
3049 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3050 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3052 wxIndividualLayoutConstraint
* _arg0
;
3054 int _arg2
= (int ) 0;
3055 PyObject
* _argo0
= 0;
3056 PyObject
* _argo1
= 0;
3057 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3077 wxPy_BEGIN_ALLOW_THREADS
;
3078 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3080 wxPy_END_ALLOW_THREADS
;
3081 } Py_INCREF(Py_None
);
3082 _resultobj
= Py_None
;
3086 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3087 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3089 wxIndividualLayoutConstraint
* _arg0
;
3093 PyObject
* _argo0
= 0;
3094 PyObject
* _argo1
= 0;
3095 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3108 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3115 wxPy_BEGIN_ALLOW_THREADS
;
3116 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3118 wxPy_END_ALLOW_THREADS
;
3119 } Py_INCREF(Py_None
);
3120 _resultobj
= Py_None
;
3124 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3125 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3127 wxIndividualLayoutConstraint
* _arg0
;
3129 int _arg2
= (int ) 0;
3130 PyObject
* _argo0
= 0;
3131 PyObject
* _argo1
= 0;
3132 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3145 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3155 wxPy_END_ALLOW_THREADS
;
3156 } Py_INCREF(Py_None
);
3157 _resultobj
= Py_None
;
3161 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3162 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3164 wxIndividualLayoutConstraint
* _arg0
;
3167 int _arg3
= (int ) 0;
3168 PyObject
* _argo0
= 0;
3169 PyObject
* _argo1
= 0;
3170 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3190 wxPy_BEGIN_ALLOW_THREADS
;
3191 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3193 wxPy_END_ALLOW_THREADS
;
3194 } Py_INCREF(Py_None
);
3195 _resultobj
= Py_None
;
3199 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3200 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3202 wxIndividualLayoutConstraint
* _arg0
;
3203 wxRelationship _arg1
;
3206 int _arg4
= (int ) 0;
3207 int _arg5
= (int ) 0;
3208 PyObject
* _argo0
= 0;
3209 PyObject
* _argo2
= 0;
3210 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3223 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3224 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3230 wxPy_BEGIN_ALLOW_THREADS
;
3231 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3233 wxPy_END_ALLOW_THREADS
;
3234 } Py_INCREF(Py_None
);
3235 _resultobj
= Py_None
;
3239 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3240 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3242 wxLayoutConstraints
* _result
;
3243 char *_kwnames
[] = { NULL
};
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3250 wxPy_BEGIN_ALLOW_THREADS
;
3251 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3253 wxPy_END_ALLOW_THREADS
;
3255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3256 _resultobj
= Py_BuildValue("s",_ptemp
);
3259 _resultobj
= Py_None
;
3264 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3265 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3267 wxIndividualLayoutConstraint
* _result
;
3268 wxLayoutConstraints
* _arg0
;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3284 wxPy_BEGIN_ALLOW_THREADS
;
3285 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3287 wxPy_END_ALLOW_THREADS
;
3289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3290 _resultobj
= Py_BuildValue("s",_ptemp
);
3293 _resultobj
= Py_None
;
3298 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3299 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
* _resultobj
;
3301 wxIndividualLayoutConstraint
* _result
;
3302 wxLayoutConstraints
* _arg0
;
3303 PyObject
* _argo0
= 0;
3304 char *_kwnames
[] = { "self", NULL
};
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3318 wxPy_BEGIN_ALLOW_THREADS
;
3319 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3321 wxPy_END_ALLOW_THREADS
;
3323 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3324 _resultobj
= Py_BuildValue("s",_ptemp
);
3327 _resultobj
= Py_None
;
3332 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3333 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3335 wxIndividualLayoutConstraint
* _result
;
3336 wxLayoutConstraints
* _arg0
;
3337 PyObject
* _argo0
= 0;
3338 char *_kwnames
[] = { "self", NULL
};
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3352 wxPy_BEGIN_ALLOW_THREADS
;
3353 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3355 wxPy_END_ALLOW_THREADS
;
3357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3358 _resultobj
= Py_BuildValue("s",_ptemp
);
3361 _resultobj
= Py_None
;
3366 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3367 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
* _resultobj
;
3369 wxIndividualLayoutConstraint
* _result
;
3370 wxLayoutConstraints
* _arg0
;
3371 PyObject
* _argo0
= 0;
3372 char *_kwnames
[] = { "self", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3386 wxPy_BEGIN_ALLOW_THREADS
;
3387 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3389 wxPy_END_ALLOW_THREADS
;
3391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3392 _resultobj
= Py_BuildValue("s",_ptemp
);
3395 _resultobj
= Py_None
;
3400 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3401 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
* _resultobj
;
3403 wxIndividualLayoutConstraint
* _result
;
3404 wxLayoutConstraints
* _arg0
;
3405 PyObject
* _argo0
= 0;
3406 char *_kwnames
[] = { "self", NULL
};
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3420 wxPy_BEGIN_ALLOW_THREADS
;
3421 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3423 wxPy_END_ALLOW_THREADS
;
3425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3426 _resultobj
= Py_BuildValue("s",_ptemp
);
3429 _resultobj
= Py_None
;
3434 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3435 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
* _resultobj
;
3437 wxIndividualLayoutConstraint
* _result
;
3438 wxLayoutConstraints
* _arg0
;
3439 PyObject
* _argo0
= 0;
3440 char *_kwnames
[] = { "self", NULL
};
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3454 wxPy_BEGIN_ALLOW_THREADS
;
3455 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3457 wxPy_END_ALLOW_THREADS
;
3459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3460 _resultobj
= Py_BuildValue("s",_ptemp
);
3463 _resultobj
= Py_None
;
3468 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3469 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
* _resultobj
;
3471 wxIndividualLayoutConstraint
* _result
;
3472 wxLayoutConstraints
* _arg0
;
3473 PyObject
* _argo0
= 0;
3474 char *_kwnames
[] = { "self", NULL
};
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3488 wxPy_BEGIN_ALLOW_THREADS
;
3489 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3491 wxPy_END_ALLOW_THREADS
;
3493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3494 _resultobj
= Py_BuildValue("s",_ptemp
);
3497 _resultobj
= Py_None
;
3502 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3503 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3505 wxIndividualLayoutConstraint
* _result
;
3506 wxLayoutConstraints
* _arg0
;
3507 PyObject
* _argo0
= 0;
3508 char *_kwnames
[] = { "self", NULL
};
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3522 wxPy_BEGIN_ALLOW_THREADS
;
3523 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3525 wxPy_END_ALLOW_THREADS
;
3527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3528 _resultobj
= Py_BuildValue("s",_ptemp
);
3531 _resultobj
= Py_None
;
3536 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3537 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3540 long _arg0
= (long ) 0;
3541 long _arg1
= (long ) 0;
3542 long _arg2
= (long ) 0;
3543 long _arg3
= (long ) 0;
3544 char *_kwnames
[] = { "x","y","width","height", NULL
};
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3551 wxPy_BEGIN_ALLOW_THREADS
;
3552 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
3554 wxPy_END_ALLOW_THREADS
;
3556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3557 _resultobj
= Py_BuildValue("s",_ptemp
);
3560 _resultobj
= Py_None
;
3565 #define delete_wxRegion(_swigobj) (delete _swigobj)
3566 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
* _resultobj
;
3569 PyObject
* _argo0
= 0;
3570 char *_kwnames
[] = { "self", NULL
};
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3583 wxPy_BEGIN_ALLOW_THREADS
;
3584 delete_wxRegion(_arg0
);
3586 wxPy_END_ALLOW_THREADS
;
3587 } Py_INCREF(Py_None
);
3588 _resultobj
= Py_None
;
3592 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3593 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
* _resultobj
;
3596 PyObject
* _argo0
= 0;
3597 char *_kwnames
[] = { "self", NULL
};
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3610 wxPy_BEGIN_ALLOW_THREADS
;
3611 wxRegion_Clear(_arg0
);
3613 wxPy_END_ALLOW_THREADS
;
3614 } Py_INCREF(Py_None
);
3615 _resultobj
= Py_None
;
3619 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3620 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3622 wxRegionContain _result
;
3626 PyObject
* _argo0
= 0;
3627 char *_kwnames
[] = { "self","x","y", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3640 wxPy_BEGIN_ALLOW_THREADS
;
3641 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3643 wxPy_END_ALLOW_THREADS
;
3644 } _resultobj
= Py_BuildValue("i",_result
);
3648 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3649 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
* _resultobj
;
3651 wxRegionContain _result
;
3654 PyObject
* _argo0
= 0;
3656 PyObject
* _obj1
= 0;
3657 char *_kwnames
[] = { "self","pt", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3671 if (! wxPoint_helper(_obj1
, &_arg1
))
3675 wxPy_BEGIN_ALLOW_THREADS
;
3676 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3678 wxPy_END_ALLOW_THREADS
;
3679 } _resultobj
= Py_BuildValue("i",_result
);
3683 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3684 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
* _resultobj
;
3686 wxRegionContain _result
;
3689 PyObject
* _argo0
= 0;
3691 PyObject
* _obj1
= 0;
3692 char *_kwnames
[] = { "self","rect", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3706 if (! wxRect_helper(_obj1
, &_arg1
))
3710 wxPy_BEGIN_ALLOW_THREADS
;
3711 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3713 wxPy_END_ALLOW_THREADS
;
3714 } _resultobj
= Py_BuildValue("i",_result
);
3718 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3719 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3721 wxRegionContain _result
;
3727 PyObject
* _argo0
= 0;
3728 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3741 wxPy_BEGIN_ALLOW_THREADS
;
3742 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3744 wxPy_END_ALLOW_THREADS
;
3745 } _resultobj
= Py_BuildValue("i",_result
);
3749 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3750 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
* _resultobj
;
3754 PyObject
* _argo0
= 0;
3755 char *_kwnames
[] = { "self", NULL
};
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3769 wxPy_BEGIN_ALLOW_THREADS
;
3770 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3772 wxPy_END_ALLOW_THREADS
;
3773 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3774 _resultobj
= Py_BuildValue("s",_ptemp
);
3778 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3779 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
* _resultobj
;
3787 PyObject
* _argo0
= 0;
3788 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3801 wxPy_BEGIN_ALLOW_THREADS
;
3802 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3804 wxPy_END_ALLOW_THREADS
;
3805 } _resultobj
= Py_BuildValue("i",_result
);
3809 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3810 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3815 PyObject
* _argo0
= 0;
3817 PyObject
* _obj1
= 0;
3818 char *_kwnames
[] = { "self","rect", NULL
};
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
3824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3832 if (! wxRect_helper(_obj1
, &_arg1
))
3836 wxPy_BEGIN_ALLOW_THREADS
;
3837 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
3839 wxPy_END_ALLOW_THREADS
;
3840 } _resultobj
= Py_BuildValue("i",_result
);
3844 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3845 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
* _resultobj
;
3850 PyObject
* _argo0
= 0;
3851 PyObject
* _argo1
= 0;
3852 char *_kwnames
[] = { "self","region", NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
3858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3865 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3872 wxPy_BEGIN_ALLOW_THREADS
;
3873 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
3875 wxPy_END_ALLOW_THREADS
;
3876 } _resultobj
= Py_BuildValue("i",_result
);
3880 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3881 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
* _resultobj
;
3885 PyObject
* _argo0
= 0;
3886 char *_kwnames
[] = { "self", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3899 wxPy_BEGIN_ALLOW_THREADS
;
3900 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3902 wxPy_END_ALLOW_THREADS
;
3903 } _resultobj
= Py_BuildValue("i",_result
);
3907 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3908 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
* _resultobj
;
3916 PyObject
* _argo0
= 0;
3917 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3930 wxPy_BEGIN_ALLOW_THREADS
;
3931 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3933 wxPy_END_ALLOW_THREADS
;
3934 } _resultobj
= Py_BuildValue("i",_result
);
3938 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3939 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
* _resultobj
;
3944 PyObject
* _argo0
= 0;
3946 PyObject
* _obj1
= 0;
3947 char *_kwnames
[] = { "self","rect", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3961 if (! wxRect_helper(_obj1
, &_arg1
))
3965 wxPy_BEGIN_ALLOW_THREADS
;
3966 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
3968 wxPy_END_ALLOW_THREADS
;
3969 } _resultobj
= Py_BuildValue("i",_result
);
3973 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3974 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
* _resultobj
;
3979 PyObject
* _argo0
= 0;
3980 PyObject
* _argo1
= 0;
3981 char *_kwnames
[] = { "self","region", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
4001 wxPy_BEGIN_ALLOW_THREADS
;
4002 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
4004 wxPy_END_ALLOW_THREADS
;
4005 } _resultobj
= Py_BuildValue("i",_result
);
4009 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4010 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
* _resultobj
;
4018 PyObject
* _argo0
= 0;
4019 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
4032 wxPy_BEGIN_ALLOW_THREADS
;
4033 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4035 wxPy_END_ALLOW_THREADS
;
4036 } _resultobj
= Py_BuildValue("i",_result
);
4040 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4041 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
* _resultobj
;
4046 PyObject
* _argo0
= 0;
4048 PyObject
* _obj1
= 0;
4049 char *_kwnames
[] = { "self","rect", NULL
};
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
4055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
4063 if (! wxRect_helper(_obj1
, &_arg1
))
4067 wxPy_BEGIN_ALLOW_THREADS
;
4068 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
4070 wxPy_END_ALLOW_THREADS
;
4071 } _resultobj
= Py_BuildValue("i",_result
);
4075 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4076 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4081 PyObject
* _argo0
= 0;
4082 PyObject
* _argo1
= 0;
4083 char *_kwnames
[] = { "self","region", NULL
};
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
4089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4096 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4097 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4103 wxPy_BEGIN_ALLOW_THREADS
;
4104 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
4106 wxPy_END_ALLOW_THREADS
;
4107 } _resultobj
= Py_BuildValue("i",_result
);
4111 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4112 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
* _resultobj
;
4120 PyObject
* _argo0
= 0;
4121 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
4134 wxPy_BEGIN_ALLOW_THREADS
;
4135 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4137 wxPy_END_ALLOW_THREADS
;
4138 } _resultobj
= Py_BuildValue("i",_result
);
4142 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4143 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
* _resultobj
;
4148 PyObject
* _argo0
= 0;
4150 PyObject
* _obj1
= 0;
4151 char *_kwnames
[] = { "self","rect", NULL
};
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
4157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
4165 if (! wxRect_helper(_obj1
, &_arg1
))
4169 wxPy_BEGIN_ALLOW_THREADS
;
4170 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
4172 wxPy_END_ALLOW_THREADS
;
4173 } _resultobj
= Py_BuildValue("i",_result
);
4177 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4178 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
* _resultobj
;
4183 PyObject
* _argo0
= 0;
4184 PyObject
* _argo1
= 0;
4185 char *_kwnames
[] = { "self","region", NULL
};
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
4191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
4198 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4199 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
4205 wxPy_BEGIN_ALLOW_THREADS
;
4206 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
4208 wxPy_END_ALLOW_THREADS
;
4209 } _resultobj
= Py_BuildValue("i",_result
);
4213 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
4214 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
* _resultobj
;
4216 wxRegionIterator
* _result
;
4218 PyObject
* _argo0
= 0;
4219 char *_kwnames
[] = { "region", NULL
};
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
4226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
4233 wxPy_BEGIN_ALLOW_THREADS
;
4234 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
4236 wxPy_END_ALLOW_THREADS
;
4238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
4239 _resultobj
= Py_BuildValue("s",_ptemp
);
4242 _resultobj
= Py_None
;
4247 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
4248 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4250 wxRegionIterator
* _arg0
;
4251 PyObject
* _argo0
= 0;
4252 char *_kwnames
[] = { "self", NULL
};
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
4258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
4265 wxPy_BEGIN_ALLOW_THREADS
;
4266 delete_wxRegionIterator(_arg0
);
4268 wxPy_END_ALLOW_THREADS
;
4269 } Py_INCREF(Py_None
);
4270 _resultobj
= Py_None
;
4274 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
4275 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
* _resultobj
;
4278 wxRegionIterator
* _arg0
;
4279 PyObject
* _argo0
= 0;
4280 char *_kwnames
[] = { "self", NULL
};
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
4286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
4293 wxPy_BEGIN_ALLOW_THREADS
;
4294 _result
= (long )wxRegionIterator_GetX(_arg0
);
4296 wxPy_END_ALLOW_THREADS
;
4297 } _resultobj
= Py_BuildValue("l",_result
);
4301 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
4302 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4305 wxRegionIterator
* _arg0
;
4306 PyObject
* _argo0
= 0;
4307 char *_kwnames
[] = { "self", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
4320 wxPy_BEGIN_ALLOW_THREADS
;
4321 _result
= (long )wxRegionIterator_GetY(_arg0
);
4323 wxPy_END_ALLOW_THREADS
;
4324 } _resultobj
= Py_BuildValue("l",_result
);
4328 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
4329 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4332 wxRegionIterator
* _arg0
;
4333 PyObject
* _argo0
= 0;
4334 char *_kwnames
[] = { "self", NULL
};
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
4340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
4347 wxPy_BEGIN_ALLOW_THREADS
;
4348 _result
= (long )wxRegionIterator_GetW(_arg0
);
4350 wxPy_END_ALLOW_THREADS
;
4351 } _resultobj
= Py_BuildValue("l",_result
);
4355 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
4356 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
* _resultobj
;
4359 wxRegionIterator
* _arg0
;
4360 PyObject
* _argo0
= 0;
4361 char *_kwnames
[] = { "self", NULL
};
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
4367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
4374 wxPy_BEGIN_ALLOW_THREADS
;
4375 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
4377 wxPy_END_ALLOW_THREADS
;
4378 } _resultobj
= Py_BuildValue("l",_result
);
4382 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
4383 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
* _resultobj
;
4386 wxRegionIterator
* _arg0
;
4387 PyObject
* _argo0
= 0;
4388 char *_kwnames
[] = { "self", NULL
};
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
4394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
4401 wxPy_BEGIN_ALLOW_THREADS
;
4402 _result
= (long )wxRegionIterator_GetH(_arg0
);
4404 wxPy_END_ALLOW_THREADS
;
4405 } _resultobj
= Py_BuildValue("l",_result
);
4409 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
4410 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4413 wxRegionIterator
* _arg0
;
4414 PyObject
* _argo0
= 0;
4415 char *_kwnames
[] = { "self", NULL
};
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
4421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
4428 wxPy_BEGIN_ALLOW_THREADS
;
4429 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
4431 wxPy_END_ALLOW_THREADS
;
4432 } _resultobj
= Py_BuildValue("l",_result
);
4436 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
4437 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4440 wxRegionIterator
* _arg0
;
4441 PyObject
* _argo0
= 0;
4442 char *_kwnames
[] = { "self", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4459 wxPy_END_ALLOW_THREADS
;
4460 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4461 _resultobj
= Py_BuildValue("s",_ptemp
);
4465 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4466 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
* _resultobj
;
4469 wxRegionIterator
* _arg0
;
4470 PyObject
* _argo0
= 0;
4471 char *_kwnames
[] = { "self", NULL
};
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4484 wxPy_BEGIN_ALLOW_THREADS
;
4485 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4487 wxPy_END_ALLOW_THREADS
;
4488 } _resultobj
= Py_BuildValue("i",_result
);
4492 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4493 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
* _resultobj
;
4495 wxRegionIterator
* _arg0
;
4496 PyObject
* _argo0
= 0;
4497 char *_kwnames
[] = { "self", NULL
};
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4510 wxPy_BEGIN_ALLOW_THREADS
;
4511 wxRegionIterator_Reset(_arg0
);
4513 wxPy_END_ALLOW_THREADS
;
4514 } Py_INCREF(Py_None
);
4515 _resultobj
= Py_None
;
4519 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4522 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4524 wxRegionIterator
* _arg0
;
4525 PyObject
* _argo0
= 0;
4526 char *_kwnames
[] = { "self", NULL
};
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4539 wxPy_BEGIN_ALLOW_THREADS
;
4540 wxRegionIterator_Next(_arg0
);
4542 wxPy_END_ALLOW_THREADS
;
4543 } Py_INCREF(Py_None
);
4544 _resultobj
= Py_None
;
4548 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4549 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4551 wxAcceleratorEntry
* _result
;
4552 int _arg0
= (int ) 0;
4553 int _arg1
= (int ) 0;
4554 int _arg2
= (int ) 0;
4555 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4562 wxPy_BEGIN_ALLOW_THREADS
;
4563 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4565 wxPy_END_ALLOW_THREADS
;
4567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4568 _resultobj
= Py_BuildValue("s",_ptemp
);
4571 _resultobj
= Py_None
;
4576 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4577 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
* _resultobj
;
4579 wxAcceleratorEntry
* _arg0
;
4580 PyObject
* _argo0
= 0;
4581 char *_kwnames
[] = { "self", NULL
};
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4594 wxPy_BEGIN_ALLOW_THREADS
;
4595 delete_wxAcceleratorEntry(_arg0
);
4597 wxPy_END_ALLOW_THREADS
;
4598 } Py_INCREF(Py_None
);
4599 _resultobj
= Py_None
;
4603 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4604 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
* _resultobj
;
4606 wxAcceleratorEntry
* _arg0
;
4610 PyObject
* _argo0
= 0;
4611 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4624 wxPy_BEGIN_ALLOW_THREADS
;
4625 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4627 wxPy_END_ALLOW_THREADS
;
4628 } Py_INCREF(Py_None
);
4629 _resultobj
= Py_None
;
4633 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4634 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
* _resultobj
;
4637 wxAcceleratorEntry
* _arg0
;
4638 PyObject
* _argo0
= 0;
4639 char *_kwnames
[] = { "self", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4652 wxPy_BEGIN_ALLOW_THREADS
;
4653 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4655 wxPy_END_ALLOW_THREADS
;
4656 } _resultobj
= Py_BuildValue("i",_result
);
4660 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4661 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
* _resultobj
;
4664 wxAcceleratorEntry
* _arg0
;
4665 PyObject
* _argo0
= 0;
4666 char *_kwnames
[] = { "self", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4679 wxPy_BEGIN_ALLOW_THREADS
;
4680 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4682 wxPy_END_ALLOW_THREADS
;
4683 } _resultobj
= Py_BuildValue("i",_result
);
4687 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4688 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
* _resultobj
;
4691 wxAcceleratorEntry
* _arg0
;
4692 PyObject
* _argo0
= 0;
4693 char *_kwnames
[] = { "self", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4706 wxPy_BEGIN_ALLOW_THREADS
;
4707 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4709 wxPy_END_ALLOW_THREADS
;
4710 } _resultobj
= Py_BuildValue("i",_result
);
4714 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4715 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4717 wxAcceleratorTable
* _result
;
4719 wxAcceleratorEntry
* _arg1
;
4720 PyObject
* _obj1
= 0;
4721 char *_kwnames
[] = { "choices", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4729 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4730 if (_arg1
== NULL
) {
4736 _arg0
= PyList_Size(_obj1
);
4743 wxPy_BEGIN_ALLOW_THREADS
;
4744 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4746 wxPy_END_ALLOW_THREADS
;
4748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4749 _resultobj
= Py_BuildValue("s",_ptemp
);
4752 _resultobj
= Py_None
;
4760 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4761 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
* _resultobj
;
4763 wxAcceleratorTable
* _arg0
;
4764 PyObject
* _argo0
= 0;
4765 char *_kwnames
[] = { "self", NULL
};
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4778 wxPy_BEGIN_ALLOW_THREADS
;
4779 delete_wxAcceleratorTable(_arg0
);
4781 wxPy_END_ALLOW_THREADS
;
4782 } Py_INCREF(Py_None
);
4783 _resultobj
= Py_None
;
4787 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4788 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
* _resultobj
;
4790 wxBusyInfo
* _result
;
4792 PyObject
* _obj0
= 0;
4793 char *_kwnames
[] = { "message", NULL
};
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4800 #if PYTHON_API_VERSION >= 1009
4801 char* tmpPtr
; int tmpSize
;
4802 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4803 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4806 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4808 _arg0
= new wxString(tmpPtr
, tmpSize
);
4810 if (!PyString_Check(_obj0
)) {
4811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4814 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4818 wxPy_BEGIN_ALLOW_THREADS
;
4819 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4821 wxPy_END_ALLOW_THREADS
;
4823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4824 _resultobj
= Py_BuildValue("s",_ptemp
);
4827 _resultobj
= Py_None
;
4836 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4837 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4840 PyObject
* _argo0
= 0;
4841 char *_kwnames
[] = { "self", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4854 wxPy_BEGIN_ALLOW_THREADS
;
4855 delete_wxBusyInfo(_arg0
);
4857 wxPy_END_ALLOW_THREADS
;
4858 } Py_INCREF(Py_None
);
4859 _resultobj
= Py_None
;
4863 static PyMethodDef misccMethods
[] = {
4864 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4865 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4866 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4867 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4868 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4869 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4870 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4871 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4872 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4873 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4874 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4875 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4876 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4877 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4878 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4879 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4880 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4881 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4882 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4883 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4884 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4885 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4886 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
4887 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
4888 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4889 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
4890 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
4891 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4892 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
4893 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
4894 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4895 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4896 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
4897 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4898 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4899 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4900 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
4901 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4902 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4903 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4904 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4905 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4906 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4907 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4908 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4909 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4910 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4911 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4912 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4913 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4914 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4915 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4916 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4917 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4918 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4919 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4920 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4921 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4922 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4923 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4924 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4925 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4926 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4927 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4928 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4929 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4930 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4931 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4932 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4933 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4934 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4935 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4936 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4937 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4938 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4939 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4940 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4941 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4942 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4943 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4944 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4945 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4946 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4947 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4948 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4949 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4950 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4951 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4952 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4979 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4980 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4981 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4982 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4997 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4998 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
5013 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
5014 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
5015 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
5016 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
5017 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
5018 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
5019 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
5020 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
5021 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
5022 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5023 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
5024 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
5025 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
5026 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
5027 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
5028 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
5029 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
5030 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
5037 * This table is used by the pointer type-checker
5039 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5040 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5041 { "_signed_long","_long",0},
5042 { "_wxPrintQuality","_wxCoord",0},
5043 { "_wxPrintQuality","_int",0},
5044 { "_wxPrintQuality","_signed_int",0},
5045 { "_wxPrintQuality","_unsigned_int",0},
5046 { "_wxPrintQuality","_wxWindowID",0},
5047 { "_wxPrintQuality","_uint",0},
5048 { "_wxPrintQuality","_EBool",0},
5049 { "_wxPrintQuality","_size_t",0},
5050 { "_wxPrintQuality","_time_t",0},
5051 { "_class_wxRegionIterator","_wxRegionIterator",0},
5052 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5053 { "_byte","_unsigned_char",0},
5054 { "_long","_unsigned_long",0},
5055 { "_long","_signed_long",0},
5056 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5057 { "_size_t","_wxCoord",0},
5058 { "_size_t","_wxPrintQuality",0},
5059 { "_size_t","_time_t",0},
5060 { "_size_t","_unsigned_int",0},
5061 { "_size_t","_int",0},
5062 { "_size_t","_wxWindowID",0},
5063 { "_size_t","_uint",0},
5064 { "_class_wxRealPoint","_wxRealPoint",0},
5065 { "_uint","_wxCoord",0},
5066 { "_uint","_wxPrintQuality",0},
5067 { "_uint","_time_t",0},
5068 { "_uint","_size_t",0},
5069 { "_uint","_unsigned_int",0},
5070 { "_uint","_int",0},
5071 { "_uint","_wxWindowID",0},
5072 { "_wxChar","_char",0},
5073 { "_wxRect","_class_wxRect",0},
5074 { "_wxPoint","_class_wxPoint",0},
5075 { "_char","_wxChar",0},
5076 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5077 { "_EBool","_wxCoord",0},
5078 { "_EBool","_wxPrintQuality",0},
5079 { "_EBool","_signed_int",0},
5080 { "_EBool","_int",0},
5081 { "_EBool","_wxWindowID",0},
5082 { "_class_wxRegion","_wxRegion",0},
5083 { "_unsigned_long","_long",0},
5084 { "_class_wxRect","_wxRect",0},
5085 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5086 { "_signed_int","_wxCoord",0},
5087 { "_signed_int","_wxPrintQuality",0},
5088 { "_signed_int","_EBool",0},
5089 { "_signed_int","_wxWindowID",0},
5090 { "_signed_int","_int",0},
5091 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5092 { "_WXTYPE","_short",0},
5093 { "_WXTYPE","_signed_short",0},
5094 { "_WXTYPE","_unsigned_short",0},
5095 { "_unsigned_short","_WXTYPE",0},
5096 { "_unsigned_short","_short",0},
5097 { "_wxBusyInfo","_class_wxBusyInfo",0},
5098 { "_class_wxPoint","_wxPoint",0},
5099 { "_wxRealPoint","_class_wxRealPoint",0},
5100 { "_signed_short","_WXTYPE",0},
5101 { "_signed_short","_short",0},
5102 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5103 { "_unsigned_char","_byte",0},
5104 { "_unsigned_int","_wxCoord",0},
5105 { "_unsigned_int","_wxPrintQuality",0},
5106 { "_unsigned_int","_time_t",0},
5107 { "_unsigned_int","_size_t",0},
5108 { "_unsigned_int","_uint",0},
5109 { "_unsigned_int","_wxWindowID",0},
5110 { "_unsigned_int","_int",0},
5111 { "_short","_WXTYPE",0},
5112 { "_short","_unsigned_short",0},
5113 { "_short","_signed_short",0},
5114 { "_wxWindowID","_wxCoord",0},
5115 { "_wxWindowID","_wxPrintQuality",0},
5116 { "_wxWindowID","_time_t",0},
5117 { "_wxWindowID","_size_t",0},
5118 { "_wxWindowID","_EBool",0},
5119 { "_wxWindowID","_uint",0},
5120 { "_wxWindowID","_int",0},
5121 { "_wxWindowID","_signed_int",0},
5122 { "_wxWindowID","_unsigned_int",0},
5123 { "_int","_wxCoord",0},
5124 { "_int","_wxPrintQuality",0},
5125 { "_int","_time_t",0},
5126 { "_int","_size_t",0},
5127 { "_int","_EBool",0},
5128 { "_int","_uint",0},
5129 { "_int","_wxWindowID",0},
5130 { "_int","_unsigned_int",0},
5131 { "_int","_signed_int",0},
5132 { "_time_t","_wxCoord",0},
5133 { "_time_t","_wxPrintQuality",0},
5134 { "_time_t","_unsigned_int",0},
5135 { "_time_t","_int",0},
5136 { "_time_t","_wxWindowID",0},
5137 { "_time_t","_uint",0},
5138 { "_time_t","_size_t",0},
5139 { "_wxSize","_class_wxSize",0},
5140 { "_wxRegionIterator","_class_wxRegionIterator",0},
5141 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5142 { "_wxCoord","_int",0},
5143 { "_wxCoord","_signed_int",0},
5144 { "_wxCoord","_unsigned_int",0},
5145 { "_wxCoord","_wxWindowID",0},
5146 { "_wxCoord","_uint",0},
5147 { "_wxCoord","_EBool",0},
5148 { "_wxCoord","_size_t",0},
5149 { "_wxCoord","_time_t",0},
5150 { "_wxCoord","_wxPrintQuality",0},
5151 { "_wxRegion","_class_wxRegion",0},
5152 { "_class_wxBusyInfo","_wxBusyInfo",0},
5153 { "_class_wxSize","_wxSize",0},
5156 static PyObject
*SWIG_globals
;
5160 SWIGEXPORT(void) initmiscc() {
5162 SWIG_globals
= SWIG_newvarlink();
5163 m
= Py_InitModule("miscc", misccMethods
);
5164 d
= PyModule_GetDict(m
);
5165 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5166 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5167 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5168 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5169 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5170 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5171 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5172 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5173 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5174 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5175 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5176 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5177 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5178 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5179 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5180 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5181 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5182 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5183 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5184 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
5185 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
5186 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
5187 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5188 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5191 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5192 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);