2 * FILE : src/gtk/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmiscc
56 #define SWIG_name "miscc"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/busyinfo.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 static char* wxStringErrorMsg
= "string type is required for parameter";
111 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_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
364 PyObject
* _resultobj
;
369 char *_kwnames
[] = { NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
381 wxPy_BEGIN_ALLOW_THREADS
;
382 wxGetMousePosition(_arg0
,_arg1
);
384 wxPy_END_ALLOW_THREADS
;
385 } Py_INCREF(Py_None
);
386 _resultobj
= Py_None
;
389 o
= PyInt_FromLong((long) (*_arg0
));
390 _resultobj
= t_output_helper(_resultobj
, o
);
394 o
= PyInt_FromLong((long) (*_arg1
));
395 _resultobj
= t_output_helper(_resultobj
, o
);
400 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
403 char *_kwnames
[] = { NULL
};
406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
409 wxPy_BEGIN_ALLOW_THREADS
;
410 _result
= (bool )wxIsBusy();
412 wxPy_END_ALLOW_THREADS
;
413 } _resultobj
= Py_BuildValue("i",_result
);
417 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
420 char *_kwnames
[] = { NULL
};
423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
426 wxPy_BEGIN_ALLOW_THREADS
;
427 _result
= new wxString (wxNow());
429 wxPy_END_ALLOW_THREADS
;
431 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
439 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
440 PyObject
* _resultobj
;
442 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
443 PyObject
* _obj0
= 0;
444 char *_kwnames
[] = { "command", NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
451 #if PYTHON_API_VERSION >= 1009
452 char* tmpPtr
; int tmpSize
;
453 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
454 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
457 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
459 _arg0
= new wxString(tmpPtr
, tmpSize
);
461 if (!PyString_Check(_obj0
)) {
462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
465 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
469 wxPy_BEGIN_ALLOW_THREADS
;
470 _result
= (bool )wxShell(*_arg0
);
472 wxPy_END_ALLOW_THREADS
;
473 } _resultobj
= Py_BuildValue("i",_result
);
481 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
483 char *_kwnames
[] = { NULL
};
486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
489 wxPy_BEGIN_ALLOW_THREADS
;
492 wxPy_END_ALLOW_THREADS
;
493 } Py_INCREF(Py_None
);
494 _resultobj
= Py_None
;
498 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
499 PyObject
* _resultobj
;
505 char *_kwnames
[] = { NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
517 wxPy_BEGIN_ALLOW_THREADS
;
518 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
520 wxPy_END_ALLOW_THREADS
;
521 } _resultobj
= Py_BuildValue("i",_result
);
524 o
= PyInt_FromLong((long) (*_arg0
));
525 _resultobj
= t_output_helper(_resultobj
, o
);
529 o
= PyInt_FromLong((long) (*_arg1
));
530 _resultobj
= t_output_helper(_resultobj
, o
);
535 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
536 PyObject
* _resultobj
;
538 char *_kwnames
[] = { NULL
};
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
544 wxPy_BEGIN_ALLOW_THREADS
;
545 _result
= new wxString (wxGetOsDescription());
547 wxPy_END_ALLOW_THREADS
;
549 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
557 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
558 PyObject
* _resultobj
;
560 char *_kwnames
[] = { "secs", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
566 wxPy_BEGIN_ALLOW_THREADS
;
569 wxPy_END_ALLOW_THREADS
;
570 } Py_INCREF(Py_None
);
571 _resultobj
= Py_None
;
575 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
578 char *_kwnames
[] = { "milliseconds", NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
584 wxPy_BEGIN_ALLOW_THREADS
;
587 wxPy_END_ALLOW_THREADS
;
588 } Py_INCREF(Py_None
);
589 _resultobj
= Py_None
;
593 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
596 char *_kwnames
[] = { NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
602 wxPy_BEGIN_ALLOW_THREADS
;
603 _result
= (bool )wxYield();
605 wxPy_END_ALLOW_THREADS
;
606 } _resultobj
= Py_BuildValue("i",_result
);
610 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
613 char *_kwnames
[] = { NULL
};
616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
619 wxPy_BEGIN_ALLOW_THREADS
;
620 _result
= (bool )wxYieldIfNeeded();
622 wxPy_END_ALLOW_THREADS
;
623 } _resultobj
= Py_BuildValue("i",_result
);
627 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
631 char *_kwnames
[] = { "enable", NULL
};
634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
636 _arg0
= (bool ) tempbool0
;
638 wxPy_BEGIN_ALLOW_THREADS
;
639 wxEnableTopLevelWindows(_arg0
);
641 wxPy_END_ALLOW_THREADS
;
642 } Py_INCREF(Py_None
);
643 _resultobj
= Py_None
;
647 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
648 PyObject
* _resultobj
;
652 char * _arg2
= (char *) NULL
;
653 char *_kwnames
[] = { "section","entry","file", NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
659 wxPy_BEGIN_ALLOW_THREADS
;
660 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
662 wxPy_END_ALLOW_THREADS
;
663 } _resultobj
= Py_BuildValue("s", _result
);
667 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 PyObject
* _resultobj
;
671 PyObject
* _obj0
= 0;
672 char *_kwnames
[] = { "in", NULL
};
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
678 #if PYTHON_API_VERSION >= 1009
679 char* tmpPtr
; int tmpSize
;
680 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
681 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
684 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
686 _arg0
= new wxString(tmpPtr
, tmpSize
);
688 if (!PyString_Check(_obj0
)) {
689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
692 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
696 wxPy_BEGIN_ALLOW_THREADS
;
697 _result
= new wxString (wxStripMenuCodes(*_arg0
));
699 wxPy_END_ALLOW_THREADS
;
701 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
713 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
714 PyObject
* _resultobj
;
716 char *_kwnames
[] = { NULL
};
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
722 wxPy_BEGIN_ALLOW_THREADS
;
723 _result
= new wxString (wxGetEmailAddress());
725 wxPy_END_ALLOW_THREADS
;
727 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
735 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
738 char *_kwnames
[] = { NULL
};
741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
744 wxPy_BEGIN_ALLOW_THREADS
;
745 _result
= new wxString (wxGetHostName());
747 wxPy_END_ALLOW_THREADS
;
749 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
757 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
760 char *_kwnames
[] = { NULL
};
763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
766 wxPy_BEGIN_ALLOW_THREADS
;
767 _result
= new wxString (wxGetFullHostName());
769 wxPy_END_ALLOW_THREADS
;
771 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
779 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
780 PyObject
* _resultobj
;
782 char *_kwnames
[] = { NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
788 wxPy_BEGIN_ALLOW_THREADS
;
789 _result
= new wxString (wxGetUserId());
791 wxPy_END_ALLOW_THREADS
;
793 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
801 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
802 PyObject
* _resultobj
;
804 char *_kwnames
[] = { NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
810 wxPy_BEGIN_ALLOW_THREADS
;
811 _result
= new wxString (wxGetUserName());
813 wxPy_END_ALLOW_THREADS
;
815 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
823 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
826 char *_kwnames
[] = { NULL
};
829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
832 wxPy_BEGIN_ALLOW_THREADS
;
833 _result
= new wxString (wxGetHomeDir());
835 wxPy_END_ALLOW_THREADS
;
837 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
845 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
846 PyObject
* _resultobj
;
847 wxAcceleratorEntry
* _result
;
849 PyObject
* _obj0
= 0;
850 char *_kwnames
[] = { "label", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
857 #if PYTHON_API_VERSION >= 1009
858 char* tmpPtr
; int tmpSize
;
859 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
860 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
863 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
865 _arg0
= new wxString(tmpPtr
, tmpSize
);
867 if (!PyString_Check(_obj0
)) {
868 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
871 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
875 wxPy_BEGIN_ALLOW_THREADS
;
876 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
878 wxPy_END_ALLOW_THREADS
;
880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
881 _resultobj
= Py_BuildValue("s",_ptemp
);
884 _resultobj
= Py_None
;
893 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
895 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
899 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
903 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
904 pyobj
= PyString_FromString(ptemp
);
908 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
909 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
910 PyObject
* _resultobj
;
915 PyObject
* _obj0
= 0;
916 char *_kwnames
[] = { "self","x", NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
923 if (! wxSize_helper(_obj0
, &_arg0
))
927 wxPy_BEGIN_ALLOW_THREADS
;
928 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
930 wxPy_END_ALLOW_THREADS
;
931 } _resultobj
= Py_BuildValue("l",_result
);
935 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
936 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
941 PyObject
* _obj0
= 0;
942 char *_kwnames
[] = { "self", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
949 if (! wxSize_helper(_obj0
, &_arg0
))
953 wxPy_BEGIN_ALLOW_THREADS
;
954 _result
= (long )wxSize_x_get(_arg0
);
956 wxPy_END_ALLOW_THREADS
;
957 } _resultobj
= Py_BuildValue("l",_result
);
961 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
962 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
968 PyObject
* _obj0
= 0;
969 char *_kwnames
[] = { "self","y", NULL
};
972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
976 if (! wxSize_helper(_obj0
, &_arg0
))
980 wxPy_BEGIN_ALLOW_THREADS
;
981 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
983 wxPy_END_ALLOW_THREADS
;
984 } _resultobj
= Py_BuildValue("l",_result
);
988 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
989 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
990 PyObject
* _resultobj
;
994 PyObject
* _obj0
= 0;
995 char *_kwnames
[] = { "self", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1002 if (! wxSize_helper(_obj0
, &_arg0
))
1006 wxPy_BEGIN_ALLOW_THREADS
;
1007 _result
= (long )wxSize_y_get(_arg0
);
1009 wxPy_END_ALLOW_THREADS
;
1010 } _resultobj
= Py_BuildValue("l",_result
);
1014 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1015 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
* _resultobj
;
1018 long _arg0
= (long ) 0;
1019 long _arg1
= (long ) 0;
1020 char *_kwnames
[] = { "w","h", NULL
};
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1027 wxPy_BEGIN_ALLOW_THREADS
;
1028 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1030 wxPy_END_ALLOW_THREADS
;
1032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1033 _resultobj
= Py_BuildValue("s",_ptemp
);
1036 _resultobj
= Py_None
;
1041 #define delete_wxSize(_swigobj) (delete _swigobj)
1042 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1046 PyObject
* _obj0
= 0;
1047 char *_kwnames
[] = { "self", NULL
};
1050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1054 if (! wxSize_helper(_obj0
, &_arg0
))
1058 wxPy_BEGIN_ALLOW_THREADS
;
1059 delete_wxSize(_arg0
);
1061 wxPy_END_ALLOW_THREADS
;
1062 } Py_INCREF(Py_None
);
1063 _resultobj
= Py_None
;
1067 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1068 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1074 PyObject
* _obj0
= 0;
1075 char *_kwnames
[] = { "self","w","h", NULL
};
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1082 if (! wxSize_helper(_obj0
, &_arg0
))
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 wxSize_Set(_arg0
,_arg1
,_arg2
);
1089 wxPy_END_ALLOW_THREADS
;
1090 } Py_INCREF(Py_None
);
1091 _resultobj
= Py_None
;
1095 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1096 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1101 PyObject
* _obj0
= 0;
1102 char *_kwnames
[] = { "self", NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1109 if (! wxSize_helper(_obj0
, &_arg0
))
1113 wxPy_BEGIN_ALLOW_THREADS
;
1114 _result
= (long )wxSize_GetX(_arg0
);
1116 wxPy_END_ALLOW_THREADS
;
1117 } _resultobj
= Py_BuildValue("l",_result
);
1121 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1122 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
* _resultobj
;
1127 PyObject
* _obj0
= 0;
1128 char *_kwnames
[] = { "self", NULL
};
1131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1135 if (! wxSize_helper(_obj0
, &_arg0
))
1139 wxPy_BEGIN_ALLOW_THREADS
;
1140 _result
= (long )wxSize_GetY(_arg0
);
1142 wxPy_END_ALLOW_THREADS
;
1143 } _resultobj
= Py_BuildValue("l",_result
);
1147 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1148 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1153 PyObject
* _obj0
= 0;
1154 char *_kwnames
[] = { "self", NULL
};
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1161 if (! wxSize_helper(_obj0
, &_arg0
))
1165 wxPy_BEGIN_ALLOW_THREADS
;
1166 _result
= (long )wxSize_GetWidth(_arg0
);
1168 wxPy_END_ALLOW_THREADS
;
1169 } _resultobj
= Py_BuildValue("l",_result
);
1173 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1174 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1179 PyObject
* _obj0
= 0;
1180 char *_kwnames
[] = { "self", NULL
};
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1187 if (! wxSize_helper(_obj0
, &_arg0
))
1191 wxPy_BEGIN_ALLOW_THREADS
;
1192 _result
= (long )wxSize_GetHeight(_arg0
);
1194 wxPy_END_ALLOW_THREADS
;
1195 } _resultobj
= Py_BuildValue("l",_result
);
1199 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1200 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
* _resultobj
;
1205 PyObject
* _obj0
= 0;
1206 char *_kwnames
[] = { "self","w", NULL
};
1209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1213 if (! wxSize_helper(_obj0
, &_arg0
))
1217 wxPy_BEGIN_ALLOW_THREADS
;
1218 wxSize_SetWidth(_arg0
,_arg1
);
1220 wxPy_END_ALLOW_THREADS
;
1221 } Py_INCREF(Py_None
);
1222 _resultobj
= Py_None
;
1226 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1227 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1232 PyObject
* _obj0
= 0;
1233 char *_kwnames
[] = { "self","h", NULL
};
1236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1240 if (! wxSize_helper(_obj0
, &_arg0
))
1244 wxPy_BEGIN_ALLOW_THREADS
;
1245 wxSize_SetHeight(_arg0
,_arg1
);
1247 wxPy_END_ALLOW_THREADS
;
1248 } Py_INCREF(Py_None
);
1249 _resultobj
= Py_None
;
1253 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1254 PyObject
* tup
= PyTuple_New(2);
1255 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1256 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1259 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
* _resultobj
;
1264 PyObject
* _obj0
= 0;
1265 char *_kwnames
[] = { "self", NULL
};
1268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1272 if (! wxSize_helper(_obj0
, &_arg0
))
1276 wxPy_BEGIN_ALLOW_THREADS
;
1277 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1279 wxPy_END_ALLOW_THREADS
;
1281 _resultobj
= _result
;
1286 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1287 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
* _resultobj
;
1290 wxRealPoint
* _arg0
;
1293 PyObject
* _obj0
= 0;
1294 char *_kwnames
[] = { "self","x", NULL
};
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1301 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1305 wxPy_BEGIN_ALLOW_THREADS
;
1306 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1308 wxPy_END_ALLOW_THREADS
;
1309 } _resultobj
= Py_BuildValue("d",_result
);
1313 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1314 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1317 wxRealPoint
* _arg0
;
1319 PyObject
* _obj0
= 0;
1320 char *_kwnames
[] = { "self", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1327 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1331 wxPy_BEGIN_ALLOW_THREADS
;
1332 _result
= (double )wxRealPoint_x_get(_arg0
);
1334 wxPy_END_ALLOW_THREADS
;
1335 } _resultobj
= Py_BuildValue("d",_result
);
1339 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1340 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1343 wxRealPoint
* _arg0
;
1346 PyObject
* _obj0
= 0;
1347 char *_kwnames
[] = { "self","y", NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1354 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1358 wxPy_BEGIN_ALLOW_THREADS
;
1359 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1361 wxPy_END_ALLOW_THREADS
;
1362 } _resultobj
= Py_BuildValue("d",_result
);
1366 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1367 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1370 wxRealPoint
* _arg0
;
1372 PyObject
* _obj0
= 0;
1373 char *_kwnames
[] = { "self", NULL
};
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1380 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 _result
= (double )wxRealPoint_y_get(_arg0
);
1387 wxPy_END_ALLOW_THREADS
;
1388 } _resultobj
= Py_BuildValue("d",_result
);
1392 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1393 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1394 PyObject
* _resultobj
;
1395 wxRealPoint
* _result
;
1396 double _arg0
= (double ) 0.0;
1397 double _arg1
= (double ) 0.0;
1398 char *_kwnames
[] = { "x","y", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1405 wxPy_BEGIN_ALLOW_THREADS
;
1406 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1408 wxPy_END_ALLOW_THREADS
;
1410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1411 _resultobj
= Py_BuildValue("s",_ptemp
);
1414 _resultobj
= Py_None
;
1419 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1420 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1422 wxRealPoint
* _arg0
;
1424 PyObject
* _obj0
= 0;
1425 char *_kwnames
[] = { "self", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1432 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1436 wxPy_BEGIN_ALLOW_THREADS
;
1437 delete_wxRealPoint(_arg0
);
1439 wxPy_END_ALLOW_THREADS
;
1440 } Py_INCREF(Py_None
);
1441 _resultobj
= Py_None
;
1445 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1449 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
* _resultobj
;
1451 wxRealPoint
* _arg0
;
1455 PyObject
* _obj0
= 0;
1456 char *_kwnames
[] = { "self","x","y", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1463 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1467 wxPy_BEGIN_ALLOW_THREADS
;
1468 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1470 wxPy_END_ALLOW_THREADS
;
1471 } Py_INCREF(Py_None
);
1472 _resultobj
= Py_None
;
1476 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1477 PyObject
* tup
= PyTuple_New(2);
1478 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1479 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1482 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1485 wxRealPoint
* _arg0
;
1487 PyObject
* _obj0
= 0;
1488 char *_kwnames
[] = { "self", NULL
};
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1495 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1499 wxPy_BEGIN_ALLOW_THREADS
;
1500 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1502 wxPy_END_ALLOW_THREADS
;
1504 _resultobj
= _result
;
1509 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1510 if (! p
) return *self
;
1513 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1515 wxRealPoint
* _result
;
1516 wxRealPoint
* _arg0
;
1517 wxRealPoint
* _arg1
;
1519 PyObject
* _obj0
= 0;
1521 PyObject
* _obj1
= 0;
1522 char *_kwnames
[] = { "self","p", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1530 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1535 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1539 wxPy_BEGIN_ALLOW_THREADS
;
1540 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1542 wxPy_END_ALLOW_THREADS
;
1543 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1544 _resultobj
= Py_BuildValue("s",_ptemp
);
1548 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1549 if (! p
) return *self
;
1552 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1554 wxRealPoint
* _result
;
1555 wxRealPoint
* _arg0
;
1556 wxRealPoint
* _arg1
;
1558 PyObject
* _obj0
= 0;
1560 PyObject
* _obj1
= 0;
1561 char *_kwnames
[] = { "self","p", NULL
};
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1569 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1574 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1581 wxPy_END_ALLOW_THREADS
;
1582 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1583 _resultobj
= Py_BuildValue("s",_ptemp
);
1587 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1591 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1594 wxRealPoint
* _arg0
;
1595 wxRealPoint
* _arg1
;
1597 PyObject
* _obj0
= 0;
1599 PyObject
* _obj1
= 0;
1600 char *_kwnames
[] = { "self","p", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1607 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1612 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1616 wxPy_BEGIN_ALLOW_THREADS
;
1617 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1619 wxPy_END_ALLOW_THREADS
;
1620 } _resultobj
= Py_BuildValue("i",_result
);
1624 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1625 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1631 PyObject
* _obj0
= 0;
1632 char *_kwnames
[] = { "self","x", NULL
};
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1639 if (! wxPoint_helper(_obj0
, &_arg0
))
1643 wxPy_BEGIN_ALLOW_THREADS
;
1644 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1646 wxPy_END_ALLOW_THREADS
;
1647 } _resultobj
= Py_BuildValue("l",_result
);
1651 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1652 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1657 PyObject
* _obj0
= 0;
1658 char *_kwnames
[] = { "self", NULL
};
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1665 if (! wxPoint_helper(_obj0
, &_arg0
))
1669 wxPy_BEGIN_ALLOW_THREADS
;
1670 _result
= (long )wxPoint_x_get(_arg0
);
1672 wxPy_END_ALLOW_THREADS
;
1673 } _resultobj
= Py_BuildValue("l",_result
);
1677 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1678 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1684 PyObject
* _obj0
= 0;
1685 char *_kwnames
[] = { "self","y", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1692 if (! wxPoint_helper(_obj0
, &_arg0
))
1696 wxPy_BEGIN_ALLOW_THREADS
;
1697 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1699 wxPy_END_ALLOW_THREADS
;
1700 } _resultobj
= Py_BuildValue("l",_result
);
1704 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1705 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1710 PyObject
* _obj0
= 0;
1711 char *_kwnames
[] = { "self", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1718 if (! wxPoint_helper(_obj0
, &_arg0
))
1722 wxPy_BEGIN_ALLOW_THREADS
;
1723 _result
= (long )wxPoint_y_get(_arg0
);
1725 wxPy_END_ALLOW_THREADS
;
1726 } _resultobj
= Py_BuildValue("l",_result
);
1730 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1731 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
* _resultobj
;
1734 long _arg0
= (long ) 0;
1735 long _arg1
= (long ) 0;
1736 char *_kwnames
[] = { "x","y", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1743 wxPy_BEGIN_ALLOW_THREADS
;
1744 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1746 wxPy_END_ALLOW_THREADS
;
1748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1749 _resultobj
= Py_BuildValue("s",_ptemp
);
1752 _resultobj
= Py_None
;
1757 #define delete_wxPoint(_swigobj) (delete _swigobj)
1758 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1762 PyObject
* _obj0
= 0;
1763 char *_kwnames
[] = { "self", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1770 if (! wxPoint_helper(_obj0
, &_arg0
))
1774 wxPy_BEGIN_ALLOW_THREADS
;
1775 delete_wxPoint(_arg0
);
1777 wxPy_END_ALLOW_THREADS
;
1778 } Py_INCREF(Py_None
);
1779 _resultobj
= Py_None
;
1783 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1787 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1793 PyObject
* _obj0
= 0;
1794 char *_kwnames
[] = { "self","x","y", NULL
};
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1801 if (! wxPoint_helper(_obj0
, &_arg0
))
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1808 wxPy_END_ALLOW_THREADS
;
1809 } Py_INCREF(Py_None
);
1810 _resultobj
= Py_None
;
1814 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1815 PyObject
* tup
= PyTuple_New(2);
1816 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1817 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1820 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1825 PyObject
* _obj0
= 0;
1826 char *_kwnames
[] = { "self", NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1833 if (! wxPoint_helper(_obj0
, &_arg0
))
1837 wxPy_BEGIN_ALLOW_THREADS
;
1838 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1840 wxPy_END_ALLOW_THREADS
;
1842 _resultobj
= _result
;
1847 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1848 if (! p
) return *self
;
1851 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1857 PyObject
* _obj0
= 0;
1859 PyObject
* _obj1
= 0;
1860 char *_kwnames
[] = { "self","p", NULL
};
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1868 if (! wxPoint_helper(_obj0
, &_arg0
))
1873 if (! wxPoint_helper(_obj1
, &_arg1
))
1877 wxPy_BEGIN_ALLOW_THREADS
;
1878 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
1880 wxPy_END_ALLOW_THREADS
;
1881 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1882 _resultobj
= Py_BuildValue("s",_ptemp
);
1886 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
1887 if (! p
) return *self
;
1890 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
* _resultobj
;
1896 PyObject
* _obj0
= 0;
1898 PyObject
* _obj1
= 0;
1899 char *_kwnames
[] = { "self","p", NULL
};
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1907 if (! wxPoint_helper(_obj0
, &_arg0
))
1912 if (! wxPoint_helper(_obj1
, &_arg1
))
1916 wxPy_BEGIN_ALLOW_THREADS
;
1917 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
1919 wxPy_END_ALLOW_THREADS
;
1920 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1921 _resultobj
= Py_BuildValue("s",_ptemp
);
1925 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
1929 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1935 PyObject
* _obj0
= 0;
1937 PyObject
* _obj1
= 0;
1938 char *_kwnames
[] = { "self","p", NULL
};
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1945 if (! wxPoint_helper(_obj0
, &_arg0
))
1950 if (! wxPoint_helper(_obj1
, &_arg1
))
1954 wxPy_BEGIN_ALLOW_THREADS
;
1955 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
1957 wxPy_END_ALLOW_THREADS
;
1958 } _resultobj
= Py_BuildValue("i",_result
);
1962 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1963 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1966 int _arg0
= (int ) 0;
1967 int _arg1
= (int ) 0;
1968 int _arg2
= (int ) 0;
1969 int _arg3
= (int ) 0;
1970 char *_kwnames
[] = { "x","y","w","h", NULL
};
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1977 wxPy_BEGIN_ALLOW_THREADS
;
1978 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1980 wxPy_END_ALLOW_THREADS
;
1982 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1983 _resultobj
= Py_BuildValue("s",_ptemp
);
1986 _resultobj
= Py_None
;
1991 #define delete_wxRect(_swigobj) (delete _swigobj)
1992 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
* _resultobj
;
1996 PyObject
* _obj0
= 0;
1997 char *_kwnames
[] = { "self", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2004 if (! wxRect_helper(_obj0
, &_arg0
))
2008 wxPy_BEGIN_ALLOW_THREADS
;
2009 delete_wxRect(_arg0
);
2011 wxPy_END_ALLOW_THREADS
;
2012 } Py_INCREF(Py_None
);
2013 _resultobj
= Py_None
;
2017 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2018 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2023 PyObject
* _obj0
= 0;
2024 char *_kwnames
[] = { "self", NULL
};
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2031 if (! wxRect_helper(_obj0
, &_arg0
))
2035 wxPy_BEGIN_ALLOW_THREADS
;
2036 _result
= (int )wxRect_GetX(_arg0
);
2038 wxPy_END_ALLOW_THREADS
;
2039 } _resultobj
= Py_BuildValue("i",_result
);
2043 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2044 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2049 PyObject
* _obj0
= 0;
2050 char *_kwnames
[] = { "self","X", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2057 if (! wxRect_helper(_obj0
, &_arg0
))
2061 wxPy_BEGIN_ALLOW_THREADS
;
2062 wxRect_SetX(_arg0
,_arg1
);
2064 wxPy_END_ALLOW_THREADS
;
2065 } Py_INCREF(Py_None
);
2066 _resultobj
= Py_None
;
2070 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2071 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2076 PyObject
* _obj0
= 0;
2077 char *_kwnames
[] = { "self", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2084 if (! wxRect_helper(_obj0
, &_arg0
))
2088 wxPy_BEGIN_ALLOW_THREADS
;
2089 _result
= (int )wxRect_GetY(_arg0
);
2091 wxPy_END_ALLOW_THREADS
;
2092 } _resultobj
= Py_BuildValue("i",_result
);
2096 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2097 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2102 PyObject
* _obj0
= 0;
2103 char *_kwnames
[] = { "self","Y", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2110 if (! wxRect_helper(_obj0
, &_arg0
))
2114 wxPy_BEGIN_ALLOW_THREADS
;
2115 wxRect_SetY(_arg0
,_arg1
);
2117 wxPy_END_ALLOW_THREADS
;
2118 } Py_INCREF(Py_None
);
2119 _resultobj
= Py_None
;
2123 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2124 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
* _resultobj
;
2129 PyObject
* _obj0
= 0;
2130 char *_kwnames
[] = { "self", NULL
};
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2137 if (! wxRect_helper(_obj0
, &_arg0
))
2141 wxPy_BEGIN_ALLOW_THREADS
;
2142 _result
= (int )wxRect_GetWidth(_arg0
);
2144 wxPy_END_ALLOW_THREADS
;
2145 } _resultobj
= Py_BuildValue("i",_result
);
2149 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2150 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
* _resultobj
;
2155 PyObject
* _obj0
= 0;
2156 char *_kwnames
[] = { "self","w", NULL
};
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2163 if (! wxRect_helper(_obj0
, &_arg0
))
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 wxRect_SetWidth(_arg0
,_arg1
);
2170 wxPy_END_ALLOW_THREADS
;
2171 } Py_INCREF(Py_None
);
2172 _resultobj
= Py_None
;
2176 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2177 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2182 PyObject
* _obj0
= 0;
2183 char *_kwnames
[] = { "self", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2190 if (! wxRect_helper(_obj0
, &_arg0
))
2194 wxPy_BEGIN_ALLOW_THREADS
;
2195 _result
= (int )wxRect_GetHeight(_arg0
);
2197 wxPy_END_ALLOW_THREADS
;
2198 } _resultobj
= Py_BuildValue("i",_result
);
2202 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2203 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2204 PyObject
* _resultobj
;
2208 PyObject
* _obj0
= 0;
2209 char *_kwnames
[] = { "self","h", NULL
};
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2216 if (! wxRect_helper(_obj0
, &_arg0
))
2220 wxPy_BEGIN_ALLOW_THREADS
;
2221 wxRect_SetHeight(_arg0
,_arg1
);
2223 wxPy_END_ALLOW_THREADS
;
2224 } Py_INCREF(Py_None
);
2225 _resultobj
= Py_None
;
2229 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2230 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
* _resultobj
;
2235 PyObject
* _obj0
= 0;
2236 char *_kwnames
[] = { "self", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2244 if (! wxRect_helper(_obj0
, &_arg0
))
2248 wxPy_BEGIN_ALLOW_THREADS
;
2249 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2251 wxPy_END_ALLOW_THREADS
;
2252 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2253 _resultobj
= Py_BuildValue("s",_ptemp
);
2257 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2258 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
* _resultobj
;
2263 PyObject
* _obj0
= 0;
2264 char *_kwnames
[] = { "self", NULL
};
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2272 if (! wxRect_helper(_obj0
, &_arg0
))
2276 wxPy_BEGIN_ALLOW_THREADS
;
2277 _result
= new wxSize (wxRect_GetSize(_arg0
));
2279 wxPy_END_ALLOW_THREADS
;
2280 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2281 _resultobj
= Py_BuildValue("s",_ptemp
);
2285 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2286 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
* _resultobj
;
2291 PyObject
* _obj0
= 0;
2292 char *_kwnames
[] = { "self", NULL
};
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2299 if (! wxRect_helper(_obj0
, &_arg0
))
2303 wxPy_BEGIN_ALLOW_THREADS
;
2304 _result
= (int )wxRect_GetLeft(_arg0
);
2306 wxPy_END_ALLOW_THREADS
;
2307 } _resultobj
= Py_BuildValue("i",_result
);
2311 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2312 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
* _resultobj
;
2317 PyObject
* _obj0
= 0;
2318 char *_kwnames
[] = { "self", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2325 if (! wxRect_helper(_obj0
, &_arg0
))
2329 wxPy_BEGIN_ALLOW_THREADS
;
2330 _result
= (int )wxRect_GetTop(_arg0
);
2332 wxPy_END_ALLOW_THREADS
;
2333 } _resultobj
= Py_BuildValue("i",_result
);
2337 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2338 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2343 PyObject
* _obj0
= 0;
2344 char *_kwnames
[] = { "self", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2351 if (! wxRect_helper(_obj0
, &_arg0
))
2355 wxPy_BEGIN_ALLOW_THREADS
;
2356 _result
= (int )wxRect_GetBottom(_arg0
);
2358 wxPy_END_ALLOW_THREADS
;
2359 } _resultobj
= Py_BuildValue("i",_result
);
2363 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2364 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
* _resultobj
;
2369 PyObject
* _obj0
= 0;
2370 char *_kwnames
[] = { "self", NULL
};
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2377 if (! wxRect_helper(_obj0
, &_arg0
))
2381 wxPy_BEGIN_ALLOW_THREADS
;
2382 _result
= (int )wxRect_GetRight(_arg0
);
2384 wxPy_END_ALLOW_THREADS
;
2385 } _resultobj
= Py_BuildValue("i",_result
);
2389 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2390 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
* _resultobj
;
2395 PyObject
* _obj0
= 0;
2396 char *_kwnames
[] = { "self","left", NULL
};
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2403 if (! wxRect_helper(_obj0
, &_arg0
))
2407 wxPy_BEGIN_ALLOW_THREADS
;
2408 wxRect_SetLeft(_arg0
,_arg1
);
2410 wxPy_END_ALLOW_THREADS
;
2411 } Py_INCREF(Py_None
);
2412 _resultobj
= Py_None
;
2416 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2417 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2422 PyObject
* _obj0
= 0;
2423 char *_kwnames
[] = { "self","right", NULL
};
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2430 if (! wxRect_helper(_obj0
, &_arg0
))
2434 wxPy_BEGIN_ALLOW_THREADS
;
2435 wxRect_SetRight(_arg0
,_arg1
);
2437 wxPy_END_ALLOW_THREADS
;
2438 } Py_INCREF(Py_None
);
2439 _resultobj
= Py_None
;
2443 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2444 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2449 PyObject
* _obj0
= 0;
2450 char *_kwnames
[] = { "self","top", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2457 if (! wxRect_helper(_obj0
, &_arg0
))
2461 wxPy_BEGIN_ALLOW_THREADS
;
2462 wxRect_SetTop(_arg0
,_arg1
);
2464 wxPy_END_ALLOW_THREADS
;
2465 } Py_INCREF(Py_None
);
2466 _resultobj
= Py_None
;
2470 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2471 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2476 PyObject
* _obj0
= 0;
2477 char *_kwnames
[] = { "self","bottom", NULL
};
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2484 if (! wxRect_helper(_obj0
, &_arg0
))
2488 wxPy_BEGIN_ALLOW_THREADS
;
2489 wxRect_SetBottom(_arg0
,_arg1
);
2491 wxPy_END_ALLOW_THREADS
;
2492 } Py_INCREF(Py_None
);
2493 _resultobj
= Py_None
;
2497 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2498 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
* _resultobj
;
2504 PyObject
* _obj0
= 0;
2505 char *_kwnames
[] = { "self","dx","dy", NULL
};
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2512 if (! wxRect_helper(_obj0
, &_arg0
))
2516 wxPy_BEGIN_ALLOW_THREADS
;
2517 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2519 wxPy_END_ALLOW_THREADS
;
2520 } Py_INCREF(Py_None
);
2521 _resultobj
= Py_None
;
2525 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2526 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
* _resultobj
;
2533 PyObject
* _obj0
= 0;
2534 char *_kwnames
[] = { "self","cx","cy", NULL
};
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2541 if (! wxRect_helper(_obj0
, &_arg0
))
2545 wxPy_BEGIN_ALLOW_THREADS
;
2546 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2548 wxPy_END_ALLOW_THREADS
;
2549 } _resultobj
= Py_BuildValue("i",_result
);
2553 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2554 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
* _resultobj
;
2560 PyObject
* _obj0
= 0;
2561 char *_kwnames
[] = { "self","x", NULL
};
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2568 if (! wxRect_helper(_obj0
, &_arg0
))
2572 wxPy_BEGIN_ALLOW_THREADS
;
2573 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2575 wxPy_END_ALLOW_THREADS
;
2576 } _resultobj
= Py_BuildValue("i",_result
);
2580 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2581 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2582 PyObject
* _resultobj
;
2586 PyObject
* _obj0
= 0;
2587 char *_kwnames
[] = { "self", NULL
};
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2594 if (! wxRect_helper(_obj0
, &_arg0
))
2598 wxPy_BEGIN_ALLOW_THREADS
;
2599 _result
= (int )wxRect_x_get(_arg0
);
2601 wxPy_END_ALLOW_THREADS
;
2602 } _resultobj
= Py_BuildValue("i",_result
);
2606 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2607 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2613 PyObject
* _obj0
= 0;
2614 char *_kwnames
[] = { "self","y", NULL
};
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2621 if (! wxRect_helper(_obj0
, &_arg0
))
2625 wxPy_BEGIN_ALLOW_THREADS
;
2626 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2628 wxPy_END_ALLOW_THREADS
;
2629 } _resultobj
= Py_BuildValue("i",_result
);
2633 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2634 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2639 PyObject
* _obj0
= 0;
2640 char *_kwnames
[] = { "self", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2647 if (! wxRect_helper(_obj0
, &_arg0
))
2651 wxPy_BEGIN_ALLOW_THREADS
;
2652 _result
= (int )wxRect_y_get(_arg0
);
2654 wxPy_END_ALLOW_THREADS
;
2655 } _resultobj
= Py_BuildValue("i",_result
);
2659 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2660 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2666 PyObject
* _obj0
= 0;
2667 char *_kwnames
[] = { "self","width", NULL
};
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2674 if (! wxRect_helper(_obj0
, &_arg0
))
2678 wxPy_BEGIN_ALLOW_THREADS
;
2679 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2681 wxPy_END_ALLOW_THREADS
;
2682 } _resultobj
= Py_BuildValue("i",_result
);
2686 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2687 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2692 PyObject
* _obj0
= 0;
2693 char *_kwnames
[] = { "self", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2700 if (! wxRect_helper(_obj0
, &_arg0
))
2704 wxPy_BEGIN_ALLOW_THREADS
;
2705 _result
= (int )wxRect_width_get(_arg0
);
2707 wxPy_END_ALLOW_THREADS
;
2708 } _resultobj
= Py_BuildValue("i",_result
);
2712 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2713 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
* _resultobj
;
2719 PyObject
* _obj0
= 0;
2720 char *_kwnames
[] = { "self","height", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2727 if (! wxRect_helper(_obj0
, &_arg0
))
2731 wxPy_BEGIN_ALLOW_THREADS
;
2732 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2734 wxPy_END_ALLOW_THREADS
;
2735 } _resultobj
= Py_BuildValue("i",_result
);
2739 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2740 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
* _resultobj
;
2745 PyObject
* _obj0
= 0;
2746 char *_kwnames
[] = { "self", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2753 if (! wxRect_helper(_obj0
, &_arg0
))
2757 wxPy_BEGIN_ALLOW_THREADS
;
2758 _result
= (int )wxRect_height_get(_arg0
);
2760 wxPy_END_ALLOW_THREADS
;
2761 } _resultobj
= Py_BuildValue("i",_result
);
2765 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2766 PyObject
* tup
= PyTuple_New(4);
2767 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2768 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2769 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2770 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2773 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2778 PyObject
* _obj0
= 0;
2779 char *_kwnames
[] = { "self", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2786 if (! wxRect_helper(_obj0
, &_arg0
))
2790 wxPy_BEGIN_ALLOW_THREADS
;
2791 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2793 wxPy_END_ALLOW_THREADS
;
2795 _resultobj
= _result
;
2800 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2801 if (! rect
) return *self
;
2802 return *self
+ *rect
;
2804 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2810 PyObject
* _obj0
= 0;
2812 PyObject
* _obj1
= 0;
2813 char *_kwnames
[] = { "self","rect", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2821 if (! wxRect_helper(_obj0
, &_arg0
))
2826 if (! wxRect_helper(_obj1
, &_arg1
))
2830 wxPy_BEGIN_ALLOW_THREADS
;
2831 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2833 wxPy_END_ALLOW_THREADS
;
2834 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2835 _resultobj
= Py_BuildValue("s",_ptemp
);
2839 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
2840 if (! rect
) return 0;
2841 return *self
== *rect
;
2843 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2849 PyObject
* _obj0
= 0;
2851 PyObject
* _obj1
= 0;
2852 char *_kwnames
[] = { "self","rect", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
2859 if (! wxRect_helper(_obj0
, &_arg0
))
2864 if (! wxRect_helper(_obj1
, &_arg1
))
2868 wxPy_BEGIN_ALLOW_THREADS
;
2869 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
2871 wxPy_END_ALLOW_THREADS
;
2872 } _resultobj
= Py_BuildValue("i",_result
);
2876 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2877 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2879 wxIndividualLayoutConstraint
* _arg0
;
2881 int _arg2
= (int ) 0;
2882 PyObject
* _argo0
= 0;
2883 PyObject
* _argo1
= 0;
2884 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2904 wxPy_BEGIN_ALLOW_THREADS
;
2905 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2907 wxPy_END_ALLOW_THREADS
;
2908 } Py_INCREF(Py_None
);
2909 _resultobj
= Py_None
;
2913 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2914 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2916 wxIndividualLayoutConstraint
* _arg0
;
2918 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self","value", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2932 wxPy_BEGIN_ALLOW_THREADS
;
2933 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2935 wxPy_END_ALLOW_THREADS
;
2936 } Py_INCREF(Py_None
);
2937 _resultobj
= Py_None
;
2941 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2942 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
* _resultobj
;
2944 wxIndividualLayoutConstraint
* _arg0
;
2945 PyObject
* _argo0
= 0;
2946 char *_kwnames
[] = { "self", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2959 wxPy_BEGIN_ALLOW_THREADS
;
2960 wxIndividualLayoutConstraint_AsIs(_arg0
);
2962 wxPy_END_ALLOW_THREADS
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2968 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2969 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2971 wxIndividualLayoutConstraint
* _arg0
;
2973 int _arg2
= (int ) 0;
2974 PyObject
* _argo0
= 0;
2975 PyObject
* _argo1
= 0;
2976 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2989 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2990 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2996 wxPy_BEGIN_ALLOW_THREADS
;
2997 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2999 wxPy_END_ALLOW_THREADS
;
3000 } Py_INCREF(Py_None
);
3001 _resultobj
= Py_None
;
3005 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3006 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
* _resultobj
;
3008 wxIndividualLayoutConstraint
* _arg0
;
3009 PyObject
* _argo0
= 0;
3010 char *_kwnames
[] = { "self", NULL
};
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3023 wxPy_BEGIN_ALLOW_THREADS
;
3024 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3026 wxPy_END_ALLOW_THREADS
;
3027 } Py_INCREF(Py_None
);
3028 _resultobj
= Py_None
;
3032 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3033 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
* _resultobj
;
3035 wxIndividualLayoutConstraint
* _arg0
;
3037 int _arg2
= (int ) 0;
3038 PyObject
* _argo0
= 0;
3039 PyObject
* _argo1
= 0;
3040 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3053 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3054 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3060 wxPy_BEGIN_ALLOW_THREADS
;
3061 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3063 wxPy_END_ALLOW_THREADS
;
3064 } Py_INCREF(Py_None
);
3065 _resultobj
= Py_None
;
3069 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3070 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
* _resultobj
;
3072 wxIndividualLayoutConstraint
* _arg0
;
3076 PyObject
* _argo0
= 0;
3077 PyObject
* _argo1
= 0;
3078 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3101 wxPy_END_ALLOW_THREADS
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3108 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3110 wxIndividualLayoutConstraint
* _arg0
;
3112 int _arg2
= (int ) 0;
3113 PyObject
* _argo0
= 0;
3114 PyObject
* _argo1
= 0;
3115 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3135 wxPy_BEGIN_ALLOW_THREADS
;
3136 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3138 wxPy_END_ALLOW_THREADS
;
3139 } Py_INCREF(Py_None
);
3140 _resultobj
= Py_None
;
3144 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3145 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
* _resultobj
;
3147 wxIndividualLayoutConstraint
* _arg0
;
3150 int _arg3
= (int ) 0;
3151 PyObject
* _argo0
= 0;
3152 PyObject
* _argo1
= 0;
3153 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3173 wxPy_BEGIN_ALLOW_THREADS
;
3174 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3176 wxPy_END_ALLOW_THREADS
;
3177 } Py_INCREF(Py_None
);
3178 _resultobj
= Py_None
;
3182 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3183 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
* _resultobj
;
3185 wxIndividualLayoutConstraint
* _arg0
;
3186 wxRelationship _arg1
;
3189 int _arg4
= (int ) 0;
3190 int _arg5
= (int ) 0;
3191 PyObject
* _argo0
= 0;
3192 PyObject
* _argo2
= 0;
3193 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3206 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3213 wxPy_BEGIN_ALLOW_THREADS
;
3214 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3216 wxPy_END_ALLOW_THREADS
;
3217 } Py_INCREF(Py_None
);
3218 _resultobj
= Py_None
;
3222 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3223 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3225 wxLayoutConstraints
* _result
;
3226 char *_kwnames
[] = { NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3233 wxPy_BEGIN_ALLOW_THREADS
;
3234 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3236 wxPy_END_ALLOW_THREADS
;
3238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3239 _resultobj
= Py_BuildValue("s",_ptemp
);
3242 _resultobj
= Py_None
;
3247 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3248 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3250 wxIndividualLayoutConstraint
* _result
;
3251 wxLayoutConstraints
* _arg0
;
3252 PyObject
* _argo0
= 0;
3253 char *_kwnames
[] = { "self", NULL
};
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3267 wxPy_BEGIN_ALLOW_THREADS
;
3268 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3270 wxPy_END_ALLOW_THREADS
;
3272 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3273 _resultobj
= Py_BuildValue("s",_ptemp
);
3276 _resultobj
= Py_None
;
3281 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3282 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
* _resultobj
;
3284 wxIndividualLayoutConstraint
* _result
;
3285 wxLayoutConstraints
* _arg0
;
3286 PyObject
* _argo0
= 0;
3287 char *_kwnames
[] = { "self", NULL
};
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3301 wxPy_BEGIN_ALLOW_THREADS
;
3302 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3304 wxPy_END_ALLOW_THREADS
;
3306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3307 _resultobj
= Py_BuildValue("s",_ptemp
);
3310 _resultobj
= Py_None
;
3315 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3316 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3318 wxIndividualLayoutConstraint
* _result
;
3319 wxLayoutConstraints
* _arg0
;
3320 PyObject
* _argo0
= 0;
3321 char *_kwnames
[] = { "self", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3335 wxPy_BEGIN_ALLOW_THREADS
;
3336 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3338 wxPy_END_ALLOW_THREADS
;
3340 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3341 _resultobj
= Py_BuildValue("s",_ptemp
);
3344 _resultobj
= Py_None
;
3349 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3350 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3352 wxIndividualLayoutConstraint
* _result
;
3353 wxLayoutConstraints
* _arg0
;
3354 PyObject
* _argo0
= 0;
3355 char *_kwnames
[] = { "self", NULL
};
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3369 wxPy_BEGIN_ALLOW_THREADS
;
3370 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3372 wxPy_END_ALLOW_THREADS
;
3374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3375 _resultobj
= Py_BuildValue("s",_ptemp
);
3378 _resultobj
= Py_None
;
3383 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3384 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3386 wxIndividualLayoutConstraint
* _result
;
3387 wxLayoutConstraints
* _arg0
;
3388 PyObject
* _argo0
= 0;
3389 char *_kwnames
[] = { "self", NULL
};
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3403 wxPy_BEGIN_ALLOW_THREADS
;
3404 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3406 wxPy_END_ALLOW_THREADS
;
3408 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3409 _resultobj
= Py_BuildValue("s",_ptemp
);
3412 _resultobj
= Py_None
;
3417 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3418 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
* _resultobj
;
3420 wxIndividualLayoutConstraint
* _result
;
3421 wxLayoutConstraints
* _arg0
;
3422 PyObject
* _argo0
= 0;
3423 char *_kwnames
[] = { "self", NULL
};
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3437 wxPy_BEGIN_ALLOW_THREADS
;
3438 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3440 wxPy_END_ALLOW_THREADS
;
3442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3443 _resultobj
= Py_BuildValue("s",_ptemp
);
3446 _resultobj
= Py_None
;
3451 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3452 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3454 wxIndividualLayoutConstraint
* _result
;
3455 wxLayoutConstraints
* _arg0
;
3456 PyObject
* _argo0
= 0;
3457 char *_kwnames
[] = { "self", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3471 wxPy_BEGIN_ALLOW_THREADS
;
3472 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3474 wxPy_END_ALLOW_THREADS
;
3476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3477 _resultobj
= Py_BuildValue("s",_ptemp
);
3480 _resultobj
= Py_None
;
3485 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3486 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3488 wxIndividualLayoutConstraint
* _result
;
3489 wxLayoutConstraints
* _arg0
;
3490 PyObject
* _argo0
= 0;
3491 char *_kwnames
[] = { "self", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3508 wxPy_END_ALLOW_THREADS
;
3510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3511 _resultobj
= Py_BuildValue("s",_ptemp
);
3514 _resultobj
= Py_None
;
3519 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3520 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
* _resultobj
;
3523 long _arg0
= (long ) 0;
3524 long _arg1
= (long ) 0;
3525 long _arg2
= (long ) 0;
3526 long _arg3
= (long ) 0;
3527 char *_kwnames
[] = { "x","y","width","height", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3534 wxPy_BEGIN_ALLOW_THREADS
;
3535 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
3537 wxPy_END_ALLOW_THREADS
;
3539 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3540 _resultobj
= Py_BuildValue("s",_ptemp
);
3543 _resultobj
= Py_None
;
3548 #define delete_wxRegion(_swigobj) (delete _swigobj)
3549 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
* _resultobj
;
3552 PyObject
* _argo0
= 0;
3553 char *_kwnames
[] = { "self", NULL
};
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3566 wxPy_BEGIN_ALLOW_THREADS
;
3567 delete_wxRegion(_arg0
);
3569 wxPy_END_ALLOW_THREADS
;
3570 } Py_INCREF(Py_None
);
3571 _resultobj
= Py_None
;
3575 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3576 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
* _resultobj
;
3579 PyObject
* _argo0
= 0;
3580 char *_kwnames
[] = { "self", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3593 wxPy_BEGIN_ALLOW_THREADS
;
3594 wxRegion_Clear(_arg0
);
3596 wxPy_END_ALLOW_THREADS
;
3597 } Py_INCREF(Py_None
);
3598 _resultobj
= Py_None
;
3602 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3603 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3605 wxRegionContain _result
;
3609 PyObject
* _argo0
= 0;
3610 char *_kwnames
[] = { "self","x","y", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3623 wxPy_BEGIN_ALLOW_THREADS
;
3624 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3626 wxPy_END_ALLOW_THREADS
;
3627 } _resultobj
= Py_BuildValue("i",_result
);
3631 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3632 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
* _resultobj
;
3634 wxRegionContain _result
;
3637 PyObject
* _argo0
= 0;
3639 PyObject
* _obj1
= 0;
3640 char *_kwnames
[] = { "self","pt", NULL
};
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3654 if (! wxPoint_helper(_obj1
, &_arg1
))
3658 wxPy_BEGIN_ALLOW_THREADS
;
3659 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3661 wxPy_END_ALLOW_THREADS
;
3662 } _resultobj
= Py_BuildValue("i",_result
);
3666 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3667 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
* _resultobj
;
3669 wxRegionContain _result
;
3672 PyObject
* _argo0
= 0;
3674 PyObject
* _obj1
= 0;
3675 char *_kwnames
[] = { "self","rect", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3689 if (! wxRect_helper(_obj1
, &_arg1
))
3693 wxPy_BEGIN_ALLOW_THREADS
;
3694 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3696 wxPy_END_ALLOW_THREADS
;
3697 } _resultobj
= Py_BuildValue("i",_result
);
3701 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3702 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3704 wxRegionContain _result
;
3710 PyObject
* _argo0
= 0;
3711 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3724 wxPy_BEGIN_ALLOW_THREADS
;
3725 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3727 wxPy_END_ALLOW_THREADS
;
3728 } _resultobj
= Py_BuildValue("i",_result
);
3732 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3733 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3737 PyObject
* _argo0
= 0;
3738 char *_kwnames
[] = { "self", NULL
};
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3752 wxPy_BEGIN_ALLOW_THREADS
;
3753 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3755 wxPy_END_ALLOW_THREADS
;
3756 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3757 _resultobj
= Py_BuildValue("s",_ptemp
);
3761 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3762 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
* _resultobj
;
3770 PyObject
* _argo0
= 0;
3771 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3784 wxPy_BEGIN_ALLOW_THREADS
;
3785 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3787 wxPy_END_ALLOW_THREADS
;
3788 } _resultobj
= Py_BuildValue("i",_result
);
3792 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3793 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
* _resultobj
;
3798 PyObject
* _argo0
= 0;
3800 PyObject
* _obj1
= 0;
3801 char *_kwnames
[] = { "self","rect", NULL
};
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
3807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3815 if (! wxRect_helper(_obj1
, &_arg1
))
3819 wxPy_BEGIN_ALLOW_THREADS
;
3820 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
3822 wxPy_END_ALLOW_THREADS
;
3823 } _resultobj
= Py_BuildValue("i",_result
);
3827 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3828 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
* _resultobj
;
3833 PyObject
* _argo0
= 0;
3834 PyObject
* _argo1
= 0;
3835 char *_kwnames
[] = { "self","region", NULL
};
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
3841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3855 wxPy_BEGIN_ALLOW_THREADS
;
3856 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
3858 wxPy_END_ALLOW_THREADS
;
3859 } _resultobj
= Py_BuildValue("i",_result
);
3863 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3864 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3868 PyObject
* _argo0
= 0;
3869 char *_kwnames
[] = { "self", NULL
};
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3885 wxPy_END_ALLOW_THREADS
;
3886 } _resultobj
= Py_BuildValue("i",_result
);
3890 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3891 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3899 PyObject
* _argo0
= 0;
3900 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3913 wxPy_BEGIN_ALLOW_THREADS
;
3914 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3916 wxPy_END_ALLOW_THREADS
;
3917 } _resultobj
= Py_BuildValue("i",_result
);
3921 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3922 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
* _resultobj
;
3927 PyObject
* _argo0
= 0;
3929 PyObject
* _obj1
= 0;
3930 char *_kwnames
[] = { "self","rect", NULL
};
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
3936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3944 if (! wxRect_helper(_obj1
, &_arg1
))
3948 wxPy_BEGIN_ALLOW_THREADS
;
3949 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
3951 wxPy_END_ALLOW_THREADS
;
3952 } _resultobj
= Py_BuildValue("i",_result
);
3956 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3957 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
* _resultobj
;
3962 PyObject
* _argo0
= 0;
3963 PyObject
* _argo1
= 0;
3964 char *_kwnames
[] = { "self","region", NULL
};
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
3970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3977 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
3987 wxPy_END_ALLOW_THREADS
;
3988 } _resultobj
= Py_BuildValue("i",_result
);
3992 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3993 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
* _resultobj
;
4001 PyObject
* _argo0
= 0;
4002 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
4015 wxPy_BEGIN_ALLOW_THREADS
;
4016 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4018 wxPy_END_ALLOW_THREADS
;
4019 } _resultobj
= Py_BuildValue("i",_result
);
4023 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4024 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4029 PyObject
* _argo0
= 0;
4031 PyObject
* _obj1
= 0;
4032 char *_kwnames
[] = { "self","rect", NULL
};
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
4038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
4046 if (! wxRect_helper(_obj1
, &_arg1
))
4050 wxPy_BEGIN_ALLOW_THREADS
;
4051 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
4053 wxPy_END_ALLOW_THREADS
;
4054 } _resultobj
= Py_BuildValue("i",_result
);
4058 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4059 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
* _resultobj
;
4064 PyObject
* _argo0
= 0;
4065 PyObject
* _argo1
= 0;
4066 char *_kwnames
[] = { "self","region", NULL
};
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
4072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4079 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4086 wxPy_BEGIN_ALLOW_THREADS
;
4087 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
4089 wxPy_END_ALLOW_THREADS
;
4090 } _resultobj
= Py_BuildValue("i",_result
);
4094 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4095 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
* _resultobj
;
4103 PyObject
* _argo0
= 0;
4104 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
4117 wxPy_BEGIN_ALLOW_THREADS
;
4118 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4120 wxPy_END_ALLOW_THREADS
;
4121 } _resultobj
= Py_BuildValue("i",_result
);
4125 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4126 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4131 PyObject
* _argo0
= 0;
4133 PyObject
* _obj1
= 0;
4134 char *_kwnames
[] = { "self","rect", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
4148 if (! wxRect_helper(_obj1
, &_arg1
))
4152 wxPy_BEGIN_ALLOW_THREADS
;
4153 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
4155 wxPy_END_ALLOW_THREADS
;
4156 } _resultobj
= Py_BuildValue("i",_result
);
4160 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4161 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
* _resultobj
;
4166 PyObject
* _argo0
= 0;
4167 PyObject
* _argo1
= 0;
4168 char *_kwnames
[] = { "self","region", NULL
};
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
4174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
4181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
4188 wxPy_BEGIN_ALLOW_THREADS
;
4189 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
4191 wxPy_END_ALLOW_THREADS
;
4192 } _resultobj
= Py_BuildValue("i",_result
);
4196 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
4197 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
* _resultobj
;
4199 wxRegionIterator
* _result
;
4201 PyObject
* _argo0
= 0;
4202 char *_kwnames
[] = { "region", NULL
};
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
4209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
4216 wxPy_BEGIN_ALLOW_THREADS
;
4217 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
4219 wxPy_END_ALLOW_THREADS
;
4221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
4222 _resultobj
= Py_BuildValue("s",_ptemp
);
4225 _resultobj
= Py_None
;
4230 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
4231 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4233 wxRegionIterator
* _arg0
;
4234 PyObject
* _argo0
= 0;
4235 char *_kwnames
[] = { "self", NULL
};
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
4241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
4248 wxPy_BEGIN_ALLOW_THREADS
;
4249 delete_wxRegionIterator(_arg0
);
4251 wxPy_END_ALLOW_THREADS
;
4252 } Py_INCREF(Py_None
);
4253 _resultobj
= Py_None
;
4257 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
4258 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4261 wxRegionIterator
* _arg0
;
4262 PyObject
* _argo0
= 0;
4263 char *_kwnames
[] = { "self", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 _result
= (long )wxRegionIterator_GetX(_arg0
);
4279 wxPy_END_ALLOW_THREADS
;
4280 } _resultobj
= Py_BuildValue("l",_result
);
4284 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
4285 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4288 wxRegionIterator
* _arg0
;
4289 PyObject
* _argo0
= 0;
4290 char *_kwnames
[] = { "self", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
4296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
4303 wxPy_BEGIN_ALLOW_THREADS
;
4304 _result
= (long )wxRegionIterator_GetY(_arg0
);
4306 wxPy_END_ALLOW_THREADS
;
4307 } _resultobj
= Py_BuildValue("l",_result
);
4311 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
4312 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4315 wxRegionIterator
* _arg0
;
4316 PyObject
* _argo0
= 0;
4317 char *_kwnames
[] = { "self", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
4330 wxPy_BEGIN_ALLOW_THREADS
;
4331 _result
= (long )wxRegionIterator_GetW(_arg0
);
4333 wxPy_END_ALLOW_THREADS
;
4334 } _resultobj
= Py_BuildValue("l",_result
);
4338 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
4339 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4342 wxRegionIterator
* _arg0
;
4343 PyObject
* _argo0
= 0;
4344 char *_kwnames
[] = { "self", NULL
};
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
4350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
4357 wxPy_BEGIN_ALLOW_THREADS
;
4358 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
4360 wxPy_END_ALLOW_THREADS
;
4361 } _resultobj
= Py_BuildValue("l",_result
);
4365 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
4366 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
* _resultobj
;
4369 wxRegionIterator
* _arg0
;
4370 PyObject
* _argo0
= 0;
4371 char *_kwnames
[] = { "self", NULL
};
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
4384 wxPy_BEGIN_ALLOW_THREADS
;
4385 _result
= (long )wxRegionIterator_GetH(_arg0
);
4387 wxPy_END_ALLOW_THREADS
;
4388 } _resultobj
= Py_BuildValue("l",_result
);
4392 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
4393 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
* _resultobj
;
4396 wxRegionIterator
* _arg0
;
4397 PyObject
* _argo0
= 0;
4398 char *_kwnames
[] = { "self", NULL
};
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
4404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
4411 wxPy_BEGIN_ALLOW_THREADS
;
4412 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
4414 wxPy_END_ALLOW_THREADS
;
4415 } _resultobj
= Py_BuildValue("l",_result
);
4419 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
4420 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
* _resultobj
;
4423 wxRegionIterator
* _arg0
;
4424 PyObject
* _argo0
= 0;
4425 char *_kwnames
[] = { "self", NULL
};
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4439 wxPy_BEGIN_ALLOW_THREADS
;
4440 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4442 wxPy_END_ALLOW_THREADS
;
4443 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4444 _resultobj
= Py_BuildValue("s",_ptemp
);
4448 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4449 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4452 wxRegionIterator
* _arg0
;
4453 PyObject
* _argo0
= 0;
4454 char *_kwnames
[] = { "self", NULL
};
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4467 wxPy_BEGIN_ALLOW_THREADS
;
4468 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4470 wxPy_END_ALLOW_THREADS
;
4471 } _resultobj
= Py_BuildValue("i",_result
);
4475 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4476 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
* _resultobj
;
4478 wxRegionIterator
* _arg0
;
4479 PyObject
* _argo0
= 0;
4480 char *_kwnames
[] = { "self", NULL
};
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4493 wxPy_BEGIN_ALLOW_THREADS
;
4494 wxRegionIterator_Reset(_arg0
);
4496 wxPy_END_ALLOW_THREADS
;
4497 } Py_INCREF(Py_None
);
4498 _resultobj
= Py_None
;
4502 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4505 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
* _resultobj
;
4507 wxRegionIterator
* _arg0
;
4508 PyObject
* _argo0
= 0;
4509 char *_kwnames
[] = { "self", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4522 wxPy_BEGIN_ALLOW_THREADS
;
4523 wxRegionIterator_Next(_arg0
);
4525 wxPy_END_ALLOW_THREADS
;
4526 } Py_INCREF(Py_None
);
4527 _resultobj
= Py_None
;
4531 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4532 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
* _resultobj
;
4534 wxAcceleratorEntry
* _result
;
4535 int _arg0
= (int ) 0;
4536 int _arg1
= (int ) 0;
4537 int _arg2
= (int ) 0;
4538 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4545 wxPy_BEGIN_ALLOW_THREADS
;
4546 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4548 wxPy_END_ALLOW_THREADS
;
4550 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4551 _resultobj
= Py_BuildValue("s",_ptemp
);
4554 _resultobj
= Py_None
;
4559 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4560 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
* _resultobj
;
4562 wxAcceleratorEntry
* _arg0
;
4563 PyObject
* _argo0
= 0;
4564 char *_kwnames
[] = { "self", NULL
};
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4577 wxPy_BEGIN_ALLOW_THREADS
;
4578 delete_wxAcceleratorEntry(_arg0
);
4580 wxPy_END_ALLOW_THREADS
;
4581 } Py_INCREF(Py_None
);
4582 _resultobj
= Py_None
;
4586 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4587 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4589 wxAcceleratorEntry
* _arg0
;
4593 PyObject
* _argo0
= 0;
4594 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4607 wxPy_BEGIN_ALLOW_THREADS
;
4608 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4610 wxPy_END_ALLOW_THREADS
;
4611 } Py_INCREF(Py_None
);
4612 _resultobj
= Py_None
;
4616 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4617 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
* _resultobj
;
4620 wxAcceleratorEntry
* _arg0
;
4621 PyObject
* _argo0
= 0;
4622 char *_kwnames
[] = { "self", NULL
};
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4635 wxPy_BEGIN_ALLOW_THREADS
;
4636 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4638 wxPy_END_ALLOW_THREADS
;
4639 } _resultobj
= Py_BuildValue("i",_result
);
4643 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4644 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4647 wxAcceleratorEntry
* _arg0
;
4648 PyObject
* _argo0
= 0;
4649 char *_kwnames
[] = { "self", NULL
};
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4662 wxPy_BEGIN_ALLOW_THREADS
;
4663 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4665 wxPy_END_ALLOW_THREADS
;
4666 } _resultobj
= Py_BuildValue("i",_result
);
4670 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4671 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4674 wxAcceleratorEntry
* _arg0
;
4675 PyObject
* _argo0
= 0;
4676 char *_kwnames
[] = { "self", NULL
};
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4689 wxPy_BEGIN_ALLOW_THREADS
;
4690 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4692 wxPy_END_ALLOW_THREADS
;
4693 } _resultobj
= Py_BuildValue("i",_result
);
4697 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4698 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
* _resultobj
;
4700 wxAcceleratorTable
* _result
;
4702 wxAcceleratorEntry
* _arg1
;
4703 PyObject
* _obj1
= 0;
4704 char *_kwnames
[] = { "choices", NULL
};
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4712 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4713 if (_arg1
== NULL
) {
4719 _arg0
= PyList_Size(_obj1
);
4726 wxPy_BEGIN_ALLOW_THREADS
;
4727 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4729 wxPy_END_ALLOW_THREADS
;
4731 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4732 _resultobj
= Py_BuildValue("s",_ptemp
);
4735 _resultobj
= Py_None
;
4743 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4744 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
* _resultobj
;
4746 wxAcceleratorTable
* _arg0
;
4747 PyObject
* _argo0
= 0;
4748 char *_kwnames
[] = { "self", NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4761 wxPy_BEGIN_ALLOW_THREADS
;
4762 delete_wxAcceleratorTable(_arg0
);
4764 wxPy_END_ALLOW_THREADS
;
4765 } Py_INCREF(Py_None
);
4766 _resultobj
= Py_None
;
4770 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4771 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
* _resultobj
;
4773 wxBusyInfo
* _result
;
4775 PyObject
* _obj0
= 0;
4776 char *_kwnames
[] = { "message", NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4783 #if PYTHON_API_VERSION >= 1009
4784 char* tmpPtr
; int tmpSize
;
4785 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4786 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4789 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4791 _arg0
= new wxString(tmpPtr
, tmpSize
);
4793 if (!PyString_Check(_obj0
)) {
4794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4797 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4801 wxPy_BEGIN_ALLOW_THREADS
;
4802 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4804 wxPy_END_ALLOW_THREADS
;
4806 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4807 _resultobj
= Py_BuildValue("s",_ptemp
);
4810 _resultobj
= Py_None
;
4819 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4820 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
* _resultobj
;
4823 PyObject
* _argo0
= 0;
4824 char *_kwnames
[] = { "self", NULL
};
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4837 wxPy_BEGIN_ALLOW_THREADS
;
4838 delete_wxBusyInfo(_arg0
);
4840 wxPy_END_ALLOW_THREADS
;
4841 } Py_INCREF(Py_None
);
4842 _resultobj
= Py_None
;
4846 static PyMethodDef misccMethods
[] = {
4847 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4848 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4849 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4850 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4851 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4852 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4853 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4854 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4855 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4856 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4857 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4858 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4859 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4860 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4861 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4862 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4863 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4864 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4865 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4866 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4867 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4868 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4869 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
4870 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
4871 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4872 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
4873 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
4874 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4875 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
4876 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
4877 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4878 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4879 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
4880 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4881 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4882 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4883 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
4884 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4885 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4886 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4887 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4888 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4889 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4890 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4891 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4892 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4893 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4894 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4895 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4896 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4897 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4898 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4899 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4900 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4901 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4902 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4903 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4904 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4905 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4906 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4907 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4908 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4909 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4910 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4911 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4912 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4913 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4914 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4915 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4916 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4917 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4918 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4919 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4920 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4921 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4922 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4923 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4924 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4925 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4926 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4927 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4928 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4929 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4930 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4931 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4932 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4933 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4934 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4935 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4936 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4937 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4938 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4939 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4940 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4941 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4942 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4943 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4944 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4945 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4946 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4947 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4948 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4949 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4950 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4951 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4952 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4975 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4976 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4977 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4978 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4979 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4980 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4981 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4982 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4983 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4984 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4985 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4986 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4987 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4988 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4989 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4990 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4991 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4992 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4993 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4994 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4995 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4996 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4997 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4998 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4999 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
5000 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
5001 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
5002 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
5003 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
5004 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5005 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
5006 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
5007 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
5008 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
5009 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
5010 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
5011 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
5012 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
5019 * This table is used by the pointer type-checker
5021 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5022 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
5023 { "_signed_long","_long",0},
5024 { "_wxPrintQuality","_wxCoord",0},
5025 { "_wxPrintQuality","_int",0},
5026 { "_wxPrintQuality","_signed_int",0},
5027 { "_wxPrintQuality","_unsigned_int",0},
5028 { "_wxPrintQuality","_wxWindowID",0},
5029 { "_wxPrintQuality","_uint",0},
5030 { "_wxPrintQuality","_EBool",0},
5031 { "_wxPrintQuality","_size_t",0},
5032 { "_wxPrintQuality","_time_t",0},
5033 { "_class_wxRegionIterator","_wxRegionIterator",0},
5034 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
5035 { "_byte","_unsigned_char",0},
5036 { "_long","_unsigned_long",0},
5037 { "_long","_signed_long",0},
5038 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5039 { "_size_t","_wxCoord",0},
5040 { "_size_t","_wxPrintQuality",0},
5041 { "_size_t","_time_t",0},
5042 { "_size_t","_unsigned_int",0},
5043 { "_size_t","_int",0},
5044 { "_size_t","_wxWindowID",0},
5045 { "_size_t","_uint",0},
5046 { "_class_wxRealPoint","_wxRealPoint",0},
5047 { "_uint","_wxCoord",0},
5048 { "_uint","_wxPrintQuality",0},
5049 { "_uint","_time_t",0},
5050 { "_uint","_size_t",0},
5051 { "_uint","_unsigned_int",0},
5052 { "_uint","_int",0},
5053 { "_uint","_wxWindowID",0},
5054 { "_wxChar","_char",0},
5055 { "_wxRect","_class_wxRect",0},
5056 { "_wxPoint","_class_wxPoint",0},
5057 { "_char","_wxChar",0},
5058 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5059 { "_EBool","_wxCoord",0},
5060 { "_EBool","_wxPrintQuality",0},
5061 { "_EBool","_signed_int",0},
5062 { "_EBool","_int",0},
5063 { "_EBool","_wxWindowID",0},
5064 { "_class_wxRegion","_wxRegion",0},
5065 { "_unsigned_long","_long",0},
5066 { "_class_wxRect","_wxRect",0},
5067 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5068 { "_signed_int","_wxCoord",0},
5069 { "_signed_int","_wxPrintQuality",0},
5070 { "_signed_int","_EBool",0},
5071 { "_signed_int","_wxWindowID",0},
5072 { "_signed_int","_int",0},
5073 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5074 { "_WXTYPE","_short",0},
5075 { "_WXTYPE","_signed_short",0},
5076 { "_WXTYPE","_unsigned_short",0},
5077 { "_unsigned_short","_WXTYPE",0},
5078 { "_unsigned_short","_short",0},
5079 { "_wxBusyInfo","_class_wxBusyInfo",0},
5080 { "_class_wxPoint","_wxPoint",0},
5081 { "_wxRealPoint","_class_wxRealPoint",0},
5082 { "_signed_short","_WXTYPE",0},
5083 { "_signed_short","_short",0},
5084 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5085 { "_unsigned_char","_byte",0},
5086 { "_unsigned_int","_wxCoord",0},
5087 { "_unsigned_int","_wxPrintQuality",0},
5088 { "_unsigned_int","_time_t",0},
5089 { "_unsigned_int","_size_t",0},
5090 { "_unsigned_int","_uint",0},
5091 { "_unsigned_int","_wxWindowID",0},
5092 { "_unsigned_int","_int",0},
5093 { "_short","_WXTYPE",0},
5094 { "_short","_unsigned_short",0},
5095 { "_short","_signed_short",0},
5096 { "_wxWindowID","_wxCoord",0},
5097 { "_wxWindowID","_wxPrintQuality",0},
5098 { "_wxWindowID","_time_t",0},
5099 { "_wxWindowID","_size_t",0},
5100 { "_wxWindowID","_EBool",0},
5101 { "_wxWindowID","_uint",0},
5102 { "_wxWindowID","_int",0},
5103 { "_wxWindowID","_signed_int",0},
5104 { "_wxWindowID","_unsigned_int",0},
5105 { "_int","_wxCoord",0},
5106 { "_int","_wxPrintQuality",0},
5107 { "_int","_time_t",0},
5108 { "_int","_size_t",0},
5109 { "_int","_EBool",0},
5110 { "_int","_uint",0},
5111 { "_int","_wxWindowID",0},
5112 { "_int","_unsigned_int",0},
5113 { "_int","_signed_int",0},
5114 { "_time_t","_wxCoord",0},
5115 { "_time_t","_wxPrintQuality",0},
5116 { "_time_t","_unsigned_int",0},
5117 { "_time_t","_int",0},
5118 { "_time_t","_wxWindowID",0},
5119 { "_time_t","_uint",0},
5120 { "_time_t","_size_t",0},
5121 { "_wxSize","_class_wxSize",0},
5122 { "_wxRegionIterator","_class_wxRegionIterator",0},
5123 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5124 { "_wxCoord","_int",0},
5125 { "_wxCoord","_signed_int",0},
5126 { "_wxCoord","_unsigned_int",0},
5127 { "_wxCoord","_wxWindowID",0},
5128 { "_wxCoord","_uint",0},
5129 { "_wxCoord","_EBool",0},
5130 { "_wxCoord","_size_t",0},
5131 { "_wxCoord","_time_t",0},
5132 { "_wxCoord","_wxPrintQuality",0},
5133 { "_wxRegion","_class_wxRegion",0},
5134 { "_class_wxBusyInfo","_wxBusyInfo",0},
5135 { "_class_wxSize","_wxSize",0},
5138 static PyObject
*SWIG_globals
;
5142 SWIGEXPORT(void) initmiscc() {
5144 SWIG_globals
= SWIG_newvarlink();
5145 m
= Py_InitModule("miscc", misccMethods
);
5146 d
= PyModule_GetDict(m
);
5147 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5148 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5149 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5150 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5151 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5152 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5153 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5154 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5155 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5156 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5157 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5158 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5159 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5160 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5161 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5162 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5163 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5164 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5165 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5166 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
5167 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
5168 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
5169 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5170 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5173 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5174 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);