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 #if PYTHON_API_VERSION >= 1009
110 static char* wxStringErrorMsg
= "String or Unicode type required";
112 static char* wxStringErrorMsg
= "string type is required for parameter";
115 static wxString
wxPyEmptyStr("");
117 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
120 wxRect
dest(0,0,0,0);
123 reg1
.Intersect(reg2
);
124 dest
= reg1
.GetBox();
126 if (dest
!= wxRect(0,0,0,0)) {
127 bool doSave
= wxPyRestoreThread();
128 wxRect
* newRect
= new wxRect(dest
);
129 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
130 PyObject
* one
= PyInt_FromLong(1);
131 PyObject_SetAttrString(obj
, "thisown", one
);
133 wxPySaveThread(doSave
);
140 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
142 wxGetResource(section
, entry
, &retval
, file
);
146 #if 0 // we want to use the definition from the header, not the
147 // one SWIG will generate.
148 extern wxAcceleratorTable wxNullAcceleratorTable
;
154 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
155 PyObject
* _resultobj
;
160 PyObject
* _obj0
= 0;
162 PyObject
* _obj1
= 0;
163 char *_kwnames
[] = { "r1","r2", NULL
};
166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
170 if (! wxRect_helper(_obj0
, &_arg0
))
175 if (! wxRect_helper(_obj1
, &_arg1
))
179 wxPy_BEGIN_ALLOW_THREADS
;
180 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
182 wxPy_END_ALLOW_THREADS
;
184 _resultobj
= _result
;
189 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
190 PyObject
* _resultobj
;
192 char *_kwnames
[] = { NULL
};
195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
198 wxPy_BEGIN_ALLOW_THREADS
;
199 _result
= (long )wxNewId();
201 wxPy_END_ALLOW_THREADS
;
202 } _resultobj
= Py_BuildValue("l",_result
);
206 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
207 PyObject
* _resultobj
;
209 char *_kwnames
[] = { "id", NULL
};
212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
215 wxPy_BEGIN_ALLOW_THREADS
;
218 wxPy_END_ALLOW_THREADS
;
219 } Py_INCREF(Py_None
);
220 _resultobj
= Py_None
;
224 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
225 PyObject
* _resultobj
;
227 char *_kwnames
[] = { NULL
};
230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
233 wxPy_BEGIN_ALLOW_THREADS
;
234 _result
= (long )wxNewId();
236 wxPy_END_ALLOW_THREADS
;
237 } _resultobj
= Py_BuildValue("l",_result
);
241 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
244 char *_kwnames
[] = { "id", NULL
};
247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
250 wxPy_BEGIN_ALLOW_THREADS
;
253 wxPy_END_ALLOW_THREADS
;
254 } Py_INCREF(Py_None
);
255 _resultobj
= Py_None
;
259 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
262 char *_kwnames
[] = { NULL
};
265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
268 wxPy_BEGIN_ALLOW_THREADS
;
269 _result
= (long )wxGetCurrentId();
271 wxPy_END_ALLOW_THREADS
;
272 } _resultobj
= Py_BuildValue("l",_result
);
276 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
277 PyObject
* _resultobj
;
278 char *_kwnames
[] = { NULL
};
281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
284 wxPy_BEGIN_ALLOW_THREADS
;
287 wxPy_END_ALLOW_THREADS
;
288 } Py_INCREF(Py_None
);
289 _resultobj
= Py_None
;
293 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
295 char *_kwnames
[] = { NULL
};
298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
301 wxPy_BEGIN_ALLOW_THREADS
;
304 wxPy_END_ALLOW_THREADS
;
305 } Py_INCREF(Py_None
);
306 _resultobj
= Py_None
;
310 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
313 bool _arg0
= (bool ) TRUE
;
314 int tempbool0
= (int) TRUE
;
315 char *_kwnames
[] = { "resetTimer", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
320 _arg0
= (bool ) tempbool0
;
322 wxPy_BEGIN_ALLOW_THREADS
;
323 _result
= (long )wxGetElapsedTime(_arg0
);
325 wxPy_END_ALLOW_THREADS
;
326 } _resultobj
= Py_BuildValue("l",_result
);
330 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
333 char *_kwnames
[] = { NULL
};
336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
339 wxPy_BEGIN_ALLOW_THREADS
;
340 _result
= (long )wxGetFreeMemory();
342 wxPy_END_ALLOW_THREADS
;
343 } _resultobj
= Py_BuildValue("l",_result
);
347 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
353 char *_kwnames
[] = { NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
365 wxPy_BEGIN_ALLOW_THREADS
;
366 wxGetMousePosition(_arg0
,_arg1
);
368 wxPy_END_ALLOW_THREADS
;
369 } Py_INCREF(Py_None
);
370 _resultobj
= Py_None
;
373 o
= PyInt_FromLong((long) (*_arg0
));
374 _resultobj
= t_output_helper(_resultobj
, o
);
378 o
= PyInt_FromLong((long) (*_arg1
));
379 _resultobj
= t_output_helper(_resultobj
, o
);
384 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
385 PyObject
* _resultobj
;
387 char *_kwnames
[] = { NULL
};
390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
393 wxPy_BEGIN_ALLOW_THREADS
;
394 _result
= (bool )wxIsBusy();
396 wxPy_END_ALLOW_THREADS
;
397 } _resultobj
= Py_BuildValue("i",_result
);
401 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
402 PyObject
* _resultobj
;
404 char *_kwnames
[] = { NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
410 wxPy_BEGIN_ALLOW_THREADS
;
411 _result
= new wxString (wxNow());
413 wxPy_END_ALLOW_THREADS
;
415 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
423 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
424 PyObject
* _resultobj
;
426 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
427 PyObject
* _obj0
= 0;
428 char *_kwnames
[] = { "command", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
435 #if PYTHON_API_VERSION >= 1009
436 char* tmpPtr
; int tmpSize
;
437 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
441 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
443 _arg0
= new wxString(tmpPtr
, tmpSize
);
445 if (!PyString_Check(_obj0
)) {
446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
449 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
453 wxPy_BEGIN_ALLOW_THREADS
;
454 _result
= (bool )wxShell(*_arg0
);
456 wxPy_END_ALLOW_THREADS
;
457 } _resultobj
= Py_BuildValue("i",_result
);
465 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
467 char *_kwnames
[] = { NULL
};
470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
473 wxPy_BEGIN_ALLOW_THREADS
;
476 wxPy_END_ALLOW_THREADS
;
477 } Py_INCREF(Py_None
);
478 _resultobj
= Py_None
;
482 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 PyObject
* _resultobj
;
489 char *_kwnames
[] = { NULL
};
498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
501 wxPy_BEGIN_ALLOW_THREADS
;
502 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
504 wxPy_END_ALLOW_THREADS
;
505 } _resultobj
= Py_BuildValue("i",_result
);
508 o
= PyInt_FromLong((long) (*_arg0
));
509 _resultobj
= t_output_helper(_resultobj
, o
);
513 o
= PyInt_FromLong((long) (*_arg1
));
514 _resultobj
= t_output_helper(_resultobj
, o
);
519 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
522 char *_kwnames
[] = { NULL
};
525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
528 wxPy_BEGIN_ALLOW_THREADS
;
529 _result
= new wxString (wxGetOsDescription());
531 wxPy_END_ALLOW_THREADS
;
533 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
541 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
542 PyObject
* _resultobj
;
544 char *_kwnames
[] = { "secs", NULL
};
547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
550 wxPy_BEGIN_ALLOW_THREADS
;
553 wxPy_END_ALLOW_THREADS
;
554 } Py_INCREF(Py_None
);
555 _resultobj
= Py_None
;
559 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
560 PyObject
* _resultobj
;
562 char *_kwnames
[] = { "milliseconds", NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
568 wxPy_BEGIN_ALLOW_THREADS
;
571 wxPy_END_ALLOW_THREADS
;
572 } Py_INCREF(Py_None
);
573 _resultobj
= Py_None
;
577 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
580 char *_kwnames
[] = { NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
586 wxPy_BEGIN_ALLOW_THREADS
;
587 _result
= (bool )wxYield();
589 wxPy_END_ALLOW_THREADS
;
590 } _resultobj
= Py_BuildValue("i",_result
);
594 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 PyObject
* _resultobj
;
597 char *_kwnames
[] = { NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
603 wxPy_BEGIN_ALLOW_THREADS
;
604 _result
= (bool )wxYieldIfNeeded();
606 wxPy_END_ALLOW_THREADS
;
607 } _resultobj
= Py_BuildValue("i",_result
);
611 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
612 PyObject
* _resultobj
;
615 char *_kwnames
[] = { "enable", NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
620 _arg0
= (bool ) tempbool0
;
622 wxPy_BEGIN_ALLOW_THREADS
;
623 wxEnableTopLevelWindows(_arg0
);
625 wxPy_END_ALLOW_THREADS
;
626 } Py_INCREF(Py_None
);
627 _resultobj
= Py_None
;
631 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
632 PyObject
* _resultobj
;
636 char * _arg2
= (char *) NULL
;
637 char *_kwnames
[] = { "section","entry","file", NULL
};
640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
643 wxPy_BEGIN_ALLOW_THREADS
;
644 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
646 wxPy_END_ALLOW_THREADS
;
647 } _resultobj
= Py_BuildValue("s", _result
);
651 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
655 PyObject
* _obj0
= 0;
656 char *_kwnames
[] = { "in", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
662 #if PYTHON_API_VERSION >= 1009
663 char* tmpPtr
; int tmpSize
;
664 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
665 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
668 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
670 _arg0
= new wxString(tmpPtr
, tmpSize
);
672 if (!PyString_Check(_obj0
)) {
673 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
676 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
680 wxPy_BEGIN_ALLOW_THREADS
;
681 _result
= new wxString (wxStripMenuCodes(*_arg0
));
683 wxPy_END_ALLOW_THREADS
;
685 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
697 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
698 PyObject
* _resultobj
;
700 char *_kwnames
[] = { NULL
};
703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
706 wxPy_BEGIN_ALLOW_THREADS
;
707 _result
= new wxString (wxGetEmailAddress());
709 wxPy_END_ALLOW_THREADS
;
711 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
719 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
720 PyObject
* _resultobj
;
722 char *_kwnames
[] = { NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
728 wxPy_BEGIN_ALLOW_THREADS
;
729 _result
= new wxString (wxGetHostName());
731 wxPy_END_ALLOW_THREADS
;
733 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
741 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
742 PyObject
* _resultobj
;
744 char *_kwnames
[] = { NULL
};
747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
750 wxPy_BEGIN_ALLOW_THREADS
;
751 _result
= new wxString (wxGetFullHostName());
753 wxPy_END_ALLOW_THREADS
;
755 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
763 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
766 char *_kwnames
[] = { NULL
};
769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
772 wxPy_BEGIN_ALLOW_THREADS
;
773 _result
= new wxString (wxGetUserId());
775 wxPy_END_ALLOW_THREADS
;
777 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
785 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
786 PyObject
* _resultobj
;
788 char *_kwnames
[] = { NULL
};
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
794 wxPy_BEGIN_ALLOW_THREADS
;
795 _result
= new wxString (wxGetUserName());
797 wxPy_END_ALLOW_THREADS
;
799 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
807 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
810 char *_kwnames
[] = { NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
816 wxPy_BEGIN_ALLOW_THREADS
;
817 _result
= new wxString (wxGetHomeDir());
819 wxPy_END_ALLOW_THREADS
;
821 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
829 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
830 PyObject
* _resultobj
;
831 wxAcceleratorEntry
* _result
;
833 PyObject
* _obj0
= 0;
834 char *_kwnames
[] = { "label", NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
841 #if PYTHON_API_VERSION >= 1009
842 char* tmpPtr
; int tmpSize
;
843 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
847 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
849 _arg0
= new wxString(tmpPtr
, tmpSize
);
851 if (!PyString_Check(_obj0
)) {
852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
855 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
859 wxPy_BEGIN_ALLOW_THREADS
;
860 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
862 wxPy_END_ALLOW_THREADS
;
864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
865 _resultobj
= Py_BuildValue("s",_ptemp
);
868 _resultobj
= Py_None
;
877 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
879 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
883 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
887 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
888 pyobj
= PyString_FromString(ptemp
);
892 static const char * wxObject_GetClassName(wxObject
*self
) {
893 return self
->GetClassInfo()->GetClassName();
895 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 PyObject
* _resultobj
;
899 PyObject
* _argo0
= 0;
900 char *_kwnames
[] = { "self", NULL
};
903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
913 wxPy_BEGIN_ALLOW_THREADS
;
914 _result
= (char *)wxObject_GetClassName(_arg0
);
916 wxPy_END_ALLOW_THREADS
;
917 } _resultobj
= Py_BuildValue("s", _result
);
921 static void wxObject_Destroy(wxObject
*self
) {
924 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 PyObject
* _resultobj
;
927 PyObject
* _argo0
= 0;
928 char *_kwnames
[] = { "self", NULL
};
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
941 wxPy_BEGIN_ALLOW_THREADS
;
942 wxObject_Destroy(_arg0
);
944 wxPy_END_ALLOW_THREADS
;
945 } Py_INCREF(Py_None
);
946 _resultobj
= Py_None
;
950 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
951 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
957 PyObject
* _obj0
= 0;
958 char *_kwnames
[] = { "self","x", NULL
};
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
965 if (! wxSize_helper(_obj0
, &_arg0
))
969 wxPy_BEGIN_ALLOW_THREADS
;
970 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
972 wxPy_END_ALLOW_THREADS
;
973 } _resultobj
= Py_BuildValue("l",_result
);
977 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
978 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
983 PyObject
* _obj0
= 0;
984 char *_kwnames
[] = { "self", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
991 if (! wxSize_helper(_obj0
, &_arg0
))
995 wxPy_BEGIN_ALLOW_THREADS
;
996 _result
= (long )wxSize_x_get(_arg0
);
998 wxPy_END_ALLOW_THREADS
;
999 } _resultobj
= Py_BuildValue("l",_result
);
1003 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1004 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
* _resultobj
;
1010 PyObject
* _obj0
= 0;
1011 char *_kwnames
[] = { "self","y", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1018 if (! wxSize_helper(_obj0
, &_arg0
))
1022 wxPy_BEGIN_ALLOW_THREADS
;
1023 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1025 wxPy_END_ALLOW_THREADS
;
1026 } _resultobj
= Py_BuildValue("l",_result
);
1030 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1031 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1032 PyObject
* _resultobj
;
1036 PyObject
* _obj0
= 0;
1037 char *_kwnames
[] = { "self", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1044 if (! wxSize_helper(_obj0
, &_arg0
))
1048 wxPy_BEGIN_ALLOW_THREADS
;
1049 _result
= (long )wxSize_y_get(_arg0
);
1051 wxPy_END_ALLOW_THREADS
;
1052 } _resultobj
= Py_BuildValue("l",_result
);
1056 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1057 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1058 PyObject
* _resultobj
;
1060 long _arg0
= (long ) 0;
1061 long _arg1
= (long ) 0;
1062 char *_kwnames
[] = { "w","h", NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1069 wxPy_BEGIN_ALLOW_THREADS
;
1070 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1072 wxPy_END_ALLOW_THREADS
;
1074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1075 _resultobj
= Py_BuildValue("s",_ptemp
);
1078 _resultobj
= Py_None
;
1083 #define delete_wxSize(_swigobj) (delete _swigobj)
1084 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1088 PyObject
* _obj0
= 0;
1089 char *_kwnames
[] = { "self", NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1096 if (! wxSize_helper(_obj0
, &_arg0
))
1100 wxPy_BEGIN_ALLOW_THREADS
;
1101 delete_wxSize(_arg0
);
1103 wxPy_END_ALLOW_THREADS
;
1104 } Py_INCREF(Py_None
);
1105 _resultobj
= Py_None
;
1109 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1110 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1116 PyObject
* _obj0
= 0;
1117 char *_kwnames
[] = { "self","w","h", NULL
};
1120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1124 if (! wxSize_helper(_obj0
, &_arg0
))
1128 wxPy_BEGIN_ALLOW_THREADS
;
1129 wxSize_Set(_arg0
,_arg1
,_arg2
);
1131 wxPy_END_ALLOW_THREADS
;
1132 } Py_INCREF(Py_None
);
1133 _resultobj
= Py_None
;
1137 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1138 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1143 PyObject
* _obj0
= 0;
1144 char *_kwnames
[] = { "self", NULL
};
1147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1151 if (! wxSize_helper(_obj0
, &_arg0
))
1155 wxPy_BEGIN_ALLOW_THREADS
;
1156 _result
= (long )wxSize_GetX(_arg0
);
1158 wxPy_END_ALLOW_THREADS
;
1159 } _resultobj
= Py_BuildValue("l",_result
);
1163 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1164 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
* _resultobj
;
1169 PyObject
* _obj0
= 0;
1170 char *_kwnames
[] = { "self", NULL
};
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1177 if (! wxSize_helper(_obj0
, &_arg0
))
1181 wxPy_BEGIN_ALLOW_THREADS
;
1182 _result
= (long )wxSize_GetY(_arg0
);
1184 wxPy_END_ALLOW_THREADS
;
1185 } _resultobj
= Py_BuildValue("l",_result
);
1189 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1190 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1195 PyObject
* _obj0
= 0;
1196 char *_kwnames
[] = { "self", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1203 if (! wxSize_helper(_obj0
, &_arg0
))
1207 wxPy_BEGIN_ALLOW_THREADS
;
1208 _result
= (long )wxSize_GetWidth(_arg0
);
1210 wxPy_END_ALLOW_THREADS
;
1211 } _resultobj
= Py_BuildValue("l",_result
);
1215 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1216 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1221 PyObject
* _obj0
= 0;
1222 char *_kwnames
[] = { "self", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1229 if (! wxSize_helper(_obj0
, &_arg0
))
1233 wxPy_BEGIN_ALLOW_THREADS
;
1234 _result
= (long )wxSize_GetHeight(_arg0
);
1236 wxPy_END_ALLOW_THREADS
;
1237 } _resultobj
= Py_BuildValue("l",_result
);
1241 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1242 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
* _resultobj
;
1247 PyObject
* _obj0
= 0;
1248 char *_kwnames
[] = { "self","w", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1255 if (! wxSize_helper(_obj0
, &_arg0
))
1259 wxPy_BEGIN_ALLOW_THREADS
;
1260 wxSize_SetWidth(_arg0
,_arg1
);
1262 wxPy_END_ALLOW_THREADS
;
1263 } Py_INCREF(Py_None
);
1264 _resultobj
= Py_None
;
1268 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1269 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
* _resultobj
;
1274 PyObject
* _obj0
= 0;
1275 char *_kwnames
[] = { "self","h", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1282 if (! wxSize_helper(_obj0
, &_arg0
))
1286 wxPy_BEGIN_ALLOW_THREADS
;
1287 wxSize_SetHeight(_arg0
,_arg1
);
1289 wxPy_END_ALLOW_THREADS
;
1290 } Py_INCREF(Py_None
);
1291 _resultobj
= Py_None
;
1295 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1296 PyObject
* tup
= PyTuple_New(2);
1297 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1298 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1301 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
* _resultobj
;
1306 PyObject
* _obj0
= 0;
1307 char *_kwnames
[] = { "self", NULL
};
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1314 if (! wxSize_helper(_obj0
, &_arg0
))
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1321 wxPy_END_ALLOW_THREADS
;
1323 _resultobj
= _result
;
1328 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1329 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
* _resultobj
;
1332 wxRealPoint
* _arg0
;
1335 PyObject
* _obj0
= 0;
1336 char *_kwnames
[] = { "self","x", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1343 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1347 wxPy_BEGIN_ALLOW_THREADS
;
1348 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1350 wxPy_END_ALLOW_THREADS
;
1351 } _resultobj
= Py_BuildValue("d",_result
);
1355 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1356 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1359 wxRealPoint
* _arg0
;
1361 PyObject
* _obj0
= 0;
1362 char *_kwnames
[] = { "self", NULL
};
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1369 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1373 wxPy_BEGIN_ALLOW_THREADS
;
1374 _result
= (double )wxRealPoint_x_get(_arg0
);
1376 wxPy_END_ALLOW_THREADS
;
1377 } _resultobj
= Py_BuildValue("d",_result
);
1381 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1382 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1383 PyObject
* _resultobj
;
1385 wxRealPoint
* _arg0
;
1388 PyObject
* _obj0
= 0;
1389 char *_kwnames
[] = { "self","y", NULL
};
1392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1396 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1400 wxPy_BEGIN_ALLOW_THREADS
;
1401 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1403 wxPy_END_ALLOW_THREADS
;
1404 } _resultobj
= Py_BuildValue("d",_result
);
1408 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1409 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1412 wxRealPoint
* _arg0
;
1414 PyObject
* _obj0
= 0;
1415 char *_kwnames
[] = { "self", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1422 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1426 wxPy_BEGIN_ALLOW_THREADS
;
1427 _result
= (double )wxRealPoint_y_get(_arg0
);
1429 wxPy_END_ALLOW_THREADS
;
1430 } _resultobj
= Py_BuildValue("d",_result
);
1434 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1435 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1437 wxRealPoint
* _result
;
1438 double _arg0
= (double ) 0.0;
1439 double _arg1
= (double ) 0.0;
1440 char *_kwnames
[] = { "x","y", NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1447 wxPy_BEGIN_ALLOW_THREADS
;
1448 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1450 wxPy_END_ALLOW_THREADS
;
1452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1453 _resultobj
= Py_BuildValue("s",_ptemp
);
1456 _resultobj
= Py_None
;
1461 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1462 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1463 PyObject
* _resultobj
;
1464 wxRealPoint
* _arg0
;
1466 PyObject
* _obj0
= 0;
1467 char *_kwnames
[] = { "self", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1474 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1478 wxPy_BEGIN_ALLOW_THREADS
;
1479 delete_wxRealPoint(_arg0
);
1481 wxPy_END_ALLOW_THREADS
;
1482 } Py_INCREF(Py_None
);
1483 _resultobj
= Py_None
;
1487 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1491 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1493 wxRealPoint
* _arg0
;
1497 PyObject
* _obj0
= 0;
1498 char *_kwnames
[] = { "self","x","y", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1505 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1509 wxPy_BEGIN_ALLOW_THREADS
;
1510 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1512 wxPy_END_ALLOW_THREADS
;
1513 } Py_INCREF(Py_None
);
1514 _resultobj
= Py_None
;
1518 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1519 PyObject
* tup
= PyTuple_New(2);
1520 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1521 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1524 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
* _resultobj
;
1527 wxRealPoint
* _arg0
;
1529 PyObject
* _obj0
= 0;
1530 char *_kwnames
[] = { "self", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1537 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1544 wxPy_END_ALLOW_THREADS
;
1546 _resultobj
= _result
;
1551 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1552 if (! p
) return *self
;
1555 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1557 wxRealPoint
* _result
;
1558 wxRealPoint
* _arg0
;
1559 wxRealPoint
* _arg1
;
1561 PyObject
* _obj0
= 0;
1563 PyObject
* _obj1
= 0;
1564 char *_kwnames
[] = { "self","p", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1572 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1577 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1581 wxPy_BEGIN_ALLOW_THREADS
;
1582 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1584 wxPy_END_ALLOW_THREADS
;
1585 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1586 _resultobj
= Py_BuildValue("s",_ptemp
);
1590 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1591 if (! p
) return *self
;
1594 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1595 PyObject
* _resultobj
;
1596 wxRealPoint
* _result
;
1597 wxRealPoint
* _arg0
;
1598 wxRealPoint
* _arg1
;
1600 PyObject
* _obj0
= 0;
1602 PyObject
* _obj1
= 0;
1603 char *_kwnames
[] = { "self","p", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1611 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1616 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1620 wxPy_BEGIN_ALLOW_THREADS
;
1621 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1623 wxPy_END_ALLOW_THREADS
;
1624 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1625 _resultobj
= Py_BuildValue("s",_ptemp
);
1629 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1633 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1636 wxRealPoint
* _arg0
;
1637 wxRealPoint
* _arg1
;
1639 PyObject
* _obj0
= 0;
1641 PyObject
* _obj1
= 0;
1642 char *_kwnames
[] = { "self","p", NULL
};
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1649 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1654 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1658 wxPy_BEGIN_ALLOW_THREADS
;
1659 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1661 wxPy_END_ALLOW_THREADS
;
1662 } _resultobj
= Py_BuildValue("i",_result
);
1666 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1667 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1673 PyObject
* _obj0
= 0;
1674 char *_kwnames
[] = { "self","x", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1681 if (! wxPoint_helper(_obj0
, &_arg0
))
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1688 wxPy_END_ALLOW_THREADS
;
1689 } _resultobj
= Py_BuildValue("l",_result
);
1693 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1694 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1699 PyObject
* _obj0
= 0;
1700 char *_kwnames
[] = { "self", NULL
};
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1707 if (! wxPoint_helper(_obj0
, &_arg0
))
1711 wxPy_BEGIN_ALLOW_THREADS
;
1712 _result
= (long )wxPoint_x_get(_arg0
);
1714 wxPy_END_ALLOW_THREADS
;
1715 } _resultobj
= Py_BuildValue("l",_result
);
1719 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1720 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1726 PyObject
* _obj0
= 0;
1727 char *_kwnames
[] = { "self","y", NULL
};
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1734 if (! wxPoint_helper(_obj0
, &_arg0
))
1738 wxPy_BEGIN_ALLOW_THREADS
;
1739 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1741 wxPy_END_ALLOW_THREADS
;
1742 } _resultobj
= Py_BuildValue("l",_result
);
1746 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1747 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
* _resultobj
;
1752 PyObject
* _obj0
= 0;
1753 char *_kwnames
[] = { "self", NULL
};
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1760 if (! wxPoint_helper(_obj0
, &_arg0
))
1764 wxPy_BEGIN_ALLOW_THREADS
;
1765 _result
= (long )wxPoint_y_get(_arg0
);
1767 wxPy_END_ALLOW_THREADS
;
1768 } _resultobj
= Py_BuildValue("l",_result
);
1772 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1773 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1776 long _arg0
= (long ) 0;
1777 long _arg1
= (long ) 0;
1778 char *_kwnames
[] = { "x","y", NULL
};
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1785 wxPy_BEGIN_ALLOW_THREADS
;
1786 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1788 wxPy_END_ALLOW_THREADS
;
1790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1791 _resultobj
= Py_BuildValue("s",_ptemp
);
1794 _resultobj
= Py_None
;
1799 #define delete_wxPoint(_swigobj) (delete _swigobj)
1800 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1804 PyObject
* _obj0
= 0;
1805 char *_kwnames
[] = { "self", NULL
};
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1812 if (! wxPoint_helper(_obj0
, &_arg0
))
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 delete_wxPoint(_arg0
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1829 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1830 PyObject
* _resultobj
;
1835 PyObject
* _obj0
= 0;
1836 char *_kwnames
[] = { "self","x","y", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1843 if (! wxPoint_helper(_obj0
, &_arg0
))
1847 wxPy_BEGIN_ALLOW_THREADS
;
1848 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1850 wxPy_END_ALLOW_THREADS
;
1851 } Py_INCREF(Py_None
);
1852 _resultobj
= Py_None
;
1856 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1857 PyObject
* tup
= PyTuple_New(2);
1858 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1859 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1862 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1867 PyObject
* _obj0
= 0;
1868 char *_kwnames
[] = { "self", NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1875 if (! wxPoint_helper(_obj0
, &_arg0
))
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1882 wxPy_END_ALLOW_THREADS
;
1884 _resultobj
= _result
;
1889 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1890 if (! p
) return *self
;
1893 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1899 PyObject
* _obj0
= 0;
1901 PyObject
* _obj1
= 0;
1902 char *_kwnames
[] = { "self","p", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1910 if (! wxPoint_helper(_obj0
, &_arg0
))
1915 if (! wxPoint_helper(_obj1
, &_arg1
))
1919 wxPy_BEGIN_ALLOW_THREADS
;
1920 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
1922 wxPy_END_ALLOW_THREADS
;
1923 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1924 _resultobj
= Py_BuildValue("s",_ptemp
);
1928 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
1929 if (! p
) return *self
;
1932 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1938 PyObject
* _obj0
= 0;
1940 PyObject
* _obj1
= 0;
1941 char *_kwnames
[] = { "self","p", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1949 if (! wxPoint_helper(_obj0
, &_arg0
))
1954 if (! wxPoint_helper(_obj1
, &_arg1
))
1958 wxPy_BEGIN_ALLOW_THREADS
;
1959 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
1961 wxPy_END_ALLOW_THREADS
;
1962 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
1963 _resultobj
= Py_BuildValue("s",_ptemp
);
1967 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
1971 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1977 PyObject
* _obj0
= 0;
1979 PyObject
* _obj1
= 0;
1980 char *_kwnames
[] = { "self","p", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1987 if (! wxPoint_helper(_obj0
, &_arg0
))
1992 if (! wxPoint_helper(_obj1
, &_arg1
))
1996 wxPy_BEGIN_ALLOW_THREADS
;
1997 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
1999 wxPy_END_ALLOW_THREADS
;
2000 } _resultobj
= Py_BuildValue("i",_result
);
2004 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2005 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2008 int _arg0
= (int ) 0;
2009 int _arg1
= (int ) 0;
2010 int _arg2
= (int ) 0;
2011 int _arg3
= (int ) 0;
2012 char *_kwnames
[] = { "x","y","w","h", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2019 wxPy_BEGIN_ALLOW_THREADS
;
2020 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2022 wxPy_END_ALLOW_THREADS
;
2024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2025 _resultobj
= Py_BuildValue("s",_ptemp
);
2028 _resultobj
= Py_None
;
2033 #define delete_wxRect(_swigobj) (delete _swigobj)
2034 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2038 PyObject
* _obj0
= 0;
2039 char *_kwnames
[] = { "self", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2046 if (! wxRect_helper(_obj0
, &_arg0
))
2050 wxPy_BEGIN_ALLOW_THREADS
;
2051 delete_wxRect(_arg0
);
2053 wxPy_END_ALLOW_THREADS
;
2054 } Py_INCREF(Py_None
);
2055 _resultobj
= Py_None
;
2059 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2060 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2065 PyObject
* _obj0
= 0;
2066 char *_kwnames
[] = { "self", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2073 if (! wxRect_helper(_obj0
, &_arg0
))
2077 wxPy_BEGIN_ALLOW_THREADS
;
2078 _result
= (int )wxRect_GetX(_arg0
);
2080 wxPy_END_ALLOW_THREADS
;
2081 } _resultobj
= Py_BuildValue("i",_result
);
2085 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2086 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2091 PyObject
* _obj0
= 0;
2092 char *_kwnames
[] = { "self","X", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2099 if (! wxRect_helper(_obj0
, &_arg0
))
2103 wxPy_BEGIN_ALLOW_THREADS
;
2104 wxRect_SetX(_arg0
,_arg1
);
2106 wxPy_END_ALLOW_THREADS
;
2107 } Py_INCREF(Py_None
);
2108 _resultobj
= Py_None
;
2112 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2113 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
* _resultobj
;
2118 PyObject
* _obj0
= 0;
2119 char *_kwnames
[] = { "self", NULL
};
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2126 if (! wxRect_helper(_obj0
, &_arg0
))
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 _result
= (int )wxRect_GetY(_arg0
);
2133 wxPy_END_ALLOW_THREADS
;
2134 } _resultobj
= Py_BuildValue("i",_result
);
2138 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2139 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2144 PyObject
* _obj0
= 0;
2145 char *_kwnames
[] = { "self","Y", NULL
};
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2152 if (! wxRect_helper(_obj0
, &_arg0
))
2156 wxPy_BEGIN_ALLOW_THREADS
;
2157 wxRect_SetY(_arg0
,_arg1
);
2159 wxPy_END_ALLOW_THREADS
;
2160 } Py_INCREF(Py_None
);
2161 _resultobj
= Py_None
;
2165 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2166 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2171 PyObject
* _obj0
= 0;
2172 char *_kwnames
[] = { "self", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2179 if (! wxRect_helper(_obj0
, &_arg0
))
2183 wxPy_BEGIN_ALLOW_THREADS
;
2184 _result
= (int )wxRect_GetWidth(_arg0
);
2186 wxPy_END_ALLOW_THREADS
;
2187 } _resultobj
= Py_BuildValue("i",_result
);
2191 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2192 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2197 PyObject
* _obj0
= 0;
2198 char *_kwnames
[] = { "self","w", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2205 if (! wxRect_helper(_obj0
, &_arg0
))
2209 wxPy_BEGIN_ALLOW_THREADS
;
2210 wxRect_SetWidth(_arg0
,_arg1
);
2212 wxPy_END_ALLOW_THREADS
;
2213 } Py_INCREF(Py_None
);
2214 _resultobj
= Py_None
;
2218 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2219 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
* _resultobj
;
2224 PyObject
* _obj0
= 0;
2225 char *_kwnames
[] = { "self", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2232 if (! wxRect_helper(_obj0
, &_arg0
))
2236 wxPy_BEGIN_ALLOW_THREADS
;
2237 _result
= (int )wxRect_GetHeight(_arg0
);
2239 wxPy_END_ALLOW_THREADS
;
2240 } _resultobj
= Py_BuildValue("i",_result
);
2244 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2245 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
* _resultobj
;
2250 PyObject
* _obj0
= 0;
2251 char *_kwnames
[] = { "self","h", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2258 if (! wxRect_helper(_obj0
, &_arg0
))
2262 wxPy_BEGIN_ALLOW_THREADS
;
2263 wxRect_SetHeight(_arg0
,_arg1
);
2265 wxPy_END_ALLOW_THREADS
;
2266 } Py_INCREF(Py_None
);
2267 _resultobj
= Py_None
;
2271 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2272 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
* _resultobj
;
2277 PyObject
* _obj0
= 0;
2278 char *_kwnames
[] = { "self", NULL
};
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2286 if (! wxRect_helper(_obj0
, &_arg0
))
2290 wxPy_BEGIN_ALLOW_THREADS
;
2291 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2293 wxPy_END_ALLOW_THREADS
;
2294 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2295 _resultobj
= Py_BuildValue("s",_ptemp
);
2299 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2300 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2305 PyObject
* _obj0
= 0;
2306 char *_kwnames
[] = { "self", NULL
};
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2314 if (! wxRect_helper(_obj0
, &_arg0
))
2318 wxPy_BEGIN_ALLOW_THREADS
;
2319 _result
= new wxSize (wxRect_GetSize(_arg0
));
2321 wxPy_END_ALLOW_THREADS
;
2322 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2323 _resultobj
= Py_BuildValue("s",_ptemp
);
2327 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2328 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2333 PyObject
* _obj0
= 0;
2334 char *_kwnames
[] = { "self", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2341 if (! wxRect_helper(_obj0
, &_arg0
))
2345 wxPy_BEGIN_ALLOW_THREADS
;
2346 _result
= (int )wxRect_GetLeft(_arg0
);
2348 wxPy_END_ALLOW_THREADS
;
2349 } _resultobj
= Py_BuildValue("i",_result
);
2353 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2354 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
* _resultobj
;
2359 PyObject
* _obj0
= 0;
2360 char *_kwnames
[] = { "self", NULL
};
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2367 if (! wxRect_helper(_obj0
, &_arg0
))
2371 wxPy_BEGIN_ALLOW_THREADS
;
2372 _result
= (int )wxRect_GetTop(_arg0
);
2374 wxPy_END_ALLOW_THREADS
;
2375 } _resultobj
= Py_BuildValue("i",_result
);
2379 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2380 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2385 PyObject
* _obj0
= 0;
2386 char *_kwnames
[] = { "self", NULL
};
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2393 if (! wxRect_helper(_obj0
, &_arg0
))
2397 wxPy_BEGIN_ALLOW_THREADS
;
2398 _result
= (int )wxRect_GetBottom(_arg0
);
2400 wxPy_END_ALLOW_THREADS
;
2401 } _resultobj
= Py_BuildValue("i",_result
);
2405 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2406 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2411 PyObject
* _obj0
= 0;
2412 char *_kwnames
[] = { "self", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2419 if (! wxRect_helper(_obj0
, &_arg0
))
2423 wxPy_BEGIN_ALLOW_THREADS
;
2424 _result
= (int )wxRect_GetRight(_arg0
);
2426 wxPy_END_ALLOW_THREADS
;
2427 } _resultobj
= Py_BuildValue("i",_result
);
2431 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2432 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2437 PyObject
* _obj0
= 0;
2438 char *_kwnames
[] = { "self","left", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2445 if (! wxRect_helper(_obj0
, &_arg0
))
2449 wxPy_BEGIN_ALLOW_THREADS
;
2450 wxRect_SetLeft(_arg0
,_arg1
);
2452 wxPy_END_ALLOW_THREADS
;
2453 } Py_INCREF(Py_None
);
2454 _resultobj
= Py_None
;
2458 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2459 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2464 PyObject
* _obj0
= 0;
2465 char *_kwnames
[] = { "self","right", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2472 if (! wxRect_helper(_obj0
, &_arg0
))
2476 wxPy_BEGIN_ALLOW_THREADS
;
2477 wxRect_SetRight(_arg0
,_arg1
);
2479 wxPy_END_ALLOW_THREADS
;
2480 } Py_INCREF(Py_None
);
2481 _resultobj
= Py_None
;
2485 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2486 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2491 PyObject
* _obj0
= 0;
2492 char *_kwnames
[] = { "self","top", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2499 if (! wxRect_helper(_obj0
, &_arg0
))
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 wxRect_SetTop(_arg0
,_arg1
);
2506 wxPy_END_ALLOW_THREADS
;
2507 } Py_INCREF(Py_None
);
2508 _resultobj
= Py_None
;
2512 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2513 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2518 PyObject
* _obj0
= 0;
2519 char *_kwnames
[] = { "self","bottom", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2526 if (! wxRect_helper(_obj0
, &_arg0
))
2530 wxPy_BEGIN_ALLOW_THREADS
;
2531 wxRect_SetBottom(_arg0
,_arg1
);
2533 wxPy_END_ALLOW_THREADS
;
2534 } Py_INCREF(Py_None
);
2535 _resultobj
= Py_None
;
2539 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2540 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
* _resultobj
;
2546 PyObject
* _obj0
= 0;
2547 char *_kwnames
[] = { "self","dx","dy", NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2554 if (! wxRect_helper(_obj0
, &_arg0
))
2558 wxPy_BEGIN_ALLOW_THREADS
;
2559 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2561 wxPy_END_ALLOW_THREADS
;
2562 } Py_INCREF(Py_None
);
2563 _resultobj
= Py_None
;
2567 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2568 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
* _resultobj
;
2575 PyObject
* _obj0
= 0;
2576 char *_kwnames
[] = { "self","cx","cy", NULL
};
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2583 if (! wxRect_helper(_obj0
, &_arg0
))
2587 wxPy_BEGIN_ALLOW_THREADS
;
2588 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2590 wxPy_END_ALLOW_THREADS
;
2591 } _resultobj
= Py_BuildValue("i",_result
);
2595 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2596 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2602 PyObject
* _obj0
= 0;
2603 char *_kwnames
[] = { "self","x", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2610 if (! wxRect_helper(_obj0
, &_arg0
))
2614 wxPy_BEGIN_ALLOW_THREADS
;
2615 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2617 wxPy_END_ALLOW_THREADS
;
2618 } _resultobj
= Py_BuildValue("i",_result
);
2622 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2623 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2628 PyObject
* _obj0
= 0;
2629 char *_kwnames
[] = { "self", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2636 if (! wxRect_helper(_obj0
, &_arg0
))
2640 wxPy_BEGIN_ALLOW_THREADS
;
2641 _result
= (int )wxRect_x_get(_arg0
);
2643 wxPy_END_ALLOW_THREADS
;
2644 } _resultobj
= Py_BuildValue("i",_result
);
2648 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2649 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
* _resultobj
;
2655 PyObject
* _obj0
= 0;
2656 char *_kwnames
[] = { "self","y", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2663 if (! wxRect_helper(_obj0
, &_arg0
))
2667 wxPy_BEGIN_ALLOW_THREADS
;
2668 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2670 wxPy_END_ALLOW_THREADS
;
2671 } _resultobj
= Py_BuildValue("i",_result
);
2675 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2676 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
* _resultobj
;
2681 PyObject
* _obj0
= 0;
2682 char *_kwnames
[] = { "self", NULL
};
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2689 if (! wxRect_helper(_obj0
, &_arg0
))
2693 wxPy_BEGIN_ALLOW_THREADS
;
2694 _result
= (int )wxRect_y_get(_arg0
);
2696 wxPy_END_ALLOW_THREADS
;
2697 } _resultobj
= Py_BuildValue("i",_result
);
2701 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2702 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2708 PyObject
* _obj0
= 0;
2709 char *_kwnames
[] = { "self","width", NULL
};
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2716 if (! wxRect_helper(_obj0
, &_arg0
))
2720 wxPy_BEGIN_ALLOW_THREADS
;
2721 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2723 wxPy_END_ALLOW_THREADS
;
2724 } _resultobj
= Py_BuildValue("i",_result
);
2728 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2729 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2734 PyObject
* _obj0
= 0;
2735 char *_kwnames
[] = { "self", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2742 if (! wxRect_helper(_obj0
, &_arg0
))
2746 wxPy_BEGIN_ALLOW_THREADS
;
2747 _result
= (int )wxRect_width_get(_arg0
);
2749 wxPy_END_ALLOW_THREADS
;
2750 } _resultobj
= Py_BuildValue("i",_result
);
2754 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2755 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
* _resultobj
;
2761 PyObject
* _obj0
= 0;
2762 char *_kwnames
[] = { "self","height", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2769 if (! wxRect_helper(_obj0
, &_arg0
))
2773 wxPy_BEGIN_ALLOW_THREADS
;
2774 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2776 wxPy_END_ALLOW_THREADS
;
2777 } _resultobj
= Py_BuildValue("i",_result
);
2781 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2782 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
* _resultobj
;
2787 PyObject
* _obj0
= 0;
2788 char *_kwnames
[] = { "self", NULL
};
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2795 if (! wxRect_helper(_obj0
, &_arg0
))
2799 wxPy_BEGIN_ALLOW_THREADS
;
2800 _result
= (int )wxRect_height_get(_arg0
);
2802 wxPy_END_ALLOW_THREADS
;
2803 } _resultobj
= Py_BuildValue("i",_result
);
2807 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2808 PyObject
* tup
= PyTuple_New(4);
2809 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2810 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2811 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2812 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2815 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
* _resultobj
;
2820 PyObject
* _obj0
= 0;
2821 char *_kwnames
[] = { "self", NULL
};
2824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2828 if (! wxRect_helper(_obj0
, &_arg0
))
2832 wxPy_BEGIN_ALLOW_THREADS
;
2833 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2835 wxPy_END_ALLOW_THREADS
;
2837 _resultobj
= _result
;
2842 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2843 if (! rect
) return *self
;
2844 return *self
+ *rect
;
2846 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2852 PyObject
* _obj0
= 0;
2854 PyObject
* _obj1
= 0;
2855 char *_kwnames
[] = { "self","rect", NULL
};
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2863 if (! wxRect_helper(_obj0
, &_arg0
))
2868 if (! wxRect_helper(_obj1
, &_arg1
))
2872 wxPy_BEGIN_ALLOW_THREADS
;
2873 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2875 wxPy_END_ALLOW_THREADS
;
2876 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2877 _resultobj
= Py_BuildValue("s",_ptemp
);
2881 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
2882 if (! rect
) return 0;
2883 return *self
== *rect
;
2885 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2891 PyObject
* _obj0
= 0;
2893 PyObject
* _obj1
= 0;
2894 char *_kwnames
[] = { "self","rect", NULL
};
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
2901 if (! wxRect_helper(_obj0
, &_arg0
))
2906 if (! wxRect_helper(_obj1
, &_arg1
))
2910 wxPy_BEGIN_ALLOW_THREADS
;
2911 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
2913 wxPy_END_ALLOW_THREADS
;
2914 } _resultobj
= Py_BuildValue("i",_result
);
2918 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
2919 wxIndividualLayoutConstraint
*src
;
2921 src
= (wxIndividualLayoutConstraint
*) ptr
;
2922 dest
= (wxObject
*) src
;
2923 return (void *) dest
;
2926 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
2927 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
* _resultobj
;
2929 wxIndividualLayoutConstraint
* _arg0
;
2931 int _arg2
= (int ) 0;
2932 PyObject
* _argo0
= 0;
2933 PyObject
* _argo1
= 0;
2934 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
2940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
2947 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2948 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
2954 wxPy_BEGIN_ALLOW_THREADS
;
2955 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
2957 wxPy_END_ALLOW_THREADS
;
2958 } Py_INCREF(Py_None
);
2959 _resultobj
= Py_None
;
2963 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
2964 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
* _resultobj
;
2966 wxIndividualLayoutConstraint
* _arg0
;
2968 PyObject
* _argo0
= 0;
2969 char *_kwnames
[] = { "self","value", NULL
};
2972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
2982 wxPy_BEGIN_ALLOW_THREADS
;
2983 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
2985 wxPy_END_ALLOW_THREADS
;
2986 } Py_INCREF(Py_None
);
2987 _resultobj
= Py_None
;
2991 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
2992 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2994 wxIndividualLayoutConstraint
* _arg0
;
2995 PyObject
* _argo0
= 0;
2996 char *_kwnames
[] = { "self", NULL
};
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3009 wxPy_BEGIN_ALLOW_THREADS
;
3010 wxIndividualLayoutConstraint_AsIs(_arg0
);
3012 wxPy_END_ALLOW_THREADS
;
3013 } Py_INCREF(Py_None
);
3014 _resultobj
= Py_None
;
3018 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3019 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
* _resultobj
;
3021 wxIndividualLayoutConstraint
* _arg0
;
3023 int _arg2
= (int ) 0;
3024 PyObject
* _argo0
= 0;
3025 PyObject
* _argo1
= 0;
3026 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3046 wxPy_BEGIN_ALLOW_THREADS
;
3047 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3049 wxPy_END_ALLOW_THREADS
;
3050 } Py_INCREF(Py_None
);
3051 _resultobj
= Py_None
;
3055 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3056 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
* _resultobj
;
3058 wxIndividualLayoutConstraint
* _arg0
;
3059 PyObject
* _argo0
= 0;
3060 char *_kwnames
[] = { "self", NULL
};
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3073 wxPy_BEGIN_ALLOW_THREADS
;
3074 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3076 wxPy_END_ALLOW_THREADS
;
3077 } Py_INCREF(Py_None
);
3078 _resultobj
= Py_None
;
3082 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3083 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
* _resultobj
;
3085 wxIndividualLayoutConstraint
* _arg0
;
3087 int _arg2
= (int ) 0;
3088 PyObject
* _argo0
= 0;
3089 PyObject
* _argo1
= 0;
3090 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3110 wxPy_BEGIN_ALLOW_THREADS
;
3111 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3113 wxPy_END_ALLOW_THREADS
;
3114 } Py_INCREF(Py_None
);
3115 _resultobj
= Py_None
;
3119 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3120 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
* _resultobj
;
3122 wxIndividualLayoutConstraint
* _arg0
;
3126 PyObject
* _argo0
= 0;
3127 PyObject
* _argo1
= 0;
3128 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3148 wxPy_BEGIN_ALLOW_THREADS
;
3149 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3151 wxPy_END_ALLOW_THREADS
;
3152 } Py_INCREF(Py_None
);
3153 _resultobj
= Py_None
;
3157 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3158 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
* _resultobj
;
3160 wxIndividualLayoutConstraint
* _arg0
;
3162 int _arg2
= (int ) 0;
3163 PyObject
* _argo0
= 0;
3164 PyObject
* _argo1
= 0;
3165 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3185 wxPy_BEGIN_ALLOW_THREADS
;
3186 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3188 wxPy_END_ALLOW_THREADS
;
3189 } Py_INCREF(Py_None
);
3190 _resultobj
= Py_None
;
3194 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3195 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3197 wxIndividualLayoutConstraint
* _arg0
;
3200 int _arg3
= (int ) 0;
3201 PyObject
* _argo0
= 0;
3202 PyObject
* _argo1
= 0;
3203 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3216 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3223 wxPy_BEGIN_ALLOW_THREADS
;
3224 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3226 wxPy_END_ALLOW_THREADS
;
3227 } Py_INCREF(Py_None
);
3228 _resultobj
= Py_None
;
3232 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3233 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3235 wxIndividualLayoutConstraint
* _arg0
;
3236 wxRelationship _arg1
;
3239 int _arg4
= (int ) 0;
3240 int _arg5
= (int ) 0;
3241 PyObject
* _argo0
= 0;
3242 PyObject
* _argo2
= 0;
3243 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3256 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3263 wxPy_BEGIN_ALLOW_THREADS
;
3264 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3266 wxPy_END_ALLOW_THREADS
;
3267 } Py_INCREF(Py_None
);
3268 _resultobj
= Py_None
;
3272 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3273 wxLayoutConstraints
*src
;
3275 src
= (wxLayoutConstraints
*) ptr
;
3276 dest
= (wxObject
*) src
;
3277 return (void *) dest
;
3280 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3281 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3283 wxLayoutConstraints
* _result
;
3284 char *_kwnames
[] = { NULL
};
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3291 wxPy_BEGIN_ALLOW_THREADS
;
3292 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3294 wxPy_END_ALLOW_THREADS
;
3296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3297 _resultobj
= Py_BuildValue("s",_ptemp
);
3300 _resultobj
= Py_None
;
3305 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3306 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
* _resultobj
;
3308 wxIndividualLayoutConstraint
* _result
;
3309 wxLayoutConstraints
* _arg0
;
3310 PyObject
* _argo0
= 0;
3311 char *_kwnames
[] = { "self", NULL
};
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3325 wxPy_BEGIN_ALLOW_THREADS
;
3326 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3328 wxPy_END_ALLOW_THREADS
;
3330 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3331 _resultobj
= Py_BuildValue("s",_ptemp
);
3334 _resultobj
= Py_None
;
3339 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3340 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3342 wxIndividualLayoutConstraint
* _result
;
3343 wxLayoutConstraints
* _arg0
;
3344 PyObject
* _argo0
= 0;
3345 char *_kwnames
[] = { "self", NULL
};
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3359 wxPy_BEGIN_ALLOW_THREADS
;
3360 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3362 wxPy_END_ALLOW_THREADS
;
3364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3365 _resultobj
= Py_BuildValue("s",_ptemp
);
3368 _resultobj
= Py_None
;
3373 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3374 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3376 wxIndividualLayoutConstraint
* _result
;
3377 wxLayoutConstraints
* _arg0
;
3378 PyObject
* _argo0
= 0;
3379 char *_kwnames
[] = { "self", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3393 wxPy_BEGIN_ALLOW_THREADS
;
3394 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3396 wxPy_END_ALLOW_THREADS
;
3398 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3399 _resultobj
= Py_BuildValue("s",_ptemp
);
3402 _resultobj
= Py_None
;
3407 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3408 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3410 wxIndividualLayoutConstraint
* _result
;
3411 wxLayoutConstraints
* _arg0
;
3412 PyObject
* _argo0
= 0;
3413 char *_kwnames
[] = { "self", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3427 wxPy_BEGIN_ALLOW_THREADS
;
3428 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3430 wxPy_END_ALLOW_THREADS
;
3432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3433 _resultobj
= Py_BuildValue("s",_ptemp
);
3436 _resultobj
= Py_None
;
3441 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3442 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
* _resultobj
;
3444 wxIndividualLayoutConstraint
* _result
;
3445 wxLayoutConstraints
* _arg0
;
3446 PyObject
* _argo0
= 0;
3447 char *_kwnames
[] = { "self", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3461 wxPy_BEGIN_ALLOW_THREADS
;
3462 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3464 wxPy_END_ALLOW_THREADS
;
3466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3467 _resultobj
= Py_BuildValue("s",_ptemp
);
3470 _resultobj
= Py_None
;
3475 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3476 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
* _resultobj
;
3478 wxIndividualLayoutConstraint
* _result
;
3479 wxLayoutConstraints
* _arg0
;
3480 PyObject
* _argo0
= 0;
3481 char *_kwnames
[] = { "self", NULL
};
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3495 wxPy_BEGIN_ALLOW_THREADS
;
3496 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3498 wxPy_END_ALLOW_THREADS
;
3500 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3501 _resultobj
= Py_BuildValue("s",_ptemp
);
3504 _resultobj
= Py_None
;
3509 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3510 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3511 PyObject
* _resultobj
;
3512 wxIndividualLayoutConstraint
* _result
;
3513 wxLayoutConstraints
* _arg0
;
3514 PyObject
* _argo0
= 0;
3515 char *_kwnames
[] = { "self", NULL
};
3519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3529 wxPy_BEGIN_ALLOW_THREADS
;
3530 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3532 wxPy_END_ALLOW_THREADS
;
3534 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3535 _resultobj
= Py_BuildValue("s",_ptemp
);
3538 _resultobj
= Py_None
;
3543 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3544 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3545 PyObject
* _resultobj
;
3546 wxIndividualLayoutConstraint
* _result
;
3547 wxLayoutConstraints
* _arg0
;
3548 PyObject
* _argo0
= 0;
3549 char *_kwnames
[] = { "self", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3563 wxPy_BEGIN_ALLOW_THREADS
;
3564 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3566 wxPy_END_ALLOW_THREADS
;
3568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3569 _resultobj
= Py_BuildValue("s",_ptemp
);
3572 _resultobj
= Py_None
;
3577 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3578 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
* _resultobj
;
3580 wxAcceleratorEntry
* _result
;
3581 int _arg0
= (int ) 0;
3582 int _arg1
= (int ) 0;
3583 int _arg2
= (int ) 0;
3584 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3591 wxPy_BEGIN_ALLOW_THREADS
;
3592 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3594 wxPy_END_ALLOW_THREADS
;
3596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3597 _resultobj
= Py_BuildValue("s",_ptemp
);
3600 _resultobj
= Py_None
;
3605 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3606 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
* _resultobj
;
3608 wxAcceleratorEntry
* _arg0
;
3609 PyObject
* _argo0
= 0;
3610 char *_kwnames
[] = { "self", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3623 wxPy_BEGIN_ALLOW_THREADS
;
3624 delete_wxAcceleratorEntry(_arg0
);
3626 wxPy_END_ALLOW_THREADS
;
3627 } Py_INCREF(Py_None
);
3628 _resultobj
= Py_None
;
3632 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3633 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
* _resultobj
;
3635 wxAcceleratorEntry
* _arg0
;
3639 PyObject
* _argo0
= 0;
3640 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3653 wxPy_BEGIN_ALLOW_THREADS
;
3654 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3656 wxPy_END_ALLOW_THREADS
;
3657 } Py_INCREF(Py_None
);
3658 _resultobj
= Py_None
;
3662 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3663 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
* _resultobj
;
3666 wxAcceleratorEntry
* _arg0
;
3667 PyObject
* _argo0
= 0;
3668 char *_kwnames
[] = { "self", NULL
};
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3681 wxPy_BEGIN_ALLOW_THREADS
;
3682 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3684 wxPy_END_ALLOW_THREADS
;
3685 } _resultobj
= Py_BuildValue("i",_result
);
3689 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3690 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
* _resultobj
;
3693 wxAcceleratorEntry
* _arg0
;
3694 PyObject
* _argo0
= 0;
3695 char *_kwnames
[] = { "self", NULL
};
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3708 wxPy_BEGIN_ALLOW_THREADS
;
3709 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3711 wxPy_END_ALLOW_THREADS
;
3712 } _resultobj
= Py_BuildValue("i",_result
);
3716 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3717 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3720 wxAcceleratorEntry
* _arg0
;
3721 PyObject
* _argo0
= 0;
3722 char *_kwnames
[] = { "self", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3735 wxPy_BEGIN_ALLOW_THREADS
;
3736 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3738 wxPy_END_ALLOW_THREADS
;
3739 } _resultobj
= Py_BuildValue("i",_result
);
3743 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3744 wxAcceleratorTable
*src
;
3746 src
= (wxAcceleratorTable
*) ptr
;
3747 dest
= (wxObject
*) src
;
3748 return (void *) dest
;
3751 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3752 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3754 wxAcceleratorTable
* _result
;
3756 wxAcceleratorEntry
* _arg1
;
3757 PyObject
* _obj1
= 0;
3758 char *_kwnames
[] = { "choices", NULL
};
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3766 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3767 if (_arg1
== NULL
) {
3773 _arg0
= PyList_Size(_obj1
);
3780 wxPy_BEGIN_ALLOW_THREADS
;
3781 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3783 wxPy_END_ALLOW_THREADS
;
3785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3786 _resultobj
= Py_BuildValue("s",_ptemp
);
3789 _resultobj
= Py_None
;
3797 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
3798 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
* _resultobj
;
3800 wxAcceleratorTable
* _arg0
;
3801 PyObject
* _argo0
= 0;
3802 char *_kwnames
[] = { "self", NULL
};
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
3808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
3815 wxPy_BEGIN_ALLOW_THREADS
;
3816 delete_wxAcceleratorTable(_arg0
);
3818 wxPy_END_ALLOW_THREADS
;
3819 } Py_INCREF(Py_None
);
3820 _resultobj
= Py_None
;
3824 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
3827 src
= (wxBusyInfo
*) ptr
;
3828 dest
= (wxObject
*) src
;
3829 return (void *) dest
;
3832 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
3833 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
* _resultobj
;
3835 wxBusyInfo
* _result
;
3837 PyObject
* _obj0
= 0;
3838 char *_kwnames
[] = { "message", NULL
};
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
3845 #if PYTHON_API_VERSION >= 1009
3846 char* tmpPtr
; int tmpSize
;
3847 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3848 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3851 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3853 _arg0
= new wxString(tmpPtr
, tmpSize
);
3855 if (!PyString_Check(_obj0
)) {
3856 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3859 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
3866 wxPy_END_ALLOW_THREADS
;
3868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
3869 _resultobj
= Py_BuildValue("s",_ptemp
);
3872 _resultobj
= Py_None
;
3881 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
3882 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
* _resultobj
;
3885 PyObject
* _argo0
= 0;
3886 char *_kwnames
[] = { "self", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
3892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
3899 wxPy_BEGIN_ALLOW_THREADS
;
3900 delete_wxBusyInfo(_arg0
);
3902 wxPy_END_ALLOW_THREADS
;
3903 } Py_INCREF(Py_None
);
3904 _resultobj
= Py_None
;
3908 static PyMethodDef misccMethods
[] = {
3909 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
3910 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
3911 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
3912 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
3913 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
3914 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
3915 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
3916 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
3917 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
3918 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
3919 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
3920 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
3921 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
3922 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
3923 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
3924 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
3925 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
3926 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
3927 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
3928 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
3929 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
3930 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
3931 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
3932 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
3933 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
3934 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
3935 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
3936 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
3937 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
3938 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
3939 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
3940 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3941 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
3942 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
3943 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
3944 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
3945 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3946 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3947 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3948 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3949 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
3950 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
3951 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
3952 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
3953 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
3954 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
3955 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
3956 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
3957 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
3958 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
3959 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
3960 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
3961 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3962 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3963 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3964 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3965 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
3966 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
3967 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
3968 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
3969 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
3970 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
3971 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
3972 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
3973 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
3974 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3975 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
3976 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
3977 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
3978 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3979 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3980 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3981 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3982 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
3983 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
3984 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
3985 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3986 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
3987 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
3988 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
3989 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
3990 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
3991 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
3992 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
3993 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
3994 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3995 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3996 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
3997 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
3998 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
3999 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4000 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4001 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4002 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4003 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4004 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4005 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4006 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4007 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4008 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4009 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4010 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4011 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4012 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4013 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4014 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4015 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4016 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4017 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4018 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4019 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4020 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4021 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4022 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4023 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4024 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4025 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4026 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4027 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4028 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4029 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4030 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4031 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4032 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4033 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4034 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4035 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4036 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4037 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4038 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4039 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4040 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4041 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4042 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4043 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4050 * This table is used by the pointer type-checker
4052 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4053 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
4054 { "_signed_long","_long",0},
4055 { "_wxPrintQuality","_wxCoord",0},
4056 { "_wxPrintQuality","_int",0},
4057 { "_wxPrintQuality","_signed_int",0},
4058 { "_wxPrintQuality","_unsigned_int",0},
4059 { "_wxPrintQuality","_wxWindowID",0},
4060 { "_wxPrintQuality","_uint",0},
4061 { "_wxPrintQuality","_EBool",0},
4062 { "_wxPrintQuality","_size_t",0},
4063 { "_wxPrintQuality","_time_t",0},
4064 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
4065 { "_byte","_unsigned_char",0},
4066 { "_long","_unsigned_long",0},
4067 { "_long","_signed_long",0},
4068 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
4069 { "_class_wxObject","_class_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4070 { "_class_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4071 { "_class_wxObject","_class_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4072 { "_class_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4073 { "_class_wxObject","_class_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4074 { "_class_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4075 { "_class_wxObject","_class_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4076 { "_class_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4077 { "_class_wxObject","_wxObject",0},
4078 { "_size_t","_wxCoord",0},
4079 { "_size_t","_wxPrintQuality",0},
4080 { "_size_t","_time_t",0},
4081 { "_size_t","_unsigned_int",0},
4082 { "_size_t","_int",0},
4083 { "_size_t","_wxWindowID",0},
4084 { "_size_t","_uint",0},
4085 { "_class_wxRealPoint","_wxRealPoint",0},
4086 { "_uint","_wxCoord",0},
4087 { "_uint","_wxPrintQuality",0},
4088 { "_uint","_time_t",0},
4089 { "_uint","_size_t",0},
4090 { "_uint","_unsigned_int",0},
4091 { "_uint","_int",0},
4092 { "_uint","_wxWindowID",0},
4093 { "_wxChar","_char",0},
4094 { "_wxRect","_class_wxRect",0},
4095 { "_wxPoint","_class_wxPoint",0},
4096 { "_char","_wxChar",0},
4097 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
4098 { "_EBool","_wxCoord",0},
4099 { "_EBool","_wxPrintQuality",0},
4100 { "_EBool","_signed_int",0},
4101 { "_EBool","_int",0},
4102 { "_EBool","_wxWindowID",0},
4103 { "_unsigned_long","_long",0},
4104 { "_class_wxRect","_wxRect",0},
4105 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
4106 { "_signed_int","_wxCoord",0},
4107 { "_signed_int","_wxPrintQuality",0},
4108 { "_signed_int","_EBool",0},
4109 { "_signed_int","_wxWindowID",0},
4110 { "_signed_int","_int",0},
4111 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
4112 { "_WXTYPE","_short",0},
4113 { "_WXTYPE","_signed_short",0},
4114 { "_WXTYPE","_unsigned_short",0},
4115 { "_unsigned_short","_WXTYPE",0},
4116 { "_unsigned_short","_short",0},
4117 { "_wxBusyInfo","_class_wxBusyInfo",0},
4118 { "_wxObject","_class_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4119 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4120 { "_wxObject","_class_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4121 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4122 { "_wxObject","_class_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4123 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4124 { "_wxObject","_class_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4125 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4126 { "_wxObject","_class_wxObject",0},
4127 { "_class_wxPoint","_wxPoint",0},
4128 { "_wxRealPoint","_class_wxRealPoint",0},
4129 { "_signed_short","_WXTYPE",0},
4130 { "_signed_short","_short",0},
4131 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
4132 { "_unsigned_char","_byte",0},
4133 { "_unsigned_int","_wxCoord",0},
4134 { "_unsigned_int","_wxPrintQuality",0},
4135 { "_unsigned_int","_time_t",0},
4136 { "_unsigned_int","_size_t",0},
4137 { "_unsigned_int","_uint",0},
4138 { "_unsigned_int","_wxWindowID",0},
4139 { "_unsigned_int","_int",0},
4140 { "_short","_WXTYPE",0},
4141 { "_short","_unsigned_short",0},
4142 { "_short","_signed_short",0},
4143 { "_wxWindowID","_wxCoord",0},
4144 { "_wxWindowID","_wxPrintQuality",0},
4145 { "_wxWindowID","_time_t",0},
4146 { "_wxWindowID","_size_t",0},
4147 { "_wxWindowID","_EBool",0},
4148 { "_wxWindowID","_uint",0},
4149 { "_wxWindowID","_int",0},
4150 { "_wxWindowID","_signed_int",0},
4151 { "_wxWindowID","_unsigned_int",0},
4152 { "_int","_wxCoord",0},
4153 { "_int","_wxPrintQuality",0},
4154 { "_int","_time_t",0},
4155 { "_int","_size_t",0},
4156 { "_int","_EBool",0},
4157 { "_int","_uint",0},
4158 { "_int","_wxWindowID",0},
4159 { "_int","_unsigned_int",0},
4160 { "_int","_signed_int",0},
4161 { "_time_t","_wxCoord",0},
4162 { "_time_t","_wxPrintQuality",0},
4163 { "_time_t","_unsigned_int",0},
4164 { "_time_t","_int",0},
4165 { "_time_t","_wxWindowID",0},
4166 { "_time_t","_uint",0},
4167 { "_time_t","_size_t",0},
4168 { "_wxSize","_class_wxSize",0},
4169 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
4170 { "_wxCoord","_int",0},
4171 { "_wxCoord","_signed_int",0},
4172 { "_wxCoord","_unsigned_int",0},
4173 { "_wxCoord","_wxWindowID",0},
4174 { "_wxCoord","_uint",0},
4175 { "_wxCoord","_EBool",0},
4176 { "_wxCoord","_size_t",0},
4177 { "_wxCoord","_time_t",0},
4178 { "_wxCoord","_wxPrintQuality",0},
4179 { "_class_wxBusyInfo","_wxBusyInfo",0},
4180 { "_class_wxSize","_wxSize",0},
4183 static PyObject
*SWIG_globals
;
4187 SWIGEXPORT(void) initmiscc() {
4189 SWIG_globals
= SWIG_newvarlink();
4190 m
= Py_InitModule("miscc", misccMethods
);
4191 d
= PyModule_GetDict(m
);
4192 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4193 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4194 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4195 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4196 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4197 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4198 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4199 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4200 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4201 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4202 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4203 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4204 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4205 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4206 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4207 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4208 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4209 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4210 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4211 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4212 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4215 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4216 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);