2 * FILE : src/gtk/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initmiscc
54 #define SWIG_name "miscc"
57 #include <wx/resource.h>
58 #include <wx/tooltip.h>
59 #include <wx/busyinfo.h>
61 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
65 } else if (target
== Py_None
) {
69 if (!PyList_Check(target
)) {
71 target
= PyList_New(0);
72 PyList_Append(target
, o2
);
75 PyList_Append(target
,o
);
81 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
87 } else if (target
== Py_None
) {
91 if (!PyTuple_Check(target
)) {
93 target
= PyTuple_New(1);
94 PyTuple_SetItem(target
, 0, o2
);
97 PyTuple_SetItem(o3
, 0, o
);
100 target
= PySequence_Concat(o2
, o3
);
107 #if PYTHON_API_VERSION >= 1009
108 static char* wxStringErrorMsg
= "String or Unicode type required";
110 static char* wxStringErrorMsg
= "String type required";
113 static wxString
wxPyEmptyStr("");
115 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
118 wxRect
dest(0,0,0,0);
121 reg1
.Intersect(reg2
);
122 dest
= reg1
.GetBox();
124 if (dest
!= wxRect(0,0,0,0)) {
125 wxPyTState
* state
= wxPyBeginBlockThreads();
126 wxRect
* newRect
= new wxRect(dest
);
127 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
128 PyObject
* one
= PyInt_FromLong(1);
129 PyObject_SetAttrString(obj
, "thisown", one
);
131 wxPyEndBlockThreads(state
);
138 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
140 wxGetResource(section
, entry
, &retval
, file
);
144 #if 0 // we want to use the definition from the header, not the
145 // one SWIG will generate.
146 extern wxAcceleratorTable wxNullAcceleratorTable
;
152 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
158 PyObject
* _obj0
= 0;
160 PyObject
* _obj1
= 0;
161 char *_kwnames
[] = { "r1","r2", NULL
};
164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
168 if (! wxRect_helper(_obj0
, &_arg0
))
173 if (! wxRect_helper(_obj1
, &_arg1
))
177 wxPy_BEGIN_ALLOW_THREADS
;
178 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
180 wxPy_END_ALLOW_THREADS
;
181 if (PyErr_Occurred()) return NULL
;
183 _resultobj
= _result
;
188 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
189 PyObject
* _resultobj
;
191 char *_kwnames
[] = { NULL
};
194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
197 wxPy_BEGIN_ALLOW_THREADS
;
198 _result
= (long )wxNewId();
200 wxPy_END_ALLOW_THREADS
;
201 if (PyErr_Occurred()) return NULL
;
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 if (PyErr_Occurred()) return NULL
;
220 } Py_INCREF(Py_None
);
221 _resultobj
= Py_None
;
225 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
228 char *_kwnames
[] = { NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
234 wxPy_BEGIN_ALLOW_THREADS
;
235 _result
= (long )wxNewId();
237 wxPy_END_ALLOW_THREADS
;
238 if (PyErr_Occurred()) return NULL
;
239 } _resultobj
= Py_BuildValue("l",_result
);
243 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
246 char *_kwnames
[] = { "id", NULL
};
249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
252 wxPy_BEGIN_ALLOW_THREADS
;
255 wxPy_END_ALLOW_THREADS
;
256 if (PyErr_Occurred()) return NULL
;
257 } Py_INCREF(Py_None
);
258 _resultobj
= Py_None
;
262 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
263 PyObject
* _resultobj
;
265 char *_kwnames
[] = { NULL
};
268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
271 wxPy_BEGIN_ALLOW_THREADS
;
272 _result
= (long )wxGetCurrentId();
274 wxPy_END_ALLOW_THREADS
;
275 if (PyErr_Occurred()) return NULL
;
276 } _resultobj
= Py_BuildValue("l",_result
);
280 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
281 PyObject
* _resultobj
;
282 char *_kwnames
[] = { NULL
};
285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
288 wxPy_BEGIN_ALLOW_THREADS
;
291 wxPy_END_ALLOW_THREADS
;
292 if (PyErr_Occurred()) return NULL
;
293 } Py_INCREF(Py_None
);
294 _resultobj
= Py_None
;
298 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
299 PyObject
* _resultobj
;
300 char *_kwnames
[] = { NULL
};
303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
306 wxPy_BEGIN_ALLOW_THREADS
;
309 wxPy_END_ALLOW_THREADS
;
310 if (PyErr_Occurred()) return NULL
;
311 } Py_INCREF(Py_None
);
312 _resultobj
= Py_None
;
316 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
319 bool _arg0
= (bool ) TRUE
;
320 int tempbool0
= (int) TRUE
;
321 char *_kwnames
[] = { "resetTimer", NULL
};
324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
326 _arg0
= (bool ) tempbool0
;
328 wxPy_BEGIN_ALLOW_THREADS
;
329 _result
= (long )wxGetElapsedTime(_arg0
);
331 wxPy_END_ALLOW_THREADS
;
332 if (PyErr_Occurred()) return NULL
;
333 } _resultobj
= Py_BuildValue("l",_result
);
337 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
338 PyObject
* _resultobj
;
343 char *_kwnames
[] = { NULL
};
352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
355 wxPy_BEGIN_ALLOW_THREADS
;
356 wxGetMousePosition(_arg0
,_arg1
);
358 wxPy_END_ALLOW_THREADS
;
359 if (PyErr_Occurred()) return NULL
;
360 } Py_INCREF(Py_None
);
361 _resultobj
= Py_None
;
364 o
= PyInt_FromLong((long) (*_arg0
));
365 _resultobj
= t_output_helper(_resultobj
, o
);
369 o
= PyInt_FromLong((long) (*_arg1
));
370 _resultobj
= t_output_helper(_resultobj
, o
);
375 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
376 PyObject
* _resultobj
;
378 char *_kwnames
[] = { NULL
};
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
384 wxPy_BEGIN_ALLOW_THREADS
;
385 _result
= (bool )wxIsBusy();
387 wxPy_END_ALLOW_THREADS
;
388 if (PyErr_Occurred()) return NULL
;
389 } _resultobj
= Py_BuildValue("i",_result
);
393 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
394 PyObject
* _resultobj
;
396 char *_kwnames
[] = { NULL
};
399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
402 wxPy_BEGIN_ALLOW_THREADS
;
403 _result
= new wxString (wxNow());
405 wxPy_END_ALLOW_THREADS
;
406 if (PyErr_Occurred()) return NULL
;
408 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
416 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
417 PyObject
* _resultobj
;
419 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
420 PyObject
* _obj0
= 0;
421 char *_kwnames
[] = { "command", NULL
};
424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
428 #if PYTHON_API_VERSION >= 1009
429 char* tmpPtr
; int tmpSize
;
430 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
434 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
436 _arg0
= new wxString(tmpPtr
, tmpSize
);
438 if (!PyString_Check(_obj0
)) {
439 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
442 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
446 wxPy_BEGIN_ALLOW_THREADS
;
447 _result
= (bool )wxShell(*_arg0
);
449 wxPy_END_ALLOW_THREADS
;
450 if (PyErr_Occurred()) return NULL
;
451 } _resultobj
= Py_BuildValue("i",_result
);
459 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
461 char *_kwnames
[] = { NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
467 wxPy_BEGIN_ALLOW_THREADS
;
470 wxPy_END_ALLOW_THREADS
;
471 if (PyErr_Occurred()) return NULL
;
472 } Py_INCREF(Py_None
);
473 _resultobj
= Py_None
;
477 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
484 char *_kwnames
[] = { NULL
};
493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
496 wxPy_BEGIN_ALLOW_THREADS
;
497 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
499 wxPy_END_ALLOW_THREADS
;
500 if (PyErr_Occurred()) return NULL
;
501 } _resultobj
= Py_BuildValue("i",_result
);
504 o
= PyInt_FromLong((long) (*_arg0
));
505 _resultobj
= t_output_helper(_resultobj
, o
);
509 o
= PyInt_FromLong((long) (*_arg1
));
510 _resultobj
= t_output_helper(_resultobj
, o
);
515 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
516 PyObject
* _resultobj
;
518 char *_kwnames
[] = { NULL
};
521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
524 wxPy_BEGIN_ALLOW_THREADS
;
525 _result
= new wxString (wxGetOsDescription());
527 wxPy_END_ALLOW_THREADS
;
528 if (PyErr_Occurred()) return NULL
;
530 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
538 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
541 char *_kwnames
[] = { "secs", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
547 wxPy_BEGIN_ALLOW_THREADS
;
550 wxPy_END_ALLOW_THREADS
;
551 if (PyErr_Occurred()) return NULL
;
552 } Py_INCREF(Py_None
);
553 _resultobj
= Py_None
;
557 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
558 PyObject
* _resultobj
;
560 char *_kwnames
[] = { "milliseconds", NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
566 wxPy_BEGIN_ALLOW_THREADS
;
569 wxPy_END_ALLOW_THREADS
;
570 if (PyErr_Occurred()) return NULL
;
571 } Py_INCREF(Py_None
);
572 _resultobj
= Py_None
;
576 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
579 char *_kwnames
[] = { NULL
};
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
585 wxPy_BEGIN_ALLOW_THREADS
;
586 _result
= (bool )wxYield();
588 wxPy_END_ALLOW_THREADS
;
589 if (PyErr_Occurred()) return NULL
;
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 if (PyErr_Occurred()) return NULL
;
608 } _resultobj
= Py_BuildValue("i",_result
);
612 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
613 PyObject
* _resultobj
;
616 char *_kwnames
[] = { "enable", NULL
};
619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
621 _arg0
= (bool ) tempbool0
;
623 wxPy_BEGIN_ALLOW_THREADS
;
624 wxEnableTopLevelWindows(_arg0
);
626 wxPy_END_ALLOW_THREADS
;
627 if (PyErr_Occurred()) return NULL
;
628 } Py_INCREF(Py_None
);
629 _resultobj
= Py_None
;
633 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
634 PyObject
* _resultobj
;
638 char * _arg2
= (char *) NULL
;
639 char *_kwnames
[] = { "section","entry","file", NULL
};
642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
645 wxPy_BEGIN_ALLOW_THREADS
;
646 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
648 wxPy_END_ALLOW_THREADS
;
649 if (PyErr_Occurred()) return NULL
;
650 } _resultobj
= Py_BuildValue("s", _result
);
654 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
655 PyObject
* _resultobj
;
658 PyObject
* _obj0
= 0;
659 char *_kwnames
[] = { "in", NULL
};
662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
665 #if PYTHON_API_VERSION >= 1009
666 char* tmpPtr
; int tmpSize
;
667 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
668 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
671 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
673 _arg0
= new wxString(tmpPtr
, tmpSize
);
675 if (!PyString_Check(_obj0
)) {
676 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
679 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
683 wxPy_BEGIN_ALLOW_THREADS
;
684 _result
= new wxString (wxStripMenuCodes(*_arg0
));
686 wxPy_END_ALLOW_THREADS
;
687 if (PyErr_Occurred()) return NULL
;
689 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
701 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 PyObject
* _resultobj
;
704 char *_kwnames
[] = { NULL
};
707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
710 wxPy_BEGIN_ALLOW_THREADS
;
711 _result
= new wxString (wxGetEmailAddress());
713 wxPy_END_ALLOW_THREADS
;
714 if (PyErr_Occurred()) return NULL
;
716 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
724 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
727 char *_kwnames
[] = { NULL
};
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
733 wxPy_BEGIN_ALLOW_THREADS
;
734 _result
= new wxString (wxGetHostName());
736 wxPy_END_ALLOW_THREADS
;
737 if (PyErr_Occurred()) return NULL
;
739 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
747 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
748 PyObject
* _resultobj
;
750 char *_kwnames
[] = { NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
756 wxPy_BEGIN_ALLOW_THREADS
;
757 _result
= new wxString (wxGetFullHostName());
759 wxPy_END_ALLOW_THREADS
;
760 if (PyErr_Occurred()) return NULL
;
762 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
770 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
773 char *_kwnames
[] = { NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
779 wxPy_BEGIN_ALLOW_THREADS
;
780 _result
= new wxString (wxGetUserId());
782 wxPy_END_ALLOW_THREADS
;
783 if (PyErr_Occurred()) return NULL
;
785 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
793 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
794 PyObject
* _resultobj
;
796 char *_kwnames
[] = { NULL
};
799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
802 wxPy_BEGIN_ALLOW_THREADS
;
803 _result
= new wxString (wxGetUserName());
805 wxPy_END_ALLOW_THREADS
;
806 if (PyErr_Occurred()) return NULL
;
808 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
816 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
817 PyObject
* _resultobj
;
819 char *_kwnames
[] = { NULL
};
822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
825 wxPy_BEGIN_ALLOW_THREADS
;
826 _result
= new wxString (wxGetHomeDir());
828 wxPy_END_ALLOW_THREADS
;
829 if (PyErr_Occurred()) return NULL
;
831 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
839 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
841 wxAcceleratorEntry
* _result
;
843 PyObject
* _obj0
= 0;
844 char *_kwnames
[] = { "label", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
851 #if PYTHON_API_VERSION >= 1009
852 char* tmpPtr
; int tmpSize
;
853 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
857 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
859 _arg0
= new wxString(tmpPtr
, tmpSize
);
861 if (!PyString_Check(_obj0
)) {
862 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
865 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
869 wxPy_BEGIN_ALLOW_THREADS
;
870 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
872 wxPy_END_ALLOW_THREADS
;
873 if (PyErr_Occurred()) return NULL
;
875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
876 _resultobj
= Py_BuildValue("s",_ptemp
);
879 _resultobj
= Py_None
;
888 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
890 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
894 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
898 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
899 pyobj
= PyString_FromString(ptemp
);
903 static const char * wxObject_GetClassName(wxObject
*self
) {
904 return self
->GetClassInfo()->GetClassName();
906 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
910 PyObject
* _argo0
= 0;
911 char *_kwnames
[] = { "self", NULL
};
914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
924 wxPy_BEGIN_ALLOW_THREADS
;
925 _result
= (char *)wxObject_GetClassName(_arg0
);
927 wxPy_END_ALLOW_THREADS
;
928 if (PyErr_Occurred()) return NULL
;
929 } _resultobj
= Py_BuildValue("s", _result
);
933 static void wxObject_Destroy(wxObject
*self
) {
936 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
939 PyObject
* _argo0
= 0;
940 char *_kwnames
[] = { "self", NULL
};
943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
953 wxPy_BEGIN_ALLOW_THREADS
;
954 wxObject_Destroy(_arg0
);
956 wxPy_END_ALLOW_THREADS
;
957 if (PyErr_Occurred()) return NULL
;
958 } Py_INCREF(Py_None
);
959 _resultobj
= Py_None
;
963 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
964 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
965 PyObject
* _resultobj
;
970 PyObject
* _obj0
= 0;
971 char *_kwnames
[] = { "self","x", NULL
};
974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
978 if (! wxSize_helper(_obj0
, &_arg0
))
982 wxPy_BEGIN_ALLOW_THREADS
;
983 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
985 wxPy_END_ALLOW_THREADS
;
986 if (PyErr_Occurred()) return NULL
;
987 } _resultobj
= Py_BuildValue("l",_result
);
991 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
992 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
997 PyObject
* _obj0
= 0;
998 char *_kwnames
[] = { "self", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1005 if (! wxSize_helper(_obj0
, &_arg0
))
1009 wxPy_BEGIN_ALLOW_THREADS
;
1010 _result
= (long )wxSize_x_get(_arg0
);
1012 wxPy_END_ALLOW_THREADS
;
1013 if (PyErr_Occurred()) return NULL
;
1014 } _resultobj
= Py_BuildValue("l",_result
);
1018 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1019 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1025 PyObject
* _obj0
= 0;
1026 char *_kwnames
[] = { "self","y", NULL
};
1029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1033 if (! wxSize_helper(_obj0
, &_arg0
))
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1040 wxPy_END_ALLOW_THREADS
;
1041 if (PyErr_Occurred()) return NULL
;
1042 } _resultobj
= Py_BuildValue("l",_result
);
1046 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1047 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
* _resultobj
;
1052 PyObject
* _obj0
= 0;
1053 char *_kwnames
[] = { "self", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1060 if (! wxSize_helper(_obj0
, &_arg0
))
1064 wxPy_BEGIN_ALLOW_THREADS
;
1065 _result
= (long )wxSize_y_get(_arg0
);
1067 wxPy_END_ALLOW_THREADS
;
1068 if (PyErr_Occurred()) return NULL
;
1069 } _resultobj
= Py_BuildValue("l",_result
);
1073 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1074 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
* _resultobj
;
1077 long _arg0
= (long ) 0;
1078 long _arg1
= (long ) 0;
1079 char *_kwnames
[] = { "w","h", NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1086 wxPy_BEGIN_ALLOW_THREADS
;
1087 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1089 wxPy_END_ALLOW_THREADS
;
1090 if (PyErr_Occurred()) return NULL
;
1092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1093 _resultobj
= Py_BuildValue("s",_ptemp
);
1096 _resultobj
= Py_None
;
1101 #define delete_wxSize(_swigobj) (delete _swigobj)
1102 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1103 PyObject
* _resultobj
;
1106 PyObject
* _obj0
= 0;
1107 char *_kwnames
[] = { "self", NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1114 if (! wxSize_helper(_obj0
, &_arg0
))
1118 wxPy_BEGIN_ALLOW_THREADS
;
1119 delete_wxSize(_arg0
);
1121 wxPy_END_ALLOW_THREADS
;
1122 if (PyErr_Occurred()) return NULL
;
1123 } Py_INCREF(Py_None
);
1124 _resultobj
= Py_None
;
1128 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1129 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1135 PyObject
* _obj0
= 0;
1136 char *_kwnames
[] = { "self","w","h", NULL
};
1139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1143 if (! wxSize_helper(_obj0
, &_arg0
))
1147 wxPy_BEGIN_ALLOW_THREADS
;
1148 wxSize_Set(_arg0
,_arg1
,_arg2
);
1150 wxPy_END_ALLOW_THREADS
;
1151 if (PyErr_Occurred()) return NULL
;
1152 } Py_INCREF(Py_None
);
1153 _resultobj
= Py_None
;
1157 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1158 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1163 PyObject
* _obj0
= 0;
1164 char *_kwnames
[] = { "self", NULL
};
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1171 if (! wxSize_helper(_obj0
, &_arg0
))
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= (long )wxSize_GetX(_arg0
);
1178 wxPy_END_ALLOW_THREADS
;
1179 if (PyErr_Occurred()) return NULL
;
1180 } _resultobj
= Py_BuildValue("l",_result
);
1184 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1185 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1190 PyObject
* _obj0
= 0;
1191 char *_kwnames
[] = { "self", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1198 if (! wxSize_helper(_obj0
, &_arg0
))
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= (long )wxSize_GetY(_arg0
);
1205 wxPy_END_ALLOW_THREADS
;
1206 if (PyErr_Occurred()) return NULL
;
1207 } _resultobj
= Py_BuildValue("l",_result
);
1211 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1212 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1213 PyObject
* _resultobj
;
1217 PyObject
* _obj0
= 0;
1218 char *_kwnames
[] = { "self", NULL
};
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1225 if (! wxSize_helper(_obj0
, &_arg0
))
1229 wxPy_BEGIN_ALLOW_THREADS
;
1230 _result
= (long )wxSize_GetWidth(_arg0
);
1232 wxPy_END_ALLOW_THREADS
;
1233 if (PyErr_Occurred()) return NULL
;
1234 } _resultobj
= Py_BuildValue("l",_result
);
1238 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1239 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
* _resultobj
;
1244 PyObject
* _obj0
= 0;
1245 char *_kwnames
[] = { "self", NULL
};
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1252 if (! wxSize_helper(_obj0
, &_arg0
))
1256 wxPy_BEGIN_ALLOW_THREADS
;
1257 _result
= (long )wxSize_GetHeight(_arg0
);
1259 wxPy_END_ALLOW_THREADS
;
1260 if (PyErr_Occurred()) return NULL
;
1261 } _resultobj
= Py_BuildValue("l",_result
);
1265 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1266 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
* _resultobj
;
1271 PyObject
* _obj0
= 0;
1272 char *_kwnames
[] = { "self","w", NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1279 if (! wxSize_helper(_obj0
, &_arg0
))
1283 wxPy_BEGIN_ALLOW_THREADS
;
1284 wxSize_SetWidth(_arg0
,_arg1
);
1286 wxPy_END_ALLOW_THREADS
;
1287 if (PyErr_Occurred()) return NULL
;
1288 } Py_INCREF(Py_None
);
1289 _resultobj
= Py_None
;
1293 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1294 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1299 PyObject
* _obj0
= 0;
1300 char *_kwnames
[] = { "self","h", NULL
};
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1307 if (! wxSize_helper(_obj0
, &_arg0
))
1311 wxPy_BEGIN_ALLOW_THREADS
;
1312 wxSize_SetHeight(_arg0
,_arg1
);
1314 wxPy_END_ALLOW_THREADS
;
1315 if (PyErr_Occurred()) return NULL
;
1316 } Py_INCREF(Py_None
);
1317 _resultobj
= Py_None
;
1321 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1322 PyObject
* tup
= PyTuple_New(2);
1323 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1324 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1327 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
* _resultobj
;
1332 PyObject
* _obj0
= 0;
1333 char *_kwnames
[] = { "self", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1340 if (! wxSize_helper(_obj0
, &_arg0
))
1344 wxPy_BEGIN_ALLOW_THREADS
;
1345 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1347 wxPy_END_ALLOW_THREADS
;
1348 if (PyErr_Occurred()) return NULL
;
1350 _resultobj
= _result
;
1355 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1357 if (*self
== *sz
) return 0;
1360 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1366 PyObject
* _obj0
= 0;
1368 PyObject
* _obj1
= 0;
1369 char *_kwnames
[] = { "self","sz", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1376 if (! wxSize_helper(_obj0
, &_arg0
))
1381 if (! wxSize_helper(_obj1
, &_arg1
))
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1388 wxPy_END_ALLOW_THREADS
;
1389 if (PyErr_Occurred()) return NULL
;
1390 } _resultobj
= Py_BuildValue("i",_result
);
1394 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1395 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1398 wxRealPoint
* _arg0
;
1401 PyObject
* _obj0
= 0;
1402 char *_kwnames
[] = { "self","x", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1409 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1416 wxPy_END_ALLOW_THREADS
;
1417 if (PyErr_Occurred()) return NULL
;
1418 } _resultobj
= Py_BuildValue("d",_result
);
1422 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1423 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1426 wxRealPoint
* _arg0
;
1428 PyObject
* _obj0
= 0;
1429 char *_kwnames
[] = { "self", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1436 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 _result
= (double )wxRealPoint_x_get(_arg0
);
1443 wxPy_END_ALLOW_THREADS
;
1444 if (PyErr_Occurred()) return NULL
;
1445 } _resultobj
= Py_BuildValue("d",_result
);
1449 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1450 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1453 wxRealPoint
* _arg0
;
1456 PyObject
* _obj0
= 0;
1457 char *_kwnames
[] = { "self","y", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1464 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1468 wxPy_BEGIN_ALLOW_THREADS
;
1469 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1471 wxPy_END_ALLOW_THREADS
;
1472 if (PyErr_Occurred()) return NULL
;
1473 } _resultobj
= Py_BuildValue("d",_result
);
1477 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1478 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1481 wxRealPoint
* _arg0
;
1483 PyObject
* _obj0
= 0;
1484 char *_kwnames
[] = { "self", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1491 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1495 wxPy_BEGIN_ALLOW_THREADS
;
1496 _result
= (double )wxRealPoint_y_get(_arg0
);
1498 wxPy_END_ALLOW_THREADS
;
1499 if (PyErr_Occurred()) return NULL
;
1500 } _resultobj
= Py_BuildValue("d",_result
);
1504 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1505 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1507 wxRealPoint
* _result
;
1508 double _arg0
= (double ) 0.0;
1509 double _arg1
= (double ) 0.0;
1510 char *_kwnames
[] = { "x","y", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1517 wxPy_BEGIN_ALLOW_THREADS
;
1518 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1520 wxPy_END_ALLOW_THREADS
;
1521 if (PyErr_Occurred()) return NULL
;
1523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1524 _resultobj
= Py_BuildValue("s",_ptemp
);
1527 _resultobj
= Py_None
;
1532 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1533 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1535 wxRealPoint
* _arg0
;
1537 PyObject
* _obj0
= 0;
1538 char *_kwnames
[] = { "self", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1545 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 delete_wxRealPoint(_arg0
);
1552 wxPy_END_ALLOW_THREADS
;
1553 if (PyErr_Occurred()) return NULL
;
1554 } Py_INCREF(Py_None
);
1555 _resultobj
= Py_None
;
1559 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1563 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1565 wxRealPoint
* _arg0
;
1569 PyObject
* _obj0
= 0;
1570 char *_kwnames
[] = { "self","x","y", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1577 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1581 wxPy_BEGIN_ALLOW_THREADS
;
1582 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1584 wxPy_END_ALLOW_THREADS
;
1585 if (PyErr_Occurred()) return NULL
;
1586 } Py_INCREF(Py_None
);
1587 _resultobj
= Py_None
;
1591 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1592 PyObject
* tup
= PyTuple_New(2);
1593 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1594 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1597 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
* _resultobj
;
1600 wxRealPoint
* _arg0
;
1602 PyObject
* _obj0
= 0;
1603 char *_kwnames
[] = { "self", NULL
};
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1610 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1614 wxPy_BEGIN_ALLOW_THREADS
;
1615 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1617 wxPy_END_ALLOW_THREADS
;
1618 if (PyErr_Occurred()) return NULL
;
1620 _resultobj
= _result
;
1625 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1626 if (! p
) return *self
;
1629 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1631 wxRealPoint
* _result
;
1632 wxRealPoint
* _arg0
;
1633 wxRealPoint
* _arg1
;
1635 PyObject
* _obj0
= 0;
1637 PyObject
* _obj1
= 0;
1638 char *_kwnames
[] = { "self","p", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1646 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1651 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1655 wxPy_BEGIN_ALLOW_THREADS
;
1656 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1658 wxPy_END_ALLOW_THREADS
;
1659 if (PyErr_Occurred()) return NULL
;
1660 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1661 _resultobj
= Py_BuildValue("s",_ptemp
);
1665 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1666 if (! p
) return *self
;
1669 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1671 wxRealPoint
* _result
;
1672 wxRealPoint
* _arg0
;
1673 wxRealPoint
* _arg1
;
1675 PyObject
* _obj0
= 0;
1677 PyObject
* _obj1
= 0;
1678 char *_kwnames
[] = { "self","p", NULL
};
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1686 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1691 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1695 wxPy_BEGIN_ALLOW_THREADS
;
1696 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1698 wxPy_END_ALLOW_THREADS
;
1699 if (PyErr_Occurred()) return NULL
;
1700 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1701 _resultobj
= Py_BuildValue("s",_ptemp
);
1705 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1707 if (*self
== *p
) return 0;
1710 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
* _resultobj
;
1713 wxRealPoint
* _arg0
;
1714 wxRealPoint
* _arg1
;
1716 PyObject
* _obj0
= 0;
1718 PyObject
* _obj1
= 0;
1719 char *_kwnames
[] = { "self","p", NULL
};
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1726 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1731 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1735 wxPy_BEGIN_ALLOW_THREADS
;
1736 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1738 wxPy_END_ALLOW_THREADS
;
1739 if (PyErr_Occurred()) return NULL
;
1740 } _resultobj
= Py_BuildValue("i",_result
);
1744 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1745 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1751 PyObject
* _obj0
= 0;
1752 char *_kwnames
[] = { "self","x", NULL
};
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1759 if (! wxPoint_helper(_obj0
, &_arg0
))
1763 wxPy_BEGIN_ALLOW_THREADS
;
1764 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1766 wxPy_END_ALLOW_THREADS
;
1767 if (PyErr_Occurred()) return NULL
;
1768 } _resultobj
= Py_BuildValue("l",_result
);
1772 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1773 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1778 PyObject
* _obj0
= 0;
1779 char *_kwnames
[] = { "self", NULL
};
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1786 if (! wxPoint_helper(_obj0
, &_arg0
))
1790 wxPy_BEGIN_ALLOW_THREADS
;
1791 _result
= (long )wxPoint_x_get(_arg0
);
1793 wxPy_END_ALLOW_THREADS
;
1794 if (PyErr_Occurred()) return NULL
;
1795 } _resultobj
= Py_BuildValue("l",_result
);
1799 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1800 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1806 PyObject
* _obj0
= 0;
1807 char *_kwnames
[] = { "self","y", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1814 if (! wxPoint_helper(_obj0
, &_arg0
))
1818 wxPy_BEGIN_ALLOW_THREADS
;
1819 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1821 wxPy_END_ALLOW_THREADS
;
1822 if (PyErr_Occurred()) return NULL
;
1823 } _resultobj
= Py_BuildValue("l",_result
);
1827 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1828 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1833 PyObject
* _obj0
= 0;
1834 char *_kwnames
[] = { "self", NULL
};
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1841 if (! wxPoint_helper(_obj0
, &_arg0
))
1845 wxPy_BEGIN_ALLOW_THREADS
;
1846 _result
= (long )wxPoint_y_get(_arg0
);
1848 wxPy_END_ALLOW_THREADS
;
1849 if (PyErr_Occurred()) return NULL
;
1850 } _resultobj
= Py_BuildValue("l",_result
);
1854 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1855 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1858 long _arg0
= (long ) 0;
1859 long _arg1
= (long ) 0;
1860 char *_kwnames
[] = { "x","y", NULL
};
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1867 wxPy_BEGIN_ALLOW_THREADS
;
1868 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1870 wxPy_END_ALLOW_THREADS
;
1871 if (PyErr_Occurred()) return NULL
;
1873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1874 _resultobj
= Py_BuildValue("s",_ptemp
);
1877 _resultobj
= Py_None
;
1882 #define delete_wxPoint(_swigobj) (delete _swigobj)
1883 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
* _resultobj
;
1887 PyObject
* _obj0
= 0;
1888 char *_kwnames
[] = { "self", NULL
};
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1895 if (! wxPoint_helper(_obj0
, &_arg0
))
1899 wxPy_BEGIN_ALLOW_THREADS
;
1900 delete_wxPoint(_arg0
);
1902 wxPy_END_ALLOW_THREADS
;
1903 if (PyErr_Occurred()) return NULL
;
1904 } Py_INCREF(Py_None
);
1905 _resultobj
= Py_None
;
1909 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1913 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1919 PyObject
* _obj0
= 0;
1920 char *_kwnames
[] = { "self","x","y", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1927 if (! wxPoint_helper(_obj0
, &_arg0
))
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1934 wxPy_END_ALLOW_THREADS
;
1935 if (PyErr_Occurred()) return NULL
;
1936 } Py_INCREF(Py_None
);
1937 _resultobj
= Py_None
;
1941 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1942 PyObject
* tup
= PyTuple_New(2);
1943 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1944 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1947 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
* _resultobj
;
1952 PyObject
* _obj0
= 0;
1953 char *_kwnames
[] = { "self", NULL
};
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1960 if (! wxPoint_helper(_obj0
, &_arg0
))
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1967 wxPy_END_ALLOW_THREADS
;
1968 if (PyErr_Occurred()) return NULL
;
1970 _resultobj
= _result
;
1975 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1976 if (! p
) return *self
;
1979 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1985 PyObject
* _obj0
= 0;
1987 PyObject
* _obj1
= 0;
1988 char *_kwnames
[] = { "self","p", NULL
};
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1996 if (! wxPoint_helper(_obj0
, &_arg0
))
2001 if (! wxPoint_helper(_obj1
, &_arg1
))
2005 wxPy_BEGIN_ALLOW_THREADS
;
2006 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2008 wxPy_END_ALLOW_THREADS
;
2009 if (PyErr_Occurred()) return NULL
;
2010 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2011 _resultobj
= Py_BuildValue("s",_ptemp
);
2015 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2016 if (! p
) return *self
;
2019 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2020 PyObject
* _resultobj
;
2025 PyObject
* _obj0
= 0;
2027 PyObject
* _obj1
= 0;
2028 char *_kwnames
[] = { "self","p", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2036 if (! wxPoint_helper(_obj0
, &_arg0
))
2041 if (! wxPoint_helper(_obj1
, &_arg1
))
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2048 wxPy_END_ALLOW_THREADS
;
2049 if (PyErr_Occurred()) return NULL
;
2050 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2051 _resultobj
= Py_BuildValue("s",_ptemp
);
2055 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2057 if (*self
== *p
) return 0;
2060 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2066 PyObject
* _obj0
= 0;
2068 PyObject
* _obj1
= 0;
2069 char *_kwnames
[] = { "self","p", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2076 if (! wxPoint_helper(_obj0
, &_arg0
))
2081 if (! wxPoint_helper(_obj1
, &_arg1
))
2085 wxPy_BEGIN_ALLOW_THREADS
;
2086 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2088 wxPy_END_ALLOW_THREADS
;
2089 if (PyErr_Occurred()) return NULL
;
2090 } _resultobj
= Py_BuildValue("i",_result
);
2094 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2095 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
* _resultobj
;
2098 int _arg0
= (int ) 0;
2099 int _arg1
= (int ) 0;
2100 int _arg2
= (int ) 0;
2101 int _arg3
= (int ) 0;
2102 char *_kwnames
[] = { "x","y","w","h", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2109 wxPy_BEGIN_ALLOW_THREADS
;
2110 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2112 wxPy_END_ALLOW_THREADS
;
2113 if (PyErr_Occurred()) return NULL
;
2115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2116 _resultobj
= Py_BuildValue("s",_ptemp
);
2119 _resultobj
= Py_None
;
2124 #define delete_wxRect(_swigobj) (delete _swigobj)
2125 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2129 PyObject
* _obj0
= 0;
2130 char *_kwnames
[] = { "self", NULL
};
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2137 if (! wxRect_helper(_obj0
, &_arg0
))
2141 wxPy_BEGIN_ALLOW_THREADS
;
2142 delete_wxRect(_arg0
);
2144 wxPy_END_ALLOW_THREADS
;
2145 if (PyErr_Occurred()) return NULL
;
2146 } Py_INCREF(Py_None
);
2147 _resultobj
= Py_None
;
2151 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2152 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
* _resultobj
;
2157 PyObject
* _obj0
= 0;
2158 char *_kwnames
[] = { "self", NULL
};
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2165 if (! wxRect_helper(_obj0
, &_arg0
))
2169 wxPy_BEGIN_ALLOW_THREADS
;
2170 _result
= (int )wxRect_GetX(_arg0
);
2172 wxPy_END_ALLOW_THREADS
;
2173 if (PyErr_Occurred()) return NULL
;
2174 } _resultobj
= Py_BuildValue("i",_result
);
2178 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2179 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2184 PyObject
* _obj0
= 0;
2185 char *_kwnames
[] = { "self","X", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2192 if (! wxRect_helper(_obj0
, &_arg0
))
2196 wxPy_BEGIN_ALLOW_THREADS
;
2197 wxRect_SetX(_arg0
,_arg1
);
2199 wxPy_END_ALLOW_THREADS
;
2200 if (PyErr_Occurred()) return NULL
;
2201 } Py_INCREF(Py_None
);
2202 _resultobj
= Py_None
;
2206 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2207 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
* _resultobj
;
2212 PyObject
* _obj0
= 0;
2213 char *_kwnames
[] = { "self", NULL
};
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2220 if (! wxRect_helper(_obj0
, &_arg0
))
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 _result
= (int )wxRect_GetY(_arg0
);
2227 wxPy_END_ALLOW_THREADS
;
2228 if (PyErr_Occurred()) return NULL
;
2229 } _resultobj
= Py_BuildValue("i",_result
);
2233 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2234 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
* _resultobj
;
2239 PyObject
* _obj0
= 0;
2240 char *_kwnames
[] = { "self","Y", NULL
};
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2247 if (! wxRect_helper(_obj0
, &_arg0
))
2251 wxPy_BEGIN_ALLOW_THREADS
;
2252 wxRect_SetY(_arg0
,_arg1
);
2254 wxPy_END_ALLOW_THREADS
;
2255 if (PyErr_Occurred()) return NULL
;
2256 } Py_INCREF(Py_None
);
2257 _resultobj
= Py_None
;
2261 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2262 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2267 PyObject
* _obj0
= 0;
2268 char *_kwnames
[] = { "self", NULL
};
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2275 if (! wxRect_helper(_obj0
, &_arg0
))
2279 wxPy_BEGIN_ALLOW_THREADS
;
2280 _result
= (int )wxRect_GetWidth(_arg0
);
2282 wxPy_END_ALLOW_THREADS
;
2283 if (PyErr_Occurred()) return NULL
;
2284 } _resultobj
= Py_BuildValue("i",_result
);
2288 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2289 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
* _resultobj
;
2294 PyObject
* _obj0
= 0;
2295 char *_kwnames
[] = { "self","w", NULL
};
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2302 if (! wxRect_helper(_obj0
, &_arg0
))
2306 wxPy_BEGIN_ALLOW_THREADS
;
2307 wxRect_SetWidth(_arg0
,_arg1
);
2309 wxPy_END_ALLOW_THREADS
;
2310 if (PyErr_Occurred()) return NULL
;
2311 } Py_INCREF(Py_None
);
2312 _resultobj
= Py_None
;
2316 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2317 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2318 PyObject
* _resultobj
;
2322 PyObject
* _obj0
= 0;
2323 char *_kwnames
[] = { "self", NULL
};
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2330 if (! wxRect_helper(_obj0
, &_arg0
))
2334 wxPy_BEGIN_ALLOW_THREADS
;
2335 _result
= (int )wxRect_GetHeight(_arg0
);
2337 wxPy_END_ALLOW_THREADS
;
2338 if (PyErr_Occurred()) return NULL
;
2339 } _resultobj
= Py_BuildValue("i",_result
);
2343 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2344 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2349 PyObject
* _obj0
= 0;
2350 char *_kwnames
[] = { "self","h", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2357 if (! wxRect_helper(_obj0
, &_arg0
))
2361 wxPy_BEGIN_ALLOW_THREADS
;
2362 wxRect_SetHeight(_arg0
,_arg1
);
2364 wxPy_END_ALLOW_THREADS
;
2365 if (PyErr_Occurred()) return NULL
;
2366 } Py_INCREF(Py_None
);
2367 _resultobj
= Py_None
;
2371 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2372 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2377 PyObject
* _obj0
= 0;
2378 char *_kwnames
[] = { "self", NULL
};
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2386 if (! wxRect_helper(_obj0
, &_arg0
))
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2393 wxPy_END_ALLOW_THREADS
;
2394 if (PyErr_Occurred()) return NULL
;
2395 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2396 _resultobj
= Py_BuildValue("s",_ptemp
);
2400 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2401 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2406 PyObject
* _obj0
= 0;
2407 char *_kwnames
[] = { "self", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2415 if (! wxRect_helper(_obj0
, &_arg0
))
2419 wxPy_BEGIN_ALLOW_THREADS
;
2420 _result
= new wxSize (wxRect_GetSize(_arg0
));
2422 wxPy_END_ALLOW_THREADS
;
2423 if (PyErr_Occurred()) return NULL
;
2424 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2425 _resultobj
= Py_BuildValue("s",_ptemp
);
2429 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2430 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
* _resultobj
;
2435 PyObject
* _obj0
= 0;
2436 char *_kwnames
[] = { "self", NULL
};
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2443 if (! wxRect_helper(_obj0
, &_arg0
))
2447 wxPy_BEGIN_ALLOW_THREADS
;
2448 _result
= (int )wxRect_GetLeft(_arg0
);
2450 wxPy_END_ALLOW_THREADS
;
2451 if (PyErr_Occurred()) return NULL
;
2452 } _resultobj
= Py_BuildValue("i",_result
);
2456 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2457 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2462 PyObject
* _obj0
= 0;
2463 char *_kwnames
[] = { "self", NULL
};
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2470 if (! wxRect_helper(_obj0
, &_arg0
))
2474 wxPy_BEGIN_ALLOW_THREADS
;
2475 _result
= (int )wxRect_GetTop(_arg0
);
2477 wxPy_END_ALLOW_THREADS
;
2478 if (PyErr_Occurred()) return NULL
;
2479 } _resultobj
= Py_BuildValue("i",_result
);
2483 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2484 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
* _resultobj
;
2489 PyObject
* _obj0
= 0;
2490 char *_kwnames
[] = { "self", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2497 if (! wxRect_helper(_obj0
, &_arg0
))
2501 wxPy_BEGIN_ALLOW_THREADS
;
2502 _result
= (int )wxRect_GetBottom(_arg0
);
2504 wxPy_END_ALLOW_THREADS
;
2505 if (PyErr_Occurred()) return NULL
;
2506 } _resultobj
= Py_BuildValue("i",_result
);
2510 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2511 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2516 PyObject
* _obj0
= 0;
2517 char *_kwnames
[] = { "self", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2524 if (! wxRect_helper(_obj0
, &_arg0
))
2528 wxPy_BEGIN_ALLOW_THREADS
;
2529 _result
= (int )wxRect_GetRight(_arg0
);
2531 wxPy_END_ALLOW_THREADS
;
2532 if (PyErr_Occurred()) return NULL
;
2533 } _resultobj
= Py_BuildValue("i",_result
);
2537 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2538 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2539 PyObject
* _resultobj
;
2543 PyObject
* _obj0
= 0;
2544 char *_kwnames
[] = { "self","left", NULL
};
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2551 if (! wxRect_helper(_obj0
, &_arg0
))
2555 wxPy_BEGIN_ALLOW_THREADS
;
2556 wxRect_SetLeft(_arg0
,_arg1
);
2558 wxPy_END_ALLOW_THREADS
;
2559 if (PyErr_Occurred()) return NULL
;
2560 } Py_INCREF(Py_None
);
2561 _resultobj
= Py_None
;
2565 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2566 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
* _resultobj
;
2571 PyObject
* _obj0
= 0;
2572 char *_kwnames
[] = { "self","right", NULL
};
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2579 if (! wxRect_helper(_obj0
, &_arg0
))
2583 wxPy_BEGIN_ALLOW_THREADS
;
2584 wxRect_SetRight(_arg0
,_arg1
);
2586 wxPy_END_ALLOW_THREADS
;
2587 if (PyErr_Occurred()) return NULL
;
2588 } Py_INCREF(Py_None
);
2589 _resultobj
= Py_None
;
2593 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2594 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
* _resultobj
;
2599 PyObject
* _obj0
= 0;
2600 char *_kwnames
[] = { "self","top", NULL
};
2603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2607 if (! wxRect_helper(_obj0
, &_arg0
))
2611 wxPy_BEGIN_ALLOW_THREADS
;
2612 wxRect_SetTop(_arg0
,_arg1
);
2614 wxPy_END_ALLOW_THREADS
;
2615 if (PyErr_Occurred()) return NULL
;
2616 } Py_INCREF(Py_None
);
2617 _resultobj
= Py_None
;
2621 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2622 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
* _resultobj
;
2627 PyObject
* _obj0
= 0;
2628 char *_kwnames
[] = { "self","bottom", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2635 if (! wxRect_helper(_obj0
, &_arg0
))
2639 wxPy_BEGIN_ALLOW_THREADS
;
2640 wxRect_SetBottom(_arg0
,_arg1
);
2642 wxPy_END_ALLOW_THREADS
;
2643 if (PyErr_Occurred()) return NULL
;
2644 } Py_INCREF(Py_None
);
2645 _resultobj
= Py_None
;
2649 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2650 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
* _resultobj
;
2656 PyObject
* _obj0
= 0;
2657 char *_kwnames
[] = { "self","dx","dy", NULL
};
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2664 if (! wxRect_helper(_obj0
, &_arg0
))
2668 wxPy_BEGIN_ALLOW_THREADS
;
2669 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2671 wxPy_END_ALLOW_THREADS
;
2672 if (PyErr_Occurred()) return NULL
;
2673 } Py_INCREF(Py_None
);
2674 _resultobj
= Py_None
;
2678 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2679 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
* _resultobj
;
2686 PyObject
* _obj0
= 0;
2687 char *_kwnames
[] = { "self","cx","cy", NULL
};
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2694 if (! wxRect_helper(_obj0
, &_arg0
))
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2701 wxPy_END_ALLOW_THREADS
;
2702 if (PyErr_Occurred()) return NULL
;
2703 } _resultobj
= Py_BuildValue("i",_result
);
2707 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2708 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2714 PyObject
* _obj0
= 0;
2715 char *_kwnames
[] = { "self","x", NULL
};
2718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2722 if (! wxRect_helper(_obj0
, &_arg0
))
2726 wxPy_BEGIN_ALLOW_THREADS
;
2727 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2729 wxPy_END_ALLOW_THREADS
;
2730 if (PyErr_Occurred()) return NULL
;
2731 } _resultobj
= Py_BuildValue("i",_result
);
2735 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2736 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2741 PyObject
* _obj0
= 0;
2742 char *_kwnames
[] = { "self", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2749 if (! wxRect_helper(_obj0
, &_arg0
))
2753 wxPy_BEGIN_ALLOW_THREADS
;
2754 _result
= (int )wxRect_x_get(_arg0
);
2756 wxPy_END_ALLOW_THREADS
;
2757 if (PyErr_Occurred()) return NULL
;
2758 } _resultobj
= Py_BuildValue("i",_result
);
2762 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2763 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
* _resultobj
;
2769 PyObject
* _obj0
= 0;
2770 char *_kwnames
[] = { "self","y", NULL
};
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2777 if (! wxRect_helper(_obj0
, &_arg0
))
2781 wxPy_BEGIN_ALLOW_THREADS
;
2782 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2784 wxPy_END_ALLOW_THREADS
;
2785 if (PyErr_Occurred()) return NULL
;
2786 } _resultobj
= Py_BuildValue("i",_result
);
2790 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2791 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2796 PyObject
* _obj0
= 0;
2797 char *_kwnames
[] = { "self", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2804 if (! wxRect_helper(_obj0
, &_arg0
))
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 _result
= (int )wxRect_y_get(_arg0
);
2811 wxPy_END_ALLOW_THREADS
;
2812 if (PyErr_Occurred()) return NULL
;
2813 } _resultobj
= Py_BuildValue("i",_result
);
2817 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2818 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
* _resultobj
;
2824 PyObject
* _obj0
= 0;
2825 char *_kwnames
[] = { "self","width", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2832 if (! wxRect_helper(_obj0
, &_arg0
))
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2839 wxPy_END_ALLOW_THREADS
;
2840 if (PyErr_Occurred()) return NULL
;
2841 } _resultobj
= Py_BuildValue("i",_result
);
2845 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2846 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2851 PyObject
* _obj0
= 0;
2852 char *_kwnames
[] = { "self", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2859 if (! wxRect_helper(_obj0
, &_arg0
))
2863 wxPy_BEGIN_ALLOW_THREADS
;
2864 _result
= (int )wxRect_width_get(_arg0
);
2866 wxPy_END_ALLOW_THREADS
;
2867 if (PyErr_Occurred()) return NULL
;
2868 } _resultobj
= Py_BuildValue("i",_result
);
2872 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2873 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2879 PyObject
* _obj0
= 0;
2880 char *_kwnames
[] = { "self","height", NULL
};
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2887 if (! wxRect_helper(_obj0
, &_arg0
))
2891 wxPy_BEGIN_ALLOW_THREADS
;
2892 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2894 wxPy_END_ALLOW_THREADS
;
2895 if (PyErr_Occurred()) return NULL
;
2896 } _resultobj
= Py_BuildValue("i",_result
);
2900 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2901 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
* _resultobj
;
2906 PyObject
* _obj0
= 0;
2907 char *_kwnames
[] = { "self", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2914 if (! wxRect_helper(_obj0
, &_arg0
))
2918 wxPy_BEGIN_ALLOW_THREADS
;
2919 _result
= (int )wxRect_height_get(_arg0
);
2921 wxPy_END_ALLOW_THREADS
;
2922 if (PyErr_Occurred()) return NULL
;
2923 } _resultobj
= Py_BuildValue("i",_result
);
2927 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2928 PyObject
* tup
= PyTuple_New(4);
2929 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2930 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2931 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2932 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2935 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
* _resultobj
;
2940 PyObject
* _obj0
= 0;
2941 char *_kwnames
[] = { "self", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2948 if (! wxRect_helper(_obj0
, &_arg0
))
2952 wxPy_BEGIN_ALLOW_THREADS
;
2953 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2955 wxPy_END_ALLOW_THREADS
;
2956 if (PyErr_Occurred()) return NULL
;
2958 _resultobj
= _result
;
2963 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2964 if (! rect
) return *self
;
2965 return *self
+ *rect
;
2967 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2973 PyObject
* _obj0
= 0;
2975 PyObject
* _obj1
= 0;
2976 char *_kwnames
[] = { "self","rect", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2984 if (! wxRect_helper(_obj0
, &_arg0
))
2989 if (! wxRect_helper(_obj1
, &_arg1
))
2993 wxPy_BEGIN_ALLOW_THREADS
;
2994 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
2996 wxPy_END_ALLOW_THREADS
;
2997 if (PyErr_Occurred()) return NULL
;
2998 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
2999 _resultobj
= Py_BuildValue("s",_ptemp
);
3003 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3004 if (! rect
) return 1;
3005 if (*self
== *rect
) return 0;
3008 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3014 PyObject
* _obj0
= 0;
3016 PyObject
* _obj1
= 0;
3017 char *_kwnames
[] = { "self","rect", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3024 if (! wxRect_helper(_obj0
, &_arg0
))
3029 if (! wxRect_helper(_obj1
, &_arg1
))
3033 wxPy_BEGIN_ALLOW_THREADS
;
3034 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3036 wxPy_END_ALLOW_THREADS
;
3037 if (PyErr_Occurred()) return NULL
;
3038 } _resultobj
= Py_BuildValue("i",_result
);
3042 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3043 wxIndividualLayoutConstraint
*src
;
3045 src
= (wxIndividualLayoutConstraint
*) ptr
;
3046 dest
= (wxObject
*) src
;
3047 return (void *) dest
;
3050 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3051 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3053 wxIndividualLayoutConstraint
* _arg0
;
3055 int _arg2
= (int ) 0;
3056 PyObject
* _argo0
= 0;
3057 PyObject
* _argo1
= 0;
3058 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3078 wxPy_BEGIN_ALLOW_THREADS
;
3079 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3081 wxPy_END_ALLOW_THREADS
;
3082 if (PyErr_Occurred()) return NULL
;
3083 } Py_INCREF(Py_None
);
3084 _resultobj
= Py_None
;
3088 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3089 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3091 wxIndividualLayoutConstraint
* _arg0
;
3093 PyObject
* _argo0
= 0;
3094 char *_kwnames
[] = { "self","value", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3107 wxPy_BEGIN_ALLOW_THREADS
;
3108 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3110 wxPy_END_ALLOW_THREADS
;
3111 if (PyErr_Occurred()) return NULL
;
3112 } Py_INCREF(Py_None
);
3113 _resultobj
= Py_None
;
3117 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3118 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3120 wxIndividualLayoutConstraint
* _arg0
;
3121 PyObject
* _argo0
= 0;
3122 char *_kwnames
[] = { "self", NULL
};
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3135 wxPy_BEGIN_ALLOW_THREADS
;
3136 wxIndividualLayoutConstraint_AsIs(_arg0
);
3138 wxPy_END_ALLOW_THREADS
;
3139 if (PyErr_Occurred()) return NULL
;
3140 } Py_INCREF(Py_None
);
3141 _resultobj
= Py_None
;
3145 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3146 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
* _resultobj
;
3148 wxIndividualLayoutConstraint
* _arg0
;
3150 int _arg2
= (int ) 0;
3151 PyObject
* _argo0
= 0;
3152 PyObject
* _argo1
= 0;
3153 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3166 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3173 wxPy_BEGIN_ALLOW_THREADS
;
3174 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3176 wxPy_END_ALLOW_THREADS
;
3177 if (PyErr_Occurred()) return NULL
;
3178 } Py_INCREF(Py_None
);
3179 _resultobj
= Py_None
;
3183 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3184 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
* _resultobj
;
3186 wxIndividualLayoutConstraint
* _arg0
;
3187 PyObject
* _argo0
= 0;
3188 char *_kwnames
[] = { "self", NULL
};
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3201 wxPy_BEGIN_ALLOW_THREADS
;
3202 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3204 wxPy_END_ALLOW_THREADS
;
3205 if (PyErr_Occurred()) return NULL
;
3206 } Py_INCREF(Py_None
);
3207 _resultobj
= Py_None
;
3211 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3212 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
* _resultobj
;
3214 wxIndividualLayoutConstraint
* _arg0
;
3216 int _arg2
= (int ) 0;
3217 PyObject
* _argo0
= 0;
3218 PyObject
* _argo1
= 0;
3219 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3232 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3233 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3239 wxPy_BEGIN_ALLOW_THREADS
;
3240 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3242 wxPy_END_ALLOW_THREADS
;
3243 if (PyErr_Occurred()) return NULL
;
3244 } Py_INCREF(Py_None
);
3245 _resultobj
= Py_None
;
3249 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3250 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3252 wxIndividualLayoutConstraint
* _arg0
;
3256 PyObject
* _argo0
= 0;
3257 PyObject
* _argo1
= 0;
3258 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3271 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3278 wxPy_BEGIN_ALLOW_THREADS
;
3279 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3281 wxPy_END_ALLOW_THREADS
;
3282 if (PyErr_Occurred()) return NULL
;
3283 } Py_INCREF(Py_None
);
3284 _resultobj
= Py_None
;
3288 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3289 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3291 wxIndividualLayoutConstraint
* _arg0
;
3293 int _arg2
= (int ) 0;
3294 PyObject
* _argo0
= 0;
3295 PyObject
* _argo1
= 0;
3296 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3309 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3316 wxPy_BEGIN_ALLOW_THREADS
;
3317 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3319 wxPy_END_ALLOW_THREADS
;
3320 if (PyErr_Occurred()) return NULL
;
3321 } Py_INCREF(Py_None
);
3322 _resultobj
= Py_None
;
3326 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3327 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3329 wxIndividualLayoutConstraint
* _arg0
;
3332 int _arg3
= (int ) 0;
3333 PyObject
* _argo0
= 0;
3334 PyObject
* _argo1
= 0;
3335 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3348 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3349 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3355 wxPy_BEGIN_ALLOW_THREADS
;
3356 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3358 wxPy_END_ALLOW_THREADS
;
3359 if (PyErr_Occurred()) return NULL
;
3360 } Py_INCREF(Py_None
);
3361 _resultobj
= Py_None
;
3365 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3366 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
* _resultobj
;
3368 wxIndividualLayoutConstraint
* _arg0
;
3369 wxRelationship _arg1
;
3372 int _arg4
= (int ) 0;
3373 int _arg5
= (int ) 0;
3374 PyObject
* _argo0
= 0;
3375 PyObject
* _argo2
= 0;
3376 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3389 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3396 wxPy_BEGIN_ALLOW_THREADS
;
3397 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3399 wxPy_END_ALLOW_THREADS
;
3400 if (PyErr_Occurred()) return NULL
;
3401 } Py_INCREF(Py_None
);
3402 _resultobj
= Py_None
;
3406 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3407 wxLayoutConstraints
*src
;
3409 src
= (wxLayoutConstraints
*) ptr
;
3410 dest
= (wxObject
*) src
;
3411 return (void *) dest
;
3414 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3415 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3417 wxLayoutConstraints
* _result
;
3418 char *_kwnames
[] = { NULL
};
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3425 wxPy_BEGIN_ALLOW_THREADS
;
3426 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3428 wxPy_END_ALLOW_THREADS
;
3429 if (PyErr_Occurred()) return NULL
;
3431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3432 _resultobj
= Py_BuildValue("s",_ptemp
);
3435 _resultobj
= Py_None
;
3440 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3441 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3443 wxIndividualLayoutConstraint
* _result
;
3444 wxLayoutConstraints
* _arg0
;
3445 PyObject
* _argo0
= 0;
3446 char *_kwnames
[] = { "self", NULL
};
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3460 wxPy_BEGIN_ALLOW_THREADS
;
3461 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3463 wxPy_END_ALLOW_THREADS
;
3464 if (PyErr_Occurred()) return NULL
;
3466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3467 _resultobj
= Py_BuildValue("s",_ptemp
);
3470 _resultobj
= Py_None
;
3475 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3476 static PyObject
*_wrap_wxLayoutConstraints_centreX_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_centreX_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_centreX_get. Expected _wxLayoutConstraints_p.");
3495 wxPy_BEGIN_ALLOW_THREADS
;
3496 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3498 wxPy_END_ALLOW_THREADS
;
3499 if (PyErr_Occurred()) return NULL
;
3501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3502 _resultobj
= Py_BuildValue("s",_ptemp
);
3505 _resultobj
= Py_None
;
3510 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3511 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
* _resultobj
;
3513 wxIndividualLayoutConstraint
* _result
;
3514 wxLayoutConstraints
* _arg0
;
3515 PyObject
* _argo0
= 0;
3516 char *_kwnames
[] = { "self", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3530 wxPy_BEGIN_ALLOW_THREADS
;
3531 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3533 wxPy_END_ALLOW_THREADS
;
3534 if (PyErr_Occurred()) return NULL
;
3536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3537 _resultobj
= Py_BuildValue("s",_ptemp
);
3540 _resultobj
= Py_None
;
3545 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3546 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3548 wxIndividualLayoutConstraint
* _result
;
3549 wxLayoutConstraints
* _arg0
;
3550 PyObject
* _argo0
= 0;
3551 char *_kwnames
[] = { "self", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3565 wxPy_BEGIN_ALLOW_THREADS
;
3566 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3568 wxPy_END_ALLOW_THREADS
;
3569 if (PyErr_Occurred()) return NULL
;
3571 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3572 _resultobj
= Py_BuildValue("s",_ptemp
);
3575 _resultobj
= Py_None
;
3580 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3581 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3583 wxIndividualLayoutConstraint
* _result
;
3584 wxLayoutConstraints
* _arg0
;
3585 PyObject
* _argo0
= 0;
3586 char *_kwnames
[] = { "self", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3600 wxPy_BEGIN_ALLOW_THREADS
;
3601 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3603 wxPy_END_ALLOW_THREADS
;
3604 if (PyErr_Occurred()) return NULL
;
3606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3607 _resultobj
= Py_BuildValue("s",_ptemp
);
3610 _resultobj
= Py_None
;
3615 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3616 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
* _resultobj
;
3618 wxIndividualLayoutConstraint
* _result
;
3619 wxLayoutConstraints
* _arg0
;
3620 PyObject
* _argo0
= 0;
3621 char *_kwnames
[] = { "self", NULL
};
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3635 wxPy_BEGIN_ALLOW_THREADS
;
3636 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3638 wxPy_END_ALLOW_THREADS
;
3639 if (PyErr_Occurred()) return NULL
;
3641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3642 _resultobj
= Py_BuildValue("s",_ptemp
);
3645 _resultobj
= Py_None
;
3650 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3651 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
* _resultobj
;
3653 wxIndividualLayoutConstraint
* _result
;
3654 wxLayoutConstraints
* _arg0
;
3655 PyObject
* _argo0
= 0;
3656 char *_kwnames
[] = { "self", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3670 wxPy_BEGIN_ALLOW_THREADS
;
3671 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3673 wxPy_END_ALLOW_THREADS
;
3674 if (PyErr_Occurred()) return NULL
;
3676 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3677 _resultobj
= Py_BuildValue("s",_ptemp
);
3680 _resultobj
= Py_None
;
3685 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3686 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
* _resultobj
;
3688 wxIndividualLayoutConstraint
* _result
;
3689 wxLayoutConstraints
* _arg0
;
3690 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3708 wxPy_END_ALLOW_THREADS
;
3709 if (PyErr_Occurred()) return NULL
;
3711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3712 _resultobj
= Py_BuildValue("s",_ptemp
);
3715 _resultobj
= Py_None
;
3720 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3721 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
* _resultobj
;
3723 wxAcceleratorEntry
* _result
;
3724 int _arg0
= (int ) 0;
3725 int _arg1
= (int ) 0;
3726 int _arg2
= (int ) 0;
3727 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3734 wxPy_BEGIN_ALLOW_THREADS
;
3735 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3737 wxPy_END_ALLOW_THREADS
;
3738 if (PyErr_Occurred()) return NULL
;
3740 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3741 _resultobj
= Py_BuildValue("s",_ptemp
);
3744 _resultobj
= Py_None
;
3749 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3750 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
* _resultobj
;
3752 wxAcceleratorEntry
* _arg0
;
3753 PyObject
* _argo0
= 0;
3754 char *_kwnames
[] = { "self", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3767 wxPy_BEGIN_ALLOW_THREADS
;
3768 delete_wxAcceleratorEntry(_arg0
);
3770 wxPy_END_ALLOW_THREADS
;
3771 if (PyErr_Occurred()) return NULL
;
3772 } Py_INCREF(Py_None
);
3773 _resultobj
= Py_None
;
3777 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3778 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3780 wxAcceleratorEntry
* _arg0
;
3784 PyObject
* _argo0
= 0;
3785 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3798 wxPy_BEGIN_ALLOW_THREADS
;
3799 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3801 wxPy_END_ALLOW_THREADS
;
3802 if (PyErr_Occurred()) return NULL
;
3803 } Py_INCREF(Py_None
);
3804 _resultobj
= Py_None
;
3808 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3809 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
* _resultobj
;
3812 wxAcceleratorEntry
* _arg0
;
3813 PyObject
* _argo0
= 0;
3814 char *_kwnames
[] = { "self", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3827 wxPy_BEGIN_ALLOW_THREADS
;
3828 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3830 wxPy_END_ALLOW_THREADS
;
3831 if (PyErr_Occurred()) return NULL
;
3832 } _resultobj
= Py_BuildValue("i",_result
);
3836 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3837 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3840 wxAcceleratorEntry
* _arg0
;
3841 PyObject
* _argo0
= 0;
3842 char *_kwnames
[] = { "self", NULL
};
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3855 wxPy_BEGIN_ALLOW_THREADS
;
3856 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3858 wxPy_END_ALLOW_THREADS
;
3859 if (PyErr_Occurred()) return NULL
;
3860 } _resultobj
= Py_BuildValue("i",_result
);
3864 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3865 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
* _resultobj
;
3868 wxAcceleratorEntry
* _arg0
;
3869 PyObject
* _argo0
= 0;
3870 char *_kwnames
[] = { "self", NULL
};
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3883 wxPy_BEGIN_ALLOW_THREADS
;
3884 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3886 wxPy_END_ALLOW_THREADS
;
3887 if (PyErr_Occurred()) return NULL
;
3888 } _resultobj
= Py_BuildValue("i",_result
);
3892 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3893 wxAcceleratorTable
*src
;
3895 src
= (wxAcceleratorTable
*) ptr
;
3896 dest
= (wxObject
*) src
;
3897 return (void *) dest
;
3900 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3901 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
* _resultobj
;
3903 wxAcceleratorTable
* _result
;
3905 wxAcceleratorEntry
* _arg1
;
3906 PyObject
* _obj1
= 0;
3907 char *_kwnames
[] = { "choices", NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3915 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3916 if (_arg1
== NULL
) {
3922 _arg0
= PyList_Size(_obj1
);
3929 wxPy_BEGIN_ALLOW_THREADS
;
3930 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3932 wxPy_END_ALLOW_THREADS
;
3933 if (PyErr_Occurred()) return NULL
;
3935 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3936 _resultobj
= Py_BuildValue("s",_ptemp
);
3939 _resultobj
= Py_None
;
3947 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
3948 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3950 wxAcceleratorTable
* _arg0
;
3951 PyObject
* _argo0
= 0;
3952 char *_kwnames
[] = { "self", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
3965 wxPy_BEGIN_ALLOW_THREADS
;
3966 delete_wxAcceleratorTable(_arg0
);
3968 wxPy_END_ALLOW_THREADS
;
3969 if (PyErr_Occurred()) return NULL
;
3970 } Py_INCREF(Py_None
);
3971 _resultobj
= Py_None
;
3975 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
3978 src
= (wxBusyInfo
*) ptr
;
3979 dest
= (wxObject
*) src
;
3980 return (void *) dest
;
3983 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
3984 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
* _resultobj
;
3986 wxBusyInfo
* _result
;
3988 PyObject
* _obj0
= 0;
3989 char *_kwnames
[] = { "message", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
3996 #if PYTHON_API_VERSION >= 1009
3997 char* tmpPtr
; int tmpSize
;
3998 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3999 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4002 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4004 _arg0
= new wxString(tmpPtr
, tmpSize
);
4006 if (!PyString_Check(_obj0
)) {
4007 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4010 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4014 wxPy_BEGIN_ALLOW_THREADS
;
4015 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4017 wxPy_END_ALLOW_THREADS
;
4018 if (PyErr_Occurred()) return NULL
;
4020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4021 _resultobj
= Py_BuildValue("s",_ptemp
);
4024 _resultobj
= Py_None
;
4033 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4034 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4037 PyObject
* _argo0
= 0;
4038 char *_kwnames
[] = { "self", NULL
};
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4051 wxPy_BEGIN_ALLOW_THREADS
;
4052 delete_wxBusyInfo(_arg0
);
4054 wxPy_END_ALLOW_THREADS
;
4055 if (PyErr_Occurred()) return NULL
;
4056 } Py_INCREF(Py_None
);
4057 _resultobj
= Py_None
;
4061 static PyMethodDef misccMethods
[] = {
4062 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4063 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4064 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4065 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4066 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4067 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4068 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4069 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4070 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4071 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4072 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4073 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4074 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4075 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4076 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4077 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4078 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4079 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4080 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4081 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4082 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4083 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4084 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4085 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4086 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4087 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4088 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4089 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4090 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4091 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4092 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4093 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4094 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4095 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4096 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4097 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4098 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4099 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4100 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4101 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4102 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4103 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4104 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4105 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4106 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4107 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4108 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4109 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4110 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4111 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4112 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4113 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4114 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4115 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4116 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4117 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4118 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4119 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4120 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4121 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4122 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4123 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4124 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4125 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4126 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4127 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4128 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4129 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4203 * This table is used by the pointer type-checker
4205 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4206 { "_signed_long","_long",0},
4207 { "_wxPrintQuality","_wxCoord",0},
4208 { "_wxPrintQuality","_int",0},
4209 { "_wxPrintQuality","_signed_int",0},
4210 { "_wxPrintQuality","_unsigned_int",0},
4211 { "_wxPrintQuality","_wxWindowID",0},
4212 { "_wxPrintQuality","_uint",0},
4213 { "_wxPrintQuality","_EBool",0},
4214 { "_wxPrintQuality","_size_t",0},
4215 { "_wxPrintQuality","_time_t",0},
4216 { "_byte","_unsigned_char",0},
4217 { "_long","_unsigned_long",0},
4218 { "_long","_signed_long",0},
4219 { "_class_wxObject","_class_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4220 { "_class_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4221 { "_class_wxObject","_class_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4222 { "_class_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4223 { "_class_wxObject","_class_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4224 { "_class_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4225 { "_class_wxObject","_class_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4226 { "_class_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4227 { "_size_t","_wxCoord",0},
4228 { "_size_t","_wxPrintQuality",0},
4229 { "_size_t","_time_t",0},
4230 { "_size_t","_unsigned_int",0},
4231 { "_size_t","_int",0},
4232 { "_size_t","_wxWindowID",0},
4233 { "_size_t","_uint",0},
4234 { "_uint","_wxCoord",0},
4235 { "_uint","_wxPrintQuality",0},
4236 { "_uint","_time_t",0},
4237 { "_uint","_size_t",0},
4238 { "_uint","_unsigned_int",0},
4239 { "_uint","_int",0},
4240 { "_uint","_wxWindowID",0},
4241 { "_wxChar","_char",0},
4242 { "_char","_wxChar",0},
4243 { "_EBool","_wxCoord",0},
4244 { "_EBool","_wxPrintQuality",0},
4245 { "_EBool","_signed_int",0},
4246 { "_EBool","_int",0},
4247 { "_EBool","_wxWindowID",0},
4248 { "_unsigned_long","_long",0},
4249 { "_signed_int","_wxCoord",0},
4250 { "_signed_int","_wxPrintQuality",0},
4251 { "_signed_int","_EBool",0},
4252 { "_signed_int","_wxWindowID",0},
4253 { "_signed_int","_int",0},
4254 { "_WXTYPE","_short",0},
4255 { "_WXTYPE","_signed_short",0},
4256 { "_WXTYPE","_unsigned_short",0},
4257 { "_unsigned_short","_WXTYPE",0},
4258 { "_unsigned_short","_short",0},
4259 { "_wxObject","_class_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4260 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4261 { "_wxObject","_class_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4262 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4263 { "_wxObject","_class_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4264 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4265 { "_wxObject","_class_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4266 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4267 { "_signed_short","_WXTYPE",0},
4268 { "_signed_short","_short",0},
4269 { "_unsigned_char","_byte",0},
4270 { "_unsigned_int","_wxCoord",0},
4271 { "_unsigned_int","_wxPrintQuality",0},
4272 { "_unsigned_int","_time_t",0},
4273 { "_unsigned_int","_size_t",0},
4274 { "_unsigned_int","_uint",0},
4275 { "_unsigned_int","_wxWindowID",0},
4276 { "_unsigned_int","_int",0},
4277 { "_short","_WXTYPE",0},
4278 { "_short","_unsigned_short",0},
4279 { "_short","_signed_short",0},
4280 { "_wxWindowID","_wxCoord",0},
4281 { "_wxWindowID","_wxPrintQuality",0},
4282 { "_wxWindowID","_time_t",0},
4283 { "_wxWindowID","_size_t",0},
4284 { "_wxWindowID","_EBool",0},
4285 { "_wxWindowID","_uint",0},
4286 { "_wxWindowID","_int",0},
4287 { "_wxWindowID","_signed_int",0},
4288 { "_wxWindowID","_unsigned_int",0},
4289 { "_int","_wxCoord",0},
4290 { "_int","_wxPrintQuality",0},
4291 { "_int","_time_t",0},
4292 { "_int","_size_t",0},
4293 { "_int","_EBool",0},
4294 { "_int","_uint",0},
4295 { "_int","_wxWindowID",0},
4296 { "_int","_unsigned_int",0},
4297 { "_int","_signed_int",0},
4298 { "_time_t","_wxCoord",0},
4299 { "_time_t","_wxPrintQuality",0},
4300 { "_time_t","_unsigned_int",0},
4301 { "_time_t","_int",0},
4302 { "_time_t","_wxWindowID",0},
4303 { "_time_t","_uint",0},
4304 { "_time_t","_size_t",0},
4305 { "_wxCoord","_int",0},
4306 { "_wxCoord","_signed_int",0},
4307 { "_wxCoord","_unsigned_int",0},
4308 { "_wxCoord","_wxWindowID",0},
4309 { "_wxCoord","_uint",0},
4310 { "_wxCoord","_EBool",0},
4311 { "_wxCoord","_size_t",0},
4312 { "_wxCoord","_time_t",0},
4313 { "_wxCoord","_wxPrintQuality",0},
4316 static PyObject
*SWIG_globals
;
4320 SWIGEXPORT(void) initmiscc() {
4322 SWIG_globals
= SWIG_newvarlink();
4323 m
= Py_InitModule("miscc", misccMethods
);
4324 d
= PyModule_GetDict(m
);
4325 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4326 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4327 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4328 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4329 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4330 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4331 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4332 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4333 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4334 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4335 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4336 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4337 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4338 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4339 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4340 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4341 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4342 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4343 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4344 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4345 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4348 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4349 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);