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 PyObject
* tup
= PyTuple_New(2);
1405 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1406 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1409 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1410 PyObject
* _resultobj
;
1414 PyObject
* _obj0
= 0;
1415 char *_kwnames
[] = { "self", NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1422 if (! wxSize_helper(_obj0
, &_arg0
))
1426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1427 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1429 wxPyEndAllowThreads(__tstate
);
1430 if (PyErr_Occurred()) return NULL
;
1432 _resultobj
= _result
;
1437 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1439 if (*self
== *sz
) return 0;
1442 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1448 PyObject
* _obj0
= 0;
1450 PyObject
* _obj1
= 0;
1451 char *_kwnames
[] = { "self","sz", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1458 if (! wxSize_helper(_obj0
, &_arg0
))
1463 if (! wxSize_helper(_obj1
, &_arg1
))
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) return NULL
;
1472 } _resultobj
= Py_BuildValue("i",_result
);
1476 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1477 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1480 wxRealPoint
* _arg0
;
1483 PyObject
* _obj0
= 0;
1484 char *_kwnames
[] = { "self","x", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1491 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) return NULL
;
1500 } _resultobj
= Py_BuildValue("d",_result
);
1504 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1505 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1508 wxRealPoint
* _arg0
;
1510 PyObject
* _obj0
= 0;
1511 char *_kwnames
[] = { "self", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1518 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 _result
= (double )wxRealPoint_x_get(_arg0
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) return NULL
;
1527 } _resultobj
= Py_BuildValue("d",_result
);
1531 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1532 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
* _resultobj
;
1535 wxRealPoint
* _arg0
;
1538 PyObject
* _obj0
= 0;
1539 char *_kwnames
[] = { "self","y", NULL
};
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1546 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1551 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1553 wxPyEndAllowThreads(__tstate
);
1554 if (PyErr_Occurred()) return NULL
;
1555 } _resultobj
= Py_BuildValue("d",_result
);
1559 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1560 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1563 wxRealPoint
* _arg0
;
1565 PyObject
* _obj0
= 0;
1566 char *_kwnames
[] = { "self", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1573 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 _result
= (double )wxRealPoint_y_get(_arg0
);
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) return NULL
;
1582 } _resultobj
= Py_BuildValue("d",_result
);
1586 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1587 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1589 wxRealPoint
* _result
;
1590 double _arg0
= (double ) 0.0;
1591 double _arg1
= (double ) 0.0;
1592 char *_kwnames
[] = { "x","y", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) return NULL
;
1605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1606 _resultobj
= Py_BuildValue("s",_ptemp
);
1609 _resultobj
= Py_None
;
1614 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1615 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1617 wxRealPoint
* _arg0
;
1619 PyObject
* _obj0
= 0;
1620 char *_kwnames
[] = { "self", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1627 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 delete_wxRealPoint(_arg0
);
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) return NULL
;
1636 } Py_INCREF(Py_None
);
1637 _resultobj
= Py_None
;
1641 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1645 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
* _resultobj
;
1647 wxRealPoint
* _arg0
;
1651 PyObject
* _obj0
= 0;
1652 char *_kwnames
[] = { "self","x","y", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1659 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) return NULL
;
1668 } Py_INCREF(Py_None
);
1669 _resultobj
= Py_None
;
1673 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1674 PyObject
* tup
= PyTuple_New(2);
1675 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1676 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1679 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1682 wxRealPoint
* _arg0
;
1684 PyObject
* _obj0
= 0;
1685 char *_kwnames
[] = { "self", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1692 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) return NULL
;
1702 _resultobj
= _result
;
1707 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1708 if (! p
) return *self
;
1711 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
* _resultobj
;
1713 wxRealPoint
* _result
;
1714 wxRealPoint
* _arg0
;
1715 wxRealPoint
* _arg1
;
1717 PyObject
* _obj0
= 0;
1719 PyObject
* _obj1
= 0;
1720 char *_kwnames
[] = { "self","p", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1728 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1733 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) return NULL
;
1742 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1743 _resultobj
= Py_BuildValue("s",_ptemp
);
1747 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1748 if (! p
) return *self
;
1751 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
* _resultobj
;
1753 wxRealPoint
* _result
;
1754 wxRealPoint
* _arg0
;
1755 wxRealPoint
* _arg1
;
1757 PyObject
* _obj0
= 0;
1759 PyObject
* _obj1
= 0;
1760 char *_kwnames
[] = { "self","p", NULL
};
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1768 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1773 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) return NULL
;
1782 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1783 _resultobj
= Py_BuildValue("s",_ptemp
);
1787 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1789 if (*self
== *p
) return 0;
1792 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1795 wxRealPoint
* _arg0
;
1796 wxRealPoint
* _arg1
;
1798 PyObject
* _obj0
= 0;
1800 PyObject
* _obj1
= 0;
1801 char *_kwnames
[] = { "self","p", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1808 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1813 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) return NULL
;
1822 } _resultobj
= Py_BuildValue("i",_result
);
1826 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1827 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
* _resultobj
;
1833 PyObject
* _obj0
= 0;
1834 char *_kwnames
[] = { "self","x", NULL
};
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1841 if (! wxPoint_helper(_obj0
, &_arg0
))
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) return NULL
;
1850 } _resultobj
= Py_BuildValue("l",_result
);
1854 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1855 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1860 PyObject
* _obj0
= 0;
1861 char *_kwnames
[] = { "self", NULL
};
1864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1868 if (! wxPoint_helper(_obj0
, &_arg0
))
1872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1873 _result
= (long )wxPoint_x_get(_arg0
);
1875 wxPyEndAllowThreads(__tstate
);
1876 if (PyErr_Occurred()) return NULL
;
1877 } _resultobj
= Py_BuildValue("l",_result
);
1881 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1882 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1888 PyObject
* _obj0
= 0;
1889 char *_kwnames
[] = { "self","y", NULL
};
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1896 if (! wxPoint_helper(_obj0
, &_arg0
))
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) return NULL
;
1905 } _resultobj
= Py_BuildValue("l",_result
);
1909 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1910 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1915 PyObject
* _obj0
= 0;
1916 char *_kwnames
[] = { "self", NULL
};
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1923 if (! wxPoint_helper(_obj0
, &_arg0
))
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 _result
= (long )wxPoint_y_get(_arg0
);
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) return NULL
;
1932 } _resultobj
= Py_BuildValue("l",_result
);
1936 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1937 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1940 long _arg0
= (long ) 0;
1941 long _arg1
= (long ) 0;
1942 char *_kwnames
[] = { "x","y", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) return NULL
;
1955 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1956 _resultobj
= Py_BuildValue("s",_ptemp
);
1959 _resultobj
= Py_None
;
1964 #define delete_wxPoint(_swigobj) (delete _swigobj)
1965 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1969 PyObject
* _obj0
= 0;
1970 char *_kwnames
[] = { "self", NULL
};
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1977 if (! wxPoint_helper(_obj0
, &_arg0
))
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 delete_wxPoint(_arg0
);
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) return NULL
;
1986 } Py_INCREF(Py_None
);
1987 _resultobj
= Py_None
;
1991 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1995 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
* _resultobj
;
2001 PyObject
* _obj0
= 0;
2002 char *_kwnames
[] = { "self","x","y", NULL
};
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2009 if (! wxPoint_helper(_obj0
, &_arg0
))
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) return NULL
;
2018 } Py_INCREF(Py_None
);
2019 _resultobj
= Py_None
;
2023 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2024 PyObject
* tup
= PyTuple_New(2);
2025 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2026 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2029 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2034 PyObject
* _obj0
= 0;
2035 char *_kwnames
[] = { "self", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2042 if (! wxPoint_helper(_obj0
, &_arg0
))
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) return NULL
;
2052 _resultobj
= _result
;
2057 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
2058 if (! p
) return *self
;
2061 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2067 PyObject
* _obj0
= 0;
2069 PyObject
* _obj1
= 0;
2070 char *_kwnames
[] = { "self","p", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2078 if (! wxPoint_helper(_obj0
, &_arg0
))
2083 if (! wxPoint_helper(_obj1
, &_arg1
))
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2088 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) return NULL
;
2092 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2093 _resultobj
= Py_BuildValue("s",_ptemp
);
2097 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2098 if (! p
) return *self
;
2101 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2107 PyObject
* _obj0
= 0;
2109 PyObject
* _obj1
= 0;
2110 char *_kwnames
[] = { "self","p", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2118 if (! wxPoint_helper(_obj0
, &_arg0
))
2123 if (! wxPoint_helper(_obj1
, &_arg1
))
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) return NULL
;
2132 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2133 _resultobj
= Py_BuildValue("s",_ptemp
);
2137 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2139 if (*self
== *p
) return 0;
2142 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2148 PyObject
* _obj0
= 0;
2150 PyObject
* _obj1
= 0;
2151 char *_kwnames
[] = { "self","p", NULL
};
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2158 if (! wxPoint_helper(_obj0
, &_arg0
))
2163 if (! wxPoint_helper(_obj1
, &_arg1
))
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) return NULL
;
2172 } _resultobj
= Py_BuildValue("i",_result
);
2176 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2177 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2180 int _arg0
= (int ) 0;
2181 int _arg1
= (int ) 0;
2182 int _arg2
= (int ) 0;
2183 int _arg3
= (int ) 0;
2184 char *_kwnames
[] = { "x","y","w","h", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) return NULL
;
2197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2198 _resultobj
= Py_BuildValue("s",_ptemp
);
2201 _resultobj
= Py_None
;
2206 #define delete_wxRect(_swigobj) (delete _swigobj)
2207 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
* _resultobj
;
2211 PyObject
* _obj0
= 0;
2212 char *_kwnames
[] = { "self", NULL
};
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2219 if (! wxRect_helper(_obj0
, &_arg0
))
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 delete_wxRect(_arg0
);
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) return NULL
;
2228 } Py_INCREF(Py_None
);
2229 _resultobj
= Py_None
;
2233 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2234 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
* _resultobj
;
2239 PyObject
* _obj0
= 0;
2240 char *_kwnames
[] = { "self", NULL
};
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2247 if (! wxRect_helper(_obj0
, &_arg0
))
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 _result
= (int )wxRect_GetX(_arg0
);
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) return NULL
;
2256 } _resultobj
= Py_BuildValue("i",_result
);
2260 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2261 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
* _resultobj
;
2266 PyObject
* _obj0
= 0;
2267 char *_kwnames
[] = { "self","X", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2274 if (! wxRect_helper(_obj0
, &_arg0
))
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 wxRect_SetX(_arg0
,_arg1
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) return NULL
;
2283 } Py_INCREF(Py_None
);
2284 _resultobj
= Py_None
;
2288 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2289 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
* _resultobj
;
2294 PyObject
* _obj0
= 0;
2295 char *_kwnames
[] = { "self", NULL
};
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2302 if (! wxRect_helper(_obj0
, &_arg0
))
2306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2307 _result
= (int )wxRect_GetY(_arg0
);
2309 wxPyEndAllowThreads(__tstate
);
2310 if (PyErr_Occurred()) return NULL
;
2311 } _resultobj
= Py_BuildValue("i",_result
);
2315 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2316 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
* _resultobj
;
2321 PyObject
* _obj0
= 0;
2322 char *_kwnames
[] = { "self","Y", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2329 if (! wxRect_helper(_obj0
, &_arg0
))
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 wxRect_SetY(_arg0
,_arg1
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) return NULL
;
2338 } Py_INCREF(Py_None
);
2339 _resultobj
= Py_None
;
2343 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2344 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2349 PyObject
* _obj0
= 0;
2350 char *_kwnames
[] = { "self", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2357 if (! wxRect_helper(_obj0
, &_arg0
))
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 _result
= (int )wxRect_GetWidth(_arg0
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) return NULL
;
2366 } _resultobj
= Py_BuildValue("i",_result
);
2370 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2371 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
* _resultobj
;
2376 PyObject
* _obj0
= 0;
2377 char *_kwnames
[] = { "self","w", NULL
};
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2384 if (! wxRect_helper(_obj0
, &_arg0
))
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 wxRect_SetWidth(_arg0
,_arg1
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) return NULL
;
2393 } Py_INCREF(Py_None
);
2394 _resultobj
= Py_None
;
2398 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2399 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2404 PyObject
* _obj0
= 0;
2405 char *_kwnames
[] = { "self", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2412 if (! wxRect_helper(_obj0
, &_arg0
))
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 _result
= (int )wxRect_GetHeight(_arg0
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) return NULL
;
2421 } _resultobj
= Py_BuildValue("i",_result
);
2425 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2426 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
* _resultobj
;
2431 PyObject
* _obj0
= 0;
2432 char *_kwnames
[] = { "self","h", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2439 if (! wxRect_helper(_obj0
, &_arg0
))
2443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2444 wxRect_SetHeight(_arg0
,_arg1
);
2446 wxPyEndAllowThreads(__tstate
);
2447 if (PyErr_Occurred()) return NULL
;
2448 } Py_INCREF(Py_None
);
2449 _resultobj
= Py_None
;
2453 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2454 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
* _resultobj
;
2459 PyObject
* _obj0
= 0;
2460 char *_kwnames
[] = { "self", NULL
};
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2468 if (! wxRect_helper(_obj0
, &_arg0
))
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) return NULL
;
2477 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2478 _resultobj
= Py_BuildValue("s",_ptemp
);
2482 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2483 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2488 PyObject
* _obj0
= 0;
2489 char *_kwnames
[] = { "self", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2497 if (! wxRect_helper(_obj0
, &_arg0
))
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2502 _result
= new wxSize (wxRect_GetSize(_arg0
));
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) return NULL
;
2506 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2507 _resultobj
= Py_BuildValue("s",_ptemp
);
2511 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2512 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
* _resultobj
;
2517 PyObject
* _obj0
= 0;
2518 char *_kwnames
[] = { "self", NULL
};
2521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2525 if (! wxRect_helper(_obj0
, &_arg0
))
2529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 _result
= (int )wxRect_GetLeft(_arg0
);
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) return NULL
;
2534 } _resultobj
= Py_BuildValue("i",_result
);
2538 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2539 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2544 PyObject
* _obj0
= 0;
2545 char *_kwnames
[] = { "self", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2552 if (! wxRect_helper(_obj0
, &_arg0
))
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 _result
= (int )wxRect_GetTop(_arg0
);
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) return NULL
;
2561 } _resultobj
= Py_BuildValue("i",_result
);
2565 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2566 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2567 PyObject
* _resultobj
;
2571 PyObject
* _obj0
= 0;
2572 char *_kwnames
[] = { "self", NULL
};
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2579 if (! wxRect_helper(_obj0
, &_arg0
))
2583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2584 _result
= (int )wxRect_GetBottom(_arg0
);
2586 wxPyEndAllowThreads(__tstate
);
2587 if (PyErr_Occurred()) return NULL
;
2588 } _resultobj
= Py_BuildValue("i",_result
);
2592 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2593 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
* _resultobj
;
2598 PyObject
* _obj0
= 0;
2599 char *_kwnames
[] = { "self", NULL
};
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2606 if (! wxRect_helper(_obj0
, &_arg0
))
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 _result
= (int )wxRect_GetRight(_arg0
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) return NULL
;
2615 } _resultobj
= Py_BuildValue("i",_result
);
2619 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2620 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
* _resultobj
;
2625 PyObject
* _obj0
= 0;
2626 char *_kwnames
[] = { "self","left", NULL
};
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2633 if (! wxRect_helper(_obj0
, &_arg0
))
2637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2638 wxRect_SetLeft(_arg0
,_arg1
);
2640 wxPyEndAllowThreads(__tstate
);
2641 if (PyErr_Occurred()) return NULL
;
2642 } Py_INCREF(Py_None
);
2643 _resultobj
= Py_None
;
2647 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2648 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
* _resultobj
;
2653 PyObject
* _obj0
= 0;
2654 char *_kwnames
[] = { "self","right", NULL
};
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2661 if (! wxRect_helper(_obj0
, &_arg0
))
2665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2666 wxRect_SetRight(_arg0
,_arg1
);
2668 wxPyEndAllowThreads(__tstate
);
2669 if (PyErr_Occurred()) return NULL
;
2670 } Py_INCREF(Py_None
);
2671 _resultobj
= Py_None
;
2675 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2676 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
* _resultobj
;
2681 PyObject
* _obj0
= 0;
2682 char *_kwnames
[] = { "self","top", NULL
};
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2689 if (! wxRect_helper(_obj0
, &_arg0
))
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 wxRect_SetTop(_arg0
,_arg1
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) return NULL
;
2698 } Py_INCREF(Py_None
);
2699 _resultobj
= Py_None
;
2703 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2704 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
* _resultobj
;
2709 PyObject
* _obj0
= 0;
2710 char *_kwnames
[] = { "self","bottom", NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2717 if (! wxRect_helper(_obj0
, &_arg0
))
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 wxRect_SetBottom(_arg0
,_arg1
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) return NULL
;
2726 } Py_INCREF(Py_None
);
2727 _resultobj
= Py_None
;
2731 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2732 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2738 PyObject
* _obj0
= 0;
2739 char *_kwnames
[] = { "self","dx","dy", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2746 if (! wxRect_helper(_obj0
, &_arg0
))
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) return NULL
;
2755 } Py_INCREF(Py_None
);
2756 _resultobj
= Py_None
;
2760 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2761 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2768 PyObject
* _obj0
= 0;
2769 char *_kwnames
[] = { "self","cx","cy", NULL
};
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2776 if (! wxRect_helper(_obj0
, &_arg0
))
2780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2783 wxPyEndAllowThreads(__tstate
);
2784 if (PyErr_Occurred()) return NULL
;
2785 } _resultobj
= Py_BuildValue("i",_result
);
2789 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2790 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
* _resultobj
;
2796 PyObject
* _obj0
= 0;
2797 char *_kwnames
[] = { "self","x", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2804 if (! wxRect_helper(_obj0
, &_arg0
))
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) return NULL
;
2813 } _resultobj
= Py_BuildValue("i",_result
);
2817 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2818 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
* _resultobj
;
2823 PyObject
* _obj0
= 0;
2824 char *_kwnames
[] = { "self", NULL
};
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2831 if (! wxRect_helper(_obj0
, &_arg0
))
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 _result
= (int )wxRect_x_get(_arg0
);
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) return NULL
;
2840 } _resultobj
= Py_BuildValue("i",_result
);
2844 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2845 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2851 PyObject
* _obj0
= 0;
2852 char *_kwnames
[] = { "self","y", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2859 if (! wxRect_helper(_obj0
, &_arg0
))
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) return NULL
;
2868 } _resultobj
= Py_BuildValue("i",_result
);
2872 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2873 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2878 PyObject
* _obj0
= 0;
2879 char *_kwnames
[] = { "self", NULL
};
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2886 if (! wxRect_helper(_obj0
, &_arg0
))
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 _result
= (int )wxRect_y_get(_arg0
);
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) return NULL
;
2895 } _resultobj
= Py_BuildValue("i",_result
);
2899 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2900 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
* _resultobj
;
2906 PyObject
* _obj0
= 0;
2907 char *_kwnames
[] = { "self","width", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2914 if (! wxRect_helper(_obj0
, &_arg0
))
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) return NULL
;
2923 } _resultobj
= Py_BuildValue("i",_result
);
2927 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2928 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
* _resultobj
;
2933 PyObject
* _obj0
= 0;
2934 char *_kwnames
[] = { "self", NULL
};
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2941 if (! wxRect_helper(_obj0
, &_arg0
))
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 _result
= (int )wxRect_width_get(_arg0
);
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) return NULL
;
2950 } _resultobj
= Py_BuildValue("i",_result
);
2954 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2955 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2956 PyObject
* _resultobj
;
2961 PyObject
* _obj0
= 0;
2962 char *_kwnames
[] = { "self","height", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2969 if (! wxRect_helper(_obj0
, &_arg0
))
2973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2974 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2976 wxPyEndAllowThreads(__tstate
);
2977 if (PyErr_Occurred()) return NULL
;
2978 } _resultobj
= Py_BuildValue("i",_result
);
2982 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2983 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2984 PyObject
* _resultobj
;
2988 PyObject
* _obj0
= 0;
2989 char *_kwnames
[] = { "self", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2996 if (! wxRect_helper(_obj0
, &_arg0
))
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 _result
= (int )wxRect_height_get(_arg0
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) return NULL
;
3005 } _resultobj
= Py_BuildValue("i",_result
);
3009 static PyObject
* wxRect_asTuple(wxRect
*self
) {
3010 PyObject
* tup
= PyTuple_New(4);
3011 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3012 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3013 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3014 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3017 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
* _resultobj
;
3022 PyObject
* _obj0
= 0;
3023 char *_kwnames
[] = { "self", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
3030 if (! wxRect_helper(_obj0
, &_arg0
))
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) return NULL
;
3040 _resultobj
= _result
;
3045 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
3046 if (! rect
) return *self
;
3047 return *self
+ *rect
;
3049 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
* _resultobj
;
3055 PyObject
* _obj0
= 0;
3057 PyObject
* _obj1
= 0;
3058 char *_kwnames
[] = { "self","rect", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3066 if (! wxRect_helper(_obj0
, &_arg0
))
3071 if (! wxRect_helper(_obj1
, &_arg1
))
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3076 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3078 wxPyEndAllowThreads(__tstate
);
3079 if (PyErr_Occurred()) return NULL
;
3080 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3081 _resultobj
= Py_BuildValue("s",_ptemp
);
3085 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3086 if (! rect
) return 1;
3087 if (*self
== *rect
) return 0;
3090 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3096 PyObject
* _obj0
= 0;
3098 PyObject
* _obj1
= 0;
3099 char *_kwnames
[] = { "self","rect", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3106 if (! wxRect_helper(_obj0
, &_arg0
))
3111 if (! wxRect_helper(_obj1
, &_arg1
))
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) return NULL
;
3120 } _resultobj
= Py_BuildValue("i",_result
);
3124 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3125 wxIndividualLayoutConstraint
*src
;
3127 src
= (wxIndividualLayoutConstraint
*) ptr
;
3128 dest
= (wxObject
*) src
;
3129 return (void *) dest
;
3132 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3133 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3135 wxIndividualLayoutConstraint
* _arg0
;
3137 int _arg2
= (int ) 0;
3138 PyObject
* _argo0
= 0;
3139 PyObject
* _argo1
= 0;
3140 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3153 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } Py_INCREF(Py_None
);
3166 _resultobj
= Py_None
;
3170 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3171 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3173 wxIndividualLayoutConstraint
* _arg0
;
3175 PyObject
* _argo0
= 0;
3176 char *_kwnames
[] = { "self","value", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) return NULL
;
3194 } Py_INCREF(Py_None
);
3195 _resultobj
= Py_None
;
3199 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3200 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3202 wxIndividualLayoutConstraint
* _arg0
;
3203 PyObject
* _argo0
= 0;
3204 char *_kwnames
[] = { "self", NULL
};
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 wxIndividualLayoutConstraint_AsIs(_arg0
);
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) return NULL
;
3222 } Py_INCREF(Py_None
);
3223 _resultobj
= Py_None
;
3227 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3228 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
* _resultobj
;
3230 wxIndividualLayoutConstraint
* _arg0
;
3232 int _arg2
= (int ) 0;
3233 PyObject
* _argo0
= 0;
3234 PyObject
* _argo1
= 0;
3235 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) return NULL
;
3260 } Py_INCREF(Py_None
);
3261 _resultobj
= Py_None
;
3265 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3266 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3268 wxIndividualLayoutConstraint
* _arg0
;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) return NULL
;
3288 } Py_INCREF(Py_None
);
3289 _resultobj
= Py_None
;
3293 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3294 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
* _resultobj
;
3296 wxIndividualLayoutConstraint
* _arg0
;
3298 int _arg2
= (int ) 0;
3299 PyObject
* _argo0
= 0;
3300 PyObject
* _argo1
= 0;
3301 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) return NULL
;
3326 } Py_INCREF(Py_None
);
3327 _resultobj
= Py_None
;
3331 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3332 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3334 wxIndividualLayoutConstraint
* _arg0
;
3338 PyObject
* _argo0
= 0;
3339 PyObject
* _argo1
= 0;
3340 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3353 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3354 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3361 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3363 wxPyEndAllowThreads(__tstate
);
3364 if (PyErr_Occurred()) return NULL
;
3365 } Py_INCREF(Py_None
);
3366 _resultobj
= Py_None
;
3370 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3371 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3373 wxIndividualLayoutConstraint
* _arg0
;
3375 int _arg2
= (int ) 0;
3376 PyObject
* _argo0
= 0;
3377 PyObject
* _argo1
= 0;
3378 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3391 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) return NULL
;
3403 } Py_INCREF(Py_None
);
3404 _resultobj
= Py_None
;
3408 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3409 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3411 wxIndividualLayoutConstraint
* _arg0
;
3414 int _arg3
= (int ) 0;
3415 PyObject
* _argo0
= 0;
3416 PyObject
* _argo1
= 0;
3417 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3430 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3431 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) return NULL
;
3442 } Py_INCREF(Py_None
);
3443 _resultobj
= Py_None
;
3447 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3448 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3450 wxIndividualLayoutConstraint
* _arg0
;
3451 wxRelationship _arg1
;
3454 int _arg4
= (int ) 0;
3455 int _arg5
= (int ) 0;
3456 PyObject
* _argo0
= 0;
3457 PyObject
* _argo2
= 0;
3458 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3471 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) return NULL
;
3483 } Py_INCREF(Py_None
);
3484 _resultobj
= Py_None
;
3488 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3489 wxLayoutConstraints
*src
;
3491 src
= (wxLayoutConstraints
*) ptr
;
3492 dest
= (wxObject
*) src
;
3493 return (void *) dest
;
3496 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3497 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3499 wxLayoutConstraints
* _result
;
3500 char *_kwnames
[] = { NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) return NULL
;
3513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3514 _resultobj
= Py_BuildValue("s",_ptemp
);
3517 _resultobj
= Py_None
;
3522 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3523 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
* _resultobj
;
3525 wxIndividualLayoutConstraint
* _result
;
3526 wxLayoutConstraints
* _arg0
;
3527 PyObject
* _argo0
= 0;
3528 char *_kwnames
[] = { "self", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) return NULL
;
3548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3549 _resultobj
= Py_BuildValue("s",_ptemp
);
3552 _resultobj
= Py_None
;
3557 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3558 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
* _resultobj
;
3560 wxIndividualLayoutConstraint
* _result
;
3561 wxLayoutConstraints
* _arg0
;
3562 PyObject
* _argo0
= 0;
3563 char *_kwnames
[] = { "self", NULL
};
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) return NULL
;
3583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3584 _resultobj
= Py_BuildValue("s",_ptemp
);
3587 _resultobj
= Py_None
;
3592 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3593 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
* _resultobj
;
3595 wxIndividualLayoutConstraint
* _result
;
3596 wxLayoutConstraints
* _arg0
;
3597 PyObject
* _argo0
= 0;
3598 char *_kwnames
[] = { "self", NULL
};
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) return NULL
;
3618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3619 _resultobj
= Py_BuildValue("s",_ptemp
);
3622 _resultobj
= Py_None
;
3627 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3628 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3630 wxIndividualLayoutConstraint
* _result
;
3631 wxLayoutConstraints
* _arg0
;
3632 PyObject
* _argo0
= 0;
3633 char *_kwnames
[] = { "self", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) return NULL
;
3653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3654 _resultobj
= Py_BuildValue("s",_ptemp
);
3657 _resultobj
= Py_None
;
3662 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3663 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3664 PyObject
* _resultobj
;
3665 wxIndividualLayoutConstraint
* _result
;
3666 wxLayoutConstraints
* _arg0
;
3667 PyObject
* _argo0
= 0;
3668 char *_kwnames
[] = { "self", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) return NULL
;
3688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3689 _resultobj
= Py_BuildValue("s",_ptemp
);
3692 _resultobj
= Py_None
;
3697 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3698 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
* _resultobj
;
3700 wxIndividualLayoutConstraint
* _result
;
3701 wxLayoutConstraints
* _arg0
;
3702 PyObject
* _argo0
= 0;
3703 char *_kwnames
[] = { "self", NULL
};
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) return NULL
;
3723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3724 _resultobj
= Py_BuildValue("s",_ptemp
);
3727 _resultobj
= Py_None
;
3732 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3733 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3735 wxIndividualLayoutConstraint
* _result
;
3736 wxLayoutConstraints
* _arg0
;
3737 PyObject
* _argo0
= 0;
3738 char *_kwnames
[] = { "self", NULL
};
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) return NULL
;
3758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3759 _resultobj
= Py_BuildValue("s",_ptemp
);
3762 _resultobj
= Py_None
;
3767 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3768 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3770 wxIndividualLayoutConstraint
* _result
;
3771 wxLayoutConstraints
* _arg0
;
3772 PyObject
* _argo0
= 0;
3773 char *_kwnames
[] = { "self", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) return NULL
;
3793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3794 _resultobj
= Py_BuildValue("s",_ptemp
);
3797 _resultobj
= Py_None
;
3802 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3803 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
* _resultobj
;
3805 wxAcceleratorEntry
* _result
;
3806 int _arg0
= (int ) 0;
3807 int _arg1
= (int ) 0;
3808 int _arg2
= (int ) 0;
3809 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) return NULL
;
3822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3823 _resultobj
= Py_BuildValue("s",_ptemp
);
3826 _resultobj
= Py_None
;
3831 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3832 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3834 wxAcceleratorEntry
* _arg0
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 delete_wxAcceleratorEntry(_arg0
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } Py_INCREF(Py_None
);
3855 _resultobj
= Py_None
;
3859 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3860 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3862 wxAcceleratorEntry
* _arg0
;
3866 PyObject
* _argo0
= 0;
3867 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) return NULL
;
3885 } Py_INCREF(Py_None
);
3886 _resultobj
= Py_None
;
3890 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3891 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3894 wxAcceleratorEntry
* _arg0
;
3895 PyObject
* _argo0
= 0;
3896 char *_kwnames
[] = { "self", NULL
};
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) return NULL
;
3914 } _resultobj
= Py_BuildValue("i",_result
);
3918 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3919 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
* _resultobj
;
3922 wxAcceleratorEntry
* _arg0
;
3923 PyObject
* _argo0
= 0;
3924 char *_kwnames
[] = { "self", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) return NULL
;
3942 } _resultobj
= Py_BuildValue("i",_result
);
3946 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3947 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3950 wxAcceleratorEntry
* _arg0
;
3951 PyObject
* _argo0
= 0;
3952 char *_kwnames
[] = { "self", NULL
};
3955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) return NULL
;
3970 } _resultobj
= Py_BuildValue("i",_result
);
3974 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3975 wxAcceleratorTable
*src
;
3977 src
= (wxAcceleratorTable
*) ptr
;
3978 dest
= (wxObject
*) src
;
3979 return (void *) dest
;
3982 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3983 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3985 wxAcceleratorTable
* _result
;
3987 wxAcceleratorEntry
* _arg1
;
3988 PyObject
* _obj1
= 0;
3989 char *_kwnames
[] = { "choices", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3997 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3998 if (_arg1
== NULL
) {
4004 _arg0
= PyList_Size(_obj1
);
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) return NULL
;
4017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
4018 _resultobj
= Py_BuildValue("s",_ptemp
);
4021 _resultobj
= Py_None
;
4029 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
4030 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
* _resultobj
;
4032 wxAcceleratorTable
* _arg0
;
4033 PyObject
* _argo0
= 0;
4034 char *_kwnames
[] = { "self", NULL
};
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
4040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 delete_wxAcceleratorTable(_arg0
);
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) return NULL
;
4052 } Py_INCREF(Py_None
);
4053 _resultobj
= Py_None
;
4057 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
4060 src
= (wxBusyInfo
*) ptr
;
4061 dest
= (wxObject
*) src
;
4062 return (void *) dest
;
4065 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4066 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4068 wxBusyInfo
* _result
;
4070 PyObject
* _obj0
= 0;
4071 char *_kwnames
[] = { "message", NULL
};
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4078 _arg0
= wxString_in_helper(_obj0
);
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) return NULL
;
4089 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4090 _resultobj
= Py_BuildValue("s",_ptemp
);
4093 _resultobj
= Py_None
;
4102 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4103 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
* _resultobj
;
4106 PyObject
* _argo0
= 0;
4107 char *_kwnames
[] = { "self", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 delete_wxBusyInfo(_arg0
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) return NULL
;
4125 } Py_INCREF(Py_None
);
4126 _resultobj
= Py_None
;
4130 static PyMethodDef misccMethods
[] = {
4131 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4205 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4206 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4207 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4208 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4209 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4210 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4211 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4212 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4218 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4219 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4222 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4223 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4224 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4225 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4226 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4227 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4228 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4229 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4230 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4231 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4232 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4233 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4234 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4235 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4236 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4237 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
4238 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4239 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4240 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4241 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4242 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4243 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4244 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4245 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4246 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4247 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4248 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4249 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4250 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4251 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4252 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4253 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4254 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4255 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4256 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4257 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4258 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4259 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4260 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4261 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4262 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4263 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4264 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4265 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4266 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4267 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4274 * This table is used by the pointer type-checker
4276 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4277 { "_signed_long","_long",0},
4278 { "_wxPrintQuality","_wxCoord",0},
4279 { "_wxPrintQuality","_int",0},
4280 { "_wxPrintQuality","_signed_int",0},
4281 { "_wxPrintQuality","_unsigned_int",0},
4282 { "_wxPrintQuality","_wxWindowID",0},
4283 { "_wxPrintQuality","_uint",0},
4284 { "_wxPrintQuality","_EBool",0},
4285 { "_wxPrintQuality","_size_t",0},
4286 { "_wxPrintQuality","_time_t",0},
4287 { "_byte","_unsigned_char",0},
4288 { "_long","_unsigned_long",0},
4289 { "_long","_signed_long",0},
4290 { "_size_t","_wxCoord",0},
4291 { "_size_t","_wxPrintQuality",0},
4292 { "_size_t","_time_t",0},
4293 { "_size_t","_unsigned_int",0},
4294 { "_size_t","_int",0},
4295 { "_size_t","_wxWindowID",0},
4296 { "_size_t","_uint",0},
4297 { "_uint","_wxCoord",0},
4298 { "_uint","_wxPrintQuality",0},
4299 { "_uint","_time_t",0},
4300 { "_uint","_size_t",0},
4301 { "_uint","_unsigned_int",0},
4302 { "_uint","_int",0},
4303 { "_uint","_wxWindowID",0},
4304 { "_wxChar","_char",0},
4305 { "_char","_wxChar",0},
4306 { "_EBool","_wxCoord",0},
4307 { "_EBool","_wxPrintQuality",0},
4308 { "_EBool","_signed_int",0},
4309 { "_EBool","_int",0},
4310 { "_EBool","_wxWindowID",0},
4311 { "_unsigned_long","_long",0},
4312 { "_signed_int","_wxCoord",0},
4313 { "_signed_int","_wxPrintQuality",0},
4314 { "_signed_int","_EBool",0},
4315 { "_signed_int","_wxWindowID",0},
4316 { "_signed_int","_int",0},
4317 { "_WXTYPE","_short",0},
4318 { "_WXTYPE","_signed_short",0},
4319 { "_WXTYPE","_unsigned_short",0},
4320 { "_unsigned_short","_WXTYPE",0},
4321 { "_unsigned_short","_short",0},
4322 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4323 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4324 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4325 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4326 { "_signed_short","_WXTYPE",0},
4327 { "_signed_short","_short",0},
4328 { "_unsigned_char","_byte",0},
4329 { "_unsigned_int","_wxCoord",0},
4330 { "_unsigned_int","_wxPrintQuality",0},
4331 { "_unsigned_int","_time_t",0},
4332 { "_unsigned_int","_size_t",0},
4333 { "_unsigned_int","_uint",0},
4334 { "_unsigned_int","_wxWindowID",0},
4335 { "_unsigned_int","_int",0},
4336 { "_short","_WXTYPE",0},
4337 { "_short","_unsigned_short",0},
4338 { "_short","_signed_short",0},
4339 { "_wxWindowID","_wxCoord",0},
4340 { "_wxWindowID","_wxPrintQuality",0},
4341 { "_wxWindowID","_time_t",0},
4342 { "_wxWindowID","_size_t",0},
4343 { "_wxWindowID","_EBool",0},
4344 { "_wxWindowID","_uint",0},
4345 { "_wxWindowID","_int",0},
4346 { "_wxWindowID","_signed_int",0},
4347 { "_wxWindowID","_unsigned_int",0},
4348 { "_int","_wxCoord",0},
4349 { "_int","_wxPrintQuality",0},
4350 { "_int","_time_t",0},
4351 { "_int","_size_t",0},
4352 { "_int","_EBool",0},
4353 { "_int","_uint",0},
4354 { "_int","_wxWindowID",0},
4355 { "_int","_unsigned_int",0},
4356 { "_int","_signed_int",0},
4357 { "_time_t","_wxCoord",0},
4358 { "_time_t","_wxPrintQuality",0},
4359 { "_time_t","_unsigned_int",0},
4360 { "_time_t","_int",0},
4361 { "_time_t","_wxWindowID",0},
4362 { "_time_t","_uint",0},
4363 { "_time_t","_size_t",0},
4364 { "_wxCoord","_int",0},
4365 { "_wxCoord","_signed_int",0},
4366 { "_wxCoord","_unsigned_int",0},
4367 { "_wxCoord","_wxWindowID",0},
4368 { "_wxCoord","_uint",0},
4369 { "_wxCoord","_EBool",0},
4370 { "_wxCoord","_size_t",0},
4371 { "_wxCoord","_time_t",0},
4372 { "_wxCoord","_wxPrintQuality",0},
4375 static PyObject
*SWIG_globals
;
4379 SWIGEXPORT(void) initmiscc() {
4381 SWIG_globals
= SWIG_newvarlink();
4382 m
= Py_InitModule("miscc", misccMethods
);
4383 d
= PyModule_GetDict(m
);
4384 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4385 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4386 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4387 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4388 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4389 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4390 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4391 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4392 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4393 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4394 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4395 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4396 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4397 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4398 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4399 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4400 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4401 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4402 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4403 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4404 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4407 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4408 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);