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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initmiscc
55 #define SWIG_name "miscc"
58 #include <wx/resource.h>
59 #include <wx/tooltip.h>
60 #include <wx/busyinfo.h>
61 #include <wx/geometry.h>
64 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
70 } else if (target
== Py_None
) {
74 if (!PyTuple_Check(target
)) {
76 target
= PyTuple_New(1);
77 PyTuple_SetItem(target
, 0, o2
);
80 PyTuple_SetItem(o3
, 0, o
);
83 target
= PySequence_Concat(o2
, o3
);
90 // Put some wx default wxChar* values into wxStrings.
91 static const wxString
wxPyEmptyString(wxT(""));
93 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
100 dest
= reg1
.GetBox();
102 if (dest
!= wxRect(0,0,0,0)) {
103 wxPyBeginBlockThreads();
104 wxRect
* newRect
= new wxRect(dest
);
105 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"));
106 PyObject
* one
= PyInt_FromLong(1);
107 PyObject_SetAttrString(obj
, "thisown", one
);
109 wxPyEndBlockThreads();
116 #if 0 // we want to use the definition from the header, not the
117 // one SWIG will generate.
118 extern wxAcceleratorTable wxNullAcceleratorTable
;
124 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
125 PyObject
* _resultobj
;
130 PyObject
* _obj0
= 0;
132 PyObject
* _obj1
= 0;
133 char *_kwnames
[] = { "r1","r2", NULL
};
136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
140 if (! wxRect_helper(_obj0
, &_arg0
))
145 if (! wxRect_helper(_obj1
, &_arg1
))
149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
150 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
152 wxPyEndAllowThreads(__tstate
);
153 if (PyErr_Occurred()) return NULL
;
155 _resultobj
= _result
;
160 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
161 PyObject
* _resultobj
;
163 char *_kwnames
[] = { NULL
};
166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
170 _result
= (long )wxNewId();
172 wxPyEndAllowThreads(__tstate
);
173 if (PyErr_Occurred()) return NULL
;
174 } _resultobj
= Py_BuildValue("l",_result
);
178 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
179 PyObject
* _resultobj
;
181 char *_kwnames
[] = { "id", NULL
};
184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
190 wxPyEndAllowThreads(__tstate
);
191 if (PyErr_Occurred()) return NULL
;
192 } Py_INCREF(Py_None
);
193 _resultobj
= Py_None
;
197 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
198 PyObject
* _resultobj
;
200 char *_kwnames
[] = { NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
207 _result
= (long )wxGetCurrentId();
209 wxPyEndAllowThreads(__tstate
);
210 if (PyErr_Occurred()) return NULL
;
211 } _resultobj
= Py_BuildValue("l",_result
);
215 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
216 PyObject
* _resultobj
;
217 char *_kwnames
[] = { NULL
};
220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
226 wxPyEndAllowThreads(__tstate
);
227 if (PyErr_Occurred()) return NULL
;
228 } Py_INCREF(Py_None
);
229 _resultobj
= Py_None
;
233 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
234 PyObject
* _resultobj
;
235 char *_kwnames
[] = { NULL
};
238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
244 wxPyEndAllowThreads(__tstate
);
245 if (PyErr_Occurred()) return NULL
;
246 } Py_INCREF(Py_None
);
247 _resultobj
= Py_None
;
251 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
252 PyObject
* _resultobj
;
254 bool _arg0
= (bool ) TRUE
;
255 int tempbool0
= (int) TRUE
;
256 char *_kwnames
[] = { "resetTimer", NULL
};
259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
261 _arg0
= (bool ) tempbool0
;
263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
264 _result
= (long )wxGetElapsedTime(_arg0
);
266 wxPyEndAllowThreads(__tstate
);
267 if (PyErr_Occurred()) return NULL
;
268 } _resultobj
= Py_BuildValue("l",_result
);
272 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
273 PyObject
* _resultobj
;
278 char *_kwnames
[] = { NULL
};
287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
291 wxGetMousePosition(_arg0
,_arg1
);
293 wxPyEndAllowThreads(__tstate
);
294 if (PyErr_Occurred()) return NULL
;
295 } Py_INCREF(Py_None
);
296 _resultobj
= Py_None
;
299 o
= PyInt_FromLong((long) (*_arg0
));
300 _resultobj
= t_output_helper(_resultobj
, o
);
304 o
= PyInt_FromLong((long) (*_arg1
));
305 _resultobj
= t_output_helper(_resultobj
, o
);
310 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
313 char *_kwnames
[] = { NULL
};
316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
320 _result
= (bool )wxIsBusy();
322 wxPyEndAllowThreads(__tstate
);
323 if (PyErr_Occurred()) return NULL
;
324 } _resultobj
= Py_BuildValue("i",_result
);
328 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
331 char *_kwnames
[] = { NULL
};
334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
338 _result
= new wxString (wxNow());
340 wxPyEndAllowThreads(__tstate
);
341 if (PyErr_Occurred()) return NULL
;
344 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
346 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
355 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
356 PyObject
* _resultobj
;
358 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
359 PyObject
* _obj0
= 0;
360 char *_kwnames
[] = { "command", NULL
};
363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
367 _arg0
= wxString_in_helper(_obj0
);
372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
373 _result
= (bool )wxShell(*_arg0
);
375 wxPyEndAllowThreads(__tstate
);
376 if (PyErr_Occurred()) return NULL
;
377 } _resultobj
= Py_BuildValue("i",_result
);
385 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
386 PyObject
* _resultobj
;
387 char *_kwnames
[] = { NULL
};
390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
396 wxPyEndAllowThreads(__tstate
);
397 if (PyErr_Occurred()) return NULL
;
398 } Py_INCREF(Py_None
);
399 _resultobj
= Py_None
;
403 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
404 PyObject
* _resultobj
;
410 char *_kwnames
[] = { NULL
};
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
423 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
425 wxPyEndAllowThreads(__tstate
);
426 if (PyErr_Occurred()) return NULL
;
427 } _resultobj
= Py_BuildValue("i",_result
);
430 o
= PyInt_FromLong((long) (*_arg0
));
431 _resultobj
= t_output_helper(_resultobj
, o
);
435 o
= PyInt_FromLong((long) (*_arg1
));
436 _resultobj
= t_output_helper(_resultobj
, o
);
441 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
442 PyObject
* _resultobj
;
444 char *_kwnames
[] = { NULL
};
447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 _result
= new wxString (wxGetOsDescription());
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) return NULL
;
457 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
459 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
468 static PyObject
*_wrap_wxShutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
469 PyObject
* _resultobj
;
471 wxShutdownFlags _arg0
;
472 char *_kwnames
[] = { "wFlags", NULL
};
475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxShutdown",_kwnames
,&_arg0
))
478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
479 _result
= (bool )wxShutdown(_arg0
);
481 wxPyEndAllowThreads(__tstate
);
482 if (PyErr_Occurred()) return NULL
;
483 } _resultobj
= Py_BuildValue("i",_result
);
487 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
488 PyObject
* _resultobj
;
490 char *_kwnames
[] = { "secs", NULL
};
493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
499 wxPyEndAllowThreads(__tstate
);
500 if (PyErr_Occurred()) return NULL
;
501 } Py_INCREF(Py_None
);
502 _resultobj
= Py_None
;
506 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
507 PyObject
* _resultobj
;
509 char *_kwnames
[] = { "milliseconds", NULL
};
512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
518 wxPyEndAllowThreads(__tstate
);
519 if (PyErr_Occurred()) return NULL
;
520 } Py_INCREF(Py_None
);
521 _resultobj
= Py_None
;
525 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
526 PyObject
* _resultobj
;
528 char *_kwnames
[] = { NULL
};
531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
535 _result
= (bool )wxYield();
537 wxPyEndAllowThreads(__tstate
);
538 if (PyErr_Occurred()) return NULL
;
539 } _resultobj
= Py_BuildValue("i",_result
);
543 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
544 PyObject
* _resultobj
;
546 char *_kwnames
[] = { NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
553 _result
= (bool )wxYieldIfNeeded();
555 wxPyEndAllowThreads(__tstate
);
556 if (PyErr_Occurred()) return NULL
;
557 } _resultobj
= Py_BuildValue("i",_result
);
561 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
565 char *_kwnames
[] = { "enable", NULL
};
568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
570 _arg0
= (bool ) tempbool0
;
572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
573 wxEnableTopLevelWindows(_arg0
);
575 wxPyEndAllowThreads(__tstate
);
576 if (PyErr_Occurred()) return NULL
;
577 } Py_INCREF(Py_None
);
578 _resultobj
= Py_None
;
582 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
583 PyObject
* _resultobj
;
586 PyObject
* _obj0
= 0;
587 char *_kwnames
[] = { "in", NULL
};
590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
593 _arg0
= wxString_in_helper(_obj0
);
598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
599 _result
= new wxString (wxStripMenuCodes(*_arg0
));
601 wxPyEndAllowThreads(__tstate
);
602 if (PyErr_Occurred()) return NULL
;
605 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
607 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
620 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
621 PyObject
* _resultobj
;
623 char *_kwnames
[] = { NULL
};
626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
630 _result
= new wxString (wxGetEmailAddress());
632 wxPyEndAllowThreads(__tstate
);
633 if (PyErr_Occurred()) return NULL
;
636 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
638 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
647 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
648 PyObject
* _resultobj
;
650 char *_kwnames
[] = { NULL
};
653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
657 _result
= new wxString (wxGetHostName());
659 wxPyEndAllowThreads(__tstate
);
660 if (PyErr_Occurred()) return NULL
;
663 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
665 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
674 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
677 char *_kwnames
[] = { NULL
};
680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
684 _result
= new wxString (wxGetFullHostName());
686 wxPyEndAllowThreads(__tstate
);
687 if (PyErr_Occurred()) return NULL
;
690 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
692 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
701 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
702 PyObject
* _resultobj
;
704 char *_kwnames
[] = { NULL
};
707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
711 _result
= new wxString (wxGetUserId());
713 wxPyEndAllowThreads(__tstate
);
714 if (PyErr_Occurred()) return NULL
;
717 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
719 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
728 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
731 char *_kwnames
[] = { NULL
};
734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
738 _result
= new wxString (wxGetUserName());
740 wxPyEndAllowThreads(__tstate
);
741 if (PyErr_Occurred()) return NULL
;
744 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
746 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
755 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
756 PyObject
* _resultobj
;
758 char *_kwnames
[] = { NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
765 _result
= new wxString (wxGetHomeDir());
767 wxPyEndAllowThreads(__tstate
);
768 if (PyErr_Occurred()) return NULL
;
771 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
773 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
782 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
785 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
786 PyObject
* _obj0
= 0;
787 char *_kwnames
[] = { "user", NULL
};
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxGetUserHome",_kwnames
,&_obj0
))
794 _arg0
= wxString_in_helper(_obj0
);
799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
800 _result
= new wxString (wxGetUserHome(*_arg0
));
802 wxPyEndAllowThreads(__tstate
);
803 if (PyErr_Occurred()) return NULL
;
806 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
808 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
821 static PyObject
*_wrap_wxGetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* _resultobj
;
823 unsigned long _result
;
824 char *_kwnames
[] = { NULL
};
827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetProcessId",_kwnames
))
830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
831 _result
= (unsigned long )wxGetProcessId();
833 wxPyEndAllowThreads(__tstate
);
834 if (PyErr_Occurred()) return NULL
;
835 } _resultobj
= Py_BuildValue("l",_result
);
839 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
841 wxAcceleratorEntry
* _result
;
843 PyObject
* _obj0
= 0;
844 char *_kwnames
[] = { "label", NULL
};
848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
851 _arg0
= wxString_in_helper(_obj0
);
856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
857 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
859 wxPyEndAllowThreads(__tstate
);
860 if (PyErr_Occurred()) return NULL
;
862 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
863 _resultobj
= Py_BuildValue("s",_ptemp
);
866 _resultobj
= Py_None
;
875 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
877 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
881 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
885 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
886 pyobj
= PyString_FromString(ptemp
);
890 static wxString
wxObject_GetClassName(wxObject
*self
) {
891 return self
->GetClassInfo()->GetClassName();
893 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
894 PyObject
* _resultobj
;
897 PyObject
* _argo0
= 0;
898 char *_kwnames
[] = { "self", NULL
};
901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
912 _result
= new wxString (wxObject_GetClassName(_arg0
));
914 wxPyEndAllowThreads(__tstate
);
915 if (PyErr_Occurred()) return NULL
;
918 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
920 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
929 static void wxObject_Destroy(wxObject
*self
) {
932 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
933 PyObject
* _resultobj
;
935 PyObject
* _argo0
= 0;
936 char *_kwnames
[] = { "self", NULL
};
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
950 wxObject_Destroy(_arg0
);
952 wxPyEndAllowThreads(__tstate
);
953 if (PyErr_Occurred()) return NULL
;
954 } Py_INCREF(Py_None
);
955 _resultobj
= Py_None
;
959 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
960 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
961 PyObject
* _resultobj
;
966 PyObject
* _obj0
= 0;
967 char *_kwnames
[] = { "self","x", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
974 if (! wxSize_helper(_obj0
, &_arg0
))
978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
979 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
981 wxPyEndAllowThreads(__tstate
);
982 if (PyErr_Occurred()) return NULL
;
983 } _resultobj
= Py_BuildValue("l",_result
);
987 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
988 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
993 PyObject
* _obj0
= 0;
994 char *_kwnames
[] = { "self", NULL
};
997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1001 if (! wxSize_helper(_obj0
, &_arg0
))
1005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1006 _result
= (long )wxSize_x_get(_arg0
);
1008 wxPyEndAllowThreads(__tstate
);
1009 if (PyErr_Occurred()) return NULL
;
1010 } _resultobj
= Py_BuildValue("l",_result
);
1014 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1015 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
* _resultobj
;
1021 PyObject
* _obj0
= 0;
1022 char *_kwnames
[] = { "self","y", NULL
};
1025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1029 if (! wxSize_helper(_obj0
, &_arg0
))
1033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1034 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1036 wxPyEndAllowThreads(__tstate
);
1037 if (PyErr_Occurred()) return NULL
;
1038 } _resultobj
= Py_BuildValue("l",_result
);
1042 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1043 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
* _resultobj
;
1048 PyObject
* _obj0
= 0;
1049 char *_kwnames
[] = { "self", NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1056 if (! wxSize_helper(_obj0
, &_arg0
))
1060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1061 _result
= (long )wxSize_y_get(_arg0
);
1063 wxPyEndAllowThreads(__tstate
);
1064 if (PyErr_Occurred()) return NULL
;
1065 } _resultobj
= Py_BuildValue("l",_result
);
1069 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1070 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1073 long _arg0
= (long ) 0;
1074 long _arg1
= (long ) 0;
1075 char *_kwnames
[] = { "w","h", NULL
};
1079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1083 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1085 wxPyEndAllowThreads(__tstate
);
1086 if (PyErr_Occurred()) return NULL
;
1088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1089 _resultobj
= Py_BuildValue("s",_ptemp
);
1092 _resultobj
= Py_None
;
1097 #define delete_wxSize(_swigobj) (delete _swigobj)
1098 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1102 PyObject
* _obj0
= 0;
1103 char *_kwnames
[] = { "self", NULL
};
1106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1110 if (! wxSize_helper(_obj0
, &_arg0
))
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 delete_wxSize(_arg0
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) return NULL
;
1119 } Py_INCREF(Py_None
);
1120 _resultobj
= Py_None
;
1124 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1125 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
* _resultobj
;
1131 PyObject
* _obj0
= 0;
1132 char *_kwnames
[] = { "self","w","h", NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1139 if (! wxSize_helper(_obj0
, &_arg0
))
1143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1144 wxSize_Set(_arg0
,_arg1
,_arg2
);
1146 wxPyEndAllowThreads(__tstate
);
1147 if (PyErr_Occurred()) return NULL
;
1148 } Py_INCREF(Py_None
);
1149 _resultobj
= Py_None
;
1153 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1154 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1155 PyObject
* _resultobj
;
1159 PyObject
* _obj0
= 0;
1160 char *_kwnames
[] = { "self", NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1167 if (! wxSize_helper(_obj0
, &_arg0
))
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 _result
= (long )wxSize_GetX(_arg0
);
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) return NULL
;
1176 } _resultobj
= Py_BuildValue("l",_result
);
1180 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1181 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
* _resultobj
;
1186 PyObject
* _obj0
= 0;
1187 char *_kwnames
[] = { "self", NULL
};
1190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1194 if (! wxSize_helper(_obj0
, &_arg0
))
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 _result
= (long )wxSize_GetY(_arg0
);
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) return NULL
;
1203 } _resultobj
= Py_BuildValue("l",_result
);
1207 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1208 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1209 PyObject
* _resultobj
;
1213 PyObject
* _obj0
= 0;
1214 char *_kwnames
[] = { "self", NULL
};
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1221 if (! wxSize_helper(_obj0
, &_arg0
))
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 _result
= (long )wxSize_GetWidth(_arg0
);
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) return NULL
;
1230 } _resultobj
= Py_BuildValue("l",_result
);
1234 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1235 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1240 PyObject
* _obj0
= 0;
1241 char *_kwnames
[] = { "self", NULL
};
1244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1248 if (! wxSize_helper(_obj0
, &_arg0
))
1252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1253 _result
= (long )wxSize_GetHeight(_arg0
);
1255 wxPyEndAllowThreads(__tstate
);
1256 if (PyErr_Occurred()) return NULL
;
1257 } _resultobj
= Py_BuildValue("l",_result
);
1261 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1262 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
* _resultobj
;
1267 PyObject
* _obj0
= 0;
1268 char *_kwnames
[] = { "self","w", NULL
};
1271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1275 if (! wxSize_helper(_obj0
, &_arg0
))
1279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1280 wxSize_SetWidth(_arg0
,_arg1
);
1282 wxPyEndAllowThreads(__tstate
);
1283 if (PyErr_Occurred()) return NULL
;
1284 } Py_INCREF(Py_None
);
1285 _resultobj
= Py_None
;
1289 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1290 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
* _resultobj
;
1295 PyObject
* _obj0
= 0;
1296 char *_kwnames
[] = { "self","h", NULL
};
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1303 if (! wxSize_helper(_obj0
, &_arg0
))
1307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1308 wxSize_SetHeight(_arg0
,_arg1
);
1310 wxPyEndAllowThreads(__tstate
);
1311 if (PyErr_Occurred()) return NULL
;
1312 } Py_INCREF(Py_None
);
1313 _resultobj
= Py_None
;
1317 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1318 wxPyBeginBlockThreads();
1319 PyObject
* tup
= PyTuple_New(2);
1320 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1321 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1322 wxPyEndBlockThreads();
1325 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1330 PyObject
* _obj0
= 0;
1331 char *_kwnames
[] = { "self", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1338 if (! wxSize_helper(_obj0
, &_arg0
))
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1348 _resultobj
= _result
;
1353 static bool wxSize___eq__(wxSize
*self
,PyObject
* obj
) {
1356 if (obj
== Py_None
) return FALSE
;
1357 wxPyBLOCK_THREADS(bool success
= wxSize_helper(obj
, &ptr
); PyErr_Clear());
1358 if (! success
) return FALSE
;
1359 return *self
== *ptr
;
1361 static PyObject
*_wrap_wxSize___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1367 PyObject
* _obj0
= 0;
1368 PyObject
* _obj1
= 0;
1369 char *_kwnames
[] = { "self","obj", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___eq__",_kwnames
,&_obj0
,&_obj1
))
1376 if (! wxSize_helper(_obj0
, &_arg0
))
1383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 _result
= (bool )wxSize___eq__(_arg0
,_arg1
);
1386 wxPyEndAllowThreads(__tstate
);
1387 if (PyErr_Occurred()) return NULL
;
1388 } _resultobj
= Py_BuildValue("i",_result
);
1392 static bool wxSize___ne__(wxSize
*self
,PyObject
* obj
) {
1395 if (obj
== Py_None
) return TRUE
;
1396 wxPyBLOCK_THREADS(bool success
= wxSize_helper(obj
, &ptr
); PyErr_Clear());
1397 if (! success
) return TRUE
;
1398 return *self
!= *ptr
;
1400 static PyObject
*_wrap_wxSize___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1406 PyObject
* _obj0
= 0;
1407 PyObject
* _obj1
= 0;
1408 char *_kwnames
[] = { "self","obj", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___ne__",_kwnames
,&_obj0
,&_obj1
))
1415 if (! wxSize_helper(_obj0
, &_arg0
))
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 _result
= (bool )wxSize___ne__(_arg0
,_arg1
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) return NULL
;
1427 } _resultobj
= Py_BuildValue("i",_result
);
1431 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1432 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1435 wxRealPoint
* _arg0
;
1438 PyObject
* _obj0
= 0;
1439 char *_kwnames
[] = { "self","x", NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1446 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) return NULL
;
1455 } _resultobj
= Py_BuildValue("d",_result
);
1459 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1460 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1463 wxRealPoint
* _arg0
;
1465 PyObject
* _obj0
= 0;
1466 char *_kwnames
[] = { "self", NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1473 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 _result
= (double )wxRealPoint_x_get(_arg0
);
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) return NULL
;
1482 } _resultobj
= Py_BuildValue("d",_result
);
1486 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1487 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1490 wxRealPoint
* _arg0
;
1493 PyObject
* _obj0
= 0;
1494 char *_kwnames
[] = { "self","y", NULL
};
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1501 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1508 wxPyEndAllowThreads(__tstate
);
1509 if (PyErr_Occurred()) return NULL
;
1510 } _resultobj
= Py_BuildValue("d",_result
);
1514 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1515 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1518 wxRealPoint
* _arg0
;
1520 PyObject
* _obj0
= 0;
1521 char *_kwnames
[] = { "self", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1528 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 _result
= (double )wxRealPoint_y_get(_arg0
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1537 } _resultobj
= Py_BuildValue("d",_result
);
1541 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1542 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1544 wxRealPoint
* _result
;
1545 double _arg0
= (double ) 0.0;
1546 double _arg1
= (double ) 0.0;
1547 char *_kwnames
[] = { "x","y", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1560 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1561 _resultobj
= Py_BuildValue("s",_ptemp
);
1564 _resultobj
= Py_None
;
1569 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1570 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1572 wxRealPoint
* _arg0
;
1574 PyObject
* _obj0
= 0;
1575 char *_kwnames
[] = { "self", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1582 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 delete_wxRealPoint(_arg0
);
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) return NULL
;
1591 } Py_INCREF(Py_None
);
1592 _resultobj
= Py_None
;
1596 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1600 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1601 PyObject
* _resultobj
;
1602 wxRealPoint
* _arg0
;
1606 PyObject
* _obj0
= 0;
1607 char *_kwnames
[] = { "self","x","y", NULL
};
1610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1614 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1619 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1621 wxPyEndAllowThreads(__tstate
);
1622 if (PyErr_Occurred()) return NULL
;
1623 } Py_INCREF(Py_None
);
1624 _resultobj
= Py_None
;
1628 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1629 wxPyBeginBlockThreads();
1630 PyObject
* tup
= PyTuple_New(2);
1631 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1632 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1633 wxPyEndBlockThreads();
1636 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1639 wxRealPoint
* _arg0
;
1641 PyObject
* _obj0
= 0;
1642 char *_kwnames
[] = { "self", NULL
};
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1649 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) return NULL
;
1659 _resultobj
= _result
;
1664 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
& p
) {
1667 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1669 wxRealPoint
* _result
;
1670 wxRealPoint
* _arg0
;
1671 wxRealPoint
* _arg1
;
1673 PyObject
* _obj0
= 0;
1675 PyObject
* _obj1
= 0;
1676 char *_kwnames
[] = { "self","p", NULL
};
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1684 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1689 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,*_arg1
));
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1698 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1699 _resultobj
= Py_BuildValue("s",_ptemp
);
1703 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
& p
) {
1706 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1708 wxRealPoint
* _result
;
1709 wxRealPoint
* _arg0
;
1710 wxRealPoint
* _arg1
;
1712 PyObject
* _obj0
= 0;
1714 PyObject
* _obj1
= 0;
1715 char *_kwnames
[] = { "self","p", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1723 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1728 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,*_arg1
));
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) return NULL
;
1737 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1738 _resultobj
= Py_BuildValue("s",_ptemp
);
1742 static bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
* obj
) {
1744 wxRealPoint
* ptr
= &tmp
;
1745 if (obj
== Py_None
) return FALSE
;
1746 wxPyBLOCK_THREADS(bool success
= wxRealPoint_helper(obj
, &ptr
); PyErr_Clear());
1747 if (! success
) return FALSE
;
1748 return *self
== *ptr
;
1750 static PyObject
*_wrap_wxRealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1753 wxRealPoint
* _arg0
;
1756 PyObject
* _obj0
= 0;
1757 PyObject
* _obj1
= 0;
1758 char *_kwnames
[] = { "self","obj", NULL
};
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___eq__",_kwnames
,&_obj0
,&_obj1
))
1765 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 _result
= (bool )wxRealPoint___eq__(_arg0
,_arg1
);
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) return NULL
;
1777 } _resultobj
= Py_BuildValue("i",_result
);
1781 static bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
* obj
) {
1783 wxRealPoint
* ptr
= &tmp
;
1784 if (obj
== Py_None
) return TRUE
;
1785 wxPyBLOCK_THREADS(bool success
= wxRealPoint_helper(obj
, &ptr
); PyErr_Clear());
1786 if (! success
) return TRUE
;
1787 return *self
!= *ptr
;
1789 static PyObject
*_wrap_wxRealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
* _resultobj
;
1792 wxRealPoint
* _arg0
;
1795 PyObject
* _obj0
= 0;
1796 PyObject
* _obj1
= 0;
1797 char *_kwnames
[] = { "self","obj", NULL
};
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___ne__",_kwnames
,&_obj0
,&_obj1
))
1804 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 _result
= (bool )wxRealPoint___ne__(_arg0
,_arg1
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) return NULL
;
1816 } _resultobj
= Py_BuildValue("i",_result
);
1820 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1821 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1827 PyObject
* _obj0
= 0;
1828 char *_kwnames
[] = { "self","x", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1835 if (! wxPoint_helper(_obj0
, &_arg0
))
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) return NULL
;
1844 } _resultobj
= Py_BuildValue("l",_result
);
1848 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1849 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1854 PyObject
* _obj0
= 0;
1855 char *_kwnames
[] = { "self", NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1862 if (! wxPoint_helper(_obj0
, &_arg0
))
1866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1867 _result
= (long )wxPoint_x_get(_arg0
);
1869 wxPyEndAllowThreads(__tstate
);
1870 if (PyErr_Occurred()) return NULL
;
1871 } _resultobj
= Py_BuildValue("l",_result
);
1875 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1876 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1882 PyObject
* _obj0
= 0;
1883 char *_kwnames
[] = { "self","y", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1890 if (! wxPoint_helper(_obj0
, &_arg0
))
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) return NULL
;
1899 } _resultobj
= Py_BuildValue("l",_result
);
1903 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1904 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1909 PyObject
* _obj0
= 0;
1910 char *_kwnames
[] = { "self", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1917 if (! wxPoint_helper(_obj0
, &_arg0
))
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 _result
= (long )wxPoint_y_get(_arg0
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) return NULL
;
1926 } _resultobj
= Py_BuildValue("l",_result
);
1930 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1931 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1934 long _arg0
= (long ) 0;
1935 long _arg1
= (long ) 0;
1936 char *_kwnames
[] = { "x","y", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1944 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1946 wxPyEndAllowThreads(__tstate
);
1947 if (PyErr_Occurred()) return NULL
;
1949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1950 _resultobj
= Py_BuildValue("s",_ptemp
);
1953 _resultobj
= Py_None
;
1958 #define delete_wxPoint(_swigobj) (delete _swigobj)
1959 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
* _resultobj
;
1963 PyObject
* _obj0
= 0;
1964 char *_kwnames
[] = { "self", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1971 if (! wxPoint_helper(_obj0
, &_arg0
))
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 delete_wxPoint(_arg0
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) return NULL
;
1980 } Py_INCREF(Py_None
);
1981 _resultobj
= Py_None
;
1985 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
1989 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
* _resultobj
;
1995 PyObject
* _obj0
= 0;
1996 char *_kwnames
[] = { "self","x","y", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2003 if (! wxPoint_helper(_obj0
, &_arg0
))
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) return NULL
;
2012 } Py_INCREF(Py_None
);
2013 _resultobj
= Py_None
;
2017 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2018 wxPyBeginBlockThreads();
2019 PyObject
* tup
= PyTuple_New(2);
2020 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2021 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2022 wxPyEndBlockThreads();
2025 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2030 PyObject
* _obj0
= 0;
2031 char *_kwnames
[] = { "self", NULL
};
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2038 if (! wxPoint_helper(_obj0
, &_arg0
))
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) return NULL
;
2048 _resultobj
= _result
;
2053 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
& p
) {
2056 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2062 PyObject
* _obj0
= 0;
2064 PyObject
* _obj1
= 0;
2065 char *_kwnames
[] = { "self","p", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2073 if (! wxPoint_helper(_obj0
, &_arg0
))
2078 if (! wxPoint_helper(_obj1
, &_arg1
))
2082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2083 _result
= new wxPoint (wxPoint___add__(_arg0
,*_arg1
));
2085 wxPyEndAllowThreads(__tstate
);
2086 if (PyErr_Occurred()) return NULL
;
2087 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2088 _resultobj
= Py_BuildValue("s",_ptemp
);
2092 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
& p
) {
2095 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
* _resultobj
;
2101 PyObject
* _obj0
= 0;
2103 PyObject
* _obj1
= 0;
2104 char *_kwnames
[] = { "self","p", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2112 if (! wxPoint_helper(_obj0
, &_arg0
))
2117 if (! wxPoint_helper(_obj1
, &_arg1
))
2121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 _result
= new wxPoint (wxPoint___sub__(_arg0
,*_arg1
));
2124 wxPyEndAllowThreads(__tstate
);
2125 if (PyErr_Occurred()) return NULL
;
2126 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2127 _resultobj
= Py_BuildValue("s",_ptemp
);
2131 static bool wxPoint___eq__(wxPoint
*self
,PyObject
* obj
) {
2133 wxPoint
* ptr
= &tmp
;
2134 if (obj
== Py_None
) return FALSE
;
2135 wxPyBLOCK_THREADS(bool success
= wxPoint_helper(obj
, &ptr
); PyErr_Clear());
2136 if (! success
) return FALSE
;
2137 return *self
== *ptr
;
2139 static PyObject
*_wrap_wxPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2145 PyObject
* _obj0
= 0;
2146 PyObject
* _obj1
= 0;
2147 char *_kwnames
[] = { "self","obj", NULL
};
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___eq__",_kwnames
,&_obj0
,&_obj1
))
2154 if (! wxPoint_helper(_obj0
, &_arg0
))
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 _result
= (bool )wxPoint___eq__(_arg0
,_arg1
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) return NULL
;
2166 } _resultobj
= Py_BuildValue("i",_result
);
2170 static bool wxPoint___ne__(wxPoint
*self
,PyObject
* obj
) {
2172 wxPoint
* ptr
= &tmp
;
2173 if (obj
== Py_None
) return TRUE
;
2174 wxPyBLOCK_THREADS(bool success
= wxPoint_helper(obj
, &ptr
); PyErr_Clear());
2175 if (! success
) return TRUE
;
2176 return *self
!= *ptr
;
2178 static PyObject
*_wrap_wxPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
* _resultobj
;
2184 PyObject
* _obj0
= 0;
2185 PyObject
* _obj1
= 0;
2186 char *_kwnames
[] = { "self","obj", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___ne__",_kwnames
,&_obj0
,&_obj1
))
2193 if (! wxPoint_helper(_obj0
, &_arg0
))
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 _result
= (bool )wxPoint___ne__(_arg0
,_arg1
);
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) return NULL
;
2205 } _resultobj
= Py_BuildValue("i",_result
);
2209 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2210 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
* _resultobj
;
2213 int _arg0
= (int ) 0;
2214 int _arg1
= (int ) 0;
2215 int _arg2
= (int ) 0;
2216 int _arg3
= (int ) 0;
2217 char *_kwnames
[] = { "x","y","width","height", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) return NULL
;
2230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2231 _resultobj
= Py_BuildValue("s",_ptemp
);
2234 _resultobj
= Py_None
;
2239 #define delete_wxRect(_swigobj) (delete _swigobj)
2240 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2244 PyObject
* _obj0
= 0;
2245 char *_kwnames
[] = { "self", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2252 if (! wxRect_helper(_obj0
, &_arg0
))
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 delete_wxRect(_arg0
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) return NULL
;
2261 } Py_INCREF(Py_None
);
2262 _resultobj
= Py_None
;
2266 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2267 static PyObject
*_wrap_wxRect_GetX(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_GetX",_kwnames
,&_obj0
))
2280 if (! wxRect_helper(_obj0
, &_arg0
))
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 _result
= (int )wxRect_GetX(_arg0
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) return NULL
;
2289 } _resultobj
= Py_BuildValue("i",_result
);
2293 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2294 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
* _resultobj
;
2299 PyObject
* _obj0
= 0;
2300 char *_kwnames
[] = { "self","X", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2307 if (! wxRect_helper(_obj0
, &_arg0
))
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 wxRect_SetX(_arg0
,_arg1
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) return NULL
;
2316 } Py_INCREF(Py_None
);
2317 _resultobj
= Py_None
;
2321 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2322 static PyObject
*_wrap_wxRect_GetY(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_GetY",_kwnames
,&_obj0
))
2335 if (! wxRect_helper(_obj0
, &_arg0
))
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 _result
= (int )wxRect_GetY(_arg0
);
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) return NULL
;
2344 } _resultobj
= Py_BuildValue("i",_result
);
2348 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2349 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2354 PyObject
* _obj0
= 0;
2355 char *_kwnames
[] = { "self","Y", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2362 if (! wxRect_helper(_obj0
, &_arg0
))
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 wxRect_SetY(_arg0
,_arg1
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) return NULL
;
2371 } Py_INCREF(Py_None
);
2372 _resultobj
= Py_None
;
2376 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2377 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2382 PyObject
* _obj0
= 0;
2383 char *_kwnames
[] = { "self", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2390 if (! wxRect_helper(_obj0
, &_arg0
))
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 _result
= (int )wxRect_GetWidth(_arg0
);
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) return NULL
;
2399 } _resultobj
= Py_BuildValue("i",_result
);
2403 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2404 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2409 PyObject
* _obj0
= 0;
2410 char *_kwnames
[] = { "self","w", NULL
};
2413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2417 if (! wxRect_helper(_obj0
, &_arg0
))
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 wxRect_SetWidth(_arg0
,_arg1
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) return NULL
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2431 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2432 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2437 PyObject
* _obj0
= 0;
2438 char *_kwnames
[] = { "self", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2445 if (! wxRect_helper(_obj0
, &_arg0
))
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 _result
= (int )wxRect_GetHeight(_arg0
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) return NULL
;
2454 } _resultobj
= Py_BuildValue("i",_result
);
2458 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2459 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2464 PyObject
* _obj0
= 0;
2465 char *_kwnames
[] = { "self","h", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2472 if (! wxRect_helper(_obj0
, &_arg0
))
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 wxRect_SetHeight(_arg0
,_arg1
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) return NULL
;
2481 } Py_INCREF(Py_None
);
2482 _resultobj
= Py_None
;
2486 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2487 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2488 PyObject
* _resultobj
;
2492 PyObject
* _obj0
= 0;
2493 char *_kwnames
[] = { "self", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2501 if (! wxRect_helper(_obj0
, &_arg0
))
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) return NULL
;
2510 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2511 _resultobj
= Py_BuildValue("s",_ptemp
);
2515 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2516 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
* _resultobj
;
2521 PyObject
* _obj0
= 0;
2522 char *_kwnames
[] = { "self", NULL
};
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2530 if (! wxRect_helper(_obj0
, &_arg0
))
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 _result
= new wxSize (wxRect_GetSize(_arg0
));
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) return NULL
;
2539 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2540 _resultobj
= Py_BuildValue("s",_ptemp
);
2544 #define wxRect_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2545 static PyObject
*_wrap_wxRect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2550 PyObject
* _obj0
= 0;
2552 PyObject
* _obj1
= 0;
2553 char *_kwnames
[] = { "self","p", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetPosition",_kwnames
,&_obj0
,&_obj1
))
2560 if (! wxRect_helper(_obj0
, &_arg0
))
2565 if (! wxPoint_helper(_obj1
, &_arg1
))
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 wxRect_SetPosition(_arg0
,*_arg1
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) return NULL
;
2574 } Py_INCREF(Py_None
);
2575 _resultobj
= Py_None
;
2579 #define wxRect_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2580 static PyObject
*_wrap_wxRect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
* _resultobj
;
2585 PyObject
* _obj0
= 0;
2587 PyObject
* _obj1
= 0;
2588 char *_kwnames
[] = { "self","s", NULL
};
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetSize",_kwnames
,&_obj0
,&_obj1
))
2595 if (! wxRect_helper(_obj0
, &_arg0
))
2600 if (! wxSize_helper(_obj1
, &_arg1
))
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 wxRect_SetSize(_arg0
,*_arg1
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) return NULL
;
2609 } Py_INCREF(Py_None
);
2610 _resultobj
= Py_None
;
2614 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2615 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2620 PyObject
* _obj0
= 0;
2621 char *_kwnames
[] = { "self", NULL
};
2624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2628 if (! wxRect_helper(_obj0
, &_arg0
))
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 _result
= (int )wxRect_GetLeft(_arg0
);
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) return NULL
;
2637 } _resultobj
= Py_BuildValue("i",_result
);
2641 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2642 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2647 PyObject
* _obj0
= 0;
2648 char *_kwnames
[] = { "self", NULL
};
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2655 if (! wxRect_helper(_obj0
, &_arg0
))
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 _result
= (int )wxRect_GetTop(_arg0
);
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) return NULL
;
2664 } _resultobj
= Py_BuildValue("i",_result
);
2668 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2669 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
* _resultobj
;
2674 PyObject
* _obj0
= 0;
2675 char *_kwnames
[] = { "self", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2682 if (! wxRect_helper(_obj0
, &_arg0
))
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 _result
= (int )wxRect_GetBottom(_arg0
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) return NULL
;
2691 } _resultobj
= Py_BuildValue("i",_result
);
2695 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2696 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2701 PyObject
* _obj0
= 0;
2702 char *_kwnames
[] = { "self", NULL
};
2705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2709 if (! wxRect_helper(_obj0
, &_arg0
))
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 _result
= (int )wxRect_GetRight(_arg0
);
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) return NULL
;
2718 } _resultobj
= Py_BuildValue("i",_result
);
2722 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2723 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2728 PyObject
* _obj0
= 0;
2729 char *_kwnames
[] = { "self","left", NULL
};
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2736 if (! wxRect_helper(_obj0
, &_arg0
))
2740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2741 wxRect_SetLeft(_arg0
,_arg1
);
2743 wxPyEndAllowThreads(__tstate
);
2744 if (PyErr_Occurred()) return NULL
;
2745 } Py_INCREF(Py_None
);
2746 _resultobj
= Py_None
;
2750 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2751 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
* _resultobj
;
2756 PyObject
* _obj0
= 0;
2757 char *_kwnames
[] = { "self","right", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2764 if (! wxRect_helper(_obj0
, &_arg0
))
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 wxRect_SetRight(_arg0
,_arg1
);
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) return NULL
;
2773 } Py_INCREF(Py_None
);
2774 _resultobj
= Py_None
;
2778 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2779 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
* _resultobj
;
2784 PyObject
* _obj0
= 0;
2785 char *_kwnames
[] = { "self","top", NULL
};
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2792 if (! wxRect_helper(_obj0
, &_arg0
))
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 wxRect_SetTop(_arg0
,_arg1
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) return NULL
;
2801 } Py_INCREF(Py_None
);
2802 _resultobj
= Py_None
;
2806 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2807 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2812 PyObject
* _obj0
= 0;
2813 char *_kwnames
[] = { "self","bottom", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2820 if (! wxRect_helper(_obj0
, &_arg0
))
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 wxRect_SetBottom(_arg0
,_arg1
);
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) return NULL
;
2829 } Py_INCREF(Py_None
);
2830 _resultobj
= Py_None
;
2834 #define wxRect_Deflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Deflate(_swigarg0,_swigarg1))
2835 static PyObject
*_wrap_wxRect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
* _resultobj
;
2841 PyObject
* _obj0
= 0;
2842 char *_kwnames
[] = { "self","dx","dy", NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Deflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2849 if (! wxRect_helper(_obj0
, &_arg0
))
2853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2854 wxRect_Deflate(_arg0
,_arg1
,_arg2
);
2856 wxPyEndAllowThreads(__tstate
);
2857 if (PyErr_Occurred()) return NULL
;
2858 } Py_INCREF(Py_None
);
2859 _resultobj
= Py_None
;
2863 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2864 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2870 PyObject
* _obj0
= 0;
2871 char *_kwnames
[] = { "self","dx","dy", NULL
};
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2878 if (! wxRect_helper(_obj0
, &_arg0
))
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) return NULL
;
2887 } Py_INCREF(Py_None
);
2888 _resultobj
= Py_None
;
2892 #define wxRect_InsideXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2893 static PyObject
*_wrap_wxRect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
* _resultobj
;
2900 PyObject
* _obj0
= 0;
2901 char *_kwnames
[] = { "self","cx","cy", NULL
};
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_InsideXY",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2908 if (! wxRect_helper(_obj0
, &_arg0
))
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 _result
= (bool )wxRect_InsideXY(_arg0
,_arg1
,_arg2
);
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) return NULL
;
2917 } _resultobj
= Py_BuildValue("i",_result
);
2921 #define wxRect_Inside(_swigobj,_swigarg0) (_swigobj->Inside(_swigarg0))
2922 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
* _resultobj
;
2928 PyObject
* _obj0
= 0;
2930 PyObject
* _obj1
= 0;
2931 char *_kwnames
[] = { "self","pt", NULL
};
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Inside",_kwnames
,&_obj0
,&_obj1
))
2938 if (! wxRect_helper(_obj0
, &_arg0
))
2943 if (! wxPoint_helper(_obj1
, &_arg1
))
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 _result
= (bool )wxRect_Inside(_arg0
,*_arg1
);
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) return NULL
;
2952 } _resultobj
= Py_BuildValue("i",_result
);
2956 #define wxRect_Intersects(_swigobj,_swigarg0) (_swigobj->Intersects(_swigarg0))
2957 static PyObject
*_wrap_wxRect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
* _resultobj
;
2963 PyObject
* _obj0
= 0;
2965 PyObject
* _obj1
= 0;
2966 char *_kwnames
[] = { "self","rect", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Intersects",_kwnames
,&_obj0
,&_obj1
))
2973 if (! wxRect_helper(_obj0
, &_arg0
))
2978 if (! wxRect_helper(_obj1
, &_arg1
))
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 _result
= (bool )wxRect_Intersects(_arg0
,*_arg1
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) return NULL
;
2987 } _resultobj
= Py_BuildValue("i",_result
);
2991 #define wxRect_OffsetXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
2992 static PyObject
*_wrap_wxRect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
* _resultobj
;
2998 PyObject
* _obj0
= 0;
2999 char *_kwnames
[] = { "self","dx","dy", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_OffsetXY",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3006 if (! wxRect_helper(_obj0
, &_arg0
))
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 wxRect_OffsetXY(_arg0
,_arg1
,_arg2
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) return NULL
;
3015 } Py_INCREF(Py_None
);
3016 _resultobj
= Py_None
;
3020 #define wxRect_Offset(_swigobj,_swigarg0) (_swigobj->Offset(_swigarg0))
3021 static PyObject
*_wrap_wxRect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3026 PyObject
* _obj0
= 0;
3028 PyObject
* _obj1
= 0;
3029 char *_kwnames
[] = { "self","pt", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Offset",_kwnames
,&_obj0
,&_obj1
))
3036 if (! wxRect_helper(_obj0
, &_arg0
))
3041 if (! wxPoint_helper(_obj1
, &_arg1
))
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 wxRect_Offset(_arg0
,*_arg1
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) return NULL
;
3050 } Py_INCREF(Py_None
);
3051 _resultobj
= Py_None
;
3055 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
3056 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
* _resultobj
;
3062 PyObject
* _obj0
= 0;
3063 char *_kwnames
[] = { "self","x", NULL
};
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
3070 if (! wxRect_helper(_obj0
, &_arg0
))
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) return NULL
;
3079 } _resultobj
= Py_BuildValue("i",_result
);
3083 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
3084 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3089 PyObject
* _obj0
= 0;
3090 char *_kwnames
[] = { "self", NULL
};
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
3097 if (! wxRect_helper(_obj0
, &_arg0
))
3101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3102 _result
= (int )wxRect_x_get(_arg0
);
3104 wxPyEndAllowThreads(__tstate
);
3105 if (PyErr_Occurred()) return NULL
;
3106 } _resultobj
= Py_BuildValue("i",_result
);
3110 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
3111 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3117 PyObject
* _obj0
= 0;
3118 char *_kwnames
[] = { "self","y", NULL
};
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
3125 if (! wxRect_helper(_obj0
, &_arg0
))
3129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3130 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
3132 wxPyEndAllowThreads(__tstate
);
3133 if (PyErr_Occurred()) return NULL
;
3134 } _resultobj
= Py_BuildValue("i",_result
);
3138 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
3139 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3144 PyObject
* _obj0
= 0;
3145 char *_kwnames
[] = { "self", NULL
};
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
3152 if (! wxRect_helper(_obj0
, &_arg0
))
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 _result
= (int )wxRect_y_get(_arg0
);
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) return NULL
;
3161 } _resultobj
= Py_BuildValue("i",_result
);
3165 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
3166 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3167 PyObject
* _resultobj
;
3172 PyObject
* _obj0
= 0;
3173 char *_kwnames
[] = { "self","width", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
3180 if (! wxRect_helper(_obj0
, &_arg0
))
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) return NULL
;
3189 } _resultobj
= Py_BuildValue("i",_result
);
3193 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
3194 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
* _resultobj
;
3199 PyObject
* _obj0
= 0;
3200 char *_kwnames
[] = { "self", NULL
};
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
3207 if (! wxRect_helper(_obj0
, &_arg0
))
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 _result
= (int )wxRect_width_get(_arg0
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) return NULL
;
3216 } _resultobj
= Py_BuildValue("i",_result
);
3220 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
3221 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3227 PyObject
* _obj0
= 0;
3228 char *_kwnames
[] = { "self","height", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
3235 if (! wxRect_helper(_obj0
, &_arg0
))
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) return NULL
;
3244 } _resultobj
= Py_BuildValue("i",_result
);
3248 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
3249 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
* _resultobj
;
3254 PyObject
* _obj0
= 0;
3255 char *_kwnames
[] = { "self", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
3262 if (! wxRect_helper(_obj0
, &_arg0
))
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 _result
= (int )wxRect_height_get(_arg0
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) return NULL
;
3271 } _resultobj
= Py_BuildValue("i",_result
);
3275 static void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
) {
3278 self
->width
= width
;
3279 self
->height
= height
;
3281 static PyObject
*_wrap_wxRect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3284 int _arg1
= (int ) 0;
3285 int _arg2
= (int ) 0;
3286 int _arg3
= (int ) 0;
3287 int _arg4
= (int ) 0;
3289 PyObject
* _obj0
= 0;
3290 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiii:wxRect_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3297 if (! wxRect_helper(_obj0
, &_arg0
))
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 wxRect_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) return NULL
;
3306 } Py_INCREF(Py_None
);
3307 _resultobj
= Py_None
;
3311 static PyObject
* wxRect_asTuple(wxRect
*self
) {
3312 wxPyBeginBlockThreads();
3313 PyObject
* tup
= PyTuple_New(4);
3314 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3315 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3316 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3317 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3318 wxPyEndBlockThreads();
3321 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
* _resultobj
;
3326 PyObject
* _obj0
= 0;
3327 char *_kwnames
[] = { "self", NULL
};
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
3334 if (! wxRect_helper(_obj0
, &_arg0
))
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) return NULL
;
3344 _resultobj
= _result
;
3349 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
& rect
) {
3350 return *self
+ rect
;
3352 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3358 PyObject
* _obj0
= 0;
3360 PyObject
* _obj1
= 0;
3361 char *_kwnames
[] = { "self","rect", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3369 if (! wxRect_helper(_obj0
, &_arg0
))
3374 if (! wxRect_helper(_obj1
, &_arg1
))
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 _result
= new wxRect (wxRect___add__(_arg0
,*_arg1
));
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) return NULL
;
3383 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3384 _resultobj
= Py_BuildValue("s",_ptemp
);
3388 static bool wxRect___eq__(wxRect
*self
,PyObject
* obj
) {
3391 if (obj
== Py_None
) return FALSE
;
3392 wxPyBLOCK_THREADS(bool success
= wxRect_helper(obj
, &ptr
); PyErr_Clear());
3393 if (! success
) return FALSE
;
3394 return *self
== *ptr
;
3396 static PyObject
*_wrap_wxRect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
* _resultobj
;
3402 PyObject
* _obj0
= 0;
3403 PyObject
* _obj1
= 0;
3404 char *_kwnames
[] = { "self","obj", NULL
};
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___eq__",_kwnames
,&_obj0
,&_obj1
))
3411 if (! wxRect_helper(_obj0
, &_arg0
))
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 _result
= (bool )wxRect___eq__(_arg0
,_arg1
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) return NULL
;
3423 } _resultobj
= Py_BuildValue("i",_result
);
3427 static bool wxRect___ne__(wxRect
*self
,PyObject
* obj
) {
3430 if (obj
== Py_None
) return TRUE
;
3431 wxPyBLOCK_THREADS(bool success
= wxRect_helper(obj
, &ptr
); PyErr_Clear());
3432 if (! success
) return TRUE
;
3433 return *self
!= *ptr
;
3435 static PyObject
*_wrap_wxRect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
* _resultobj
;
3441 PyObject
* _obj0
= 0;
3442 PyObject
* _obj1
= 0;
3443 char *_kwnames
[] = { "self","obj", NULL
};
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___ne__",_kwnames
,&_obj0
,&_obj1
))
3450 if (! wxRect_helper(_obj0
, &_arg0
))
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 _result
= (bool )wxRect___ne__(_arg0
,_arg1
);
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) return NULL
;
3462 } _resultobj
= Py_BuildValue("i",_result
);
3466 #define wxPoint2DDouble_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3467 static PyObject
*_wrap_wxPoint2DDouble_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
* _resultobj
;
3470 wxPoint2DDouble
* _arg0
;
3472 wxPoint2DDouble temp
;
3473 PyObject
* _obj0
= 0;
3474 char *_kwnames
[] = { "self","m_x", NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_m_x_set",_kwnames
,&_obj0
,&_arg1
))
3481 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 _result
= (double )wxPoint2DDouble_m_x_set(_arg0
,_arg1
);
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) return NULL
;
3490 } _resultobj
= Py_BuildValue("d",_result
);
3494 #define wxPoint2DDouble_m_x_get(_swigobj) ((double ) _swigobj->m_x)
3495 static PyObject
*_wrap_wxPoint2DDouble_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
* _resultobj
;
3498 wxPoint2DDouble
* _arg0
;
3499 wxPoint2DDouble temp
;
3500 PyObject
* _obj0
= 0;
3501 char *_kwnames
[] = { "self", NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_m_x_get",_kwnames
,&_obj0
))
3508 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3513 _result
= (double )wxPoint2DDouble_m_x_get(_arg0
);
3515 wxPyEndAllowThreads(__tstate
);
3516 if (PyErr_Occurred()) return NULL
;
3517 } _resultobj
= Py_BuildValue("d",_result
);
3521 #define wxPoint2DDouble_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3522 static PyObject
*_wrap_wxPoint2DDouble_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
* _resultobj
;
3525 wxPoint2DDouble
* _arg0
;
3527 wxPoint2DDouble temp
;
3528 PyObject
* _obj0
= 0;
3529 char *_kwnames
[] = { "self","m_y", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_m_y_set",_kwnames
,&_obj0
,&_arg1
))
3536 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 _result
= (double )wxPoint2DDouble_m_y_set(_arg0
,_arg1
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) return NULL
;
3545 } _resultobj
= Py_BuildValue("d",_result
);
3549 #define wxPoint2DDouble_m_y_get(_swigobj) ((double ) _swigobj->m_y)
3550 static PyObject
*_wrap_wxPoint2DDouble_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
* _resultobj
;
3553 wxPoint2DDouble
* _arg0
;
3554 wxPoint2DDouble temp
;
3555 PyObject
* _obj0
= 0;
3556 char *_kwnames
[] = { "self", NULL
};
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_m_y_get",_kwnames
,&_obj0
))
3563 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 _result
= (double )wxPoint2DDouble_m_y_get(_arg0
);
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) return NULL
;
3572 } _resultobj
= Py_BuildValue("d",_result
);
3576 #define new_wxPoint2DDouble(_swigarg0,_swigarg1) (new wxPoint2DDouble(_swigarg0,_swigarg1))
3577 static PyObject
*_wrap_new_wxPoint2DDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
* _resultobj
;
3579 wxPoint2DDouble
* _result
;
3580 double _arg0
= (double ) 0;
3581 double _arg1
= (double ) 0;
3582 char *_kwnames
[] = { "x","y", NULL
};
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxPoint2DDouble",_kwnames
,&_arg0
,&_arg1
))
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 _result
= (wxPoint2DDouble
*)new_wxPoint2DDouble(_arg0
,_arg1
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) return NULL
;
3595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3596 _resultobj
= Py_BuildValue("s",_ptemp
);
3599 _resultobj
= Py_None
;
3604 #define new_wxPoint2DDoubleCopy(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3605 static PyObject
*_wrap_new_wxPoint2DDoubleCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3607 wxPoint2DDouble
* _result
;
3608 wxPoint2DDouble
* _arg0
;
3609 wxPoint2DDouble temp
;
3610 PyObject
* _obj0
= 0;
3611 char *_kwnames
[] = { "pt", NULL
};
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPoint2DDoubleCopy",_kwnames
,&_obj0
))
3619 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 _result
= (wxPoint2DDouble
*)new_wxPoint2DDoubleCopy(*_arg0
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) return NULL
;
3629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3630 _resultobj
= Py_BuildValue("s",_ptemp
);
3633 _resultobj
= Py_None
;
3638 #define new_wxPoint2DDoubleFromPoint(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3639 static PyObject
*_wrap_new_wxPoint2DDoubleFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
* _resultobj
;
3641 wxPoint2DDouble
* _result
;
3644 PyObject
* _obj0
= 0;
3645 char *_kwnames
[] = { "pt", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPoint2DDoubleFromPoint",_kwnames
,&_obj0
))
3653 if (! wxPoint_helper(_obj0
, &_arg0
))
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 _result
= (wxPoint2DDouble
*)new_wxPoint2DDoubleFromPoint(*_arg0
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) return NULL
;
3663 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3664 _resultobj
= Py_BuildValue("s",_ptemp
);
3667 _resultobj
= Py_None
;
3672 #define wxPoint2DDouble_GetFloor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFloor(_swigarg0,_swigarg1))
3673 static PyObject
*_wrap_wxPoint2DDouble_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
* _resultobj
;
3675 wxPoint2DDouble
* _arg0
;
3680 wxPoint2DDouble temp1
;
3681 PyObject
* _obj0
= 0;
3682 char *_kwnames
[] = { "self", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetFloor",_kwnames
,&_obj0
))
3695 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 wxPoint2DDouble_GetFloor(_arg0
,_arg1
,_arg2
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) return NULL
;
3704 } Py_INCREF(Py_None
);
3705 _resultobj
= Py_None
;
3708 o
= PyInt_FromLong((long) (*_arg1
));
3709 _resultobj
= t_output_helper(_resultobj
, o
);
3713 o
= PyInt_FromLong((long) (*_arg2
));
3714 _resultobj
= t_output_helper(_resultobj
, o
);
3719 #define wxPoint2DDouble_GetRounded(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRounded(_swigarg0,_swigarg1))
3720 static PyObject
*_wrap_wxPoint2DDouble_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3722 wxPoint2DDouble
* _arg0
;
3727 wxPoint2DDouble temp1
;
3728 PyObject
* _obj0
= 0;
3729 char *_kwnames
[] = { "self", NULL
};
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetRounded",_kwnames
,&_obj0
))
3742 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 wxPoint2DDouble_GetRounded(_arg0
,_arg1
,_arg2
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) return NULL
;
3751 } Py_INCREF(Py_None
);
3752 _resultobj
= Py_None
;
3755 o
= PyInt_FromLong((long) (*_arg1
));
3756 _resultobj
= t_output_helper(_resultobj
, o
);
3760 o
= PyInt_FromLong((long) (*_arg2
));
3761 _resultobj
= t_output_helper(_resultobj
, o
);
3766 #define wxPoint2DDouble_GetVectorLength(_swigobj) (_swigobj->GetVectorLength())
3767 static PyObject
*_wrap_wxPoint2DDouble_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
* _resultobj
;
3770 wxPoint2DDouble
* _arg0
;
3771 wxPoint2DDouble temp
;
3772 PyObject
* _obj0
= 0;
3773 char *_kwnames
[] = { "self", NULL
};
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetVectorLength",_kwnames
,&_obj0
))
3780 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 _result
= (double )wxPoint2DDouble_GetVectorLength(_arg0
);
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) return NULL
;
3789 } _resultobj
= Py_BuildValue("d",_result
);
3793 #define wxPoint2DDouble_GetVectorAngle(_swigobj) (_swigobj->GetVectorAngle())
3794 static PyObject
*_wrap_wxPoint2DDouble_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3797 wxPoint2DDouble
* _arg0
;
3798 wxPoint2DDouble temp
;
3799 PyObject
* _obj0
= 0;
3800 char *_kwnames
[] = { "self", NULL
};
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetVectorAngle",_kwnames
,&_obj0
))
3807 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 _result
= (double )wxPoint2DDouble_GetVectorAngle(_arg0
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) return NULL
;
3816 } _resultobj
= Py_BuildValue("d",_result
);
3820 #define wxPoint2DDouble_SetVectorLength(_swigobj,_swigarg0) (_swigobj->SetVectorLength(_swigarg0))
3821 static PyObject
*_wrap_wxPoint2DDouble_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3822 PyObject
* _resultobj
;
3823 wxPoint2DDouble
* _arg0
;
3825 wxPoint2DDouble temp
;
3826 PyObject
* _obj0
= 0;
3827 char *_kwnames
[] = { "self","length", NULL
};
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_SetVectorLength",_kwnames
,&_obj0
,&_arg1
))
3834 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 wxPoint2DDouble_SetVectorLength(_arg0
,_arg1
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) return NULL
;
3843 } Py_INCREF(Py_None
);
3844 _resultobj
= Py_None
;
3848 #define wxPoint2DDouble_SetVectorAngle(_swigobj,_swigarg0) (_swigobj->SetVectorAngle(_swigarg0))
3849 static PyObject
*_wrap_wxPoint2DDouble_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
* _resultobj
;
3851 wxPoint2DDouble
* _arg0
;
3853 wxPoint2DDouble temp
;
3854 PyObject
* _obj0
= 0;
3855 char *_kwnames
[] = { "self","degrees", NULL
};
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_SetVectorAngle",_kwnames
,&_obj0
,&_arg1
))
3862 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 wxPoint2DDouble_SetVectorAngle(_arg0
,_arg1
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) return NULL
;
3871 } Py_INCREF(Py_None
);
3872 _resultobj
= Py_None
;
3876 #define wxPoint2DDouble_GetDistance(_swigobj,_swigarg0) (_swigobj->GetDistance(_swigarg0))
3877 static PyObject
*_wrap_wxPoint2DDouble_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
* _resultobj
;
3880 wxPoint2DDouble
* _arg0
;
3881 wxPoint2DDouble
* _arg1
;
3882 wxPoint2DDouble temp
;
3883 PyObject
* _obj0
= 0;
3884 wxPoint2DDouble temp0
;
3885 PyObject
* _obj1
= 0;
3886 char *_kwnames
[] = { "self","pt", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDistance",_kwnames
,&_obj0
,&_obj1
))
3893 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3898 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 _result
= (double )wxPoint2DDouble_GetDistance(_arg0
,*_arg1
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) return NULL
;
3907 } _resultobj
= Py_BuildValue("d",_result
);
3911 #define wxPoint2DDouble_GetDistanceSquare(_swigobj,_swigarg0) (_swigobj->GetDistanceSquare(_swigarg0))
3912 static PyObject
*_wrap_wxPoint2DDouble_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3915 wxPoint2DDouble
* _arg0
;
3916 wxPoint2DDouble
* _arg1
;
3917 wxPoint2DDouble temp
;
3918 PyObject
* _obj0
= 0;
3919 wxPoint2DDouble temp0
;
3920 PyObject
* _obj1
= 0;
3921 char *_kwnames
[] = { "self","pt", NULL
};
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDistanceSquare",_kwnames
,&_obj0
,&_obj1
))
3928 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3933 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 _result
= (double )wxPoint2DDouble_GetDistanceSquare(_arg0
,*_arg1
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) return NULL
;
3942 } _resultobj
= Py_BuildValue("d",_result
);
3946 #define wxPoint2DDouble_GetDotProduct(_swigobj,_swigarg0) (_swigobj->GetDotProduct(_swigarg0))
3947 static PyObject
*_wrap_wxPoint2DDouble_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3948 PyObject
* _resultobj
;
3950 wxPoint2DDouble
* _arg0
;
3951 wxPoint2DDouble
* _arg1
;
3952 wxPoint2DDouble temp
;
3953 PyObject
* _obj0
= 0;
3954 wxPoint2DDouble temp0
;
3955 PyObject
* _obj1
= 0;
3956 char *_kwnames
[] = { "self","vec", NULL
};
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDotProduct",_kwnames
,&_obj0
,&_obj1
))
3963 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3968 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 _result
= (double )wxPoint2DDouble_GetDotProduct(_arg0
,*_arg1
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) return NULL
;
3977 } _resultobj
= Py_BuildValue("d",_result
);
3981 #define wxPoint2DDouble_GetCrossProduct(_swigobj,_swigarg0) (_swigobj->GetCrossProduct(_swigarg0))
3982 static PyObject
*_wrap_wxPoint2DDouble_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
* _resultobj
;
3985 wxPoint2DDouble
* _arg0
;
3986 wxPoint2DDouble
* _arg1
;
3987 wxPoint2DDouble temp
;
3988 PyObject
* _obj0
= 0;
3989 wxPoint2DDouble temp0
;
3990 PyObject
* _obj1
= 0;
3991 char *_kwnames
[] = { "self","vec", NULL
};
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetCrossProduct",_kwnames
,&_obj0
,&_obj1
))
3998 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4003 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 _result
= (double )wxPoint2DDouble_GetCrossProduct(_arg0
,*_arg1
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) return NULL
;
4012 } _resultobj
= Py_BuildValue("d",_result
);
4016 static void wxPoint2DDouble_Set(wxPoint2DDouble
*self
,double x
,double y
) {
4020 static PyObject
*_wrap_wxPoint2DDouble_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4022 wxPoint2DDouble
* _arg0
;
4023 double _arg1
= (double ) 0;
4024 double _arg2
= (double ) 0;
4025 wxPoint2DDouble temp
;
4026 PyObject
* _obj0
= 0;
4027 char *_kwnames
[] = { "self","x","y", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|dd:wxPoint2DDouble_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4034 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 wxPoint2DDouble_Set(_arg0
,_arg1
,_arg2
);
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) return NULL
;
4043 } Py_INCREF(Py_None
);
4044 _resultobj
= Py_None
;
4048 static wxPoint2DDouble
wxPoint2DDouble___neg__(wxPoint2DDouble
*self
) { return -(*self
); }
4049 static PyObject
*_wrap_wxPoint2DDouble___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
* _resultobj
;
4051 wxPoint2DDouble
* _result
;
4052 wxPoint2DDouble
* _arg0
;
4053 wxPoint2DDouble temp
;
4054 PyObject
* _obj0
= 0;
4055 char *_kwnames
[] = { "self", NULL
};
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble___neg__",_kwnames
,&_obj0
))
4063 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 _result
= new wxPoint2DDouble (wxPoint2DDouble___neg__(_arg0
));
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) return NULL
;
4072 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint2DDouble_p");
4073 _resultobj
= Py_BuildValue("s",_ptemp
);
4077 static wxPoint2DDouble
& wxPoint2DDouble___iadd__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) += pt
; }
4078 static PyObject
*_wrap_wxPoint2DDouble___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
* _resultobj
;
4080 wxPoint2DDouble
* _result
;
4081 wxPoint2DDouble
* _arg0
;
4082 wxPoint2DDouble
* _arg1
;
4083 wxPoint2DDouble temp
;
4084 PyObject
* _obj0
= 0;
4085 wxPoint2DDouble temp0
;
4086 PyObject
* _obj1
= 0;
4087 char *_kwnames
[] = { "self","pt", NULL
};
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___iadd__",_kwnames
,&_obj0
,&_obj1
))
4095 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4100 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___iadd__(_arg0
,*_arg1
);
4106 _result
= (wxPoint2DDouble
*) &_result_ref
;
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) return NULL
;
4111 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4112 _resultobj
= Py_BuildValue("s",_ptemp
);
4115 _resultobj
= Py_None
;
4120 static wxPoint2DDouble
& wxPoint2DDouble___isub__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) -= pt
; }
4121 static PyObject
*_wrap_wxPoint2DDouble___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4122 PyObject
* _resultobj
;
4123 wxPoint2DDouble
* _result
;
4124 wxPoint2DDouble
* _arg0
;
4125 wxPoint2DDouble
* _arg1
;
4126 wxPoint2DDouble temp
;
4127 PyObject
* _obj0
= 0;
4128 wxPoint2DDouble temp0
;
4129 PyObject
* _obj1
= 0;
4130 char *_kwnames
[] = { "self","pt", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___isub__",_kwnames
,&_obj0
,&_obj1
))
4138 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4143 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___isub__(_arg0
,*_arg1
);
4149 _result
= (wxPoint2DDouble
*) &_result_ref
;
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) return NULL
;
4154 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4155 _resultobj
= Py_BuildValue("s",_ptemp
);
4158 _resultobj
= Py_None
;
4163 static wxPoint2DDouble
& wxPoint2DDouble___imul__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) *= pt
; }
4164 static PyObject
*_wrap_wxPoint2DDouble___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
* _resultobj
;
4166 wxPoint2DDouble
* _result
;
4167 wxPoint2DDouble
* _arg0
;
4168 wxPoint2DDouble
* _arg1
;
4169 wxPoint2DDouble temp
;
4170 PyObject
* _obj0
= 0;
4171 wxPoint2DDouble temp0
;
4172 PyObject
* _obj1
= 0;
4173 char *_kwnames
[] = { "self","pt", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___imul__",_kwnames
,&_obj0
,&_obj1
))
4181 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4186 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___imul__(_arg0
,*_arg1
);
4192 _result
= (wxPoint2DDouble
*) &_result_ref
;
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) return NULL
;
4197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4198 _resultobj
= Py_BuildValue("s",_ptemp
);
4201 _resultobj
= Py_None
;
4206 static wxPoint2DDouble
& wxPoint2DDouble___idiv__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) /= pt
; }
4207 static PyObject
*_wrap_wxPoint2DDouble___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
* _resultobj
;
4209 wxPoint2DDouble
* _result
;
4210 wxPoint2DDouble
* _arg0
;
4211 wxPoint2DDouble
* _arg1
;
4212 wxPoint2DDouble temp
;
4213 PyObject
* _obj0
= 0;
4214 wxPoint2DDouble temp0
;
4215 PyObject
* _obj1
= 0;
4216 char *_kwnames
[] = { "self","pt", NULL
};
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___idiv__",_kwnames
,&_obj0
,&_obj1
))
4224 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4229 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___idiv__(_arg0
,*_arg1
);
4235 _result
= (wxPoint2DDouble
*) &_result_ref
;
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) return NULL
;
4240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4241 _resultobj
= Py_BuildValue("s",_ptemp
);
4244 _resultobj
= Py_None
;
4249 static bool wxPoint2DDouble___eq__(wxPoint2DDouble
*self
,PyObject
* obj
) {
4250 wxPoint2DDouble tmp
;
4251 wxPoint2DDouble
* ptr
= &tmp
;
4252 if (obj
== Py_None
) return FALSE
;
4253 wxPyBLOCK_THREADS(bool success
= wxPoint2DDouble_helper(obj
, &ptr
); PyErr_Clear());
4254 if (! success
) return FALSE
;
4255 return *self
== *ptr
;
4257 static PyObject
*_wrap_wxPoint2DDouble___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
* _resultobj
;
4260 wxPoint2DDouble
* _arg0
;
4262 wxPoint2DDouble temp
;
4263 PyObject
* _obj0
= 0;
4264 PyObject
* _obj1
= 0;
4265 char *_kwnames
[] = { "self","obj", NULL
};
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___eq__",_kwnames
,&_obj0
,&_obj1
))
4272 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 _result
= (bool )wxPoint2DDouble___eq__(_arg0
,_arg1
);
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) return NULL
;
4284 } _resultobj
= Py_BuildValue("i",_result
);
4288 static bool wxPoint2DDouble___ne__(wxPoint2DDouble
*self
,PyObject
* obj
) {
4289 wxPoint2DDouble tmp
;
4290 wxPoint2DDouble
* ptr
= &tmp
;
4291 if (obj
== Py_None
) return TRUE
;
4292 wxPyBLOCK_THREADS(bool success
= wxPoint2DDouble_helper(obj
, &ptr
); PyErr_Clear());
4293 if (! success
) return TRUE
;
4294 return *self
!= *ptr
;
4296 static PyObject
*_wrap_wxPoint2DDouble___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
* _resultobj
;
4299 wxPoint2DDouble
* _arg0
;
4301 wxPoint2DDouble temp
;
4302 PyObject
* _obj0
= 0;
4303 PyObject
* _obj1
= 0;
4304 char *_kwnames
[] = { "self","obj", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___ne__",_kwnames
,&_obj0
,&_obj1
))
4311 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 _result
= (bool )wxPoint2DDouble___ne__(_arg0
,_arg1
);
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) return NULL
;
4323 } _resultobj
= Py_BuildValue("i",_result
);
4327 static PyObject
* wxPoint2DDouble_asTuple(wxPoint2DDouble
*self
) {
4328 wxPyBeginBlockThreads();
4329 PyObject
* tup
= PyTuple_New(2);
4330 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
4331 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
4332 wxPyEndBlockThreads();
4335 static PyObject
*_wrap_wxPoint2DDouble_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4338 wxPoint2DDouble
* _arg0
;
4339 wxPoint2DDouble temp
;
4340 PyObject
* _obj0
= 0;
4341 char *_kwnames
[] = { "self", NULL
};
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_asTuple",_kwnames
,&_obj0
))
4348 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 _result
= (PyObject
*)wxPoint2DDouble_asTuple(_arg0
);
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) return NULL
;
4358 _resultobj
= _result
;
4363 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
4364 wxIndividualLayoutConstraint
*src
;
4366 src
= (wxIndividualLayoutConstraint
*) ptr
;
4367 dest
= (wxObject
*) src
;
4368 return (void *) dest
;
4371 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
4372 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
* _resultobj
;
4374 wxIndividualLayoutConstraint
* _arg0
;
4376 int _arg2
= (int ) 0;
4377 PyObject
* _argo0
= 0;
4378 PyObject
* _argo1
= 0;
4379 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
4392 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4393 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) return NULL
;
4404 } Py_INCREF(Py_None
);
4405 _resultobj
= Py_None
;
4409 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
4410 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
* _resultobj
;
4412 wxIndividualLayoutConstraint
* _arg0
;
4414 PyObject
* _argo0
= 0;
4415 char *_kwnames
[] = { "self","value", NULL
};
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
4421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) return NULL
;
4433 } Py_INCREF(Py_None
);
4434 _resultobj
= Py_None
;
4438 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
4439 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
* _resultobj
;
4441 wxIndividualLayoutConstraint
* _arg0
;
4442 PyObject
* _argo0
= 0;
4443 char *_kwnames
[] = { "self", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 wxIndividualLayoutConstraint_AsIs(_arg0
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) return NULL
;
4461 } Py_INCREF(Py_None
);
4462 _resultobj
= Py_None
;
4466 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
4467 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
* _resultobj
;
4469 wxIndividualLayoutConstraint
* _arg0
;
4471 int _arg2
= (int ) 0;
4472 PyObject
* _argo0
= 0;
4473 PyObject
* _argo1
= 0;
4474 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
4487 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4488 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) return NULL
;
4499 } Py_INCREF(Py_None
);
4500 _resultobj
= Py_None
;
4504 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
4505 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
* _resultobj
;
4507 wxIndividualLayoutConstraint
* _arg0
;
4508 PyObject
* _argo0
= 0;
4509 char *_kwnames
[] = { "self", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) return NULL
;
4527 } Py_INCREF(Py_None
);
4528 _resultobj
= Py_None
;
4532 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
4533 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4535 wxIndividualLayoutConstraint
* _arg0
;
4537 int _arg2
= (int ) 0;
4538 PyObject
* _argo0
= 0;
4539 PyObject
* _argo1
= 0;
4540 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
4553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4561 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) return NULL
;
4565 } Py_INCREF(Py_None
);
4566 _resultobj
= Py_None
;
4570 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
4571 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4573 wxIndividualLayoutConstraint
* _arg0
;
4577 PyObject
* _argo0
= 0;
4578 PyObject
* _argo1
= 0;
4579 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
4592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) return NULL
;
4604 } Py_INCREF(Py_None
);
4605 _resultobj
= Py_None
;
4609 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
4610 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
* _resultobj
;
4612 wxIndividualLayoutConstraint
* _arg0
;
4614 int _arg2
= (int ) 0;
4615 PyObject
* _argo0
= 0;
4616 PyObject
* _argo1
= 0;
4617 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
4630 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) return NULL
;
4642 } Py_INCREF(Py_None
);
4643 _resultobj
= Py_None
;
4647 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
4648 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4650 wxIndividualLayoutConstraint
* _arg0
;
4653 int _arg3
= (int ) 0;
4654 PyObject
* _argo0
= 0;
4655 PyObject
* _argo1
= 0;
4656 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
4669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) return NULL
;
4681 } Py_INCREF(Py_None
);
4682 _resultobj
= Py_None
;
4686 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4687 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4689 wxIndividualLayoutConstraint
* _arg0
;
4690 wxRelationship _arg1
;
4693 int _arg4
= (int ) 0;
4694 int _arg5
= (int ) 0;
4695 PyObject
* _argo0
= 0;
4696 PyObject
* _argo2
= 0;
4697 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
4703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
4710 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) return NULL
;
4722 } Py_INCREF(Py_None
);
4723 _resultobj
= Py_None
;
4727 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
4728 wxLayoutConstraints
*src
;
4730 src
= (wxLayoutConstraints
*) ptr
;
4731 dest
= (wxObject
*) src
;
4732 return (void *) dest
;
4735 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
4736 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
* _resultobj
;
4738 wxLayoutConstraints
* _result
;
4739 char *_kwnames
[] = { NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) return NULL
;
4752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
4753 _resultobj
= Py_BuildValue("s",_ptemp
);
4756 _resultobj
= Py_None
;
4761 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
4762 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4764 wxIndividualLayoutConstraint
* _result
;
4765 wxLayoutConstraints
* _arg0
;
4766 PyObject
* _argo0
= 0;
4767 char *_kwnames
[] = { "self", NULL
};
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
4774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) return NULL
;
4787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4788 _resultobj
= Py_BuildValue("s",_ptemp
);
4791 _resultobj
= Py_None
;
4796 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
4797 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4799 wxIndividualLayoutConstraint
* _result
;
4800 wxLayoutConstraints
* _arg0
;
4801 PyObject
* _argo0
= 0;
4802 char *_kwnames
[] = { "self", NULL
};
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
4809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) return NULL
;
4822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4823 _resultobj
= Py_BuildValue("s",_ptemp
);
4826 _resultobj
= Py_None
;
4831 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
4832 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4834 wxIndividualLayoutConstraint
* _result
;
4835 wxLayoutConstraints
* _arg0
;
4836 PyObject
* _argo0
= 0;
4837 char *_kwnames
[] = { "self", NULL
};
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
4844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) return NULL
;
4857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4858 _resultobj
= Py_BuildValue("s",_ptemp
);
4861 _resultobj
= Py_None
;
4866 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
4867 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4869 wxIndividualLayoutConstraint
* _result
;
4870 wxLayoutConstraints
* _arg0
;
4871 PyObject
* _argo0
= 0;
4872 char *_kwnames
[] = { "self", NULL
};
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
4879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) return NULL
;
4892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4893 _resultobj
= Py_BuildValue("s",_ptemp
);
4896 _resultobj
= Py_None
;
4901 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
4902 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4904 wxIndividualLayoutConstraint
* _result
;
4905 wxLayoutConstraints
* _arg0
;
4906 PyObject
* _argo0
= 0;
4907 char *_kwnames
[] = { "self", NULL
};
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
4914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) return NULL
;
4927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4928 _resultobj
= Py_BuildValue("s",_ptemp
);
4931 _resultobj
= Py_None
;
4936 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
4937 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
* _resultobj
;
4939 wxIndividualLayoutConstraint
* _result
;
4940 wxLayoutConstraints
* _arg0
;
4941 PyObject
* _argo0
= 0;
4942 char *_kwnames
[] = { "self", NULL
};
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
4949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) return NULL
;
4962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4963 _resultobj
= Py_BuildValue("s",_ptemp
);
4966 _resultobj
= Py_None
;
4971 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
4972 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
* _resultobj
;
4974 wxIndividualLayoutConstraint
* _result
;
4975 wxLayoutConstraints
* _arg0
;
4976 PyObject
* _argo0
= 0;
4977 char *_kwnames
[] = { "self", NULL
};
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
4984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) return NULL
;
4997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4998 _resultobj
= Py_BuildValue("s",_ptemp
);
5001 _resultobj
= Py_None
;
5006 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
5007 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
* _resultobj
;
5009 wxIndividualLayoutConstraint
* _result
;
5010 wxLayoutConstraints
* _arg0
;
5011 PyObject
* _argo0
= 0;
5012 char *_kwnames
[] = { "self", NULL
};
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
5019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) return NULL
;
5032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5033 _resultobj
= Py_BuildValue("s",_ptemp
);
5036 _resultobj
= Py_None
;
5041 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
5042 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5044 wxAcceleratorEntry
* _result
;
5045 int _arg0
= (int ) 0;
5046 int _arg1
= (int ) 0;
5047 int _arg2
= (int ) 0;
5048 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5056 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
5058 wxPyEndAllowThreads(__tstate
);
5059 if (PyErr_Occurred()) return NULL
;
5061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
5062 _resultobj
= Py_BuildValue("s",_ptemp
);
5065 _resultobj
= Py_None
;
5070 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
5071 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
* _resultobj
;
5073 wxAcceleratorEntry
* _arg0
;
5074 PyObject
* _argo0
= 0;
5075 char *_kwnames
[] = { "self", NULL
};
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
5081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 delete_wxAcceleratorEntry(_arg0
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) return NULL
;
5093 } Py_INCREF(Py_None
);
5094 _resultobj
= Py_None
;
5098 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
5099 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
* _resultobj
;
5101 wxAcceleratorEntry
* _arg0
;
5105 PyObject
* _argo0
= 0;
5106 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
5109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) return NULL
;
5124 } Py_INCREF(Py_None
);
5125 _resultobj
= Py_None
;
5129 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
5130 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5133 wxAcceleratorEntry
* _arg0
;
5134 PyObject
* _argo0
= 0;
5135 char *_kwnames
[] = { "self", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) return NULL
;
5153 } _resultobj
= Py_BuildValue("i",_result
);
5157 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
5158 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5161 wxAcceleratorEntry
* _arg0
;
5162 PyObject
* _argo0
= 0;
5163 char *_kwnames
[] = { "self", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) return NULL
;
5181 } _resultobj
= Py_BuildValue("i",_result
);
5185 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
5186 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
* _resultobj
;
5189 wxAcceleratorEntry
* _arg0
;
5190 PyObject
* _argo0
= 0;
5191 char *_kwnames
[] = { "self", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5205 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) return NULL
;
5209 } _resultobj
= Py_BuildValue("i",_result
);
5213 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
5214 wxAcceleratorTable
*src
;
5216 src
= (wxAcceleratorTable
*) ptr
;
5217 dest
= (wxObject
*) src
;
5218 return (void *) dest
;
5221 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
5222 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
* _resultobj
;
5224 wxAcceleratorTable
* _result
;
5226 wxAcceleratorEntry
* _arg1
;
5227 PyObject
* _obj1
= 0;
5228 char *_kwnames
[] = { "choices", NULL
};
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
5236 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
5237 if (_arg1
== NULL
) {
5243 _arg0
= PyList_Size(_obj1
);
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) return NULL
;
5256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
5257 _resultobj
= Py_BuildValue("s",_ptemp
);
5260 _resultobj
= Py_None
;
5268 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
5269 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
* _resultobj
;
5271 wxAcceleratorTable
* _arg0
;
5272 PyObject
* _argo0
= 0;
5273 char *_kwnames
[] = { "self", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 delete_wxAcceleratorTable(_arg0
);
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) return NULL
;
5291 } Py_INCREF(Py_None
);
5292 _resultobj
= Py_None
;
5296 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
5299 src
= (wxBusyInfo
*) ptr
;
5300 dest
= (wxObject
*) src
;
5301 return (void *) dest
;
5304 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
5305 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5307 wxBusyInfo
* _result
;
5309 PyObject
* _obj0
= 0;
5310 char *_kwnames
[] = { "message", NULL
};
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
5317 _arg0
= wxString_in_helper(_obj0
);
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) return NULL
;
5328 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
5329 _resultobj
= Py_BuildValue("s",_ptemp
);
5332 _resultobj
= Py_None
;
5341 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
5342 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
* _resultobj
;
5345 PyObject
* _argo0
= 0;
5346 char *_kwnames
[] = { "self", NULL
};
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
5352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 delete_wxBusyInfo(_arg0
);
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) return NULL
;
5364 } Py_INCREF(Py_None
);
5365 _resultobj
= Py_None
;
5369 static PyMethodDef misccMethods
[] = {
5370 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
5371 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
5372 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
5373 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
5374 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
5375 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
5376 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
5377 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
5378 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
5379 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
5380 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5381 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
5382 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
5383 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
5384 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
5385 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
5386 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
5387 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
5388 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
5389 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5390 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
5391 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
5392 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
5393 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
5394 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
5395 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
5396 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
5397 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
5398 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
5399 { "wxPoint2DDouble_asTuple", (PyCFunction
) _wrap_wxPoint2DDouble_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5400 { "wxPoint2DDouble___ne__", (PyCFunction
) _wrap_wxPoint2DDouble___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5401 { "wxPoint2DDouble___eq__", (PyCFunction
) _wrap_wxPoint2DDouble___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5402 { "wxPoint2DDouble___idiv__", (PyCFunction
) _wrap_wxPoint2DDouble___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
5403 { "wxPoint2DDouble___imul__", (PyCFunction
) _wrap_wxPoint2DDouble___imul__
, METH_VARARGS
| METH_KEYWORDS
},
5404 { "wxPoint2DDouble___isub__", (PyCFunction
) _wrap_wxPoint2DDouble___isub__
, METH_VARARGS
| METH_KEYWORDS
},
5405 { "wxPoint2DDouble___iadd__", (PyCFunction
) _wrap_wxPoint2DDouble___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
5406 { "wxPoint2DDouble___neg__", (PyCFunction
) _wrap_wxPoint2DDouble___neg__
, METH_VARARGS
| METH_KEYWORDS
},
5407 { "wxPoint2DDouble_Set", (PyCFunction
) _wrap_wxPoint2DDouble_Set
, METH_VARARGS
| METH_KEYWORDS
},
5408 { "wxPoint2DDouble_GetCrossProduct", (PyCFunction
) _wrap_wxPoint2DDouble_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
5409 { "wxPoint2DDouble_GetDotProduct", (PyCFunction
) _wrap_wxPoint2DDouble_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
5410 { "wxPoint2DDouble_GetDistanceSquare", (PyCFunction
) _wrap_wxPoint2DDouble_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
5411 { "wxPoint2DDouble_GetDistance", (PyCFunction
) _wrap_wxPoint2DDouble_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
5412 { "wxPoint2DDouble_SetVectorAngle", (PyCFunction
) _wrap_wxPoint2DDouble_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
5413 { "wxPoint2DDouble_SetVectorLength", (PyCFunction
) _wrap_wxPoint2DDouble_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
5414 { "wxPoint2DDouble_GetVectorAngle", (PyCFunction
) _wrap_wxPoint2DDouble_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
5415 { "wxPoint2DDouble_GetVectorLength", (PyCFunction
) _wrap_wxPoint2DDouble_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
5416 { "wxPoint2DDouble_GetRounded", (PyCFunction
) _wrap_wxPoint2DDouble_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
5417 { "wxPoint2DDouble_GetFloor", (PyCFunction
) _wrap_wxPoint2DDouble_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
5418 { "new_wxPoint2DDoubleFromPoint", (PyCFunction
) _wrap_new_wxPoint2DDoubleFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
5419 { "new_wxPoint2DDoubleCopy", (PyCFunction
) _wrap_new_wxPoint2DDoubleCopy
, METH_VARARGS
| METH_KEYWORDS
},
5420 { "new_wxPoint2DDouble", (PyCFunction
) _wrap_new_wxPoint2DDouble
, METH_VARARGS
| METH_KEYWORDS
},
5421 { "wxPoint2DDouble_y_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5422 { "wxPoint2DDouble_y_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5423 { "wxPoint2DDouble_x_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5424 { "wxPoint2DDouble_x_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5425 { "wxPoint2DDouble_m_y_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5426 { "wxPoint2DDouble_m_y_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5427 { "wxPoint2DDouble_m_x_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5428 { "wxPoint2DDouble_m_x_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5429 { "wxRect___ne__", (PyCFunction
) _wrap_wxRect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5430 { "wxRect___eq__", (PyCFunction
) _wrap_wxRect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5431 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
5432 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5433 { "wxRect_Set", (PyCFunction
) _wrap_wxRect_Set
, METH_VARARGS
| METH_KEYWORDS
},
5434 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
5435 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
5436 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5437 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
5438 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5439 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5440 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5441 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5442 { "wxRect_Offset", (PyCFunction
) _wrap_wxRect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
5443 { "wxRect_OffsetXY", (PyCFunction
) _wrap_wxRect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
5444 { "wxRect_Intersects", (PyCFunction
) _wrap_wxRect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
5445 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
5446 { "wxRect_InsideXY", (PyCFunction
) _wrap_wxRect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
5447 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
5448 { "wxRect_Deflate", (PyCFunction
) _wrap_wxRect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
5449 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
5450 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
5451 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
5452 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
5453 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
5454 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
5455 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
5456 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
5457 { "wxRect_SetSize", (PyCFunction
) _wrap_wxRect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
5458 { "wxRect_SetPosition", (PyCFunction
) _wrap_wxRect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5459 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
5460 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5461 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5462 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5463 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5464 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5465 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
5466 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5467 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
5468 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5469 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
5470 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
5471 { "wxPoint___ne__", (PyCFunction
) _wrap_wxPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5472 { "wxPoint___eq__", (PyCFunction
) _wrap_wxPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5473 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
5474 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
5475 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5476 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5477 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
5478 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
5479 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5480 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5481 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5482 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5483 { "wxRealPoint___ne__", (PyCFunction
) _wrap_wxRealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5484 { "wxRealPoint___eq__", (PyCFunction
) _wrap_wxRealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5485 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
5486 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
5487 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5488 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5489 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
5490 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
5491 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5492 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5493 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5494 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5495 { "wxSize___ne__", (PyCFunction
) _wrap_wxSize___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5496 { "wxSize___eq__", (PyCFunction
) _wrap_wxSize___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5497 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5498 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5499 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5500 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5501 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5502 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5503 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5504 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
5505 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
5506 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
5507 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5508 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5509 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5510 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5511 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5512 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5513 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5514 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5515 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5516 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
5517 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
5518 { "wxGetProcessId", (PyCFunction
) _wrap_wxGetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
5519 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
5520 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
5521 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
5522 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
5523 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
5524 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
5525 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
5526 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
5527 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
5528 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
5529 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
5530 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
5531 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
5532 { "wxShutdown", (PyCFunction
) _wrap_wxShutdown
, METH_VARARGS
| METH_KEYWORDS
},
5533 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
5534 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
5535 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
5536 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
5537 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
5538 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
5539 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
5540 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
5541 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5542 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
5543 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
5544 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
5545 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
5546 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
5553 * This table is used by the pointer type-checker
5555 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5556 { "_signed_long","_long",0},
5557 { "_wxPrintQuality","_wxCoord",0},
5558 { "_wxPrintQuality","_int",0},
5559 { "_wxPrintQuality","_signed_int",0},
5560 { "_wxPrintQuality","_unsigned_int",0},
5561 { "_wxPrintQuality","_wxWindowID",0},
5562 { "_wxPrintQuality","_uint",0},
5563 { "_wxPrintQuality","_EBool",0},
5564 { "_wxPrintQuality","_size_t",0},
5565 { "_wxPrintQuality","_time_t",0},
5566 { "_byte","_unsigned_char",0},
5567 { "_long","_unsigned_long",0},
5568 { "_long","_signed_long",0},
5569 { "_size_t","_wxCoord",0},
5570 { "_size_t","_wxPrintQuality",0},
5571 { "_size_t","_time_t",0},
5572 { "_size_t","_unsigned_int",0},
5573 { "_size_t","_int",0},
5574 { "_size_t","_wxWindowID",0},
5575 { "_size_t","_uint",0},
5576 { "_uint","_wxCoord",0},
5577 { "_uint","_wxPrintQuality",0},
5578 { "_uint","_time_t",0},
5579 { "_uint","_size_t",0},
5580 { "_uint","_unsigned_int",0},
5581 { "_uint","_int",0},
5582 { "_uint","_wxWindowID",0},
5583 { "_wxChar","_char",0},
5584 { "_char","_wxChar",0},
5585 { "_EBool","_wxCoord",0},
5586 { "_EBool","_wxPrintQuality",0},
5587 { "_EBool","_signed_int",0},
5588 { "_EBool","_int",0},
5589 { "_EBool","_wxWindowID",0},
5590 { "_unsigned_long","_long",0},
5591 { "_signed_int","_wxCoord",0},
5592 { "_signed_int","_wxPrintQuality",0},
5593 { "_signed_int","_EBool",0},
5594 { "_signed_int","_wxWindowID",0},
5595 { "_signed_int","_int",0},
5596 { "_WXTYPE","_short",0},
5597 { "_WXTYPE","_signed_short",0},
5598 { "_WXTYPE","_unsigned_short",0},
5599 { "_unsigned_short","_WXTYPE",0},
5600 { "_unsigned_short","_short",0},
5601 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
5602 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
5603 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
5604 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
5605 { "_signed_short","_WXTYPE",0},
5606 { "_signed_short","_short",0},
5607 { "_unsigned_char","_byte",0},
5608 { "_unsigned_int","_wxCoord",0},
5609 { "_unsigned_int","_wxPrintQuality",0},
5610 { "_unsigned_int","_time_t",0},
5611 { "_unsigned_int","_size_t",0},
5612 { "_unsigned_int","_uint",0},
5613 { "_unsigned_int","_wxWindowID",0},
5614 { "_unsigned_int","_int",0},
5615 { "_short","_WXTYPE",0},
5616 { "_short","_unsigned_short",0},
5617 { "_short","_signed_short",0},
5618 { "_wxWindowID","_wxCoord",0},
5619 { "_wxWindowID","_wxPrintQuality",0},
5620 { "_wxWindowID","_time_t",0},
5621 { "_wxWindowID","_size_t",0},
5622 { "_wxWindowID","_EBool",0},
5623 { "_wxWindowID","_uint",0},
5624 { "_wxWindowID","_int",0},
5625 { "_wxWindowID","_signed_int",0},
5626 { "_wxWindowID","_unsigned_int",0},
5627 { "_int","_wxCoord",0},
5628 { "_int","_wxPrintQuality",0},
5629 { "_int","_time_t",0},
5630 { "_int","_size_t",0},
5631 { "_int","_EBool",0},
5632 { "_int","_uint",0},
5633 { "_int","_wxWindowID",0},
5634 { "_int","_unsigned_int",0},
5635 { "_int","_signed_int",0},
5636 { "_time_t","_wxCoord",0},
5637 { "_time_t","_wxPrintQuality",0},
5638 { "_time_t","_unsigned_int",0},
5639 { "_time_t","_int",0},
5640 { "_time_t","_wxWindowID",0},
5641 { "_time_t","_uint",0},
5642 { "_time_t","_size_t",0},
5643 { "_wxCoord","_int",0},
5644 { "_wxCoord","_signed_int",0},
5645 { "_wxCoord","_unsigned_int",0},
5646 { "_wxCoord","_wxWindowID",0},
5647 { "_wxCoord","_uint",0},
5648 { "_wxCoord","_EBool",0},
5649 { "_wxCoord","_size_t",0},
5650 { "_wxCoord","_time_t",0},
5651 { "_wxCoord","_wxPrintQuality",0},
5654 static PyObject
*SWIG_globals
;
5658 SWIGEXPORT(void) initmiscc() {
5660 SWIG_globals
= SWIG_newvarlink();
5661 m
= Py_InitModule("miscc", misccMethods
);
5662 d
= PyModule_GetDict(m
);
5663 PyDict_SetItemString(d
,"wxSHUTDOWN_POWEROFF", PyInt_FromLong((long) wxSHUTDOWN_POWEROFF
));
5664 PyDict_SetItemString(d
,"wxSHUTDOWN_REBOOT", PyInt_FromLong((long) wxSHUTDOWN_REBOOT
));
5665 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5666 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5667 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5668 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5669 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5670 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5671 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5672 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5673 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5674 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5675 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5676 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5677 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5678 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5679 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5680 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5681 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5682 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5683 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5684 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5685 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5688 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5689 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);