2 * FILE : src/msw/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmiscc
56 #define SWIG_name "miscc"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/busyinfo.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 // Put some wx default wxChar* values into wxStrings.
91 static const wxString
wxPyEmptyString(wxT(""));
93 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
100 dest
= reg1
.GetBox();
102 if (dest
!= wxRect(0,0,0,0)) {
103 wxPyBeginBlockThreads();
104 wxRect
* newRect
= new wxRect(dest
);
105 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
106 PyObject
* one
= PyInt_FromLong(1);
107 PyObject_SetAttrString(obj
, "thisown", one
);
109 wxPyEndBlockThreads();
116 wxString
wxGetResource(const wxString
& section
, const wxString
& entry
,
117 const wxString
& file
= wxPyEmptyString
) {
119 wxGetResource(section
, entry
, &retval
, file
);
123 #if 0 // we want to use the definition from the header, not the
124 // one SWIG will generate.
125 extern wxAcceleratorTable wxNullAcceleratorTable
;
131 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
137 PyObject
* _obj0
= 0;
139 PyObject
* _obj1
= 0;
140 char *_kwnames
[] = { "r1","r2", NULL
};
143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
147 if (! wxRect_helper(_obj0
, &_arg0
))
152 if (! wxRect_helper(_obj1
, &_arg1
))
156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
157 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
159 wxPyEndAllowThreads(__tstate
);
160 if (PyErr_Occurred()) return NULL
;
162 _resultobj
= _result
;
167 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
168 PyObject
* _resultobj
;
170 char *_kwnames
[] = { NULL
};
173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
177 _result
= (long )wxNewId();
179 wxPyEndAllowThreads(__tstate
);
180 if (PyErr_Occurred()) return NULL
;
181 } _resultobj
= Py_BuildValue("l",_result
);
185 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
186 PyObject
* _resultobj
;
188 char *_kwnames
[] = { "id", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
197 wxPyEndAllowThreads(__tstate
);
198 if (PyErr_Occurred()) return NULL
;
199 } Py_INCREF(Py_None
);
200 _resultobj
= Py_None
;
204 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
205 PyObject
* _resultobj
;
207 char *_kwnames
[] = { NULL
};
210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
214 _result
= (long )wxNewId();
216 wxPyEndAllowThreads(__tstate
);
217 if (PyErr_Occurred()) return NULL
;
218 } _resultobj
= Py_BuildValue("l",_result
);
222 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
223 PyObject
* _resultobj
;
225 char *_kwnames
[] = { "id", NULL
};
228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
234 wxPyEndAllowThreads(__tstate
);
235 if (PyErr_Occurred()) return NULL
;
236 } Py_INCREF(Py_None
);
237 _resultobj
= Py_None
;
241 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
244 char *_kwnames
[] = { NULL
};
247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
251 _result
= (long )wxGetCurrentId();
253 wxPyEndAllowThreads(__tstate
);
254 if (PyErr_Occurred()) return NULL
;
255 } _resultobj
= Py_BuildValue("l",_result
);
259 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
260 PyObject
* _resultobj
;
261 char *_kwnames
[] = { NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
270 wxPyEndAllowThreads(__tstate
);
271 if (PyErr_Occurred()) return NULL
;
272 } Py_INCREF(Py_None
);
273 _resultobj
= Py_None
;
277 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
278 PyObject
* _resultobj
;
279 char *_kwnames
[] = { NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
288 wxPyEndAllowThreads(__tstate
);
289 if (PyErr_Occurred()) return NULL
;
290 } Py_INCREF(Py_None
);
291 _resultobj
= Py_None
;
295 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
296 PyObject
* _resultobj
;
298 bool _arg0
= (bool ) TRUE
;
299 int tempbool0
= (int) TRUE
;
300 char *_kwnames
[] = { "resetTimer", NULL
};
303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
305 _arg0
= (bool ) tempbool0
;
307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
308 _result
= (long )wxGetElapsedTime(_arg0
);
310 wxPyEndAllowThreads(__tstate
);
311 if (PyErr_Occurred()) return NULL
;
312 } _resultobj
= Py_BuildValue("l",_result
);
316 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
319 char *_kwnames
[] = { NULL
};
322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
326 _result
= (long )wxGetFreeMemory();
328 wxPyEndAllowThreads(__tstate
);
329 if (PyErr_Occurred()) return NULL
;
330 } _resultobj
= Py_BuildValue("l",_result
);
334 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
335 PyObject
* _resultobj
;
340 char *_kwnames
[] = { NULL
};
349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
353 wxGetMousePosition(_arg0
,_arg1
);
355 wxPyEndAllowThreads(__tstate
);
356 if (PyErr_Occurred()) return NULL
;
357 } Py_INCREF(Py_None
);
358 _resultobj
= Py_None
;
361 o
= PyInt_FromLong((long) (*_arg0
));
362 _resultobj
= t_output_helper(_resultobj
, o
);
366 o
= PyInt_FromLong((long) (*_arg1
));
367 _resultobj
= t_output_helper(_resultobj
, o
);
372 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
375 char *_kwnames
[] = { NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
382 _result
= (bool )wxIsBusy();
384 wxPyEndAllowThreads(__tstate
);
385 if (PyErr_Occurred()) return NULL
;
386 } _resultobj
= Py_BuildValue("i",_result
);
390 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
391 PyObject
* _resultobj
;
393 char *_kwnames
[] = { NULL
};
396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
400 _result
= new wxString (wxNow());
402 wxPyEndAllowThreads(__tstate
);
403 if (PyErr_Occurred()) return NULL
;
406 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
408 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
417 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
418 PyObject
* _resultobj
;
420 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
421 PyObject
* _obj0
= 0;
422 char *_kwnames
[] = { "command", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
429 _arg0
= wxString_in_helper(_obj0
);
434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
435 _result
= (bool )wxShell(*_arg0
);
437 wxPyEndAllowThreads(__tstate
);
438 if (PyErr_Occurred()) return NULL
;
439 } _resultobj
= Py_BuildValue("i",_result
);
447 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
448 PyObject
* _resultobj
;
449 char *_kwnames
[] = { NULL
};
452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
458 wxPyEndAllowThreads(__tstate
);
459 if (PyErr_Occurred()) return NULL
;
460 } Py_INCREF(Py_None
);
461 _resultobj
= Py_None
;
465 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
466 PyObject
* _resultobj
;
472 char *_kwnames
[] = { NULL
};
481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
485 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
487 wxPyEndAllowThreads(__tstate
);
488 if (PyErr_Occurred()) return NULL
;
489 } _resultobj
= Py_BuildValue("i",_result
);
492 o
= PyInt_FromLong((long) (*_arg0
));
493 _resultobj
= t_output_helper(_resultobj
, o
);
497 o
= PyInt_FromLong((long) (*_arg1
));
498 _resultobj
= t_output_helper(_resultobj
, o
);
503 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
504 PyObject
* _resultobj
;
506 char *_kwnames
[] = { NULL
};
509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
513 _result
= new wxString (wxGetOsDescription());
515 wxPyEndAllowThreads(__tstate
);
516 if (PyErr_Occurred()) return NULL
;
519 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
521 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
530 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
531 PyObject
* _resultobj
;
533 char *_kwnames
[] = { "secs", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
544 } Py_INCREF(Py_None
);
545 _resultobj
= Py_None
;
549 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
550 PyObject
* _resultobj
;
552 char *_kwnames
[] = { "milliseconds", NULL
};
555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
561 wxPyEndAllowThreads(__tstate
);
562 if (PyErr_Occurred()) return NULL
;
563 } Py_INCREF(Py_None
);
564 _resultobj
= Py_None
;
568 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
569 PyObject
* _resultobj
;
571 char *_kwnames
[] = { NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
578 _result
= (bool )wxYield();
580 wxPyEndAllowThreads(__tstate
);
581 if (PyErr_Occurred()) return NULL
;
582 } _resultobj
= Py_BuildValue("i",_result
);
586 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
589 char *_kwnames
[] = { NULL
};
592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
596 _result
= (bool )wxYieldIfNeeded();
598 wxPyEndAllowThreads(__tstate
);
599 if (PyErr_Occurred()) return NULL
;
600 } _resultobj
= Py_BuildValue("i",_result
);
604 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
608 char *_kwnames
[] = { "enable", NULL
};
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
613 _arg0
= (bool ) tempbool0
;
615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
616 wxEnableTopLevelWindows(_arg0
);
618 wxPyEndAllowThreads(__tstate
);
619 if (PyErr_Occurred()) return NULL
;
620 } Py_INCREF(Py_None
);
621 _resultobj
= Py_None
;
625 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
626 PyObject
* _resultobj
;
630 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
631 PyObject
* _obj0
= 0;
632 PyObject
* _obj1
= 0;
633 PyObject
* _obj2
= 0;
634 char *_kwnames
[] = { "section","entry","file", NULL
};
637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxGetResource",_kwnames
,&_obj0
,&_obj1
,&_obj2
))
640 _arg0
= wxString_in_helper(_obj0
);
645 _arg1
= wxString_in_helper(_obj1
);
651 _arg2
= wxString_in_helper(_obj2
);
656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
657 _result
= new wxString (wxGetResource(*_arg0
,*_arg1
,*_arg2
));
659 wxPyEndAllowThreads(__tstate
);
660 if (PyErr_Occurred()) return NULL
;
663 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
665 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
686 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
687 PyObject
* _resultobj
;
690 PyObject
* _obj0
= 0;
691 char *_kwnames
[] = { "in", NULL
};
694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
697 _arg0
= wxString_in_helper(_obj0
);
702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
703 _result
= new wxString (wxStripMenuCodes(*_arg0
));
705 wxPyEndAllowThreads(__tstate
);
706 if (PyErr_Occurred()) return NULL
;
709 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
711 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
724 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
725 PyObject
* _resultobj
;
727 char *_kwnames
[] = { NULL
};
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
734 _result
= new wxString (wxGetEmailAddress());
736 wxPyEndAllowThreads(__tstate
);
737 if (PyErr_Occurred()) return NULL
;
740 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
742 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
751 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 PyObject
* _resultobj
;
754 char *_kwnames
[] = { NULL
};
757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
761 _result
= new wxString (wxGetHostName());
763 wxPyEndAllowThreads(__tstate
);
764 if (PyErr_Occurred()) return NULL
;
767 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
769 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
778 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
781 char *_kwnames
[] = { NULL
};
784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
788 _result
= new wxString (wxGetFullHostName());
790 wxPyEndAllowThreads(__tstate
);
791 if (PyErr_Occurred()) return NULL
;
794 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
796 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
805 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* _resultobj
;
808 char *_kwnames
[] = { NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
815 _result
= new wxString (wxGetUserId());
817 wxPyEndAllowThreads(__tstate
);
818 if (PyErr_Occurred()) return NULL
;
821 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
823 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
832 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 PyObject
* _resultobj
;
835 char *_kwnames
[] = { NULL
};
838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
842 _result
= new wxString (wxGetUserName());
844 wxPyEndAllowThreads(__tstate
);
845 if (PyErr_Occurred()) return NULL
;
848 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
850 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
859 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
862 char *_kwnames
[] = { NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
869 _result
= new wxString (wxGetHomeDir());
871 wxPyEndAllowThreads(__tstate
);
872 if (PyErr_Occurred()) return NULL
;
875 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
877 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
886 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
887 PyObject
* _resultobj
;
889 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
890 PyObject
* _obj0
= 0;
891 char *_kwnames
[] = { "user", NULL
};
894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxGetUserHome",_kwnames
,&_obj0
))
898 _arg0
= wxString_in_helper(_obj0
);
903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
904 _result
= new wxString (wxGetUserHome(*_arg0
));
906 wxPyEndAllowThreads(__tstate
);
907 if (PyErr_Occurred()) return NULL
;
910 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
912 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
925 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
927 wxAcceleratorEntry
* _result
;
929 PyObject
* _obj0
= 0;
930 char *_kwnames
[] = { "label", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
937 _arg0
= wxString_in_helper(_obj0
);
942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
943 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
945 wxPyEndAllowThreads(__tstate
);
946 if (PyErr_Occurred()) return NULL
;
948 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
949 _resultobj
= Py_BuildValue("s",_ptemp
);
952 _resultobj
= Py_None
;
961 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
963 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
967 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
971 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
972 pyobj
= PyString_FromString(ptemp
);
976 static wxString
wxObject_GetClassName(wxObject
*self
) {
977 return self
->GetClassInfo()->GetClassName();
979 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 PyObject
* _resultobj
;
983 PyObject
* _argo0
= 0;
984 char *_kwnames
[] = { "self", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
998 _result
= new wxString (wxObject_GetClassName(_arg0
));
1000 wxPyEndAllowThreads(__tstate
);
1001 if (PyErr_Occurred()) return NULL
;
1004 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1006 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1015 static void wxObject_Destroy(wxObject
*self
) {
1018 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1019 PyObject
* _resultobj
;
1021 PyObject
* _argo0
= 0;
1022 char *_kwnames
[] = { "self", NULL
};
1025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
1028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
1030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
1035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1036 wxObject_Destroy(_arg0
);
1038 wxPyEndAllowThreads(__tstate
);
1039 if (PyErr_Occurred()) return NULL
;
1040 } Py_INCREF(Py_None
);
1041 _resultobj
= Py_None
;
1045 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1046 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1047 PyObject
* _resultobj
;
1052 PyObject
* _obj0
= 0;
1053 char *_kwnames
[] = { "self","x", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
1060 if (! wxSize_helper(_obj0
, &_arg0
))
1064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1065 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1067 wxPyEndAllowThreads(__tstate
);
1068 if (PyErr_Occurred()) return NULL
;
1069 } _resultobj
= Py_BuildValue("l",_result
);
1073 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1074 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
* _resultobj
;
1079 PyObject
* _obj0
= 0;
1080 char *_kwnames
[] = { "self", NULL
};
1083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1087 if (! wxSize_helper(_obj0
, &_arg0
))
1091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1092 _result
= (long )wxSize_x_get(_arg0
);
1094 wxPyEndAllowThreads(__tstate
);
1095 if (PyErr_Occurred()) return NULL
;
1096 } _resultobj
= Py_BuildValue("l",_result
);
1100 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1101 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
* _resultobj
;
1107 PyObject
* _obj0
= 0;
1108 char *_kwnames
[] = { "self","y", NULL
};
1111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1115 if (! wxSize_helper(_obj0
, &_arg0
))
1119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1120 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1122 wxPyEndAllowThreads(__tstate
);
1123 if (PyErr_Occurred()) return NULL
;
1124 } _resultobj
= Py_BuildValue("l",_result
);
1128 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1129 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1134 PyObject
* _obj0
= 0;
1135 char *_kwnames
[] = { "self", NULL
};
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1142 if (! wxSize_helper(_obj0
, &_arg0
))
1146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1147 _result
= (long )wxSize_y_get(_arg0
);
1149 wxPyEndAllowThreads(__tstate
);
1150 if (PyErr_Occurred()) return NULL
;
1151 } _resultobj
= Py_BuildValue("l",_result
);
1155 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1156 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 long _arg0
= (long ) 0;
1160 long _arg1
= (long ) 0;
1161 char *_kwnames
[] = { "w","h", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1169 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1171 wxPyEndAllowThreads(__tstate
);
1172 if (PyErr_Occurred()) return NULL
;
1174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1175 _resultobj
= Py_BuildValue("s",_ptemp
);
1178 _resultobj
= Py_None
;
1183 #define delete_wxSize(_swigobj) (delete _swigobj)
1184 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1188 PyObject
* _obj0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1196 if (! wxSize_helper(_obj0
, &_arg0
))
1200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1201 delete_wxSize(_arg0
);
1203 wxPyEndAllowThreads(__tstate
);
1204 if (PyErr_Occurred()) return NULL
;
1205 } Py_INCREF(Py_None
);
1206 _resultobj
= Py_None
;
1210 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1211 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
* _resultobj
;
1217 PyObject
* _obj0
= 0;
1218 char *_kwnames
[] = { "self","w","h", NULL
};
1221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1225 if (! wxSize_helper(_obj0
, &_arg0
))
1229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1230 wxSize_Set(_arg0
,_arg1
,_arg2
);
1232 wxPyEndAllowThreads(__tstate
);
1233 if (PyErr_Occurred()) return NULL
;
1234 } Py_INCREF(Py_None
);
1235 _resultobj
= Py_None
;
1239 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1240 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
* _resultobj
;
1245 PyObject
* _obj0
= 0;
1246 char *_kwnames
[] = { "self", NULL
};
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1253 if (! wxSize_helper(_obj0
, &_arg0
))
1257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1258 _result
= (long )wxSize_GetX(_arg0
);
1260 wxPyEndAllowThreads(__tstate
);
1261 if (PyErr_Occurred()) return NULL
;
1262 } _resultobj
= Py_BuildValue("l",_result
);
1266 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1267 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1272 PyObject
* _obj0
= 0;
1273 char *_kwnames
[] = { "self", NULL
};
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1280 if (! wxSize_helper(_obj0
, &_arg0
))
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 _result
= (long )wxSize_GetY(_arg0
);
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) return NULL
;
1289 } _resultobj
= Py_BuildValue("l",_result
);
1293 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1294 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1299 PyObject
* _obj0
= 0;
1300 char *_kwnames
[] = { "self", NULL
};
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1307 if (! wxSize_helper(_obj0
, &_arg0
))
1311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1312 _result
= (long )wxSize_GetWidth(_arg0
);
1314 wxPyEndAllowThreads(__tstate
);
1315 if (PyErr_Occurred()) return NULL
;
1316 } _resultobj
= Py_BuildValue("l",_result
);
1320 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1321 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1322 PyObject
* _resultobj
;
1326 PyObject
* _obj0
= 0;
1327 char *_kwnames
[] = { "self", NULL
};
1330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1334 if (! wxSize_helper(_obj0
, &_arg0
))
1338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1339 _result
= (long )wxSize_GetHeight(_arg0
);
1341 wxPyEndAllowThreads(__tstate
);
1342 if (PyErr_Occurred()) return NULL
;
1343 } _resultobj
= Py_BuildValue("l",_result
);
1347 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1348 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
* _resultobj
;
1353 PyObject
* _obj0
= 0;
1354 char *_kwnames
[] = { "self","w", NULL
};
1357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1361 if (! wxSize_helper(_obj0
, &_arg0
))
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 wxSize_SetWidth(_arg0
,_arg1
);
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) return NULL
;
1370 } Py_INCREF(Py_None
);
1371 _resultobj
= Py_None
;
1375 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1376 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
* _resultobj
;
1381 PyObject
* _obj0
= 0;
1382 char *_kwnames
[] = { "self","h", NULL
};
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1389 if (! wxSize_helper(_obj0
, &_arg0
))
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 wxSize_SetHeight(_arg0
,_arg1
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) return NULL
;
1398 } Py_INCREF(Py_None
);
1399 _resultobj
= Py_None
;
1403 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1404 wxPyBeginBlockThreads();
1405 PyObject
* tup
= PyTuple_New(2);
1406 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1407 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1408 wxPyEndBlockThreads();
1411 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1416 PyObject
* _obj0
= 0;
1417 char *_kwnames
[] = { "self", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1424 if (! wxSize_helper(_obj0
, &_arg0
))
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) return NULL
;
1434 _resultobj
= _result
;
1439 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1441 if (*self
== *sz
) return 0;
1444 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
* _resultobj
;
1450 PyObject
* _obj0
= 0;
1452 PyObject
* _obj1
= 0;
1453 char *_kwnames
[] = { "self","sz", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1460 if (! wxSize_helper(_obj0
, &_arg0
))
1465 if (! wxSize_helper(_obj1
, &_arg1
))
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) return NULL
;
1474 } _resultobj
= Py_BuildValue("i",_result
);
1478 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1479 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1482 wxRealPoint
* _arg0
;
1485 PyObject
* _obj0
= 0;
1486 char *_kwnames
[] = { "self","x", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1493 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) return NULL
;
1502 } _resultobj
= Py_BuildValue("d",_result
);
1506 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1507 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1510 wxRealPoint
* _arg0
;
1512 PyObject
* _obj0
= 0;
1513 char *_kwnames
[] = { "self", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1520 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1525 _result
= (double )wxRealPoint_x_get(_arg0
);
1527 wxPyEndAllowThreads(__tstate
);
1528 if (PyErr_Occurred()) return NULL
;
1529 } _resultobj
= Py_BuildValue("d",_result
);
1533 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1534 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1537 wxRealPoint
* _arg0
;
1540 PyObject
* _obj0
= 0;
1541 char *_kwnames
[] = { "self","y", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1548 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) return NULL
;
1557 } _resultobj
= Py_BuildValue("d",_result
);
1561 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1562 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1565 wxRealPoint
* _arg0
;
1567 PyObject
* _obj0
= 0;
1568 char *_kwnames
[] = { "self", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1575 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 _result
= (double )wxRealPoint_y_get(_arg0
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) return NULL
;
1584 } _resultobj
= Py_BuildValue("d",_result
);
1588 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1589 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
* _resultobj
;
1591 wxRealPoint
* _result
;
1592 double _arg0
= (double ) 0.0;
1593 double _arg1
= (double ) 0.0;
1594 char *_kwnames
[] = { "x","y", NULL
};
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) return NULL
;
1607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1608 _resultobj
= Py_BuildValue("s",_ptemp
);
1611 _resultobj
= Py_None
;
1616 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1617 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
* _resultobj
;
1619 wxRealPoint
* _arg0
;
1621 PyObject
* _obj0
= 0;
1622 char *_kwnames
[] = { "self", NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1629 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 delete_wxRealPoint(_arg0
);
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) return NULL
;
1638 } Py_INCREF(Py_None
);
1639 _resultobj
= Py_None
;
1643 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1647 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
* _resultobj
;
1649 wxRealPoint
* _arg0
;
1653 PyObject
* _obj0
= 0;
1654 char *_kwnames
[] = { "self","x","y", NULL
};
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1661 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1666 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1668 wxPyEndAllowThreads(__tstate
);
1669 if (PyErr_Occurred()) return NULL
;
1670 } Py_INCREF(Py_None
);
1671 _resultobj
= Py_None
;
1675 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1676 wxPyBeginBlockThreads();
1677 PyObject
* tup
= PyTuple_New(2);
1678 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1679 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1680 wxPyEndBlockThreads();
1683 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1686 wxRealPoint
* _arg0
;
1688 PyObject
* _obj0
= 0;
1689 char *_kwnames
[] = { "self", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1696 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) return NULL
;
1706 _resultobj
= _result
;
1711 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1712 if (! p
) return *self
;
1715 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1717 wxRealPoint
* _result
;
1718 wxRealPoint
* _arg0
;
1719 wxRealPoint
* _arg1
;
1721 PyObject
* _obj0
= 0;
1723 PyObject
* _obj1
= 0;
1724 char *_kwnames
[] = { "self","p", NULL
};
1728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1732 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1737 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) return NULL
;
1746 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1747 _resultobj
= Py_BuildValue("s",_ptemp
);
1751 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1752 if (! p
) return *self
;
1755 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1757 wxRealPoint
* _result
;
1758 wxRealPoint
* _arg0
;
1759 wxRealPoint
* _arg1
;
1761 PyObject
* _obj0
= 0;
1763 PyObject
* _obj1
= 0;
1764 char *_kwnames
[] = { "self","p", NULL
};
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1772 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1777 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) return NULL
;
1786 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1787 _resultobj
= Py_BuildValue("s",_ptemp
);
1791 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1793 if (*self
== *p
) return 0;
1796 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1799 wxRealPoint
* _arg0
;
1800 wxRealPoint
* _arg1
;
1802 PyObject
* _obj0
= 0;
1804 PyObject
* _obj1
= 0;
1805 char *_kwnames
[] = { "self","p", NULL
};
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1812 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1817 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) return NULL
;
1826 } _resultobj
= Py_BuildValue("i",_result
);
1830 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1831 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
* _resultobj
;
1837 PyObject
* _obj0
= 0;
1838 char *_kwnames
[] = { "self","x", NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1845 if (! wxPoint_helper(_obj0
, &_arg0
))
1849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1850 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1852 wxPyEndAllowThreads(__tstate
);
1853 if (PyErr_Occurred()) return NULL
;
1854 } _resultobj
= Py_BuildValue("l",_result
);
1858 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1859 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1860 PyObject
* _resultobj
;
1864 PyObject
* _obj0
= 0;
1865 char *_kwnames
[] = { "self", NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1872 if (! wxPoint_helper(_obj0
, &_arg0
))
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 _result
= (long )wxPoint_x_get(_arg0
);
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) return NULL
;
1881 } _resultobj
= Py_BuildValue("l",_result
);
1885 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1886 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
* _resultobj
;
1892 PyObject
* _obj0
= 0;
1893 char *_kwnames
[] = { "self","y", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1900 if (! wxPoint_helper(_obj0
, &_arg0
))
1904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1905 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1907 wxPyEndAllowThreads(__tstate
);
1908 if (PyErr_Occurred()) return NULL
;
1909 } _resultobj
= Py_BuildValue("l",_result
);
1913 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1914 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
* _resultobj
;
1919 PyObject
* _obj0
= 0;
1920 char *_kwnames
[] = { "self", NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1927 if (! wxPoint_helper(_obj0
, &_arg0
))
1931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1932 _result
= (long )wxPoint_y_get(_arg0
);
1934 wxPyEndAllowThreads(__tstate
);
1935 if (PyErr_Occurred()) return NULL
;
1936 } _resultobj
= Py_BuildValue("l",_result
);
1940 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1941 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
* _resultobj
;
1944 long _arg0
= (long ) 0;
1945 long _arg1
= (long ) 0;
1946 char *_kwnames
[] = { "x","y", NULL
};
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) return NULL
;
1959 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1960 _resultobj
= Py_BuildValue("s",_ptemp
);
1963 _resultobj
= Py_None
;
1968 #define delete_wxPoint(_swigobj) (delete _swigobj)
1969 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
* _resultobj
;
1973 PyObject
* _obj0
= 0;
1974 char *_kwnames
[] = { "self", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1981 if (! wxPoint_helper(_obj0
, &_arg0
))
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 delete_wxPoint(_arg0
);
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) return NULL
;
1990 } Py_INCREF(Py_None
);
1991 _resultobj
= Py_None
;
1995 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1999 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
* _resultobj
;
2005 PyObject
* _obj0
= 0;
2006 char *_kwnames
[] = { "self","x","y", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2013 if (! wxPoint_helper(_obj0
, &_arg0
))
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) return NULL
;
2022 } Py_INCREF(Py_None
);
2023 _resultobj
= Py_None
;
2027 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2028 wxPyBeginBlockThreads();
2029 PyObject
* tup
= PyTuple_New(2);
2030 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2031 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2032 wxPyEndBlockThreads();
2035 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
* _resultobj
;
2040 PyObject
* _obj0
= 0;
2041 char *_kwnames
[] = { "self", NULL
};
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2048 if (! wxPoint_helper(_obj0
, &_arg0
))
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) return NULL
;
2058 _resultobj
= _result
;
2063 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
2064 if (! p
) return *self
;
2067 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
* _resultobj
;
2073 PyObject
* _obj0
= 0;
2075 PyObject
* _obj1
= 0;
2076 char *_kwnames
[] = { "self","p", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2084 if (! wxPoint_helper(_obj0
, &_arg0
))
2089 if (! wxPoint_helper(_obj1
, &_arg1
))
2093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2096 wxPyEndAllowThreads(__tstate
);
2097 if (PyErr_Occurred()) return NULL
;
2098 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2099 _resultobj
= Py_BuildValue("s",_ptemp
);
2103 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2104 if (! p
) return *self
;
2107 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2113 PyObject
* _obj0
= 0;
2115 PyObject
* _obj1
= 0;
2116 char *_kwnames
[] = { "self","p", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2124 if (! wxPoint_helper(_obj0
, &_arg0
))
2129 if (! wxPoint_helper(_obj1
, &_arg1
))
2133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2136 wxPyEndAllowThreads(__tstate
);
2137 if (PyErr_Occurred()) return NULL
;
2138 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2139 _resultobj
= Py_BuildValue("s",_ptemp
);
2143 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2145 if (*self
== *p
) return 0;
2148 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2154 PyObject
* _obj0
= 0;
2156 PyObject
* _obj1
= 0;
2157 char *_kwnames
[] = { "self","p", NULL
};
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2164 if (! wxPoint_helper(_obj0
, &_arg0
))
2169 if (! wxPoint_helper(_obj1
, &_arg1
))
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) return NULL
;
2178 } _resultobj
= Py_BuildValue("i",_result
);
2182 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2183 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
* _resultobj
;
2186 int _arg0
= (int ) 0;
2187 int _arg1
= (int ) 0;
2188 int _arg2
= (int ) 0;
2189 int _arg3
= (int ) 0;
2190 char *_kwnames
[] = { "x","y","w","h", NULL
};
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2198 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) return NULL
;
2203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2204 _resultobj
= Py_BuildValue("s",_ptemp
);
2207 _resultobj
= Py_None
;
2212 #define delete_wxRect(_swigobj) (delete _swigobj)
2213 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2217 PyObject
* _obj0
= 0;
2218 char *_kwnames
[] = { "self", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2225 if (! wxRect_helper(_obj0
, &_arg0
))
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 delete_wxRect(_arg0
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) return NULL
;
2234 } Py_INCREF(Py_None
);
2235 _resultobj
= Py_None
;
2239 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2240 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2245 PyObject
* _obj0
= 0;
2246 char *_kwnames
[] = { "self", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2253 if (! wxRect_helper(_obj0
, &_arg0
))
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 _result
= (int )wxRect_GetX(_arg0
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) return NULL
;
2262 } _resultobj
= Py_BuildValue("i",_result
);
2266 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2267 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2272 PyObject
* _obj0
= 0;
2273 char *_kwnames
[] = { "self","X", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2280 if (! wxRect_helper(_obj0
, &_arg0
))
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 wxRect_SetX(_arg0
,_arg1
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) return NULL
;
2289 } Py_INCREF(Py_None
);
2290 _resultobj
= Py_None
;
2294 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2295 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2300 PyObject
* _obj0
= 0;
2301 char *_kwnames
[] = { "self", NULL
};
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2308 if (! wxRect_helper(_obj0
, &_arg0
))
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 _result
= (int )wxRect_GetY(_arg0
);
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) return NULL
;
2317 } _resultobj
= Py_BuildValue("i",_result
);
2321 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2322 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2327 PyObject
* _obj0
= 0;
2328 char *_kwnames
[] = { "self","Y", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2335 if (! wxRect_helper(_obj0
, &_arg0
))
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 wxRect_SetY(_arg0
,_arg1
);
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) return NULL
;
2344 } Py_INCREF(Py_None
);
2345 _resultobj
= Py_None
;
2349 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2350 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2355 PyObject
* _obj0
= 0;
2356 char *_kwnames
[] = { "self", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2363 if (! wxRect_helper(_obj0
, &_arg0
))
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 _result
= (int )wxRect_GetWidth(_arg0
);
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) return NULL
;
2372 } _resultobj
= Py_BuildValue("i",_result
);
2376 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2377 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2382 PyObject
* _obj0
= 0;
2383 char *_kwnames
[] = { "self","w", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2390 if (! wxRect_helper(_obj0
, &_arg0
))
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 wxRect_SetWidth(_arg0
,_arg1
);
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) return NULL
;
2399 } Py_INCREF(Py_None
);
2400 _resultobj
= Py_None
;
2404 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2405 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2410 PyObject
* _obj0
= 0;
2411 char *_kwnames
[] = { "self", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2418 if (! wxRect_helper(_obj0
, &_arg0
))
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 _result
= (int )wxRect_GetHeight(_arg0
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) return NULL
;
2427 } _resultobj
= Py_BuildValue("i",_result
);
2431 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2432 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2437 PyObject
* _obj0
= 0;
2438 char *_kwnames
[] = { "self","h", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2445 if (! wxRect_helper(_obj0
, &_arg0
))
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 wxRect_SetHeight(_arg0
,_arg1
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) return NULL
;
2454 } Py_INCREF(Py_None
);
2455 _resultobj
= Py_None
;
2459 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2460 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2465 PyObject
* _obj0
= 0;
2466 char *_kwnames
[] = { "self", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2474 if (! wxRect_helper(_obj0
, &_arg0
))
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) return NULL
;
2483 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2484 _resultobj
= Py_BuildValue("s",_ptemp
);
2488 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2489 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2494 PyObject
* _obj0
= 0;
2495 char *_kwnames
[] = { "self", NULL
};
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2503 if (! wxRect_helper(_obj0
, &_arg0
))
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 _result
= new wxSize (wxRect_GetSize(_arg0
));
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) return NULL
;
2512 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2513 _resultobj
= Py_BuildValue("s",_ptemp
);
2517 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2518 static PyObject
*_wrap_wxRect_GetLeft(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_GetLeft",_kwnames
,&_obj0
))
2531 if (! wxRect_helper(_obj0
, &_arg0
))
2535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2536 _result
= (int )wxRect_GetLeft(_arg0
);
2538 wxPyEndAllowThreads(__tstate
);
2539 if (PyErr_Occurred()) return NULL
;
2540 } _resultobj
= Py_BuildValue("i",_result
);
2544 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2545 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2550 PyObject
* _obj0
= 0;
2551 char *_kwnames
[] = { "self", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2558 if (! wxRect_helper(_obj0
, &_arg0
))
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 _result
= (int )wxRect_GetTop(_arg0
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) return NULL
;
2567 } _resultobj
= Py_BuildValue("i",_result
);
2571 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2572 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
* _resultobj
;
2577 PyObject
* _obj0
= 0;
2578 char *_kwnames
[] = { "self", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2585 if (! wxRect_helper(_obj0
, &_arg0
))
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 _result
= (int )wxRect_GetBottom(_arg0
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) return NULL
;
2594 } _resultobj
= Py_BuildValue("i",_result
);
2598 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2599 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2604 PyObject
* _obj0
= 0;
2605 char *_kwnames
[] = { "self", NULL
};
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2612 if (! wxRect_helper(_obj0
, &_arg0
))
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 _result
= (int )wxRect_GetRight(_arg0
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) return NULL
;
2621 } _resultobj
= Py_BuildValue("i",_result
);
2625 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2626 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2627 PyObject
* _resultobj
;
2631 PyObject
* _obj0
= 0;
2632 char *_kwnames
[] = { "self","left", NULL
};
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2639 if (! wxRect_helper(_obj0
, &_arg0
))
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 wxRect_SetLeft(_arg0
,_arg1
);
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) return NULL
;
2648 } Py_INCREF(Py_None
);
2649 _resultobj
= Py_None
;
2653 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2654 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
* _resultobj
;
2659 PyObject
* _obj0
= 0;
2660 char *_kwnames
[] = { "self","right", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2667 if (! wxRect_helper(_obj0
, &_arg0
))
2671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2672 wxRect_SetRight(_arg0
,_arg1
);
2674 wxPyEndAllowThreads(__tstate
);
2675 if (PyErr_Occurred()) return NULL
;
2676 } Py_INCREF(Py_None
);
2677 _resultobj
= Py_None
;
2681 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2682 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
* _resultobj
;
2687 PyObject
* _obj0
= 0;
2688 char *_kwnames
[] = { "self","top", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2695 if (! wxRect_helper(_obj0
, &_arg0
))
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 wxRect_SetTop(_arg0
,_arg1
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2704 } Py_INCREF(Py_None
);
2705 _resultobj
= Py_None
;
2709 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2710 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2715 PyObject
* _obj0
= 0;
2716 char *_kwnames
[] = { "self","bottom", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2723 if (! wxRect_helper(_obj0
, &_arg0
))
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 wxRect_SetBottom(_arg0
,_arg1
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) return NULL
;
2732 } Py_INCREF(Py_None
);
2733 _resultobj
= Py_None
;
2737 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2738 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2744 PyObject
* _obj0
= 0;
2745 char *_kwnames
[] = { "self","dx","dy", NULL
};
2748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2752 if (! wxRect_helper(_obj0
, &_arg0
))
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) return NULL
;
2761 } Py_INCREF(Py_None
);
2762 _resultobj
= Py_None
;
2766 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2767 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
* _resultobj
;
2774 PyObject
* _obj0
= 0;
2775 char *_kwnames
[] = { "self","cx","cy", NULL
};
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2782 if (! wxRect_helper(_obj0
, &_arg0
))
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2791 } _resultobj
= Py_BuildValue("i",_result
);
2795 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2796 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2802 PyObject
* _obj0
= 0;
2803 char *_kwnames
[] = { "self","x", NULL
};
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2810 if (! wxRect_helper(_obj0
, &_arg0
))
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) return NULL
;
2819 } _resultobj
= Py_BuildValue("i",_result
);
2823 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2824 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2829 PyObject
* _obj0
= 0;
2830 char *_kwnames
[] = { "self", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2837 if (! wxRect_helper(_obj0
, &_arg0
))
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 _result
= (int )wxRect_x_get(_arg0
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) return NULL
;
2846 } _resultobj
= Py_BuildValue("i",_result
);
2850 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2851 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2857 PyObject
* _obj0
= 0;
2858 char *_kwnames
[] = { "self","y", NULL
};
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2865 if (! wxRect_helper(_obj0
, &_arg0
))
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) return NULL
;
2874 } _resultobj
= Py_BuildValue("i",_result
);
2878 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2879 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
* _resultobj
;
2884 PyObject
* _obj0
= 0;
2885 char *_kwnames
[] = { "self", NULL
};
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2892 if (! wxRect_helper(_obj0
, &_arg0
))
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 _result
= (int )wxRect_y_get(_arg0
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) return NULL
;
2901 } _resultobj
= Py_BuildValue("i",_result
);
2905 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2906 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2912 PyObject
* _obj0
= 0;
2913 char *_kwnames
[] = { "self","width", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2920 if (! wxRect_helper(_obj0
, &_arg0
))
2924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2925 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2927 wxPyEndAllowThreads(__tstate
);
2928 if (PyErr_Occurred()) return NULL
;
2929 } _resultobj
= Py_BuildValue("i",_result
);
2933 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2934 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2939 PyObject
* _obj0
= 0;
2940 char *_kwnames
[] = { "self", NULL
};
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2947 if (! wxRect_helper(_obj0
, &_arg0
))
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 _result
= (int )wxRect_width_get(_arg0
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) return NULL
;
2956 } _resultobj
= Py_BuildValue("i",_result
);
2960 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2961 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2967 PyObject
* _obj0
= 0;
2968 char *_kwnames
[] = { "self","height", NULL
};
2971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2975 if (! wxRect_helper(_obj0
, &_arg0
))
2979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2980 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2982 wxPyEndAllowThreads(__tstate
);
2983 if (PyErr_Occurred()) return NULL
;
2984 } _resultobj
= Py_BuildValue("i",_result
);
2988 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2989 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
* _resultobj
;
2994 PyObject
* _obj0
= 0;
2995 char *_kwnames
[] = { "self", NULL
};
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
3002 if (! wxRect_helper(_obj0
, &_arg0
))
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 _result
= (int )wxRect_height_get(_arg0
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) return NULL
;
3011 } _resultobj
= Py_BuildValue("i",_result
);
3015 static PyObject
* wxRect_asTuple(wxRect
*self
) {
3016 wxPyBeginBlockThreads();
3017 PyObject
* tup
= PyTuple_New(4);
3018 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3019 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3020 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3021 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3022 wxPyEndBlockThreads();
3025 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3030 PyObject
* _obj0
= 0;
3031 char *_kwnames
[] = { "self", NULL
};
3034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
3038 if (! wxRect_helper(_obj0
, &_arg0
))
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) return NULL
;
3048 _resultobj
= _result
;
3053 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
3054 if (! rect
) return *self
;
3055 return *self
+ *rect
;
3057 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
* _resultobj
;
3063 PyObject
* _obj0
= 0;
3065 PyObject
* _obj1
= 0;
3066 char *_kwnames
[] = { "self","rect", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3074 if (! wxRect_helper(_obj0
, &_arg0
))
3079 if (! wxRect_helper(_obj1
, &_arg1
))
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) return NULL
;
3088 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3089 _resultobj
= Py_BuildValue("s",_ptemp
);
3093 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3094 if (! rect
) return 1;
3095 if (*self
== *rect
) return 0;
3098 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3104 PyObject
* _obj0
= 0;
3106 PyObject
* _obj1
= 0;
3107 char *_kwnames
[] = { "self","rect", NULL
};
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3114 if (! wxRect_helper(_obj0
, &_arg0
))
3119 if (! wxRect_helper(_obj1
, &_arg1
))
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) return NULL
;
3128 } _resultobj
= Py_BuildValue("i",_result
);
3132 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3133 wxIndividualLayoutConstraint
*src
;
3135 src
= (wxIndividualLayoutConstraint
*) ptr
;
3136 dest
= (wxObject
*) src
;
3137 return (void *) dest
;
3140 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3141 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3143 wxIndividualLayoutConstraint
* _arg0
;
3145 int _arg2
= (int ) 0;
3146 PyObject
* _argo0
= 0;
3147 PyObject
* _argo1
= 0;
3148 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3161 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3162 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3169 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3171 wxPyEndAllowThreads(__tstate
);
3172 if (PyErr_Occurred()) return NULL
;
3173 } Py_INCREF(Py_None
);
3174 _resultobj
= Py_None
;
3178 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3179 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
* _resultobj
;
3181 wxIndividualLayoutConstraint
* _arg0
;
3183 PyObject
* _argo0
= 0;
3184 char *_kwnames
[] = { "self","value", NULL
};
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) return NULL
;
3202 } Py_INCREF(Py_None
);
3203 _resultobj
= Py_None
;
3207 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3208 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3210 wxIndividualLayoutConstraint
* _arg0
;
3211 PyObject
* _argo0
= 0;
3212 char *_kwnames
[] = { "self", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 wxIndividualLayoutConstraint_AsIs(_arg0
);
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) return NULL
;
3230 } Py_INCREF(Py_None
);
3231 _resultobj
= Py_None
;
3235 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3236 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3238 wxIndividualLayoutConstraint
* _arg0
;
3240 int _arg2
= (int ) 0;
3241 PyObject
* _argo0
= 0;
3242 PyObject
* _argo1
= 0;
3243 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) return NULL
;
3268 } Py_INCREF(Py_None
);
3269 _resultobj
= Py_None
;
3273 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3274 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3276 wxIndividualLayoutConstraint
* _arg0
;
3277 PyObject
* _argo0
= 0;
3278 char *_kwnames
[] = { "self", NULL
};
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3292 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3294 wxPyEndAllowThreads(__tstate
);
3295 if (PyErr_Occurred()) return NULL
;
3296 } Py_INCREF(Py_None
);
3297 _resultobj
= Py_None
;
3301 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3302 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
* _resultobj
;
3304 wxIndividualLayoutConstraint
* _arg0
;
3306 int _arg2
= (int ) 0;
3307 PyObject
* _argo0
= 0;
3308 PyObject
* _argo1
= 0;
3309 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) return NULL
;
3334 } Py_INCREF(Py_None
);
3335 _resultobj
= Py_None
;
3339 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3340 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3342 wxIndividualLayoutConstraint
* _arg0
;
3346 PyObject
* _argo0
= 0;
3347 PyObject
* _argo1
= 0;
3348 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3361 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) return NULL
;
3373 } Py_INCREF(Py_None
);
3374 _resultobj
= Py_None
;
3378 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3379 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3381 wxIndividualLayoutConstraint
* _arg0
;
3383 int _arg2
= (int ) 0;
3384 PyObject
* _argo0
= 0;
3385 PyObject
* _argo1
= 0;
3386 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3399 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3400 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) return NULL
;
3411 } Py_INCREF(Py_None
);
3412 _resultobj
= Py_None
;
3416 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3417 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
* _resultobj
;
3419 wxIndividualLayoutConstraint
* _arg0
;
3422 int _arg3
= (int ) 0;
3423 PyObject
* _argo0
= 0;
3424 PyObject
* _argo1
= 0;
3425 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3438 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3439 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3446 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3448 wxPyEndAllowThreads(__tstate
);
3449 if (PyErr_Occurred()) return NULL
;
3450 } Py_INCREF(Py_None
);
3451 _resultobj
= Py_None
;
3455 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3456 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3458 wxIndividualLayoutConstraint
* _arg0
;
3459 wxRelationship _arg1
;
3462 int _arg4
= (int ) 0;
3463 int _arg5
= (int ) 0;
3464 PyObject
* _argo0
= 0;
3465 PyObject
* _argo2
= 0;
3466 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3479 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) return NULL
;
3491 } Py_INCREF(Py_None
);
3492 _resultobj
= Py_None
;
3496 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3497 wxLayoutConstraints
*src
;
3499 src
= (wxLayoutConstraints
*) ptr
;
3500 dest
= (wxObject
*) src
;
3501 return (void *) dest
;
3504 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3505 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
* _resultobj
;
3507 wxLayoutConstraints
* _result
;
3508 char *_kwnames
[] = { NULL
};
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) return NULL
;
3521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3522 _resultobj
= Py_BuildValue("s",_ptemp
);
3525 _resultobj
= Py_None
;
3530 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3531 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
* _resultobj
;
3533 wxIndividualLayoutConstraint
* _result
;
3534 wxLayoutConstraints
* _arg0
;
3535 PyObject
* _argo0
= 0;
3536 char *_kwnames
[] = { "self", NULL
};
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3553 wxPyEndAllowThreads(__tstate
);
3554 if (PyErr_Occurred()) return NULL
;
3556 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3557 _resultobj
= Py_BuildValue("s",_ptemp
);
3560 _resultobj
= Py_None
;
3565 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3566 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
* _resultobj
;
3568 wxIndividualLayoutConstraint
* _result
;
3569 wxLayoutConstraints
* _arg0
;
3570 PyObject
* _argo0
= 0;
3571 char *_kwnames
[] = { "self", NULL
};
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) return NULL
;
3591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3592 _resultobj
= Py_BuildValue("s",_ptemp
);
3595 _resultobj
= Py_None
;
3600 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3601 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
* _resultobj
;
3603 wxIndividualLayoutConstraint
* _result
;
3604 wxLayoutConstraints
* _arg0
;
3605 PyObject
* _argo0
= 0;
3606 char *_kwnames
[] = { "self", NULL
};
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) return NULL
;
3626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3627 _resultobj
= Py_BuildValue("s",_ptemp
);
3630 _resultobj
= Py_None
;
3635 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3636 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
* _resultobj
;
3638 wxIndividualLayoutConstraint
* _result
;
3639 wxLayoutConstraints
* _arg0
;
3640 PyObject
* _argo0
= 0;
3641 char *_kwnames
[] = { "self", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) return NULL
;
3661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3662 _resultobj
= Py_BuildValue("s",_ptemp
);
3665 _resultobj
= Py_None
;
3670 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3671 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
* _resultobj
;
3673 wxIndividualLayoutConstraint
* _result
;
3674 wxLayoutConstraints
* _arg0
;
3675 PyObject
* _argo0
= 0;
3676 char *_kwnames
[] = { "self", NULL
};
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) return NULL
;
3696 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3697 _resultobj
= Py_BuildValue("s",_ptemp
);
3700 _resultobj
= Py_None
;
3705 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3706 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
* _resultobj
;
3708 wxIndividualLayoutConstraint
* _result
;
3709 wxLayoutConstraints
* _arg0
;
3710 PyObject
* _argo0
= 0;
3711 char *_kwnames
[] = { "self", NULL
};
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) return NULL
;
3731 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3732 _resultobj
= Py_BuildValue("s",_ptemp
);
3735 _resultobj
= Py_None
;
3740 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3741 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3743 wxIndividualLayoutConstraint
* _result
;
3744 wxLayoutConstraints
* _arg0
;
3745 PyObject
* _argo0
= 0;
3746 char *_kwnames
[] = { "self", NULL
};
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) return NULL
;
3766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3767 _resultobj
= Py_BuildValue("s",_ptemp
);
3770 _resultobj
= Py_None
;
3775 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3776 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
* _resultobj
;
3778 wxIndividualLayoutConstraint
* _result
;
3779 wxLayoutConstraints
* _arg0
;
3780 PyObject
* _argo0
= 0;
3781 char *_kwnames
[] = { "self", NULL
};
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) return NULL
;
3801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3802 _resultobj
= Py_BuildValue("s",_ptemp
);
3805 _resultobj
= Py_None
;
3810 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3811 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
* _resultobj
;
3813 wxAcceleratorEntry
* _result
;
3814 int _arg0
= (int ) 0;
3815 int _arg1
= (int ) 0;
3816 int _arg2
= (int ) 0;
3817 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) return NULL
;
3830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3831 _resultobj
= Py_BuildValue("s",_ptemp
);
3834 _resultobj
= Py_None
;
3839 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3840 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
* _resultobj
;
3842 wxAcceleratorEntry
* _arg0
;
3843 PyObject
* _argo0
= 0;
3844 char *_kwnames
[] = { "self", NULL
};
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 delete_wxAcceleratorEntry(_arg0
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) return NULL
;
3862 } Py_INCREF(Py_None
);
3863 _resultobj
= Py_None
;
3867 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3868 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
* _resultobj
;
3870 wxAcceleratorEntry
* _arg0
;
3874 PyObject
* _argo0
= 0;
3875 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) return NULL
;
3893 } Py_INCREF(Py_None
);
3894 _resultobj
= Py_None
;
3898 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3899 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3902 wxAcceleratorEntry
* _arg0
;
3903 PyObject
* _argo0
= 0;
3904 char *_kwnames
[] = { "self", NULL
};
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) return NULL
;
3922 } _resultobj
= Py_BuildValue("i",_result
);
3926 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3927 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
* _resultobj
;
3930 wxAcceleratorEntry
* _arg0
;
3931 PyObject
* _argo0
= 0;
3932 char *_kwnames
[] = { "self", NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) return NULL
;
3950 } _resultobj
= Py_BuildValue("i",_result
);
3954 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3955 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
* _resultobj
;
3958 wxAcceleratorEntry
* _arg0
;
3959 PyObject
* _argo0
= 0;
3960 char *_kwnames
[] = { "self", NULL
};
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) return NULL
;
3978 } _resultobj
= Py_BuildValue("i",_result
);
3982 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3983 wxAcceleratorTable
*src
;
3985 src
= (wxAcceleratorTable
*) ptr
;
3986 dest
= (wxObject
*) src
;
3987 return (void *) dest
;
3990 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3991 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3993 wxAcceleratorTable
* _result
;
3995 wxAcceleratorEntry
* _arg1
;
3996 PyObject
* _obj1
= 0;
3997 char *_kwnames
[] = { "choices", NULL
};
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
4005 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
4006 if (_arg1
== NULL
) {
4012 _arg0
= PyList_Size(_obj1
);
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) return NULL
;
4025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4026 _resultobj
= Py_BuildValue("s",_ptemp
);
4029 _resultobj
= Py_None
;
4037 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4038 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4040 wxAcceleratorTable
* _arg0
;
4041 PyObject
* _argo0
= 0;
4042 char *_kwnames
[] = { "self", NULL
};
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 delete_wxAcceleratorTable(_arg0
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) return NULL
;
4060 } Py_INCREF(Py_None
);
4061 _resultobj
= Py_None
;
4065 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
4068 src
= (wxBusyInfo
*) ptr
;
4069 dest
= (wxObject
*) src
;
4070 return (void *) dest
;
4073 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4074 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
* _resultobj
;
4076 wxBusyInfo
* _result
;
4078 PyObject
* _obj0
= 0;
4079 char *_kwnames
[] = { "message", NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4086 _arg0
= wxString_in_helper(_obj0
);
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) return NULL
;
4097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4098 _resultobj
= Py_BuildValue("s",_ptemp
);
4101 _resultobj
= Py_None
;
4110 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4111 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4114 PyObject
* _argo0
= 0;
4115 char *_kwnames
[] = { "self", NULL
};
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 delete_wxBusyInfo(_arg0
);
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) return NULL
;
4133 } Py_INCREF(Py_None
);
4134 _resultobj
= Py_None
;
4138 static PyMethodDef misccMethods
[] = {
4139 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4205 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4206 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4207 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4208 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4209 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4210 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4211 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4212 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4218 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4219 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4222 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4223 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4224 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4225 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4226 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4227 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4228 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4229 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4230 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4231 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4268 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4269 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4270 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4271 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4272 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4273 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4274 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4275 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4282 * This table is used by the pointer type-checker
4284 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4285 { "_signed_long","_long",0},
4286 { "_wxPrintQuality","_wxCoord",0},
4287 { "_wxPrintQuality","_int",0},
4288 { "_wxPrintQuality","_signed_int",0},
4289 { "_wxPrintQuality","_unsigned_int",0},
4290 { "_wxPrintQuality","_wxWindowID",0},
4291 { "_wxPrintQuality","_uint",0},
4292 { "_wxPrintQuality","_EBool",0},
4293 { "_wxPrintQuality","_size_t",0},
4294 { "_wxPrintQuality","_time_t",0},
4295 { "_byte","_unsigned_char",0},
4296 { "_long","_unsigned_long",0},
4297 { "_long","_signed_long",0},
4298 { "_size_t","_wxCoord",0},
4299 { "_size_t","_wxPrintQuality",0},
4300 { "_size_t","_time_t",0},
4301 { "_size_t","_unsigned_int",0},
4302 { "_size_t","_int",0},
4303 { "_size_t","_wxWindowID",0},
4304 { "_size_t","_uint",0},
4305 { "_uint","_wxCoord",0},
4306 { "_uint","_wxPrintQuality",0},
4307 { "_uint","_time_t",0},
4308 { "_uint","_size_t",0},
4309 { "_uint","_unsigned_int",0},
4310 { "_uint","_int",0},
4311 { "_uint","_wxWindowID",0},
4312 { "_wxChar","_char",0},
4313 { "_char","_wxChar",0},
4314 { "_EBool","_wxCoord",0},
4315 { "_EBool","_wxPrintQuality",0},
4316 { "_EBool","_signed_int",0},
4317 { "_EBool","_int",0},
4318 { "_EBool","_wxWindowID",0},
4319 { "_unsigned_long","_long",0},
4320 { "_signed_int","_wxCoord",0},
4321 { "_signed_int","_wxPrintQuality",0},
4322 { "_signed_int","_EBool",0},
4323 { "_signed_int","_wxWindowID",0},
4324 { "_signed_int","_int",0},
4325 { "_WXTYPE","_short",0},
4326 { "_WXTYPE","_signed_short",0},
4327 { "_WXTYPE","_unsigned_short",0},
4328 { "_unsigned_short","_WXTYPE",0},
4329 { "_unsigned_short","_short",0},
4330 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4331 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4332 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4333 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4334 { "_signed_short","_WXTYPE",0},
4335 { "_signed_short","_short",0},
4336 { "_unsigned_char","_byte",0},
4337 { "_unsigned_int","_wxCoord",0},
4338 { "_unsigned_int","_wxPrintQuality",0},
4339 { "_unsigned_int","_time_t",0},
4340 { "_unsigned_int","_size_t",0},
4341 { "_unsigned_int","_uint",0},
4342 { "_unsigned_int","_wxWindowID",0},
4343 { "_unsigned_int","_int",0},
4344 { "_short","_WXTYPE",0},
4345 { "_short","_unsigned_short",0},
4346 { "_short","_signed_short",0},
4347 { "_wxWindowID","_wxCoord",0},
4348 { "_wxWindowID","_wxPrintQuality",0},
4349 { "_wxWindowID","_time_t",0},
4350 { "_wxWindowID","_size_t",0},
4351 { "_wxWindowID","_EBool",0},
4352 { "_wxWindowID","_uint",0},
4353 { "_wxWindowID","_int",0},
4354 { "_wxWindowID","_signed_int",0},
4355 { "_wxWindowID","_unsigned_int",0},
4356 { "_int","_wxCoord",0},
4357 { "_int","_wxPrintQuality",0},
4358 { "_int","_time_t",0},
4359 { "_int","_size_t",0},
4360 { "_int","_EBool",0},
4361 { "_int","_uint",0},
4362 { "_int","_wxWindowID",0},
4363 { "_int","_unsigned_int",0},
4364 { "_int","_signed_int",0},
4365 { "_time_t","_wxCoord",0},
4366 { "_time_t","_wxPrintQuality",0},
4367 { "_time_t","_unsigned_int",0},
4368 { "_time_t","_int",0},
4369 { "_time_t","_wxWindowID",0},
4370 { "_time_t","_uint",0},
4371 { "_time_t","_size_t",0},
4372 { "_wxCoord","_int",0},
4373 { "_wxCoord","_signed_int",0},
4374 { "_wxCoord","_unsigned_int",0},
4375 { "_wxCoord","_wxWindowID",0},
4376 { "_wxCoord","_uint",0},
4377 { "_wxCoord","_EBool",0},
4378 { "_wxCoord","_size_t",0},
4379 { "_wxCoord","_time_t",0},
4380 { "_wxCoord","_wxPrintQuality",0},
4383 static PyObject
*SWIG_globals
;
4387 SWIGEXPORT(void) initmiscc() {
4389 SWIG_globals
= SWIG_newvarlink();
4390 m
= Py_InitModule("miscc", misccMethods
);
4391 d
= PyModule_GetDict(m
);
4392 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4393 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4394 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4395 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4396 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4397 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4398 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4399 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4400 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4401 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4402 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4403 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4404 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4405 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4406 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4407 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4408 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4409 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4410 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4411 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4412 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4415 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4416 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);