2 * FILE : src/msw/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmiscc
56 #define SWIG_name "miscc"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/busyinfo.h>
63 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyList_Check(target
)) {
73 target
= PyList_New(0);
74 PyList_Append(target
, o2
);
77 PyList_Append(target
,o
);
83 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
89 } else if (target
== Py_None
) {
93 if (!PyTuple_Check(target
)) {
95 target
= PyTuple_New(1);
96 PyTuple_SetItem(target
, 0, o2
);
99 PyTuple_SetItem(o3
, 0, o
);
102 target
= PySequence_Concat(o2
, o3
);
109 static char* wxStringErrorMsg
= "string type is required for parameter";
111 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
114 wxRect
dest(0,0,0,0);
117 reg1
.Intersect(reg2
);
118 dest
= reg1
.GetBox();
120 if (dest
!= wxRect(0,0,0,0)) {
121 bool doSave
= wxPyRestoreThread();
122 wxRect
* newRect
= new wxRect(dest
);
123 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
124 PyObject_SetAttrString(obj
, "thisown", PyInt_FromLong(1));
125 wxPySaveThread(doSave
);
132 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
134 wxGetResource(section
, entry
, &retval
, file
);
138 #if 0 // we want to use the definition from the header, not the
139 // one SWIG will generate.
140 extern wxAcceleratorTable wxNullAcceleratorTable
;
146 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
147 PyObject
* _resultobj
;
152 PyObject
* _obj0
= 0;
154 PyObject
* _obj1
= 0;
155 char *_kwnames
[] = { "r1","r2", NULL
};
158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
162 if (! wxRect_helper(_obj0
, &_arg0
))
167 if (! wxRect_helper(_obj1
, &_arg1
))
171 wxPy_BEGIN_ALLOW_THREADS
;
172 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
174 wxPy_END_ALLOW_THREADS
;
176 _resultobj
= _result
;
181 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
182 PyObject
* _resultobj
;
184 char *_kwnames
[] = { NULL
};
187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
190 wxPy_BEGIN_ALLOW_THREADS
;
191 _result
= (long )wxNewId();
193 wxPy_END_ALLOW_THREADS
;
194 } _resultobj
= Py_BuildValue("l",_result
);
198 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
199 PyObject
* _resultobj
;
201 char *_kwnames
[] = { "id", NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
207 wxPy_BEGIN_ALLOW_THREADS
;
210 wxPy_END_ALLOW_THREADS
;
211 } Py_INCREF(Py_None
);
212 _resultobj
= Py_None
;
216 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
219 char *_kwnames
[] = { NULL
};
222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
225 wxPy_BEGIN_ALLOW_THREADS
;
226 _result
= (long )wxNewId();
228 wxPy_END_ALLOW_THREADS
;
229 } _resultobj
= Py_BuildValue("l",_result
);
233 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
236 char *_kwnames
[] = { "id", NULL
};
239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
242 wxPy_BEGIN_ALLOW_THREADS
;
245 wxPy_END_ALLOW_THREADS
;
246 } Py_INCREF(Py_None
);
247 _resultobj
= Py_None
;
251 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
252 PyObject
* _resultobj
;
253 char *_kwnames
[] = { NULL
};
256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
259 wxPy_BEGIN_ALLOW_THREADS
;
262 wxPy_END_ALLOW_THREADS
;
263 } Py_INCREF(Py_None
);
264 _resultobj
= Py_None
;
268 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
269 PyObject
* _resultobj
;
274 char *_kwnames
[] = { NULL
};
283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
286 wxPy_BEGIN_ALLOW_THREADS
;
287 wxDisplaySize(_arg0
,_arg1
);
289 wxPy_END_ALLOW_THREADS
;
290 } Py_INCREF(Py_None
);
291 _resultobj
= Py_None
;
294 o
= PyInt_FromLong((long) (*_arg0
));
295 _resultobj
= t_output_helper(_resultobj
, o
);
299 o
= PyInt_FromLong((long) (*_arg1
));
300 _resultobj
= t_output_helper(_resultobj
, o
);
305 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
307 char *_kwnames
[] = { NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
313 wxPy_BEGIN_ALLOW_THREADS
;
316 wxPy_END_ALLOW_THREADS
;
317 } Py_INCREF(Py_None
);
318 _resultobj
= Py_None
;
322 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
323 PyObject
* _resultobj
;
325 bool _arg0
= (bool ) TRUE
;
326 int tempbool0
= (int) TRUE
;
327 char *_kwnames
[] = { "resetTimer", NULL
};
330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
332 _arg0
= (bool ) tempbool0
;
334 wxPy_BEGIN_ALLOW_THREADS
;
335 _result
= (long )wxGetElapsedTime(_arg0
);
337 wxPy_END_ALLOW_THREADS
;
338 } _resultobj
= Py_BuildValue("l",_result
);
342 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 PyObject
* _resultobj
;
345 char *_kwnames
[] = { NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
351 wxPy_BEGIN_ALLOW_THREADS
;
352 _result
= (long )wxGetFreeMemory();
354 wxPy_END_ALLOW_THREADS
;
355 } _resultobj
= Py_BuildValue("l",_result
);
359 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
360 PyObject
* _resultobj
;
365 char *_kwnames
[] = { NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
377 wxPy_BEGIN_ALLOW_THREADS
;
378 wxGetMousePosition(_arg0
,_arg1
);
380 wxPy_END_ALLOW_THREADS
;
381 } Py_INCREF(Py_None
);
382 _resultobj
= Py_None
;
385 o
= PyInt_FromLong((long) (*_arg0
));
386 _resultobj
= t_output_helper(_resultobj
, o
);
390 o
= PyInt_FromLong((long) (*_arg1
));
391 _resultobj
= t_output_helper(_resultobj
, o
);
396 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
397 PyObject
* _resultobj
;
399 char *_kwnames
[] = { NULL
};
402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
405 wxPy_BEGIN_ALLOW_THREADS
;
406 _result
= (bool )wxIsBusy();
408 wxPy_END_ALLOW_THREADS
;
409 } _resultobj
= Py_BuildValue("i",_result
);
413 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
414 PyObject
* _resultobj
;
416 char *_kwnames
[] = { NULL
};
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
422 wxPy_BEGIN_ALLOW_THREADS
;
423 _result
= new wxString (wxNow());
425 wxPy_END_ALLOW_THREADS
;
427 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
435 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
436 PyObject
* _resultobj
;
438 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
439 PyObject
* _obj0
= 0;
440 char *_kwnames
[] = { "command", NULL
};
443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
447 if (!PyString_Check(_obj0
)) {
448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
451 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
454 wxPy_BEGIN_ALLOW_THREADS
;
455 _result
= (bool )wxShell(*_arg0
);
457 wxPy_END_ALLOW_THREADS
;
458 } _resultobj
= Py_BuildValue("i",_result
);
466 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
467 PyObject
* _resultobj
;
468 char *_kwnames
[] = { NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
474 wxPy_BEGIN_ALLOW_THREADS
;
477 wxPy_END_ALLOW_THREADS
;
478 } Py_INCREF(Py_None
);
479 _resultobj
= Py_None
;
483 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
484 PyObject
* _resultobj
;
490 char *_kwnames
[] = { NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
502 wxPy_BEGIN_ALLOW_THREADS
;
503 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
505 wxPy_END_ALLOW_THREADS
;
506 } _resultobj
= Py_BuildValue("i",_result
);
509 o
= PyInt_FromLong((long) (*_arg0
));
510 _resultobj
= t_output_helper(_resultobj
, o
);
514 o
= PyInt_FromLong((long) (*_arg1
));
515 _resultobj
= t_output_helper(_resultobj
, o
);
520 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 char *_kwnames
[] = { NULL
};
526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
529 wxPy_BEGIN_ALLOW_THREADS
;
530 _result
= new wxString (wxGetOsDescription());
532 wxPy_END_ALLOW_THREADS
;
534 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
542 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
545 char *_kwnames
[] = { "secs", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
551 wxPy_BEGIN_ALLOW_THREADS
;
554 wxPy_END_ALLOW_THREADS
;
555 } Py_INCREF(Py_None
);
556 _resultobj
= Py_None
;
560 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
561 PyObject
* _resultobj
;
563 char *_kwnames
[] = { "milliseconds", NULL
};
566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
569 wxPy_BEGIN_ALLOW_THREADS
;
572 wxPy_END_ALLOW_THREADS
;
573 } Py_INCREF(Py_None
);
574 _resultobj
= Py_None
;
578 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
581 char *_kwnames
[] = { NULL
};
584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
587 wxPy_BEGIN_ALLOW_THREADS
;
588 _result
= (bool )wxYield();
590 wxPy_END_ALLOW_THREADS
;
591 } _resultobj
= Py_BuildValue("i",_result
);
595 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
599 char *_kwnames
[] = { "enable", NULL
};
602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
604 _arg0
= (bool ) tempbool0
;
606 wxPy_BEGIN_ALLOW_THREADS
;
607 wxEnableTopLevelWindows(_arg0
);
609 wxPy_END_ALLOW_THREADS
;
610 } Py_INCREF(Py_None
);
611 _resultobj
= Py_None
;
615 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
620 char * _arg2
= (char *) NULL
;
621 char *_kwnames
[] = { "section","entry","file", NULL
};
624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
627 wxPy_BEGIN_ALLOW_THREADS
;
628 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
630 wxPy_END_ALLOW_THREADS
;
631 } _resultobj
= Py_BuildValue("s", _result
);
635 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
639 PyObject
* _obj0
= 0;
640 char *_kwnames
[] = { "in", NULL
};
643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
646 if (!PyString_Check(_obj0
)) {
647 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
650 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
653 wxPy_BEGIN_ALLOW_THREADS
;
654 _result
= new wxString (wxStripMenuCodes(*_arg0
));
656 wxPy_END_ALLOW_THREADS
;
658 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
670 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
671 PyObject
* _resultobj
;
673 char *_kwnames
[] = { NULL
};
676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
679 wxPy_BEGIN_ALLOW_THREADS
;
680 _result
= new wxString (wxGetEmailAddress());
682 wxPy_END_ALLOW_THREADS
;
684 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
692 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
695 char *_kwnames
[] = { NULL
};
698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
701 wxPy_BEGIN_ALLOW_THREADS
;
702 _result
= new wxString (wxGetHostName());
704 wxPy_END_ALLOW_THREADS
;
706 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
714 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
715 PyObject
* _resultobj
;
717 char *_kwnames
[] = { NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
723 wxPy_BEGIN_ALLOW_THREADS
;
724 _result
= new wxString (wxGetFullHostName());
726 wxPy_END_ALLOW_THREADS
;
728 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
736 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 PyObject
* _resultobj
;
739 char *_kwnames
[] = { NULL
};
742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
745 wxPy_BEGIN_ALLOW_THREADS
;
746 _result
= new wxString (wxGetUserId());
748 wxPy_END_ALLOW_THREADS
;
750 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
758 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
759 PyObject
* _resultobj
;
761 char *_kwnames
[] = { NULL
};
764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
767 wxPy_BEGIN_ALLOW_THREADS
;
768 _result
= new wxString (wxGetUserName());
770 wxPy_END_ALLOW_THREADS
;
772 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
780 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
783 char *_kwnames
[] = { NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
789 wxPy_BEGIN_ALLOW_THREADS
;
790 _result
= new wxString (wxGetHomeDir());
792 wxPy_END_ALLOW_THREADS
;
794 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
802 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
803 PyObject
* _resultobj
;
804 wxAcceleratorEntry
* _result
;
806 PyObject
* _obj0
= 0;
807 char *_kwnames
[] = { "label", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
814 if (!PyString_Check(_obj0
)) {
815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
818 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
821 wxPy_BEGIN_ALLOW_THREADS
;
822 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
824 wxPy_END_ALLOW_THREADS
;
826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
827 _resultobj
= Py_BuildValue("s",_ptemp
);
830 _resultobj
= Py_None
;
839 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
841 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
845 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
849 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
850 pyobj
= PyString_FromString(ptemp
);
854 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
855 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 PyObject
* _resultobj
;
861 PyObject
* _obj0
= 0;
862 char *_kwnames
[] = { "self","x", NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
869 if (! wxSize_helper(_obj0
, &_arg0
))
873 wxPy_BEGIN_ALLOW_THREADS
;
874 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
876 wxPy_END_ALLOW_THREADS
;
877 } _resultobj
= Py_BuildValue("l",_result
);
881 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
882 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 PyObject
* _resultobj
;
887 PyObject
* _obj0
= 0;
888 char *_kwnames
[] = { "self", NULL
};
891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
895 if (! wxSize_helper(_obj0
, &_arg0
))
899 wxPy_BEGIN_ALLOW_THREADS
;
900 _result
= (long )wxSize_x_get(_arg0
);
902 wxPy_END_ALLOW_THREADS
;
903 } _resultobj
= Py_BuildValue("l",_result
);
907 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
908 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
909 PyObject
* _resultobj
;
914 PyObject
* _obj0
= 0;
915 char *_kwnames
[] = { "self","y", NULL
};
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
922 if (! wxSize_helper(_obj0
, &_arg0
))
926 wxPy_BEGIN_ALLOW_THREADS
;
927 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
929 wxPy_END_ALLOW_THREADS
;
930 } _resultobj
= Py_BuildValue("l",_result
);
934 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
935 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
936 PyObject
* _resultobj
;
940 PyObject
* _obj0
= 0;
941 char *_kwnames
[] = { "self", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
948 if (! wxSize_helper(_obj0
, &_arg0
))
952 wxPy_BEGIN_ALLOW_THREADS
;
953 _result
= (long )wxSize_y_get(_arg0
);
955 wxPy_END_ALLOW_THREADS
;
956 } _resultobj
= Py_BuildValue("l",_result
);
960 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
961 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
964 long _arg0
= (long ) 0;
965 long _arg1
= (long ) 0;
966 char *_kwnames
[] = { "w","h", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
973 wxPy_BEGIN_ALLOW_THREADS
;
974 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
976 wxPy_END_ALLOW_THREADS
;
978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
979 _resultobj
= Py_BuildValue("s",_ptemp
);
982 _resultobj
= Py_None
;
987 #define delete_wxSize(_swigobj) (delete _swigobj)
988 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
992 PyObject
* _obj0
= 0;
993 char *_kwnames
[] = { "self", NULL
};
996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1000 if (! wxSize_helper(_obj0
, &_arg0
))
1004 wxPy_BEGIN_ALLOW_THREADS
;
1005 delete_wxSize(_arg0
);
1007 wxPy_END_ALLOW_THREADS
;
1008 } Py_INCREF(Py_None
);
1009 _resultobj
= Py_None
;
1013 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1014 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
* _resultobj
;
1020 PyObject
* _obj0
= 0;
1021 char *_kwnames
[] = { "self","w","h", NULL
};
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1028 if (! wxSize_helper(_obj0
, &_arg0
))
1032 wxPy_BEGIN_ALLOW_THREADS
;
1033 wxSize_Set(_arg0
,_arg1
,_arg2
);
1035 wxPy_END_ALLOW_THREADS
;
1036 } Py_INCREF(Py_None
);
1037 _resultobj
= Py_None
;
1041 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1042 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1047 PyObject
* _obj0
= 0;
1048 char *_kwnames
[] = { "self", NULL
};
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1055 if (! wxSize_helper(_obj0
, &_arg0
))
1059 wxPy_BEGIN_ALLOW_THREADS
;
1060 _result
= (long )wxSize_GetX(_arg0
);
1062 wxPy_END_ALLOW_THREADS
;
1063 } _resultobj
= Py_BuildValue("l",_result
);
1067 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1068 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1073 PyObject
* _obj0
= 0;
1074 char *_kwnames
[] = { "self", NULL
};
1077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1081 if (! wxSize_helper(_obj0
, &_arg0
))
1085 wxPy_BEGIN_ALLOW_THREADS
;
1086 _result
= (long )wxSize_GetY(_arg0
);
1088 wxPy_END_ALLOW_THREADS
;
1089 } _resultobj
= Py_BuildValue("l",_result
);
1093 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1094 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
* _resultobj
;
1099 PyObject
* _obj0
= 0;
1100 char *_kwnames
[] = { "self", NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1107 if (! wxSize_helper(_obj0
, &_arg0
))
1111 wxPy_BEGIN_ALLOW_THREADS
;
1112 _result
= (long )wxSize_GetWidth(_arg0
);
1114 wxPy_END_ALLOW_THREADS
;
1115 } _resultobj
= Py_BuildValue("l",_result
);
1119 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1120 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1121 PyObject
* _resultobj
;
1125 PyObject
* _obj0
= 0;
1126 char *_kwnames
[] = { "self", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1133 if (! wxSize_helper(_obj0
, &_arg0
))
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= (long )wxSize_GetHeight(_arg0
);
1140 wxPy_END_ALLOW_THREADS
;
1141 } _resultobj
= Py_BuildValue("l",_result
);
1145 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1146 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
* _resultobj
;
1151 PyObject
* _obj0
= 0;
1152 char *_kwnames
[] = { "self","w", NULL
};
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1159 if (! wxSize_helper(_obj0
, &_arg0
))
1163 wxPy_BEGIN_ALLOW_THREADS
;
1164 wxSize_SetWidth(_arg0
,_arg1
);
1166 wxPy_END_ALLOW_THREADS
;
1167 } Py_INCREF(Py_None
);
1168 _resultobj
= Py_None
;
1172 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1173 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1178 PyObject
* _obj0
= 0;
1179 char *_kwnames
[] = { "self","h", NULL
};
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1186 if (! wxSize_helper(_obj0
, &_arg0
))
1190 wxPy_BEGIN_ALLOW_THREADS
;
1191 wxSize_SetHeight(_arg0
,_arg1
);
1193 wxPy_END_ALLOW_THREADS
;
1194 } Py_INCREF(Py_None
);
1195 _resultobj
= Py_None
;
1199 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1200 PyObject
* tup
= PyTuple_New(2);
1201 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1202 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1205 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
* _resultobj
;
1210 PyObject
* _obj0
= 0;
1211 char *_kwnames
[] = { "self", NULL
};
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1218 if (! wxSize_helper(_obj0
, &_arg0
))
1222 wxPy_BEGIN_ALLOW_THREADS
;
1223 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1225 wxPy_END_ALLOW_THREADS
;
1227 _resultobj
= _result
;
1232 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1233 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
* _resultobj
;
1236 wxRealPoint
* _arg0
;
1239 PyObject
* _obj0
= 0;
1240 char *_kwnames
[] = { "self","x", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1247 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1251 wxPy_BEGIN_ALLOW_THREADS
;
1252 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1254 wxPy_END_ALLOW_THREADS
;
1255 } _resultobj
= Py_BuildValue("d",_result
);
1259 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1260 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1263 wxRealPoint
* _arg0
;
1265 PyObject
* _obj0
= 0;
1266 char *_kwnames
[] = { "self", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1273 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1277 wxPy_BEGIN_ALLOW_THREADS
;
1278 _result
= (double )wxRealPoint_x_get(_arg0
);
1280 wxPy_END_ALLOW_THREADS
;
1281 } _resultobj
= Py_BuildValue("d",_result
);
1285 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1286 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1287 PyObject
* _resultobj
;
1289 wxRealPoint
* _arg0
;
1292 PyObject
* _obj0
= 0;
1293 char *_kwnames
[] = { "self","y", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1300 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1304 wxPy_BEGIN_ALLOW_THREADS
;
1305 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1307 wxPy_END_ALLOW_THREADS
;
1308 } _resultobj
= Py_BuildValue("d",_result
);
1312 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1313 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1316 wxRealPoint
* _arg0
;
1318 PyObject
* _obj0
= 0;
1319 char *_kwnames
[] = { "self", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1326 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 _result
= (double )wxRealPoint_y_get(_arg0
);
1333 wxPy_END_ALLOW_THREADS
;
1334 } _resultobj
= Py_BuildValue("d",_result
);
1338 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1339 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxRealPoint
* _result
;
1342 double _arg0
= (double ) 0.0;
1343 double _arg1
= (double ) 0.0;
1344 char *_kwnames
[] = { "x","y", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1351 wxPy_BEGIN_ALLOW_THREADS
;
1352 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1354 wxPy_END_ALLOW_THREADS
;
1356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1357 _resultobj
= Py_BuildValue("s",_ptemp
);
1360 _resultobj
= Py_None
;
1365 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1366 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
* _resultobj
;
1368 wxRealPoint
* _arg0
;
1370 PyObject
* _obj0
= 0;
1371 char *_kwnames
[] = { "self", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1378 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1382 wxPy_BEGIN_ALLOW_THREADS
;
1383 delete_wxRealPoint(_arg0
);
1385 wxPy_END_ALLOW_THREADS
;
1386 } Py_INCREF(Py_None
);
1387 _resultobj
= Py_None
;
1391 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1395 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1397 wxRealPoint
* _arg0
;
1401 PyObject
* _obj0
= 0;
1402 char *_kwnames
[] = { "self","x","y", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1409 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1416 wxPy_END_ALLOW_THREADS
;
1417 } Py_INCREF(Py_None
);
1418 _resultobj
= Py_None
;
1422 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1423 PyObject
* tup
= PyTuple_New(2);
1424 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1425 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1428 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1431 wxRealPoint
* _arg0
;
1433 PyObject
* _obj0
= 0;
1434 char *_kwnames
[] = { "self", NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1441 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1445 wxPy_BEGIN_ALLOW_THREADS
;
1446 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1448 wxPy_END_ALLOW_THREADS
;
1450 _resultobj
= _result
;
1455 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1456 if (! p
) return *self
;
1459 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1461 wxRealPoint
* _result
;
1462 wxRealPoint
* _arg0
;
1463 wxRealPoint
* _arg1
;
1465 PyObject
* _obj0
= 0;
1467 PyObject
* _obj1
= 0;
1468 char *_kwnames
[] = { "self","p", NULL
};
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1476 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1481 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1485 wxPy_BEGIN_ALLOW_THREADS
;
1486 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1488 wxPy_END_ALLOW_THREADS
;
1489 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1490 _resultobj
= Py_BuildValue("s",_ptemp
);
1494 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1495 if (! p
) return *self
;
1498 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1500 wxRealPoint
* _result
;
1501 wxRealPoint
* _arg0
;
1502 wxRealPoint
* _arg1
;
1504 PyObject
* _obj0
= 0;
1506 PyObject
* _obj1
= 0;
1507 char *_kwnames
[] = { "self","p", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1515 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1520 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1527 wxPy_END_ALLOW_THREADS
;
1528 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1529 _resultobj
= Py_BuildValue("s",_ptemp
);
1533 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1537 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1540 wxRealPoint
* _arg0
;
1541 wxRealPoint
* _arg1
;
1543 PyObject
* _obj0
= 0;
1545 PyObject
* _obj1
= 0;
1546 char *_kwnames
[] = { "self","p", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1553 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1558 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1562 wxPy_BEGIN_ALLOW_THREADS
;
1563 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1565 wxPy_END_ALLOW_THREADS
;
1566 } _resultobj
= Py_BuildValue("i",_result
);
1570 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1571 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1577 PyObject
* _obj0
= 0;
1578 char *_kwnames
[] = { "self","x", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1585 if (! wxPoint_helper(_obj0
, &_arg0
))
1589 wxPy_BEGIN_ALLOW_THREADS
;
1590 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1592 wxPy_END_ALLOW_THREADS
;
1593 } _resultobj
= Py_BuildValue("l",_result
);
1597 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1598 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1603 PyObject
* _obj0
= 0;
1604 char *_kwnames
[] = { "self", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1611 if (! wxPoint_helper(_obj0
, &_arg0
))
1615 wxPy_BEGIN_ALLOW_THREADS
;
1616 _result
= (long )wxPoint_x_get(_arg0
);
1618 wxPy_END_ALLOW_THREADS
;
1619 } _resultobj
= Py_BuildValue("l",_result
);
1623 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1624 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
* _resultobj
;
1630 PyObject
* _obj0
= 0;
1631 char *_kwnames
[] = { "self","y", NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1638 if (! wxPoint_helper(_obj0
, &_arg0
))
1642 wxPy_BEGIN_ALLOW_THREADS
;
1643 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1645 wxPy_END_ALLOW_THREADS
;
1646 } _resultobj
= Py_BuildValue("l",_result
);
1650 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1651 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1656 PyObject
* _obj0
= 0;
1657 char *_kwnames
[] = { "self", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1664 if (! wxPoint_helper(_obj0
, &_arg0
))
1668 wxPy_BEGIN_ALLOW_THREADS
;
1669 _result
= (long )wxPoint_y_get(_arg0
);
1671 wxPy_END_ALLOW_THREADS
;
1672 } _resultobj
= Py_BuildValue("l",_result
);
1676 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1677 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
* _resultobj
;
1680 long _arg0
= (long ) 0;
1681 long _arg1
= (long ) 0;
1682 char *_kwnames
[] = { "x","y", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1689 wxPy_BEGIN_ALLOW_THREADS
;
1690 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1692 wxPy_END_ALLOW_THREADS
;
1694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1695 _resultobj
= Py_BuildValue("s",_ptemp
);
1698 _resultobj
= Py_None
;
1703 #define delete_wxPoint(_swigobj) (delete _swigobj)
1704 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1708 PyObject
* _obj0
= 0;
1709 char *_kwnames
[] = { "self", NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1716 if (! wxPoint_helper(_obj0
, &_arg0
))
1720 wxPy_BEGIN_ALLOW_THREADS
;
1721 delete_wxPoint(_arg0
);
1723 wxPy_END_ALLOW_THREADS
;
1724 } Py_INCREF(Py_None
);
1725 _resultobj
= Py_None
;
1729 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1733 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
* _resultobj
;
1739 PyObject
* _obj0
= 0;
1740 char *_kwnames
[] = { "self","x","y", NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1747 if (! wxPoint_helper(_obj0
, &_arg0
))
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1754 wxPy_END_ALLOW_THREADS
;
1755 } Py_INCREF(Py_None
);
1756 _resultobj
= Py_None
;
1760 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1761 PyObject
* tup
= PyTuple_New(2);
1762 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1763 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1766 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1771 PyObject
* _obj0
= 0;
1772 char *_kwnames
[] = { "self", NULL
};
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1779 if (! wxPoint_helper(_obj0
, &_arg0
))
1783 wxPy_BEGIN_ALLOW_THREADS
;
1784 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1786 wxPy_END_ALLOW_THREADS
;
1788 _resultobj
= _result
;
1793 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1794 if (! p
) return *self
;
1797 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
* _resultobj
;
1803 PyObject
* _obj0
= 0;
1805 PyObject
* _obj1
= 0;
1806 char *_kwnames
[] = { "self","p", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1814 if (! wxPoint_helper(_obj0
, &_arg0
))
1819 if (! wxPoint_helper(_obj1
, &_arg1
))
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
1826 wxPy_END_ALLOW_THREADS
;
1827 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1828 _resultobj
= Py_BuildValue("s",_ptemp
);
1832 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
1833 if (! p
) return *self
;
1836 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
* _resultobj
;
1842 PyObject
* _obj0
= 0;
1844 PyObject
* _obj1
= 0;
1845 char *_kwnames
[] = { "self","p", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1853 if (! wxPoint_helper(_obj0
, &_arg0
))
1858 if (! wxPoint_helper(_obj1
, &_arg1
))
1862 wxPy_BEGIN_ALLOW_THREADS
;
1863 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
1865 wxPy_END_ALLOW_THREADS
;
1866 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1867 _resultobj
= Py_BuildValue("s",_ptemp
);
1871 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
1875 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1881 PyObject
* _obj0
= 0;
1883 PyObject
* _obj1
= 0;
1884 char *_kwnames
[] = { "self","p", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1891 if (! wxPoint_helper(_obj0
, &_arg0
))
1896 if (! wxPoint_helper(_obj1
, &_arg1
))
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
1903 wxPy_END_ALLOW_THREADS
;
1904 } _resultobj
= Py_BuildValue("i",_result
);
1908 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1909 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
* _resultobj
;
1912 int _arg0
= (int ) 0;
1913 int _arg1
= (int ) 0;
1914 int _arg2
= (int ) 0;
1915 int _arg3
= (int ) 0;
1916 char *_kwnames
[] = { "x","y","w","h", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
1923 wxPy_BEGIN_ALLOW_THREADS
;
1924 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
1926 wxPy_END_ALLOW_THREADS
;
1928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
1929 _resultobj
= Py_BuildValue("s",_ptemp
);
1932 _resultobj
= Py_None
;
1937 #define delete_wxRect(_swigobj) (delete _swigobj)
1938 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1942 PyObject
* _obj0
= 0;
1943 char *_kwnames
[] = { "self", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
1950 if (! wxRect_helper(_obj0
, &_arg0
))
1954 wxPy_BEGIN_ALLOW_THREADS
;
1955 delete_wxRect(_arg0
);
1957 wxPy_END_ALLOW_THREADS
;
1958 } Py_INCREF(Py_None
);
1959 _resultobj
= Py_None
;
1963 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
1964 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1969 PyObject
* _obj0
= 0;
1970 char *_kwnames
[] = { "self", NULL
};
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
1977 if (! wxRect_helper(_obj0
, &_arg0
))
1981 wxPy_BEGIN_ALLOW_THREADS
;
1982 _result
= (int )wxRect_GetX(_arg0
);
1984 wxPy_END_ALLOW_THREADS
;
1985 } _resultobj
= Py_BuildValue("i",_result
);
1989 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
1990 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1995 PyObject
* _obj0
= 0;
1996 char *_kwnames
[] = { "self","X", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2003 if (! wxRect_helper(_obj0
, &_arg0
))
2007 wxPy_BEGIN_ALLOW_THREADS
;
2008 wxRect_SetX(_arg0
,_arg1
);
2010 wxPy_END_ALLOW_THREADS
;
2011 } Py_INCREF(Py_None
);
2012 _resultobj
= Py_None
;
2016 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2017 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
* _resultobj
;
2022 PyObject
* _obj0
= 0;
2023 char *_kwnames
[] = { "self", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2030 if (! wxRect_helper(_obj0
, &_arg0
))
2034 wxPy_BEGIN_ALLOW_THREADS
;
2035 _result
= (int )wxRect_GetY(_arg0
);
2037 wxPy_END_ALLOW_THREADS
;
2038 } _resultobj
= Py_BuildValue("i",_result
);
2042 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2043 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2048 PyObject
* _obj0
= 0;
2049 char *_kwnames
[] = { "self","Y", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2056 if (! wxRect_helper(_obj0
, &_arg0
))
2060 wxPy_BEGIN_ALLOW_THREADS
;
2061 wxRect_SetY(_arg0
,_arg1
);
2063 wxPy_END_ALLOW_THREADS
;
2064 } Py_INCREF(Py_None
);
2065 _resultobj
= Py_None
;
2069 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2070 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
* _resultobj
;
2075 PyObject
* _obj0
= 0;
2076 char *_kwnames
[] = { "self", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2083 if (! wxRect_helper(_obj0
, &_arg0
))
2087 wxPy_BEGIN_ALLOW_THREADS
;
2088 _result
= (int )wxRect_GetWidth(_arg0
);
2090 wxPy_END_ALLOW_THREADS
;
2091 } _resultobj
= Py_BuildValue("i",_result
);
2095 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2096 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
* _resultobj
;
2101 PyObject
* _obj0
= 0;
2102 char *_kwnames
[] = { "self","w", NULL
};
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2109 if (! wxRect_helper(_obj0
, &_arg0
))
2113 wxPy_BEGIN_ALLOW_THREADS
;
2114 wxRect_SetWidth(_arg0
,_arg1
);
2116 wxPy_END_ALLOW_THREADS
;
2117 } Py_INCREF(Py_None
);
2118 _resultobj
= Py_None
;
2122 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2123 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
* _resultobj
;
2128 PyObject
* _obj0
= 0;
2129 char *_kwnames
[] = { "self", NULL
};
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2136 if (! wxRect_helper(_obj0
, &_arg0
))
2140 wxPy_BEGIN_ALLOW_THREADS
;
2141 _result
= (int )wxRect_GetHeight(_arg0
);
2143 wxPy_END_ALLOW_THREADS
;
2144 } _resultobj
= Py_BuildValue("i",_result
);
2148 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2149 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2154 PyObject
* _obj0
= 0;
2155 char *_kwnames
[] = { "self","h", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2162 if (! wxRect_helper(_obj0
, &_arg0
))
2166 wxPy_BEGIN_ALLOW_THREADS
;
2167 wxRect_SetHeight(_arg0
,_arg1
);
2169 wxPy_END_ALLOW_THREADS
;
2170 } Py_INCREF(Py_None
);
2171 _resultobj
= Py_None
;
2175 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2176 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2181 PyObject
* _obj0
= 0;
2182 char *_kwnames
[] = { "self", NULL
};
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2190 if (! wxRect_helper(_obj0
, &_arg0
))
2194 wxPy_BEGIN_ALLOW_THREADS
;
2195 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2197 wxPy_END_ALLOW_THREADS
;
2198 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2199 _resultobj
= Py_BuildValue("s",_ptemp
);
2203 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2204 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2209 PyObject
* _obj0
= 0;
2210 char *_kwnames
[] = { "self", NULL
};
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2218 if (! wxRect_helper(_obj0
, &_arg0
))
2222 wxPy_BEGIN_ALLOW_THREADS
;
2223 _result
= new wxSize (wxRect_GetSize(_arg0
));
2225 wxPy_END_ALLOW_THREADS
;
2226 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2227 _resultobj
= Py_BuildValue("s",_ptemp
);
2231 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2232 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
* _resultobj
;
2237 PyObject
* _obj0
= 0;
2238 char *_kwnames
[] = { "self", NULL
};
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2245 if (! wxRect_helper(_obj0
, &_arg0
))
2249 wxPy_BEGIN_ALLOW_THREADS
;
2250 _result
= (int )wxRect_GetLeft(_arg0
);
2252 wxPy_END_ALLOW_THREADS
;
2253 } _resultobj
= Py_BuildValue("i",_result
);
2257 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2258 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
* _resultobj
;
2263 PyObject
* _obj0
= 0;
2264 char *_kwnames
[] = { "self", NULL
};
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2271 if (! wxRect_helper(_obj0
, &_arg0
))
2275 wxPy_BEGIN_ALLOW_THREADS
;
2276 _result
= (int )wxRect_GetTop(_arg0
);
2278 wxPy_END_ALLOW_THREADS
;
2279 } _resultobj
= Py_BuildValue("i",_result
);
2283 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2284 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2289 PyObject
* _obj0
= 0;
2290 char *_kwnames
[] = { "self", NULL
};
2293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2297 if (! wxRect_helper(_obj0
, &_arg0
))
2301 wxPy_BEGIN_ALLOW_THREADS
;
2302 _result
= (int )wxRect_GetBottom(_arg0
);
2304 wxPy_END_ALLOW_THREADS
;
2305 } _resultobj
= Py_BuildValue("i",_result
);
2309 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2310 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
* _resultobj
;
2315 PyObject
* _obj0
= 0;
2316 char *_kwnames
[] = { "self", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2323 if (! wxRect_helper(_obj0
, &_arg0
))
2327 wxPy_BEGIN_ALLOW_THREADS
;
2328 _result
= (int )wxRect_GetRight(_arg0
);
2330 wxPy_END_ALLOW_THREADS
;
2331 } _resultobj
= Py_BuildValue("i",_result
);
2335 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2336 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2341 PyObject
* _obj0
= 0;
2342 char *_kwnames
[] = { "self","left", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2349 if (! wxRect_helper(_obj0
, &_arg0
))
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 wxRect_SetLeft(_arg0
,_arg1
);
2356 wxPy_END_ALLOW_THREADS
;
2357 } Py_INCREF(Py_None
);
2358 _resultobj
= Py_None
;
2362 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2363 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2368 PyObject
* _obj0
= 0;
2369 char *_kwnames
[] = { "self","right", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2376 if (! wxRect_helper(_obj0
, &_arg0
))
2380 wxPy_BEGIN_ALLOW_THREADS
;
2381 wxRect_SetRight(_arg0
,_arg1
);
2383 wxPy_END_ALLOW_THREADS
;
2384 } Py_INCREF(Py_None
);
2385 _resultobj
= Py_None
;
2389 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2390 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
* _resultobj
;
2395 PyObject
* _obj0
= 0;
2396 char *_kwnames
[] = { "self","top", NULL
};
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2403 if (! wxRect_helper(_obj0
, &_arg0
))
2407 wxPy_BEGIN_ALLOW_THREADS
;
2408 wxRect_SetTop(_arg0
,_arg1
);
2410 wxPy_END_ALLOW_THREADS
;
2411 } Py_INCREF(Py_None
);
2412 _resultobj
= Py_None
;
2416 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2417 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
* _resultobj
;
2422 PyObject
* _obj0
= 0;
2423 char *_kwnames
[] = { "self","bottom", NULL
};
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2430 if (! wxRect_helper(_obj0
, &_arg0
))
2434 wxPy_BEGIN_ALLOW_THREADS
;
2435 wxRect_SetBottom(_arg0
,_arg1
);
2437 wxPy_END_ALLOW_THREADS
;
2438 } Py_INCREF(Py_None
);
2439 _resultobj
= Py_None
;
2443 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2444 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2450 PyObject
* _obj0
= 0;
2451 char *_kwnames
[] = { "self","dx","dy", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2458 if (! wxRect_helper(_obj0
, &_arg0
))
2462 wxPy_BEGIN_ALLOW_THREADS
;
2463 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2465 wxPy_END_ALLOW_THREADS
;
2466 } Py_INCREF(Py_None
);
2467 _resultobj
= Py_None
;
2471 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2472 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
* _resultobj
;
2479 PyObject
* _obj0
= 0;
2480 char *_kwnames
[] = { "self","cx","cy", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2487 if (! wxRect_helper(_obj0
, &_arg0
))
2491 wxPy_BEGIN_ALLOW_THREADS
;
2492 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2494 wxPy_END_ALLOW_THREADS
;
2495 } _resultobj
= Py_BuildValue("i",_result
);
2499 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2500 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2506 PyObject
* _obj0
= 0;
2507 char *_kwnames
[] = { "self","x", NULL
};
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2514 if (! wxRect_helper(_obj0
, &_arg0
))
2518 wxPy_BEGIN_ALLOW_THREADS
;
2519 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2521 wxPy_END_ALLOW_THREADS
;
2522 } _resultobj
= Py_BuildValue("i",_result
);
2526 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2527 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2532 PyObject
* _obj0
= 0;
2533 char *_kwnames
[] = { "self", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2540 if (! wxRect_helper(_obj0
, &_arg0
))
2544 wxPy_BEGIN_ALLOW_THREADS
;
2545 _result
= (int )wxRect_x_get(_arg0
);
2547 wxPy_END_ALLOW_THREADS
;
2548 } _resultobj
= Py_BuildValue("i",_result
);
2552 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2553 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2554 PyObject
* _resultobj
;
2559 PyObject
* _obj0
= 0;
2560 char *_kwnames
[] = { "self","y", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2567 if (! wxRect_helper(_obj0
, &_arg0
))
2571 wxPy_BEGIN_ALLOW_THREADS
;
2572 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2574 wxPy_END_ALLOW_THREADS
;
2575 } _resultobj
= Py_BuildValue("i",_result
);
2579 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2580 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
* _resultobj
;
2585 PyObject
* _obj0
= 0;
2586 char *_kwnames
[] = { "self", NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2593 if (! wxRect_helper(_obj0
, &_arg0
))
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 _result
= (int )wxRect_y_get(_arg0
);
2600 wxPy_END_ALLOW_THREADS
;
2601 } _resultobj
= Py_BuildValue("i",_result
);
2605 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2606 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
* _resultobj
;
2612 PyObject
* _obj0
= 0;
2613 char *_kwnames
[] = { "self","width", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2620 if (! wxRect_helper(_obj0
, &_arg0
))
2624 wxPy_BEGIN_ALLOW_THREADS
;
2625 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2627 wxPy_END_ALLOW_THREADS
;
2628 } _resultobj
= Py_BuildValue("i",_result
);
2632 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2633 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
* _resultobj
;
2638 PyObject
* _obj0
= 0;
2639 char *_kwnames
[] = { "self", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2646 if (! wxRect_helper(_obj0
, &_arg0
))
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 _result
= (int )wxRect_width_get(_arg0
);
2653 wxPy_END_ALLOW_THREADS
;
2654 } _resultobj
= Py_BuildValue("i",_result
);
2658 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2659 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2665 PyObject
* _obj0
= 0;
2666 char *_kwnames
[] = { "self","height", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2673 if (! wxRect_helper(_obj0
, &_arg0
))
2677 wxPy_BEGIN_ALLOW_THREADS
;
2678 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2680 wxPy_END_ALLOW_THREADS
;
2681 } _resultobj
= Py_BuildValue("i",_result
);
2685 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2686 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2691 PyObject
* _obj0
= 0;
2692 char *_kwnames
[] = { "self", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2699 if (! wxRect_helper(_obj0
, &_arg0
))
2703 wxPy_BEGIN_ALLOW_THREADS
;
2704 _result
= (int )wxRect_height_get(_arg0
);
2706 wxPy_END_ALLOW_THREADS
;
2707 } _resultobj
= Py_BuildValue("i",_result
);
2711 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2712 PyObject
* tup
= PyTuple_New(4);
2713 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2714 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2715 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2716 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2719 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2724 PyObject
* _obj0
= 0;
2725 char *_kwnames
[] = { "self", NULL
};
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2732 if (! wxRect_helper(_obj0
, &_arg0
))
2736 wxPy_BEGIN_ALLOW_THREADS
;
2737 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2739 wxPy_END_ALLOW_THREADS
;
2741 _resultobj
= _result
;
2746 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2747 if (! rect
) return *self
;
2748 return *self
+ *rect
;
2750 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2756 PyObject
* _obj0
= 0;
2758 PyObject
* _obj1
= 0;
2759 char *_kwnames
[] = { "self","rect", NULL
};
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2767 if (! wxRect_helper(_obj0
, &_arg0
))
2772 if (! wxRect_helper(_obj1
, &_arg1
))
2776 wxPy_BEGIN_ALLOW_THREADS
;
2777 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2779 wxPy_END_ALLOW_THREADS
;
2780 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2781 _resultobj
= Py_BuildValue("s",_ptemp
);
2785 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
2786 if (! rect
) return 0;
2787 return *self
== *rect
;
2789 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
* _resultobj
;
2795 PyObject
* _obj0
= 0;
2797 PyObject
* _obj1
= 0;
2798 char *_kwnames
[] = { "self","rect", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
2805 if (! wxRect_helper(_obj0
, &_arg0
))
2810 if (! wxRect_helper(_obj1
, &_arg1
))
2814 wxPy_BEGIN_ALLOW_THREADS
;
2815 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
2817 wxPy_END_ALLOW_THREADS
;
2818 } _resultobj
= Py_BuildValue("i",_result
);
2822 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2823 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
* _resultobj
;
2825 wxIndividualLayoutConstraint
* _arg0
;
2827 int _arg2
= (int ) 0;
2828 PyObject
* _argo0
= 0;
2829 PyObject
* _argo1
= 0;
2830 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2843 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2844 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2850 wxPy_BEGIN_ALLOW_THREADS
;
2851 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2853 wxPy_END_ALLOW_THREADS
;
2854 } Py_INCREF(Py_None
);
2855 _resultobj
= Py_None
;
2859 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2860 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
* _resultobj
;
2862 wxIndividualLayoutConstraint
* _arg0
;
2864 PyObject
* _argo0
= 0;
2865 char *_kwnames
[] = { "self","value", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2878 wxPy_BEGIN_ALLOW_THREADS
;
2879 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2881 wxPy_END_ALLOW_THREADS
;
2882 } Py_INCREF(Py_None
);
2883 _resultobj
= Py_None
;
2887 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2888 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2890 wxIndividualLayoutConstraint
* _arg0
;
2891 PyObject
* _argo0
= 0;
2892 char *_kwnames
[] = { "self", NULL
};
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
2898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
2905 wxPy_BEGIN_ALLOW_THREADS
;
2906 wxIndividualLayoutConstraint_AsIs(_arg0
);
2908 wxPy_END_ALLOW_THREADS
;
2909 } Py_INCREF(Py_None
);
2910 _resultobj
= Py_None
;
2914 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
2915 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
* _resultobj
;
2917 wxIndividualLayoutConstraint
* _arg0
;
2919 int _arg2
= (int ) 0;
2920 PyObject
* _argo0
= 0;
2921 PyObject
* _argo1
= 0;
2922 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
2935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
2942 wxPy_BEGIN_ALLOW_THREADS
;
2943 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
2945 wxPy_END_ALLOW_THREADS
;
2946 } Py_INCREF(Py_None
);
2947 _resultobj
= Py_None
;
2951 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
2952 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2954 wxIndividualLayoutConstraint
* _arg0
;
2955 PyObject
* _argo0
= 0;
2956 char *_kwnames
[] = { "self", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
2969 wxPy_BEGIN_ALLOW_THREADS
;
2970 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
2972 wxPy_END_ALLOW_THREADS
;
2973 } Py_INCREF(Py_None
);
2974 _resultobj
= Py_None
;
2978 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
2979 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
* _resultobj
;
2981 wxIndividualLayoutConstraint
* _arg0
;
2983 int _arg2
= (int ) 0;
2984 PyObject
* _argo0
= 0;
2985 PyObject
* _argo1
= 0;
2986 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
2999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3006 wxPy_BEGIN_ALLOW_THREADS
;
3007 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3009 wxPy_END_ALLOW_THREADS
;
3010 } Py_INCREF(Py_None
);
3011 _resultobj
= Py_None
;
3015 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3016 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
* _resultobj
;
3018 wxIndividualLayoutConstraint
* _arg0
;
3022 PyObject
* _argo0
= 0;
3023 PyObject
* _argo1
= 0;
3024 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3037 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3038 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3047 wxPy_END_ALLOW_THREADS
;
3048 } Py_INCREF(Py_None
);
3049 _resultobj
= Py_None
;
3053 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3054 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3055 PyObject
* _resultobj
;
3056 wxIndividualLayoutConstraint
* _arg0
;
3058 int _arg2
= (int ) 0;
3059 PyObject
* _argo0
= 0;
3060 PyObject
* _argo1
= 0;
3061 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3074 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3075 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3081 wxPy_BEGIN_ALLOW_THREADS
;
3082 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3084 wxPy_END_ALLOW_THREADS
;
3085 } Py_INCREF(Py_None
);
3086 _resultobj
= Py_None
;
3090 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3091 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
* _resultobj
;
3093 wxIndividualLayoutConstraint
* _arg0
;
3096 int _arg3
= (int ) 0;
3097 PyObject
* _argo0
= 0;
3098 PyObject
* _argo1
= 0;
3099 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3112 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3113 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3119 wxPy_BEGIN_ALLOW_THREADS
;
3120 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3122 wxPy_END_ALLOW_THREADS
;
3123 } Py_INCREF(Py_None
);
3124 _resultobj
= Py_None
;
3128 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3129 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3131 wxIndividualLayoutConstraint
* _arg0
;
3132 wxRelationship _arg1
;
3135 int _arg4
= (int ) 0;
3136 int _arg5
= (int ) 0;
3137 PyObject
* _argo0
= 0;
3138 PyObject
* _argo2
= 0;
3139 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3152 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3153 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3159 wxPy_BEGIN_ALLOW_THREADS
;
3160 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3162 wxPy_END_ALLOW_THREADS
;
3163 } Py_INCREF(Py_None
);
3164 _resultobj
= Py_None
;
3168 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3169 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3171 wxLayoutConstraints
* _result
;
3172 char *_kwnames
[] = { NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3179 wxPy_BEGIN_ALLOW_THREADS
;
3180 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3182 wxPy_END_ALLOW_THREADS
;
3184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3185 _resultobj
= Py_BuildValue("s",_ptemp
);
3188 _resultobj
= Py_None
;
3193 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3194 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
* _resultobj
;
3196 wxIndividualLayoutConstraint
* _result
;
3197 wxLayoutConstraints
* _arg0
;
3198 PyObject
* _argo0
= 0;
3199 char *_kwnames
[] = { "self", NULL
};
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3213 wxPy_BEGIN_ALLOW_THREADS
;
3214 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3216 wxPy_END_ALLOW_THREADS
;
3218 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3219 _resultobj
= Py_BuildValue("s",_ptemp
);
3222 _resultobj
= Py_None
;
3227 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3228 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
* _resultobj
;
3230 wxIndividualLayoutConstraint
* _result
;
3231 wxLayoutConstraints
* _arg0
;
3232 PyObject
* _argo0
= 0;
3233 char *_kwnames
[] = { "self", NULL
};
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3247 wxPy_BEGIN_ALLOW_THREADS
;
3248 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3250 wxPy_END_ALLOW_THREADS
;
3252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3253 _resultobj
= Py_BuildValue("s",_ptemp
);
3256 _resultobj
= Py_None
;
3261 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3262 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
* _resultobj
;
3264 wxIndividualLayoutConstraint
* _result
;
3265 wxLayoutConstraints
* _arg0
;
3266 PyObject
* _argo0
= 0;
3267 char *_kwnames
[] = { "self", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3281 wxPy_BEGIN_ALLOW_THREADS
;
3282 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3284 wxPy_END_ALLOW_THREADS
;
3286 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3287 _resultobj
= Py_BuildValue("s",_ptemp
);
3290 _resultobj
= Py_None
;
3295 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3296 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
* _resultobj
;
3298 wxIndividualLayoutConstraint
* _result
;
3299 wxLayoutConstraints
* _arg0
;
3300 PyObject
* _argo0
= 0;
3301 char *_kwnames
[] = { "self", NULL
};
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3315 wxPy_BEGIN_ALLOW_THREADS
;
3316 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3318 wxPy_END_ALLOW_THREADS
;
3320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3321 _resultobj
= Py_BuildValue("s",_ptemp
);
3324 _resultobj
= Py_None
;
3329 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3330 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
* _resultobj
;
3332 wxIndividualLayoutConstraint
* _result
;
3333 wxLayoutConstraints
* _arg0
;
3334 PyObject
* _argo0
= 0;
3335 char *_kwnames
[] = { "self", NULL
};
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3349 wxPy_BEGIN_ALLOW_THREADS
;
3350 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3352 wxPy_END_ALLOW_THREADS
;
3354 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3355 _resultobj
= Py_BuildValue("s",_ptemp
);
3358 _resultobj
= Py_None
;
3363 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3364 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
* _resultobj
;
3366 wxIndividualLayoutConstraint
* _result
;
3367 wxLayoutConstraints
* _arg0
;
3368 PyObject
* _argo0
= 0;
3369 char *_kwnames
[] = { "self", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3383 wxPy_BEGIN_ALLOW_THREADS
;
3384 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3386 wxPy_END_ALLOW_THREADS
;
3388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3389 _resultobj
= Py_BuildValue("s",_ptemp
);
3392 _resultobj
= Py_None
;
3397 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3398 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
* _resultobj
;
3400 wxIndividualLayoutConstraint
* _result
;
3401 wxLayoutConstraints
* _arg0
;
3402 PyObject
* _argo0
= 0;
3403 char *_kwnames
[] = { "self", NULL
};
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3417 wxPy_BEGIN_ALLOW_THREADS
;
3418 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3420 wxPy_END_ALLOW_THREADS
;
3422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3423 _resultobj
= Py_BuildValue("s",_ptemp
);
3426 _resultobj
= Py_None
;
3431 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3432 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3434 wxIndividualLayoutConstraint
* _result
;
3435 wxLayoutConstraints
* _arg0
;
3436 PyObject
* _argo0
= 0;
3437 char *_kwnames
[] = { "self", NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3451 wxPy_BEGIN_ALLOW_THREADS
;
3452 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3454 wxPy_END_ALLOW_THREADS
;
3456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3457 _resultobj
= Py_BuildValue("s",_ptemp
);
3460 _resultobj
= Py_None
;
3465 #define new_wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3466 static PyObject
*_wrap_new_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
* _resultobj
;
3469 long _arg0
= (long ) 0;
3470 long _arg1
= (long ) 0;
3471 long _arg2
= (long ) 0;
3472 long _arg3
= (long ) 0;
3473 char *_kwnames
[] = { "x","y","width","height", NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|llll:new_wxRegion",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
3480 wxPy_BEGIN_ALLOW_THREADS
;
3481 _result
= (wxRegion
*)new_wxRegion(_arg0
,_arg1
,_arg2
,_arg3
);
3483 wxPy_END_ALLOW_THREADS
;
3485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegion_p");
3486 _resultobj
= Py_BuildValue("s",_ptemp
);
3489 _resultobj
= Py_None
;
3494 #define delete_wxRegion(_swigobj) (delete _swigobj)
3495 static PyObject
*_wrap_delete_wxRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
* _resultobj
;
3498 PyObject
* _argo0
= 0;
3499 char *_kwnames
[] = { "self", NULL
};
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegion",_kwnames
,&_argo0
))
3505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegion. Expected _wxRegion_p.");
3512 wxPy_BEGIN_ALLOW_THREADS
;
3513 delete_wxRegion(_arg0
);
3515 wxPy_END_ALLOW_THREADS
;
3516 } Py_INCREF(Py_None
);
3517 _resultobj
= Py_None
;
3521 #define wxRegion_Clear(_swigobj) (_swigobj->Clear())
3522 static PyObject
*_wrap_wxRegion_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
* _resultobj
;
3525 PyObject
* _argo0
= 0;
3526 char *_kwnames
[] = { "self", NULL
};
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_Clear",_kwnames
,&_argo0
))
3532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Clear. Expected _wxRegion_p.");
3539 wxPy_BEGIN_ALLOW_THREADS
;
3540 wxRegion_Clear(_arg0
);
3542 wxPy_END_ALLOW_THREADS
;
3543 } Py_INCREF(Py_None
);
3544 _resultobj
= Py_None
;
3548 #define wxRegion_Contains(_swigobj,_swigarg0,_swigarg1) (_swigobj->Contains(_swigarg0,_swigarg1))
3549 static PyObject
*_wrap_wxRegion_Contains(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
* _resultobj
;
3551 wxRegionContain _result
;
3555 PyObject
* _argo0
= 0;
3556 char *_kwnames
[] = { "self","x","y", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxRegion_Contains",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Contains. Expected _wxRegion_p.");
3569 wxPy_BEGIN_ALLOW_THREADS
;
3570 _result
= (wxRegionContain
)wxRegion_Contains(_arg0
,_arg1
,_arg2
);
3572 wxPy_END_ALLOW_THREADS
;
3573 } _resultobj
= Py_BuildValue("i",_result
);
3577 #define wxRegion_ContainsPoint(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3578 static PyObject
*_wrap_wxRegion_ContainsPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
* _resultobj
;
3580 wxRegionContain _result
;
3583 PyObject
* _argo0
= 0;
3585 PyObject
* _obj1
= 0;
3586 char *_kwnames
[] = { "self","pt", NULL
};
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsPoint",_kwnames
,&_argo0
,&_obj1
))
3592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsPoint. Expected _wxRegion_p.");
3600 if (! wxPoint_helper(_obj1
, &_arg1
))
3604 wxPy_BEGIN_ALLOW_THREADS
;
3605 _result
= (wxRegionContain
)wxRegion_ContainsPoint(_arg0
,*_arg1
);
3607 wxPy_END_ALLOW_THREADS
;
3608 } _resultobj
= Py_BuildValue("i",_result
);
3612 #define wxRegion_ContainsRect(_swigobj,_swigarg0) (_swigobj->Contains(_swigarg0))
3613 static PyObject
*_wrap_wxRegion_ContainsRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
* _resultobj
;
3615 wxRegionContain _result
;
3618 PyObject
* _argo0
= 0;
3620 PyObject
* _obj1
= 0;
3621 char *_kwnames
[] = { "self","rect", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_ContainsRect",_kwnames
,&_argo0
,&_obj1
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRect. Expected _wxRegion_p.");
3635 if (! wxRect_helper(_obj1
, &_arg1
))
3639 wxPy_BEGIN_ALLOW_THREADS
;
3640 _result
= (wxRegionContain
)wxRegion_ContainsRect(_arg0
,*_arg1
);
3642 wxPy_END_ALLOW_THREADS
;
3643 } _resultobj
= Py_BuildValue("i",_result
);
3647 #define wxRegion_ContainsRectDim(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Contains(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3648 static PyObject
*_wrap_wxRegion_ContainsRectDim(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3650 wxRegionContain _result
;
3656 PyObject
* _argo0
= 0;
3657 char *_kwnames
[] = { "self","x","y","w","h", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_ContainsRectDim",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_ContainsRectDim. Expected _wxRegion_p.");
3670 wxPy_BEGIN_ALLOW_THREADS
;
3671 _result
= (wxRegionContain
)wxRegion_ContainsRectDim(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3673 wxPy_END_ALLOW_THREADS
;
3674 } _resultobj
= Py_BuildValue("i",_result
);
3678 #define wxRegion_GetBox(_swigobj) (_swigobj->GetBox())
3679 static PyObject
*_wrap_wxRegion_GetBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
* _resultobj
;
3683 PyObject
* _argo0
= 0;
3684 char *_kwnames
[] = { "self", NULL
};
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_GetBox",_kwnames
,&_argo0
))
3691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_GetBox. Expected _wxRegion_p.");
3698 wxPy_BEGIN_ALLOW_THREADS
;
3699 _result
= new wxRect (wxRegion_GetBox(_arg0
));
3701 wxPy_END_ALLOW_THREADS
;
3702 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3703 _resultobj
= Py_BuildValue("s",_ptemp
);
3707 #define wxRegion_Intersect(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Intersect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3708 static PyObject
*_wrap_wxRegion_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3716 PyObject
* _argo0
= 0;
3717 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Intersect",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Intersect. Expected _wxRegion_p.");
3730 wxPy_BEGIN_ALLOW_THREADS
;
3731 _result
= (bool )wxRegion_Intersect(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3733 wxPy_END_ALLOW_THREADS
;
3734 } _resultobj
= Py_BuildValue("i",_result
);
3738 #define wxRegion_IntersectRect(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3739 static PyObject
*_wrap_wxRegion_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
* _resultobj
;
3744 PyObject
* _argo0
= 0;
3746 PyObject
* _obj1
= 0;
3747 char *_kwnames
[] = { "self","rect", NULL
};
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRect",_kwnames
,&_argo0
,&_obj1
))
3753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRect. Expected _wxRegion_p.");
3761 if (! wxRect_helper(_obj1
, &_arg1
))
3765 wxPy_BEGIN_ALLOW_THREADS
;
3766 _result
= (bool )wxRegion_IntersectRect(_arg0
,*_arg1
);
3768 wxPy_END_ALLOW_THREADS
;
3769 } _resultobj
= Py_BuildValue("i",_result
);
3773 #define wxRegion_IntersectRegion(_swigobj,_swigarg0) (_swigobj->Intersect(_swigarg0))
3774 static PyObject
*_wrap_wxRegion_IntersectRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
* _resultobj
;
3779 PyObject
* _argo0
= 0;
3780 PyObject
* _argo1
= 0;
3781 char *_kwnames
[] = { "self","region", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_IntersectRegion",_kwnames
,&_argo0
,&_argo1
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3794 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_IntersectRegion. Expected _wxRegion_p.");
3801 wxPy_BEGIN_ALLOW_THREADS
;
3802 _result
= (bool )wxRegion_IntersectRegion(_arg0
,*_arg1
);
3804 wxPy_END_ALLOW_THREADS
;
3805 } _resultobj
= Py_BuildValue("i",_result
);
3809 #define wxRegion_IsEmpty(_swigobj) (_swigobj->IsEmpty())
3810 static PyObject
*_wrap_wxRegion_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3814 PyObject
* _argo0
= 0;
3815 char *_kwnames
[] = { "self", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegion_IsEmpty",_kwnames
,&_argo0
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_IsEmpty. Expected _wxRegion_p.");
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 _result
= (bool )wxRegion_IsEmpty(_arg0
);
3831 wxPy_END_ALLOW_THREADS
;
3832 } _resultobj
= Py_BuildValue("i",_result
);
3836 #define wxRegion_Union(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Union(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3837 static PyObject
*_wrap_wxRegion_Union(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3845 PyObject
* _argo0
= 0;
3846 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Union",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Union. Expected _wxRegion_p.");
3859 wxPy_BEGIN_ALLOW_THREADS
;
3860 _result
= (bool )wxRegion_Union(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3862 wxPy_END_ALLOW_THREADS
;
3863 } _resultobj
= Py_BuildValue("i",_result
);
3867 #define wxRegion_UnionRect(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3868 static PyObject
*_wrap_wxRegion_UnionRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
* _resultobj
;
3873 PyObject
* _argo0
= 0;
3875 PyObject
* _obj1
= 0;
3876 char *_kwnames
[] = { "self","rect", NULL
};
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRect",_kwnames
,&_argo0
,&_obj1
))
3882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRect. Expected _wxRegion_p.");
3890 if (! wxRect_helper(_obj1
, &_arg1
))
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 _result
= (bool )wxRegion_UnionRect(_arg0
,*_arg1
);
3897 wxPy_END_ALLOW_THREADS
;
3898 } _resultobj
= Py_BuildValue("i",_result
);
3902 #define wxRegion_UnionRegion(_swigobj,_swigarg0) (_swigobj->Union(_swigarg0))
3903 static PyObject
*_wrap_wxRegion_UnionRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3908 PyObject
* _argo0
= 0;
3909 PyObject
* _argo1
= 0;
3910 char *_kwnames
[] = { "self","region", NULL
};
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_UnionRegion",_kwnames
,&_argo0
,&_argo1
))
3916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3923 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3924 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_UnionRegion. Expected _wxRegion_p.");
3930 wxPy_BEGIN_ALLOW_THREADS
;
3931 _result
= (bool )wxRegion_UnionRegion(_arg0
,*_arg1
);
3933 wxPy_END_ALLOW_THREADS
;
3934 } _resultobj
= Py_BuildValue("i",_result
);
3938 #define wxRegion_Subtract(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Subtract(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3939 static PyObject
*_wrap_wxRegion_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
* _resultobj
;
3947 PyObject
* _argo0
= 0;
3948 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Subtract",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Subtract. Expected _wxRegion_p.");
3961 wxPy_BEGIN_ALLOW_THREADS
;
3962 _result
= (bool )wxRegion_Subtract(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3964 wxPy_END_ALLOW_THREADS
;
3965 } _resultobj
= Py_BuildValue("i",_result
);
3969 #define wxRegion_SubtractRect(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
3970 static PyObject
*_wrap_wxRegion_SubtractRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3975 PyObject
* _argo0
= 0;
3977 PyObject
* _obj1
= 0;
3978 char *_kwnames
[] = { "self","rect", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRect",_kwnames
,&_argo0
,&_obj1
))
3984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRect. Expected _wxRegion_p.");
3992 if (! wxRect_helper(_obj1
, &_arg1
))
3996 wxPy_BEGIN_ALLOW_THREADS
;
3997 _result
= (bool )wxRegion_SubtractRect(_arg0
,*_arg1
);
3999 wxPy_END_ALLOW_THREADS
;
4000 } _resultobj
= Py_BuildValue("i",_result
);
4004 #define wxRegion_SubtractRegion(_swigobj,_swigarg0) (_swigobj->Subtract(_swigarg0))
4005 static PyObject
*_wrap_wxRegion_SubtractRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
* _resultobj
;
4010 PyObject
* _argo0
= 0;
4011 PyObject
* _argo1
= 0;
4012 char *_kwnames
[] = { "self","region", NULL
};
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_SubtractRegion",_kwnames
,&_argo0
,&_argo1
))
4018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4025 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4026 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_SubtractRegion. Expected _wxRegion_p.");
4032 wxPy_BEGIN_ALLOW_THREADS
;
4033 _result
= (bool )wxRegion_SubtractRegion(_arg0
,*_arg1
);
4035 wxPy_END_ALLOW_THREADS
;
4036 } _resultobj
= Py_BuildValue("i",_result
);
4040 #define wxRegion_Xor(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Xor(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4041 static PyObject
*_wrap_wxRegion_Xor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
* _resultobj
;
4049 PyObject
* _argo0
= 0;
4050 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ollll:wxRegion_Xor",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_Xor. Expected _wxRegion_p.");
4063 wxPy_BEGIN_ALLOW_THREADS
;
4064 _result
= (bool )wxRegion_Xor(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
4066 wxPy_END_ALLOW_THREADS
;
4067 } _resultobj
= Py_BuildValue("i",_result
);
4071 #define wxRegion_XorRect(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4072 static PyObject
*_wrap_wxRegion_XorRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4077 PyObject
* _argo0
= 0;
4079 PyObject
* _obj1
= 0;
4080 char *_kwnames
[] = { "self","rect", NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRect",_kwnames
,&_argo0
,&_obj1
))
4086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRect. Expected _wxRegion_p.");
4094 if (! wxRect_helper(_obj1
, &_arg1
))
4098 wxPy_BEGIN_ALLOW_THREADS
;
4099 _result
= (bool )wxRegion_XorRect(_arg0
,*_arg1
);
4101 wxPy_END_ALLOW_THREADS
;
4102 } _resultobj
= Py_BuildValue("i",_result
);
4106 #define wxRegion_XorRegion(_swigobj,_swigarg0) (_swigobj->Xor(_swigarg0))
4107 static PyObject
*_wrap_wxRegion_XorRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
* _resultobj
;
4112 PyObject
* _argo0
= 0;
4113 PyObject
* _argo1
= 0;
4114 char *_kwnames
[] = { "self","region", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRegion_XorRegion",_kwnames
,&_argo0
,&_argo1
))
4120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegion_XorRegion. Expected _wxRegion_p.");
4127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRegion_p")) {
4129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRegion_XorRegion. Expected _wxRegion_p.");
4134 wxPy_BEGIN_ALLOW_THREADS
;
4135 _result
= (bool )wxRegion_XorRegion(_arg0
,*_arg1
);
4137 wxPy_END_ALLOW_THREADS
;
4138 } _resultobj
= Py_BuildValue("i",_result
);
4142 #define new_wxRegionIterator(_swigarg0) (new wxRegionIterator(_swigarg0))
4143 static PyObject
*_wrap_new_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
* _resultobj
;
4145 wxRegionIterator
* _result
;
4147 PyObject
* _argo0
= 0;
4148 char *_kwnames
[] = { "region", NULL
};
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxRegionIterator",_kwnames
,&_argo0
))
4155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegion_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRegionIterator. Expected _wxRegion_p.");
4162 wxPy_BEGIN_ALLOW_THREADS
;
4163 _result
= (wxRegionIterator
*)new_wxRegionIterator(*_arg0
);
4165 wxPy_END_ALLOW_THREADS
;
4167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRegionIterator_p");
4168 _resultobj
= Py_BuildValue("s",_ptemp
);
4171 _resultobj
= Py_None
;
4176 #define delete_wxRegionIterator(_swigobj) (delete _swigobj)
4177 static PyObject
*_wrap_delete_wxRegionIterator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
* _resultobj
;
4179 wxRegionIterator
* _arg0
;
4180 PyObject
* _argo0
= 0;
4181 char *_kwnames
[] = { "self", NULL
};
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRegionIterator",_kwnames
,&_argo0
))
4187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxRegionIterator. Expected _wxRegionIterator_p.");
4194 wxPy_BEGIN_ALLOW_THREADS
;
4195 delete_wxRegionIterator(_arg0
);
4197 wxPy_END_ALLOW_THREADS
;
4198 } Py_INCREF(Py_None
);
4199 _resultobj
= Py_None
;
4203 #define wxRegionIterator_GetX(_swigobj) (_swigobj->GetX())
4204 static PyObject
*_wrap_wxRegionIterator_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
* _resultobj
;
4207 wxRegionIterator
* _arg0
;
4208 PyObject
* _argo0
= 0;
4209 char *_kwnames
[] = { "self", NULL
};
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetX",_kwnames
,&_argo0
))
4215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetX. Expected _wxRegionIterator_p.");
4222 wxPy_BEGIN_ALLOW_THREADS
;
4223 _result
= (long )wxRegionIterator_GetX(_arg0
);
4225 wxPy_END_ALLOW_THREADS
;
4226 } _resultobj
= Py_BuildValue("l",_result
);
4230 #define wxRegionIterator_GetY(_swigobj) (_swigobj->GetY())
4231 static PyObject
*_wrap_wxRegionIterator_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4234 wxRegionIterator
* _arg0
;
4235 PyObject
* _argo0
= 0;
4236 char *_kwnames
[] = { "self", NULL
};
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetY",_kwnames
,&_argo0
))
4242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetY. Expected _wxRegionIterator_p.");
4249 wxPy_BEGIN_ALLOW_THREADS
;
4250 _result
= (long )wxRegionIterator_GetY(_arg0
);
4252 wxPy_END_ALLOW_THREADS
;
4253 } _resultobj
= Py_BuildValue("l",_result
);
4257 #define wxRegionIterator_GetW(_swigobj) (_swigobj->GetW())
4258 static PyObject
*_wrap_wxRegionIterator_GetW(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4261 wxRegionIterator
* _arg0
;
4262 PyObject
* _argo0
= 0;
4263 char *_kwnames
[] = { "self", NULL
};
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetW",_kwnames
,&_argo0
))
4269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetW. Expected _wxRegionIterator_p.");
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 _result
= (long )wxRegionIterator_GetW(_arg0
);
4279 wxPy_END_ALLOW_THREADS
;
4280 } _resultobj
= Py_BuildValue("l",_result
);
4284 #define wxRegionIterator_GetWidth(_swigobj) (_swigobj->GetWidth())
4285 static PyObject
*_wrap_wxRegionIterator_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4288 wxRegionIterator
* _arg0
;
4289 PyObject
* _argo0
= 0;
4290 char *_kwnames
[] = { "self", NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetWidth",_kwnames
,&_argo0
))
4296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetWidth. Expected _wxRegionIterator_p.");
4303 wxPy_BEGIN_ALLOW_THREADS
;
4304 _result
= (long )wxRegionIterator_GetWidth(_arg0
);
4306 wxPy_END_ALLOW_THREADS
;
4307 } _resultobj
= Py_BuildValue("l",_result
);
4311 #define wxRegionIterator_GetH(_swigobj) (_swigobj->GetH())
4312 static PyObject
*_wrap_wxRegionIterator_GetH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4315 wxRegionIterator
* _arg0
;
4316 PyObject
* _argo0
= 0;
4317 char *_kwnames
[] = { "self", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetH",_kwnames
,&_argo0
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetH. Expected _wxRegionIterator_p.");
4330 wxPy_BEGIN_ALLOW_THREADS
;
4331 _result
= (long )wxRegionIterator_GetH(_arg0
);
4333 wxPy_END_ALLOW_THREADS
;
4334 } _resultobj
= Py_BuildValue("l",_result
);
4338 #define wxRegionIterator_GetHeight(_swigobj) (_swigobj->GetHeight())
4339 static PyObject
*_wrap_wxRegionIterator_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
* _resultobj
;
4342 wxRegionIterator
* _arg0
;
4343 PyObject
* _argo0
= 0;
4344 char *_kwnames
[] = { "self", NULL
};
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetHeight",_kwnames
,&_argo0
))
4350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetHeight. Expected _wxRegionIterator_p.");
4357 wxPy_BEGIN_ALLOW_THREADS
;
4358 _result
= (long )wxRegionIterator_GetHeight(_arg0
);
4360 wxPy_END_ALLOW_THREADS
;
4361 } _resultobj
= Py_BuildValue("l",_result
);
4365 #define wxRegionIterator_GetRect(_swigobj) (_swigobj->GetRect())
4366 static PyObject
*_wrap_wxRegionIterator_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
* _resultobj
;
4369 wxRegionIterator
* _arg0
;
4370 PyObject
* _argo0
= 0;
4371 char *_kwnames
[] = { "self", NULL
};
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_GetRect",_kwnames
,&_argo0
))
4378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_GetRect. Expected _wxRegionIterator_p.");
4385 wxPy_BEGIN_ALLOW_THREADS
;
4386 _result
= new wxRect (wxRegionIterator_GetRect(_arg0
));
4388 wxPy_END_ALLOW_THREADS
;
4389 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4390 _resultobj
= Py_BuildValue("s",_ptemp
);
4394 #define wxRegionIterator_HaveRects(_swigobj) (_swigobj->HaveRects())
4395 static PyObject
*_wrap_wxRegionIterator_HaveRects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
* _resultobj
;
4398 wxRegionIterator
* _arg0
;
4399 PyObject
* _argo0
= 0;
4400 char *_kwnames
[] = { "self", NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_HaveRects",_kwnames
,&_argo0
))
4406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_HaveRects. Expected _wxRegionIterator_p.");
4413 wxPy_BEGIN_ALLOW_THREADS
;
4414 _result
= (bool )wxRegionIterator_HaveRects(_arg0
);
4416 wxPy_END_ALLOW_THREADS
;
4417 } _resultobj
= Py_BuildValue("i",_result
);
4421 #define wxRegionIterator_Reset(_swigobj) (_swigobj->Reset())
4422 static PyObject
*_wrap_wxRegionIterator_Reset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4424 wxRegionIterator
* _arg0
;
4425 PyObject
* _argo0
= 0;
4426 char *_kwnames
[] = { "self", NULL
};
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Reset",_kwnames
,&_argo0
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Reset. Expected _wxRegionIterator_p.");
4439 wxPy_BEGIN_ALLOW_THREADS
;
4440 wxRegionIterator_Reset(_arg0
);
4442 wxPy_END_ALLOW_THREADS
;
4443 } Py_INCREF(Py_None
);
4444 _resultobj
= Py_None
;
4448 static void wxRegionIterator_Next(wxRegionIterator
*self
) {
4451 static PyObject
*_wrap_wxRegionIterator_Next(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4453 wxRegionIterator
* _arg0
;
4454 PyObject
* _argo0
= 0;
4455 char *_kwnames
[] = { "self", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRegionIterator_Next",_kwnames
,&_argo0
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRegionIterator_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRegionIterator_Next. Expected _wxRegionIterator_p.");
4468 wxPy_BEGIN_ALLOW_THREADS
;
4469 wxRegionIterator_Next(_arg0
);
4471 wxPy_END_ALLOW_THREADS
;
4472 } Py_INCREF(Py_None
);
4473 _resultobj
= Py_None
;
4477 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
4478 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
* _resultobj
;
4480 wxAcceleratorEntry
* _result
;
4481 int _arg0
= (int ) 0;
4482 int _arg1
= (int ) 0;
4483 int _arg2
= (int ) 0;
4484 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4491 wxPy_BEGIN_ALLOW_THREADS
;
4492 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
4494 wxPy_END_ALLOW_THREADS
;
4496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
4497 _resultobj
= Py_BuildValue("s",_ptemp
);
4500 _resultobj
= Py_None
;
4505 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
4506 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4508 wxAcceleratorEntry
* _arg0
;
4509 PyObject
* _argo0
= 0;
4510 char *_kwnames
[] = { "self", NULL
};
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
4516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
4523 wxPy_BEGIN_ALLOW_THREADS
;
4524 delete_wxAcceleratorEntry(_arg0
);
4526 wxPy_END_ALLOW_THREADS
;
4527 } Py_INCREF(Py_None
);
4528 _resultobj
= Py_None
;
4532 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
4533 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4535 wxAcceleratorEntry
* _arg0
;
4539 PyObject
* _argo0
= 0;
4540 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
4546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
4553 wxPy_BEGIN_ALLOW_THREADS
;
4554 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
4556 wxPy_END_ALLOW_THREADS
;
4557 } Py_INCREF(Py_None
);
4558 _resultobj
= Py_None
;
4562 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
4563 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4566 wxAcceleratorEntry
* _arg0
;
4567 PyObject
* _argo0
= 0;
4568 char *_kwnames
[] = { "self", NULL
};
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
4574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
4581 wxPy_BEGIN_ALLOW_THREADS
;
4582 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
4584 wxPy_END_ALLOW_THREADS
;
4585 } _resultobj
= Py_BuildValue("i",_result
);
4589 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
4590 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
* _resultobj
;
4593 wxAcceleratorEntry
* _arg0
;
4594 PyObject
* _argo0
= 0;
4595 char *_kwnames
[] = { "self", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
4608 wxPy_BEGIN_ALLOW_THREADS
;
4609 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
4611 wxPy_END_ALLOW_THREADS
;
4612 } _resultobj
= Py_BuildValue("i",_result
);
4616 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
4617 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
* _resultobj
;
4620 wxAcceleratorEntry
* _arg0
;
4621 PyObject
* _argo0
= 0;
4622 char *_kwnames
[] = { "self", NULL
};
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
4628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
4635 wxPy_BEGIN_ALLOW_THREADS
;
4636 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
4638 wxPy_END_ALLOW_THREADS
;
4639 } _resultobj
= Py_BuildValue("i",_result
);
4643 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
4644 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4646 wxAcceleratorTable
* _result
;
4648 wxAcceleratorEntry
* _arg1
;
4649 PyObject
* _obj1
= 0;
4650 char *_kwnames
[] = { "choices", NULL
};
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4658 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4659 if (_arg1
== NULL
) {
4665 _arg0
= PyList_Size(_obj1
);
4672 wxPy_BEGIN_ALLOW_THREADS
;
4673 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4675 wxPy_END_ALLOW_THREADS
;
4677 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4678 _resultobj
= Py_BuildValue("s",_ptemp
);
4681 _resultobj
= Py_None
;
4689 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4690 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4692 wxAcceleratorTable
* _arg0
;
4693 PyObject
* _argo0
= 0;
4694 char *_kwnames
[] = { "self", NULL
};
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4707 wxPy_BEGIN_ALLOW_THREADS
;
4708 delete_wxAcceleratorTable(_arg0
);
4710 wxPy_END_ALLOW_THREADS
;
4711 } Py_INCREF(Py_None
);
4712 _resultobj
= Py_None
;
4716 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4717 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
* _resultobj
;
4719 wxBusyInfo
* _result
;
4721 PyObject
* _obj0
= 0;
4722 char *_kwnames
[] = { "message", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4729 if (!PyString_Check(_obj0
)) {
4730 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4733 _arg0
= new wxString(PyString_AsString(_obj0
), PyString_Size(_obj0
));
4736 wxPy_BEGIN_ALLOW_THREADS
;
4737 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4739 wxPy_END_ALLOW_THREADS
;
4741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4742 _resultobj
= Py_BuildValue("s",_ptemp
);
4745 _resultobj
= Py_None
;
4754 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4755 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
* _resultobj
;
4758 PyObject
* _argo0
= 0;
4759 char *_kwnames
[] = { "self", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4772 wxPy_BEGIN_ALLOW_THREADS
;
4773 delete_wxBusyInfo(_arg0
);
4775 wxPy_END_ALLOW_THREADS
;
4776 } Py_INCREF(Py_None
);
4777 _resultobj
= Py_None
;
4781 static PyMethodDef misccMethods
[] = {
4782 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4783 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4784 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4785 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4786 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4787 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4788 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4789 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4790 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4791 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4792 { "wxRegionIterator_Next", (PyCFunction
) _wrap_wxRegionIterator_Next
, METH_VARARGS
| METH_KEYWORDS
},
4793 { "wxRegionIterator_Reset", (PyCFunction
) _wrap_wxRegionIterator_Reset
, METH_VARARGS
| METH_KEYWORDS
},
4794 { "wxRegionIterator_HaveRects", (PyCFunction
) _wrap_wxRegionIterator_HaveRects
, METH_VARARGS
| METH_KEYWORDS
},
4795 { "wxRegionIterator_GetRect", (PyCFunction
) _wrap_wxRegionIterator_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
4796 { "wxRegionIterator_GetHeight", (PyCFunction
) _wrap_wxRegionIterator_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4797 { "wxRegionIterator_GetH", (PyCFunction
) _wrap_wxRegionIterator_GetH
, METH_VARARGS
| METH_KEYWORDS
},
4798 { "wxRegionIterator_GetWidth", (PyCFunction
) _wrap_wxRegionIterator_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4799 { "wxRegionIterator_GetW", (PyCFunction
) _wrap_wxRegionIterator_GetW
, METH_VARARGS
| METH_KEYWORDS
},
4800 { "wxRegionIterator_GetY", (PyCFunction
) _wrap_wxRegionIterator_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4801 { "wxRegionIterator_GetX", (PyCFunction
) _wrap_wxRegionIterator_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4802 { "delete_wxRegionIterator", (PyCFunction
) _wrap_delete_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4803 { "new_wxRegionIterator", (PyCFunction
) _wrap_new_wxRegionIterator
, METH_VARARGS
| METH_KEYWORDS
},
4804 { "wxRegion_XorRegion", (PyCFunction
) _wrap_wxRegion_XorRegion
, METH_VARARGS
| METH_KEYWORDS
},
4805 { "wxRegion_XorRect", (PyCFunction
) _wrap_wxRegion_XorRect
, METH_VARARGS
| METH_KEYWORDS
},
4806 { "wxRegion_Xor", (PyCFunction
) _wrap_wxRegion_Xor
, METH_VARARGS
| METH_KEYWORDS
},
4807 { "wxRegion_SubtractRegion", (PyCFunction
) _wrap_wxRegion_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
},
4808 { "wxRegion_SubtractRect", (PyCFunction
) _wrap_wxRegion_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
},
4809 { "wxRegion_Subtract", (PyCFunction
) _wrap_wxRegion_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
4810 { "wxRegion_UnionRegion", (PyCFunction
) _wrap_wxRegion_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
},
4811 { "wxRegion_UnionRect", (PyCFunction
) _wrap_wxRegion_UnionRect
, METH_VARARGS
| METH_KEYWORDS
},
4812 { "wxRegion_Union", (PyCFunction
) _wrap_wxRegion_Union
, METH_VARARGS
| METH_KEYWORDS
},
4813 { "wxRegion_IsEmpty", (PyCFunction
) _wrap_wxRegion_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
4814 { "wxRegion_IntersectRegion", (PyCFunction
) _wrap_wxRegion_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
},
4815 { "wxRegion_IntersectRect", (PyCFunction
) _wrap_wxRegion_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4816 { "wxRegion_Intersect", (PyCFunction
) _wrap_wxRegion_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
4817 { "wxRegion_GetBox", (PyCFunction
) _wrap_wxRegion_GetBox
, METH_VARARGS
| METH_KEYWORDS
},
4818 { "wxRegion_ContainsRectDim", (PyCFunction
) _wrap_wxRegion_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
},
4819 { "wxRegion_ContainsRect", (PyCFunction
) _wrap_wxRegion_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
},
4820 { "wxRegion_ContainsPoint", (PyCFunction
) _wrap_wxRegion_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
},
4821 { "wxRegion_Contains", (PyCFunction
) _wrap_wxRegion_Contains
, METH_VARARGS
| METH_KEYWORDS
},
4822 { "wxRegion_Clear", (PyCFunction
) _wrap_wxRegion_Clear
, METH_VARARGS
| METH_KEYWORDS
},
4823 { "delete_wxRegion", (PyCFunction
) _wrap_delete_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4824 { "new_wxRegion", (PyCFunction
) _wrap_new_wxRegion
, METH_VARARGS
| METH_KEYWORDS
},
4825 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4826 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4827 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4828 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4829 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4830 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4831 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4832 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4833 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4834 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4835 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4836 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4837 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4838 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4839 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4840 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4841 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4842 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4843 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4844 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4845 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4846 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4847 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4848 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4849 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4850 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4851 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4852 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4853 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4854 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4855 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4856 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4857 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4858 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4859 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4860 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4861 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4862 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4863 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4864 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4865 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4866 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4867 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4868 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4869 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4870 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4871 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4872 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4873 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4874 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4875 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4876 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4877 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4878 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4879 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4880 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4881 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4882 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4883 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4884 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4885 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4886 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4887 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4888 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4889 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4890 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4891 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4892 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4893 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4894 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4895 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4896 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4897 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4898 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4899 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4900 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4901 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4902 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4903 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4904 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4905 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4906 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4907 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4908 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4909 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4910 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4911 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4912 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4913 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4914 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4915 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4916 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4917 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4918 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4919 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4920 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4921 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4922 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4923 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4924 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4925 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4926 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4927 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4928 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4929 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4930 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4931 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4932 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4933 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4934 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4935 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4936 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4937 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4938 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4939 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4940 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
4941 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4942 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4943 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4944 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4945 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4946 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4953 * This table is used by the pointer type-checker
4955 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4956 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4957 { "_signed_long","_long",0},
4958 { "_wxPrintQuality","_wxCoord",0},
4959 { "_wxPrintQuality","_int",0},
4960 { "_wxPrintQuality","_signed_int",0},
4961 { "_wxPrintQuality","_unsigned_int",0},
4962 { "_wxPrintQuality","_wxWindowID",0},
4963 { "_wxPrintQuality","_uint",0},
4964 { "_wxPrintQuality","_EBool",0},
4965 { "_wxPrintQuality","_size_t",0},
4966 { "_wxPrintQuality","_time_t",0},
4967 { "_class_wxRegionIterator","_wxRegionIterator",0},
4968 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4969 { "_byte","_unsigned_char",0},
4970 { "_long","_unsigned_long",0},
4971 { "_long","_signed_long",0},
4972 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4973 { "_size_t","_wxCoord",0},
4974 { "_size_t","_wxPrintQuality",0},
4975 { "_size_t","_time_t",0},
4976 { "_size_t","_unsigned_int",0},
4977 { "_size_t","_int",0},
4978 { "_size_t","_wxWindowID",0},
4979 { "_size_t","_uint",0},
4980 { "_class_wxRealPoint","_wxRealPoint",0},
4981 { "_uint","_wxCoord",0},
4982 { "_uint","_wxPrintQuality",0},
4983 { "_uint","_time_t",0},
4984 { "_uint","_size_t",0},
4985 { "_uint","_unsigned_int",0},
4986 { "_uint","_int",0},
4987 { "_uint","_wxWindowID",0},
4988 { "_wxChar","_char",0},
4989 { "_wxRect","_class_wxRect",0},
4990 { "_wxPoint","_class_wxPoint",0},
4991 { "_char","_wxChar",0},
4992 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4993 { "_EBool","_wxCoord",0},
4994 { "_EBool","_wxPrintQuality",0},
4995 { "_EBool","_signed_int",0},
4996 { "_EBool","_int",0},
4997 { "_EBool","_wxWindowID",0},
4998 { "_class_wxRegion","_wxRegion",0},
4999 { "_unsigned_long","_long",0},
5000 { "_class_wxRect","_wxRect",0},
5001 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
5002 { "_signed_int","_wxCoord",0},
5003 { "_signed_int","_wxPrintQuality",0},
5004 { "_signed_int","_EBool",0},
5005 { "_signed_int","_wxWindowID",0},
5006 { "_signed_int","_int",0},
5007 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
5008 { "_WXTYPE","_short",0},
5009 { "_WXTYPE","_signed_short",0},
5010 { "_WXTYPE","_unsigned_short",0},
5011 { "_unsigned_short","_WXTYPE",0},
5012 { "_unsigned_short","_short",0},
5013 { "_wxBusyInfo","_class_wxBusyInfo",0},
5014 { "_class_wxPoint","_wxPoint",0},
5015 { "_wxRealPoint","_class_wxRealPoint",0},
5016 { "_signed_short","_WXTYPE",0},
5017 { "_signed_short","_short",0},
5018 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
5019 { "_unsigned_char","_byte",0},
5020 { "_unsigned_int","_wxCoord",0},
5021 { "_unsigned_int","_wxPrintQuality",0},
5022 { "_unsigned_int","_time_t",0},
5023 { "_unsigned_int","_size_t",0},
5024 { "_unsigned_int","_uint",0},
5025 { "_unsigned_int","_wxWindowID",0},
5026 { "_unsigned_int","_int",0},
5027 { "_short","_WXTYPE",0},
5028 { "_short","_unsigned_short",0},
5029 { "_short","_signed_short",0},
5030 { "_wxWindowID","_wxCoord",0},
5031 { "_wxWindowID","_wxPrintQuality",0},
5032 { "_wxWindowID","_time_t",0},
5033 { "_wxWindowID","_size_t",0},
5034 { "_wxWindowID","_EBool",0},
5035 { "_wxWindowID","_uint",0},
5036 { "_wxWindowID","_int",0},
5037 { "_wxWindowID","_signed_int",0},
5038 { "_wxWindowID","_unsigned_int",0},
5039 { "_int","_wxCoord",0},
5040 { "_int","_wxPrintQuality",0},
5041 { "_int","_time_t",0},
5042 { "_int","_size_t",0},
5043 { "_int","_EBool",0},
5044 { "_int","_uint",0},
5045 { "_int","_wxWindowID",0},
5046 { "_int","_unsigned_int",0},
5047 { "_int","_signed_int",0},
5048 { "_time_t","_wxCoord",0},
5049 { "_time_t","_wxPrintQuality",0},
5050 { "_time_t","_unsigned_int",0},
5051 { "_time_t","_int",0},
5052 { "_time_t","_wxWindowID",0},
5053 { "_time_t","_uint",0},
5054 { "_time_t","_size_t",0},
5055 { "_wxSize","_class_wxSize",0},
5056 { "_wxRegionIterator","_class_wxRegionIterator",0},
5057 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
5058 { "_wxCoord","_int",0},
5059 { "_wxCoord","_signed_int",0},
5060 { "_wxCoord","_unsigned_int",0},
5061 { "_wxCoord","_wxWindowID",0},
5062 { "_wxCoord","_uint",0},
5063 { "_wxCoord","_EBool",0},
5064 { "_wxCoord","_size_t",0},
5065 { "_wxCoord","_time_t",0},
5066 { "_wxCoord","_wxPrintQuality",0},
5067 { "_wxRegion","_class_wxRegion",0},
5068 { "_class_wxBusyInfo","_wxBusyInfo",0},
5069 { "_class_wxSize","_wxSize",0},
5072 static PyObject
*SWIG_globals
;
5076 SWIGEXPORT(void) initmiscc() {
5078 SWIG_globals
= SWIG_newvarlink();
5079 m
= Py_InitModule("miscc", misccMethods
);
5080 d
= PyModule_GetDict(m
);
5081 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5082 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5083 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5084 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5085 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5086 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5087 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5088 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5089 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5090 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5091 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5092 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5093 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5094 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5095 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5096 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5097 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5098 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5099 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5100 PyDict_SetItemString(d
,"wxOutRegion", PyInt_FromLong((long) wxOutRegion
));
5101 PyDict_SetItemString(d
,"wxPartRegion", PyInt_FromLong((long) wxPartRegion
));
5102 PyDict_SetItemString(d
,"wxInRegion", PyInt_FromLong((long) wxInRegion
));
5103 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5104 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5107 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5108 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);