2 * FILE : src/mac/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 required";
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 wxPyBeginBlockThreads();
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 wxPyEndBlockThreads();
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
161 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
163 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
181 _result
= (long )wxNewId();
183 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
201 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
218 _result
= (long )wxNewId();
220 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
238 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
255 _result
= (long )wxGetCurrentId();
257 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
274 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
292 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
312 _result
= (long )wxGetElapsedTime(_arg0
);
314 wxPyEndAllowThreads(__tstate
);
315 if (PyErr_Occurred()) return NULL
;
316 } _resultobj
= Py_BuildValue("l",_result
);
320 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
326 char *_kwnames
[] = { NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
339 wxGetMousePosition(_arg0
,_arg1
);
341 wxPyEndAllowThreads(__tstate
);
342 if (PyErr_Occurred()) return NULL
;
343 } Py_INCREF(Py_None
);
344 _resultobj
= Py_None
;
347 o
= PyInt_FromLong((long) (*_arg0
));
348 _resultobj
= t_output_helper(_resultobj
, o
);
352 o
= PyInt_FromLong((long) (*_arg1
));
353 _resultobj
= t_output_helper(_resultobj
, o
);
358 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
359 PyObject
* _resultobj
;
361 char *_kwnames
[] = { NULL
};
364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
368 _result
= (bool )wxIsBusy();
370 wxPyEndAllowThreads(__tstate
);
371 if (PyErr_Occurred()) return NULL
;
372 } _resultobj
= Py_BuildValue("i",_result
);
376 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
377 PyObject
* _resultobj
;
379 char *_kwnames
[] = { NULL
};
382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
386 _result
= new wxString (wxNow());
388 wxPyEndAllowThreads(__tstate
);
389 if (PyErr_Occurred()) return NULL
;
391 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
399 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
400 PyObject
* _resultobj
;
402 wxString
* _arg0
= (wxString
*) &wxPyEmptyStr
;
403 PyObject
* _obj0
= 0;
404 char *_kwnames
[] = { "command", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
411 #if PYTHON_API_VERSION >= 1009
412 char* tmpPtr
; int tmpSize
;
413 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
414 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
417 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
419 _arg0
= new wxString(tmpPtr
, tmpSize
);
421 if (!PyString_Check(_obj0
)) {
422 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
425 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
430 _result
= (bool )wxShell(*_arg0
);
432 wxPyEndAllowThreads(__tstate
);
433 if (PyErr_Occurred()) return NULL
;
434 } _resultobj
= Py_BuildValue("i",_result
);
442 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
444 char *_kwnames
[] = { NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) return NULL
;
455 } Py_INCREF(Py_None
);
456 _resultobj
= Py_None
;
460 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
467 char *_kwnames
[] = { NULL
};
476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
480 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
482 wxPyEndAllowThreads(__tstate
);
483 if (PyErr_Occurred()) return NULL
;
484 } _resultobj
= Py_BuildValue("i",_result
);
487 o
= PyInt_FromLong((long) (*_arg0
));
488 _resultobj
= t_output_helper(_resultobj
, o
);
492 o
= PyInt_FromLong((long) (*_arg1
));
493 _resultobj
= t_output_helper(_resultobj
, o
);
498 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
499 PyObject
* _resultobj
;
501 char *_kwnames
[] = { NULL
};
504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
508 _result
= new wxString (wxGetOsDescription());
510 wxPyEndAllowThreads(__tstate
);
511 if (PyErr_Occurred()) return NULL
;
513 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
521 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
522 PyObject
* _resultobj
;
524 char *_kwnames
[] = { "secs", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
533 wxPyEndAllowThreads(__tstate
);
534 if (PyErr_Occurred()) return NULL
;
535 } Py_INCREF(Py_None
);
536 _resultobj
= Py_None
;
540 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
543 char *_kwnames
[] = { "milliseconds", NULL
};
546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
552 wxPyEndAllowThreads(__tstate
);
553 if (PyErr_Occurred()) return NULL
;
554 } Py_INCREF(Py_None
);
555 _resultobj
= Py_None
;
559 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
560 PyObject
* _resultobj
;
562 char *_kwnames
[] = { NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
569 _result
= (bool )wxYield();
571 wxPyEndAllowThreads(__tstate
);
572 if (PyErr_Occurred()) return NULL
;
573 } _resultobj
= Py_BuildValue("i",_result
);
577 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
580 char *_kwnames
[] = { NULL
};
583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
587 _result
= (bool )wxYieldIfNeeded();
589 wxPyEndAllowThreads(__tstate
);
590 if (PyErr_Occurred()) return NULL
;
591 } _resultobj
= Py_BuildValue("i",_result
);
595 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
599 char *_kwnames
[] = { "enable", NULL
};
602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
604 _arg0
= (bool ) tempbool0
;
606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
607 wxEnableTopLevelWindows(_arg0
);
609 wxPyEndAllowThreads(__tstate
);
610 if (PyErr_Occurred()) return NULL
;
611 } Py_INCREF(Py_None
);
612 _resultobj
= Py_None
;
616 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
617 PyObject
* _resultobj
;
621 char * _arg2
= (char *) NULL
;
622 char *_kwnames
[] = { "section","entry","file", NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
629 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
631 wxPyEndAllowThreads(__tstate
);
632 if (PyErr_Occurred()) return NULL
;
633 } _resultobj
= Py_BuildValue("s", _result
);
637 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
638 PyObject
* _resultobj
;
641 PyObject
* _obj0
= 0;
642 char *_kwnames
[] = { "in", NULL
};
645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
648 #if PYTHON_API_VERSION >= 1009
649 char* tmpPtr
; int tmpSize
;
650 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
654 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
656 _arg0
= new wxString(tmpPtr
, tmpSize
);
658 if (!PyString_Check(_obj0
)) {
659 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
662 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
667 _result
= new wxString (wxStripMenuCodes(*_arg0
));
669 wxPyEndAllowThreads(__tstate
);
670 if (PyErr_Occurred()) return NULL
;
672 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
684 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
685 PyObject
* _resultobj
;
687 char *_kwnames
[] = { NULL
};
690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
694 _result
= new wxString (wxGetEmailAddress());
696 wxPyEndAllowThreads(__tstate
);
697 if (PyErr_Occurred()) return NULL
;
699 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
707 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
710 char *_kwnames
[] = { NULL
};
713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
717 _result
= new wxString (wxGetHostName());
719 wxPyEndAllowThreads(__tstate
);
720 if (PyErr_Occurred()) return NULL
;
722 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
730 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
731 PyObject
* _resultobj
;
733 char *_kwnames
[] = { NULL
};
736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
740 _result
= new wxString (wxGetFullHostName());
742 wxPyEndAllowThreads(__tstate
);
743 if (PyErr_Occurred()) return NULL
;
745 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
753 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
756 char *_kwnames
[] = { NULL
};
759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
763 _result
= new wxString (wxGetUserId());
765 wxPyEndAllowThreads(__tstate
);
766 if (PyErr_Occurred()) return NULL
;
768 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
776 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
779 char *_kwnames
[] = { NULL
};
782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
786 _result
= new wxString (wxGetUserName());
788 wxPyEndAllowThreads(__tstate
);
789 if (PyErr_Occurred()) return NULL
;
791 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
799 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
802 char *_kwnames
[] = { NULL
};
805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
809 _result
= new wxString (wxGetHomeDir());
811 wxPyEndAllowThreads(__tstate
);
812 if (PyErr_Occurred()) return NULL
;
814 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
822 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
825 char * _arg0
= (char *) "";
826 char *_kwnames
[] = { "user", NULL
};
829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:wxGetUserHome",_kwnames
,&_arg0
))
832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
833 _result
= new wxString (wxGetUserHome(_arg0
));
835 wxPyEndAllowThreads(__tstate
);
836 if (PyErr_Occurred()) return NULL
;
838 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
846 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
847 PyObject
* _resultobj
;
848 wxAcceleratorEntry
* _result
;
850 PyObject
* _obj0
= 0;
851 char *_kwnames
[] = { "label", NULL
};
855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
858 #if PYTHON_API_VERSION >= 1009
859 char* tmpPtr
; int tmpSize
;
860 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
864 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
866 _arg0
= new wxString(tmpPtr
, tmpSize
);
868 if (!PyString_Check(_obj0
)) {
869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
872 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
877 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
879 wxPyEndAllowThreads(__tstate
);
880 if (PyErr_Occurred()) return NULL
;
882 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
883 _resultobj
= Py_BuildValue("s",_ptemp
);
886 _resultobj
= Py_None
;
895 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
897 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
901 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
905 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
906 pyobj
= PyString_FromString(ptemp
);
910 static const char * wxObject_GetClassName(wxObject
*self
) {
911 return self
->GetClassInfo()->GetClassName();
913 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
914 PyObject
* _resultobj
;
917 PyObject
* _argo0
= 0;
918 char *_kwnames
[] = { "self", NULL
};
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
932 _result
= (char *)wxObject_GetClassName(_arg0
);
934 wxPyEndAllowThreads(__tstate
);
935 if (PyErr_Occurred()) return NULL
;
936 } _resultobj
= Py_BuildValue("s", _result
);
940 static void wxObject_Destroy(wxObject
*self
) {
943 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
944 PyObject
* _resultobj
;
946 PyObject
* _argo0
= 0;
947 char *_kwnames
[] = { "self", NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
961 wxObject_Destroy(_arg0
);
963 wxPyEndAllowThreads(__tstate
);
964 if (PyErr_Occurred()) return NULL
;
965 } Py_INCREF(Py_None
);
966 _resultobj
= Py_None
;
970 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
971 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
977 PyObject
* _obj0
= 0;
978 char *_kwnames
[] = { "self","x", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
985 if (! wxSize_helper(_obj0
, &_arg0
))
989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
990 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
992 wxPyEndAllowThreads(__tstate
);
993 if (PyErr_Occurred()) return NULL
;
994 } _resultobj
= Py_BuildValue("l",_result
);
998 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
999 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
* _resultobj
;
1004 PyObject
* _obj0
= 0;
1005 char *_kwnames
[] = { "self", NULL
};
1008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1012 if (! wxSize_helper(_obj0
, &_arg0
))
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 _result
= (long )wxSize_x_get(_arg0
);
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1021 } _resultobj
= Py_BuildValue("l",_result
);
1025 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1026 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1027 PyObject
* _resultobj
;
1032 PyObject
* _obj0
= 0;
1033 char *_kwnames
[] = { "self","y", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1040 if (! wxSize_helper(_obj0
, &_arg0
))
1044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1045 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1047 wxPyEndAllowThreads(__tstate
);
1048 if (PyErr_Occurred()) return NULL
;
1049 } _resultobj
= Py_BuildValue("l",_result
);
1053 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1054 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1055 PyObject
* _resultobj
;
1059 PyObject
* _obj0
= 0;
1060 char *_kwnames
[] = { "self", NULL
};
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1067 if (! wxSize_helper(_obj0
, &_arg0
))
1071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1072 _result
= (long )wxSize_y_get(_arg0
);
1074 wxPyEndAllowThreads(__tstate
);
1075 if (PyErr_Occurred()) return NULL
;
1076 } _resultobj
= Py_BuildValue("l",_result
);
1080 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1081 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1084 long _arg0
= (long ) 0;
1085 long _arg1
= (long ) 0;
1086 char *_kwnames
[] = { "w","h", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1094 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1096 wxPyEndAllowThreads(__tstate
);
1097 if (PyErr_Occurred()) return NULL
;
1099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1100 _resultobj
= Py_BuildValue("s",_ptemp
);
1103 _resultobj
= Py_None
;
1108 #define delete_wxSize(_swigobj) (delete _swigobj)
1109 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
* _resultobj
;
1113 PyObject
* _obj0
= 0;
1114 char *_kwnames
[] = { "self", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1121 if (! wxSize_helper(_obj0
, &_arg0
))
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 delete_wxSize(_arg0
);
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } Py_INCREF(Py_None
);
1131 _resultobj
= Py_None
;
1135 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1136 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
* _resultobj
;
1142 PyObject
* _obj0
= 0;
1143 char *_kwnames
[] = { "self","w","h", NULL
};
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1150 if (! wxSize_helper(_obj0
, &_arg0
))
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 wxSize_Set(_arg0
,_arg1
,_arg2
);
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) return NULL
;
1159 } Py_INCREF(Py_None
);
1160 _resultobj
= Py_None
;
1164 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1165 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
* _resultobj
;
1170 PyObject
* _obj0
= 0;
1171 char *_kwnames
[] = { "self", NULL
};
1174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1178 if (! wxSize_helper(_obj0
, &_arg0
))
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 _result
= (long )wxSize_GetX(_arg0
);
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) return NULL
;
1187 } _resultobj
= Py_BuildValue("l",_result
);
1191 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1192 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1197 PyObject
* _obj0
= 0;
1198 char *_kwnames
[] = { "self", NULL
};
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1205 if (! wxSize_helper(_obj0
, &_arg0
))
1209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1210 _result
= (long )wxSize_GetY(_arg0
);
1212 wxPyEndAllowThreads(__tstate
);
1213 if (PyErr_Occurred()) return NULL
;
1214 } _resultobj
= Py_BuildValue("l",_result
);
1218 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1219 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1224 PyObject
* _obj0
= 0;
1225 char *_kwnames
[] = { "self", NULL
};
1228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1232 if (! wxSize_helper(_obj0
, &_arg0
))
1236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1237 _result
= (long )wxSize_GetWidth(_arg0
);
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) return NULL
;
1241 } _resultobj
= Py_BuildValue("l",_result
);
1245 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1246 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
* _resultobj
;
1251 PyObject
* _obj0
= 0;
1252 char *_kwnames
[] = { "self", NULL
};
1255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1259 if (! wxSize_helper(_obj0
, &_arg0
))
1263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1264 _result
= (long )wxSize_GetHeight(_arg0
);
1266 wxPyEndAllowThreads(__tstate
);
1267 if (PyErr_Occurred()) return NULL
;
1268 } _resultobj
= Py_BuildValue("l",_result
);
1272 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1273 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
* _resultobj
;
1278 PyObject
* _obj0
= 0;
1279 char *_kwnames
[] = { "self","w", NULL
};
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1286 if (! wxSize_helper(_obj0
, &_arg0
))
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 wxSize_SetWidth(_arg0
,_arg1
);
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) return NULL
;
1295 } Py_INCREF(Py_None
);
1296 _resultobj
= Py_None
;
1300 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1301 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
* _resultobj
;
1306 PyObject
* _obj0
= 0;
1307 char *_kwnames
[] = { "self","h", NULL
};
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1314 if (! wxSize_helper(_obj0
, &_arg0
))
1318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1319 wxSize_SetHeight(_arg0
,_arg1
);
1321 wxPyEndAllowThreads(__tstate
);
1322 if (PyErr_Occurred()) return NULL
;
1323 } Py_INCREF(Py_None
);
1324 _resultobj
= Py_None
;
1328 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1329 PyObject
* tup
= PyTuple_New(2);
1330 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1331 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1334 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
* _resultobj
;
1339 PyObject
* _obj0
= 0;
1340 char *_kwnames
[] = { "self", NULL
};
1343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1347 if (! wxSize_helper(_obj0
, &_arg0
))
1351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1352 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1354 wxPyEndAllowThreads(__tstate
);
1355 if (PyErr_Occurred()) return NULL
;
1357 _resultobj
= _result
;
1362 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1364 if (*self
== *sz
) return 0;
1367 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1373 PyObject
* _obj0
= 0;
1375 PyObject
* _obj1
= 0;
1376 char *_kwnames
[] = { "self","sz", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1383 if (! wxSize_helper(_obj0
, &_arg0
))
1388 if (! wxSize_helper(_obj1
, &_arg1
))
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) return NULL
;
1397 } _resultobj
= Py_BuildValue("i",_result
);
1401 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1402 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1405 wxRealPoint
* _arg0
;
1408 PyObject
* _obj0
= 0;
1409 char *_kwnames
[] = { "self","x", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1416 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1421 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1423 wxPyEndAllowThreads(__tstate
);
1424 if (PyErr_Occurred()) return NULL
;
1425 } _resultobj
= Py_BuildValue("d",_result
);
1429 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1430 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1433 wxRealPoint
* _arg0
;
1435 PyObject
* _obj0
= 0;
1436 char *_kwnames
[] = { "self", NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1443 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 _result
= (double )wxRealPoint_x_get(_arg0
);
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) return NULL
;
1452 } _resultobj
= Py_BuildValue("d",_result
);
1456 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1457 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1460 wxRealPoint
* _arg0
;
1463 PyObject
* _obj0
= 0;
1464 char *_kwnames
[] = { "self","y", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1471 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) return NULL
;
1480 } _resultobj
= Py_BuildValue("d",_result
);
1484 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1485 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
* _resultobj
;
1488 wxRealPoint
* _arg0
;
1490 PyObject
* _obj0
= 0;
1491 char *_kwnames
[] = { "self", NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1498 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1503 _result
= (double )wxRealPoint_y_get(_arg0
);
1505 wxPyEndAllowThreads(__tstate
);
1506 if (PyErr_Occurred()) return NULL
;
1507 } _resultobj
= Py_BuildValue("d",_result
);
1511 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1512 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1514 wxRealPoint
* _result
;
1515 double _arg0
= (double ) 0.0;
1516 double _arg1
= (double ) 0.0;
1517 char *_kwnames
[] = { "x","y", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) return NULL
;
1530 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1531 _resultobj
= Py_BuildValue("s",_ptemp
);
1534 _resultobj
= Py_None
;
1539 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1540 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
* _resultobj
;
1542 wxRealPoint
* _arg0
;
1544 PyObject
* _obj0
= 0;
1545 char *_kwnames
[] = { "self", NULL
};
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1552 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1557 delete_wxRealPoint(_arg0
);
1559 wxPyEndAllowThreads(__tstate
);
1560 if (PyErr_Occurred()) return NULL
;
1561 } Py_INCREF(Py_None
);
1562 _resultobj
= Py_None
;
1566 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1570 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1572 wxRealPoint
* _arg0
;
1576 PyObject
* _obj0
= 0;
1577 char *_kwnames
[] = { "self","x","y", NULL
};
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1584 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1589 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) return NULL
;
1593 } Py_INCREF(Py_None
);
1594 _resultobj
= Py_None
;
1598 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1599 PyObject
* tup
= PyTuple_New(2);
1600 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1601 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1604 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1607 wxRealPoint
* _arg0
;
1609 PyObject
* _obj0
= 0;
1610 char *_kwnames
[] = { "self", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1617 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1622 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1624 wxPyEndAllowThreads(__tstate
);
1625 if (PyErr_Occurred()) return NULL
;
1627 _resultobj
= _result
;
1632 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1633 if (! p
) return *self
;
1636 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1638 wxRealPoint
* _result
;
1639 wxRealPoint
* _arg0
;
1640 wxRealPoint
* _arg1
;
1642 PyObject
* _obj0
= 0;
1644 PyObject
* _obj1
= 0;
1645 char *_kwnames
[] = { "self","p", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1653 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1658 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) return NULL
;
1667 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1668 _resultobj
= Py_BuildValue("s",_ptemp
);
1672 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1673 if (! p
) return *self
;
1676 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
* _resultobj
;
1678 wxRealPoint
* _result
;
1679 wxRealPoint
* _arg0
;
1680 wxRealPoint
* _arg1
;
1682 PyObject
* _obj0
= 0;
1684 PyObject
* _obj1
= 0;
1685 char *_kwnames
[] = { "self","p", NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1693 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1698 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) return NULL
;
1707 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1708 _resultobj
= Py_BuildValue("s",_ptemp
);
1712 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1714 if (*self
== *p
) return 0;
1717 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1720 wxRealPoint
* _arg0
;
1721 wxRealPoint
* _arg1
;
1723 PyObject
* _obj0
= 0;
1725 PyObject
* _obj1
= 0;
1726 char *_kwnames
[] = { "self","p", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1733 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1738 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) return NULL
;
1747 } _resultobj
= Py_BuildValue("i",_result
);
1751 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1752 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1758 PyObject
* _obj0
= 0;
1759 char *_kwnames
[] = { "self","x", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1766 if (! wxPoint_helper(_obj0
, &_arg0
))
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) return NULL
;
1775 } _resultobj
= Py_BuildValue("l",_result
);
1779 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1780 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1785 PyObject
* _obj0
= 0;
1786 char *_kwnames
[] = { "self", NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1793 if (! wxPoint_helper(_obj0
, &_arg0
))
1797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1798 _result
= (long )wxPoint_x_get(_arg0
);
1800 wxPyEndAllowThreads(__tstate
);
1801 if (PyErr_Occurred()) return NULL
;
1802 } _resultobj
= Py_BuildValue("l",_result
);
1806 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1807 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1813 PyObject
* _obj0
= 0;
1814 char *_kwnames
[] = { "self","y", NULL
};
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1821 if (! wxPoint_helper(_obj0
, &_arg0
))
1825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1826 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1828 wxPyEndAllowThreads(__tstate
);
1829 if (PyErr_Occurred()) return NULL
;
1830 } _resultobj
= Py_BuildValue("l",_result
);
1834 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1835 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1840 PyObject
* _obj0
= 0;
1841 char *_kwnames
[] = { "self", NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1848 if (! wxPoint_helper(_obj0
, &_arg0
))
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 _result
= (long )wxPoint_y_get(_arg0
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) return NULL
;
1857 } _resultobj
= Py_BuildValue("l",_result
);
1861 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1862 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
* _resultobj
;
1865 long _arg0
= (long ) 0;
1866 long _arg1
= (long ) 0;
1867 char *_kwnames
[] = { "x","y", NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1875 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1877 wxPyEndAllowThreads(__tstate
);
1878 if (PyErr_Occurred()) return NULL
;
1880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1881 _resultobj
= Py_BuildValue("s",_ptemp
);
1884 _resultobj
= Py_None
;
1889 #define delete_wxPoint(_swigobj) (delete _swigobj)
1890 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
* _resultobj
;
1894 PyObject
* _obj0
= 0;
1895 char *_kwnames
[] = { "self", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1902 if (! wxPoint_helper(_obj0
, &_arg0
))
1906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1907 delete_wxPoint(_arg0
);
1909 wxPyEndAllowThreads(__tstate
);
1910 if (PyErr_Occurred()) return NULL
;
1911 } Py_INCREF(Py_None
);
1912 _resultobj
= Py_None
;
1916 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1920 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
* _resultobj
;
1926 PyObject
* _obj0
= 0;
1927 char *_kwnames
[] = { "self","x","y", NULL
};
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1934 if (! wxPoint_helper(_obj0
, &_arg0
))
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) return NULL
;
1943 } Py_INCREF(Py_None
);
1944 _resultobj
= Py_None
;
1948 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1949 PyObject
* tup
= PyTuple_New(2);
1950 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1951 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1954 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1959 PyObject
* _obj0
= 0;
1960 char *_kwnames
[] = { "self", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1967 if (! wxPoint_helper(_obj0
, &_arg0
))
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) return NULL
;
1977 _resultobj
= _result
;
1982 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1983 if (! p
) return *self
;
1986 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1992 PyObject
* _obj0
= 0;
1994 PyObject
* _obj1
= 0;
1995 char *_kwnames
[] = { "self","p", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2003 if (! wxPoint_helper(_obj0
, &_arg0
))
2008 if (! wxPoint_helper(_obj1
, &_arg1
))
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) return NULL
;
2017 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2018 _resultobj
= Py_BuildValue("s",_ptemp
);
2022 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2023 if (! p
) return *self
;
2026 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2032 PyObject
* _obj0
= 0;
2034 PyObject
* _obj1
= 0;
2035 char *_kwnames
[] = { "self","p", NULL
};
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2043 if (! wxPoint_helper(_obj0
, &_arg0
))
2048 if (! wxPoint_helper(_obj1
, &_arg1
))
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) return NULL
;
2057 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2058 _resultobj
= Py_BuildValue("s",_ptemp
);
2062 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2064 if (*self
== *p
) return 0;
2067 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2073 PyObject
* _obj0
= 0;
2075 PyObject
* _obj1
= 0;
2076 char *_kwnames
[] = { "self","p", NULL
};
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2083 if (! wxPoint_helper(_obj0
, &_arg0
))
2088 if (! wxPoint_helper(_obj1
, &_arg1
))
2092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2095 wxPyEndAllowThreads(__tstate
);
2096 if (PyErr_Occurred()) return NULL
;
2097 } _resultobj
= Py_BuildValue("i",_result
);
2101 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2102 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2105 int _arg0
= (int ) 0;
2106 int _arg1
= (int ) 0;
2107 int _arg2
= (int ) 0;
2108 int _arg3
= (int ) 0;
2109 char *_kwnames
[] = { "x","y","w","h", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) return NULL
;
2122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2123 _resultobj
= Py_BuildValue("s",_ptemp
);
2126 _resultobj
= Py_None
;
2131 #define delete_wxRect(_swigobj) (delete _swigobj)
2132 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
* _resultobj
;
2136 PyObject
* _obj0
= 0;
2137 char *_kwnames
[] = { "self", NULL
};
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2144 if (! wxRect_helper(_obj0
, &_arg0
))
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 delete_wxRect(_arg0
);
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) return NULL
;
2153 } Py_INCREF(Py_None
);
2154 _resultobj
= Py_None
;
2158 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2159 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2164 PyObject
* _obj0
= 0;
2165 char *_kwnames
[] = { "self", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2172 if (! wxRect_helper(_obj0
, &_arg0
))
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 _result
= (int )wxRect_GetX(_arg0
);
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) return NULL
;
2181 } _resultobj
= Py_BuildValue("i",_result
);
2185 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2186 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2191 PyObject
* _obj0
= 0;
2192 char *_kwnames
[] = { "self","X", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2199 if (! wxRect_helper(_obj0
, &_arg0
))
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 wxRect_SetX(_arg0
,_arg1
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) return NULL
;
2208 } Py_INCREF(Py_None
);
2209 _resultobj
= Py_None
;
2213 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2214 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2219 PyObject
* _obj0
= 0;
2220 char *_kwnames
[] = { "self", NULL
};
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2227 if (! wxRect_helper(_obj0
, &_arg0
))
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 _result
= (int )wxRect_GetY(_arg0
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) return NULL
;
2236 } _resultobj
= Py_BuildValue("i",_result
);
2240 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2241 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2246 PyObject
* _obj0
= 0;
2247 char *_kwnames
[] = { "self","Y", NULL
};
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2254 if (! wxRect_helper(_obj0
, &_arg0
))
2258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 wxRect_SetY(_arg0
,_arg1
);
2261 wxPyEndAllowThreads(__tstate
);
2262 if (PyErr_Occurred()) return NULL
;
2263 } Py_INCREF(Py_None
);
2264 _resultobj
= Py_None
;
2268 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2269 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2274 PyObject
* _obj0
= 0;
2275 char *_kwnames
[] = { "self", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2282 if (! wxRect_helper(_obj0
, &_arg0
))
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 _result
= (int )wxRect_GetWidth(_arg0
);
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) return NULL
;
2291 } _resultobj
= Py_BuildValue("i",_result
);
2295 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2296 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2301 PyObject
* _obj0
= 0;
2302 char *_kwnames
[] = { "self","w", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2309 if (! wxRect_helper(_obj0
, &_arg0
))
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 wxRect_SetWidth(_arg0
,_arg1
);
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) return NULL
;
2318 } Py_INCREF(Py_None
);
2319 _resultobj
= Py_None
;
2323 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2324 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2329 PyObject
* _obj0
= 0;
2330 char *_kwnames
[] = { "self", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2337 if (! wxRect_helper(_obj0
, &_arg0
))
2341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2342 _result
= (int )wxRect_GetHeight(_arg0
);
2344 wxPyEndAllowThreads(__tstate
);
2345 if (PyErr_Occurred()) return NULL
;
2346 } _resultobj
= Py_BuildValue("i",_result
);
2350 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2351 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2356 PyObject
* _obj0
= 0;
2357 char *_kwnames
[] = { "self","h", NULL
};
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2364 if (! wxRect_helper(_obj0
, &_arg0
))
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 wxRect_SetHeight(_arg0
,_arg1
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) return NULL
;
2373 } Py_INCREF(Py_None
);
2374 _resultobj
= Py_None
;
2378 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2379 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
* _resultobj
;
2384 PyObject
* _obj0
= 0;
2385 char *_kwnames
[] = { "self", NULL
};
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2393 if (! wxRect_helper(_obj0
, &_arg0
))
2397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2398 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2400 wxPyEndAllowThreads(__tstate
);
2401 if (PyErr_Occurred()) return NULL
;
2402 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2403 _resultobj
= Py_BuildValue("s",_ptemp
);
2407 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2408 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2413 PyObject
* _obj0
= 0;
2414 char *_kwnames
[] = { "self", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2422 if (! wxRect_helper(_obj0
, &_arg0
))
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 _result
= new wxSize (wxRect_GetSize(_arg0
));
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) return NULL
;
2431 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2432 _resultobj
= Py_BuildValue("s",_ptemp
);
2436 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2437 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2442 PyObject
* _obj0
= 0;
2443 char *_kwnames
[] = { "self", NULL
};
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2450 if (! wxRect_helper(_obj0
, &_arg0
))
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 _result
= (int )wxRect_GetLeft(_arg0
);
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) return NULL
;
2459 } _resultobj
= Py_BuildValue("i",_result
);
2463 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2464 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2469 PyObject
* _obj0
= 0;
2470 char *_kwnames
[] = { "self", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2477 if (! wxRect_helper(_obj0
, &_arg0
))
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 _result
= (int )wxRect_GetTop(_arg0
);
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) return NULL
;
2486 } _resultobj
= Py_BuildValue("i",_result
);
2490 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2491 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
* _resultobj
;
2496 PyObject
* _obj0
= 0;
2497 char *_kwnames
[] = { "self", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2504 if (! wxRect_helper(_obj0
, &_arg0
))
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 _result
= (int )wxRect_GetBottom(_arg0
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) return NULL
;
2513 } _resultobj
= Py_BuildValue("i",_result
);
2517 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2518 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2523 PyObject
* _obj0
= 0;
2524 char *_kwnames
[] = { "self", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2531 if (! wxRect_helper(_obj0
, &_arg0
))
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 _result
= (int )wxRect_GetRight(_arg0
);
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) return NULL
;
2540 } _resultobj
= Py_BuildValue("i",_result
);
2544 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2545 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2550 PyObject
* _obj0
= 0;
2551 char *_kwnames
[] = { "self","left", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2558 if (! wxRect_helper(_obj0
, &_arg0
))
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 wxRect_SetLeft(_arg0
,_arg1
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) return NULL
;
2567 } Py_INCREF(Py_None
);
2568 _resultobj
= Py_None
;
2572 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2573 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
* _resultobj
;
2578 PyObject
* _obj0
= 0;
2579 char *_kwnames
[] = { "self","right", NULL
};
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2586 if (! wxRect_helper(_obj0
, &_arg0
))
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 wxRect_SetRight(_arg0
,_arg1
);
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) return NULL
;
2595 } Py_INCREF(Py_None
);
2596 _resultobj
= Py_None
;
2600 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2601 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
* _resultobj
;
2606 PyObject
* _obj0
= 0;
2607 char *_kwnames
[] = { "self","top", NULL
};
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2614 if (! wxRect_helper(_obj0
, &_arg0
))
2618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2619 wxRect_SetTop(_arg0
,_arg1
);
2621 wxPyEndAllowThreads(__tstate
);
2622 if (PyErr_Occurred()) return NULL
;
2623 } Py_INCREF(Py_None
);
2624 _resultobj
= Py_None
;
2628 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2629 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
* _resultobj
;
2634 PyObject
* _obj0
= 0;
2635 char *_kwnames
[] = { "self","bottom", NULL
};
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2642 if (! wxRect_helper(_obj0
, &_arg0
))
2646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2647 wxRect_SetBottom(_arg0
,_arg1
);
2649 wxPyEndAllowThreads(__tstate
);
2650 if (PyErr_Occurred()) return NULL
;
2651 } Py_INCREF(Py_None
);
2652 _resultobj
= Py_None
;
2656 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2657 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
* _resultobj
;
2663 PyObject
* _obj0
= 0;
2664 char *_kwnames
[] = { "self","dx","dy", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2671 if (! wxRect_helper(_obj0
, &_arg0
))
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) return NULL
;
2680 } Py_INCREF(Py_None
);
2681 _resultobj
= Py_None
;
2685 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2686 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2693 PyObject
* _obj0
= 0;
2694 char *_kwnames
[] = { "self","cx","cy", NULL
};
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2701 if (! wxRect_helper(_obj0
, &_arg0
))
2705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2706 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2708 wxPyEndAllowThreads(__tstate
);
2709 if (PyErr_Occurred()) return NULL
;
2710 } _resultobj
= Py_BuildValue("i",_result
);
2714 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2715 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
* _resultobj
;
2721 PyObject
* _obj0
= 0;
2722 char *_kwnames
[] = { "self","x", NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2729 if (! wxRect_helper(_obj0
, &_arg0
))
2733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2734 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2736 wxPyEndAllowThreads(__tstate
);
2737 if (PyErr_Occurred()) return NULL
;
2738 } _resultobj
= Py_BuildValue("i",_result
);
2742 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2743 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
* _resultobj
;
2748 PyObject
* _obj0
= 0;
2749 char *_kwnames
[] = { "self", NULL
};
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2756 if (! wxRect_helper(_obj0
, &_arg0
))
2760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2761 _result
= (int )wxRect_x_get(_arg0
);
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) return NULL
;
2765 } _resultobj
= Py_BuildValue("i",_result
);
2769 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2770 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2771 PyObject
* _resultobj
;
2776 PyObject
* _obj0
= 0;
2777 char *_kwnames
[] = { "self","y", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2784 if (! wxRect_helper(_obj0
, &_arg0
))
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) return NULL
;
2793 } _resultobj
= Py_BuildValue("i",_result
);
2797 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2798 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
* _resultobj
;
2803 PyObject
* _obj0
= 0;
2804 char *_kwnames
[] = { "self", NULL
};
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2811 if (! wxRect_helper(_obj0
, &_arg0
))
2815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 _result
= (int )wxRect_y_get(_arg0
);
2818 wxPyEndAllowThreads(__tstate
);
2819 if (PyErr_Occurred()) return NULL
;
2820 } _resultobj
= Py_BuildValue("i",_result
);
2824 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2825 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2831 PyObject
* _obj0
= 0;
2832 char *_kwnames
[] = { "self","width", NULL
};
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2839 if (! wxRect_helper(_obj0
, &_arg0
))
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) return NULL
;
2848 } _resultobj
= Py_BuildValue("i",_result
);
2852 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2853 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2858 PyObject
* _obj0
= 0;
2859 char *_kwnames
[] = { "self", NULL
};
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2866 if (! wxRect_helper(_obj0
, &_arg0
))
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 _result
= (int )wxRect_width_get(_arg0
);
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) return NULL
;
2875 } _resultobj
= Py_BuildValue("i",_result
);
2879 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2880 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2886 PyObject
* _obj0
= 0;
2887 char *_kwnames
[] = { "self","height", NULL
};
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2894 if (! wxRect_helper(_obj0
, &_arg0
))
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) return NULL
;
2903 } _resultobj
= Py_BuildValue("i",_result
);
2907 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2908 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2913 PyObject
* _obj0
= 0;
2914 char *_kwnames
[] = { "self", NULL
};
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2921 if (! wxRect_helper(_obj0
, &_arg0
))
2925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2926 _result
= (int )wxRect_height_get(_arg0
);
2928 wxPyEndAllowThreads(__tstate
);
2929 if (PyErr_Occurred()) return NULL
;
2930 } _resultobj
= Py_BuildValue("i",_result
);
2934 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2935 PyObject
* tup
= PyTuple_New(4);
2936 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2937 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2938 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2939 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2942 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
* _resultobj
;
2947 PyObject
* _obj0
= 0;
2948 char *_kwnames
[] = { "self", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2955 if (! wxRect_helper(_obj0
, &_arg0
))
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) return NULL
;
2965 _resultobj
= _result
;
2970 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2971 if (! rect
) return *self
;
2972 return *self
+ *rect
;
2974 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
* _resultobj
;
2980 PyObject
* _obj0
= 0;
2982 PyObject
* _obj1
= 0;
2983 char *_kwnames
[] = { "self","rect", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2991 if (! wxRect_helper(_obj0
, &_arg0
))
2996 if (! wxRect_helper(_obj1
, &_arg1
))
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) return NULL
;
3005 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3006 _resultobj
= Py_BuildValue("s",_ptemp
);
3010 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3011 if (! rect
) return 1;
3012 if (*self
== *rect
) return 0;
3015 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3021 PyObject
* _obj0
= 0;
3023 PyObject
* _obj1
= 0;
3024 char *_kwnames
[] = { "self","rect", NULL
};
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3031 if (! wxRect_helper(_obj0
, &_arg0
))
3036 if (! wxRect_helper(_obj1
, &_arg1
))
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) return NULL
;
3045 } _resultobj
= Py_BuildValue("i",_result
);
3049 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3050 wxIndividualLayoutConstraint
*src
;
3052 src
= (wxIndividualLayoutConstraint
*) ptr
;
3053 dest
= (wxObject
*) src
;
3054 return (void *) dest
;
3057 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3058 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
* _resultobj
;
3060 wxIndividualLayoutConstraint
* _arg0
;
3062 int _arg2
= (int ) 0;
3063 PyObject
* _argo0
= 0;
3064 PyObject
* _argo1
= 0;
3065 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) return NULL
;
3090 } Py_INCREF(Py_None
);
3091 _resultobj
= Py_None
;
3095 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3096 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
* _resultobj
;
3098 wxIndividualLayoutConstraint
* _arg0
;
3100 PyObject
* _argo0
= 0;
3101 char *_kwnames
[] = { "self","value", NULL
};
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) return NULL
;
3119 } Py_INCREF(Py_None
);
3120 _resultobj
= Py_None
;
3124 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3125 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3127 wxIndividualLayoutConstraint
* _arg0
;
3128 PyObject
* _argo0
= 0;
3129 char *_kwnames
[] = { "self", NULL
};
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 wxIndividualLayoutConstraint_AsIs(_arg0
);
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) return NULL
;
3147 } Py_INCREF(Py_None
);
3148 _resultobj
= Py_None
;
3152 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3153 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
* _resultobj
;
3155 wxIndividualLayoutConstraint
* _arg0
;
3157 int _arg2
= (int ) 0;
3158 PyObject
* _argo0
= 0;
3159 PyObject
* _argo1
= 0;
3160 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3181 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3183 wxPyEndAllowThreads(__tstate
);
3184 if (PyErr_Occurred()) return NULL
;
3185 } Py_INCREF(Py_None
);
3186 _resultobj
= Py_None
;
3190 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3191 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3193 wxIndividualLayoutConstraint
* _arg0
;
3194 PyObject
* _argo0
= 0;
3195 char *_kwnames
[] = { "self", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) return NULL
;
3213 } Py_INCREF(Py_None
);
3214 _resultobj
= Py_None
;
3218 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3219 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
* _resultobj
;
3221 wxIndividualLayoutConstraint
* _arg0
;
3223 int _arg2
= (int ) 0;
3224 PyObject
* _argo0
= 0;
3225 PyObject
* _argo1
= 0;
3226 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3239 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3240 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) return NULL
;
3251 } Py_INCREF(Py_None
);
3252 _resultobj
= Py_None
;
3256 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3257 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
* _resultobj
;
3259 wxIndividualLayoutConstraint
* _arg0
;
3263 PyObject
* _argo0
= 0;
3264 PyObject
* _argo1
= 0;
3265 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) return NULL
;
3290 } Py_INCREF(Py_None
);
3291 _resultobj
= Py_None
;
3295 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3296 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
* _resultobj
;
3298 wxIndividualLayoutConstraint
* _arg0
;
3300 int _arg2
= (int ) 0;
3301 PyObject
* _argo0
= 0;
3302 PyObject
* _argo1
= 0;
3303 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) return NULL
;
3328 } Py_INCREF(Py_None
);
3329 _resultobj
= Py_None
;
3333 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3334 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3336 wxIndividualLayoutConstraint
* _arg0
;
3339 int _arg3
= (int ) 0;
3340 PyObject
* _argo0
= 0;
3341 PyObject
* _argo1
= 0;
3342 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3355 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3363 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) return NULL
;
3367 } Py_INCREF(Py_None
);
3368 _resultobj
= Py_None
;
3372 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3373 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
* _resultobj
;
3375 wxIndividualLayoutConstraint
* _arg0
;
3376 wxRelationship _arg1
;
3379 int _arg4
= (int ) 0;
3380 int _arg5
= (int ) 0;
3381 PyObject
* _argo0
= 0;
3382 PyObject
* _argo2
= 0;
3383 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3396 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) return NULL
;
3408 } Py_INCREF(Py_None
);
3409 _resultobj
= Py_None
;
3413 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3414 wxLayoutConstraints
*src
;
3416 src
= (wxLayoutConstraints
*) ptr
;
3417 dest
= (wxObject
*) src
;
3418 return (void *) dest
;
3421 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3422 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
* _resultobj
;
3424 wxLayoutConstraints
* _result
;
3425 char *_kwnames
[] = { NULL
};
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) return NULL
;
3438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3439 _resultobj
= Py_BuildValue("s",_ptemp
);
3442 _resultobj
= Py_None
;
3447 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3448 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3450 wxIndividualLayoutConstraint
* _result
;
3451 wxLayoutConstraints
* _arg0
;
3452 PyObject
* _argo0
= 0;
3453 char *_kwnames
[] = { "self", NULL
};
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3468 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) return NULL
;
3473 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3474 _resultobj
= Py_BuildValue("s",_ptemp
);
3477 _resultobj
= Py_None
;
3482 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3483 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3485 wxIndividualLayoutConstraint
* _result
;
3486 wxLayoutConstraints
* _arg0
;
3487 PyObject
* _argo0
= 0;
3488 char *_kwnames
[] = { "self", NULL
};
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) return NULL
;
3508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3509 _resultobj
= Py_BuildValue("s",_ptemp
);
3512 _resultobj
= Py_None
;
3517 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3518 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3520 wxIndividualLayoutConstraint
* _result
;
3521 wxLayoutConstraints
* _arg0
;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "self", NULL
};
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) return NULL
;
3543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3544 _resultobj
= Py_BuildValue("s",_ptemp
);
3547 _resultobj
= Py_None
;
3552 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3553 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3555 wxIndividualLayoutConstraint
* _result
;
3556 wxLayoutConstraints
* _arg0
;
3557 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) return NULL
;
3578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3579 _resultobj
= Py_BuildValue("s",_ptemp
);
3582 _resultobj
= Py_None
;
3587 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3588 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3590 wxIndividualLayoutConstraint
* _result
;
3591 wxLayoutConstraints
* _arg0
;
3592 PyObject
* _argo0
= 0;
3593 char *_kwnames
[] = { "self", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) return NULL
;
3613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3614 _resultobj
= Py_BuildValue("s",_ptemp
);
3617 _resultobj
= Py_None
;
3622 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3623 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
* _resultobj
;
3625 wxIndividualLayoutConstraint
* _result
;
3626 wxLayoutConstraints
* _arg0
;
3627 PyObject
* _argo0
= 0;
3628 char *_kwnames
[] = { "self", NULL
};
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) return NULL
;
3648 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3649 _resultobj
= Py_BuildValue("s",_ptemp
);
3652 _resultobj
= Py_None
;
3657 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3658 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
* _resultobj
;
3660 wxIndividualLayoutConstraint
* _result
;
3661 wxLayoutConstraints
* _arg0
;
3662 PyObject
* _argo0
= 0;
3663 char *_kwnames
[] = { "self", NULL
};
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) return NULL
;
3683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3684 _resultobj
= Py_BuildValue("s",_ptemp
);
3687 _resultobj
= Py_None
;
3692 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3693 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3695 wxIndividualLayoutConstraint
* _result
;
3696 wxLayoutConstraints
* _arg0
;
3697 PyObject
* _argo0
= 0;
3698 char *_kwnames
[] = { "self", NULL
};
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) return NULL
;
3718 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3719 _resultobj
= Py_BuildValue("s",_ptemp
);
3722 _resultobj
= Py_None
;
3727 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3728 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
* _resultobj
;
3730 wxAcceleratorEntry
* _result
;
3731 int _arg0
= (int ) 0;
3732 int _arg1
= (int ) 0;
3733 int _arg2
= (int ) 0;
3734 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) return NULL
;
3747 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3748 _resultobj
= Py_BuildValue("s",_ptemp
);
3751 _resultobj
= Py_None
;
3756 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3757 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
* _resultobj
;
3759 wxAcceleratorEntry
* _arg0
;
3760 PyObject
* _argo0
= 0;
3761 char *_kwnames
[] = { "self", NULL
};
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 delete_wxAcceleratorEntry(_arg0
);
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) return NULL
;
3779 } Py_INCREF(Py_None
);
3780 _resultobj
= Py_None
;
3784 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3785 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3787 wxAcceleratorEntry
* _arg0
;
3791 PyObject
* _argo0
= 0;
3792 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) return NULL
;
3810 } Py_INCREF(Py_None
);
3811 _resultobj
= Py_None
;
3815 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3816 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
* _resultobj
;
3819 wxAcceleratorEntry
* _arg0
;
3820 PyObject
* _argo0
= 0;
3821 char *_kwnames
[] = { "self", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) return NULL
;
3839 } _resultobj
= Py_BuildValue("i",_result
);
3843 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3844 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3847 wxAcceleratorEntry
* _arg0
;
3848 PyObject
* _argo0
= 0;
3849 char *_kwnames
[] = { "self", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) return NULL
;
3867 } _resultobj
= Py_BuildValue("i",_result
);
3871 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3872 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3875 wxAcceleratorEntry
* _arg0
;
3876 PyObject
* _argo0
= 0;
3877 char *_kwnames
[] = { "self", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) return NULL
;
3895 } _resultobj
= Py_BuildValue("i",_result
);
3899 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3900 wxAcceleratorTable
*src
;
3902 src
= (wxAcceleratorTable
*) ptr
;
3903 dest
= (wxObject
*) src
;
3904 return (void *) dest
;
3907 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3908 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
* _resultobj
;
3910 wxAcceleratorTable
* _result
;
3912 wxAcceleratorEntry
* _arg1
;
3913 PyObject
* _obj1
= 0;
3914 char *_kwnames
[] = { "choices", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3922 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3923 if (_arg1
== NULL
) {
3929 _arg0
= PyList_Size(_obj1
);
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) return NULL
;
3942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3943 _resultobj
= Py_BuildValue("s",_ptemp
);
3946 _resultobj
= Py_None
;
3954 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
3955 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
* _resultobj
;
3957 wxAcceleratorTable
* _arg0
;
3958 PyObject
* _argo0
= 0;
3959 char *_kwnames
[] = { "self", NULL
};
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
3965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
3967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 delete_wxAcceleratorTable(_arg0
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) return NULL
;
3977 } Py_INCREF(Py_None
);
3978 _resultobj
= Py_None
;
3982 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
3985 src
= (wxBusyInfo
*) ptr
;
3986 dest
= (wxObject
*) src
;
3987 return (void *) dest
;
3990 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
3991 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3993 wxBusyInfo
* _result
;
3995 PyObject
* _obj0
= 0;
3996 char *_kwnames
[] = { "message", NULL
};
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4003 #if PYTHON_API_VERSION >= 1009
4004 char* tmpPtr
; int tmpSize
;
4005 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4009 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4011 _arg0
= new wxString(tmpPtr
, tmpSize
);
4013 if (!PyString_Check(_obj0
)) {
4014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4017 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) return NULL
;
4027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4028 _resultobj
= Py_BuildValue("s",_ptemp
);
4031 _resultobj
= Py_None
;
4040 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4041 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
* _resultobj
;
4044 PyObject
* _argo0
= 0;
4045 char *_kwnames
[] = { "self", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 delete_wxBusyInfo(_arg0
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) return NULL
;
4063 } Py_INCREF(Py_None
);
4064 _resultobj
= Py_None
;
4068 static PyMethodDef misccMethods
[] = {
4069 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4070 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4071 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4072 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4073 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4074 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4075 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4076 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4077 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4078 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4079 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4080 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4081 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4082 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4083 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4084 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4085 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4086 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4087 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4088 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4089 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4090 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4091 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4092 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4093 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4094 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4095 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4096 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4097 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4098 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4099 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4100 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4101 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4102 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4103 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4104 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4105 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4106 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4107 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4108 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4109 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4110 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4111 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4112 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4113 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4114 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4115 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4116 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4117 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4118 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4119 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4120 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4121 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4122 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4123 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4124 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4125 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4126 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4127 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4128 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4129 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4211 * This table is used by the pointer type-checker
4213 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4214 { "_signed_long","_long",0},
4215 { "_wxPrintQuality","_wxCoord",0},
4216 { "_wxPrintQuality","_int",0},
4217 { "_wxPrintQuality","_signed_int",0},
4218 { "_wxPrintQuality","_unsigned_int",0},
4219 { "_wxPrintQuality","_wxWindowID",0},
4220 { "_wxPrintQuality","_uint",0},
4221 { "_wxPrintQuality","_EBool",0},
4222 { "_wxPrintQuality","_size_t",0},
4223 { "_wxPrintQuality","_time_t",0},
4224 { "_byte","_unsigned_char",0},
4225 { "_long","_unsigned_long",0},
4226 { "_long","_signed_long",0},
4227 { "_size_t","_wxCoord",0},
4228 { "_size_t","_wxPrintQuality",0},
4229 { "_size_t","_time_t",0},
4230 { "_size_t","_unsigned_int",0},
4231 { "_size_t","_int",0},
4232 { "_size_t","_wxWindowID",0},
4233 { "_size_t","_uint",0},
4234 { "_uint","_wxCoord",0},
4235 { "_uint","_wxPrintQuality",0},
4236 { "_uint","_time_t",0},
4237 { "_uint","_size_t",0},
4238 { "_uint","_unsigned_int",0},
4239 { "_uint","_int",0},
4240 { "_uint","_wxWindowID",0},
4241 { "_wxChar","_char",0},
4242 { "_char","_wxChar",0},
4243 { "_EBool","_wxCoord",0},
4244 { "_EBool","_wxPrintQuality",0},
4245 { "_EBool","_signed_int",0},
4246 { "_EBool","_int",0},
4247 { "_EBool","_wxWindowID",0},
4248 { "_unsigned_long","_long",0},
4249 { "_signed_int","_wxCoord",0},
4250 { "_signed_int","_wxPrintQuality",0},
4251 { "_signed_int","_EBool",0},
4252 { "_signed_int","_wxWindowID",0},
4253 { "_signed_int","_int",0},
4254 { "_WXTYPE","_short",0},
4255 { "_WXTYPE","_signed_short",0},
4256 { "_WXTYPE","_unsigned_short",0},
4257 { "_unsigned_short","_WXTYPE",0},
4258 { "_unsigned_short","_short",0},
4259 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4260 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4261 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4262 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4263 { "_signed_short","_WXTYPE",0},
4264 { "_signed_short","_short",0},
4265 { "_unsigned_char","_byte",0},
4266 { "_unsigned_int","_wxCoord",0},
4267 { "_unsigned_int","_wxPrintQuality",0},
4268 { "_unsigned_int","_time_t",0},
4269 { "_unsigned_int","_size_t",0},
4270 { "_unsigned_int","_uint",0},
4271 { "_unsigned_int","_wxWindowID",0},
4272 { "_unsigned_int","_int",0},
4273 { "_short","_WXTYPE",0},
4274 { "_short","_unsigned_short",0},
4275 { "_short","_signed_short",0},
4276 { "_wxWindowID","_wxCoord",0},
4277 { "_wxWindowID","_wxPrintQuality",0},
4278 { "_wxWindowID","_time_t",0},
4279 { "_wxWindowID","_size_t",0},
4280 { "_wxWindowID","_EBool",0},
4281 { "_wxWindowID","_uint",0},
4282 { "_wxWindowID","_int",0},
4283 { "_wxWindowID","_signed_int",0},
4284 { "_wxWindowID","_unsigned_int",0},
4285 { "_int","_wxCoord",0},
4286 { "_int","_wxPrintQuality",0},
4287 { "_int","_time_t",0},
4288 { "_int","_size_t",0},
4289 { "_int","_EBool",0},
4290 { "_int","_uint",0},
4291 { "_int","_wxWindowID",0},
4292 { "_int","_unsigned_int",0},
4293 { "_int","_signed_int",0},
4294 { "_time_t","_wxCoord",0},
4295 { "_time_t","_wxPrintQuality",0},
4296 { "_time_t","_unsigned_int",0},
4297 { "_time_t","_int",0},
4298 { "_time_t","_wxWindowID",0},
4299 { "_time_t","_uint",0},
4300 { "_time_t","_size_t",0},
4301 { "_wxCoord","_int",0},
4302 { "_wxCoord","_signed_int",0},
4303 { "_wxCoord","_unsigned_int",0},
4304 { "_wxCoord","_wxWindowID",0},
4305 { "_wxCoord","_uint",0},
4306 { "_wxCoord","_EBool",0},
4307 { "_wxCoord","_size_t",0},
4308 { "_wxCoord","_time_t",0},
4309 { "_wxCoord","_wxPrintQuality",0},
4312 static PyObject
*SWIG_globals
;
4316 SWIGEXPORT(void) initmiscc() {
4318 SWIG_globals
= SWIG_newvarlink();
4319 m
= Py_InitModule("miscc", misccMethods
);
4320 d
= PyModule_GetDict(m
);
4321 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4322 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4323 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4324 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4325 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4326 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4327 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4328 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4329 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4330 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4331 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4332 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4333 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4334 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4335 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4336 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4337 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4338 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4339 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4340 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4341 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4344 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4345 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);