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_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
291 char *_kwnames
[] = { NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
297 wxPy_BEGIN_ALLOW_THREADS
;
300 wxPy_END_ALLOW_THREADS
;
301 } Py_INCREF(Py_None
);
302 _resultobj
= Py_None
;
306 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
307 PyObject
* _resultobj
;
309 bool _arg0
= (bool ) TRUE
;
310 int tempbool0
= (int) TRUE
;
311 char *_kwnames
[] = { "resetTimer", NULL
};
314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
316 _arg0
= (bool ) tempbool0
;
318 wxPy_BEGIN_ALLOW_THREADS
;
319 _result
= (long )wxGetElapsedTime(_arg0
);
321 wxPy_END_ALLOW_THREADS
;
322 } _resultobj
= Py_BuildValue("l",_result
);
326 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
327 PyObject
* _resultobj
;
332 char *_kwnames
[] = { NULL
};
341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
344 wxPy_BEGIN_ALLOW_THREADS
;
345 wxGetMousePosition(_arg0
,_arg1
);
347 wxPy_END_ALLOW_THREADS
;
348 } Py_INCREF(Py_None
);
349 _resultobj
= Py_None
;
352 o
= PyInt_FromLong((long) (*_arg0
));
353 _resultobj
= t_output_helper(_resultobj
, o
);
357 o
= PyInt_FromLong((long) (*_arg1
));
358 _resultobj
= t_output_helper(_resultobj
, o
);
363 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
364 PyObject
* _resultobj
;
366 char *_kwnames
[] = { NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
372 wxPy_BEGIN_ALLOW_THREADS
;
373 _result
= (bool )wxIsBusy();
375 wxPy_END_ALLOW_THREADS
;
376 } _resultobj
= Py_BuildValue("i",_result
);
380 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
383 char *_kwnames
[] = { NULL
};
386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
389 wxPy_BEGIN_ALLOW_THREADS
;
390 _result
= new wxString (wxNow());
392 wxPy_END_ALLOW_THREADS
;
394 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
402 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
405 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
406 PyObject
* _obj0
= 0;
407 char *_kwnames
[] = { "command", NULL
};
410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
414 #if PYTHON_API_VERSION >= 1009
415 char* tmpPtr
; int tmpSize
;
416 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
417 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
420 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
422 _arg0
= new wxString(tmpPtr
, tmpSize
);
424 if (!PyString_Check(_obj0
)) {
425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
428 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
432 wxPy_BEGIN_ALLOW_THREADS
;
433 _result
= (bool )wxShell(*_arg0
);
435 wxPy_END_ALLOW_THREADS
;
436 } _resultobj
= Py_BuildValue("i",_result
);
444 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
445 PyObject
* _resultobj
;
446 char *_kwnames
[] = { NULL
};
449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
452 wxPy_BEGIN_ALLOW_THREADS
;
455 wxPy_END_ALLOW_THREADS
;
456 } Py_INCREF(Py_None
);
457 _resultobj
= Py_None
;
461 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
462 PyObject
* _resultobj
;
468 char *_kwnames
[] = { NULL
};
477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
480 wxPy_BEGIN_ALLOW_THREADS
;
481 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
483 wxPy_END_ALLOW_THREADS
;
484 } _resultobj
= Py_BuildValue("i",_result
);
487 o
= PyInt_FromLong((long) (*_arg0
));
488 _resultobj
= t_output_helper(_resultobj
, o
);
492 o
= PyInt_FromLong((long) (*_arg1
));
493 _resultobj
= t_output_helper(_resultobj
, o
);
498 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
499 PyObject
* _resultobj
;
501 char *_kwnames
[] = { NULL
};
504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
507 wxPy_BEGIN_ALLOW_THREADS
;
508 _result
= new wxString (wxGetOsDescription());
510 wxPy_END_ALLOW_THREADS
;
512 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
520 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 char *_kwnames
[] = { "secs", NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
529 wxPy_BEGIN_ALLOW_THREADS
;
532 wxPy_END_ALLOW_THREADS
;
533 } Py_INCREF(Py_None
);
534 _resultobj
= Py_None
;
538 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
541 char *_kwnames
[] = { "milliseconds", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
547 wxPy_BEGIN_ALLOW_THREADS
;
550 wxPy_END_ALLOW_THREADS
;
551 } Py_INCREF(Py_None
);
552 _resultobj
= Py_None
;
556 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
557 PyObject
* _resultobj
;
559 char *_kwnames
[] = { NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
565 wxPy_BEGIN_ALLOW_THREADS
;
566 _result
= (bool )wxYield();
568 wxPy_END_ALLOW_THREADS
;
569 } _resultobj
= Py_BuildValue("i",_result
);
573 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
576 char *_kwnames
[] = { NULL
};
579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
582 wxPy_BEGIN_ALLOW_THREADS
;
583 _result
= (bool )wxYieldIfNeeded();
585 wxPy_END_ALLOW_THREADS
;
586 } _resultobj
= Py_BuildValue("i",_result
);
590 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
594 char *_kwnames
[] = { "enable", NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
599 _arg0
= (bool ) tempbool0
;
601 wxPy_BEGIN_ALLOW_THREADS
;
602 wxEnableTopLevelWindows(_arg0
);
604 wxPy_END_ALLOW_THREADS
;
605 } Py_INCREF(Py_None
);
606 _resultobj
= Py_None
;
610 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
615 char * _arg2
= (char *) NULL
;
616 char *_kwnames
[] = { "section","entry","file", NULL
};
619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
622 wxPy_BEGIN_ALLOW_THREADS
;
623 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
625 wxPy_END_ALLOW_THREADS
;
626 } _resultobj
= Py_BuildValue("s", _result
);
630 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
634 PyObject
* _obj0
= 0;
635 char *_kwnames
[] = { "in", NULL
};
638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
641 #if PYTHON_API_VERSION >= 1009
642 char* tmpPtr
; int tmpSize
;
643 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
644 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
647 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
649 _arg0
= new wxString(tmpPtr
, tmpSize
);
651 if (!PyString_Check(_obj0
)) {
652 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
655 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
659 wxPy_BEGIN_ALLOW_THREADS
;
660 _result
= new wxString (wxStripMenuCodes(*_arg0
));
662 wxPy_END_ALLOW_THREADS
;
664 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
676 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
677 PyObject
* _resultobj
;
679 char *_kwnames
[] = { NULL
};
682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
685 wxPy_BEGIN_ALLOW_THREADS
;
686 _result
= new wxString (wxGetEmailAddress());
688 wxPy_END_ALLOW_THREADS
;
690 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
698 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
701 char *_kwnames
[] = { NULL
};
704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
707 wxPy_BEGIN_ALLOW_THREADS
;
708 _result
= new wxString (wxGetHostName());
710 wxPy_END_ALLOW_THREADS
;
712 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
720 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
723 char *_kwnames
[] = { NULL
};
726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
729 wxPy_BEGIN_ALLOW_THREADS
;
730 _result
= new wxString (wxGetFullHostName());
732 wxPy_END_ALLOW_THREADS
;
734 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
742 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
743 PyObject
* _resultobj
;
745 char *_kwnames
[] = { NULL
};
748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
751 wxPy_BEGIN_ALLOW_THREADS
;
752 _result
= new wxString (wxGetUserId());
754 wxPy_END_ALLOW_THREADS
;
756 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
764 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
767 char *_kwnames
[] = { NULL
};
770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
773 wxPy_BEGIN_ALLOW_THREADS
;
774 _result
= new wxString (wxGetUserName());
776 wxPy_END_ALLOW_THREADS
;
778 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
786 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
787 PyObject
* _resultobj
;
789 char *_kwnames
[] = { NULL
};
792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
795 wxPy_BEGIN_ALLOW_THREADS
;
796 _result
= new wxString (wxGetHomeDir());
798 wxPy_END_ALLOW_THREADS
;
800 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
808 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
809 PyObject
* _resultobj
;
810 wxAcceleratorEntry
* _result
;
812 PyObject
* _obj0
= 0;
813 char *_kwnames
[] = { "label", NULL
};
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
820 #if PYTHON_API_VERSION >= 1009
821 char* tmpPtr
; int tmpSize
;
822 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
823 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
826 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
828 _arg0
= new wxString(tmpPtr
, tmpSize
);
830 if (!PyString_Check(_obj0
)) {
831 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
834 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
838 wxPy_BEGIN_ALLOW_THREADS
;
839 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
841 wxPy_END_ALLOW_THREADS
;
843 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
844 _resultobj
= Py_BuildValue("s",_ptemp
);
847 _resultobj
= Py_None
;
856 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
858 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
862 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
866 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
867 pyobj
= PyString_FromString(ptemp
);
871 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
872 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
873 PyObject
* _resultobj
;
878 PyObject
* _obj0
= 0;
879 char *_kwnames
[] = { "self","x", NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
886 if (! wxSize_helper(_obj0
, &_arg0
))
890 wxPy_BEGIN_ALLOW_THREADS
;
891 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
893 wxPy_END_ALLOW_THREADS
;
894 } _resultobj
= Py_BuildValue("l",_result
);
898 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
899 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
900 PyObject
* _resultobj
;
904 PyObject
* _obj0
= 0;
905 char *_kwnames
[] = { "self", NULL
};
908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
912 if (! wxSize_helper(_obj0
, &_arg0
))
916 wxPy_BEGIN_ALLOW_THREADS
;
917 _result
= (long )wxSize_x_get(_arg0
);
919 wxPy_END_ALLOW_THREADS
;
920 } _resultobj
= Py_BuildValue("l",_result
);
924 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
925 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
931 PyObject
* _obj0
= 0;
932 char *_kwnames
[] = { "self","y", NULL
};
935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
939 if (! wxSize_helper(_obj0
, &_arg0
))
943 wxPy_BEGIN_ALLOW_THREADS
;
944 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
946 wxPy_END_ALLOW_THREADS
;
947 } _resultobj
= Py_BuildValue("l",_result
);
951 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
952 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
957 PyObject
* _obj0
= 0;
958 char *_kwnames
[] = { "self", NULL
};
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
965 if (! wxSize_helper(_obj0
, &_arg0
))
969 wxPy_BEGIN_ALLOW_THREADS
;
970 _result
= (long )wxSize_y_get(_arg0
);
972 wxPy_END_ALLOW_THREADS
;
973 } _resultobj
= Py_BuildValue("l",_result
);
977 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
978 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
981 long _arg0
= (long ) 0;
982 long _arg1
= (long ) 0;
983 char *_kwnames
[] = { "w","h", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
990 wxPy_BEGIN_ALLOW_THREADS
;
991 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
993 wxPy_END_ALLOW_THREADS
;
995 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
996 _resultobj
= Py_BuildValue("s",_ptemp
);
999 _resultobj
= Py_None
;
1004 #define delete_wxSize(_swigobj) (delete _swigobj)
1005 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1009 PyObject
* _obj0
= 0;
1010 char *_kwnames
[] = { "self", NULL
};
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1017 if (! wxSize_helper(_obj0
, &_arg0
))
1021 wxPy_BEGIN_ALLOW_THREADS
;
1022 delete_wxSize(_arg0
);
1024 wxPy_END_ALLOW_THREADS
;
1025 } Py_INCREF(Py_None
);
1026 _resultobj
= Py_None
;
1030 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1031 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
* _resultobj
;
1037 PyObject
* _obj0
= 0;
1038 char *_kwnames
[] = { "self","w","h", NULL
};
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1045 if (! wxSize_helper(_obj0
, &_arg0
))
1049 wxPy_BEGIN_ALLOW_THREADS
;
1050 wxSize_Set(_arg0
,_arg1
,_arg2
);
1052 wxPy_END_ALLOW_THREADS
;
1053 } Py_INCREF(Py_None
);
1054 _resultobj
= Py_None
;
1058 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1059 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1064 PyObject
* _obj0
= 0;
1065 char *_kwnames
[] = { "self", NULL
};
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1072 if (! wxSize_helper(_obj0
, &_arg0
))
1076 wxPy_BEGIN_ALLOW_THREADS
;
1077 _result
= (long )wxSize_GetX(_arg0
);
1079 wxPy_END_ALLOW_THREADS
;
1080 } _resultobj
= Py_BuildValue("l",_result
);
1084 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1085 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1086 PyObject
* _resultobj
;
1090 PyObject
* _obj0
= 0;
1091 char *_kwnames
[] = { "self", NULL
};
1094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1098 if (! wxSize_helper(_obj0
, &_arg0
))
1102 wxPy_BEGIN_ALLOW_THREADS
;
1103 _result
= (long )wxSize_GetY(_arg0
);
1105 wxPy_END_ALLOW_THREADS
;
1106 } _resultobj
= Py_BuildValue("l",_result
);
1110 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1111 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1112 PyObject
* _resultobj
;
1116 PyObject
* _obj0
= 0;
1117 char *_kwnames
[] = { "self", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1124 if (! wxSize_helper(_obj0
, &_arg0
))
1128 wxPy_BEGIN_ALLOW_THREADS
;
1129 _result
= (long )wxSize_GetWidth(_arg0
);
1131 wxPy_END_ALLOW_THREADS
;
1132 } _resultobj
= Py_BuildValue("l",_result
);
1136 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1137 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1142 PyObject
* _obj0
= 0;
1143 char *_kwnames
[] = { "self", NULL
};
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1150 if (! wxSize_helper(_obj0
, &_arg0
))
1154 wxPy_BEGIN_ALLOW_THREADS
;
1155 _result
= (long )wxSize_GetHeight(_arg0
);
1157 wxPy_END_ALLOW_THREADS
;
1158 } _resultobj
= Py_BuildValue("l",_result
);
1162 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1163 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1168 PyObject
* _obj0
= 0;
1169 char *_kwnames
[] = { "self","w", NULL
};
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1176 if (! wxSize_helper(_obj0
, &_arg0
))
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 wxSize_SetWidth(_arg0
,_arg1
);
1183 wxPy_END_ALLOW_THREADS
;
1184 } Py_INCREF(Py_None
);
1185 _resultobj
= Py_None
;
1189 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1190 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1195 PyObject
* _obj0
= 0;
1196 char *_kwnames
[] = { "self","h", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1203 if (! wxSize_helper(_obj0
, &_arg0
))
1207 wxPy_BEGIN_ALLOW_THREADS
;
1208 wxSize_SetHeight(_arg0
,_arg1
);
1210 wxPy_END_ALLOW_THREADS
;
1211 } Py_INCREF(Py_None
);
1212 _resultobj
= Py_None
;
1216 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1217 PyObject
* tup
= PyTuple_New(2);
1218 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1219 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1222 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
* _resultobj
;
1227 PyObject
* _obj0
= 0;
1228 char *_kwnames
[] = { "self", NULL
};
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1235 if (! wxSize_helper(_obj0
, &_arg0
))
1239 wxPy_BEGIN_ALLOW_THREADS
;
1240 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1242 wxPy_END_ALLOW_THREADS
;
1244 _resultobj
= _result
;
1249 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1250 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1251 PyObject
* _resultobj
;
1253 wxRealPoint
* _arg0
;
1256 PyObject
* _obj0
= 0;
1257 char *_kwnames
[] = { "self","x", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1264 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1268 wxPy_BEGIN_ALLOW_THREADS
;
1269 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1271 wxPy_END_ALLOW_THREADS
;
1272 } _resultobj
= Py_BuildValue("d",_result
);
1276 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1277 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1280 wxRealPoint
* _arg0
;
1282 PyObject
* _obj0
= 0;
1283 char *_kwnames
[] = { "self", NULL
};
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1290 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1294 wxPy_BEGIN_ALLOW_THREADS
;
1295 _result
= (double )wxRealPoint_x_get(_arg0
);
1297 wxPy_END_ALLOW_THREADS
;
1298 } _resultobj
= Py_BuildValue("d",_result
);
1302 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1303 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
* _resultobj
;
1306 wxRealPoint
* _arg0
;
1309 PyObject
* _obj0
= 0;
1310 char *_kwnames
[] = { "self","y", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1317 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1321 wxPy_BEGIN_ALLOW_THREADS
;
1322 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1324 wxPy_END_ALLOW_THREADS
;
1325 } _resultobj
= Py_BuildValue("d",_result
);
1329 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1330 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
* _resultobj
;
1333 wxRealPoint
* _arg0
;
1335 PyObject
* _obj0
= 0;
1336 char *_kwnames
[] = { "self", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1343 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1347 wxPy_BEGIN_ALLOW_THREADS
;
1348 _result
= (double )wxRealPoint_y_get(_arg0
);
1350 wxPy_END_ALLOW_THREADS
;
1351 } _resultobj
= Py_BuildValue("d",_result
);
1355 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1356 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1358 wxRealPoint
* _result
;
1359 double _arg0
= (double ) 0.0;
1360 double _arg1
= (double ) 0.0;
1361 char *_kwnames
[] = { "x","y", NULL
};
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1368 wxPy_BEGIN_ALLOW_THREADS
;
1369 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1371 wxPy_END_ALLOW_THREADS
;
1373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1374 _resultobj
= Py_BuildValue("s",_ptemp
);
1377 _resultobj
= Py_None
;
1382 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1383 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1385 wxRealPoint
* _arg0
;
1387 PyObject
* _obj0
= 0;
1388 char *_kwnames
[] = { "self", NULL
};
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1395 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1399 wxPy_BEGIN_ALLOW_THREADS
;
1400 delete_wxRealPoint(_arg0
);
1402 wxPy_END_ALLOW_THREADS
;
1403 } Py_INCREF(Py_None
);
1404 _resultobj
= Py_None
;
1408 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1412 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1414 wxRealPoint
* _arg0
;
1418 PyObject
* _obj0
= 0;
1419 char *_kwnames
[] = { "self","x","y", NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1426 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1433 wxPy_END_ALLOW_THREADS
;
1434 } Py_INCREF(Py_None
);
1435 _resultobj
= Py_None
;
1439 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1440 PyObject
* tup
= PyTuple_New(2);
1441 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1442 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1445 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1448 wxRealPoint
* _arg0
;
1450 PyObject
* _obj0
= 0;
1451 char *_kwnames
[] = { "self", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1458 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1462 wxPy_BEGIN_ALLOW_THREADS
;
1463 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1465 wxPy_END_ALLOW_THREADS
;
1467 _resultobj
= _result
;
1472 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1473 if (! p
) return *self
;
1476 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1478 wxRealPoint
* _result
;
1479 wxRealPoint
* _arg0
;
1480 wxRealPoint
* _arg1
;
1482 PyObject
* _obj0
= 0;
1484 PyObject
* _obj1
= 0;
1485 char *_kwnames
[] = { "self","p", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1493 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1498 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1505 wxPy_END_ALLOW_THREADS
;
1506 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1507 _resultobj
= Py_BuildValue("s",_ptemp
);
1511 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1512 if (! p
) return *self
;
1515 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1517 wxRealPoint
* _result
;
1518 wxRealPoint
* _arg0
;
1519 wxRealPoint
* _arg1
;
1521 PyObject
* _obj0
= 0;
1523 PyObject
* _obj1
= 0;
1524 char *_kwnames
[] = { "self","p", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1532 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1537 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1544 wxPy_END_ALLOW_THREADS
;
1545 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1546 _resultobj
= Py_BuildValue("s",_ptemp
);
1550 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1554 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1557 wxRealPoint
* _arg0
;
1558 wxRealPoint
* _arg1
;
1560 PyObject
* _obj0
= 0;
1562 PyObject
* _obj1
= 0;
1563 char *_kwnames
[] = { "self","p", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1570 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1575 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1579 wxPy_BEGIN_ALLOW_THREADS
;
1580 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1582 wxPy_END_ALLOW_THREADS
;
1583 } _resultobj
= Py_BuildValue("i",_result
);
1587 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1588 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1594 PyObject
* _obj0
= 0;
1595 char *_kwnames
[] = { "self","x", NULL
};
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1602 if (! wxPoint_helper(_obj0
, &_arg0
))
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1609 wxPy_END_ALLOW_THREADS
;
1610 } _resultobj
= Py_BuildValue("l",_result
);
1614 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1615 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1620 PyObject
* _obj0
= 0;
1621 char *_kwnames
[] = { "self", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1628 if (! wxPoint_helper(_obj0
, &_arg0
))
1632 wxPy_BEGIN_ALLOW_THREADS
;
1633 _result
= (long )wxPoint_x_get(_arg0
);
1635 wxPy_END_ALLOW_THREADS
;
1636 } _resultobj
= Py_BuildValue("l",_result
);
1640 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1641 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
* _resultobj
;
1647 PyObject
* _obj0
= 0;
1648 char *_kwnames
[] = { "self","y", NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1655 if (! wxPoint_helper(_obj0
, &_arg0
))
1659 wxPy_BEGIN_ALLOW_THREADS
;
1660 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1662 wxPy_END_ALLOW_THREADS
;
1663 } _resultobj
= Py_BuildValue("l",_result
);
1667 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1668 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1673 PyObject
* _obj0
= 0;
1674 char *_kwnames
[] = { "self", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1681 if (! wxPoint_helper(_obj0
, &_arg0
))
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 _result
= (long )wxPoint_y_get(_arg0
);
1688 wxPy_END_ALLOW_THREADS
;
1689 } _resultobj
= Py_BuildValue("l",_result
);
1693 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1694 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1697 long _arg0
= (long ) 0;
1698 long _arg1
= (long ) 0;
1699 char *_kwnames
[] = { "x","y", NULL
};
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1706 wxPy_BEGIN_ALLOW_THREADS
;
1707 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1709 wxPy_END_ALLOW_THREADS
;
1711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1712 _resultobj
= Py_BuildValue("s",_ptemp
);
1715 _resultobj
= Py_None
;
1720 #define delete_wxPoint(_swigobj) (delete _swigobj)
1721 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
* _resultobj
;
1725 PyObject
* _obj0
= 0;
1726 char *_kwnames
[] = { "self", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1733 if (! wxPoint_helper(_obj0
, &_arg0
))
1737 wxPy_BEGIN_ALLOW_THREADS
;
1738 delete_wxPoint(_arg0
);
1740 wxPy_END_ALLOW_THREADS
;
1741 } Py_INCREF(Py_None
);
1742 _resultobj
= Py_None
;
1746 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1750 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1756 PyObject
* _obj0
= 0;
1757 char *_kwnames
[] = { "self","x","y", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1764 if (! wxPoint_helper(_obj0
, &_arg0
))
1768 wxPy_BEGIN_ALLOW_THREADS
;
1769 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1771 wxPy_END_ALLOW_THREADS
;
1772 } Py_INCREF(Py_None
);
1773 _resultobj
= Py_None
;
1777 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1778 PyObject
* tup
= PyTuple_New(2);
1779 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1780 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1783 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1784 PyObject
* _resultobj
;
1788 PyObject
* _obj0
= 0;
1789 char *_kwnames
[] = { "self", NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1796 if (! wxPoint_helper(_obj0
, &_arg0
))
1800 wxPy_BEGIN_ALLOW_THREADS
;
1801 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1803 wxPy_END_ALLOW_THREADS
;
1805 _resultobj
= _result
;
1810 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1811 if (! p
) return *self
;
1814 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1820 PyObject
* _obj0
= 0;
1822 PyObject
* _obj1
= 0;
1823 char *_kwnames
[] = { "self","p", NULL
};
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1831 if (! wxPoint_helper(_obj0
, &_arg0
))
1836 if (! wxPoint_helper(_obj1
, &_arg1
))
1840 wxPy_BEGIN_ALLOW_THREADS
;
1841 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
1843 wxPy_END_ALLOW_THREADS
;
1844 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1845 _resultobj
= Py_BuildValue("s",_ptemp
);
1849 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
1850 if (! p
) return *self
;
1853 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1859 PyObject
* _obj0
= 0;
1861 PyObject
* _obj1
= 0;
1862 char *_kwnames
[] = { "self","p", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1870 if (! wxPoint_helper(_obj0
, &_arg0
))
1875 if (! wxPoint_helper(_obj1
, &_arg1
))
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
1882 wxPy_END_ALLOW_THREADS
;
1883 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1884 _resultobj
= Py_BuildValue("s",_ptemp
);
1888 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
1892 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1898 PyObject
* _obj0
= 0;
1900 PyObject
* _obj1
= 0;
1901 char *_kwnames
[] = { "self","p", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1908 if (! wxPoint_helper(_obj0
, &_arg0
))
1913 if (! wxPoint_helper(_obj1
, &_arg1
))
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
1920 wxPy_END_ALLOW_THREADS
;
1921 } _resultobj
= Py_BuildValue("i",_result
);
1925 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1926 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1929 int _arg0
= (int ) 0;
1930 int _arg1
= (int ) 0;
1931 int _arg2
= (int ) 0;
1932 int _arg3
= (int ) 0;
1933 char *_kwnames
[] = { "x","y","w","h", NULL
};
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1940 wxPy_BEGIN_ALLOW_THREADS
;
1941 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1943 wxPy_END_ALLOW_THREADS
;
1945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1946 _resultobj
= Py_BuildValue("s",_ptemp
);
1949 _resultobj
= Py_None
;
1954 #define delete_wxRect(_swigobj) (delete _swigobj)
1955 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
* _resultobj
;
1959 PyObject
* _obj0
= 0;
1960 char *_kwnames
[] = { "self", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
1967 if (! wxRect_helper(_obj0
, &_arg0
))
1971 wxPy_BEGIN_ALLOW_THREADS
;
1972 delete_wxRect(_arg0
);
1974 wxPy_END_ALLOW_THREADS
;
1975 } Py_INCREF(Py_None
);
1976 _resultobj
= Py_None
;
1980 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1981 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1986 PyObject
* _obj0
= 0;
1987 char *_kwnames
[] = { "self", NULL
};
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
1994 if (! wxRect_helper(_obj0
, &_arg0
))
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 _result
= (int )wxRect_GetX(_arg0
);
2001 wxPy_END_ALLOW_THREADS
;
2002 } _resultobj
= Py_BuildValue("i",_result
);
2006 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2007 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2012 PyObject
* _obj0
= 0;
2013 char *_kwnames
[] = { "self","X", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2020 if (! wxRect_helper(_obj0
, &_arg0
))
2024 wxPy_BEGIN_ALLOW_THREADS
;
2025 wxRect_SetX(_arg0
,_arg1
);
2027 wxPy_END_ALLOW_THREADS
;
2028 } Py_INCREF(Py_None
);
2029 _resultobj
= Py_None
;
2033 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2034 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2039 PyObject
* _obj0
= 0;
2040 char *_kwnames
[] = { "self", NULL
};
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2047 if (! wxRect_helper(_obj0
, &_arg0
))
2051 wxPy_BEGIN_ALLOW_THREADS
;
2052 _result
= (int )wxRect_GetY(_arg0
);
2054 wxPy_END_ALLOW_THREADS
;
2055 } _resultobj
= Py_BuildValue("i",_result
);
2059 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2060 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2065 PyObject
* _obj0
= 0;
2066 char *_kwnames
[] = { "self","Y", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2073 if (! wxRect_helper(_obj0
, &_arg0
))
2077 wxPy_BEGIN_ALLOW_THREADS
;
2078 wxRect_SetY(_arg0
,_arg1
);
2080 wxPy_END_ALLOW_THREADS
;
2081 } Py_INCREF(Py_None
);
2082 _resultobj
= Py_None
;
2086 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2087 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2092 PyObject
* _obj0
= 0;
2093 char *_kwnames
[] = { "self", NULL
};
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2100 if (! wxRect_helper(_obj0
, &_arg0
))
2104 wxPy_BEGIN_ALLOW_THREADS
;
2105 _result
= (int )wxRect_GetWidth(_arg0
);
2107 wxPy_END_ALLOW_THREADS
;
2108 } _resultobj
= Py_BuildValue("i",_result
);
2112 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2113 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
* _resultobj
;
2118 PyObject
* _obj0
= 0;
2119 char *_kwnames
[] = { "self","w", NULL
};
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2126 if (! wxRect_helper(_obj0
, &_arg0
))
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 wxRect_SetWidth(_arg0
,_arg1
);
2133 wxPy_END_ALLOW_THREADS
;
2134 } Py_INCREF(Py_None
);
2135 _resultobj
= Py_None
;
2139 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2140 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
* _resultobj
;
2145 PyObject
* _obj0
= 0;
2146 char *_kwnames
[] = { "self", NULL
};
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2153 if (! wxRect_helper(_obj0
, &_arg0
))
2157 wxPy_BEGIN_ALLOW_THREADS
;
2158 _result
= (int )wxRect_GetHeight(_arg0
);
2160 wxPy_END_ALLOW_THREADS
;
2161 } _resultobj
= Py_BuildValue("i",_result
);
2165 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2166 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2171 PyObject
* _obj0
= 0;
2172 char *_kwnames
[] = { "self","h", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2179 if (! wxRect_helper(_obj0
, &_arg0
))
2183 wxPy_BEGIN_ALLOW_THREADS
;
2184 wxRect_SetHeight(_arg0
,_arg1
);
2186 wxPy_END_ALLOW_THREADS
;
2187 } Py_INCREF(Py_None
);
2188 _resultobj
= Py_None
;
2192 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2193 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2198 PyObject
* _obj0
= 0;
2199 char *_kwnames
[] = { "self", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2207 if (! wxRect_helper(_obj0
, &_arg0
))
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2214 wxPy_END_ALLOW_THREADS
;
2215 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2216 _resultobj
= Py_BuildValue("s",_ptemp
);
2220 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2221 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2226 PyObject
* _obj0
= 0;
2227 char *_kwnames
[] = { "self", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2235 if (! wxRect_helper(_obj0
, &_arg0
))
2239 wxPy_BEGIN_ALLOW_THREADS
;
2240 _result
= new wxSize (wxRect_GetSize(_arg0
));
2242 wxPy_END_ALLOW_THREADS
;
2243 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2244 _resultobj
= Py_BuildValue("s",_ptemp
);
2248 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2249 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
* _resultobj
;
2254 PyObject
* _obj0
= 0;
2255 char *_kwnames
[] = { "self", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2262 if (! wxRect_helper(_obj0
, &_arg0
))
2266 wxPy_BEGIN_ALLOW_THREADS
;
2267 _result
= (int )wxRect_GetLeft(_arg0
);
2269 wxPy_END_ALLOW_THREADS
;
2270 } _resultobj
= Py_BuildValue("i",_result
);
2274 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2275 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
* _resultobj
;
2280 PyObject
* _obj0
= 0;
2281 char *_kwnames
[] = { "self", NULL
};
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2288 if (! wxRect_helper(_obj0
, &_arg0
))
2292 wxPy_BEGIN_ALLOW_THREADS
;
2293 _result
= (int )wxRect_GetTop(_arg0
);
2295 wxPy_END_ALLOW_THREADS
;
2296 } _resultobj
= Py_BuildValue("i",_result
);
2300 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2301 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2306 PyObject
* _obj0
= 0;
2307 char *_kwnames
[] = { "self", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2314 if (! wxRect_helper(_obj0
, &_arg0
))
2318 wxPy_BEGIN_ALLOW_THREADS
;
2319 _result
= (int )wxRect_GetBottom(_arg0
);
2321 wxPy_END_ALLOW_THREADS
;
2322 } _resultobj
= Py_BuildValue("i",_result
);
2326 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2327 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
* _resultobj
;
2332 PyObject
* _obj0
= 0;
2333 char *_kwnames
[] = { "self", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2340 if (! wxRect_helper(_obj0
, &_arg0
))
2344 wxPy_BEGIN_ALLOW_THREADS
;
2345 _result
= (int )wxRect_GetRight(_arg0
);
2347 wxPy_END_ALLOW_THREADS
;
2348 } _resultobj
= Py_BuildValue("i",_result
);
2352 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2353 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
* _resultobj
;
2358 PyObject
* _obj0
= 0;
2359 char *_kwnames
[] = { "self","left", NULL
};
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2366 if (! wxRect_helper(_obj0
, &_arg0
))
2370 wxPy_BEGIN_ALLOW_THREADS
;
2371 wxRect_SetLeft(_arg0
,_arg1
);
2373 wxPy_END_ALLOW_THREADS
;
2374 } Py_INCREF(Py_None
);
2375 _resultobj
= Py_None
;
2379 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2380 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2385 PyObject
* _obj0
= 0;
2386 char *_kwnames
[] = { "self","right", NULL
};
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2393 if (! wxRect_helper(_obj0
, &_arg0
))
2397 wxPy_BEGIN_ALLOW_THREADS
;
2398 wxRect_SetRight(_arg0
,_arg1
);
2400 wxPy_END_ALLOW_THREADS
;
2401 } Py_INCREF(Py_None
);
2402 _resultobj
= Py_None
;
2406 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2407 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
* _resultobj
;
2412 PyObject
* _obj0
= 0;
2413 char *_kwnames
[] = { "self","top", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2420 if (! wxRect_helper(_obj0
, &_arg0
))
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 wxRect_SetTop(_arg0
,_arg1
);
2427 wxPy_END_ALLOW_THREADS
;
2428 } Py_INCREF(Py_None
);
2429 _resultobj
= Py_None
;
2433 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2434 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2439 PyObject
* _obj0
= 0;
2440 char *_kwnames
[] = { "self","bottom", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2447 if (! wxRect_helper(_obj0
, &_arg0
))
2451 wxPy_BEGIN_ALLOW_THREADS
;
2452 wxRect_SetBottom(_arg0
,_arg1
);
2454 wxPy_END_ALLOW_THREADS
;
2455 } Py_INCREF(Py_None
);
2456 _resultobj
= Py_None
;
2460 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2461 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2467 PyObject
* _obj0
= 0;
2468 char *_kwnames
[] = { "self","dx","dy", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2475 if (! wxRect_helper(_obj0
, &_arg0
))
2479 wxPy_BEGIN_ALLOW_THREADS
;
2480 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2482 wxPy_END_ALLOW_THREADS
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2488 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2489 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2496 PyObject
* _obj0
= 0;
2497 char *_kwnames
[] = { "self","cx","cy", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2504 if (! wxRect_helper(_obj0
, &_arg0
))
2508 wxPy_BEGIN_ALLOW_THREADS
;
2509 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2511 wxPy_END_ALLOW_THREADS
;
2512 } _resultobj
= Py_BuildValue("i",_result
);
2516 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2517 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
* _resultobj
;
2523 PyObject
* _obj0
= 0;
2524 char *_kwnames
[] = { "self","x", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2531 if (! wxRect_helper(_obj0
, &_arg0
))
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2538 wxPy_END_ALLOW_THREADS
;
2539 } _resultobj
= Py_BuildValue("i",_result
);
2543 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2544 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
* _resultobj
;
2549 PyObject
* _obj0
= 0;
2550 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2557 if (! wxRect_helper(_obj0
, &_arg0
))
2561 wxPy_BEGIN_ALLOW_THREADS
;
2562 _result
= (int )wxRect_x_get(_arg0
);
2564 wxPy_END_ALLOW_THREADS
;
2565 } _resultobj
= Py_BuildValue("i",_result
);
2569 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2570 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
* _resultobj
;
2576 PyObject
* _obj0
= 0;
2577 char *_kwnames
[] = { "self","y", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2584 if (! wxRect_helper(_obj0
, &_arg0
))
2588 wxPy_BEGIN_ALLOW_THREADS
;
2589 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2591 wxPy_END_ALLOW_THREADS
;
2592 } _resultobj
= Py_BuildValue("i",_result
);
2596 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2597 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
* _resultobj
;
2602 PyObject
* _obj0
= 0;
2603 char *_kwnames
[] = { "self", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2610 if (! wxRect_helper(_obj0
, &_arg0
))
2614 wxPy_BEGIN_ALLOW_THREADS
;
2615 _result
= (int )wxRect_y_get(_arg0
);
2617 wxPy_END_ALLOW_THREADS
;
2618 } _resultobj
= Py_BuildValue("i",_result
);
2622 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2623 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2629 PyObject
* _obj0
= 0;
2630 char *_kwnames
[] = { "self","width", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2637 if (! wxRect_helper(_obj0
, &_arg0
))
2641 wxPy_BEGIN_ALLOW_THREADS
;
2642 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2644 wxPy_END_ALLOW_THREADS
;
2645 } _resultobj
= Py_BuildValue("i",_result
);
2649 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2650 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
* _resultobj
;
2655 PyObject
* _obj0
= 0;
2656 char *_kwnames
[] = { "self", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2663 if (! wxRect_helper(_obj0
, &_arg0
))
2667 wxPy_BEGIN_ALLOW_THREADS
;
2668 _result
= (int )wxRect_width_get(_arg0
);
2670 wxPy_END_ALLOW_THREADS
;
2671 } _resultobj
= Py_BuildValue("i",_result
);
2675 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2676 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
* _resultobj
;
2682 PyObject
* _obj0
= 0;
2683 char *_kwnames
[] = { "self","height", NULL
};
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2690 if (! wxRect_helper(_obj0
, &_arg0
))
2694 wxPy_BEGIN_ALLOW_THREADS
;
2695 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2697 wxPy_END_ALLOW_THREADS
;
2698 } _resultobj
= Py_BuildValue("i",_result
);
2702 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2703 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
* _resultobj
;
2708 PyObject
* _obj0
= 0;
2709 char *_kwnames
[] = { "self", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2716 if (! wxRect_helper(_obj0
, &_arg0
))
2720 wxPy_BEGIN_ALLOW_THREADS
;
2721 _result
= (int )wxRect_height_get(_arg0
);
2723 wxPy_END_ALLOW_THREADS
;
2724 } _resultobj
= Py_BuildValue("i",_result
);
2728 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2729 PyObject
* tup
= PyTuple_New(4);
2730 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2731 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2732 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2733 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2736 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2741 PyObject
* _obj0
= 0;
2742 char *_kwnames
[] = { "self", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2749 if (! wxRect_helper(_obj0
, &_arg0
))
2753 wxPy_BEGIN_ALLOW_THREADS
;
2754 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2756 wxPy_END_ALLOW_THREADS
;
2758 _resultobj
= _result
;
2763 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2764 if (! rect
) return *self
;
2765 return *self
+ *rect
;
2767 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2773 PyObject
* _obj0
= 0;
2775 PyObject
* _obj1
= 0;
2776 char *_kwnames
[] = { "self","rect", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2784 if (! wxRect_helper(_obj0
, &_arg0
))
2789 if (! wxRect_helper(_obj1
, &_arg1
))
2793 wxPy_BEGIN_ALLOW_THREADS
;
2794 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2796 wxPy_END_ALLOW_THREADS
;
2797 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2798 _resultobj
= Py_BuildValue("s",_ptemp
);
2802 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
2803 if (! rect
) return 0;
2804 return *self
== *rect
;
2806 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2812 PyObject
* _obj0
= 0;
2814 PyObject
* _obj1
= 0;
2815 char *_kwnames
[] = { "self","rect", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
2822 if (! wxRect_helper(_obj0
, &_arg0
))
2827 if (! wxRect_helper(_obj1
, &_arg1
))
2831 wxPy_BEGIN_ALLOW_THREADS
;
2832 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
2834 wxPy_END_ALLOW_THREADS
;
2835 } _resultobj
= Py_BuildValue("i",_result
);
2839 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2840 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
* _resultobj
;
2842 wxIndividualLayoutConstraint
* _arg0
;
2844 int _arg2
= (int ) 0;
2845 PyObject
* _argo0
= 0;
2846 PyObject
* _argo1
= 0;
2847 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2860 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2861 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2867 wxPy_BEGIN_ALLOW_THREADS
;
2868 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2870 wxPy_END_ALLOW_THREADS
;
2871 } Py_INCREF(Py_None
);
2872 _resultobj
= Py_None
;
2876 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2877 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2879 wxIndividualLayoutConstraint
* _arg0
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self","value", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2898 wxPy_END_ALLOW_THREADS
;
2899 } Py_INCREF(Py_None
);
2900 _resultobj
= Py_None
;
2904 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2905 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2907 wxIndividualLayoutConstraint
* _arg0
;
2908 PyObject
* _argo0
= 0;
2909 char *_kwnames
[] = { "self", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2922 wxPy_BEGIN_ALLOW_THREADS
;
2923 wxIndividualLayoutConstraint_AsIs(_arg0
);
2925 wxPy_END_ALLOW_THREADS
;
2926 } Py_INCREF(Py_None
);
2927 _resultobj
= Py_None
;
2931 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2932 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2934 wxIndividualLayoutConstraint
* _arg0
;
2936 int _arg2
= (int ) 0;
2937 PyObject
* _argo0
= 0;
2938 PyObject
* _argo1
= 0;
2939 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2952 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2959 wxPy_BEGIN_ALLOW_THREADS
;
2960 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2962 wxPy_END_ALLOW_THREADS
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2968 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2969 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2971 wxIndividualLayoutConstraint
* _arg0
;
2972 PyObject
* _argo0
= 0;
2973 char *_kwnames
[] = { "self", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2986 wxPy_BEGIN_ALLOW_THREADS
;
2987 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2989 wxPy_END_ALLOW_THREADS
;
2990 } Py_INCREF(Py_None
);
2991 _resultobj
= Py_None
;
2995 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2996 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
2998 wxIndividualLayoutConstraint
* _arg0
;
3000 int _arg2
= (int ) 0;
3001 PyObject
* _argo0
= 0;
3002 PyObject
* _argo1
= 0;
3003 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3023 wxPy_BEGIN_ALLOW_THREADS
;
3024 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3026 wxPy_END_ALLOW_THREADS
;
3027 } Py_INCREF(Py_None
);
3028 _resultobj
= Py_None
;
3032 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3033 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
* _resultobj
;
3035 wxIndividualLayoutConstraint
* _arg0
;
3039 PyObject
* _argo0
= 0;
3040 PyObject
* _argo1
= 0;
3041 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3061 wxPy_BEGIN_ALLOW_THREADS
;
3062 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3064 wxPy_END_ALLOW_THREADS
;
3065 } Py_INCREF(Py_None
);
3066 _resultobj
= Py_None
;
3070 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3071 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
* _resultobj
;
3073 wxIndividualLayoutConstraint
* _arg0
;
3075 int _arg2
= (int ) 0;
3076 PyObject
* _argo0
= 0;
3077 PyObject
* _argo1
= 0;
3078 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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_RightOf. 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_RightOf. Expected _wxWindow_p.");
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3101 wxPy_END_ALLOW_THREADS
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3108 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3110 wxIndividualLayoutConstraint
* _arg0
;
3113 int _arg3
= (int ) 0;
3114 PyObject
* _argo0
= 0;
3115 PyObject
* _argo1
= 0;
3116 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3129 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3136 wxPy_BEGIN_ALLOW_THREADS
;
3137 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3139 wxPy_END_ALLOW_THREADS
;
3140 } Py_INCREF(Py_None
);
3141 _resultobj
= Py_None
;
3145 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3146 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
* _resultobj
;
3148 wxIndividualLayoutConstraint
* _arg0
;
3149 wxRelationship _arg1
;
3152 int _arg4
= (int ) 0;
3153 int _arg5
= (int ) 0;
3154 PyObject
* _argo0
= 0;
3155 PyObject
* _argo2
= 0;
3156 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3169 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3170 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3176 wxPy_BEGIN_ALLOW_THREADS
;
3177 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3179 wxPy_END_ALLOW_THREADS
;
3180 } Py_INCREF(Py_None
);
3181 _resultobj
= Py_None
;
3185 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3186 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3188 wxLayoutConstraints
* _result
;
3189 char *_kwnames
[] = { NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3196 wxPy_BEGIN_ALLOW_THREADS
;
3197 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3199 wxPy_END_ALLOW_THREADS
;
3201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3202 _resultobj
= Py_BuildValue("s",_ptemp
);
3205 _resultobj
= Py_None
;
3210 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3211 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
* _resultobj
;
3213 wxIndividualLayoutConstraint
* _result
;
3214 wxLayoutConstraints
* _arg0
;
3215 PyObject
* _argo0
= 0;
3216 char *_kwnames
[] = { "self", NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3230 wxPy_BEGIN_ALLOW_THREADS
;
3231 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3233 wxPy_END_ALLOW_THREADS
;
3235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3236 _resultobj
= Py_BuildValue("s",_ptemp
);
3239 _resultobj
= Py_None
;
3244 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3245 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
* _resultobj
;
3247 wxIndividualLayoutConstraint
* _result
;
3248 wxLayoutConstraints
* _arg0
;
3249 PyObject
* _argo0
= 0;
3250 char *_kwnames
[] = { "self", NULL
};
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3264 wxPy_BEGIN_ALLOW_THREADS
;
3265 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3267 wxPy_END_ALLOW_THREADS
;
3269 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3270 _resultobj
= Py_BuildValue("s",_ptemp
);
3273 _resultobj
= Py_None
;
3278 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3279 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3281 wxIndividualLayoutConstraint
* _result
;
3282 wxLayoutConstraints
* _arg0
;
3283 PyObject
* _argo0
= 0;
3284 char *_kwnames
[] = { "self", NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3298 wxPy_BEGIN_ALLOW_THREADS
;
3299 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3301 wxPy_END_ALLOW_THREADS
;
3303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3304 _resultobj
= Py_BuildValue("s",_ptemp
);
3307 _resultobj
= Py_None
;
3312 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3313 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
* _resultobj
;
3315 wxIndividualLayoutConstraint
* _result
;
3316 wxLayoutConstraints
* _arg0
;
3317 PyObject
* _argo0
= 0;
3318 char *_kwnames
[] = { "self", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3332 wxPy_BEGIN_ALLOW_THREADS
;
3333 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3335 wxPy_END_ALLOW_THREADS
;
3337 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3338 _resultobj
= Py_BuildValue("s",_ptemp
);
3341 _resultobj
= Py_None
;
3346 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3347 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3349 wxIndividualLayoutConstraint
* _result
;
3350 wxLayoutConstraints
* _arg0
;
3351 PyObject
* _argo0
= 0;
3352 char *_kwnames
[] = { "self", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3366 wxPy_BEGIN_ALLOW_THREADS
;
3367 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3369 wxPy_END_ALLOW_THREADS
;
3371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3372 _resultobj
= Py_BuildValue("s",_ptemp
);
3375 _resultobj
= Py_None
;
3380 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3381 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
* _resultobj
;
3383 wxIndividualLayoutConstraint
* _result
;
3384 wxLayoutConstraints
* _arg0
;
3385 PyObject
* _argo0
= 0;
3386 char *_kwnames
[] = { "self", NULL
};
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3400 wxPy_BEGIN_ALLOW_THREADS
;
3401 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3403 wxPy_END_ALLOW_THREADS
;
3405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3406 _resultobj
= Py_BuildValue("s",_ptemp
);
3409 _resultobj
= Py_None
;
3414 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3415 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3417 wxIndividualLayoutConstraint
* _result
;
3418 wxLayoutConstraints
* _arg0
;
3419 PyObject
* _argo0
= 0;
3420 char *_kwnames
[] = { "self", NULL
};
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3434 wxPy_BEGIN_ALLOW_THREADS
;
3435 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3437 wxPy_END_ALLOW_THREADS
;
3439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3440 _resultobj
= Py_BuildValue("s",_ptemp
);
3443 _resultobj
= Py_None
;
3448 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3449 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
* _resultobj
;
3451 wxIndividualLayoutConstraint
* _result
;
3452 wxLayoutConstraints
* _arg0
;
3453 PyObject
* _argo0
= 0;
3454 char *_kwnames
[] = { "self", NULL
};
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3468 wxPy_BEGIN_ALLOW_THREADS
;
3469 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3471 wxPy_END_ALLOW_THREADS
;
3473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3474 _resultobj
= Py_BuildValue("s",_ptemp
);
3477 _resultobj
= Py_None
;
3482 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3483 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3486 long _arg0
= (long ) 0;
3487 long _arg1
= (long ) 0;
3488 long _arg2
= (long ) 0;
3489 long _arg3
= (long ) 0;
3490 char *_kwnames
[] = { "x","y","width","height", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3497 wxPy_BEGIN_ALLOW_THREADS
;
3498 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
3500 wxPy_END_ALLOW_THREADS
;
3502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3503 _resultobj
= Py_BuildValue("s",_ptemp
);
3506 _resultobj
= Py_None
;
3511 #define delete_wxRegion(_swigobj) (delete _swigobj)
3512 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3515 PyObject
* _argo0
= 0;
3516 char *_kwnames
[] = { "self", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3529 wxPy_BEGIN_ALLOW_THREADS
;
3530 delete_wxRegion(_arg0
);
3532 wxPy_END_ALLOW_THREADS
;
3533 } Py_INCREF(Py_None
);
3534 _resultobj
= Py_None
;
3538 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3539 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3542 PyObject
* _argo0
= 0;
3543 char *_kwnames
[] = { "self", NULL
};
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3556 wxPy_BEGIN_ALLOW_THREADS
;
3557 wxRegion_Clear(_arg0
);
3559 wxPy_END_ALLOW_THREADS
;
3560 } Py_INCREF(Py_None
);
3561 _resultobj
= Py_None
;
3565 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3566 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
* _resultobj
;
3568 wxRegionContain _result
;
3572 PyObject
* _argo0
= 0;
3573 char *_kwnames
[] = { "self","x","y", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3586 wxPy_BEGIN_ALLOW_THREADS
;
3587 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3589 wxPy_END_ALLOW_THREADS
;
3590 } _resultobj
= Py_BuildValue("i",_result
);
3594 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3595 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3597 wxRegionContain _result
;
3600 PyObject
* _argo0
= 0;
3602 PyObject
* _obj1
= 0;
3603 char *_kwnames
[] = { "self","pt", NULL
};
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3617 if (! wxPoint_helper(_obj1
, &_arg1
))
3621 wxPy_BEGIN_ALLOW_THREADS
;
3622 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3624 wxPy_END_ALLOW_THREADS
;
3625 } _resultobj
= Py_BuildValue("i",_result
);
3629 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3630 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3632 wxRegionContain _result
;
3635 PyObject
* _argo0
= 0;
3637 PyObject
* _obj1
= 0;
3638 char *_kwnames
[] = { "self","rect", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3652 if (! wxRect_helper(_obj1
, &_arg1
))
3656 wxPy_BEGIN_ALLOW_THREADS
;
3657 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3659 wxPy_END_ALLOW_THREADS
;
3660 } _resultobj
= Py_BuildValue("i",_result
);
3664 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3665 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3667 wxRegionContain _result
;
3673 PyObject
* _argo0
= 0;
3674 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3687 wxPy_BEGIN_ALLOW_THREADS
;
3688 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3690 wxPy_END_ALLOW_THREADS
;
3691 } _resultobj
= Py_BuildValue("i",_result
);
3695 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3696 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
* _resultobj
;
3700 PyObject
* _argo0
= 0;
3701 char *_kwnames
[] = { "self", NULL
};
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3715 wxPy_BEGIN_ALLOW_THREADS
;
3716 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3718 wxPy_END_ALLOW_THREADS
;
3719 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3720 _resultobj
= Py_BuildValue("s",_ptemp
);
3724 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3725 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
* _resultobj
;
3733 PyObject
* _argo0
= 0;
3734 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3747 wxPy_BEGIN_ALLOW_THREADS
;
3748 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3750 wxPy_END_ALLOW_THREADS
;
3751 } _resultobj
= Py_BuildValue("i",_result
);
3755 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3756 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
* _resultobj
;
3761 PyObject
* _argo0
= 0;
3763 PyObject
* _obj1
= 0;
3764 char *_kwnames
[] = { "self","rect", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3778 if (! wxRect_helper(_obj1
, &_arg1
))
3782 wxPy_BEGIN_ALLOW_THREADS
;
3783 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
3785 wxPy_END_ALLOW_THREADS
;
3786 } _resultobj
= Py_BuildValue("i",_result
);
3790 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3791 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
* _resultobj
;
3796 PyObject
* _argo0
= 0;
3797 PyObject
* _argo1
= 0;
3798 char *_kwnames
[] = { "self","region", NULL
};
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
3804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3811 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3818 wxPy_BEGIN_ALLOW_THREADS
;
3819 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
3821 wxPy_END_ALLOW_THREADS
;
3822 } _resultobj
= Py_BuildValue("i",_result
);
3826 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3827 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
* _resultobj
;
3831 PyObject
* _argo0
= 0;
3832 char *_kwnames
[] = { "self", NULL
};
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3845 wxPy_BEGIN_ALLOW_THREADS
;
3846 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3848 wxPy_END_ALLOW_THREADS
;
3849 } _resultobj
= Py_BuildValue("i",_result
);
3853 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3854 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
* _resultobj
;
3862 PyObject
* _argo0
= 0;
3863 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3876 wxPy_BEGIN_ALLOW_THREADS
;
3877 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3879 wxPy_END_ALLOW_THREADS
;
3880 } _resultobj
= Py_BuildValue("i",_result
);
3884 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3885 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3890 PyObject
* _argo0
= 0;
3892 PyObject
* _obj1
= 0;
3893 char *_kwnames
[] = { "self","rect", NULL
};
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
3899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3907 if (! wxRect_helper(_obj1
, &_arg1
))
3911 wxPy_BEGIN_ALLOW_THREADS
;
3912 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
3914 wxPy_END_ALLOW_THREADS
;
3915 } _resultobj
= Py_BuildValue("i",_result
);
3919 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3920 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3925 PyObject
* _argo0
= 0;
3926 PyObject
* _argo1
= 0;
3927 char *_kwnames
[] = { "self","region", NULL
};
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
3933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3947 wxPy_BEGIN_ALLOW_THREADS
;
3948 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
3950 wxPy_END_ALLOW_THREADS
;
3951 } _resultobj
= Py_BuildValue("i",_result
);
3955 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3956 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
* _resultobj
;
3964 PyObject
* _argo0
= 0;
3965 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3978 wxPy_BEGIN_ALLOW_THREADS
;
3979 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3981 wxPy_END_ALLOW_THREADS
;
3982 } _resultobj
= Py_BuildValue("i",_result
);
3986 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3987 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
* _resultobj
;
3992 PyObject
* _argo0
= 0;
3994 PyObject
* _obj1
= 0;
3995 char *_kwnames
[] = { "self","rect", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
4001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
4009 if (! wxRect_helper(_obj1
, &_arg1
))
4013 wxPy_BEGIN_ALLOW_THREADS
;
4014 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
4016 wxPy_END_ALLOW_THREADS
;
4017 } _resultobj
= Py_BuildValue("i",_result
);
4021 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4022 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
* _resultobj
;
4027 PyObject
* _argo0
= 0;
4028 PyObject
* _argo1
= 0;
4029 char *_kwnames
[] = { "self","region", NULL
};
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
4035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4042 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4043 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4049 wxPy_BEGIN_ALLOW_THREADS
;
4050 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
4052 wxPy_END_ALLOW_THREADS
;
4053 } _resultobj
= Py_BuildValue("i",_result
);
4057 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4058 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
* _resultobj
;
4066 PyObject
* _argo0
= 0;
4067 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
4080 wxPy_BEGIN_ALLOW_THREADS
;
4081 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4083 wxPy_END_ALLOW_THREADS
;
4084 } _resultobj
= Py_BuildValue("i",_result
);
4088 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4089 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
* _resultobj
;
4094 PyObject
* _argo0
= 0;
4096 PyObject
* _obj1
= 0;
4097 char *_kwnames
[] = { "self","rect", NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
4103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
4111 if (! wxRect_helper(_obj1
, &_arg1
))
4115 wxPy_BEGIN_ALLOW_THREADS
;
4116 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
4118 wxPy_END_ALLOW_THREADS
;
4119 } _resultobj
= Py_BuildValue("i",_result
);
4123 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4124 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4129 PyObject
* _argo0
= 0;
4130 PyObject
* _argo1
= 0;
4131 char *_kwnames
[] = { "self","region", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
4144 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4145 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
4151 wxPy_BEGIN_ALLOW_THREADS
;
4152 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
4154 wxPy_END_ALLOW_THREADS
;
4155 } _resultobj
= Py_BuildValue("i",_result
);
4159 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
4160 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4162 wxRegionIterator
* _result
;
4164 PyObject
* _argo0
= 0;
4165 char *_kwnames
[] = { "region", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
4179 wxPy_BEGIN_ALLOW_THREADS
;
4180 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
4182 wxPy_END_ALLOW_THREADS
;
4184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
4185 _resultobj
= Py_BuildValue("s",_ptemp
);
4188 _resultobj
= Py_None
;
4193 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
4194 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4196 wxRegionIterator
* _arg0
;
4197 PyObject
* _argo0
= 0;
4198 char *_kwnames
[] = { "self", NULL
};
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
4204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
4211 wxPy_BEGIN_ALLOW_THREADS
;
4212 delete_wxRegionIterator(_arg0
);
4214 wxPy_END_ALLOW_THREADS
;
4215 } Py_INCREF(Py_None
);
4216 _resultobj
= Py_None
;
4220 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
4221 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
* _resultobj
;
4224 wxRegionIterator
* _arg0
;
4225 PyObject
* _argo0
= 0;
4226 char *_kwnames
[] = { "self", NULL
};
4229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
4232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
4239 wxPy_BEGIN_ALLOW_THREADS
;
4240 _result
= (long )wxRegionIterator_GetX(_arg0
);
4242 wxPy_END_ALLOW_THREADS
;
4243 } _resultobj
= Py_BuildValue("l",_result
);
4247 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
4248 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
* _resultobj
;
4251 wxRegionIterator
* _arg0
;
4252 PyObject
* _argo0
= 0;
4253 char *_kwnames
[] = { "self", NULL
};
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
4259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
4266 wxPy_BEGIN_ALLOW_THREADS
;
4267 _result
= (long )wxRegionIterator_GetY(_arg0
);
4269 wxPy_END_ALLOW_THREADS
;
4270 } _resultobj
= Py_BuildValue("l",_result
);
4274 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
4275 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
* _resultobj
;
4278 wxRegionIterator
* _arg0
;
4279 PyObject
* _argo0
= 0;
4280 char *_kwnames
[] = { "self", NULL
};
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
4286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
4293 wxPy_BEGIN_ALLOW_THREADS
;
4294 _result
= (long )wxRegionIterator_GetW(_arg0
);
4296 wxPy_END_ALLOW_THREADS
;
4297 } _resultobj
= Py_BuildValue("l",_result
);
4301 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
4302 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
* _resultobj
;
4305 wxRegionIterator
* _arg0
;
4306 PyObject
* _argo0
= 0;
4307 char *_kwnames
[] = { "self", NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
4313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
4320 wxPy_BEGIN_ALLOW_THREADS
;
4321 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
4323 wxPy_END_ALLOW_THREADS
;
4324 } _resultobj
= Py_BuildValue("l",_result
);
4328 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
4329 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4332 wxRegionIterator
* _arg0
;
4333 PyObject
* _argo0
= 0;
4334 char *_kwnames
[] = { "self", NULL
};
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
4340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
4347 wxPy_BEGIN_ALLOW_THREADS
;
4348 _result
= (long )wxRegionIterator_GetH(_arg0
);
4350 wxPy_END_ALLOW_THREADS
;
4351 } _resultobj
= Py_BuildValue("l",_result
);
4355 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
4356 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
* _resultobj
;
4359 wxRegionIterator
* _arg0
;
4360 PyObject
* _argo0
= 0;
4361 char *_kwnames
[] = { "self", NULL
};
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
4367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
4374 wxPy_BEGIN_ALLOW_THREADS
;
4375 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
4377 wxPy_END_ALLOW_THREADS
;
4378 } _resultobj
= Py_BuildValue("l",_result
);
4382 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
4383 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
* _resultobj
;
4386 wxRegionIterator
* _arg0
;
4387 PyObject
* _argo0
= 0;
4388 char *_kwnames
[] = { "self", NULL
};
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
4395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4402 wxPy_BEGIN_ALLOW_THREADS
;
4403 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4405 wxPy_END_ALLOW_THREADS
;
4406 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4407 _resultobj
= Py_BuildValue("s",_ptemp
);
4411 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4412 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
* _resultobj
;
4415 wxRegionIterator
* _arg0
;
4416 PyObject
* _argo0
= 0;
4417 char *_kwnames
[] = { "self", NULL
};
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4430 wxPy_BEGIN_ALLOW_THREADS
;
4431 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4433 wxPy_END_ALLOW_THREADS
;
4434 } _resultobj
= Py_BuildValue("i",_result
);
4438 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4439 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4441 wxRegionIterator
* _arg0
;
4442 PyObject
* _argo0
= 0;
4443 char *_kwnames
[] = { "self", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 wxRegionIterator_Reset(_arg0
);
4459 wxPy_END_ALLOW_THREADS
;
4460 } Py_INCREF(Py_None
);
4461 _resultobj
= Py_None
;
4465 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4468 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
* _resultobj
;
4470 wxRegionIterator
* _arg0
;
4471 PyObject
* _argo0
= 0;
4472 char *_kwnames
[] = { "self", NULL
};
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4485 wxPy_BEGIN_ALLOW_THREADS
;
4486 wxRegionIterator_Next(_arg0
);
4488 wxPy_END_ALLOW_THREADS
;
4489 } Py_INCREF(Py_None
);
4490 _resultobj
= Py_None
;
4494 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4495 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4497 wxAcceleratorEntry
* _result
;
4498 int _arg0
= (int ) 0;
4499 int _arg1
= (int ) 0;
4500 int _arg2
= (int ) 0;
4501 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4508 wxPy_BEGIN_ALLOW_THREADS
;
4509 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4511 wxPy_END_ALLOW_THREADS
;
4513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4514 _resultobj
= Py_BuildValue("s",_ptemp
);
4517 _resultobj
= Py_None
;
4522 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4523 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
* _resultobj
;
4525 wxAcceleratorEntry
* _arg0
;
4526 PyObject
* _argo0
= 0;
4527 char *_kwnames
[] = { "self", NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4540 wxPy_BEGIN_ALLOW_THREADS
;
4541 delete_wxAcceleratorEntry(_arg0
);
4543 wxPy_END_ALLOW_THREADS
;
4544 } Py_INCREF(Py_None
);
4545 _resultobj
= Py_None
;
4549 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4550 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4552 wxAcceleratorEntry
* _arg0
;
4556 PyObject
* _argo0
= 0;
4557 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4570 wxPy_BEGIN_ALLOW_THREADS
;
4571 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4573 wxPy_END_ALLOW_THREADS
;
4574 } Py_INCREF(Py_None
);
4575 _resultobj
= Py_None
;
4579 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4580 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
* _resultobj
;
4583 wxAcceleratorEntry
* _arg0
;
4584 PyObject
* _argo0
= 0;
4585 char *_kwnames
[] = { "self", NULL
};
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4598 wxPy_BEGIN_ALLOW_THREADS
;
4599 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4601 wxPy_END_ALLOW_THREADS
;
4602 } _resultobj
= Py_BuildValue("i",_result
);
4606 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4607 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
* _resultobj
;
4610 wxAcceleratorEntry
* _arg0
;
4611 PyObject
* _argo0
= 0;
4612 char *_kwnames
[] = { "self", NULL
};
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4625 wxPy_BEGIN_ALLOW_THREADS
;
4626 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4628 wxPy_END_ALLOW_THREADS
;
4629 } _resultobj
= Py_BuildValue("i",_result
);
4633 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4634 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
* _resultobj
;
4637 wxAcceleratorEntry
* _arg0
;
4638 PyObject
* _argo0
= 0;
4639 char *_kwnames
[] = { "self", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4652 wxPy_BEGIN_ALLOW_THREADS
;
4653 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4655 wxPy_END_ALLOW_THREADS
;
4656 } _resultobj
= Py_BuildValue("i",_result
);
4660 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4661 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
* _resultobj
;
4663 wxAcceleratorTable
* _result
;
4665 wxAcceleratorEntry
* _arg1
;
4666 PyObject
* _obj1
= 0;
4667 char *_kwnames
[] = { "choices", NULL
};
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4675 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4676 if (_arg1
== NULL
) {
4682 _arg0
= PyList_Size(_obj1
);
4689 wxPy_BEGIN_ALLOW_THREADS
;
4690 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4692 wxPy_END_ALLOW_THREADS
;
4694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4695 _resultobj
= Py_BuildValue("s",_ptemp
);
4698 _resultobj
= Py_None
;
4706 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4707 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4709 wxAcceleratorTable
* _arg0
;
4710 PyObject
* _argo0
= 0;
4711 char *_kwnames
[] = { "self", NULL
};
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4724 wxPy_BEGIN_ALLOW_THREADS
;
4725 delete_wxAcceleratorTable(_arg0
);
4727 wxPy_END_ALLOW_THREADS
;
4728 } Py_INCREF(Py_None
);
4729 _resultobj
= Py_None
;
4733 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4734 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
* _resultobj
;
4736 wxBusyInfo
* _result
;
4738 PyObject
* _obj0
= 0;
4739 char *_kwnames
[] = { "message", NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4746 #if PYTHON_API_VERSION >= 1009
4747 char* tmpPtr
; int tmpSize
;
4748 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4749 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4752 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4754 _arg0
= new wxString(tmpPtr
, tmpSize
);
4756 if (!PyString_Check(_obj0
)) {
4757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4760 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4764 wxPy_BEGIN_ALLOW_THREADS
;
4765 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4767 wxPy_END_ALLOW_THREADS
;
4769 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4770 _resultobj
= Py_BuildValue("s",_ptemp
);
4773 _resultobj
= Py_None
;
4782 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4783 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4786 PyObject
* _argo0
= 0;
4787 char *_kwnames
[] = { "self", NULL
};
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4800 wxPy_BEGIN_ALLOW_THREADS
;
4801 delete_wxBusyInfo(_arg0
);
4803 wxPy_END_ALLOW_THREADS
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4809 static PyMethodDef misccMethods
[] = {
4810 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4811 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4812 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4813 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4814 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4815 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4816 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4817 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4818 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4819 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4820 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4821 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4822 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4823 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4824 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4825 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4826 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4827 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4828 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4829 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4830 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4831 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4832 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
4833 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
4834 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4835 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
4836 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
4837 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4838 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
4839 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
4840 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4841 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4842 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
4843 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4844 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4845 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4846 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
4847 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4848 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4849 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4850 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4851 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4852 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4853 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4854 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4855 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4856 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4857 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4858 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4859 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4860 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4861 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4862 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4863 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4864 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4865 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4866 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4867 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4868 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4869 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4870 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4871 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4872 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4873 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4874 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4875 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4876 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4877 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4878 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4879 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4880 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4881 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4882 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4883 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4884 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4885 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4886 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4887 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4888 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4889 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4890 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4891 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4892 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4893 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4894 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4895 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4896 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4897 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4898 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4899 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4900 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4901 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4902 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4903 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4904 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4905 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4906 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4907 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4908 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4909 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4910 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4911 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4912 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4913 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4914 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4915 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4916 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4917 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4918 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4919 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4920 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4921 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4922 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4923 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4924 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4925 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4926 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4927 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4928 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4929 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4930 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4931 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4932 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4933 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4934 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4935 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4936 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4937 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4938 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4939 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4940 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4941 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4942 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4943 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4944 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4945 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4946 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4947 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4948 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4949 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4950 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4951 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4952 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4953 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4954 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4955 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4956 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4957 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4958 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4959 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4960 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4961 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4962 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4963 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4964 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4965 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4966 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4967 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4968 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4969 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4970 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4971 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4972 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4973 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4974 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4981 * This table is used by the pointer type-checker
4983 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4984 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4985 { "_signed_long","_long",0},
4986 { "_wxPrintQuality","_wxCoord",0},
4987 { "_wxPrintQuality","_int",0},
4988 { "_wxPrintQuality","_signed_int",0},
4989 { "_wxPrintQuality","_unsigned_int",0},
4990 { "_wxPrintQuality","_wxWindowID",0},
4991 { "_wxPrintQuality","_uint",0},
4992 { "_wxPrintQuality","_EBool",0},
4993 { "_wxPrintQuality","_size_t",0},
4994 { "_wxPrintQuality","_time_t",0},
4995 { "_class_wxRegionIterator","_wxRegionIterator",0},
4996 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4997 { "_byte","_unsigned_char",0},
4998 { "_long","_unsigned_long",0},
4999 { "_long","_signed_long",0},
5000 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
5001 { "_size_t","_wxCoord",0},
5002 { "_size_t","_wxPrintQuality",0},
5003 { "_size_t","_time_t",0},
5004 { "_size_t","_unsigned_int",0},
5005 { "_size_t","_int",0},
5006 { "_size_t","_wxWindowID",0},
5007 { "_size_t","_uint",0},
5008 { "_class_wxRealPoint","_wxRealPoint",0},
5009 { "_uint","_wxCoord",0},
5010 { "_uint","_wxPrintQuality",0},
5011 { "_uint","_time_t",0},
5012 { "_uint","_size_t",0},
5013 { "_uint","_unsigned_int",0},
5014 { "_uint","_int",0},
5015 { "_uint","_wxWindowID",0},
5016 { "_wxChar","_char",0},
5017 { "_wxRect","_class_wxRect",0},
5018 { "_wxPoint","_class_wxPoint",0},
5019 { "_char","_wxChar",0},
5020 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
5021 { "_EBool","_wxCoord",0},
5022 { "_EBool","_wxPrintQuality",0},
5023 { "_EBool","_signed_int",0},
5024 { "_EBool","_int",0},
5025 { "_EBool","_wxWindowID",0},
5026 { "_class_wxRegion","_wxRegion",0},
5027 { "_unsigned_long","_long",0},
5028 { "_class_wxRect","_wxRect",0},
5029 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5030 { "_signed_int","_wxCoord",0},
5031 { "_signed_int","_wxPrintQuality",0},
5032 { "_signed_int","_EBool",0},
5033 { "_signed_int","_wxWindowID",0},
5034 { "_signed_int","_int",0},
5035 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5036 { "_WXTYPE","_short",0},
5037 { "_WXTYPE","_signed_short",0},
5038 { "_WXTYPE","_unsigned_short",0},
5039 { "_unsigned_short","_WXTYPE",0},
5040 { "_unsigned_short","_short",0},
5041 { "_wxBusyInfo","_class_wxBusyInfo",0},
5042 { "_class_wxPoint","_wxPoint",0},
5043 { "_wxRealPoint","_class_wxRealPoint",0},
5044 { "_signed_short","_WXTYPE",0},
5045 { "_signed_short","_short",0},
5046 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5047 { "_unsigned_char","_byte",0},
5048 { "_unsigned_int","_wxCoord",0},
5049 { "_unsigned_int","_wxPrintQuality",0},
5050 { "_unsigned_int","_time_t",0},
5051 { "_unsigned_int","_size_t",0},
5052 { "_unsigned_int","_uint",0},
5053 { "_unsigned_int","_wxWindowID",0},
5054 { "_unsigned_int","_int",0},
5055 { "_short","_WXTYPE",0},
5056 { "_short","_unsigned_short",0},
5057 { "_short","_signed_short",0},
5058 { "_wxWindowID","_wxCoord",0},
5059 { "_wxWindowID","_wxPrintQuality",0},
5060 { "_wxWindowID","_time_t",0},
5061 { "_wxWindowID","_size_t",0},
5062 { "_wxWindowID","_EBool",0},
5063 { "_wxWindowID","_uint",0},
5064 { "_wxWindowID","_int",0},
5065 { "_wxWindowID","_signed_int",0},
5066 { "_wxWindowID","_unsigned_int",0},
5067 { "_int","_wxCoord",0},
5068 { "_int","_wxPrintQuality",0},
5069 { "_int","_time_t",0},
5070 { "_int","_size_t",0},
5071 { "_int","_EBool",0},
5072 { "_int","_uint",0},
5073 { "_int","_wxWindowID",0},
5074 { "_int","_unsigned_int",0},
5075 { "_int","_signed_int",0},
5076 { "_time_t","_wxCoord",0},
5077 { "_time_t","_wxPrintQuality",0},
5078 { "_time_t","_unsigned_int",0},
5079 { "_time_t","_int",0},
5080 { "_time_t","_wxWindowID",0},
5081 { "_time_t","_uint",0},
5082 { "_time_t","_size_t",0},
5083 { "_wxSize","_class_wxSize",0},
5084 { "_wxRegionIterator","_class_wxRegionIterator",0},
5085 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5086 { "_wxCoord","_int",0},
5087 { "_wxCoord","_signed_int",0},
5088 { "_wxCoord","_unsigned_int",0},
5089 { "_wxCoord","_wxWindowID",0},
5090 { "_wxCoord","_uint",0},
5091 { "_wxCoord","_EBool",0},
5092 { "_wxCoord","_size_t",0},
5093 { "_wxCoord","_time_t",0},
5094 { "_wxCoord","_wxPrintQuality",0},
5095 { "_wxRegion","_class_wxRegion",0},
5096 { "_class_wxBusyInfo","_wxBusyInfo",0},
5097 { "_class_wxSize","_wxSize",0},
5100 static PyObject
*SWIG_globals
;
5104 SWIGEXPORT(void) initmiscc() {
5106 SWIG_globals
= SWIG_newvarlink();
5107 m
= Py_InitModule("miscc", misccMethods
);
5108 d
= PyModule_GetDict(m
);
5109 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5110 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5111 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5112 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5113 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5114 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5115 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5116 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5117 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5118 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5119 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5120 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5121 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5122 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5123 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5124 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5125 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5126 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5127 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5128 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
5129 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
5130 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
5131 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5132 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5135 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5136 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);