2 * FILE : src/msw/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmiscc
56 #define SWIG_name "miscc"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
61 #include <wx/busyinfo.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 #if PYTHON_API_VERSION >= 1009
91 static char* wxStringErrorMsg
= "String or Unicode type required";
93 static char* wxStringErrorMsg
= "String type required";
96 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
102 reg1
.Intersect(reg2
);
103 dest
= reg1
.GetBox();
105 if (dest
!= wxRect(0,0,0,0)) {
106 wxPyBeginBlockThreads();
107 wxRect
* newRect
= new wxRect(dest
);
108 obj
= wxPyConstructObject((void*)newRect
, "wxRect");
109 PyObject
* one
= PyInt_FromLong(1);
110 PyObject_SetAttrString(obj
, "thisown", one
);
112 wxPyEndBlockThreads();
119 char* wxGetResource(char *section
, char *entry
, char *file
= NULL
) {
121 wxGetResource(section
, entry
, &retval
, file
);
125 #if 0 // we want to use the definition from the header, not the
126 // one SWIG will generate.
127 extern wxAcceleratorTable wxNullAcceleratorTable
;
133 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
134 PyObject
* _resultobj
;
139 PyObject
* _obj0
= 0;
141 PyObject
* _obj1
= 0;
142 char *_kwnames
[] = { "r1","r2", NULL
};
145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
149 if (! wxRect_helper(_obj0
, &_arg0
))
154 if (! wxRect_helper(_obj1
, &_arg1
))
158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
159 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
161 wxPyEndAllowThreads(__tstate
);
162 if (PyErr_Occurred()) return NULL
;
164 _resultobj
= _result
;
169 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
170 PyObject
* _resultobj
;
172 char *_kwnames
[] = { NULL
};
175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
179 _result
= (long )wxNewId();
181 wxPyEndAllowThreads(__tstate
);
182 if (PyErr_Occurred()) return NULL
;
183 } _resultobj
= Py_BuildValue("l",_result
);
187 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
188 PyObject
* _resultobj
;
190 char *_kwnames
[] = { "id", NULL
};
193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
199 wxPyEndAllowThreads(__tstate
);
200 if (PyErr_Occurred()) return NULL
;
201 } Py_INCREF(Py_None
);
202 _resultobj
= Py_None
;
206 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
207 PyObject
* _resultobj
;
209 char *_kwnames
[] = { NULL
};
212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":NewId",_kwnames
))
215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
216 _result
= (long )wxNewId();
218 wxPyEndAllowThreads(__tstate
);
219 if (PyErr_Occurred()) return NULL
;
220 } _resultobj
= Py_BuildValue("l",_result
);
224 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
225 PyObject
* _resultobj
;
227 char *_kwnames
[] = { "id", NULL
};
230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:RegisterId",_kwnames
,&_arg0
))
233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
236 wxPyEndAllowThreads(__tstate
);
237 if (PyErr_Occurred()) return NULL
;
238 } Py_INCREF(Py_None
);
239 _resultobj
= Py_None
;
243 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
246 char *_kwnames
[] = { NULL
};
249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
253 _result
= (long )wxGetCurrentId();
255 wxPyEndAllowThreads(__tstate
);
256 if (PyErr_Occurred()) return NULL
;
257 } _resultobj
= Py_BuildValue("l",_result
);
261 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
262 PyObject
* _resultobj
;
263 char *_kwnames
[] = { NULL
};
266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
272 wxPyEndAllowThreads(__tstate
);
273 if (PyErr_Occurred()) return NULL
;
274 } Py_INCREF(Py_None
);
275 _resultobj
= Py_None
;
279 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
281 char *_kwnames
[] = { NULL
};
284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
290 wxPyEndAllowThreads(__tstate
);
291 if (PyErr_Occurred()) return NULL
;
292 } Py_INCREF(Py_None
);
293 _resultobj
= Py_None
;
297 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
298 PyObject
* _resultobj
;
300 bool _arg0
= (bool ) TRUE
;
301 int tempbool0
= (int) TRUE
;
302 char *_kwnames
[] = { "resetTimer", NULL
};
305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
307 _arg0
= (bool ) tempbool0
;
309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
310 _result
= (long )wxGetElapsedTime(_arg0
);
312 wxPyEndAllowThreads(__tstate
);
313 if (PyErr_Occurred()) return NULL
;
314 } _resultobj
= Py_BuildValue("l",_result
);
318 static PyObject
*_wrap_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
321 char *_kwnames
[] = { NULL
};
324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
328 _result
= (long )wxGetFreeMemory();
330 wxPyEndAllowThreads(__tstate
);
331 if (PyErr_Occurred()) return NULL
;
332 } _resultobj
= Py_BuildValue("l",_result
);
336 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
337 PyObject
* _resultobj
;
342 char *_kwnames
[] = { NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
355 wxGetMousePosition(_arg0
,_arg1
);
357 wxPyEndAllowThreads(__tstate
);
358 if (PyErr_Occurred()) return NULL
;
359 } Py_INCREF(Py_None
);
360 _resultobj
= Py_None
;
363 o
= PyInt_FromLong((long) (*_arg0
));
364 _resultobj
= t_output_helper(_resultobj
, o
);
368 o
= PyInt_FromLong((long) (*_arg1
));
369 _resultobj
= t_output_helper(_resultobj
, o
);
374 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
375 PyObject
* _resultobj
;
377 char *_kwnames
[] = { NULL
};
380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
384 _result
= (bool )wxIsBusy();
386 wxPyEndAllowThreads(__tstate
);
387 if (PyErr_Occurred()) return NULL
;
388 } _resultobj
= Py_BuildValue("i",_result
);
392 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 PyObject
* _resultobj
;
395 char *_kwnames
[] = { NULL
};
398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
402 _result
= new wxString (wxNow());
404 wxPyEndAllowThreads(__tstate
);
405 if (PyErr_Occurred()) return NULL
;
407 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
415 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
418 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
419 PyObject
* _obj0
= 0;
420 char *_kwnames
[] = { "command", NULL
};
423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
427 #if PYTHON_API_VERSION >= 1009
428 char* tmpPtr
; int tmpSize
;
429 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
433 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
435 _arg0
= new wxString(tmpPtr
, tmpSize
);
437 if (!PyString_Check(_obj0
)) {
438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
441 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
446 _result
= (bool )wxShell(*_arg0
);
448 wxPyEndAllowThreads(__tstate
);
449 if (PyErr_Occurred()) return NULL
;
450 } _resultobj
= Py_BuildValue("i",_result
);
458 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
459 PyObject
* _resultobj
;
460 char *_kwnames
[] = { NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
469 wxPyEndAllowThreads(__tstate
);
470 if (PyErr_Occurred()) return NULL
;
471 } Py_INCREF(Py_None
);
472 _resultobj
= Py_None
;
476 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
477 PyObject
* _resultobj
;
483 char *_kwnames
[] = { NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
496 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
498 wxPyEndAllowThreads(__tstate
);
499 if (PyErr_Occurred()) return NULL
;
500 } _resultobj
= Py_BuildValue("i",_result
);
503 o
= PyInt_FromLong((long) (*_arg0
));
504 _resultobj
= t_output_helper(_resultobj
, o
);
508 o
= PyInt_FromLong((long) (*_arg1
));
509 _resultobj
= t_output_helper(_resultobj
, o
);
514 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
515 PyObject
* _resultobj
;
517 char *_kwnames
[] = { NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
524 _result
= new wxString (wxGetOsDescription());
526 wxPyEndAllowThreads(__tstate
);
527 if (PyErr_Occurred()) return NULL
;
529 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
537 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
540 char *_kwnames
[] = { "secs", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
549 wxPyEndAllowThreads(__tstate
);
550 if (PyErr_Occurred()) return NULL
;
551 } Py_INCREF(Py_None
);
552 _resultobj
= Py_None
;
556 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
557 PyObject
* _resultobj
;
559 char *_kwnames
[] = { "milliseconds", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
568 wxPyEndAllowThreads(__tstate
);
569 if (PyErr_Occurred()) return NULL
;
570 } Py_INCREF(Py_None
);
571 _resultobj
= Py_None
;
575 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
578 char *_kwnames
[] = { NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
585 _result
= (bool )wxYield();
587 wxPyEndAllowThreads(__tstate
);
588 if (PyErr_Occurred()) return NULL
;
589 } _resultobj
= Py_BuildValue("i",_result
);
593 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
596 char *_kwnames
[] = { NULL
};
599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
603 _result
= (bool )wxYieldIfNeeded();
605 wxPyEndAllowThreads(__tstate
);
606 if (PyErr_Occurred()) return NULL
;
607 } _resultobj
= Py_BuildValue("i",_result
);
611 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
612 PyObject
* _resultobj
;
615 char *_kwnames
[] = { "enable", NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
620 _arg0
= (bool ) tempbool0
;
622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
623 wxEnableTopLevelWindows(_arg0
);
625 wxPyEndAllowThreads(__tstate
);
626 if (PyErr_Occurred()) return NULL
;
627 } Py_INCREF(Py_None
);
628 _resultobj
= Py_None
;
632 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
637 char * _arg2
= (char *) NULL
;
638 char *_kwnames
[] = { "section","entry","file", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
645 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
647 wxPyEndAllowThreads(__tstate
);
648 if (PyErr_Occurred()) return NULL
;
649 } _resultobj
= Py_BuildValue("s", _result
);
653 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
654 PyObject
* _resultobj
;
657 PyObject
* _obj0
= 0;
658 char *_kwnames
[] = { "in", NULL
};
661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
664 #if PYTHON_API_VERSION >= 1009
665 char* tmpPtr
; int tmpSize
;
666 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
667 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
670 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
672 _arg0
= new wxString(tmpPtr
, tmpSize
);
674 if (!PyString_Check(_obj0
)) {
675 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
678 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
683 _result
= new wxString (wxStripMenuCodes(*_arg0
));
685 wxPyEndAllowThreads(__tstate
);
686 if (PyErr_Occurred()) return NULL
;
688 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
700 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
703 char *_kwnames
[] = { NULL
};
706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
710 _result
= new wxString (wxGetEmailAddress());
712 wxPyEndAllowThreads(__tstate
);
713 if (PyErr_Occurred()) return NULL
;
715 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
723 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
724 PyObject
* _resultobj
;
726 char *_kwnames
[] = { NULL
};
729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
733 _result
= new wxString (wxGetHostName());
735 wxPyEndAllowThreads(__tstate
);
736 if (PyErr_Occurred()) return NULL
;
738 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
746 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
749 char *_kwnames
[] = { NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 _result
= new wxString (wxGetFullHostName());
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) return NULL
;
761 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
769 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
772 char *_kwnames
[] = { NULL
};
775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
779 _result
= new wxString (wxGetUserId());
781 wxPyEndAllowThreads(__tstate
);
782 if (PyErr_Occurred()) return NULL
;
784 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
792 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 PyObject
* _resultobj
;
795 char *_kwnames
[] = { NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
802 _result
= new wxString (wxGetUserName());
804 wxPyEndAllowThreads(__tstate
);
805 if (PyErr_Occurred()) return NULL
;
807 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
815 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 PyObject
* _resultobj
;
818 char *_kwnames
[] = { NULL
};
821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
825 _result
= new wxString (wxGetHomeDir());
827 wxPyEndAllowThreads(__tstate
);
828 if (PyErr_Occurred()) return NULL
;
830 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
838 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
839 PyObject
* _resultobj
;
841 char * _arg0
= (char *) "";
842 char *_kwnames
[] = { "user", NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:wxGetUserHome",_kwnames
,&_arg0
))
848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
849 _result
= new wxString (wxGetUserHome(_arg0
));
851 wxPyEndAllowThreads(__tstate
);
852 if (PyErr_Occurred()) return NULL
;
854 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
862 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
864 wxAcceleratorEntry
* _result
;
866 PyObject
* _obj0
= 0;
867 char *_kwnames
[] = { "label", NULL
};
871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
874 #if PYTHON_API_VERSION >= 1009
875 char* tmpPtr
; int tmpSize
;
876 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
880 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
882 _arg0
= new wxString(tmpPtr
, tmpSize
);
884 if (!PyString_Check(_obj0
)) {
885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
888 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
893 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
895 wxPyEndAllowThreads(__tstate
);
896 if (PyErr_Occurred()) return NULL
;
898 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
899 _resultobj
= Py_BuildValue("s",_ptemp
);
902 _resultobj
= Py_None
;
911 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
913 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
917 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
921 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
922 pyobj
= PyString_FromString(ptemp
);
926 static const char * wxObject_GetClassName(wxObject
*self
) {
927 return self
->GetClassInfo()->GetClassName();
929 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
930 PyObject
* _resultobj
;
933 PyObject
* _argo0
= 0;
934 char *_kwnames
[] = { "self", NULL
};
937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
948 _result
= (char *)wxObject_GetClassName(_arg0
);
950 wxPyEndAllowThreads(__tstate
);
951 if (PyErr_Occurred()) return NULL
;
952 } _resultobj
= Py_BuildValue("s", _result
);
956 static void wxObject_Destroy(wxObject
*self
) {
959 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
962 PyObject
* _argo0
= 0;
963 char *_kwnames
[] = { "self", NULL
};
966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
977 wxObject_Destroy(_arg0
);
979 wxPyEndAllowThreads(__tstate
);
980 if (PyErr_Occurred()) return NULL
;
981 } Py_INCREF(Py_None
);
982 _resultobj
= Py_None
;
986 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
987 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
993 PyObject
* _obj0
= 0;
994 char *_kwnames
[] = { "self","x", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
1001 if (! wxSize_helper(_obj0
, &_arg0
))
1005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1006 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1008 wxPyEndAllowThreads(__tstate
);
1009 if (PyErr_Occurred()) return NULL
;
1010 } _resultobj
= Py_BuildValue("l",_result
);
1014 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1015 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
* _resultobj
;
1020 PyObject
* _obj0
= 0;
1021 char *_kwnames
[] = { "self", NULL
};
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1028 if (! wxSize_helper(_obj0
, &_arg0
))
1032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1033 _result
= (long )wxSize_x_get(_arg0
);
1035 wxPyEndAllowThreads(__tstate
);
1036 if (PyErr_Occurred()) return NULL
;
1037 } _resultobj
= Py_BuildValue("l",_result
);
1041 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1042 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1048 PyObject
* _obj0
= 0;
1049 char *_kwnames
[] = { "self","y", NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1056 if (! wxSize_helper(_obj0
, &_arg0
))
1060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1061 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1063 wxPyEndAllowThreads(__tstate
);
1064 if (PyErr_Occurred()) return NULL
;
1065 } _resultobj
= Py_BuildValue("l",_result
);
1069 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1070 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1075 PyObject
* _obj0
= 0;
1076 char *_kwnames
[] = { "self", NULL
};
1079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1083 if (! wxSize_helper(_obj0
, &_arg0
))
1087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1088 _result
= (long )wxSize_y_get(_arg0
);
1090 wxPyEndAllowThreads(__tstate
);
1091 if (PyErr_Occurred()) return NULL
;
1092 } _resultobj
= Py_BuildValue("l",_result
);
1096 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1097 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
* _resultobj
;
1100 long _arg0
= (long ) 0;
1101 long _arg1
= (long ) 0;
1102 char *_kwnames
[] = { "w","h", NULL
};
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1110 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1112 wxPyEndAllowThreads(__tstate
);
1113 if (PyErr_Occurred()) return NULL
;
1115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1116 _resultobj
= Py_BuildValue("s",_ptemp
);
1119 _resultobj
= Py_None
;
1124 #define delete_wxSize(_swigobj) (delete _swigobj)
1125 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
* _resultobj
;
1129 PyObject
* _obj0
= 0;
1130 char *_kwnames
[] = { "self", NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1137 if (! wxSize_helper(_obj0
, &_arg0
))
1141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1142 delete_wxSize(_arg0
);
1144 wxPyEndAllowThreads(__tstate
);
1145 if (PyErr_Occurred()) return NULL
;
1146 } Py_INCREF(Py_None
);
1147 _resultobj
= Py_None
;
1151 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1152 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1153 PyObject
* _resultobj
;
1158 PyObject
* _obj0
= 0;
1159 char *_kwnames
[] = { "self","w","h", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1166 if (! wxSize_helper(_obj0
, &_arg0
))
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 wxSize_Set(_arg0
,_arg1
,_arg2
);
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) return NULL
;
1175 } Py_INCREF(Py_None
);
1176 _resultobj
= Py_None
;
1180 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1181 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
* _resultobj
;
1186 PyObject
* _obj0
= 0;
1187 char *_kwnames
[] = { "self", NULL
};
1190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1194 if (! wxSize_helper(_obj0
, &_arg0
))
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 _result
= (long )wxSize_GetX(_arg0
);
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) return NULL
;
1203 } _resultobj
= Py_BuildValue("l",_result
);
1207 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1208 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
* _resultobj
;
1213 PyObject
* _obj0
= 0;
1214 char *_kwnames
[] = { "self", NULL
};
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1221 if (! wxSize_helper(_obj0
, &_arg0
))
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 _result
= (long )wxSize_GetY(_arg0
);
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) return NULL
;
1230 } _resultobj
= Py_BuildValue("l",_result
);
1234 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1235 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1240 PyObject
* _obj0
= 0;
1241 char *_kwnames
[] = { "self", NULL
};
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1248 if (! wxSize_helper(_obj0
, &_arg0
))
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 _result
= (long )wxSize_GetWidth(_arg0
);
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) return NULL
;
1257 } _resultobj
= Py_BuildValue("l",_result
);
1261 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1262 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1267 PyObject
* _obj0
= 0;
1268 char *_kwnames
[] = { "self", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1275 if (! wxSize_helper(_obj0
, &_arg0
))
1279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1280 _result
= (long )wxSize_GetHeight(_arg0
);
1282 wxPyEndAllowThreads(__tstate
);
1283 if (PyErr_Occurred()) return NULL
;
1284 } _resultobj
= Py_BuildValue("l",_result
);
1288 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1289 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1294 PyObject
* _obj0
= 0;
1295 char *_kwnames
[] = { "self","w", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1302 if (! wxSize_helper(_obj0
, &_arg0
))
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 wxSize_SetWidth(_arg0
,_arg1
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1311 } Py_INCREF(Py_None
);
1312 _resultobj
= Py_None
;
1316 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1317 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1322 PyObject
* _obj0
= 0;
1323 char *_kwnames
[] = { "self","h", NULL
};
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1330 if (! wxSize_helper(_obj0
, &_arg0
))
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 wxSize_SetHeight(_arg0
,_arg1
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) return NULL
;
1339 } Py_INCREF(Py_None
);
1340 _resultobj
= Py_None
;
1344 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1345 PyObject
* tup
= PyTuple_New(2);
1346 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1347 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1350 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
* _resultobj
;
1355 PyObject
* _obj0
= 0;
1356 char *_kwnames
[] = { "self", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1363 if (! wxSize_helper(_obj0
, &_arg0
))
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) return NULL
;
1373 _resultobj
= _result
;
1378 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1380 if (*self
== *sz
) return 0;
1383 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1384 PyObject
* _resultobj
;
1389 PyObject
* _obj0
= 0;
1391 PyObject
* _obj1
= 0;
1392 char *_kwnames
[] = { "self","sz", NULL
};
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1399 if (! wxSize_helper(_obj0
, &_arg0
))
1404 if (! wxSize_helper(_obj1
, &_arg1
))
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) return NULL
;
1413 } _resultobj
= Py_BuildValue("i",_result
);
1417 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1418 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1421 wxRealPoint
* _arg0
;
1424 PyObject
* _obj0
= 0;
1425 char *_kwnames
[] = { "self","x", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1432 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1441 } _resultobj
= Py_BuildValue("d",_result
);
1445 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1446 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1449 wxRealPoint
* _arg0
;
1451 PyObject
* _obj0
= 0;
1452 char *_kwnames
[] = { "self", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1459 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1464 _result
= (double )wxRealPoint_x_get(_arg0
);
1466 wxPyEndAllowThreads(__tstate
);
1467 if (PyErr_Occurred()) return NULL
;
1468 } _resultobj
= Py_BuildValue("d",_result
);
1472 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1473 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1476 wxRealPoint
* _arg0
;
1479 PyObject
* _obj0
= 0;
1480 char *_kwnames
[] = { "self","y", NULL
};
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1487 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1496 } _resultobj
= Py_BuildValue("d",_result
);
1500 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1501 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1504 wxRealPoint
* _arg0
;
1506 PyObject
* _obj0
= 0;
1507 char *_kwnames
[] = { "self", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1514 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1519 _result
= (double )wxRealPoint_y_get(_arg0
);
1521 wxPyEndAllowThreads(__tstate
);
1522 if (PyErr_Occurred()) return NULL
;
1523 } _resultobj
= Py_BuildValue("d",_result
);
1527 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1528 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
* _resultobj
;
1530 wxRealPoint
* _result
;
1531 double _arg0
= (double ) 0.0;
1532 double _arg1
= (double ) 0.0;
1533 char *_kwnames
[] = { "x","y", NULL
};
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1541 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1543 wxPyEndAllowThreads(__tstate
);
1544 if (PyErr_Occurred()) return NULL
;
1546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1547 _resultobj
= Py_BuildValue("s",_ptemp
);
1550 _resultobj
= Py_None
;
1555 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1556 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
* _resultobj
;
1558 wxRealPoint
* _arg0
;
1560 PyObject
* _obj0
= 0;
1561 char *_kwnames
[] = { "self", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1568 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 delete_wxRealPoint(_arg0
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) return NULL
;
1577 } Py_INCREF(Py_None
);
1578 _resultobj
= Py_None
;
1582 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1586 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
* _resultobj
;
1588 wxRealPoint
* _arg0
;
1592 PyObject
* _obj0
= 0;
1593 char *_kwnames
[] = { "self","x","y", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1600 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) return NULL
;
1609 } Py_INCREF(Py_None
);
1610 _resultobj
= Py_None
;
1614 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1615 PyObject
* tup
= PyTuple_New(2);
1616 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1617 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1620 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1623 wxRealPoint
* _arg0
;
1625 PyObject
* _obj0
= 0;
1626 char *_kwnames
[] = { "self", NULL
};
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1633 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1638 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1640 wxPyEndAllowThreads(__tstate
);
1641 if (PyErr_Occurred()) return NULL
;
1643 _resultobj
= _result
;
1648 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1649 if (! p
) return *self
;
1652 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1654 wxRealPoint
* _result
;
1655 wxRealPoint
* _arg0
;
1656 wxRealPoint
* _arg1
;
1658 PyObject
* _obj0
= 0;
1660 PyObject
* _obj1
= 0;
1661 char *_kwnames
[] = { "self","p", NULL
};
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1669 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1674 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) return NULL
;
1683 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1684 _resultobj
= Py_BuildValue("s",_ptemp
);
1688 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1689 if (! p
) return *self
;
1692 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1693 PyObject
* _resultobj
;
1694 wxRealPoint
* _result
;
1695 wxRealPoint
* _arg0
;
1696 wxRealPoint
* _arg1
;
1698 PyObject
* _obj0
= 0;
1700 PyObject
* _obj1
= 0;
1701 char *_kwnames
[] = { "self","p", NULL
};
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1709 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1714 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) return NULL
;
1723 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1724 _resultobj
= Py_BuildValue("s",_ptemp
);
1728 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1730 if (*self
== *p
) return 0;
1733 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
* _resultobj
;
1736 wxRealPoint
* _arg0
;
1737 wxRealPoint
* _arg1
;
1739 PyObject
* _obj0
= 0;
1741 PyObject
* _obj1
= 0;
1742 char *_kwnames
[] = { "self","p", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1749 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1754 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) return NULL
;
1763 } _resultobj
= Py_BuildValue("i",_result
);
1767 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1768 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1774 PyObject
* _obj0
= 0;
1775 char *_kwnames
[] = { "self","x", NULL
};
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1782 if (! wxPoint_helper(_obj0
, &_arg0
))
1786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) return NULL
;
1791 } _resultobj
= Py_BuildValue("l",_result
);
1795 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1796 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1801 PyObject
* _obj0
= 0;
1802 char *_kwnames
[] = { "self", NULL
};
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1809 if (! wxPoint_helper(_obj0
, &_arg0
))
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1814 _result
= (long )wxPoint_x_get(_arg0
);
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) return NULL
;
1818 } _resultobj
= Py_BuildValue("l",_result
);
1822 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1823 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1824 PyObject
* _resultobj
;
1829 PyObject
* _obj0
= 0;
1830 char *_kwnames
[] = { "self","y", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1837 if (! wxPoint_helper(_obj0
, &_arg0
))
1841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1842 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1844 wxPyEndAllowThreads(__tstate
);
1845 if (PyErr_Occurred()) return NULL
;
1846 } _resultobj
= Py_BuildValue("l",_result
);
1850 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1851 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1856 PyObject
* _obj0
= 0;
1857 char *_kwnames
[] = { "self", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1864 if (! wxPoint_helper(_obj0
, &_arg0
))
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 _result
= (long )wxPoint_y_get(_arg0
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) return NULL
;
1873 } _resultobj
= Py_BuildValue("l",_result
);
1877 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1878 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1881 long _arg0
= (long ) 0;
1882 long _arg1
= (long ) 0;
1883 char *_kwnames
[] = { "x","y", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1891 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1893 wxPyEndAllowThreads(__tstate
);
1894 if (PyErr_Occurred()) return NULL
;
1896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1897 _resultobj
= Py_BuildValue("s",_ptemp
);
1900 _resultobj
= Py_None
;
1905 #define delete_wxPoint(_swigobj) (delete _swigobj)
1906 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1910 PyObject
* _obj0
= 0;
1911 char *_kwnames
[] = { "self", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1918 if (! wxPoint_helper(_obj0
, &_arg0
))
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 delete_wxPoint(_arg0
);
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) return NULL
;
1927 } Py_INCREF(Py_None
);
1928 _resultobj
= Py_None
;
1932 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1936 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1942 PyObject
* _obj0
= 0;
1943 char *_kwnames
[] = { "self","x","y", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1950 if (! wxPoint_helper(_obj0
, &_arg0
))
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) return NULL
;
1959 } Py_INCREF(Py_None
);
1960 _resultobj
= Py_None
;
1964 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1965 PyObject
* tup
= PyTuple_New(2);
1966 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1967 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1970 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
* _resultobj
;
1975 PyObject
* _obj0
= 0;
1976 char *_kwnames
[] = { "self", NULL
};
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1983 if (! wxPoint_helper(_obj0
, &_arg0
))
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) return NULL
;
1993 _resultobj
= _result
;
1998 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1999 if (! p
) return *self
;
2002 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2008 PyObject
* _obj0
= 0;
2010 PyObject
* _obj1
= 0;
2011 char *_kwnames
[] = { "self","p", NULL
};
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2019 if (! wxPoint_helper(_obj0
, &_arg0
))
2024 if (! wxPoint_helper(_obj1
, &_arg1
))
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) return NULL
;
2033 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2034 _resultobj
= Py_BuildValue("s",_ptemp
);
2038 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2039 if (! p
) return *self
;
2042 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2048 PyObject
* _obj0
= 0;
2050 PyObject
* _obj1
= 0;
2051 char *_kwnames
[] = { "self","p", NULL
};
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2059 if (! wxPoint_helper(_obj0
, &_arg0
))
2064 if (! wxPoint_helper(_obj1
, &_arg1
))
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) return NULL
;
2073 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2074 _resultobj
= Py_BuildValue("s",_ptemp
);
2078 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2080 if (*self
== *p
) return 0;
2083 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2089 PyObject
* _obj0
= 0;
2091 PyObject
* _obj1
= 0;
2092 char *_kwnames
[] = { "self","p", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2099 if (! wxPoint_helper(_obj0
, &_arg0
))
2104 if (! wxPoint_helper(_obj1
, &_arg1
))
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) return NULL
;
2113 } _resultobj
= Py_BuildValue("i",_result
);
2117 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2118 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
* _resultobj
;
2121 int _arg0
= (int ) 0;
2122 int _arg1
= (int ) 0;
2123 int _arg2
= (int ) 0;
2124 int _arg3
= (int ) 0;
2125 char *_kwnames
[] = { "x","y","w","h", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) return NULL
;
2138 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2139 _resultobj
= Py_BuildValue("s",_ptemp
);
2142 _resultobj
= Py_None
;
2147 #define delete_wxRect(_swigobj) (delete _swigobj)
2148 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2152 PyObject
* _obj0
= 0;
2153 char *_kwnames
[] = { "self", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2160 if (! wxRect_helper(_obj0
, &_arg0
))
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 delete_wxRect(_arg0
);
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) return NULL
;
2169 } Py_INCREF(Py_None
);
2170 _resultobj
= Py_None
;
2174 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2175 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
* _resultobj
;
2180 PyObject
* _obj0
= 0;
2181 char *_kwnames
[] = { "self", NULL
};
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2188 if (! wxRect_helper(_obj0
, &_arg0
))
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 _result
= (int )wxRect_GetX(_arg0
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) return NULL
;
2197 } _resultobj
= Py_BuildValue("i",_result
);
2201 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2202 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
* _resultobj
;
2207 PyObject
* _obj0
= 0;
2208 char *_kwnames
[] = { "self","X", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2215 if (! wxRect_helper(_obj0
, &_arg0
))
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 wxRect_SetX(_arg0
,_arg1
);
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) return NULL
;
2224 } Py_INCREF(Py_None
);
2225 _resultobj
= Py_None
;
2229 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2230 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
* _resultobj
;
2235 PyObject
* _obj0
= 0;
2236 char *_kwnames
[] = { "self", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2243 if (! wxRect_helper(_obj0
, &_arg0
))
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 _result
= (int )wxRect_GetY(_arg0
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) return NULL
;
2252 } _resultobj
= Py_BuildValue("i",_result
);
2256 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2257 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
* _resultobj
;
2262 PyObject
* _obj0
= 0;
2263 char *_kwnames
[] = { "self","Y", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2270 if (! wxRect_helper(_obj0
, &_arg0
))
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 wxRect_SetY(_arg0
,_arg1
);
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) return NULL
;
2279 } Py_INCREF(Py_None
);
2280 _resultobj
= Py_None
;
2284 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2285 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2290 PyObject
* _obj0
= 0;
2291 char *_kwnames
[] = { "self", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2298 if (! wxRect_helper(_obj0
, &_arg0
))
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 _result
= (int )wxRect_GetWidth(_arg0
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) return NULL
;
2307 } _resultobj
= Py_BuildValue("i",_result
);
2311 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2312 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
* _resultobj
;
2317 PyObject
* _obj0
= 0;
2318 char *_kwnames
[] = { "self","w", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2325 if (! wxRect_helper(_obj0
, &_arg0
))
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 wxRect_SetWidth(_arg0
,_arg1
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) return NULL
;
2334 } Py_INCREF(Py_None
);
2335 _resultobj
= Py_None
;
2339 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2340 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2345 PyObject
* _obj0
= 0;
2346 char *_kwnames
[] = { "self", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2353 if (! wxRect_helper(_obj0
, &_arg0
))
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 _result
= (int )wxRect_GetHeight(_arg0
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) return NULL
;
2362 } _resultobj
= Py_BuildValue("i",_result
);
2366 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2367 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2372 PyObject
* _obj0
= 0;
2373 char *_kwnames
[] = { "self","h", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2380 if (! wxRect_helper(_obj0
, &_arg0
))
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 wxRect_SetHeight(_arg0
,_arg1
);
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) return NULL
;
2389 } Py_INCREF(Py_None
);
2390 _resultobj
= Py_None
;
2394 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2395 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2400 PyObject
* _obj0
= 0;
2401 char *_kwnames
[] = { "self", NULL
};
2405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2409 if (! wxRect_helper(_obj0
, &_arg0
))
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) return NULL
;
2418 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2419 _resultobj
= Py_BuildValue("s",_ptemp
);
2423 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2424 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2425 PyObject
* _resultobj
;
2429 PyObject
* _obj0
= 0;
2430 char *_kwnames
[] = { "self", NULL
};
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2438 if (! wxRect_helper(_obj0
, &_arg0
))
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 _result
= new wxSize (wxRect_GetSize(_arg0
));
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) return NULL
;
2447 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2448 _resultobj
= Py_BuildValue("s",_ptemp
);
2452 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2453 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2454 PyObject
* _resultobj
;
2458 PyObject
* _obj0
= 0;
2459 char *_kwnames
[] = { "self", NULL
};
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2466 if (! wxRect_helper(_obj0
, &_arg0
))
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 _result
= (int )wxRect_GetLeft(_arg0
);
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) return NULL
;
2475 } _resultobj
= Py_BuildValue("i",_result
);
2479 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2480 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2485 PyObject
* _obj0
= 0;
2486 char *_kwnames
[] = { "self", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2493 if (! wxRect_helper(_obj0
, &_arg0
))
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 _result
= (int )wxRect_GetTop(_arg0
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) return NULL
;
2502 } _resultobj
= Py_BuildValue("i",_result
);
2506 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2507 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2512 PyObject
* _obj0
= 0;
2513 char *_kwnames
[] = { "self", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2520 if (! wxRect_helper(_obj0
, &_arg0
))
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 _result
= (int )wxRect_GetBottom(_arg0
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) return NULL
;
2529 } _resultobj
= Py_BuildValue("i",_result
);
2533 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2534 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2539 PyObject
* _obj0
= 0;
2540 char *_kwnames
[] = { "self", NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2547 if (! wxRect_helper(_obj0
, &_arg0
))
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 _result
= (int )wxRect_GetRight(_arg0
);
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2556 } _resultobj
= Py_BuildValue("i",_result
);
2560 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2561 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
* _resultobj
;
2566 PyObject
* _obj0
= 0;
2567 char *_kwnames
[] = { "self","left", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2574 if (! wxRect_helper(_obj0
, &_arg0
))
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 wxRect_SetLeft(_arg0
,_arg1
);
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) return NULL
;
2583 } Py_INCREF(Py_None
);
2584 _resultobj
= Py_None
;
2588 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2589 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2594 PyObject
* _obj0
= 0;
2595 char *_kwnames
[] = { "self","right", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2602 if (! wxRect_helper(_obj0
, &_arg0
))
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 wxRect_SetRight(_arg0
,_arg1
);
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) return NULL
;
2611 } Py_INCREF(Py_None
);
2612 _resultobj
= Py_None
;
2616 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2617 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2622 PyObject
* _obj0
= 0;
2623 char *_kwnames
[] = { "self","top", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2630 if (! wxRect_helper(_obj0
, &_arg0
))
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 wxRect_SetTop(_arg0
,_arg1
);
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) return NULL
;
2639 } Py_INCREF(Py_None
);
2640 _resultobj
= Py_None
;
2644 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2645 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2646 PyObject
* _resultobj
;
2650 PyObject
* _obj0
= 0;
2651 char *_kwnames
[] = { "self","bottom", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2658 if (! wxRect_helper(_obj0
, &_arg0
))
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 wxRect_SetBottom(_arg0
,_arg1
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) return NULL
;
2667 } Py_INCREF(Py_None
);
2668 _resultobj
= Py_None
;
2672 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2673 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
* _resultobj
;
2679 PyObject
* _obj0
= 0;
2680 char *_kwnames
[] = { "self","dx","dy", NULL
};
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2687 if (! wxRect_helper(_obj0
, &_arg0
))
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) return NULL
;
2696 } Py_INCREF(Py_None
);
2697 _resultobj
= Py_None
;
2701 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2702 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2709 PyObject
* _obj0
= 0;
2710 char *_kwnames
[] = { "self","cx","cy", NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2717 if (! wxRect_helper(_obj0
, &_arg0
))
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) return NULL
;
2726 } _resultobj
= Py_BuildValue("i",_result
);
2730 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2731 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
* _resultobj
;
2737 PyObject
* _obj0
= 0;
2738 char *_kwnames
[] = { "self","x", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2745 if (! wxRect_helper(_obj0
, &_arg0
))
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2750 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) return NULL
;
2754 } _resultobj
= Py_BuildValue("i",_result
);
2758 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2759 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
* _resultobj
;
2764 PyObject
* _obj0
= 0;
2765 char *_kwnames
[] = { "self", NULL
};
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2772 if (! wxRect_helper(_obj0
, &_arg0
))
2776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2777 _result
= (int )wxRect_x_get(_arg0
);
2779 wxPyEndAllowThreads(__tstate
);
2780 if (PyErr_Occurred()) return NULL
;
2781 } _resultobj
= Py_BuildValue("i",_result
);
2785 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2786 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
* _resultobj
;
2792 PyObject
* _obj0
= 0;
2793 char *_kwnames
[] = { "self","y", NULL
};
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2800 if (! wxRect_helper(_obj0
, &_arg0
))
2804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2805 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2807 wxPyEndAllowThreads(__tstate
);
2808 if (PyErr_Occurred()) return NULL
;
2809 } _resultobj
= Py_BuildValue("i",_result
);
2813 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2814 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
* _resultobj
;
2819 PyObject
* _obj0
= 0;
2820 char *_kwnames
[] = { "self", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2827 if (! wxRect_helper(_obj0
, &_arg0
))
2831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2832 _result
= (int )wxRect_y_get(_arg0
);
2834 wxPyEndAllowThreads(__tstate
);
2835 if (PyErr_Occurred()) return NULL
;
2836 } _resultobj
= Py_BuildValue("i",_result
);
2840 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2841 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2847 PyObject
* _obj0
= 0;
2848 char *_kwnames
[] = { "self","width", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2855 if (! wxRect_helper(_obj0
, &_arg0
))
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) return NULL
;
2864 } _resultobj
= Py_BuildValue("i",_result
);
2868 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2869 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2874 PyObject
* _obj0
= 0;
2875 char *_kwnames
[] = { "self", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2882 if (! wxRect_helper(_obj0
, &_arg0
))
2886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2887 _result
= (int )wxRect_width_get(_arg0
);
2889 wxPyEndAllowThreads(__tstate
);
2890 if (PyErr_Occurred()) return NULL
;
2891 } _resultobj
= Py_BuildValue("i",_result
);
2895 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2896 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
* _resultobj
;
2902 PyObject
* _obj0
= 0;
2903 char *_kwnames
[] = { "self","height", NULL
};
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2910 if (! wxRect_helper(_obj0
, &_arg0
))
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) return NULL
;
2919 } _resultobj
= Py_BuildValue("i",_result
);
2923 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2924 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2925 PyObject
* _resultobj
;
2929 PyObject
* _obj0
= 0;
2930 char *_kwnames
[] = { "self", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2937 if (! wxRect_helper(_obj0
, &_arg0
))
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 _result
= (int )wxRect_height_get(_arg0
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) return NULL
;
2946 } _resultobj
= Py_BuildValue("i",_result
);
2950 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2951 PyObject
* tup
= PyTuple_New(4);
2952 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2953 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2954 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2955 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2958 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
* _resultobj
;
2963 PyObject
* _obj0
= 0;
2964 char *_kwnames
[] = { "self", NULL
};
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2971 if (! wxRect_helper(_obj0
, &_arg0
))
2975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2976 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2978 wxPyEndAllowThreads(__tstate
);
2979 if (PyErr_Occurred()) return NULL
;
2981 _resultobj
= _result
;
2986 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2987 if (! rect
) return *self
;
2988 return *self
+ *rect
;
2990 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2996 PyObject
* _obj0
= 0;
2998 PyObject
* _obj1
= 0;
2999 char *_kwnames
[] = { "self","rect", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3007 if (! wxRect_helper(_obj0
, &_arg0
))
3012 if (! wxRect_helper(_obj1
, &_arg1
))
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) return NULL
;
3021 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3022 _resultobj
= Py_BuildValue("s",_ptemp
);
3026 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3027 if (! rect
) return 1;
3028 if (*self
== *rect
) return 0;
3031 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3037 PyObject
* _obj0
= 0;
3039 PyObject
* _obj1
= 0;
3040 char *_kwnames
[] = { "self","rect", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3047 if (! wxRect_helper(_obj0
, &_arg0
))
3052 if (! wxRect_helper(_obj1
, &_arg1
))
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) return NULL
;
3061 } _resultobj
= Py_BuildValue("i",_result
);
3065 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3066 wxIndividualLayoutConstraint
*src
;
3068 src
= (wxIndividualLayoutConstraint
*) ptr
;
3069 dest
= (wxObject
*) src
;
3070 return (void *) dest
;
3073 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3074 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3076 wxIndividualLayoutConstraint
* _arg0
;
3078 int _arg2
= (int ) 0;
3079 PyObject
* _argo0
= 0;
3080 PyObject
* _argo1
= 0;
3081 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3094 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3095 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) return NULL
;
3106 } Py_INCREF(Py_None
);
3107 _resultobj
= Py_None
;
3111 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3112 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
* _resultobj
;
3114 wxIndividualLayoutConstraint
* _arg0
;
3116 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self","value", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3135 } Py_INCREF(Py_None
);
3136 _resultobj
= Py_None
;
3140 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3141 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3143 wxIndividualLayoutConstraint
* _arg0
;
3144 PyObject
* _argo0
= 0;
3145 char *_kwnames
[] = { "self", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 wxIndividualLayoutConstraint_AsIs(_arg0
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) return NULL
;
3163 } Py_INCREF(Py_None
);
3164 _resultobj
= Py_None
;
3168 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3169 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
* _resultobj
;
3171 wxIndividualLayoutConstraint
* _arg0
;
3173 int _arg2
= (int ) 0;
3174 PyObject
* _argo0
= 0;
3175 PyObject
* _argo1
= 0;
3176 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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_Below. Expected _wxIndividualLayoutConstraint_p.");
3189 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) return NULL
;
3201 } Py_INCREF(Py_None
);
3202 _resultobj
= Py_None
;
3206 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3207 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3209 wxIndividualLayoutConstraint
* _arg0
;
3210 PyObject
* _argo0
= 0;
3211 char *_kwnames
[] = { "self", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) return NULL
;
3229 } Py_INCREF(Py_None
);
3230 _resultobj
= Py_None
;
3234 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3235 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3237 wxIndividualLayoutConstraint
* _arg0
;
3239 int _arg2
= (int ) 0;
3240 PyObject
* _argo0
= 0;
3241 PyObject
* _argo1
= 0;
3242 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3255 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) return NULL
;
3267 } Py_INCREF(Py_None
);
3268 _resultobj
= Py_None
;
3272 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3273 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
* _resultobj
;
3275 wxIndividualLayoutConstraint
* _arg0
;
3279 PyObject
* _argo0
= 0;
3280 PyObject
* _argo1
= 0;
3281 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3294 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3295 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) return NULL
;
3306 } Py_INCREF(Py_None
);
3307 _resultobj
= Py_None
;
3311 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3312 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
* _resultobj
;
3314 wxIndividualLayoutConstraint
* _arg0
;
3316 int _arg2
= (int ) 0;
3317 PyObject
* _argo0
= 0;
3318 PyObject
* _argo1
= 0;
3319 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3332 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) return NULL
;
3344 } Py_INCREF(Py_None
);
3345 _resultobj
= Py_None
;
3349 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3350 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3352 wxIndividualLayoutConstraint
* _arg0
;
3355 int _arg3
= (int ) 0;
3356 PyObject
* _argo0
= 0;
3357 PyObject
* _argo1
= 0;
3358 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) return NULL
;
3383 } Py_INCREF(Py_None
);
3384 _resultobj
= Py_None
;
3388 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3389 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
* _resultobj
;
3391 wxIndividualLayoutConstraint
* _arg0
;
3392 wxRelationship _arg1
;
3395 int _arg4
= (int ) 0;
3396 int _arg5
= (int ) 0;
3397 PyObject
* _argo0
= 0;
3398 PyObject
* _argo2
= 0;
3399 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3412 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3413 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) return NULL
;
3424 } Py_INCREF(Py_None
);
3425 _resultobj
= Py_None
;
3429 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3430 wxLayoutConstraints
*src
;
3432 src
= (wxLayoutConstraints
*) ptr
;
3433 dest
= (wxObject
*) src
;
3434 return (void *) dest
;
3437 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3438 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3440 wxLayoutConstraints
* _result
;
3441 char *_kwnames
[] = { NULL
};
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) return NULL
;
3454 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3455 _resultobj
= Py_BuildValue("s",_ptemp
);
3458 _resultobj
= Py_None
;
3463 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3464 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3466 wxIndividualLayoutConstraint
* _result
;
3467 wxLayoutConstraints
* _arg0
;
3468 PyObject
* _argo0
= 0;
3469 char *_kwnames
[] = { "self", NULL
};
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) return NULL
;
3489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3490 _resultobj
= Py_BuildValue("s",_ptemp
);
3493 _resultobj
= Py_None
;
3498 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3499 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3501 wxIndividualLayoutConstraint
* _result
;
3502 wxLayoutConstraints
* _arg0
;
3503 PyObject
* _argo0
= 0;
3504 char *_kwnames
[] = { "self", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) return NULL
;
3524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3525 _resultobj
= Py_BuildValue("s",_ptemp
);
3528 _resultobj
= Py_None
;
3533 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3534 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
* _resultobj
;
3536 wxIndividualLayoutConstraint
* _result
;
3537 wxLayoutConstraints
* _arg0
;
3538 PyObject
* _argo0
= 0;
3539 char *_kwnames
[] = { "self", NULL
};
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) return NULL
;
3559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3560 _resultobj
= Py_BuildValue("s",_ptemp
);
3563 _resultobj
= Py_None
;
3568 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3569 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3571 wxIndividualLayoutConstraint
* _result
;
3572 wxLayoutConstraints
* _arg0
;
3573 PyObject
* _argo0
= 0;
3574 char *_kwnames
[] = { "self", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) return NULL
;
3594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3595 _resultobj
= Py_BuildValue("s",_ptemp
);
3598 _resultobj
= Py_None
;
3603 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3604 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3606 wxIndividualLayoutConstraint
* _result
;
3607 wxLayoutConstraints
* _arg0
;
3608 PyObject
* _argo0
= 0;
3609 char *_kwnames
[] = { "self", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) return NULL
;
3629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3630 _resultobj
= Py_BuildValue("s",_ptemp
);
3633 _resultobj
= Py_None
;
3638 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3639 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
* _resultobj
;
3641 wxIndividualLayoutConstraint
* _result
;
3642 wxLayoutConstraints
* _arg0
;
3643 PyObject
* _argo0
= 0;
3644 char *_kwnames
[] = { "self", NULL
};
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) return NULL
;
3664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3665 _resultobj
= Py_BuildValue("s",_ptemp
);
3668 _resultobj
= Py_None
;
3673 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3674 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3676 wxIndividualLayoutConstraint
* _result
;
3677 wxLayoutConstraints
* _arg0
;
3678 PyObject
* _argo0
= 0;
3679 char *_kwnames
[] = { "self", NULL
};
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) return NULL
;
3699 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3700 _resultobj
= Py_BuildValue("s",_ptemp
);
3703 _resultobj
= Py_None
;
3708 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3709 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
* _resultobj
;
3711 wxIndividualLayoutConstraint
* _result
;
3712 wxLayoutConstraints
* _arg0
;
3713 PyObject
* _argo0
= 0;
3714 char *_kwnames
[] = { "self", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) return NULL
;
3734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3735 _resultobj
= Py_BuildValue("s",_ptemp
);
3738 _resultobj
= Py_None
;
3743 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3744 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3746 wxAcceleratorEntry
* _result
;
3747 int _arg0
= (int ) 0;
3748 int _arg1
= (int ) 0;
3749 int _arg2
= (int ) 0;
3750 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) return NULL
;
3763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3764 _resultobj
= Py_BuildValue("s",_ptemp
);
3767 _resultobj
= Py_None
;
3772 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3773 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3775 wxAcceleratorEntry
* _arg0
;
3776 PyObject
* _argo0
= 0;
3777 char *_kwnames
[] = { "self", NULL
};
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 delete_wxAcceleratorEntry(_arg0
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) return NULL
;
3795 } Py_INCREF(Py_None
);
3796 _resultobj
= Py_None
;
3800 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3801 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
* _resultobj
;
3803 wxAcceleratorEntry
* _arg0
;
3807 PyObject
* _argo0
= 0;
3808 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) return NULL
;
3826 } Py_INCREF(Py_None
);
3827 _resultobj
= Py_None
;
3831 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3832 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3835 wxAcceleratorEntry
* _arg0
;
3836 PyObject
* _argo0
= 0;
3837 char *_kwnames
[] = { "self", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) return NULL
;
3855 } _resultobj
= Py_BuildValue("i",_result
);
3859 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3860 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3863 wxAcceleratorEntry
* _arg0
;
3864 PyObject
* _argo0
= 0;
3865 char *_kwnames
[] = { "self", NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) return NULL
;
3883 } _resultobj
= Py_BuildValue("i",_result
);
3887 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3888 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3891 wxAcceleratorEntry
* _arg0
;
3892 PyObject
* _argo0
= 0;
3893 char *_kwnames
[] = { "self", NULL
};
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) return NULL
;
3911 } _resultobj
= Py_BuildValue("i",_result
);
3915 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3916 wxAcceleratorTable
*src
;
3918 src
= (wxAcceleratorTable
*) ptr
;
3919 dest
= (wxObject
*) src
;
3920 return (void *) dest
;
3923 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3924 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
* _resultobj
;
3926 wxAcceleratorTable
* _result
;
3928 wxAcceleratorEntry
* _arg1
;
3929 PyObject
* _obj1
= 0;
3930 char *_kwnames
[] = { "choices", NULL
};
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3938 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3939 if (_arg1
== NULL
) {
3945 _arg0
= PyList_Size(_obj1
);
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) return NULL
;
3958 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3959 _resultobj
= Py_BuildValue("s",_ptemp
);
3962 _resultobj
= Py_None
;
3970 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
3971 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
* _resultobj
;
3973 wxAcceleratorTable
* _arg0
;
3974 PyObject
* _argo0
= 0;
3975 char *_kwnames
[] = { "self", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 delete_wxAcceleratorTable(_arg0
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) return NULL
;
3993 } Py_INCREF(Py_None
);
3994 _resultobj
= Py_None
;
3998 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
4001 src
= (wxBusyInfo
*) ptr
;
4002 dest
= (wxObject
*) src
;
4003 return (void *) dest
;
4006 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
4007 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
* _resultobj
;
4009 wxBusyInfo
* _result
;
4011 PyObject
* _obj0
= 0;
4012 char *_kwnames
[] = { "message", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4019 #if PYTHON_API_VERSION >= 1009
4020 char* tmpPtr
; int tmpSize
;
4021 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4025 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4027 _arg0
= new wxString(tmpPtr
, tmpSize
);
4029 if (!PyString_Check(_obj0
)) {
4030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4033 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) return NULL
;
4043 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4044 _resultobj
= Py_BuildValue("s",_ptemp
);
4047 _resultobj
= Py_None
;
4056 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4057 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
* _resultobj
;
4060 PyObject
* _argo0
= 0;
4061 char *_kwnames
[] = { "self", NULL
};
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 delete_wxBusyInfo(_arg0
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) return NULL
;
4079 } Py_INCREF(Py_None
);
4080 _resultobj
= Py_None
;
4084 static PyMethodDef misccMethods
[] = {
4085 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4086 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4087 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4088 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4089 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4090 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4091 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4092 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4093 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4094 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4095 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4096 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4097 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4098 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4099 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4100 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4101 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4102 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4103 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4104 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4105 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4106 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4107 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4108 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4109 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4110 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4111 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4112 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4113 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4114 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4115 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4116 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4117 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4118 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4119 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4120 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4121 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4122 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4123 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4124 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4125 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4126 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4127 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4128 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4129 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4203 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4204 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4205 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4206 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4207 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4208 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4209 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4210 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4211 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4212 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
4213 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4214 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4215 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4216 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4217 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4218 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4219 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4220 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4221 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4228 * This table is used by the pointer type-checker
4230 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4231 { "_signed_long","_long",0},
4232 { "_wxPrintQuality","_wxCoord",0},
4233 { "_wxPrintQuality","_int",0},
4234 { "_wxPrintQuality","_signed_int",0},
4235 { "_wxPrintQuality","_unsigned_int",0},
4236 { "_wxPrintQuality","_wxWindowID",0},
4237 { "_wxPrintQuality","_uint",0},
4238 { "_wxPrintQuality","_EBool",0},
4239 { "_wxPrintQuality","_size_t",0},
4240 { "_wxPrintQuality","_time_t",0},
4241 { "_byte","_unsigned_char",0},
4242 { "_long","_unsigned_long",0},
4243 { "_long","_signed_long",0},
4244 { "_size_t","_wxCoord",0},
4245 { "_size_t","_wxPrintQuality",0},
4246 { "_size_t","_time_t",0},
4247 { "_size_t","_unsigned_int",0},
4248 { "_size_t","_int",0},
4249 { "_size_t","_wxWindowID",0},
4250 { "_size_t","_uint",0},
4251 { "_uint","_wxCoord",0},
4252 { "_uint","_wxPrintQuality",0},
4253 { "_uint","_time_t",0},
4254 { "_uint","_size_t",0},
4255 { "_uint","_unsigned_int",0},
4256 { "_uint","_int",0},
4257 { "_uint","_wxWindowID",0},
4258 { "_wxChar","_char",0},
4259 { "_char","_wxChar",0},
4260 { "_EBool","_wxCoord",0},
4261 { "_EBool","_wxPrintQuality",0},
4262 { "_EBool","_signed_int",0},
4263 { "_EBool","_int",0},
4264 { "_EBool","_wxWindowID",0},
4265 { "_unsigned_long","_long",0},
4266 { "_signed_int","_wxCoord",0},
4267 { "_signed_int","_wxPrintQuality",0},
4268 { "_signed_int","_EBool",0},
4269 { "_signed_int","_wxWindowID",0},
4270 { "_signed_int","_int",0},
4271 { "_WXTYPE","_short",0},
4272 { "_WXTYPE","_signed_short",0},
4273 { "_WXTYPE","_unsigned_short",0},
4274 { "_unsigned_short","_WXTYPE",0},
4275 { "_unsigned_short","_short",0},
4276 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4277 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4278 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4279 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4280 { "_signed_short","_WXTYPE",0},
4281 { "_signed_short","_short",0},
4282 { "_unsigned_char","_byte",0},
4283 { "_unsigned_int","_wxCoord",0},
4284 { "_unsigned_int","_wxPrintQuality",0},
4285 { "_unsigned_int","_time_t",0},
4286 { "_unsigned_int","_size_t",0},
4287 { "_unsigned_int","_uint",0},
4288 { "_unsigned_int","_wxWindowID",0},
4289 { "_unsigned_int","_int",0},
4290 { "_short","_WXTYPE",0},
4291 { "_short","_unsigned_short",0},
4292 { "_short","_signed_short",0},
4293 { "_wxWindowID","_wxCoord",0},
4294 { "_wxWindowID","_wxPrintQuality",0},
4295 { "_wxWindowID","_time_t",0},
4296 { "_wxWindowID","_size_t",0},
4297 { "_wxWindowID","_EBool",0},
4298 { "_wxWindowID","_uint",0},
4299 { "_wxWindowID","_int",0},
4300 { "_wxWindowID","_signed_int",0},
4301 { "_wxWindowID","_unsigned_int",0},
4302 { "_int","_wxCoord",0},
4303 { "_int","_wxPrintQuality",0},
4304 { "_int","_time_t",0},
4305 { "_int","_size_t",0},
4306 { "_int","_EBool",0},
4307 { "_int","_uint",0},
4308 { "_int","_wxWindowID",0},
4309 { "_int","_unsigned_int",0},
4310 { "_int","_signed_int",0},
4311 { "_time_t","_wxCoord",0},
4312 { "_time_t","_wxPrintQuality",0},
4313 { "_time_t","_unsigned_int",0},
4314 { "_time_t","_int",0},
4315 { "_time_t","_wxWindowID",0},
4316 { "_time_t","_uint",0},
4317 { "_time_t","_size_t",0},
4318 { "_wxCoord","_int",0},
4319 { "_wxCoord","_signed_int",0},
4320 { "_wxCoord","_unsigned_int",0},
4321 { "_wxCoord","_wxWindowID",0},
4322 { "_wxCoord","_uint",0},
4323 { "_wxCoord","_EBool",0},
4324 { "_wxCoord","_size_t",0},
4325 { "_wxCoord","_time_t",0},
4326 { "_wxCoord","_wxPrintQuality",0},
4329 static PyObject
*SWIG_globals
;
4333 SWIGEXPORT(void) initmiscc() {
4335 SWIG_globals
= SWIG_newvarlink();
4336 m
= Py_InitModule("miscc", misccMethods
);
4337 d
= PyModule_GetDict(m
);
4338 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4339 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4340 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4341 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4342 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4343 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4344 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4345 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4346 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4347 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4348 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4349 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4350 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4351 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4352 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4353 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4354 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4355 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4356 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4357 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4358 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4361 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4362 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);