2 * FILE : src/gtk/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_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
324 char *_kwnames
[] = { NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
337 wxGetMousePosition(_arg0
,_arg1
);
339 wxPyEndAllowThreads(__tstate
);
340 if (PyErr_Occurred()) return NULL
;
341 } Py_INCREF(Py_None
);
342 _resultobj
= Py_None
;
345 o
= PyInt_FromLong((long) (*_arg0
));
346 _resultobj
= t_output_helper(_resultobj
, o
);
350 o
= PyInt_FromLong((long) (*_arg1
));
351 _resultobj
= t_output_helper(_resultobj
, o
);
356 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
357 PyObject
* _resultobj
;
359 char *_kwnames
[] = { NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
366 _result
= (bool )wxIsBusy();
368 wxPyEndAllowThreads(__tstate
);
369 if (PyErr_Occurred()) return NULL
;
370 } _resultobj
= Py_BuildValue("i",_result
);
374 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
375 PyObject
* _resultobj
;
377 char *_kwnames
[] = { NULL
};
380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
384 _result
= new wxString (wxNow());
386 wxPyEndAllowThreads(__tstate
);
387 if (PyErr_Occurred()) return NULL
;
389 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
397 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
398 PyObject
* _resultobj
;
400 wxString
* _arg0
= (wxString
*) &wxEmptyString
;
401 PyObject
* _obj0
= 0;
402 char *_kwnames
[] = { "command", NULL
};
405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
409 #if PYTHON_API_VERSION >= 1009
410 char* tmpPtr
; int tmpSize
;
411 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
412 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
415 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
417 _arg0
= new wxString(tmpPtr
, tmpSize
);
419 if (!PyString_Check(_obj0
)) {
420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
423 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
428 _result
= (bool )wxShell(*_arg0
);
430 wxPyEndAllowThreads(__tstate
);
431 if (PyErr_Occurred()) return NULL
;
432 } _resultobj
= Py_BuildValue("i",_result
);
440 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
442 char *_kwnames
[] = { NULL
};
445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 wxPyEndAllowThreads(__tstate
);
452 if (PyErr_Occurred()) return NULL
;
453 } Py_INCREF(Py_None
);
454 _resultobj
= Py_None
;
458 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
459 PyObject
* _resultobj
;
465 char *_kwnames
[] = { NULL
};
474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
478 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
480 wxPyEndAllowThreads(__tstate
);
481 if (PyErr_Occurred()) return NULL
;
482 } _resultobj
= Py_BuildValue("i",_result
);
485 o
= PyInt_FromLong((long) (*_arg0
));
486 _resultobj
= t_output_helper(_resultobj
, o
);
490 o
= PyInt_FromLong((long) (*_arg1
));
491 _resultobj
= t_output_helper(_resultobj
, o
);
496 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
497 PyObject
* _resultobj
;
499 char *_kwnames
[] = { NULL
};
502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
506 _result
= new wxString (wxGetOsDescription());
508 wxPyEndAllowThreads(__tstate
);
509 if (PyErr_Occurred()) return NULL
;
511 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
519 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
522 char *_kwnames
[] = { "secs", NULL
};
525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
531 wxPyEndAllowThreads(__tstate
);
532 if (PyErr_Occurred()) return NULL
;
533 } Py_INCREF(Py_None
);
534 _resultobj
= Py_None
;
538 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
539 PyObject
* _resultobj
;
541 char *_kwnames
[] = { "milliseconds", NULL
};
544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
550 wxPyEndAllowThreads(__tstate
);
551 if (PyErr_Occurred()) return NULL
;
552 } Py_INCREF(Py_None
);
553 _resultobj
= Py_None
;
557 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
558 PyObject
* _resultobj
;
560 char *_kwnames
[] = { NULL
};
563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
567 _result
= (bool )wxYield();
569 wxPyEndAllowThreads(__tstate
);
570 if (PyErr_Occurred()) return NULL
;
571 } _resultobj
= Py_BuildValue("i",_result
);
575 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
576 PyObject
* _resultobj
;
578 char *_kwnames
[] = { NULL
};
581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
585 _result
= (bool )wxYieldIfNeeded();
587 wxPyEndAllowThreads(__tstate
);
588 if (PyErr_Occurred()) return NULL
;
589 } _resultobj
= Py_BuildValue("i",_result
);
593 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
594 PyObject
* _resultobj
;
597 char *_kwnames
[] = { "enable", NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
602 _arg0
= (bool ) tempbool0
;
604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
605 wxEnableTopLevelWindows(_arg0
);
607 wxPyEndAllowThreads(__tstate
);
608 if (PyErr_Occurred()) return NULL
;
609 } Py_INCREF(Py_None
);
610 _resultobj
= Py_None
;
614 static PyObject
*_wrap_wxGetResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
615 PyObject
* _resultobj
;
619 char * _arg2
= (char *) NULL
;
620 char *_kwnames
[] = { "section","entry","file", NULL
};
623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ss|s:wxGetResource",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
627 _result
= (char *)wxGetResource(_arg0
,_arg1
,_arg2
);
629 wxPyEndAllowThreads(__tstate
);
630 if (PyErr_Occurred()) return NULL
;
631 } _resultobj
= Py_BuildValue("s", _result
);
635 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
636 PyObject
* _resultobj
;
639 PyObject
* _obj0
= 0;
640 char *_kwnames
[] = { "in", NULL
};
643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
646 #if PYTHON_API_VERSION >= 1009
647 char* tmpPtr
; int tmpSize
;
648 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
649 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
652 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
654 _arg0
= new wxString(tmpPtr
, tmpSize
);
656 if (!PyString_Check(_obj0
)) {
657 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
660 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
665 _result
= new wxString (wxStripMenuCodes(*_arg0
));
667 wxPyEndAllowThreads(__tstate
);
668 if (PyErr_Occurred()) return NULL
;
670 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
682 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
683 PyObject
* _resultobj
;
685 char *_kwnames
[] = { NULL
};
688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
692 _result
= new wxString (wxGetEmailAddress());
694 wxPyEndAllowThreads(__tstate
);
695 if (PyErr_Occurred()) return NULL
;
697 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
705 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
706 PyObject
* _resultobj
;
708 char *_kwnames
[] = { NULL
};
711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
715 _result
= new wxString (wxGetHostName());
717 wxPyEndAllowThreads(__tstate
);
718 if (PyErr_Occurred()) return NULL
;
720 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
728 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
731 char *_kwnames
[] = { NULL
};
734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
738 _result
= new wxString (wxGetFullHostName());
740 wxPyEndAllowThreads(__tstate
);
741 if (PyErr_Occurred()) return NULL
;
743 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
751 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 PyObject
* _resultobj
;
754 char *_kwnames
[] = { NULL
};
757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
761 _result
= new wxString (wxGetUserId());
763 wxPyEndAllowThreads(__tstate
);
764 if (PyErr_Occurred()) return NULL
;
766 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
774 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
777 char *_kwnames
[] = { NULL
};
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
784 _result
= new wxString (wxGetUserName());
786 wxPyEndAllowThreads(__tstate
);
787 if (PyErr_Occurred()) return NULL
;
789 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
797 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
798 PyObject
* _resultobj
;
800 char *_kwnames
[] = { NULL
};
803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
807 _result
= new wxString (wxGetHomeDir());
809 wxPyEndAllowThreads(__tstate
);
810 if (PyErr_Occurred()) return NULL
;
812 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
820 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
823 char * _arg0
= (char *) "";
824 char *_kwnames
[] = { "user", NULL
};
827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|s:wxGetUserHome",_kwnames
,&_arg0
))
830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
831 _result
= new wxString (wxGetUserHome(_arg0
));
833 wxPyEndAllowThreads(__tstate
);
834 if (PyErr_Occurred()) return NULL
;
836 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
844 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
846 wxAcceleratorEntry
* _result
;
848 PyObject
* _obj0
= 0;
849 char *_kwnames
[] = { "label", NULL
};
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
856 #if PYTHON_API_VERSION >= 1009
857 char* tmpPtr
; int tmpSize
;
858 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
859 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
862 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
864 _arg0
= new wxString(tmpPtr
, tmpSize
);
866 if (!PyString_Check(_obj0
)) {
867 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
870 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
875 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
877 wxPyEndAllowThreads(__tstate
);
878 if (PyErr_Occurred()) return NULL
;
880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
881 _resultobj
= Py_BuildValue("s",_ptemp
);
884 _resultobj
= Py_None
;
893 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
895 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
899 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
903 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
904 pyobj
= PyString_FromString(ptemp
);
908 static const char * wxObject_GetClassName(wxObject
*self
) {
909 return self
->GetClassInfo()->GetClassName();
911 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
915 PyObject
* _argo0
= 0;
916 char *_kwnames
[] = { "self", NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
930 _result
= (char *)wxObject_GetClassName(_arg0
);
932 wxPyEndAllowThreads(__tstate
);
933 if (PyErr_Occurred()) return NULL
;
934 } _resultobj
= Py_BuildValue("s", _result
);
938 static void wxObject_Destroy(wxObject
*self
) {
941 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 PyObject
* _resultobj
;
944 PyObject
* _argo0
= 0;
945 char *_kwnames
[] = { "self", NULL
};
948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
959 wxObject_Destroy(_arg0
);
961 wxPyEndAllowThreads(__tstate
);
962 if (PyErr_Occurred()) return NULL
;
963 } Py_INCREF(Py_None
);
964 _resultobj
= Py_None
;
968 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
969 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
970 PyObject
* _resultobj
;
975 PyObject
* _obj0
= 0;
976 char *_kwnames
[] = { "self","x", NULL
};
979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
983 if (! wxSize_helper(_obj0
, &_arg0
))
987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
988 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
990 wxPyEndAllowThreads(__tstate
);
991 if (PyErr_Occurred()) return NULL
;
992 } _resultobj
= Py_BuildValue("l",_result
);
996 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
997 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
998 PyObject
* _resultobj
;
1002 PyObject
* _obj0
= 0;
1003 char *_kwnames
[] = { "self", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1010 if (! wxSize_helper(_obj0
, &_arg0
))
1014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1015 _result
= (long )wxSize_x_get(_arg0
);
1017 wxPyEndAllowThreads(__tstate
);
1018 if (PyErr_Occurred()) return NULL
;
1019 } _resultobj
= Py_BuildValue("l",_result
);
1023 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1024 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1030 PyObject
* _obj0
= 0;
1031 char *_kwnames
[] = { "self","y", NULL
};
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1038 if (! wxSize_helper(_obj0
, &_arg0
))
1042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1043 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1045 wxPyEndAllowThreads(__tstate
);
1046 if (PyErr_Occurred()) return NULL
;
1047 } _resultobj
= Py_BuildValue("l",_result
);
1051 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1052 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
* _resultobj
;
1057 PyObject
* _obj0
= 0;
1058 char *_kwnames
[] = { "self", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1065 if (! wxSize_helper(_obj0
, &_arg0
))
1069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1070 _result
= (long )wxSize_y_get(_arg0
);
1072 wxPyEndAllowThreads(__tstate
);
1073 if (PyErr_Occurred()) return NULL
;
1074 } _resultobj
= Py_BuildValue("l",_result
);
1078 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1079 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1082 long _arg0
= (long ) 0;
1083 long _arg1
= (long ) 0;
1084 char *_kwnames
[] = { "w","h", NULL
};
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1092 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1094 wxPyEndAllowThreads(__tstate
);
1095 if (PyErr_Occurred()) return NULL
;
1097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1098 _resultobj
= Py_BuildValue("s",_ptemp
);
1101 _resultobj
= Py_None
;
1106 #define delete_wxSize(_swigobj) (delete _swigobj)
1107 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
* _resultobj
;
1111 PyObject
* _obj0
= 0;
1112 char *_kwnames
[] = { "self", NULL
};
1115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1119 if (! wxSize_helper(_obj0
, &_arg0
))
1123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1124 delete_wxSize(_arg0
);
1126 wxPyEndAllowThreads(__tstate
);
1127 if (PyErr_Occurred()) return NULL
;
1128 } Py_INCREF(Py_None
);
1129 _resultobj
= Py_None
;
1133 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1134 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
* _resultobj
;
1140 PyObject
* _obj0
= 0;
1141 char *_kwnames
[] = { "self","w","h", NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1148 if (! wxSize_helper(_obj0
, &_arg0
))
1152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1153 wxSize_Set(_arg0
,_arg1
,_arg2
);
1155 wxPyEndAllowThreads(__tstate
);
1156 if (PyErr_Occurred()) return NULL
;
1157 } Py_INCREF(Py_None
);
1158 _resultobj
= Py_None
;
1162 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1163 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1164 PyObject
* _resultobj
;
1168 PyObject
* _obj0
= 0;
1169 char *_kwnames
[] = { "self", NULL
};
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1176 if (! wxSize_helper(_obj0
, &_arg0
))
1180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1181 _result
= (long )wxSize_GetX(_arg0
);
1183 wxPyEndAllowThreads(__tstate
);
1184 if (PyErr_Occurred()) return NULL
;
1185 } _resultobj
= Py_BuildValue("l",_result
);
1189 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1190 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1195 PyObject
* _obj0
= 0;
1196 char *_kwnames
[] = { "self", NULL
};
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1203 if (! wxSize_helper(_obj0
, &_arg0
))
1207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1208 _result
= (long )wxSize_GetY(_arg0
);
1210 wxPyEndAllowThreads(__tstate
);
1211 if (PyErr_Occurred()) return NULL
;
1212 } _resultobj
= Py_BuildValue("l",_result
);
1216 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1217 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1222 PyObject
* _obj0
= 0;
1223 char *_kwnames
[] = { "self", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1230 if (! wxSize_helper(_obj0
, &_arg0
))
1234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1235 _result
= (long )wxSize_GetWidth(_arg0
);
1237 wxPyEndAllowThreads(__tstate
);
1238 if (PyErr_Occurred()) return NULL
;
1239 } _resultobj
= Py_BuildValue("l",_result
);
1243 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1244 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1245 PyObject
* _resultobj
;
1249 PyObject
* _obj0
= 0;
1250 char *_kwnames
[] = { "self", NULL
};
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1257 if (! wxSize_helper(_obj0
, &_arg0
))
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 _result
= (long )wxSize_GetHeight(_arg0
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1266 } _resultobj
= Py_BuildValue("l",_result
);
1270 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1271 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1276 PyObject
* _obj0
= 0;
1277 char *_kwnames
[] = { "self","w", NULL
};
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1284 if (! wxSize_helper(_obj0
, &_arg0
))
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 wxSize_SetWidth(_arg0
,_arg1
);
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) return NULL
;
1293 } Py_INCREF(Py_None
);
1294 _resultobj
= Py_None
;
1298 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1299 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1304 PyObject
* _obj0
= 0;
1305 char *_kwnames
[] = { "self","h", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1312 if (! wxSize_helper(_obj0
, &_arg0
))
1316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1317 wxSize_SetHeight(_arg0
,_arg1
);
1319 wxPyEndAllowThreads(__tstate
);
1320 if (PyErr_Occurred()) return NULL
;
1321 } Py_INCREF(Py_None
);
1322 _resultobj
= Py_None
;
1326 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1327 PyObject
* tup
= PyTuple_New(2);
1328 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1329 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1332 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1337 PyObject
* _obj0
= 0;
1338 char *_kwnames
[] = { "self", NULL
};
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1345 if (! wxSize_helper(_obj0
, &_arg0
))
1349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1350 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1352 wxPyEndAllowThreads(__tstate
);
1353 if (PyErr_Occurred()) return NULL
;
1355 _resultobj
= _result
;
1360 static int wxSize___cmp__(wxSize
*self
,const wxSize
* sz
) {
1362 if (*self
== *sz
) return 0;
1365 static PyObject
*_wrap_wxSize___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1371 PyObject
* _obj0
= 0;
1373 PyObject
* _obj1
= 0;
1374 char *_kwnames
[] = { "self","sz", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___cmp__",_kwnames
,&_obj0
,&_obj1
))
1381 if (! wxSize_helper(_obj0
, &_arg0
))
1386 if (! wxSize_helper(_obj1
, &_arg1
))
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 _result
= (int )wxSize___cmp__(_arg0
,_arg1
);
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) return NULL
;
1395 } _resultobj
= Py_BuildValue("i",_result
);
1399 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1400 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1403 wxRealPoint
* _arg0
;
1406 PyObject
* _obj0
= 0;
1407 char *_kwnames
[] = { "self","x", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1414 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1419 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1421 wxPyEndAllowThreads(__tstate
);
1422 if (PyErr_Occurred()) return NULL
;
1423 } _resultobj
= Py_BuildValue("d",_result
);
1427 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1428 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1431 wxRealPoint
* _arg0
;
1433 PyObject
* _obj0
= 0;
1434 char *_kwnames
[] = { "self", NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1441 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 _result
= (double )wxRealPoint_x_get(_arg0
);
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) return NULL
;
1450 } _resultobj
= Py_BuildValue("d",_result
);
1454 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1455 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
* _resultobj
;
1458 wxRealPoint
* _arg0
;
1461 PyObject
* _obj0
= 0;
1462 char *_kwnames
[] = { "self","y", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1469 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) return NULL
;
1478 } _resultobj
= Py_BuildValue("d",_result
);
1482 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1483 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1486 wxRealPoint
* _arg0
;
1488 PyObject
* _obj0
= 0;
1489 char *_kwnames
[] = { "self", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1496 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 _result
= (double )wxRealPoint_y_get(_arg0
);
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) return NULL
;
1505 } _resultobj
= Py_BuildValue("d",_result
);
1509 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1510 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
* _resultobj
;
1512 wxRealPoint
* _result
;
1513 double _arg0
= (double ) 0.0;
1514 double _arg1
= (double ) 0.0;
1515 char *_kwnames
[] = { "x","y", NULL
};
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1525 wxPyEndAllowThreads(__tstate
);
1526 if (PyErr_Occurred()) return NULL
;
1528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1529 _resultobj
= Py_BuildValue("s",_ptemp
);
1532 _resultobj
= Py_None
;
1537 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1538 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1540 wxRealPoint
* _arg0
;
1542 PyObject
* _obj0
= 0;
1543 char *_kwnames
[] = { "self", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1550 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 delete_wxRealPoint(_arg0
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1559 } Py_INCREF(Py_None
);
1560 _resultobj
= Py_None
;
1564 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1568 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
* _resultobj
;
1570 wxRealPoint
* _arg0
;
1574 PyObject
* _obj0
= 0;
1575 char *_kwnames
[] = { "self","x","y", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1582 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) return NULL
;
1591 } Py_INCREF(Py_None
);
1592 _resultobj
= Py_None
;
1596 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1597 PyObject
* tup
= PyTuple_New(2);
1598 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1599 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1602 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1605 wxRealPoint
* _arg0
;
1607 PyObject
* _obj0
= 0;
1608 char *_kwnames
[] = { "self", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1615 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) return NULL
;
1625 _resultobj
= _result
;
1630 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1631 if (! p
) return *self
;
1634 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1636 wxRealPoint
* _result
;
1637 wxRealPoint
* _arg0
;
1638 wxRealPoint
* _arg1
;
1640 PyObject
* _obj0
= 0;
1642 PyObject
* _obj1
= 0;
1643 char *_kwnames
[] = { "self","p", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1651 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1656 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,_arg1
));
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) return NULL
;
1665 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1666 _resultobj
= Py_BuildValue("s",_ptemp
);
1670 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1671 if (! p
) return *self
;
1674 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
* _resultobj
;
1676 wxRealPoint
* _result
;
1677 wxRealPoint
* _arg0
;
1678 wxRealPoint
* _arg1
;
1680 PyObject
* _obj0
= 0;
1682 PyObject
* _obj1
= 0;
1683 char *_kwnames
[] = { "self","p", NULL
};
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1691 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1696 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,_arg1
));
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) return NULL
;
1705 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1706 _resultobj
= Py_BuildValue("s",_ptemp
);
1710 static int wxRealPoint___cmp__(wxRealPoint
*self
,const wxRealPoint
* p
) {
1712 if (*self
== *p
) return 0;
1715 static PyObject
*_wrap_wxRealPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1718 wxRealPoint
* _arg0
;
1719 wxRealPoint
* _arg1
;
1721 PyObject
* _obj0
= 0;
1723 PyObject
* _obj1
= 0;
1724 char *_kwnames
[] = { "self","p", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
1731 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1736 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 _result
= (int )wxRealPoint___cmp__(_arg0
,_arg1
);
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) return NULL
;
1745 } _resultobj
= Py_BuildValue("i",_result
);
1749 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1750 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1756 PyObject
* _obj0
= 0;
1757 char *_kwnames
[] = { "self","x", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1764 if (! wxPoint_helper(_obj0
, &_arg0
))
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) return NULL
;
1773 } _resultobj
= Py_BuildValue("l",_result
);
1777 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1778 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
* _resultobj
;
1783 PyObject
* _obj0
= 0;
1784 char *_kwnames
[] = { "self", NULL
};
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1791 if (! wxPoint_helper(_obj0
, &_arg0
))
1795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1796 _result
= (long )wxPoint_x_get(_arg0
);
1798 wxPyEndAllowThreads(__tstate
);
1799 if (PyErr_Occurred()) return NULL
;
1800 } _resultobj
= Py_BuildValue("l",_result
);
1804 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1805 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
* _resultobj
;
1811 PyObject
* _obj0
= 0;
1812 char *_kwnames
[] = { "self","y", NULL
};
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1819 if (! wxPoint_helper(_obj0
, &_arg0
))
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) return NULL
;
1828 } _resultobj
= Py_BuildValue("l",_result
);
1832 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1833 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1838 PyObject
* _obj0
= 0;
1839 char *_kwnames
[] = { "self", NULL
};
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1846 if (! wxPoint_helper(_obj0
, &_arg0
))
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 _result
= (long )wxPoint_y_get(_arg0
);
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) return NULL
;
1855 } _resultobj
= Py_BuildValue("l",_result
);
1859 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1860 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1861 PyObject
* _resultobj
;
1863 long _arg0
= (long ) 0;
1864 long _arg1
= (long ) 0;
1865 char *_kwnames
[] = { "x","y", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1873 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1875 wxPyEndAllowThreads(__tstate
);
1876 if (PyErr_Occurred()) return NULL
;
1878 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1879 _resultobj
= Py_BuildValue("s",_ptemp
);
1882 _resultobj
= Py_None
;
1887 #define delete_wxPoint(_swigobj) (delete _swigobj)
1888 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1892 PyObject
* _obj0
= 0;
1893 char *_kwnames
[] = { "self", NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1900 if (! wxPoint_helper(_obj0
, &_arg0
))
1904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1905 delete_wxPoint(_arg0
);
1907 wxPyEndAllowThreads(__tstate
);
1908 if (PyErr_Occurred()) return NULL
;
1909 } Py_INCREF(Py_None
);
1910 _resultobj
= Py_None
;
1914 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1918 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1924 PyObject
* _obj0
= 0;
1925 char *_kwnames
[] = { "self","x","y", NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1932 if (! wxPoint_helper(_obj0
, &_arg0
))
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 wxPoint_Set(_arg0
,_arg1
,_arg2
);
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) return NULL
;
1941 } Py_INCREF(Py_None
);
1942 _resultobj
= Py_None
;
1946 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
1947 PyObject
* tup
= PyTuple_New(2);
1948 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1949 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1952 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
* _resultobj
;
1957 PyObject
* _obj0
= 0;
1958 char *_kwnames
[] = { "self", NULL
};
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
1965 if (! wxPoint_helper(_obj0
, &_arg0
))
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) return NULL
;
1975 _resultobj
= _result
;
1980 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
* p
) {
1981 if (! p
) return *self
;
1984 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1990 PyObject
* _obj0
= 0;
1992 PyObject
* _obj1
= 0;
1993 char *_kwnames
[] = { "self","p", NULL
};
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2001 if (! wxPoint_helper(_obj0
, &_arg0
))
2006 if (! wxPoint_helper(_obj1
, &_arg1
))
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 _result
= new wxPoint (wxPoint___add__(_arg0
,_arg1
));
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) return NULL
;
2015 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2016 _resultobj
= Py_BuildValue("s",_ptemp
);
2020 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
* p
) {
2021 if (! p
) return *self
;
2024 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
* _resultobj
;
2030 PyObject
* _obj0
= 0;
2032 PyObject
* _obj1
= 0;
2033 char *_kwnames
[] = { "self","p", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2041 if (! wxPoint_helper(_obj0
, &_arg0
))
2046 if (! wxPoint_helper(_obj1
, &_arg1
))
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 _result
= new wxPoint (wxPoint___sub__(_arg0
,_arg1
));
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) return NULL
;
2055 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2056 _resultobj
= Py_BuildValue("s",_ptemp
);
2060 static int wxPoint___cmp__(wxPoint
*self
,const wxPoint
* p
) {
2062 if (*self
== *p
) return 0;
2065 static PyObject
*_wrap_wxPoint___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
* _resultobj
;
2071 PyObject
* _obj0
= 0;
2073 PyObject
* _obj1
= 0;
2074 char *_kwnames
[] = { "self","p", NULL
};
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___cmp__",_kwnames
,&_obj0
,&_obj1
))
2081 if (! wxPoint_helper(_obj0
, &_arg0
))
2086 if (! wxPoint_helper(_obj1
, &_arg1
))
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 _result
= (int )wxPoint___cmp__(_arg0
,_arg1
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) return NULL
;
2095 } _resultobj
= Py_BuildValue("i",_result
);
2099 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2100 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2103 int _arg0
= (int ) 0;
2104 int _arg1
= (int ) 0;
2105 int _arg2
= (int ) 0;
2106 int _arg3
= (int ) 0;
2107 char *_kwnames
[] = { "x","y","w","h", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2115 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2117 wxPyEndAllowThreads(__tstate
);
2118 if (PyErr_Occurred()) return NULL
;
2120 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2121 _resultobj
= Py_BuildValue("s",_ptemp
);
2124 _resultobj
= Py_None
;
2129 #define delete_wxRect(_swigobj) (delete _swigobj)
2130 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
* _resultobj
;
2134 PyObject
* _obj0
= 0;
2135 char *_kwnames
[] = { "self", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2142 if (! wxRect_helper(_obj0
, &_arg0
))
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2147 delete_wxRect(_arg0
);
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) return NULL
;
2151 } Py_INCREF(Py_None
);
2152 _resultobj
= Py_None
;
2156 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2157 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2162 PyObject
* _obj0
= 0;
2163 char *_kwnames
[] = { "self", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2170 if (! wxRect_helper(_obj0
, &_arg0
))
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 _result
= (int )wxRect_GetX(_arg0
);
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) return NULL
;
2179 } _resultobj
= Py_BuildValue("i",_result
);
2183 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2184 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2189 PyObject
* _obj0
= 0;
2190 char *_kwnames
[] = { "self","X", NULL
};
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2197 if (! wxRect_helper(_obj0
, &_arg0
))
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 wxRect_SetX(_arg0
,_arg1
);
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) return NULL
;
2206 } Py_INCREF(Py_None
);
2207 _resultobj
= Py_None
;
2211 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2212 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2217 PyObject
* _obj0
= 0;
2218 char *_kwnames
[] = { "self", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2225 if (! wxRect_helper(_obj0
, &_arg0
))
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 _result
= (int )wxRect_GetY(_arg0
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) return NULL
;
2234 } _resultobj
= Py_BuildValue("i",_result
);
2238 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2239 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2240 PyObject
* _resultobj
;
2244 PyObject
* _obj0
= 0;
2245 char *_kwnames
[] = { "self","Y", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2252 if (! wxRect_helper(_obj0
, &_arg0
))
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 wxRect_SetY(_arg0
,_arg1
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) return NULL
;
2261 } Py_INCREF(Py_None
);
2262 _resultobj
= Py_None
;
2266 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2267 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2272 PyObject
* _obj0
= 0;
2273 char *_kwnames
[] = { "self", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2280 if (! wxRect_helper(_obj0
, &_arg0
))
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 _result
= (int )wxRect_GetWidth(_arg0
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) return NULL
;
2289 } _resultobj
= Py_BuildValue("i",_result
);
2293 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2294 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2299 PyObject
* _obj0
= 0;
2300 char *_kwnames
[] = { "self","w", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2307 if (! wxRect_helper(_obj0
, &_arg0
))
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 wxRect_SetWidth(_arg0
,_arg1
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) return NULL
;
2316 } Py_INCREF(Py_None
);
2317 _resultobj
= Py_None
;
2321 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2322 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
* _resultobj
;
2327 PyObject
* _obj0
= 0;
2328 char *_kwnames
[] = { "self", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2335 if (! wxRect_helper(_obj0
, &_arg0
))
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 _result
= (int )wxRect_GetHeight(_arg0
);
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) return NULL
;
2344 } _resultobj
= Py_BuildValue("i",_result
);
2348 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2349 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2354 PyObject
* _obj0
= 0;
2355 char *_kwnames
[] = { "self","h", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2362 if (! wxRect_helper(_obj0
, &_arg0
))
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 wxRect_SetHeight(_arg0
,_arg1
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) return NULL
;
2371 } Py_INCREF(Py_None
);
2372 _resultobj
= Py_None
;
2376 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2377 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2382 PyObject
* _obj0
= 0;
2383 char *_kwnames
[] = { "self", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2391 if (! wxRect_helper(_obj0
, &_arg0
))
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2401 _resultobj
= Py_BuildValue("s",_ptemp
);
2405 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2406 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2411 PyObject
* _obj0
= 0;
2412 char *_kwnames
[] = { "self", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2420 if (! wxRect_helper(_obj0
, &_arg0
))
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 _result
= new wxSize (wxRect_GetSize(_arg0
));
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) return NULL
;
2429 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2430 _resultobj
= Py_BuildValue("s",_ptemp
);
2434 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2435 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
* _resultobj
;
2440 PyObject
* _obj0
= 0;
2441 char *_kwnames
[] = { "self", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2448 if (! wxRect_helper(_obj0
, &_arg0
))
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 _result
= (int )wxRect_GetLeft(_arg0
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) return NULL
;
2457 } _resultobj
= Py_BuildValue("i",_result
);
2461 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2462 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
* _resultobj
;
2467 PyObject
* _obj0
= 0;
2468 char *_kwnames
[] = { "self", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2475 if (! wxRect_helper(_obj0
, &_arg0
))
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 _result
= (int )wxRect_GetTop(_arg0
);
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) return NULL
;
2484 } _resultobj
= Py_BuildValue("i",_result
);
2488 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2489 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2494 PyObject
* _obj0
= 0;
2495 char *_kwnames
[] = { "self", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2502 if (! wxRect_helper(_obj0
, &_arg0
))
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 _result
= (int )wxRect_GetBottom(_arg0
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) return NULL
;
2511 } _resultobj
= Py_BuildValue("i",_result
);
2515 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2516 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
* _resultobj
;
2521 PyObject
* _obj0
= 0;
2522 char *_kwnames
[] = { "self", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2529 if (! wxRect_helper(_obj0
, &_arg0
))
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 _result
= (int )wxRect_GetRight(_arg0
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) return NULL
;
2538 } _resultobj
= Py_BuildValue("i",_result
);
2542 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2543 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2548 PyObject
* _obj0
= 0;
2549 char *_kwnames
[] = { "self","left", NULL
};
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2556 if (! wxRect_helper(_obj0
, &_arg0
))
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 wxRect_SetLeft(_arg0
,_arg1
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) return NULL
;
2565 } Py_INCREF(Py_None
);
2566 _resultobj
= Py_None
;
2570 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2571 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2576 PyObject
* _obj0
= 0;
2577 char *_kwnames
[] = { "self","right", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2584 if (! wxRect_helper(_obj0
, &_arg0
))
2588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2589 wxRect_SetRight(_arg0
,_arg1
);
2591 wxPyEndAllowThreads(__tstate
);
2592 if (PyErr_Occurred()) return NULL
;
2593 } Py_INCREF(Py_None
);
2594 _resultobj
= Py_None
;
2598 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2599 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2604 PyObject
* _obj0
= 0;
2605 char *_kwnames
[] = { "self","top", NULL
};
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2612 if (! wxRect_helper(_obj0
, &_arg0
))
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 wxRect_SetTop(_arg0
,_arg1
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) return NULL
;
2621 } Py_INCREF(Py_None
);
2622 _resultobj
= Py_None
;
2626 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2627 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
* _resultobj
;
2632 PyObject
* _obj0
= 0;
2633 char *_kwnames
[] = { "self","bottom", NULL
};
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2640 if (! wxRect_helper(_obj0
, &_arg0
))
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 wxRect_SetBottom(_arg0
,_arg1
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) return NULL
;
2649 } Py_INCREF(Py_None
);
2650 _resultobj
= Py_None
;
2654 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2655 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2661 PyObject
* _obj0
= 0;
2662 char *_kwnames
[] = { "self","dx","dy", NULL
};
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2669 if (! wxRect_helper(_obj0
, &_arg0
))
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) return NULL
;
2678 } Py_INCREF(Py_None
);
2679 _resultobj
= Py_None
;
2683 #define wxRect_Inside(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2684 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2691 PyObject
* _obj0
= 0;
2692 char *_kwnames
[] = { "self","cx","cy", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inside",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2699 if (! wxRect_helper(_obj0
, &_arg0
))
2703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2704 _result
= (bool )wxRect_Inside(_arg0
,_arg1
,_arg2
);
2706 wxPyEndAllowThreads(__tstate
);
2707 if (PyErr_Occurred()) return NULL
;
2708 } _resultobj
= Py_BuildValue("i",_result
);
2712 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
2713 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
* _resultobj
;
2719 PyObject
* _obj0
= 0;
2720 char *_kwnames
[] = { "self","x", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
2727 if (! wxRect_helper(_obj0
, &_arg0
))
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) return NULL
;
2736 } _resultobj
= Py_BuildValue("i",_result
);
2740 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
2741 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2746 PyObject
* _obj0
= 0;
2747 char *_kwnames
[] = { "self", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
2754 if (! wxRect_helper(_obj0
, &_arg0
))
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 _result
= (int )wxRect_x_get(_arg0
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) return NULL
;
2763 } _resultobj
= Py_BuildValue("i",_result
);
2767 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
2768 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2774 PyObject
* _obj0
= 0;
2775 char *_kwnames
[] = { "self","y", NULL
};
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
2782 if (! wxRect_helper(_obj0
, &_arg0
))
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2791 } _resultobj
= Py_BuildValue("i",_result
);
2795 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
2796 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2801 PyObject
* _obj0
= 0;
2802 char *_kwnames
[] = { "self", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
2809 if (! wxRect_helper(_obj0
, &_arg0
))
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 _result
= (int )wxRect_y_get(_arg0
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) return NULL
;
2818 } _resultobj
= Py_BuildValue("i",_result
);
2822 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
2823 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
* _resultobj
;
2829 PyObject
* _obj0
= 0;
2830 char *_kwnames
[] = { "self","width", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
2837 if (! wxRect_helper(_obj0
, &_arg0
))
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) return NULL
;
2846 } _resultobj
= Py_BuildValue("i",_result
);
2850 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
2851 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2856 PyObject
* _obj0
= 0;
2857 char *_kwnames
[] = { "self", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
2864 if (! wxRect_helper(_obj0
, &_arg0
))
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 _result
= (int )wxRect_width_get(_arg0
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) return NULL
;
2873 } _resultobj
= Py_BuildValue("i",_result
);
2877 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
2878 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2884 PyObject
* _obj0
= 0;
2885 char *_kwnames
[] = { "self","height", NULL
};
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
2892 if (! wxRect_helper(_obj0
, &_arg0
))
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) return NULL
;
2901 } _resultobj
= Py_BuildValue("i",_result
);
2905 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
2906 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2911 PyObject
* _obj0
= 0;
2912 char *_kwnames
[] = { "self", NULL
};
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
2919 if (! wxRect_helper(_obj0
, &_arg0
))
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 _result
= (int )wxRect_height_get(_arg0
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) return NULL
;
2928 } _resultobj
= Py_BuildValue("i",_result
);
2932 static PyObject
* wxRect_asTuple(wxRect
*self
) {
2933 PyObject
* tup
= PyTuple_New(4);
2934 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2935 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2936 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
2937 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
2940 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2945 PyObject
* _obj0
= 0;
2946 char *_kwnames
[] = { "self", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
2953 if (! wxRect_helper(_obj0
, &_arg0
))
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) return NULL
;
2963 _resultobj
= _result
;
2968 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
* rect
) {
2969 if (! rect
) return *self
;
2970 return *self
+ *rect
;
2972 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2978 PyObject
* _obj0
= 0;
2980 PyObject
* _obj1
= 0;
2981 char *_kwnames
[] = { "self","rect", NULL
};
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
2989 if (! wxRect_helper(_obj0
, &_arg0
))
2994 if (! wxRect_helper(_obj1
, &_arg1
))
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 _result
= new wxRect (wxRect___add__(_arg0
,_arg1
));
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) return NULL
;
3003 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3004 _resultobj
= Py_BuildValue("s",_ptemp
);
3008 static int wxRect___cmp__(wxRect
*self
,const wxRect
* rect
) {
3009 if (! rect
) return 1;
3010 if (*self
== *rect
) return 0;
3013 static PyObject
*_wrap_wxRect___cmp__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3019 PyObject
* _obj0
= 0;
3021 PyObject
* _obj1
= 0;
3022 char *_kwnames
[] = { "self","rect", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___cmp__",_kwnames
,&_obj0
,&_obj1
))
3029 if (! wxRect_helper(_obj0
, &_arg0
))
3034 if (! wxRect_helper(_obj1
, &_arg1
))
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 _result
= (int )wxRect___cmp__(_arg0
,_arg1
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) return NULL
;
3043 } _resultobj
= Py_BuildValue("i",_result
);
3047 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
3048 wxIndividualLayoutConstraint
*src
;
3050 src
= (wxIndividualLayoutConstraint
*) ptr
;
3051 dest
= (wxObject
*) src
;
3052 return (void *) dest
;
3055 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
3056 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
* _resultobj
;
3058 wxIndividualLayoutConstraint
* _arg0
;
3060 int _arg2
= (int ) 0;
3061 PyObject
* _argo0
= 0;
3062 PyObject
* _argo1
= 0;
3063 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
3076 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) return NULL
;
3088 } Py_INCREF(Py_None
);
3089 _resultobj
= Py_None
;
3093 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
3094 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
* _resultobj
;
3096 wxIndividualLayoutConstraint
* _arg0
;
3098 PyObject
* _argo0
= 0;
3099 char *_kwnames
[] = { "self","value", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) return NULL
;
3117 } Py_INCREF(Py_None
);
3118 _resultobj
= Py_None
;
3122 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
3123 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3125 wxIndividualLayoutConstraint
* _arg0
;
3126 PyObject
* _argo0
= 0;
3127 char *_kwnames
[] = { "self", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 wxIndividualLayoutConstraint_AsIs(_arg0
);
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) return NULL
;
3145 } Py_INCREF(Py_None
);
3146 _resultobj
= Py_None
;
3150 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
3151 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
* _resultobj
;
3153 wxIndividualLayoutConstraint
* _arg0
;
3155 int _arg2
= (int ) 0;
3156 PyObject
* _argo0
= 0;
3157 PyObject
* _argo1
= 0;
3158 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
3171 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3172 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) return NULL
;
3183 } Py_INCREF(Py_None
);
3184 _resultobj
= Py_None
;
3188 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
3189 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3191 wxIndividualLayoutConstraint
* _arg0
;
3192 PyObject
* _argo0
= 0;
3193 char *_kwnames
[] = { "self", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) return NULL
;
3211 } Py_INCREF(Py_None
);
3212 _resultobj
= Py_None
;
3216 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
3217 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3219 wxIndividualLayoutConstraint
* _arg0
;
3221 int _arg2
= (int ) 0;
3222 PyObject
* _argo0
= 0;
3223 PyObject
* _argo1
= 0;
3224 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
3237 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3238 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) return NULL
;
3249 } Py_INCREF(Py_None
);
3250 _resultobj
= Py_None
;
3254 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
3255 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
* _resultobj
;
3257 wxIndividualLayoutConstraint
* _arg0
;
3261 PyObject
* _argo0
= 0;
3262 PyObject
* _argo1
= 0;
3263 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
3276 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) return NULL
;
3288 } Py_INCREF(Py_None
);
3289 _resultobj
= Py_None
;
3293 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
3294 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3295 PyObject
* _resultobj
;
3296 wxIndividualLayoutConstraint
* _arg0
;
3298 int _arg2
= (int ) 0;
3299 PyObject
* _argo0
= 0;
3300 PyObject
* _argo1
= 0;
3301 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
3314 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) return NULL
;
3326 } Py_INCREF(Py_None
);
3327 _resultobj
= Py_None
;
3331 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
3332 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
* _resultobj
;
3334 wxIndividualLayoutConstraint
* _arg0
;
3337 int _arg3
= (int ) 0;
3338 PyObject
* _argo0
= 0;
3339 PyObject
* _argo1
= 0;
3340 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
3353 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3354 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
3360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3361 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
3363 wxPyEndAllowThreads(__tstate
);
3364 if (PyErr_Occurred()) return NULL
;
3365 } Py_INCREF(Py_None
);
3366 _resultobj
= Py_None
;
3370 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3371 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3373 wxIndividualLayoutConstraint
* _arg0
;
3374 wxRelationship _arg1
;
3377 int _arg4
= (int ) 0;
3378 int _arg5
= (int ) 0;
3379 PyObject
* _argo0
= 0;
3380 PyObject
* _argo2
= 0;
3381 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
3387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
3389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
3394 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3395 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
3401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3402 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
3404 wxPyEndAllowThreads(__tstate
);
3405 if (PyErr_Occurred()) return NULL
;
3406 } Py_INCREF(Py_None
);
3407 _resultobj
= Py_None
;
3411 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
3412 wxLayoutConstraints
*src
;
3414 src
= (wxLayoutConstraints
*) ptr
;
3415 dest
= (wxObject
*) src
;
3416 return (void *) dest
;
3419 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
3420 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
* _resultobj
;
3422 wxLayoutConstraints
* _result
;
3423 char *_kwnames
[] = { NULL
};
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) return NULL
;
3436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
3437 _resultobj
= Py_BuildValue("s",_ptemp
);
3440 _resultobj
= Py_None
;
3445 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
3446 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
* _resultobj
;
3448 wxIndividualLayoutConstraint
* _result
;
3449 wxLayoutConstraints
* _arg0
;
3450 PyObject
* _argo0
= 0;
3451 char *_kwnames
[] = { "self", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
3458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) return NULL
;
3471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3472 _resultobj
= Py_BuildValue("s",_ptemp
);
3475 _resultobj
= Py_None
;
3480 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
3481 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3483 wxIndividualLayoutConstraint
* _result
;
3484 wxLayoutConstraints
* _arg0
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
3493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) return NULL
;
3506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3507 _resultobj
= Py_BuildValue("s",_ptemp
);
3510 _resultobj
= Py_None
;
3515 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
3516 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3518 wxIndividualLayoutConstraint
* _result
;
3519 wxLayoutConstraints
* _arg0
;
3520 PyObject
* _argo0
= 0;
3521 char *_kwnames
[] = { "self", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) return NULL
;
3541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3542 _resultobj
= Py_BuildValue("s",_ptemp
);
3545 _resultobj
= Py_None
;
3550 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
3551 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
* _resultobj
;
3553 wxIndividualLayoutConstraint
* _result
;
3554 wxLayoutConstraints
* _arg0
;
3555 PyObject
* _argo0
= 0;
3556 char *_kwnames
[] = { "self", NULL
};
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
3563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) return NULL
;
3576 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3577 _resultobj
= Py_BuildValue("s",_ptemp
);
3580 _resultobj
= Py_None
;
3585 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
3586 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3588 wxIndividualLayoutConstraint
* _result
;
3589 wxLayoutConstraints
* _arg0
;
3590 PyObject
* _argo0
= 0;
3591 char *_kwnames
[] = { "self", NULL
};
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
3598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) return NULL
;
3611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3612 _resultobj
= Py_BuildValue("s",_ptemp
);
3615 _resultobj
= Py_None
;
3620 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
3621 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
* _resultobj
;
3623 wxIndividualLayoutConstraint
* _result
;
3624 wxLayoutConstraints
* _arg0
;
3625 PyObject
* _argo0
= 0;
3626 char *_kwnames
[] = { "self", NULL
};
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
3633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
3640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3641 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
3643 wxPyEndAllowThreads(__tstate
);
3644 if (PyErr_Occurred()) return NULL
;
3646 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3647 _resultobj
= Py_BuildValue("s",_ptemp
);
3650 _resultobj
= Py_None
;
3655 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
3656 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
* _resultobj
;
3658 wxIndividualLayoutConstraint
* _result
;
3659 wxLayoutConstraints
* _arg0
;
3660 PyObject
* _argo0
= 0;
3661 char *_kwnames
[] = { "self", NULL
};
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
3668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) return NULL
;
3681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3682 _resultobj
= Py_BuildValue("s",_ptemp
);
3685 _resultobj
= Py_None
;
3690 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
3691 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
* _resultobj
;
3693 wxIndividualLayoutConstraint
* _result
;
3694 wxLayoutConstraints
* _arg0
;
3695 PyObject
* _argo0
= 0;
3696 char *_kwnames
[] = { "self", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) return NULL
;
3716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
3717 _resultobj
= Py_BuildValue("s",_ptemp
);
3720 _resultobj
= Py_None
;
3725 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
3726 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
* _resultobj
;
3728 wxAcceleratorEntry
* _result
;
3729 int _arg0
= (int ) 0;
3730 int _arg1
= (int ) 0;
3731 int _arg2
= (int ) 0;
3732 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) return NULL
;
3745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
3746 _resultobj
= Py_BuildValue("s",_ptemp
);
3749 _resultobj
= Py_None
;
3754 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
3755 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
* _resultobj
;
3757 wxAcceleratorEntry
* _arg0
;
3758 PyObject
* _argo0
= 0;
3759 char *_kwnames
[] = { "self", NULL
};
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
3765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 delete_wxAcceleratorEntry(_arg0
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) return NULL
;
3777 } Py_INCREF(Py_None
);
3778 _resultobj
= Py_None
;
3782 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
3783 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3785 wxAcceleratorEntry
* _arg0
;
3789 PyObject
* _argo0
= 0;
3790 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) return NULL
;
3808 } Py_INCREF(Py_None
);
3809 _resultobj
= Py_None
;
3813 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
3814 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
* _resultobj
;
3817 wxAcceleratorEntry
* _arg0
;
3818 PyObject
* _argo0
= 0;
3819 char *_kwnames
[] = { "self", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) return NULL
;
3837 } _resultobj
= Py_BuildValue("i",_result
);
3841 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
3842 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
* _resultobj
;
3845 wxAcceleratorEntry
* _arg0
;
3846 PyObject
* _argo0
= 0;
3847 char *_kwnames
[] = { "self", NULL
};
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
3853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) return NULL
;
3865 } _resultobj
= Py_BuildValue("i",_result
);
3869 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
3870 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
* _resultobj
;
3873 wxAcceleratorEntry
* _arg0
;
3874 PyObject
* _argo0
= 0;
3875 char *_kwnames
[] = { "self", NULL
};
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
3881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
3883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) return NULL
;
3893 } _resultobj
= Py_BuildValue("i",_result
);
3897 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
3898 wxAcceleratorTable
*src
;
3900 src
= (wxAcceleratorTable
*) ptr
;
3901 dest
= (wxObject
*) src
;
3902 return (void *) dest
;
3905 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
3906 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
* _resultobj
;
3908 wxAcceleratorTable
* _result
;
3910 wxAcceleratorEntry
* _arg1
;
3911 PyObject
* _obj1
= 0;
3912 char *_kwnames
[] = { "choices", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
3920 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
3921 if (_arg1
== NULL
) {
3927 _arg0
= PyList_Size(_obj1
);
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) return NULL
;
3940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
3941 _resultobj
= Py_BuildValue("s",_ptemp
);
3944 _resultobj
= Py_None
;
3952 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
3953 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3955 wxAcceleratorTable
* _arg0
;
3956 PyObject
* _argo0
= 0;
3957 char *_kwnames
[] = { "self", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 delete_wxAcceleratorTable(_arg0
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) return NULL
;
3975 } Py_INCREF(Py_None
);
3976 _resultobj
= Py_None
;
3980 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
3983 src
= (wxBusyInfo
*) ptr
;
3984 dest
= (wxObject
*) src
;
3985 return (void *) dest
;
3988 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
3989 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
* _resultobj
;
3991 wxBusyInfo
* _result
;
3993 PyObject
* _obj0
= 0;
3994 char *_kwnames
[] = { "message", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
4001 #if PYTHON_API_VERSION >= 1009
4002 char* tmpPtr
; int tmpSize
;
4003 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4004 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4007 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4009 _arg0
= new wxString(tmpPtr
, tmpSize
);
4011 if (!PyString_Check(_obj0
)) {
4012 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4015 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) return NULL
;
4025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
4026 _resultobj
= Py_BuildValue("s",_ptemp
);
4029 _resultobj
= Py_None
;
4038 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
4039 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
* _resultobj
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 delete_wxBusyInfo(_arg0
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) return NULL
;
4061 } Py_INCREF(Py_None
);
4062 _resultobj
= Py_None
;
4066 static PyMethodDef misccMethods
[] = {
4067 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4068 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
4069 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4070 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
4071 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
4072 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
4073 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
4074 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
4075 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4076 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
4077 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4078 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
4079 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
4080 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
4081 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4082 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
4083 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
4084 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
4085 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
4086 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4087 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
4088 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
4089 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
4090 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
4091 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
4092 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
4093 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
4094 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
4095 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
4096 { "wxRect___cmp__", (PyCFunction
) _wrap_wxRect___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4097 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
4098 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4099 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
4100 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
4101 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
4102 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
4103 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4104 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4105 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4106 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4107 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
4108 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
4109 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4110 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
4111 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
4112 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4113 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
4114 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
4115 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
4116 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
4117 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
4118 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
4119 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4120 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4121 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4122 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4123 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
4124 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4125 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
4126 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4127 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4128 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
4129 { "wxPoint___cmp__", (PyCFunction
) _wrap_wxPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4130 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4131 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4132 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4133 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4134 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4135 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
4136 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4137 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4138 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4139 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4140 { "wxRealPoint___cmp__", (PyCFunction
) _wrap_wxRealPoint___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4141 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
4142 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
4143 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4144 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
4145 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4146 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
4147 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4148 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4149 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4150 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4151 { "wxSize___cmp__", (PyCFunction
) _wrap_wxSize___cmp__
, METH_VARARGS
| METH_KEYWORDS
},
4152 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
4153 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4154 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4155 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
4156 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
4157 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
4158 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
4159 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
4160 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4161 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
4162 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4163 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4164 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4165 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4166 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
4167 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
4168 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
4169 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
4170 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
4171 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
4172 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
4173 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
4174 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
4175 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
4176 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
4177 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
4178 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
4179 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
4180 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
4181 { "wxGetResource", (PyCFunction
) _wrap_wxGetResource
, METH_VARARGS
| METH_KEYWORDS
},
4182 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
4183 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
4184 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
4185 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
4186 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
4187 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
4188 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
4189 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
4190 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
4191 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
4192 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
4193 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
4194 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
4195 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
4196 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
4197 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
4198 { "RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4199 { "NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
4200 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
4201 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
4202 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
4209 * This table is used by the pointer type-checker
4211 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
4212 { "_signed_long","_long",0},
4213 { "_wxPrintQuality","_wxCoord",0},
4214 { "_wxPrintQuality","_int",0},
4215 { "_wxPrintQuality","_signed_int",0},
4216 { "_wxPrintQuality","_unsigned_int",0},
4217 { "_wxPrintQuality","_wxWindowID",0},
4218 { "_wxPrintQuality","_uint",0},
4219 { "_wxPrintQuality","_EBool",0},
4220 { "_wxPrintQuality","_size_t",0},
4221 { "_wxPrintQuality","_time_t",0},
4222 { "_byte","_unsigned_char",0},
4223 { "_long","_unsigned_long",0},
4224 { "_long","_signed_long",0},
4225 { "_size_t","_wxCoord",0},
4226 { "_size_t","_wxPrintQuality",0},
4227 { "_size_t","_time_t",0},
4228 { "_size_t","_unsigned_int",0},
4229 { "_size_t","_int",0},
4230 { "_size_t","_wxWindowID",0},
4231 { "_size_t","_uint",0},
4232 { "_uint","_wxCoord",0},
4233 { "_uint","_wxPrintQuality",0},
4234 { "_uint","_time_t",0},
4235 { "_uint","_size_t",0},
4236 { "_uint","_unsigned_int",0},
4237 { "_uint","_int",0},
4238 { "_uint","_wxWindowID",0},
4239 { "_wxChar","_char",0},
4240 { "_char","_wxChar",0},
4241 { "_EBool","_wxCoord",0},
4242 { "_EBool","_wxPrintQuality",0},
4243 { "_EBool","_signed_int",0},
4244 { "_EBool","_int",0},
4245 { "_EBool","_wxWindowID",0},
4246 { "_unsigned_long","_long",0},
4247 { "_signed_int","_wxCoord",0},
4248 { "_signed_int","_wxPrintQuality",0},
4249 { "_signed_int","_EBool",0},
4250 { "_signed_int","_wxWindowID",0},
4251 { "_signed_int","_int",0},
4252 { "_WXTYPE","_short",0},
4253 { "_WXTYPE","_signed_short",0},
4254 { "_WXTYPE","_unsigned_short",0},
4255 { "_unsigned_short","_WXTYPE",0},
4256 { "_unsigned_short","_short",0},
4257 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
4258 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
4259 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
4260 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
4261 { "_signed_short","_WXTYPE",0},
4262 { "_signed_short","_short",0},
4263 { "_unsigned_char","_byte",0},
4264 { "_unsigned_int","_wxCoord",0},
4265 { "_unsigned_int","_wxPrintQuality",0},
4266 { "_unsigned_int","_time_t",0},
4267 { "_unsigned_int","_size_t",0},
4268 { "_unsigned_int","_uint",0},
4269 { "_unsigned_int","_wxWindowID",0},
4270 { "_unsigned_int","_int",0},
4271 { "_short","_WXTYPE",0},
4272 { "_short","_unsigned_short",0},
4273 { "_short","_signed_short",0},
4274 { "_wxWindowID","_wxCoord",0},
4275 { "_wxWindowID","_wxPrintQuality",0},
4276 { "_wxWindowID","_time_t",0},
4277 { "_wxWindowID","_size_t",0},
4278 { "_wxWindowID","_EBool",0},
4279 { "_wxWindowID","_uint",0},
4280 { "_wxWindowID","_int",0},
4281 { "_wxWindowID","_signed_int",0},
4282 { "_wxWindowID","_unsigned_int",0},
4283 { "_int","_wxCoord",0},
4284 { "_int","_wxPrintQuality",0},
4285 { "_int","_time_t",0},
4286 { "_int","_size_t",0},
4287 { "_int","_EBool",0},
4288 { "_int","_uint",0},
4289 { "_int","_wxWindowID",0},
4290 { "_int","_unsigned_int",0},
4291 { "_int","_signed_int",0},
4292 { "_time_t","_wxCoord",0},
4293 { "_time_t","_wxPrintQuality",0},
4294 { "_time_t","_unsigned_int",0},
4295 { "_time_t","_int",0},
4296 { "_time_t","_wxWindowID",0},
4297 { "_time_t","_uint",0},
4298 { "_time_t","_size_t",0},
4299 { "_wxCoord","_int",0},
4300 { "_wxCoord","_signed_int",0},
4301 { "_wxCoord","_unsigned_int",0},
4302 { "_wxCoord","_wxWindowID",0},
4303 { "_wxCoord","_uint",0},
4304 { "_wxCoord","_EBool",0},
4305 { "_wxCoord","_size_t",0},
4306 { "_wxCoord","_time_t",0},
4307 { "_wxCoord","_wxPrintQuality",0},
4310 static PyObject
*SWIG_globals
;
4314 SWIGEXPORT(void) initmiscc() {
4316 SWIG_globals
= SWIG_newvarlink();
4317 m
= Py_InitModule("miscc", misccMethods
);
4318 d
= PyModule_GetDict(m
);
4319 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
4320 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
4321 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
4322 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
4323 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
4324 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
4325 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
4326 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
4327 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
4328 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
4329 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
4330 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
4331 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
4332 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
4333 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
4334 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
4335 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
4336 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
4337 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
4338 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
4339 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
4342 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
4343 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);