2 * FILE : src/msw/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmiscc
56 #define SWIG_name "miscc"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/busyinfo.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 #if PYTHON_API_VERSION >= 1009
91 static char* wxStringErrorMsg
= "String or Unicode type required";
93 static char* wxStringErrorMsg
= "string type is required for parameter";
96 static wxString
wxPyEmptyStr("");
98 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
101 wxRect
dest(0,0,0,0);
104 reg1
.Intersect(reg2
);
105 dest
= reg1
.GetBox();
107 if (dest
!= wxRect(0,0,0,0)) {
108 bool doSave
= wxPyRestoreThread();
109 wxRect
* newRect
= new wxRect(dest
);
110 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
111 PyObject
* one
= PyInt_FromLong(1);
112 PyObject_SetAttrString(obj
, "thisown", one
);
114 wxPySaveThread(doSave
);
121 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
123 wxGetResource(section
, entry
, &retval
, file
);
127 #if 0 // we want to use the definition from the header, not the
128 // one SWIG will generate.
129 extern wxAcceleratorTable wxNullAcceleratorTable
;
135 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
136 PyObject
* _resultobj
;
141 PyObject
* _obj0
= 0;
143 PyObject
* _obj1
= 0;
144 char *_kwnames
[] = { "r1","r2", NULL
};
147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
151 if (! wxRect_helper(_obj0
, &_arg0
))
156 if (! wxRect_helper(_obj1
, &_arg1
))
160 wxPy_BEGIN_ALLOW_THREADS
;
161 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
163 wxPy_END_ALLOW_THREADS
;
164 if (PyErr_Occurred()) return NULL
;
166 _resultobj
= _result
;
171 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
172 PyObject
* _resultobj
;
174 char *_kwnames
[] = { NULL
};
177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
180 wxPy_BEGIN_ALLOW_THREADS
;
181 _result
= (long )wxNewId();
183 wxPy_END_ALLOW_THREADS
;
184 if (PyErr_Occurred()) return NULL
;
185 } _resultobj
= Py_BuildValue("l",_result
);
189 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
190 PyObject
* _resultobj
;
192 char *_kwnames
[] = { "id", NULL
};
195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
198 wxPy_BEGIN_ALLOW_THREADS
;
201 wxPy_END_ALLOW_THREADS
;
202 if (PyErr_Occurred()) return NULL
;
203 } Py_INCREF(Py_None
);
204 _resultobj
= Py_None
;
208 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
209 PyObject
* _resultobj
;
211 char *_kwnames
[] = { NULL
};
214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
217 wxPy_BEGIN_ALLOW_THREADS
;
218 _result
= (long )wxNewId();
220 wxPy_END_ALLOW_THREADS
;
221 if (PyErr_Occurred()) return NULL
;
222 } _resultobj
= Py_BuildValue("l",_result
);
226 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
229 char *_kwnames
[] = { "id", NULL
};
232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
235 wxPy_BEGIN_ALLOW_THREADS
;
238 wxPy_END_ALLOW_THREADS
;
239 if (PyErr_Occurred()) return NULL
;
240 } Py_INCREF(Py_None
);
241 _resultobj
= Py_None
;
245 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
246 PyObject
* _resultobj
;
248 char *_kwnames
[] = { NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
254 wxPy_BEGIN_ALLOW_THREADS
;
255 _result
= (long )wxGetCurrentId();
257 wxPy_END_ALLOW_THREADS
;
258 if (PyErr_Occurred()) return NULL
;
259 } _resultobj
= Py_BuildValue("l",_result
);
263 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
264 PyObject
* _resultobj
;
265 char *_kwnames
[] = { NULL
};
268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
271 wxPy_BEGIN_ALLOW_THREADS
;
274 wxPy_END_ALLOW_THREADS
;
275 if (PyErr_Occurred()) return NULL
;
276 } Py_INCREF(Py_None
);
277 _resultobj
= Py_None
;
281 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
282 PyObject
* _resultobj
;
283 char *_kwnames
[] = { NULL
};
286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
289 wxPy_BEGIN_ALLOW_THREADS
;
292 wxPy_END_ALLOW_THREADS
;
293 if (PyErr_Occurred()) return NULL
;
294 } Py_INCREF(Py_None
);
295 _resultobj
= Py_None
;
299 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
300 PyObject
* _resultobj
;
302 bool _arg0
= (bool ) TRUE
;
303 int tempbool0
= (int) TRUE
;
304 char *_kwnames
[] = { "resetTimer", NULL
};
307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
309 _arg0
= (bool ) tempbool0
;
311 wxPy_BEGIN_ALLOW_THREADS
;
312 _result
= (long )wxGetElapsedTime(_arg0
);
314 wxPy_END_ALLOW_THREADS
;
315 if (PyErr_Occurred()) return NULL
;
316 } _resultobj
= Py_BuildValue("l",_result
);
320 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
323 char *_kwnames
[] = { NULL
};
326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
329 wxPy_BEGIN_ALLOW_THREADS
;
330 _result
= (long )wxGetFreeMemory();
332 wxPy_END_ALLOW_THREADS
;
333 if (PyErr_Occurred()) return NULL
;
334 } _resultobj
= Py_BuildValue("l",_result
);
338 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
339 PyObject
* _resultobj
;
344 char *_kwnames
[] = { NULL
};
353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
356 wxPy_BEGIN_ALLOW_THREADS
;
357 wxGetMousePosition(_arg0
,_arg1
);
359 wxPy_END_ALLOW_THREADS
;
360 if (PyErr_Occurred()) return NULL
;
361 } Py_INCREF(Py_None
);
362 _resultobj
= Py_None
;
365 o
= PyInt_FromLong((long) (*_arg0
));
366 _resultobj
= t_output_helper(_resultobj
, o
);
370 o
= PyInt_FromLong((long) (*_arg1
));
371 _resultobj
= t_output_helper(_resultobj
, o
);
376 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
377 PyObject
* _resultobj
;
379 char *_kwnames
[] = { NULL
};
382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
385 wxPy_BEGIN_ALLOW_THREADS
;
386 _result
= (bool )wxIsBusy();
388 wxPy_END_ALLOW_THREADS
;
389 if (PyErr_Occurred()) return NULL
;
390 } _resultobj
= Py_BuildValue("i",_result
);
394 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
397 char *_kwnames
[] = { NULL
};
400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
403 wxPy_BEGIN_ALLOW_THREADS
;
404 _result
= new wxString (wxNow());
406 wxPy_END_ALLOW_THREADS
;
407 if (PyErr_Occurred()) return NULL
;
409 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
417 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
420 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
421 PyObject
* _obj0
= 0;
422 char *_kwnames
[] = { "command", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
429 #if PYTHON_API_VERSION >= 1009
430 char* tmpPtr
; int tmpSize
;
431 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
435 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
437 _arg0
= new wxString(tmpPtr
, tmpSize
);
439 if (!PyString_Check(_obj0
)) {
440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
443 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
447 wxPy_BEGIN_ALLOW_THREADS
;
448 _result
= (bool )wxShell(*_arg0
);
450 wxPy_END_ALLOW_THREADS
;
451 if (PyErr_Occurred()) return NULL
;
452 } _resultobj
= Py_BuildValue("i",_result
);
460 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
462 char *_kwnames
[] = { NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
468 wxPy_BEGIN_ALLOW_THREADS
;
471 wxPy_END_ALLOW_THREADS
;
472 if (PyErr_Occurred()) return NULL
;
473 } Py_INCREF(Py_None
);
474 _resultobj
= Py_None
;
478 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
485 char *_kwnames
[] = { NULL
};
494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
497 wxPy_BEGIN_ALLOW_THREADS
;
498 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
500 wxPy_END_ALLOW_THREADS
;
501 if (PyErr_Occurred()) return NULL
;
502 } _resultobj
= Py_BuildValue("i",_result
);
505 o
= PyInt_FromLong((long) (*_arg0
));
506 _resultobj
= t_output_helper(_resultobj
, o
);
510 o
= PyInt_FromLong((long) (*_arg1
));
511 _resultobj
= t_output_helper(_resultobj
, o
);
516 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
519 char *_kwnames
[] = { NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
525 wxPy_BEGIN_ALLOW_THREADS
;
526 _result
= new wxString (wxGetOsDescription());
528 wxPy_END_ALLOW_THREADS
;
529 if (PyErr_Occurred()) return NULL
;
531 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
539 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
540 PyObject
* _resultobj
;
542 char *_kwnames
[] = { "secs", NULL
};
545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
548 wxPy_BEGIN_ALLOW_THREADS
;
551 wxPy_END_ALLOW_THREADS
;
552 if (PyErr_Occurred()) return NULL
;
553 } Py_INCREF(Py_None
);
554 _resultobj
= Py_None
;
558 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
559 PyObject
* _resultobj
;
561 char *_kwnames
[] = { "milliseconds", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
567 wxPy_BEGIN_ALLOW_THREADS
;
570 wxPy_END_ALLOW_THREADS
;
571 if (PyErr_Occurred()) return NULL
;
572 } Py_INCREF(Py_None
);
573 _resultobj
= Py_None
;
577 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
580 char *_kwnames
[] = { NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
586 wxPy_BEGIN_ALLOW_THREADS
;
587 _result
= (bool )wxYield();
589 wxPy_END_ALLOW_THREADS
;
590 if (PyErr_Occurred()) return NULL
;
591 } _resultobj
= Py_BuildValue("i",_result
);
595 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
598 char *_kwnames
[] = { NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
604 wxPy_BEGIN_ALLOW_THREADS
;
605 _result
= (bool )wxYieldIfNeeded();
607 wxPy_END_ALLOW_THREADS
;
608 if (PyErr_Occurred()) return NULL
;
609 } _resultobj
= Py_BuildValue("i",_result
);
613 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
614 PyObject
* _resultobj
;
617 char *_kwnames
[] = { "enable", NULL
};
620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
622 _arg0
= (bool ) tempbool0
;
624 wxPy_BEGIN_ALLOW_THREADS
;
625 wxEnableTopLevelWindows(_arg0
);
627 wxPy_END_ALLOW_THREADS
;
628 if (PyErr_Occurred()) return NULL
;
629 } Py_INCREF(Py_None
);
630 _resultobj
= Py_None
;
634 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
635 PyObject
* _resultobj
;
636 char *_kwnames
[] = { NULL
};
639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
642 wxPy_BEGIN_ALLOW_THREADS
;
645 wxPy_END_ALLOW_THREADS
;
646 if (PyErr_Occurred()) return NULL
;
647 } Py_INCREF(Py_None
);
648 _resultobj
= Py_None
;
652 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
653 PyObject
* _resultobj
;
657 char * _arg2
= (char *) NULL
;
658 char *_kwnames
[] = { "section","entry","file", NULL
};
661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
664 wxPy_BEGIN_ALLOW_THREADS
;
665 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
667 wxPy_END_ALLOW_THREADS
;
668 if (PyErr_Occurred()) return NULL
;
669 } _resultobj
= Py_BuildValue("s", _result
);
673 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
677 PyObject
* _obj0
= 0;
678 char *_kwnames
[] = { "in", NULL
};
681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
684 #if PYTHON_API_VERSION >= 1009
685 char* tmpPtr
; int tmpSize
;
686 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
687 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
690 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
692 _arg0
= new wxString(tmpPtr
, tmpSize
);
694 if (!PyString_Check(_obj0
)) {
695 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
698 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
702 wxPy_BEGIN_ALLOW_THREADS
;
703 _result
= new wxString (wxStripMenuCodes(*_arg0
));
705 wxPy_END_ALLOW_THREADS
;
706 if (PyErr_Occurred()) return NULL
;
708 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
720 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
723 char *_kwnames
[] = { NULL
};
726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
729 wxPy_BEGIN_ALLOW_THREADS
;
730 _result
= new wxString (wxGetEmailAddress());
732 wxPy_END_ALLOW_THREADS
;
733 if (PyErr_Occurred()) return NULL
;
735 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
743 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
744 PyObject
* _resultobj
;
746 char *_kwnames
[] = { NULL
};
749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
752 wxPy_BEGIN_ALLOW_THREADS
;
753 _result
= new wxString (wxGetHostName());
755 wxPy_END_ALLOW_THREADS
;
756 if (PyErr_Occurred()) return NULL
;
758 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
766 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
769 char *_kwnames
[] = { NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
775 wxPy_BEGIN_ALLOW_THREADS
;
776 _result
= new wxString (wxGetFullHostName());
778 wxPy_END_ALLOW_THREADS
;
779 if (PyErr_Occurred()) return NULL
;
781 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
789 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
790 PyObject
* _resultobj
;
792 char *_kwnames
[] = { NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
798 wxPy_BEGIN_ALLOW_THREADS
;
799 _result
= new wxString (wxGetUserId());
801 wxPy_END_ALLOW_THREADS
;
802 if (PyErr_Occurred()) return NULL
;
804 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
812 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 PyObject
* _resultobj
;
815 char *_kwnames
[] = { NULL
};
818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
821 wxPy_BEGIN_ALLOW_THREADS
;
822 _result
= new wxString (wxGetUserName());
824 wxPy_END_ALLOW_THREADS
;
825 if (PyErr_Occurred()) return NULL
;
827 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
835 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
838 char *_kwnames
[] = { NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
844 wxPy_BEGIN_ALLOW_THREADS
;
845 _result
= new wxString (wxGetHomeDir());
847 wxPy_END_ALLOW_THREADS
;
848 if (PyErr_Occurred()) return NULL
;
850 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
858 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
859 PyObject
* _resultobj
;
860 wxAcceleratorEntry
* _result
;
862 PyObject
* _obj0
= 0;
863 char *_kwnames
[] = { "label", NULL
};
867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
870 #if PYTHON_API_VERSION >= 1009
871 char* tmpPtr
; int tmpSize
;
872 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
873 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
876 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
878 _arg0
= new wxString(tmpPtr
, tmpSize
);
880 if (!PyString_Check(_obj0
)) {
881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
884 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
888 wxPy_BEGIN_ALLOW_THREADS
;
889 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
891 wxPy_END_ALLOW_THREADS
;
892 if (PyErr_Occurred()) return NULL
;
894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
895 _resultobj
= Py_BuildValue("s",_ptemp
);
898 _resultobj
= Py_None
;
907 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
909 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
913 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
917 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
918 pyobj
= PyString_FromString(ptemp
);
922 static const char * wxObject_GetClassName(wxObject
*self
) {
923 return self
->GetClassInfo()->GetClassName();
925 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
929 PyObject
* _argo0
= 0;
930 char *_kwnames
[] = { "self", NULL
};
933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
943 wxPy_BEGIN_ALLOW_THREADS
;
944 _result
= (char *)wxObject_GetClassName(_arg0
);
946 wxPy_END_ALLOW_THREADS
;
947 if (PyErr_Occurred()) return NULL
;
948 } _resultobj
= Py_BuildValue("s", _result
);
952 static void wxObject_Destroy(wxObject
*self
) {
955 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
958 PyObject
* _argo0
= 0;
959 char *_kwnames
[] = { "self", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
972 wxPy_BEGIN_ALLOW_THREADS
;
973 wxObject_Destroy(_arg0
);
975 wxPy_END_ALLOW_THREADS
;
976 if (PyErr_Occurred()) return NULL
;
977 } Py_INCREF(Py_None
);
978 _resultobj
= Py_None
;
982 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
983 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
989 PyObject
* _obj0
= 0;
990 char *_kwnames
[] = { "self","x", NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
997 if (! wxSize_helper(_obj0
, &_arg0
))
1001 wxPy_BEGIN_ALLOW_THREADS
;
1002 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1004 wxPy_END_ALLOW_THREADS
;
1005 if (PyErr_Occurred()) return NULL
;
1006 } _resultobj
= Py_BuildValue("l",_result
);
1010 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1011 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
* _resultobj
;
1016 PyObject
* _obj0
= 0;
1017 char *_kwnames
[] = { "self", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1024 if (! wxSize_helper(_obj0
, &_arg0
))
1028 wxPy_BEGIN_ALLOW_THREADS
;
1029 _result
= (long )wxSize_x_get(_arg0
);
1031 wxPy_END_ALLOW_THREADS
;
1032 if (PyErr_Occurred()) return NULL
;
1033 } _resultobj
= Py_BuildValue("l",_result
);
1037 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1038 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1044 PyObject
* _obj0
= 0;
1045 char *_kwnames
[] = { "self","y", NULL
};
1048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1052 if (! wxSize_helper(_obj0
, &_arg0
))
1056 wxPy_BEGIN_ALLOW_THREADS
;
1057 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1059 wxPy_END_ALLOW_THREADS
;
1060 if (PyErr_Occurred()) return NULL
;
1061 } _resultobj
= Py_BuildValue("l",_result
);
1065 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1066 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1067 PyObject
* _resultobj
;
1071 PyObject
* _obj0
= 0;
1072 char *_kwnames
[] = { "self", NULL
};
1075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1079 if (! wxSize_helper(_obj0
, &_arg0
))
1083 wxPy_BEGIN_ALLOW_THREADS
;
1084 _result
= (long )wxSize_y_get(_arg0
);
1086 wxPy_END_ALLOW_THREADS
;
1087 if (PyErr_Occurred()) return NULL
;
1088 } _resultobj
= Py_BuildValue("l",_result
);
1092 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1093 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1094 PyObject
* _resultobj
;
1096 long _arg0
= (long ) 0;
1097 long _arg1
= (long ) 0;
1098 char *_kwnames
[] = { "w","h", NULL
};
1102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1105 wxPy_BEGIN_ALLOW_THREADS
;
1106 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1108 wxPy_END_ALLOW_THREADS
;
1109 if (PyErr_Occurred()) return NULL
;
1111 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1112 _resultobj
= Py_BuildValue("s",_ptemp
);
1115 _resultobj
= Py_None
;
1120 #define delete_wxSize(_swigobj) (delete _swigobj)
1121 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1122 PyObject
* _resultobj
;
1125 PyObject
* _obj0
= 0;
1126 char *_kwnames
[] = { "self", NULL
};
1129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1133 if (! wxSize_helper(_obj0
, &_arg0
))
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 delete_wxSize(_arg0
);
1140 wxPy_END_ALLOW_THREADS
;
1141 if (PyErr_Occurred()) return NULL
;
1142 } Py_INCREF(Py_None
);
1143 _resultobj
= Py_None
;
1147 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1148 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1149 PyObject
* _resultobj
;
1154 PyObject
* _obj0
= 0;
1155 char *_kwnames
[] = { "self","w","h", NULL
};
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1162 if (! wxSize_helper(_obj0
, &_arg0
))
1166 wxPy_BEGIN_ALLOW_THREADS
;
1167 wxSize_Set(_arg0
,_arg1
,_arg2
);
1169 wxPy_END_ALLOW_THREADS
;
1170 if (PyErr_Occurred()) return NULL
;
1171 } Py_INCREF(Py_None
);
1172 _resultobj
= Py_None
;
1176 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1177 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1182 PyObject
* _obj0
= 0;
1183 char *_kwnames
[] = { "self", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1190 if (! wxSize_helper(_obj0
, &_arg0
))
1194 wxPy_BEGIN_ALLOW_THREADS
;
1195 _result
= (long )wxSize_GetX(_arg0
);
1197 wxPy_END_ALLOW_THREADS
;
1198 if (PyErr_Occurred()) return NULL
;
1199 } _resultobj
= Py_BuildValue("l",_result
);
1203 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1204 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1205 PyObject
* _resultobj
;
1209 PyObject
* _obj0
= 0;
1210 char *_kwnames
[] = { "self", NULL
};
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1217 if (! wxSize_helper(_obj0
, &_arg0
))
1221 wxPy_BEGIN_ALLOW_THREADS
;
1222 _result
= (long )wxSize_GetY(_arg0
);
1224 wxPy_END_ALLOW_THREADS
;
1225 if (PyErr_Occurred()) return NULL
;
1226 } _resultobj
= Py_BuildValue("l",_result
);
1230 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1231 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
* _resultobj
;
1236 PyObject
* _obj0
= 0;
1237 char *_kwnames
[] = { "self", NULL
};
1240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1244 if (! wxSize_helper(_obj0
, &_arg0
))
1248 wxPy_BEGIN_ALLOW_THREADS
;
1249 _result
= (long )wxSize_GetWidth(_arg0
);
1251 wxPy_END_ALLOW_THREADS
;
1252 if (PyErr_Occurred()) return NULL
;
1253 } _resultobj
= Py_BuildValue("l",_result
);
1257 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1258 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1259 PyObject
* _resultobj
;
1263 PyObject
* _obj0
= 0;
1264 char *_kwnames
[] = { "self", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1271 if (! wxSize_helper(_obj0
, &_arg0
))
1275 wxPy_BEGIN_ALLOW_THREADS
;
1276 _result
= (long )wxSize_GetHeight(_arg0
);
1278 wxPy_END_ALLOW_THREADS
;
1279 if (PyErr_Occurred()) return NULL
;
1280 } _resultobj
= Py_BuildValue("l",_result
);
1284 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1285 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
* _resultobj
;
1290 PyObject
* _obj0
= 0;
1291 char *_kwnames
[] = { "self","w", NULL
};
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1298 if (! wxSize_helper(_obj0
, &_arg0
))
1302 wxPy_BEGIN_ALLOW_THREADS
;
1303 wxSize_SetWidth(_arg0
,_arg1
);
1305 wxPy_END_ALLOW_THREADS
;
1306 if (PyErr_Occurred()) return NULL
;
1307 } Py_INCREF(Py_None
);
1308 _resultobj
= Py_None
;
1312 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1313 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
* _resultobj
;
1318 PyObject
* _obj0
= 0;
1319 char *_kwnames
[] = { "self","h", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1326 if (! wxSize_helper(_obj0
, &_arg0
))
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 wxSize_SetHeight(_arg0
,_arg1
);
1333 wxPy_END_ALLOW_THREADS
;
1334 if (PyErr_Occurred()) return NULL
;
1335 } Py_INCREF(Py_None
);
1336 _resultobj
= Py_None
;
1340 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1341 PyObject
* tup
= PyTuple_New(2);
1342 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1343 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1346 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
* _resultobj
;
1351 PyObject
* _obj0
= 0;
1352 char *_kwnames
[] = { "self", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1359 if (! wxSize_helper(_obj0
, &_arg0
))
1363 wxPy_BEGIN_ALLOW_THREADS
;
1364 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1366 wxPy_END_ALLOW_THREADS
;
1367 if (PyErr_Occurred()) return NULL
;
1369 _resultobj
= _result
;
1374 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1376 if (*self
== *sz
) return 0;
1379 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
* _resultobj
;
1385 PyObject
* _obj0
= 0;
1387 PyObject
* _obj1
= 0;
1388 char *_kwnames
[] = { "self","sz", NULL
};
1391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1395 if (! wxSize_helper(_obj0
, &_arg0
))
1400 if (! wxSize_helper(_obj1
, &_arg1
))
1404 wxPy_BEGIN_ALLOW_THREADS
;
1405 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1407 wxPy_END_ALLOW_THREADS
;
1408 if (PyErr_Occurred()) return NULL
;
1409 } _resultobj
= Py_BuildValue("i",_result
);
1413 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1414 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1415 PyObject
* _resultobj
;
1417 wxRealPoint
* _arg0
;
1420 PyObject
* _obj0
= 0;
1421 char *_kwnames
[] = { "self","x", NULL
};
1424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1428 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1432 wxPy_BEGIN_ALLOW_THREADS
;
1433 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1435 wxPy_END_ALLOW_THREADS
;
1436 if (PyErr_Occurred()) return NULL
;
1437 } _resultobj
= Py_BuildValue("d",_result
);
1441 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1442 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1445 wxRealPoint
* _arg0
;
1447 PyObject
* _obj0
= 0;
1448 char *_kwnames
[] = { "self", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1455 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1459 wxPy_BEGIN_ALLOW_THREADS
;
1460 _result
= (double )wxRealPoint_x_get(_arg0
);
1462 wxPy_END_ALLOW_THREADS
;
1463 if (PyErr_Occurred()) return NULL
;
1464 } _resultobj
= Py_BuildValue("d",_result
);
1468 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1469 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
* _resultobj
;
1472 wxRealPoint
* _arg0
;
1475 PyObject
* _obj0
= 0;
1476 char *_kwnames
[] = { "self","y", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1483 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1487 wxPy_BEGIN_ALLOW_THREADS
;
1488 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1490 wxPy_END_ALLOW_THREADS
;
1491 if (PyErr_Occurred()) return NULL
;
1492 } _resultobj
= Py_BuildValue("d",_result
);
1496 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1497 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1500 wxRealPoint
* _arg0
;
1502 PyObject
* _obj0
= 0;
1503 char *_kwnames
[] = { "self", NULL
};
1506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1510 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1514 wxPy_BEGIN_ALLOW_THREADS
;
1515 _result
= (double )wxRealPoint_y_get(_arg0
);
1517 wxPy_END_ALLOW_THREADS
;
1518 if (PyErr_Occurred()) return NULL
;
1519 } _resultobj
= Py_BuildValue("d",_result
);
1523 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1524 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
* _resultobj
;
1526 wxRealPoint
* _result
;
1527 double _arg0
= (double ) 0.0;
1528 double _arg1
= (double ) 0.0;
1529 char *_kwnames
[] = { "x","y", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1539 wxPy_END_ALLOW_THREADS
;
1540 if (PyErr_Occurred()) return NULL
;
1542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1543 _resultobj
= Py_BuildValue("s",_ptemp
);
1546 _resultobj
= Py_None
;
1551 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1552 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1553 PyObject
* _resultobj
;
1554 wxRealPoint
* _arg0
;
1556 PyObject
* _obj0
= 0;
1557 char *_kwnames
[] = { "self", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1564 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1568 wxPy_BEGIN_ALLOW_THREADS
;
1569 delete_wxRealPoint(_arg0
);
1571 wxPy_END_ALLOW_THREADS
;
1572 if (PyErr_Occurred()) return NULL
;
1573 } Py_INCREF(Py_None
);
1574 _resultobj
= Py_None
;
1578 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1582 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
* _resultobj
;
1584 wxRealPoint
* _arg0
;
1588 PyObject
* _obj0
= 0;
1589 char *_kwnames
[] = { "self","x","y", NULL
};
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1596 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1600 wxPy_BEGIN_ALLOW_THREADS
;
1601 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1603 wxPy_END_ALLOW_THREADS
;
1604 if (PyErr_Occurred()) return NULL
;
1605 } Py_INCREF(Py_None
);
1606 _resultobj
= Py_None
;
1610 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1611 PyObject
* tup
= PyTuple_New(2);
1612 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1613 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1616 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1619 wxRealPoint
* _arg0
;
1621 PyObject
* _obj0
= 0;
1622 char *_kwnames
[] = { "self", NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1629 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1633 wxPy_BEGIN_ALLOW_THREADS
;
1634 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1636 wxPy_END_ALLOW_THREADS
;
1637 if (PyErr_Occurred()) return NULL
;
1639 _resultobj
= _result
;
1644 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1645 if (! p
) return *self
;
1648 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
* _resultobj
;
1650 wxRealPoint
* _result
;
1651 wxRealPoint
* _arg0
;
1652 wxRealPoint
* _arg1
;
1654 PyObject
* _obj0
= 0;
1656 PyObject
* _obj1
= 0;
1657 char *_kwnames
[] = { "self","p", NULL
};
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1665 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1670 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1674 wxPy_BEGIN_ALLOW_THREADS
;
1675 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1677 wxPy_END_ALLOW_THREADS
;
1678 if (PyErr_Occurred()) return NULL
;
1679 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1680 _resultobj
= Py_BuildValue("s",_ptemp
);
1684 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1685 if (! p
) return *self
;
1688 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1690 wxRealPoint
* _result
;
1691 wxRealPoint
* _arg0
;
1692 wxRealPoint
* _arg1
;
1694 PyObject
* _obj0
= 0;
1696 PyObject
* _obj1
= 0;
1697 char *_kwnames
[] = { "self","p", NULL
};
1701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1705 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1710 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1714 wxPy_BEGIN_ALLOW_THREADS
;
1715 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1717 wxPy_END_ALLOW_THREADS
;
1718 if (PyErr_Occurred()) return NULL
;
1719 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1720 _resultobj
= Py_BuildValue("s",_ptemp
);
1724 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1726 if (*self
== *p
) return 0;
1729 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1732 wxRealPoint
* _arg0
;
1733 wxRealPoint
* _arg1
;
1735 PyObject
* _obj0
= 0;
1737 PyObject
* _obj1
= 0;
1738 char *_kwnames
[] = { "self","p", NULL
};
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1745 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1750 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1754 wxPy_BEGIN_ALLOW_THREADS
;
1755 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1757 wxPy_END_ALLOW_THREADS
;
1758 if (PyErr_Occurred()) return NULL
;
1759 } _resultobj
= Py_BuildValue("i",_result
);
1763 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1764 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1770 PyObject
* _obj0
= 0;
1771 char *_kwnames
[] = { "self","x", NULL
};
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1778 if (! wxPoint_helper(_obj0
, &_arg0
))
1782 wxPy_BEGIN_ALLOW_THREADS
;
1783 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1785 wxPy_END_ALLOW_THREADS
;
1786 if (PyErr_Occurred()) return NULL
;
1787 } _resultobj
= Py_BuildValue("l",_result
);
1791 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1792 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1797 PyObject
* _obj0
= 0;
1798 char *_kwnames
[] = { "self", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1805 if (! wxPoint_helper(_obj0
, &_arg0
))
1809 wxPy_BEGIN_ALLOW_THREADS
;
1810 _result
= (long )wxPoint_x_get(_arg0
);
1812 wxPy_END_ALLOW_THREADS
;
1813 if (PyErr_Occurred()) return NULL
;
1814 } _resultobj
= Py_BuildValue("l",_result
);
1818 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1819 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
* _resultobj
;
1825 PyObject
* _obj0
= 0;
1826 char *_kwnames
[] = { "self","y", NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1833 if (! wxPoint_helper(_obj0
, &_arg0
))
1837 wxPy_BEGIN_ALLOW_THREADS
;
1838 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1840 wxPy_END_ALLOW_THREADS
;
1841 if (PyErr_Occurred()) return NULL
;
1842 } _resultobj
= Py_BuildValue("l",_result
);
1846 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1847 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1852 PyObject
* _obj0
= 0;
1853 char *_kwnames
[] = { "self", NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1860 if (! wxPoint_helper(_obj0
, &_arg0
))
1864 wxPy_BEGIN_ALLOW_THREADS
;
1865 _result
= (long )wxPoint_y_get(_arg0
);
1867 wxPy_END_ALLOW_THREADS
;
1868 if (PyErr_Occurred()) return NULL
;
1869 } _resultobj
= Py_BuildValue("l",_result
);
1873 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1874 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1877 long _arg0
= (long ) 0;
1878 long _arg1
= (long ) 0;
1879 char *_kwnames
[] = { "x","y", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1886 wxPy_BEGIN_ALLOW_THREADS
;
1887 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1889 wxPy_END_ALLOW_THREADS
;
1890 if (PyErr_Occurred()) return NULL
;
1892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1893 _resultobj
= Py_BuildValue("s",_ptemp
);
1896 _resultobj
= Py_None
;
1901 #define delete_wxPoint(_swigobj) (delete _swigobj)
1902 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1906 PyObject
* _obj0
= 0;
1907 char *_kwnames
[] = { "self", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1914 if (! wxPoint_helper(_obj0
, &_arg0
))
1918 wxPy_BEGIN_ALLOW_THREADS
;
1919 delete_wxPoint(_arg0
);
1921 wxPy_END_ALLOW_THREADS
;
1922 if (PyErr_Occurred()) return NULL
;
1923 } Py_INCREF(Py_None
);
1924 _resultobj
= Py_None
;
1928 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1932 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1938 PyObject
* _obj0
= 0;
1939 char *_kwnames
[] = { "self","x","y", NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1946 if (! wxPoint_helper(_obj0
, &_arg0
))
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1953 wxPy_END_ALLOW_THREADS
;
1954 if (PyErr_Occurred()) return NULL
;
1955 } Py_INCREF(Py_None
);
1956 _resultobj
= Py_None
;
1960 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1961 PyObject
* tup
= PyTuple_New(2);
1962 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1963 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1966 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1971 PyObject
* _obj0
= 0;
1972 char *_kwnames
[] = { "self", NULL
};
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1979 if (! wxPoint_helper(_obj0
, &_arg0
))
1983 wxPy_BEGIN_ALLOW_THREADS
;
1984 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1986 wxPy_END_ALLOW_THREADS
;
1987 if (PyErr_Occurred()) return NULL
;
1989 _resultobj
= _result
;
1994 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1995 if (! p
) return *self
;
1998 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
* _resultobj
;
2004 PyObject
* _obj0
= 0;
2006 PyObject
* _obj1
= 0;
2007 char *_kwnames
[] = { "self","p", NULL
};
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2015 if (! wxPoint_helper(_obj0
, &_arg0
))
2020 if (! wxPoint_helper(_obj1
, &_arg1
))
2024 wxPy_BEGIN_ALLOW_THREADS
;
2025 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2027 wxPy_END_ALLOW_THREADS
;
2028 if (PyErr_Occurred()) return NULL
;
2029 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2030 _resultobj
= Py_BuildValue("s",_ptemp
);
2034 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2035 if (! p
) return *self
;
2038 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
* _resultobj
;
2044 PyObject
* _obj0
= 0;
2046 PyObject
* _obj1
= 0;
2047 char *_kwnames
[] = { "self","p", NULL
};
2051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2055 if (! wxPoint_helper(_obj0
, &_arg0
))
2060 if (! wxPoint_helper(_obj1
, &_arg1
))
2064 wxPy_BEGIN_ALLOW_THREADS
;
2065 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2067 wxPy_END_ALLOW_THREADS
;
2068 if (PyErr_Occurred()) return NULL
;
2069 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2070 _resultobj
= Py_BuildValue("s",_ptemp
);
2074 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2076 if (*self
== *p
) return 0;
2079 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2085 PyObject
* _obj0
= 0;
2087 PyObject
* _obj1
= 0;
2088 char *_kwnames
[] = { "self","p", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2095 if (! wxPoint_helper(_obj0
, &_arg0
))
2100 if (! wxPoint_helper(_obj1
, &_arg1
))
2104 wxPy_BEGIN_ALLOW_THREADS
;
2105 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2107 wxPy_END_ALLOW_THREADS
;
2108 if (PyErr_Occurred()) return NULL
;
2109 } _resultobj
= Py_BuildValue("i",_result
);
2113 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2114 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2117 int _arg0
= (int ) 0;
2118 int _arg1
= (int ) 0;
2119 int _arg2
= (int ) 0;
2120 int _arg3
= (int ) 0;
2121 char *_kwnames
[] = { "x","y","w","h", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2128 wxPy_BEGIN_ALLOW_THREADS
;
2129 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2131 wxPy_END_ALLOW_THREADS
;
2132 if (PyErr_Occurred()) return NULL
;
2134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2135 _resultobj
= Py_BuildValue("s",_ptemp
);
2138 _resultobj
= Py_None
;
2143 #define delete_wxRect(_swigobj) (delete _swigobj)
2144 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2148 PyObject
* _obj0
= 0;
2149 char *_kwnames
[] = { "self", NULL
};
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2156 if (! wxRect_helper(_obj0
, &_arg0
))
2160 wxPy_BEGIN_ALLOW_THREADS
;
2161 delete_wxRect(_arg0
);
2163 wxPy_END_ALLOW_THREADS
;
2164 if (PyErr_Occurred()) return NULL
;
2165 } Py_INCREF(Py_None
);
2166 _resultobj
= Py_None
;
2170 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2171 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2176 PyObject
* _obj0
= 0;
2177 char *_kwnames
[] = { "self", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2184 if (! wxRect_helper(_obj0
, &_arg0
))
2188 wxPy_BEGIN_ALLOW_THREADS
;
2189 _result
= (int )wxRect_GetX(_arg0
);
2191 wxPy_END_ALLOW_THREADS
;
2192 if (PyErr_Occurred()) return NULL
;
2193 } _resultobj
= Py_BuildValue("i",_result
);
2197 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2198 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
* _resultobj
;
2203 PyObject
* _obj0
= 0;
2204 char *_kwnames
[] = { "self","X", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2211 if (! wxRect_helper(_obj0
, &_arg0
))
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 wxRect_SetX(_arg0
,_arg1
);
2218 wxPy_END_ALLOW_THREADS
;
2219 if (PyErr_Occurred()) return NULL
;
2220 } Py_INCREF(Py_None
);
2221 _resultobj
= Py_None
;
2225 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2226 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2231 PyObject
* _obj0
= 0;
2232 char *_kwnames
[] = { "self", NULL
};
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2239 if (! wxRect_helper(_obj0
, &_arg0
))
2243 wxPy_BEGIN_ALLOW_THREADS
;
2244 _result
= (int )wxRect_GetY(_arg0
);
2246 wxPy_END_ALLOW_THREADS
;
2247 if (PyErr_Occurred()) return NULL
;
2248 } _resultobj
= Py_BuildValue("i",_result
);
2252 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2253 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
* _resultobj
;
2258 PyObject
* _obj0
= 0;
2259 char *_kwnames
[] = { "self","Y", NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2266 if (! wxRect_helper(_obj0
, &_arg0
))
2270 wxPy_BEGIN_ALLOW_THREADS
;
2271 wxRect_SetY(_arg0
,_arg1
);
2273 wxPy_END_ALLOW_THREADS
;
2274 if (PyErr_Occurred()) return NULL
;
2275 } Py_INCREF(Py_None
);
2276 _resultobj
= Py_None
;
2280 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2281 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
* _resultobj
;
2286 PyObject
* _obj0
= 0;
2287 char *_kwnames
[] = { "self", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2294 if (! wxRect_helper(_obj0
, &_arg0
))
2298 wxPy_BEGIN_ALLOW_THREADS
;
2299 _result
= (int )wxRect_GetWidth(_arg0
);
2301 wxPy_END_ALLOW_THREADS
;
2302 if (PyErr_Occurred()) return NULL
;
2303 } _resultobj
= Py_BuildValue("i",_result
);
2307 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2308 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2313 PyObject
* _obj0
= 0;
2314 char *_kwnames
[] = { "self","w", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2321 if (! wxRect_helper(_obj0
, &_arg0
))
2325 wxPy_BEGIN_ALLOW_THREADS
;
2326 wxRect_SetWidth(_arg0
,_arg1
);
2328 wxPy_END_ALLOW_THREADS
;
2329 if (PyErr_Occurred()) return NULL
;
2330 } Py_INCREF(Py_None
);
2331 _resultobj
= Py_None
;
2335 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2336 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2341 PyObject
* _obj0
= 0;
2342 char *_kwnames
[] = { "self", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2349 if (! wxRect_helper(_obj0
, &_arg0
))
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 _result
= (int )wxRect_GetHeight(_arg0
);
2356 wxPy_END_ALLOW_THREADS
;
2357 if (PyErr_Occurred()) return NULL
;
2358 } _resultobj
= Py_BuildValue("i",_result
);
2362 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2363 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2368 PyObject
* _obj0
= 0;
2369 char *_kwnames
[] = { "self","h", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2376 if (! wxRect_helper(_obj0
, &_arg0
))
2380 wxPy_BEGIN_ALLOW_THREADS
;
2381 wxRect_SetHeight(_arg0
,_arg1
);
2383 wxPy_END_ALLOW_THREADS
;
2384 if (PyErr_Occurred()) return NULL
;
2385 } Py_INCREF(Py_None
);
2386 _resultobj
= Py_None
;
2390 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2391 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2396 PyObject
* _obj0
= 0;
2397 char *_kwnames
[] = { "self", NULL
};
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2405 if (! wxRect_helper(_obj0
, &_arg0
))
2409 wxPy_BEGIN_ALLOW_THREADS
;
2410 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2412 wxPy_END_ALLOW_THREADS
;
2413 if (PyErr_Occurred()) return NULL
;
2414 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2415 _resultobj
= Py_BuildValue("s",_ptemp
);
2419 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2420 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2425 PyObject
* _obj0
= 0;
2426 char *_kwnames
[] = { "self", NULL
};
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2434 if (! wxRect_helper(_obj0
, &_arg0
))
2438 wxPy_BEGIN_ALLOW_THREADS
;
2439 _result
= new wxSize (wxRect_GetSize(_arg0
));
2441 wxPy_END_ALLOW_THREADS
;
2442 if (PyErr_Occurred()) return NULL
;
2443 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2444 _resultobj
= Py_BuildValue("s",_ptemp
);
2448 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2449 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
* _resultobj
;
2454 PyObject
* _obj0
= 0;
2455 char *_kwnames
[] = { "self", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2462 if (! wxRect_helper(_obj0
, &_arg0
))
2466 wxPy_BEGIN_ALLOW_THREADS
;
2467 _result
= (int )wxRect_GetLeft(_arg0
);
2469 wxPy_END_ALLOW_THREADS
;
2470 if (PyErr_Occurred()) return NULL
;
2471 } _resultobj
= Py_BuildValue("i",_result
);
2475 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2476 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
* _resultobj
;
2481 PyObject
* _obj0
= 0;
2482 char *_kwnames
[] = { "self", NULL
};
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2489 if (! wxRect_helper(_obj0
, &_arg0
))
2493 wxPy_BEGIN_ALLOW_THREADS
;
2494 _result
= (int )wxRect_GetTop(_arg0
);
2496 wxPy_END_ALLOW_THREADS
;
2497 if (PyErr_Occurred()) return NULL
;
2498 } _resultobj
= Py_BuildValue("i",_result
);
2502 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2503 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2508 PyObject
* _obj0
= 0;
2509 char *_kwnames
[] = { "self", NULL
};
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2516 if (! wxRect_helper(_obj0
, &_arg0
))
2520 wxPy_BEGIN_ALLOW_THREADS
;
2521 _result
= (int )wxRect_GetBottom(_arg0
);
2523 wxPy_END_ALLOW_THREADS
;
2524 if (PyErr_Occurred()) return NULL
;
2525 } _resultobj
= Py_BuildValue("i",_result
);
2529 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2530 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
* _resultobj
;
2535 PyObject
* _obj0
= 0;
2536 char *_kwnames
[] = { "self", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2543 if (! wxRect_helper(_obj0
, &_arg0
))
2547 wxPy_BEGIN_ALLOW_THREADS
;
2548 _result
= (int )wxRect_GetRight(_arg0
);
2550 wxPy_END_ALLOW_THREADS
;
2551 if (PyErr_Occurred()) return NULL
;
2552 } _resultobj
= Py_BuildValue("i",_result
);
2556 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2557 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2562 PyObject
* _obj0
= 0;
2563 char *_kwnames
[] = { "self","left", NULL
};
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2570 if (! wxRect_helper(_obj0
, &_arg0
))
2574 wxPy_BEGIN_ALLOW_THREADS
;
2575 wxRect_SetLeft(_arg0
,_arg1
);
2577 wxPy_END_ALLOW_THREADS
;
2578 if (PyErr_Occurred()) return NULL
;
2579 } Py_INCREF(Py_None
);
2580 _resultobj
= Py_None
;
2584 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2585 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2590 PyObject
* _obj0
= 0;
2591 char *_kwnames
[] = { "self","right", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2598 if (! wxRect_helper(_obj0
, &_arg0
))
2602 wxPy_BEGIN_ALLOW_THREADS
;
2603 wxRect_SetRight(_arg0
,_arg1
);
2605 wxPy_END_ALLOW_THREADS
;
2606 if (PyErr_Occurred()) return NULL
;
2607 } Py_INCREF(Py_None
);
2608 _resultobj
= Py_None
;
2612 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2613 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2618 PyObject
* _obj0
= 0;
2619 char *_kwnames
[] = { "self","top", NULL
};
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2626 if (! wxRect_helper(_obj0
, &_arg0
))
2630 wxPy_BEGIN_ALLOW_THREADS
;
2631 wxRect_SetTop(_arg0
,_arg1
);
2633 wxPy_END_ALLOW_THREADS
;
2634 if (PyErr_Occurred()) return NULL
;
2635 } Py_INCREF(Py_None
);
2636 _resultobj
= Py_None
;
2640 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2641 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
* _resultobj
;
2646 PyObject
* _obj0
= 0;
2647 char *_kwnames
[] = { "self","bottom", NULL
};
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2654 if (! wxRect_helper(_obj0
, &_arg0
))
2658 wxPy_BEGIN_ALLOW_THREADS
;
2659 wxRect_SetBottom(_arg0
,_arg1
);
2661 wxPy_END_ALLOW_THREADS
;
2662 if (PyErr_Occurred()) return NULL
;
2663 } Py_INCREF(Py_None
);
2664 _resultobj
= Py_None
;
2668 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2669 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
* _resultobj
;
2675 PyObject
* _obj0
= 0;
2676 char *_kwnames
[] = { "self","dx","dy", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2683 if (! wxRect_helper(_obj0
, &_arg0
))
2687 wxPy_BEGIN_ALLOW_THREADS
;
2688 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2690 wxPy_END_ALLOW_THREADS
;
2691 if (PyErr_Occurred()) return NULL
;
2692 } Py_INCREF(Py_None
);
2693 _resultobj
= Py_None
;
2697 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2698 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
* _resultobj
;
2705 PyObject
* _obj0
= 0;
2706 char *_kwnames
[] = { "self","cx","cy", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2713 if (! wxRect_helper(_obj0
, &_arg0
))
2717 wxPy_BEGIN_ALLOW_THREADS
;
2718 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2720 wxPy_END_ALLOW_THREADS
;
2721 if (PyErr_Occurred()) return NULL
;
2722 } _resultobj
= Py_BuildValue("i",_result
);
2726 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2727 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
* _resultobj
;
2733 PyObject
* _obj0
= 0;
2734 char *_kwnames
[] = { "self","x", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2741 if (! wxRect_helper(_obj0
, &_arg0
))
2745 wxPy_BEGIN_ALLOW_THREADS
;
2746 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2748 wxPy_END_ALLOW_THREADS
;
2749 if (PyErr_Occurred()) return NULL
;
2750 } _resultobj
= Py_BuildValue("i",_result
);
2754 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2755 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2756 PyObject
* _resultobj
;
2760 PyObject
* _obj0
= 0;
2761 char *_kwnames
[] = { "self", NULL
};
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2768 if (! wxRect_helper(_obj0
, &_arg0
))
2772 wxPy_BEGIN_ALLOW_THREADS
;
2773 _result
= (int )wxRect_x_get(_arg0
);
2775 wxPy_END_ALLOW_THREADS
;
2776 if (PyErr_Occurred()) return NULL
;
2777 } _resultobj
= Py_BuildValue("i",_result
);
2781 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2782 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
* _resultobj
;
2788 PyObject
* _obj0
= 0;
2789 char *_kwnames
[] = { "self","y", NULL
};
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2796 if (! wxRect_helper(_obj0
, &_arg0
))
2800 wxPy_BEGIN_ALLOW_THREADS
;
2801 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2803 wxPy_END_ALLOW_THREADS
;
2804 if (PyErr_Occurred()) return NULL
;
2805 } _resultobj
= Py_BuildValue("i",_result
);
2809 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2810 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2815 PyObject
* _obj0
= 0;
2816 char *_kwnames
[] = { "self", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2823 if (! wxRect_helper(_obj0
, &_arg0
))
2827 wxPy_BEGIN_ALLOW_THREADS
;
2828 _result
= (int )wxRect_y_get(_arg0
);
2830 wxPy_END_ALLOW_THREADS
;
2831 if (PyErr_Occurred()) return NULL
;
2832 } _resultobj
= Py_BuildValue("i",_result
);
2836 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2837 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2843 PyObject
* _obj0
= 0;
2844 char *_kwnames
[] = { "self","width", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2851 if (! wxRect_helper(_obj0
, &_arg0
))
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2858 wxPy_END_ALLOW_THREADS
;
2859 if (PyErr_Occurred()) return NULL
;
2860 } _resultobj
= Py_BuildValue("i",_result
);
2864 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2865 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
* _resultobj
;
2870 PyObject
* _obj0
= 0;
2871 char *_kwnames
[] = { "self", NULL
};
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2878 if (! wxRect_helper(_obj0
, &_arg0
))
2882 wxPy_BEGIN_ALLOW_THREADS
;
2883 _result
= (int )wxRect_width_get(_arg0
);
2885 wxPy_END_ALLOW_THREADS
;
2886 if (PyErr_Occurred()) return NULL
;
2887 } _resultobj
= Py_BuildValue("i",_result
);
2891 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2892 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
* _resultobj
;
2898 PyObject
* _obj0
= 0;
2899 char *_kwnames
[] = { "self","height", NULL
};
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2906 if (! wxRect_helper(_obj0
, &_arg0
))
2910 wxPy_BEGIN_ALLOW_THREADS
;
2911 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2913 wxPy_END_ALLOW_THREADS
;
2914 if (PyErr_Occurred()) return NULL
;
2915 } _resultobj
= Py_BuildValue("i",_result
);
2919 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2920 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2925 PyObject
* _obj0
= 0;
2926 char *_kwnames
[] = { "self", NULL
};
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2933 if (! wxRect_helper(_obj0
, &_arg0
))
2937 wxPy_BEGIN_ALLOW_THREADS
;
2938 _result
= (int )wxRect_height_get(_arg0
);
2940 wxPy_END_ALLOW_THREADS
;
2941 if (PyErr_Occurred()) return NULL
;
2942 } _resultobj
= Py_BuildValue("i",_result
);
2946 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2947 PyObject
* tup
= PyTuple_New(4);
2948 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2949 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2950 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2951 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2954 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
* _resultobj
;
2959 PyObject
* _obj0
= 0;
2960 char *_kwnames
[] = { "self", NULL
};
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2967 if (! wxRect_helper(_obj0
, &_arg0
))
2971 wxPy_BEGIN_ALLOW_THREADS
;
2972 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2974 wxPy_END_ALLOW_THREADS
;
2975 if (PyErr_Occurred()) return NULL
;
2977 _resultobj
= _result
;
2982 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2983 if (! rect
) return *self
;
2984 return *self
+ *rect
;
2986 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2992 PyObject
* _obj0
= 0;
2994 PyObject
* _obj1
= 0;
2995 char *_kwnames
[] = { "self","rect", NULL
};
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3003 if (! wxRect_helper(_obj0
, &_arg0
))
3008 if (! wxRect_helper(_obj1
, &_arg1
))
3012 wxPy_BEGIN_ALLOW_THREADS
;
3013 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3015 wxPy_END_ALLOW_THREADS
;
3016 if (PyErr_Occurred()) return NULL
;
3017 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3018 _resultobj
= Py_BuildValue("s",_ptemp
);
3022 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3023 if (! rect
) return 1;
3024 if (*self
== *rect
) return 0;
3027 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3033 PyObject
* _obj0
= 0;
3035 PyObject
* _obj1
= 0;
3036 char *_kwnames
[] = { "self","rect", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3043 if (! wxRect_helper(_obj0
, &_arg0
))
3048 if (! wxRect_helper(_obj1
, &_arg1
))
3052 wxPy_BEGIN_ALLOW_THREADS
;
3053 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3055 wxPy_END_ALLOW_THREADS
;
3056 if (PyErr_Occurred()) return NULL
;
3057 } _resultobj
= Py_BuildValue("i",_result
);
3061 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3062 wxIndividualLayoutConstraint
*src
;
3064 src
= (wxIndividualLayoutConstraint
*) ptr
;
3065 dest
= (wxObject
*) src
;
3066 return (void *) dest
;
3069 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3070 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
* _resultobj
;
3072 wxIndividualLayoutConstraint
* _arg0
;
3074 int _arg2
= (int ) 0;
3075 PyObject
* _argo0
= 0;
3076 PyObject
* _argo1
= 0;
3077 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3097 wxPy_BEGIN_ALLOW_THREADS
;
3098 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3100 wxPy_END_ALLOW_THREADS
;
3101 if (PyErr_Occurred()) return NULL
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3108 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3110 wxIndividualLayoutConstraint
* _arg0
;
3112 PyObject
* _argo0
= 0;
3113 char *_kwnames
[] = { "self","value", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3129 wxPy_END_ALLOW_THREADS
;
3130 if (PyErr_Occurred()) return NULL
;
3131 } Py_INCREF(Py_None
);
3132 _resultobj
= Py_None
;
3136 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3137 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3139 wxIndividualLayoutConstraint
* _arg0
;
3140 PyObject
* _argo0
= 0;
3141 char *_kwnames
[] = { "self", NULL
};
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3154 wxPy_BEGIN_ALLOW_THREADS
;
3155 wxIndividualLayoutConstraint_AsIs(_arg0
);
3157 wxPy_END_ALLOW_THREADS
;
3158 if (PyErr_Occurred()) return NULL
;
3159 } Py_INCREF(Py_None
);
3160 _resultobj
= Py_None
;
3164 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3165 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3167 wxIndividualLayoutConstraint
* _arg0
;
3169 int _arg2
= (int ) 0;
3170 PyObject
* _argo0
= 0;
3171 PyObject
* _argo1
= 0;
3172 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3185 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3186 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3192 wxPy_BEGIN_ALLOW_THREADS
;
3193 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3195 wxPy_END_ALLOW_THREADS
;
3196 if (PyErr_Occurred()) return NULL
;
3197 } Py_INCREF(Py_None
);
3198 _resultobj
= Py_None
;
3202 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3203 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
* _resultobj
;
3205 wxIndividualLayoutConstraint
* _arg0
;
3206 PyObject
* _argo0
= 0;
3207 char *_kwnames
[] = { "self", NULL
};
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3220 wxPy_BEGIN_ALLOW_THREADS
;
3221 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3223 wxPy_END_ALLOW_THREADS
;
3224 if (PyErr_Occurred()) return NULL
;
3225 } Py_INCREF(Py_None
);
3226 _resultobj
= Py_None
;
3230 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3231 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
* _resultobj
;
3233 wxIndividualLayoutConstraint
* _arg0
;
3235 int _arg2
= (int ) 0;
3236 PyObject
* _argo0
= 0;
3237 PyObject
* _argo1
= 0;
3238 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3251 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3252 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3258 wxPy_BEGIN_ALLOW_THREADS
;
3259 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3261 wxPy_END_ALLOW_THREADS
;
3262 if (PyErr_Occurred()) return NULL
;
3263 } Py_INCREF(Py_None
);
3264 _resultobj
= Py_None
;
3268 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3269 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
* _resultobj
;
3271 wxIndividualLayoutConstraint
* _arg0
;
3275 PyObject
* _argo0
= 0;
3276 PyObject
* _argo1
= 0;
3277 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3290 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3291 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3297 wxPy_BEGIN_ALLOW_THREADS
;
3298 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3300 wxPy_END_ALLOW_THREADS
;
3301 if (PyErr_Occurred()) return NULL
;
3302 } Py_INCREF(Py_None
);
3303 _resultobj
= Py_None
;
3307 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3308 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3310 wxIndividualLayoutConstraint
* _arg0
;
3312 int _arg2
= (int ) 0;
3313 PyObject
* _argo0
= 0;
3314 PyObject
* _argo1
= 0;
3315 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3335 wxPy_BEGIN_ALLOW_THREADS
;
3336 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3338 wxPy_END_ALLOW_THREADS
;
3339 if (PyErr_Occurred()) return NULL
;
3340 } Py_INCREF(Py_None
);
3341 _resultobj
= Py_None
;
3345 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3346 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3348 wxIndividualLayoutConstraint
* _arg0
;
3351 int _arg3
= (int ) 0;
3352 PyObject
* _argo0
= 0;
3353 PyObject
* _argo1
= 0;
3354 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3367 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3368 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3374 wxPy_BEGIN_ALLOW_THREADS
;
3375 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3377 wxPy_END_ALLOW_THREADS
;
3378 if (PyErr_Occurred()) return NULL
;
3379 } Py_INCREF(Py_None
);
3380 _resultobj
= Py_None
;
3384 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3385 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
* _resultobj
;
3387 wxIndividualLayoutConstraint
* _arg0
;
3388 wxRelationship _arg1
;
3391 int _arg4
= (int ) 0;
3392 int _arg5
= (int ) 0;
3393 PyObject
* _argo0
= 0;
3394 PyObject
* _argo2
= 0;
3395 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3408 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3415 wxPy_BEGIN_ALLOW_THREADS
;
3416 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3418 wxPy_END_ALLOW_THREADS
;
3419 if (PyErr_Occurred()) return NULL
;
3420 } Py_INCREF(Py_None
);
3421 _resultobj
= Py_None
;
3425 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3426 wxLayoutConstraints
*src
;
3428 src
= (wxLayoutConstraints
*) ptr
;
3429 dest
= (wxObject
*) src
;
3430 return (void *) dest
;
3433 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3434 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
* _resultobj
;
3436 wxLayoutConstraints
* _result
;
3437 char *_kwnames
[] = { NULL
};
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3444 wxPy_BEGIN_ALLOW_THREADS
;
3445 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3447 wxPy_END_ALLOW_THREADS
;
3448 if (PyErr_Occurred()) return NULL
;
3450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3451 _resultobj
= Py_BuildValue("s",_ptemp
);
3454 _resultobj
= Py_None
;
3459 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3460 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3462 wxIndividualLayoutConstraint
* _result
;
3463 wxLayoutConstraints
* _arg0
;
3464 PyObject
* _argo0
= 0;
3465 char *_kwnames
[] = { "self", NULL
};
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3479 wxPy_BEGIN_ALLOW_THREADS
;
3480 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3482 wxPy_END_ALLOW_THREADS
;
3483 if (PyErr_Occurred()) return NULL
;
3485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3486 _resultobj
= Py_BuildValue("s",_ptemp
);
3489 _resultobj
= Py_None
;
3494 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3495 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
* _resultobj
;
3497 wxIndividualLayoutConstraint
* _result
;
3498 wxLayoutConstraints
* _arg0
;
3499 PyObject
* _argo0
= 0;
3500 char *_kwnames
[] = { "self", NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3514 wxPy_BEGIN_ALLOW_THREADS
;
3515 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3517 wxPy_END_ALLOW_THREADS
;
3518 if (PyErr_Occurred()) return NULL
;
3520 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3521 _resultobj
= Py_BuildValue("s",_ptemp
);
3524 _resultobj
= Py_None
;
3529 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3530 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
* _resultobj
;
3532 wxIndividualLayoutConstraint
* _result
;
3533 wxLayoutConstraints
* _arg0
;
3534 PyObject
* _argo0
= 0;
3535 char *_kwnames
[] = { "self", NULL
};
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3549 wxPy_BEGIN_ALLOW_THREADS
;
3550 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3552 wxPy_END_ALLOW_THREADS
;
3553 if (PyErr_Occurred()) return NULL
;
3555 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3556 _resultobj
= Py_BuildValue("s",_ptemp
);
3559 _resultobj
= Py_None
;
3564 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3565 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
* _resultobj
;
3567 wxIndividualLayoutConstraint
* _result
;
3568 wxLayoutConstraints
* _arg0
;
3569 PyObject
* _argo0
= 0;
3570 char *_kwnames
[] = { "self", NULL
};
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3584 wxPy_BEGIN_ALLOW_THREADS
;
3585 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3587 wxPy_END_ALLOW_THREADS
;
3588 if (PyErr_Occurred()) return NULL
;
3590 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3591 _resultobj
= Py_BuildValue("s",_ptemp
);
3594 _resultobj
= Py_None
;
3599 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3600 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3602 wxIndividualLayoutConstraint
* _result
;
3603 wxLayoutConstraints
* _arg0
;
3604 PyObject
* _argo0
= 0;
3605 char *_kwnames
[] = { "self", NULL
};
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3619 wxPy_BEGIN_ALLOW_THREADS
;
3620 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3622 wxPy_END_ALLOW_THREADS
;
3623 if (PyErr_Occurred()) return NULL
;
3625 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3626 _resultobj
= Py_BuildValue("s",_ptemp
);
3629 _resultobj
= Py_None
;
3634 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3635 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
* _resultobj
;
3637 wxIndividualLayoutConstraint
* _result
;
3638 wxLayoutConstraints
* _arg0
;
3639 PyObject
* _argo0
= 0;
3640 char *_kwnames
[] = { "self", NULL
};
3644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3654 wxPy_BEGIN_ALLOW_THREADS
;
3655 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3657 wxPy_END_ALLOW_THREADS
;
3658 if (PyErr_Occurred()) return NULL
;
3660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3661 _resultobj
= Py_BuildValue("s",_ptemp
);
3664 _resultobj
= Py_None
;
3669 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3670 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3672 wxIndividualLayoutConstraint
* _result
;
3673 wxLayoutConstraints
* _arg0
;
3674 PyObject
* _argo0
= 0;
3675 char *_kwnames
[] = { "self", NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3689 wxPy_BEGIN_ALLOW_THREADS
;
3690 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3692 wxPy_END_ALLOW_THREADS
;
3693 if (PyErr_Occurred()) return NULL
;
3695 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3696 _resultobj
= Py_BuildValue("s",_ptemp
);
3699 _resultobj
= Py_None
;
3704 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3705 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3707 wxIndividualLayoutConstraint
* _result
;
3708 wxLayoutConstraints
* _arg0
;
3709 PyObject
* _argo0
= 0;
3710 char *_kwnames
[] = { "self", NULL
};
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3724 wxPy_BEGIN_ALLOW_THREADS
;
3725 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3727 wxPy_END_ALLOW_THREADS
;
3728 if (PyErr_Occurred()) return NULL
;
3730 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3731 _resultobj
= Py_BuildValue("s",_ptemp
);
3734 _resultobj
= Py_None
;
3739 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3740 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
* _resultobj
;
3742 wxAcceleratorEntry
* _result
;
3743 int _arg0
= (int ) 0;
3744 int _arg1
= (int ) 0;
3745 int _arg2
= (int ) 0;
3746 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3753 wxPy_BEGIN_ALLOW_THREADS
;
3754 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3756 wxPy_END_ALLOW_THREADS
;
3757 if (PyErr_Occurred()) return NULL
;
3759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3760 _resultobj
= Py_BuildValue("s",_ptemp
);
3763 _resultobj
= Py_None
;
3768 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3769 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
* _resultobj
;
3771 wxAcceleratorEntry
* _arg0
;
3772 PyObject
* _argo0
= 0;
3773 char *_kwnames
[] = { "self", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3786 wxPy_BEGIN_ALLOW_THREADS
;
3787 delete_wxAcceleratorEntry(_arg0
);
3789 wxPy_END_ALLOW_THREADS
;
3790 if (PyErr_Occurred()) return NULL
;
3791 } Py_INCREF(Py_None
);
3792 _resultobj
= Py_None
;
3796 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3797 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
* _resultobj
;
3799 wxAcceleratorEntry
* _arg0
;
3803 PyObject
* _argo0
= 0;
3804 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3817 wxPy_BEGIN_ALLOW_THREADS
;
3818 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3820 wxPy_END_ALLOW_THREADS
;
3821 if (PyErr_Occurred()) return NULL
;
3822 } Py_INCREF(Py_None
);
3823 _resultobj
= Py_None
;
3827 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3828 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
* _resultobj
;
3831 wxAcceleratorEntry
* _arg0
;
3832 PyObject
* _argo0
= 0;
3833 char *_kwnames
[] = { "self", NULL
};
3836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3846 wxPy_BEGIN_ALLOW_THREADS
;
3847 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3849 wxPy_END_ALLOW_THREADS
;
3850 if (PyErr_Occurred()) return NULL
;
3851 } _resultobj
= Py_BuildValue("i",_result
);
3855 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3856 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
* _resultobj
;
3859 wxAcceleratorEntry
* _arg0
;
3860 PyObject
* _argo0
= 0;
3861 char *_kwnames
[] = { "self", NULL
};
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3874 wxPy_BEGIN_ALLOW_THREADS
;
3875 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3877 wxPy_END_ALLOW_THREADS
;
3878 if (PyErr_Occurred()) return NULL
;
3879 } _resultobj
= Py_BuildValue("i",_result
);
3883 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3884 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
* _resultobj
;
3887 wxAcceleratorEntry
* _arg0
;
3888 PyObject
* _argo0
= 0;
3889 char *_kwnames
[] = { "self", NULL
};
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3902 wxPy_BEGIN_ALLOW_THREADS
;
3903 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3905 wxPy_END_ALLOW_THREADS
;
3906 if (PyErr_Occurred()) return NULL
;
3907 } _resultobj
= Py_BuildValue("i",_result
);
3911 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3912 wxAcceleratorTable
*src
;
3914 src
= (wxAcceleratorTable
*) ptr
;
3915 dest
= (wxObject
*) src
;
3916 return (void *) dest
;
3919 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3920 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3922 wxAcceleratorTable
* _result
;
3924 wxAcceleratorEntry
* _arg1
;
3925 PyObject
* _obj1
= 0;
3926 char *_kwnames
[] = { "choices", NULL
};
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3934 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3935 if (_arg1
== NULL
) {
3941 _arg0
= PyList_Size(_obj1
);
3948 wxPy_BEGIN_ALLOW_THREADS
;
3949 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3951 wxPy_END_ALLOW_THREADS
;
3952 if (PyErr_Occurred()) return NULL
;
3954 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3955 _resultobj
= Py_BuildValue("s",_ptemp
);
3958 _resultobj
= Py_None
;
3966 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
3967 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
* _resultobj
;
3969 wxAcceleratorTable
* _arg0
;
3970 PyObject
* _argo0
= 0;
3971 char *_kwnames
[] = { "self", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 delete_wxAcceleratorTable(_arg0
);
3987 wxPy_END_ALLOW_THREADS
;
3988 if (PyErr_Occurred()) return NULL
;
3989 } Py_INCREF(Py_None
);
3990 _resultobj
= Py_None
;
3994 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
3997 src
= (wxBusyInfo
*) ptr
;
3998 dest
= (wxObject
*) src
;
3999 return (void *) dest
;
4002 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4003 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
* _resultobj
;
4005 wxBusyInfo
* _result
;
4007 PyObject
* _obj0
= 0;
4008 char *_kwnames
[] = { "message", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4015 #if PYTHON_API_VERSION >= 1009
4016 char* tmpPtr
; int tmpSize
;
4017 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4018 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4021 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4023 _arg0
= new wxString(tmpPtr
, tmpSize
);
4025 if (!PyString_Check(_obj0
)) {
4026 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4029 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4033 wxPy_BEGIN_ALLOW_THREADS
;
4034 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4036 wxPy_END_ALLOW_THREADS
;
4037 if (PyErr_Occurred()) return NULL
;
4039 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4040 _resultobj
= Py_BuildValue("s",_ptemp
);
4043 _resultobj
= Py_None
;
4052 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4053 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
* _resultobj
;
4056 PyObject
* _argo0
= 0;
4057 char *_kwnames
[] = { "self", NULL
};
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4070 wxPy_BEGIN_ALLOW_THREADS
;
4071 delete_wxBusyInfo(_arg0
);
4073 wxPy_END_ALLOW_THREADS
;
4074 if (PyErr_Occurred()) return NULL
;
4075 } Py_INCREF(Py_None
);
4076 _resultobj
= Py_None
;
4080 static PyMethodDef misccMethods
[] = {
4081 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4082 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4083 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4084 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4085 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4086 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4087 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4088 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4089 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4090 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4091 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4092 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4093 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4094 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4095 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4096 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4097 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4098 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4099 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4100 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4101 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4102 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4103 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4104 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4105 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4106 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4107 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4108 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4109 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4110 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4111 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4112 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4113 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4114 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4115 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4116 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4117 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4118 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4119 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4120 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4121 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4122 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4123 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4124 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4125 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4126 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4127 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4128 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4129 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4205 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4206 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4207 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4208 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4209 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4210 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4211 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4212 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4224 * This table is used by the pointer type-checker
4226 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4227 { "_signed_long","_long",0},
4228 { "_wxPrintQuality","_wxCoord",0},
4229 { "_wxPrintQuality","_int",0},
4230 { "_wxPrintQuality","_signed_int",0},
4231 { "_wxPrintQuality","_unsigned_int",0},
4232 { "_wxPrintQuality","_wxWindowID",0},
4233 { "_wxPrintQuality","_uint",0},
4234 { "_wxPrintQuality","_EBool",0},
4235 { "_wxPrintQuality","_size_t",0},
4236 { "_wxPrintQuality","_time_t",0},
4237 { "_byte","_unsigned_char",0},
4238 { "_long","_unsigned_long",0},
4239 { "_long","_signed_long",0},
4240 { "_size_t","_wxCoord",0},
4241 { "_size_t","_wxPrintQuality",0},
4242 { "_size_t","_time_t",0},
4243 { "_size_t","_unsigned_int",0},
4244 { "_size_t","_int",0},
4245 { "_size_t","_wxWindowID",0},
4246 { "_size_t","_uint",0},
4247 { "_uint","_wxCoord",0},
4248 { "_uint","_wxPrintQuality",0},
4249 { "_uint","_time_t",0},
4250 { "_uint","_size_t",0},
4251 { "_uint","_unsigned_int",0},
4252 { "_uint","_int",0},
4253 { "_uint","_wxWindowID",0},
4254 { "_wxChar","_char",0},
4255 { "_char","_wxChar",0},
4256 { "_EBool","_wxCoord",0},
4257 { "_EBool","_wxPrintQuality",0},
4258 { "_EBool","_signed_int",0},
4259 { "_EBool","_int",0},
4260 { "_EBool","_wxWindowID",0},
4261 { "_unsigned_long","_long",0},
4262 { "_signed_int","_wxCoord",0},
4263 { "_signed_int","_wxPrintQuality",0},
4264 { "_signed_int","_EBool",0},
4265 { "_signed_int","_wxWindowID",0},
4266 { "_signed_int","_int",0},
4267 { "_WXTYPE","_short",0},
4268 { "_WXTYPE","_signed_short",0},
4269 { "_WXTYPE","_unsigned_short",0},
4270 { "_unsigned_short","_WXTYPE",0},
4271 { "_unsigned_short","_short",0},
4272 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4273 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4274 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4275 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4276 { "_signed_short","_WXTYPE",0},
4277 { "_signed_short","_short",0},
4278 { "_unsigned_char","_byte",0},
4279 { "_unsigned_int","_wxCoord",0},
4280 { "_unsigned_int","_wxPrintQuality",0},
4281 { "_unsigned_int","_time_t",0},
4282 { "_unsigned_int","_size_t",0},
4283 { "_unsigned_int","_uint",0},
4284 { "_unsigned_int","_wxWindowID",0},
4285 { "_unsigned_int","_int",0},
4286 { "_short","_WXTYPE",0},
4287 { "_short","_unsigned_short",0},
4288 { "_short","_signed_short",0},
4289 { "_wxWindowID","_wxCoord",0},
4290 { "_wxWindowID","_wxPrintQuality",0},
4291 { "_wxWindowID","_time_t",0},
4292 { "_wxWindowID","_size_t",0},
4293 { "_wxWindowID","_EBool",0},
4294 { "_wxWindowID","_uint",0},
4295 { "_wxWindowID","_int",0},
4296 { "_wxWindowID","_signed_int",0},
4297 { "_wxWindowID","_unsigned_int",0},
4298 { "_int","_wxCoord",0},
4299 { "_int","_wxPrintQuality",0},
4300 { "_int","_time_t",0},
4301 { "_int","_size_t",0},
4302 { "_int","_EBool",0},
4303 { "_int","_uint",0},
4304 { "_int","_wxWindowID",0},
4305 { "_int","_unsigned_int",0},
4306 { "_int","_signed_int",0},
4307 { "_time_t","_wxCoord",0},
4308 { "_time_t","_wxPrintQuality",0},
4309 { "_time_t","_unsigned_int",0},
4310 { "_time_t","_int",0},
4311 { "_time_t","_wxWindowID",0},
4312 { "_time_t","_uint",0},
4313 { "_time_t","_size_t",0},
4314 { "_wxCoord","_int",0},
4315 { "_wxCoord","_signed_int",0},
4316 { "_wxCoord","_unsigned_int",0},
4317 { "_wxCoord","_wxWindowID",0},
4318 { "_wxCoord","_uint",0},
4319 { "_wxCoord","_EBool",0},
4320 { "_wxCoord","_size_t",0},
4321 { "_wxCoord","_time_t",0},
4322 { "_wxCoord","_wxPrintQuality",0},
4325 static PyObject
*SWIG_globals
;
4329 SWIGEXPORT(void) initmiscc() {
4331 SWIG_globals
= SWIG_newvarlink();
4332 m
= Py_InitModule("miscc", misccMethods
);
4333 d
= PyModule_GetDict(m
);
4334 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4335 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4336 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4337 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4338 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4339 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4340 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4341 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4342 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4343 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4344 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4345 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4346 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4347 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4348 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4349 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4350 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4351 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4352 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4353 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4354 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4357 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4358 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);