2 * FILE : src/msw/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
273 PyObject
* _resultobj
;
275 char *_kwnames
[] = { NULL
};
278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
282 _result
= (long )wxGetFreeMemory();
284 wxPyEndAllowThreads(__tstate
);
285 if (PyErr_Occurred()) return NULL
;
286 } _resultobj
= Py_BuildValue("l",_result
);
290 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
291 PyObject
* _resultobj
;
296 char *_kwnames
[] = { NULL
};
305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
309 wxGetMousePosition(_arg0
,_arg1
);
311 wxPyEndAllowThreads(__tstate
);
312 if (PyErr_Occurred()) return NULL
;
313 } Py_INCREF(Py_None
);
314 _resultobj
= Py_None
;
317 o
= PyInt_FromLong((long) (*_arg0
));
318 _resultobj
= t_output_helper(_resultobj
, o
);
322 o
= PyInt_FromLong((long) (*_arg1
));
323 _resultobj
= t_output_helper(_resultobj
, o
);
328 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
329 PyObject
* _resultobj
;
331 char *_kwnames
[] = { NULL
};
334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
338 _result
= (bool )wxIsBusy();
340 wxPyEndAllowThreads(__tstate
);
341 if (PyErr_Occurred()) return NULL
;
342 } _resultobj
= Py_BuildValue("i",_result
);
346 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
349 char *_kwnames
[] = { NULL
};
352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
356 _result
= new wxString (wxNow());
358 wxPyEndAllowThreads(__tstate
);
359 if (PyErr_Occurred()) return NULL
;
362 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
364 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
373 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
374 PyObject
* _resultobj
;
376 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
377 PyObject
* _obj0
= 0;
378 char *_kwnames
[] = { "command", NULL
};
381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
385 _arg0
= wxString_in_helper(_obj0
);
390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
391 _result
= (bool )wxShell(*_arg0
);
393 wxPyEndAllowThreads(__tstate
);
394 if (PyErr_Occurred()) return NULL
;
395 } _resultobj
= Py_BuildValue("i",_result
);
403 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
404 PyObject
* _resultobj
;
405 char *_kwnames
[] = { NULL
};
408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
414 wxPyEndAllowThreads(__tstate
);
415 if (PyErr_Occurred()) return NULL
;
416 } Py_INCREF(Py_None
);
417 _resultobj
= Py_None
;
421 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
422 PyObject
* _resultobj
;
428 char *_kwnames
[] = { NULL
};
437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
441 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
443 wxPyEndAllowThreads(__tstate
);
444 if (PyErr_Occurred()) return NULL
;
445 } _resultobj
= Py_BuildValue("i",_result
);
448 o
= PyInt_FromLong((long) (*_arg0
));
449 _resultobj
= t_output_helper(_resultobj
, o
);
453 o
= PyInt_FromLong((long) (*_arg1
));
454 _resultobj
= t_output_helper(_resultobj
, o
);
459 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
460 PyObject
* _resultobj
;
462 char *_kwnames
[] = { NULL
};
465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
469 _result
= new wxString (wxGetOsDescription());
471 wxPyEndAllowThreads(__tstate
);
472 if (PyErr_Occurred()) return NULL
;
475 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
477 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
486 static PyObject
*_wrap_wxShutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
489 wxShutdownFlags _arg0
;
490 char *_kwnames
[] = { "wFlags", NULL
};
493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxShutdown",_kwnames
,&_arg0
))
496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
497 _result
= (bool )wxShutdown(_arg0
);
499 wxPyEndAllowThreads(__tstate
);
500 if (PyErr_Occurred()) return NULL
;
501 } _resultobj
= Py_BuildValue("i",_result
);
505 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
508 char *_kwnames
[] = { "secs", NULL
};
511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
517 wxPyEndAllowThreads(__tstate
);
518 if (PyErr_Occurred()) return NULL
;
519 } Py_INCREF(Py_None
);
520 _resultobj
= Py_None
;
524 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
527 char *_kwnames
[] = { "milliseconds", NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
536 wxPyEndAllowThreads(__tstate
);
537 if (PyErr_Occurred()) return NULL
;
538 } Py_INCREF(Py_None
);
539 _resultobj
= Py_None
;
543 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
544 PyObject
* _resultobj
;
546 char *_kwnames
[] = { NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
553 _result
= (bool )wxYield();
555 wxPyEndAllowThreads(__tstate
);
556 if (PyErr_Occurred()) return NULL
;
557 } _resultobj
= Py_BuildValue("i",_result
);
561 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
562 PyObject
* _resultobj
;
564 char *_kwnames
[] = { NULL
};
567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
571 _result
= (bool )wxYieldIfNeeded();
573 wxPyEndAllowThreads(__tstate
);
574 if (PyErr_Occurred()) return NULL
;
575 } _resultobj
= Py_BuildValue("i",_result
);
579 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
583 char *_kwnames
[] = { "enable", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
588 _arg0
= (bool ) tempbool0
;
590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
591 wxEnableTopLevelWindows(_arg0
);
593 wxPyEndAllowThreads(__tstate
);
594 if (PyErr_Occurred()) return NULL
;
595 } Py_INCREF(Py_None
);
596 _resultobj
= Py_None
;
600 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
601 PyObject
* _resultobj
;
604 PyObject
* _obj0
= 0;
605 char *_kwnames
[] = { "in", NULL
};
608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
611 _arg0
= wxString_in_helper(_obj0
);
616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
617 _result
= new wxString (wxStripMenuCodes(*_arg0
));
619 wxPyEndAllowThreads(__tstate
);
620 if (PyErr_Occurred()) return NULL
;
623 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
625 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
638 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
639 PyObject
* _resultobj
;
641 char *_kwnames
[] = { NULL
};
644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
648 _result
= new wxString (wxGetEmailAddress());
650 wxPyEndAllowThreads(__tstate
);
651 if (PyErr_Occurred()) return NULL
;
654 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
656 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
665 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
668 char *_kwnames
[] = { NULL
};
671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
675 _result
= new wxString (wxGetHostName());
677 wxPyEndAllowThreads(__tstate
);
678 if (PyErr_Occurred()) return NULL
;
681 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
683 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
692 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
693 PyObject
* _resultobj
;
695 char *_kwnames
[] = { NULL
};
698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
702 _result
= new wxString (wxGetFullHostName());
704 wxPyEndAllowThreads(__tstate
);
705 if (PyErr_Occurred()) return NULL
;
708 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
710 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
719 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
720 PyObject
* _resultobj
;
722 char *_kwnames
[] = { NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
729 _result
= new wxString (wxGetUserId());
731 wxPyEndAllowThreads(__tstate
);
732 if (PyErr_Occurred()) return NULL
;
735 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
737 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
746 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
747 PyObject
* _resultobj
;
749 char *_kwnames
[] = { NULL
};
752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
756 _result
= new wxString (wxGetUserName());
758 wxPyEndAllowThreads(__tstate
);
759 if (PyErr_Occurred()) return NULL
;
762 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
764 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
773 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
774 PyObject
* _resultobj
;
776 char *_kwnames
[] = { NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
783 _result
= new wxString (wxGetHomeDir());
785 wxPyEndAllowThreads(__tstate
);
786 if (PyErr_Occurred()) return NULL
;
789 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
791 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
800 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
801 PyObject
* _resultobj
;
803 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
804 PyObject
* _obj0
= 0;
805 char *_kwnames
[] = { "user", NULL
};
808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxGetUserHome",_kwnames
,&_obj0
))
812 _arg0
= wxString_in_helper(_obj0
);
817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
818 _result
= new wxString (wxGetUserHome(*_arg0
));
820 wxPyEndAllowThreads(__tstate
);
821 if (PyErr_Occurred()) return NULL
;
824 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
826 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
839 static PyObject
*_wrap_wxGetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
840 PyObject
* _resultobj
;
841 unsigned long _result
;
842 char *_kwnames
[] = { NULL
};
845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetProcessId",_kwnames
))
848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
849 _result
= (unsigned long )wxGetProcessId();
851 wxPyEndAllowThreads(__tstate
);
852 if (PyErr_Occurred()) return NULL
;
853 } _resultobj
= Py_BuildValue("l",_result
);
857 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
859 wxAcceleratorEntry
* _result
;
861 PyObject
* _obj0
= 0;
862 char *_kwnames
[] = { "label", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
869 _arg0
= wxString_in_helper(_obj0
);
874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
875 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
877 wxPyEndAllowThreads(__tstate
);
878 if (PyErr_Occurred()) return NULL
;
880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
881 _resultobj
= Py_BuildValue("s",_ptemp
);
884 _resultobj
= Py_None
;
893 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
895 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
899 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
903 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
904 pyobj
= PyString_FromString(ptemp
);
908 static wxString
wxObject_GetClassName(wxObject
*self
) {
909 return self
->GetClassInfo()->GetClassName();
911 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
915 PyObject
* _argo0
= 0;
916 char *_kwnames
[] = { "self", NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
930 _result
= new wxString (wxObject_GetClassName(_arg0
));
932 wxPyEndAllowThreads(__tstate
);
933 if (PyErr_Occurred()) return NULL
;
936 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
938 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
947 static void wxObject_Destroy(wxObject
*self
) {
950 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
951 PyObject
* _resultobj
;
953 PyObject
* _argo0
= 0;
954 char *_kwnames
[] = { "self", NULL
};
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 wxObject_Destroy(_arg0
);
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) return NULL
;
972 } Py_INCREF(Py_None
);
973 _resultobj
= Py_None
;
977 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
978 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
984 PyObject
* _obj0
= 0;
985 char *_kwnames
[] = { "self","x", NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
992 if (! wxSize_helper(_obj0
, &_arg0
))
996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
997 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
999 wxPyEndAllowThreads(__tstate
);
1000 if (PyErr_Occurred()) return NULL
;
1001 } _resultobj
= Py_BuildValue("l",_result
);
1005 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1006 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1011 PyObject
* _obj0
= 0;
1012 char *_kwnames
[] = { "self", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1019 if (! wxSize_helper(_obj0
, &_arg0
))
1023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1024 _result
= (long )wxSize_x_get(_arg0
);
1026 wxPyEndAllowThreads(__tstate
);
1027 if (PyErr_Occurred()) return NULL
;
1028 } _resultobj
= Py_BuildValue("l",_result
);
1032 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1033 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
* _resultobj
;
1039 PyObject
* _obj0
= 0;
1040 char *_kwnames
[] = { "self","y", NULL
};
1043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1047 if (! wxSize_helper(_obj0
, &_arg0
))
1051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1052 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1054 wxPyEndAllowThreads(__tstate
);
1055 if (PyErr_Occurred()) return NULL
;
1056 } _resultobj
= Py_BuildValue("l",_result
);
1060 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1061 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1066 PyObject
* _obj0
= 0;
1067 char *_kwnames
[] = { "self", NULL
};
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1074 if (! wxSize_helper(_obj0
, &_arg0
))
1078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1079 _result
= (long )wxSize_y_get(_arg0
);
1081 wxPyEndAllowThreads(__tstate
);
1082 if (PyErr_Occurred()) return NULL
;
1083 } _resultobj
= Py_BuildValue("l",_result
);
1087 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1088 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
* _resultobj
;
1091 long _arg0
= (long ) 0;
1092 long _arg1
= (long ) 0;
1093 char *_kwnames
[] = { "w","h", NULL
};
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) return NULL
;
1106 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1107 _resultobj
= Py_BuildValue("s",_ptemp
);
1110 _resultobj
= Py_None
;
1115 #define delete_wxSize(_swigobj) (delete _swigobj)
1116 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1120 PyObject
* _obj0
= 0;
1121 char *_kwnames
[] = { "self", NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1128 if (! wxSize_helper(_obj0
, &_arg0
))
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 delete_wxSize(_arg0
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) return NULL
;
1137 } Py_INCREF(Py_None
);
1138 _resultobj
= Py_None
;
1142 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1143 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
* _resultobj
;
1149 PyObject
* _obj0
= 0;
1150 char *_kwnames
[] = { "self","w","h", NULL
};
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1157 if (! wxSize_helper(_obj0
, &_arg0
))
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 wxSize_Set(_arg0
,_arg1
,_arg2
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) return NULL
;
1166 } Py_INCREF(Py_None
);
1167 _resultobj
= Py_None
;
1171 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1172 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1177 PyObject
* _obj0
= 0;
1178 char *_kwnames
[] = { "self", NULL
};
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1185 if (! wxSize_helper(_obj0
, &_arg0
))
1189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1190 _result
= (long )wxSize_GetX(_arg0
);
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) return NULL
;
1194 } _resultobj
= Py_BuildValue("l",_result
);
1198 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1199 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1204 PyObject
* _obj0
= 0;
1205 char *_kwnames
[] = { "self", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1212 if (! wxSize_helper(_obj0
, &_arg0
))
1216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1217 _result
= (long )wxSize_GetY(_arg0
);
1219 wxPyEndAllowThreads(__tstate
);
1220 if (PyErr_Occurred()) return NULL
;
1221 } _resultobj
= Py_BuildValue("l",_result
);
1225 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1226 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1227 PyObject
* _resultobj
;
1231 PyObject
* _obj0
= 0;
1232 char *_kwnames
[] = { "self", NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1239 if (! wxSize_helper(_obj0
, &_arg0
))
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 _result
= (long )wxSize_GetWidth(_arg0
);
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) return NULL
;
1248 } _resultobj
= Py_BuildValue("l",_result
);
1252 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1253 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1254 PyObject
* _resultobj
;
1258 PyObject
* _obj0
= 0;
1259 char *_kwnames
[] = { "self", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1266 if (! wxSize_helper(_obj0
, &_arg0
))
1270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1271 _result
= (long )wxSize_GetHeight(_arg0
);
1273 wxPyEndAllowThreads(__tstate
);
1274 if (PyErr_Occurred()) return NULL
;
1275 } _resultobj
= Py_BuildValue("l",_result
);
1279 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1280 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
* _resultobj
;
1285 PyObject
* _obj0
= 0;
1286 char *_kwnames
[] = { "self","w", NULL
};
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1293 if (! wxSize_helper(_obj0
, &_arg0
))
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1298 wxSize_SetWidth(_arg0
,_arg1
);
1300 wxPyEndAllowThreads(__tstate
);
1301 if (PyErr_Occurred()) return NULL
;
1302 } Py_INCREF(Py_None
);
1303 _resultobj
= Py_None
;
1307 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1308 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
* _resultobj
;
1313 PyObject
* _obj0
= 0;
1314 char *_kwnames
[] = { "self","h", NULL
};
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1321 if (! wxSize_helper(_obj0
, &_arg0
))
1325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1326 wxSize_SetHeight(_arg0
,_arg1
);
1328 wxPyEndAllowThreads(__tstate
);
1329 if (PyErr_Occurred()) return NULL
;
1330 } Py_INCREF(Py_None
);
1331 _resultobj
= Py_None
;
1335 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1336 wxPyBeginBlockThreads();
1337 PyObject
* tup
= PyTuple_New(2);
1338 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1339 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1340 wxPyEndBlockThreads();
1343 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1348 PyObject
* _obj0
= 0;
1349 char *_kwnames
[] = { "self", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1356 if (! wxSize_helper(_obj0
, &_arg0
))
1360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1361 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1363 wxPyEndAllowThreads(__tstate
);
1364 if (PyErr_Occurred()) return NULL
;
1366 _resultobj
= _result
;
1371 static bool wxSize___eq__(wxSize
*self
,PyObject
* obj
) {
1374 if (obj
== Py_None
) return FALSE
;
1375 wxPyBLOCK_THREADS(bool success
= wxSize_helper(obj
, &ptr
); PyErr_Clear());
1376 if (! success
) return FALSE
;
1377 return *self
== *ptr
;
1379 static PyObject
*_wrap_wxSize___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
* _resultobj
;
1385 PyObject
* _obj0
= 0;
1386 PyObject
* _obj1
= 0;
1387 char *_kwnames
[] = { "self","obj", NULL
};
1390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___eq__",_kwnames
,&_obj0
,&_obj1
))
1394 if (! wxSize_helper(_obj0
, &_arg0
))
1401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1402 _result
= (bool )wxSize___eq__(_arg0
,_arg1
);
1404 wxPyEndAllowThreads(__tstate
);
1405 if (PyErr_Occurred()) return NULL
;
1406 } _resultobj
= Py_BuildValue("i",_result
);
1410 static bool wxSize___ne__(wxSize
*self
,PyObject
* obj
) {
1413 if (obj
== Py_None
) return TRUE
;
1414 wxPyBLOCK_THREADS(bool success
= wxSize_helper(obj
, &ptr
); PyErr_Clear());
1415 if (! success
) return TRUE
;
1416 return *self
!= *ptr
;
1418 static PyObject
*_wrap_wxSize___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1424 PyObject
* _obj0
= 0;
1425 PyObject
* _obj1
= 0;
1426 char *_kwnames
[] = { "self","obj", NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___ne__",_kwnames
,&_obj0
,&_obj1
))
1433 if (! wxSize_helper(_obj0
, &_arg0
))
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 _result
= (bool )wxSize___ne__(_arg0
,_arg1
);
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) return NULL
;
1445 } _resultobj
= Py_BuildValue("i",_result
);
1449 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1450 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1453 wxRealPoint
* _arg0
;
1456 PyObject
* _obj0
= 0;
1457 char *_kwnames
[] = { "self","x", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1464 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1469 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1471 wxPyEndAllowThreads(__tstate
);
1472 if (PyErr_Occurred()) return NULL
;
1473 } _resultobj
= Py_BuildValue("d",_result
);
1477 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1478 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1481 wxRealPoint
* _arg0
;
1483 PyObject
* _obj0
= 0;
1484 char *_kwnames
[] = { "self", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1491 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 _result
= (double )wxRealPoint_x_get(_arg0
);
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) return NULL
;
1500 } _resultobj
= Py_BuildValue("d",_result
);
1504 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1505 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1508 wxRealPoint
* _arg0
;
1511 PyObject
* _obj0
= 0;
1512 char *_kwnames
[] = { "self","y", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1519 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) return NULL
;
1528 } _resultobj
= Py_BuildValue("d",_result
);
1532 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1533 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1536 wxRealPoint
* _arg0
;
1538 PyObject
* _obj0
= 0;
1539 char *_kwnames
[] = { "self", NULL
};
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1546 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1551 _result
= (double )wxRealPoint_y_get(_arg0
);
1553 wxPyEndAllowThreads(__tstate
);
1554 if (PyErr_Occurred()) return NULL
;
1555 } _resultobj
= Py_BuildValue("d",_result
);
1559 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1560 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1562 wxRealPoint
* _result
;
1563 double _arg0
= (double ) 0.0;
1564 double _arg1
= (double ) 0.0;
1565 char *_kwnames
[] = { "x","y", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1573 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1575 wxPyEndAllowThreads(__tstate
);
1576 if (PyErr_Occurred()) return NULL
;
1578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1579 _resultobj
= Py_BuildValue("s",_ptemp
);
1582 _resultobj
= Py_None
;
1587 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1588 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1590 wxRealPoint
* _arg0
;
1592 PyObject
* _obj0
= 0;
1593 char *_kwnames
[] = { "self", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1600 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1605 delete_wxRealPoint(_arg0
);
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) return NULL
;
1609 } Py_INCREF(Py_None
);
1610 _resultobj
= Py_None
;
1614 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1618 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
* _resultobj
;
1620 wxRealPoint
* _arg0
;
1624 PyObject
* _obj0
= 0;
1625 char *_kwnames
[] = { "self","x","y", NULL
};
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1632 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) return NULL
;
1641 } Py_INCREF(Py_None
);
1642 _resultobj
= Py_None
;
1646 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1647 wxPyBeginBlockThreads();
1648 PyObject
* tup
= PyTuple_New(2);
1649 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1650 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1651 wxPyEndBlockThreads();
1654 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1657 wxRealPoint
* _arg0
;
1659 PyObject
* _obj0
= 0;
1660 char *_kwnames
[] = { "self", NULL
};
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1667 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1672 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1674 wxPyEndAllowThreads(__tstate
);
1675 if (PyErr_Occurred()) return NULL
;
1677 _resultobj
= _result
;
1682 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
& p
) {
1685 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
* _resultobj
;
1687 wxRealPoint
* _result
;
1688 wxRealPoint
* _arg0
;
1689 wxRealPoint
* _arg1
;
1691 PyObject
* _obj0
= 0;
1693 PyObject
* _obj1
= 0;
1694 char *_kwnames
[] = { "self","p", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1702 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1707 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,*_arg1
));
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) return NULL
;
1716 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1717 _resultobj
= Py_BuildValue("s",_ptemp
);
1721 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
& p
) {
1724 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
* _resultobj
;
1726 wxRealPoint
* _result
;
1727 wxRealPoint
* _arg0
;
1728 wxRealPoint
* _arg1
;
1730 PyObject
* _obj0
= 0;
1732 PyObject
* _obj1
= 0;
1733 char *_kwnames
[] = { "self","p", NULL
};
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1741 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1746 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,*_arg1
));
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) return NULL
;
1755 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1756 _resultobj
= Py_BuildValue("s",_ptemp
);
1760 static bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
* obj
) {
1762 wxRealPoint
* ptr
= &tmp
;
1763 if (obj
== Py_None
) return FALSE
;
1764 wxPyBLOCK_THREADS(bool success
= wxRealPoint_helper(obj
, &ptr
); PyErr_Clear());
1765 if (! success
) return FALSE
;
1766 return *self
== *ptr
;
1768 static PyObject
*_wrap_wxRealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1771 wxRealPoint
* _arg0
;
1774 PyObject
* _obj0
= 0;
1775 PyObject
* _obj1
= 0;
1776 char *_kwnames
[] = { "self","obj", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___eq__",_kwnames
,&_obj0
,&_obj1
))
1783 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 _result
= (bool )wxRealPoint___eq__(_arg0
,_arg1
);
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) return NULL
;
1795 } _resultobj
= Py_BuildValue("i",_result
);
1799 static bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
* obj
) {
1801 wxRealPoint
* ptr
= &tmp
;
1802 if (obj
== Py_None
) return TRUE
;
1803 wxPyBLOCK_THREADS(bool success
= wxRealPoint_helper(obj
, &ptr
); PyErr_Clear());
1804 if (! success
) return TRUE
;
1805 return *self
!= *ptr
;
1807 static PyObject
*_wrap_wxRealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1810 wxRealPoint
* _arg0
;
1813 PyObject
* _obj0
= 0;
1814 PyObject
* _obj1
= 0;
1815 char *_kwnames
[] = { "self","obj", NULL
};
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___ne__",_kwnames
,&_obj0
,&_obj1
))
1822 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 _result
= (bool )wxRealPoint___ne__(_arg0
,_arg1
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) return NULL
;
1834 } _resultobj
= Py_BuildValue("i",_result
);
1838 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1839 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1845 PyObject
* _obj0
= 0;
1846 char *_kwnames
[] = { "self","x", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1853 if (! wxPoint_helper(_obj0
, &_arg0
))
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) return NULL
;
1862 } _resultobj
= Py_BuildValue("l",_result
);
1866 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1867 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
* _resultobj
;
1872 PyObject
* _obj0
= 0;
1873 char *_kwnames
[] = { "self", NULL
};
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1880 if (! wxPoint_helper(_obj0
, &_arg0
))
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 _result
= (long )wxPoint_x_get(_arg0
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) return NULL
;
1889 } _resultobj
= Py_BuildValue("l",_result
);
1893 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1894 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1900 PyObject
* _obj0
= 0;
1901 char *_kwnames
[] = { "self","y", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1908 if (! wxPoint_helper(_obj0
, &_arg0
))
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) return NULL
;
1917 } _resultobj
= Py_BuildValue("l",_result
);
1921 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1922 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1927 PyObject
* _obj0
= 0;
1928 char *_kwnames
[] = { "self", NULL
};
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1935 if (! wxPoint_helper(_obj0
, &_arg0
))
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 _result
= (long )wxPoint_y_get(_arg0
);
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) return NULL
;
1944 } _resultobj
= Py_BuildValue("l",_result
);
1948 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
1949 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1952 long _arg0
= (long ) 0;
1953 long _arg1
= (long ) 0;
1954 char *_kwnames
[] = { "x","y", NULL
};
1958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) return NULL
;
1967 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
1968 _resultobj
= Py_BuildValue("s",_ptemp
);
1971 _resultobj
= Py_None
;
1976 #define delete_wxPoint(_swigobj) (delete _swigobj)
1977 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
* _resultobj
;
1981 PyObject
* _obj0
= 0;
1982 char *_kwnames
[] = { "self", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
1989 if (! wxPoint_helper(_obj0
, &_arg0
))
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 delete_wxPoint(_arg0
);
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) return NULL
;
1998 } Py_INCREF(Py_None
);
1999 _resultobj
= Py_None
;
2003 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
2007 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2013 PyObject
* _obj0
= 0;
2014 char *_kwnames
[] = { "self","x","y", NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2021 if (! wxPoint_helper(_obj0
, &_arg0
))
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) return NULL
;
2030 } Py_INCREF(Py_None
);
2031 _resultobj
= Py_None
;
2035 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2036 wxPyBeginBlockThreads();
2037 PyObject
* tup
= PyTuple_New(2);
2038 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2039 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2040 wxPyEndBlockThreads();
2043 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2048 PyObject
* _obj0
= 0;
2049 char *_kwnames
[] = { "self", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2056 if (! wxPoint_helper(_obj0
, &_arg0
))
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) return NULL
;
2066 _resultobj
= _result
;
2071 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
& p
) {
2074 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2080 PyObject
* _obj0
= 0;
2082 PyObject
* _obj1
= 0;
2083 char *_kwnames
[] = { "self","p", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2091 if (! wxPoint_helper(_obj0
, &_arg0
))
2096 if (! wxPoint_helper(_obj1
, &_arg1
))
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 _result
= new wxPoint (wxPoint___add__(_arg0
,*_arg1
));
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) return NULL
;
2105 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2106 _resultobj
= Py_BuildValue("s",_ptemp
);
2110 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
& p
) {
2113 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
* _resultobj
;
2119 PyObject
* _obj0
= 0;
2121 PyObject
* _obj1
= 0;
2122 char *_kwnames
[] = { "self","p", NULL
};
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2130 if (! wxPoint_helper(_obj0
, &_arg0
))
2135 if (! wxPoint_helper(_obj1
, &_arg1
))
2139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 _result
= new wxPoint (wxPoint___sub__(_arg0
,*_arg1
));
2142 wxPyEndAllowThreads(__tstate
);
2143 if (PyErr_Occurred()) return NULL
;
2144 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2145 _resultobj
= Py_BuildValue("s",_ptemp
);
2149 static bool wxPoint___eq__(wxPoint
*self
,PyObject
* obj
) {
2151 wxPoint
* ptr
= &tmp
;
2152 if (obj
== Py_None
) return FALSE
;
2153 wxPyBLOCK_THREADS(bool success
= wxPoint_helper(obj
, &ptr
); PyErr_Clear());
2154 if (! success
) return FALSE
;
2155 return *self
== *ptr
;
2157 static PyObject
*_wrap_wxPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
* _resultobj
;
2163 PyObject
* _obj0
= 0;
2164 PyObject
* _obj1
= 0;
2165 char *_kwnames
[] = { "self","obj", NULL
};
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___eq__",_kwnames
,&_obj0
,&_obj1
))
2172 if (! wxPoint_helper(_obj0
, &_arg0
))
2179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2180 _result
= (bool )wxPoint___eq__(_arg0
,_arg1
);
2182 wxPyEndAllowThreads(__tstate
);
2183 if (PyErr_Occurred()) return NULL
;
2184 } _resultobj
= Py_BuildValue("i",_result
);
2188 static bool wxPoint___ne__(wxPoint
*self
,PyObject
* obj
) {
2190 wxPoint
* ptr
= &tmp
;
2191 if (obj
== Py_None
) return TRUE
;
2192 wxPyBLOCK_THREADS(bool success
= wxPoint_helper(obj
, &ptr
); PyErr_Clear());
2193 if (! success
) return TRUE
;
2194 return *self
!= *ptr
;
2196 static PyObject
*_wrap_wxPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2202 PyObject
* _obj0
= 0;
2203 PyObject
* _obj1
= 0;
2204 char *_kwnames
[] = { "self","obj", NULL
};
2207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___ne__",_kwnames
,&_obj0
,&_obj1
))
2211 if (! wxPoint_helper(_obj0
, &_arg0
))
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 _result
= (bool )wxPoint___ne__(_arg0
,_arg1
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) return NULL
;
2223 } _resultobj
= Py_BuildValue("i",_result
);
2227 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2228 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
* _resultobj
;
2231 int _arg0
= (int ) 0;
2232 int _arg1
= (int ) 0;
2233 int _arg2
= (int ) 0;
2234 int _arg3
= (int ) 0;
2235 char *_kwnames
[] = { "x","y","width","height", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) return NULL
;
2248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2249 _resultobj
= Py_BuildValue("s",_ptemp
);
2252 _resultobj
= Py_None
;
2257 #define delete_wxRect(_swigobj) (delete _swigobj)
2258 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
* _resultobj
;
2262 PyObject
* _obj0
= 0;
2263 char *_kwnames
[] = { "self", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2270 if (! wxRect_helper(_obj0
, &_arg0
))
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 delete_wxRect(_arg0
);
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) return NULL
;
2279 } Py_INCREF(Py_None
);
2280 _resultobj
= Py_None
;
2284 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2285 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2290 PyObject
* _obj0
= 0;
2291 char *_kwnames
[] = { "self", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2298 if (! wxRect_helper(_obj0
, &_arg0
))
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 _result
= (int )wxRect_GetX(_arg0
);
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) return NULL
;
2307 } _resultobj
= Py_BuildValue("i",_result
);
2311 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2312 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
* _resultobj
;
2317 PyObject
* _obj0
= 0;
2318 char *_kwnames
[] = { "self","X", NULL
};
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2325 if (! wxRect_helper(_obj0
, &_arg0
))
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 wxRect_SetX(_arg0
,_arg1
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) return NULL
;
2334 } Py_INCREF(Py_None
);
2335 _resultobj
= Py_None
;
2339 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2340 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
* _resultobj
;
2345 PyObject
* _obj0
= 0;
2346 char *_kwnames
[] = { "self", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2353 if (! wxRect_helper(_obj0
, &_arg0
))
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 _result
= (int )wxRect_GetY(_arg0
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) return NULL
;
2362 } _resultobj
= Py_BuildValue("i",_result
);
2366 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2367 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2372 PyObject
* _obj0
= 0;
2373 char *_kwnames
[] = { "self","Y", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2380 if (! wxRect_helper(_obj0
, &_arg0
))
2384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 wxRect_SetY(_arg0
,_arg1
);
2387 wxPyEndAllowThreads(__tstate
);
2388 if (PyErr_Occurred()) return NULL
;
2389 } Py_INCREF(Py_None
);
2390 _resultobj
= Py_None
;
2394 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2395 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
* _resultobj
;
2400 PyObject
* _obj0
= 0;
2401 char *_kwnames
[] = { "self", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2408 if (! wxRect_helper(_obj0
, &_arg0
))
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 _result
= (int )wxRect_GetWidth(_arg0
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) return NULL
;
2417 } _resultobj
= Py_BuildValue("i",_result
);
2421 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2422 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
* _resultobj
;
2427 PyObject
* _obj0
= 0;
2428 char *_kwnames
[] = { "self","w", NULL
};
2431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2435 if (! wxRect_helper(_obj0
, &_arg0
))
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 wxRect_SetWidth(_arg0
,_arg1
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) return NULL
;
2444 } Py_INCREF(Py_None
);
2445 _resultobj
= Py_None
;
2449 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2450 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
* _resultobj
;
2455 PyObject
* _obj0
= 0;
2456 char *_kwnames
[] = { "self", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2463 if (! wxRect_helper(_obj0
, &_arg0
))
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 _result
= (int )wxRect_GetHeight(_arg0
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) return NULL
;
2472 } _resultobj
= Py_BuildValue("i",_result
);
2476 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2477 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2478 PyObject
* _resultobj
;
2482 PyObject
* _obj0
= 0;
2483 char *_kwnames
[] = { "self","h", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2490 if (! wxRect_helper(_obj0
, &_arg0
))
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 wxRect_SetHeight(_arg0
,_arg1
);
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) return NULL
;
2499 } Py_INCREF(Py_None
);
2500 _resultobj
= Py_None
;
2504 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2505 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
* _resultobj
;
2510 PyObject
* _obj0
= 0;
2511 char *_kwnames
[] = { "self", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2519 if (! wxRect_helper(_obj0
, &_arg0
))
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) return NULL
;
2528 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2529 _resultobj
= Py_BuildValue("s",_ptemp
);
2533 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2534 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2539 PyObject
* _obj0
= 0;
2540 char *_kwnames
[] = { "self", NULL
};
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2548 if (! wxRect_helper(_obj0
, &_arg0
))
2552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2553 _result
= new wxSize (wxRect_GetSize(_arg0
));
2555 wxPyEndAllowThreads(__tstate
);
2556 if (PyErr_Occurred()) return NULL
;
2557 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2558 _resultobj
= Py_BuildValue("s",_ptemp
);
2562 #define wxRect_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2563 static PyObject
*_wrap_wxRect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2568 PyObject
* _obj0
= 0;
2570 PyObject
* _obj1
= 0;
2571 char *_kwnames
[] = { "self","p", NULL
};
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetPosition",_kwnames
,&_obj0
,&_obj1
))
2578 if (! wxRect_helper(_obj0
, &_arg0
))
2583 if (! wxPoint_helper(_obj1
, &_arg1
))
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 wxRect_SetPosition(_arg0
,*_arg1
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) return NULL
;
2592 } Py_INCREF(Py_None
);
2593 _resultobj
= Py_None
;
2597 #define wxRect_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2598 static PyObject
*_wrap_wxRect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2603 PyObject
* _obj0
= 0;
2605 PyObject
* _obj1
= 0;
2606 char *_kwnames
[] = { "self","s", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetSize",_kwnames
,&_obj0
,&_obj1
))
2613 if (! wxRect_helper(_obj0
, &_arg0
))
2618 if (! wxSize_helper(_obj1
, &_arg1
))
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 wxRect_SetSize(_arg0
,*_arg1
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) return NULL
;
2627 } Py_INCREF(Py_None
);
2628 _resultobj
= Py_None
;
2632 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2633 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
* _resultobj
;
2638 PyObject
* _obj0
= 0;
2639 char *_kwnames
[] = { "self", NULL
};
2642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2646 if (! wxRect_helper(_obj0
, &_arg0
))
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 _result
= (int )wxRect_GetLeft(_arg0
);
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) return NULL
;
2655 } _resultobj
= Py_BuildValue("i",_result
);
2659 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2660 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2665 PyObject
* _obj0
= 0;
2666 char *_kwnames
[] = { "self", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2673 if (! wxRect_helper(_obj0
, &_arg0
))
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 _result
= (int )wxRect_GetTop(_arg0
);
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) return NULL
;
2682 } _resultobj
= Py_BuildValue("i",_result
);
2686 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2687 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2692 PyObject
* _obj0
= 0;
2693 char *_kwnames
[] = { "self", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2700 if (! wxRect_helper(_obj0
, &_arg0
))
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 _result
= (int )wxRect_GetBottom(_arg0
);
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) return NULL
;
2709 } _resultobj
= Py_BuildValue("i",_result
);
2713 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2714 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
* _resultobj
;
2719 PyObject
* _obj0
= 0;
2720 char *_kwnames
[] = { "self", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2727 if (! wxRect_helper(_obj0
, &_arg0
))
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 _result
= (int )wxRect_GetRight(_arg0
);
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) return NULL
;
2736 } _resultobj
= Py_BuildValue("i",_result
);
2740 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2741 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2746 PyObject
* _obj0
= 0;
2747 char *_kwnames
[] = { "self","left", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2754 if (! wxRect_helper(_obj0
, &_arg0
))
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 wxRect_SetLeft(_arg0
,_arg1
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) return NULL
;
2763 } Py_INCREF(Py_None
);
2764 _resultobj
= Py_None
;
2768 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2769 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2774 PyObject
* _obj0
= 0;
2775 char *_kwnames
[] = { "self","right", NULL
};
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2782 if (! wxRect_helper(_obj0
, &_arg0
))
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 wxRect_SetRight(_arg0
,_arg1
);
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2791 } Py_INCREF(Py_None
);
2792 _resultobj
= Py_None
;
2796 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2797 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2802 PyObject
* _obj0
= 0;
2803 char *_kwnames
[] = { "self","top", NULL
};
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2810 if (! wxRect_helper(_obj0
, &_arg0
))
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 wxRect_SetTop(_arg0
,_arg1
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) return NULL
;
2819 } Py_INCREF(Py_None
);
2820 _resultobj
= Py_None
;
2824 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2825 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2830 PyObject
* _obj0
= 0;
2831 char *_kwnames
[] = { "self","bottom", NULL
};
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2838 if (! wxRect_helper(_obj0
, &_arg0
))
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 wxRect_SetBottom(_arg0
,_arg1
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) return NULL
;
2847 } Py_INCREF(Py_None
);
2848 _resultobj
= Py_None
;
2852 #define wxRect_Deflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Deflate(_swigarg0,_swigarg1))
2853 static PyObject
*_wrap_wxRect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2859 PyObject
* _obj0
= 0;
2860 char *_kwnames
[] = { "self","dx","dy", NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Deflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2867 if (! wxRect_helper(_obj0
, &_arg0
))
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 wxRect_Deflate(_arg0
,_arg1
,_arg2
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) return NULL
;
2876 } Py_INCREF(Py_None
);
2877 _resultobj
= Py_None
;
2881 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2882 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
* _resultobj
;
2888 PyObject
* _obj0
= 0;
2889 char *_kwnames
[] = { "self","dx","dy", NULL
};
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2896 if (! wxRect_helper(_obj0
, &_arg0
))
2900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2901 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2903 wxPyEndAllowThreads(__tstate
);
2904 if (PyErr_Occurred()) return NULL
;
2905 } Py_INCREF(Py_None
);
2906 _resultobj
= Py_None
;
2910 #define wxRect_InsideXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2911 static PyObject
*_wrap_wxRect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
* _resultobj
;
2918 PyObject
* _obj0
= 0;
2919 char *_kwnames
[] = { "self","cx","cy", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_InsideXY",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2926 if (! wxRect_helper(_obj0
, &_arg0
))
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 _result
= (bool )wxRect_InsideXY(_arg0
,_arg1
,_arg2
);
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) return NULL
;
2935 } _resultobj
= Py_BuildValue("i",_result
);
2939 #define wxRect_Inside(_swigobj,_swigarg0) (_swigobj->Inside(_swigarg0))
2940 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2946 PyObject
* _obj0
= 0;
2948 PyObject
* _obj1
= 0;
2949 char *_kwnames
[] = { "self","pt", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Inside",_kwnames
,&_obj0
,&_obj1
))
2956 if (! wxRect_helper(_obj0
, &_arg0
))
2961 if (! wxPoint_helper(_obj1
, &_arg1
))
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 _result
= (bool )wxRect_Inside(_arg0
,*_arg1
);
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) return NULL
;
2970 } _resultobj
= Py_BuildValue("i",_result
);
2974 #define wxRect_Intersects(_swigobj,_swigarg0) (_swigobj->Intersects(_swigarg0))
2975 static PyObject
*_wrap_wxRect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2981 PyObject
* _obj0
= 0;
2983 PyObject
* _obj1
= 0;
2984 char *_kwnames
[] = { "self","rect", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Intersects",_kwnames
,&_obj0
,&_obj1
))
2991 if (! wxRect_helper(_obj0
, &_arg0
))
2996 if (! wxRect_helper(_obj1
, &_arg1
))
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 _result
= (bool )wxRect_Intersects(_arg0
,*_arg1
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) return NULL
;
3005 } _resultobj
= Py_BuildValue("i",_result
);
3009 #define wxRect_OffsetXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
3010 static PyObject
*_wrap_wxRect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
* _resultobj
;
3016 PyObject
* _obj0
= 0;
3017 char *_kwnames
[] = { "self","dx","dy", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_OffsetXY",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3024 if (! wxRect_helper(_obj0
, &_arg0
))
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 wxRect_OffsetXY(_arg0
,_arg1
,_arg2
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) return NULL
;
3033 } Py_INCREF(Py_None
);
3034 _resultobj
= Py_None
;
3038 #define wxRect_Offset(_swigobj,_swigarg0) (_swigobj->Offset(_swigarg0))
3039 static PyObject
*_wrap_wxRect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
* _resultobj
;
3044 PyObject
* _obj0
= 0;
3046 PyObject
* _obj1
= 0;
3047 char *_kwnames
[] = { "self","pt", NULL
};
3050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Offset",_kwnames
,&_obj0
,&_obj1
))
3054 if (! wxRect_helper(_obj0
, &_arg0
))
3059 if (! wxPoint_helper(_obj1
, &_arg1
))
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 wxRect_Offset(_arg0
,*_arg1
);
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) return NULL
;
3068 } Py_INCREF(Py_None
);
3069 _resultobj
= Py_None
;
3073 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
3074 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
* _resultobj
;
3080 PyObject
* _obj0
= 0;
3081 char *_kwnames
[] = { "self","x", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
3088 if (! wxRect_helper(_obj0
, &_arg0
))
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) return NULL
;
3097 } _resultobj
= Py_BuildValue("i",_result
);
3101 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
3102 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3107 PyObject
* _obj0
= 0;
3108 char *_kwnames
[] = { "self", NULL
};
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
3115 if (! wxRect_helper(_obj0
, &_arg0
))
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 _result
= (int )wxRect_x_get(_arg0
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) return NULL
;
3124 } _resultobj
= Py_BuildValue("i",_result
);
3128 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
3129 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
* _resultobj
;
3135 PyObject
* _obj0
= 0;
3136 char *_kwnames
[] = { "self","y", NULL
};
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
3143 if (! wxRect_helper(_obj0
, &_arg0
))
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) return NULL
;
3152 } _resultobj
= Py_BuildValue("i",_result
);
3156 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
3157 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
* _resultobj
;
3162 PyObject
* _obj0
= 0;
3163 char *_kwnames
[] = { "self", NULL
};
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
3170 if (! wxRect_helper(_obj0
, &_arg0
))
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 _result
= (int )wxRect_y_get(_arg0
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) return NULL
;
3179 } _resultobj
= Py_BuildValue("i",_result
);
3183 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
3184 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
* _resultobj
;
3190 PyObject
* _obj0
= 0;
3191 char *_kwnames
[] = { "self","width", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
3198 if (! wxRect_helper(_obj0
, &_arg0
))
3202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3203 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
3205 wxPyEndAllowThreads(__tstate
);
3206 if (PyErr_Occurred()) return NULL
;
3207 } _resultobj
= Py_BuildValue("i",_result
);
3211 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
3212 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
* _resultobj
;
3217 PyObject
* _obj0
= 0;
3218 char *_kwnames
[] = { "self", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
3225 if (! wxRect_helper(_obj0
, &_arg0
))
3229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3230 _result
= (int )wxRect_width_get(_arg0
);
3232 wxPyEndAllowThreads(__tstate
);
3233 if (PyErr_Occurred()) return NULL
;
3234 } _resultobj
= Py_BuildValue("i",_result
);
3238 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
3239 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
* _resultobj
;
3245 PyObject
* _obj0
= 0;
3246 char *_kwnames
[] = { "self","height", NULL
};
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
3253 if (! wxRect_helper(_obj0
, &_arg0
))
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) return NULL
;
3262 } _resultobj
= Py_BuildValue("i",_result
);
3266 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
3267 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3272 PyObject
* _obj0
= 0;
3273 char *_kwnames
[] = { "self", NULL
};
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
3280 if (! wxRect_helper(_obj0
, &_arg0
))
3284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3285 _result
= (int )wxRect_height_get(_arg0
);
3287 wxPyEndAllowThreads(__tstate
);
3288 if (PyErr_Occurred()) return NULL
;
3289 } _resultobj
= Py_BuildValue("i",_result
);
3293 static void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
) {
3296 self
->width
= width
;
3297 self
->height
= height
;
3299 static PyObject
*_wrap_wxRect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
* _resultobj
;
3302 int _arg1
= (int ) 0;
3303 int _arg2
= (int ) 0;
3304 int _arg3
= (int ) 0;
3305 int _arg4
= (int ) 0;
3307 PyObject
* _obj0
= 0;
3308 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiii:wxRect_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3315 if (! wxRect_helper(_obj0
, &_arg0
))
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 wxRect_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) return NULL
;
3324 } Py_INCREF(Py_None
);
3325 _resultobj
= Py_None
;
3329 static PyObject
* wxRect_asTuple(wxRect
*self
) {
3330 wxPyBeginBlockThreads();
3331 PyObject
* tup
= PyTuple_New(4);
3332 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3333 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3334 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3335 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3336 wxPyEndBlockThreads();
3339 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
* _resultobj
;
3344 PyObject
* _obj0
= 0;
3345 char *_kwnames
[] = { "self", NULL
};
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
3352 if (! wxRect_helper(_obj0
, &_arg0
))
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) return NULL
;
3362 _resultobj
= _result
;
3367 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
& rect
) {
3368 return *self
+ rect
;
3370 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3376 PyObject
* _obj0
= 0;
3378 PyObject
* _obj1
= 0;
3379 char *_kwnames
[] = { "self","rect", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3387 if (! wxRect_helper(_obj0
, &_arg0
))
3392 if (! wxRect_helper(_obj1
, &_arg1
))
3396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3397 _result
= new wxRect (wxRect___add__(_arg0
,*_arg1
));
3399 wxPyEndAllowThreads(__tstate
);
3400 if (PyErr_Occurred()) return NULL
;
3401 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3402 _resultobj
= Py_BuildValue("s",_ptemp
);
3406 static bool wxRect___eq__(wxRect
*self
,PyObject
* obj
) {
3409 if (obj
== Py_None
) return FALSE
;
3410 wxPyBLOCK_THREADS(bool success
= wxRect_helper(obj
, &ptr
); PyErr_Clear());
3411 if (! success
) return FALSE
;
3412 return *self
== *ptr
;
3414 static PyObject
*_wrap_wxRect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3420 PyObject
* _obj0
= 0;
3421 PyObject
* _obj1
= 0;
3422 char *_kwnames
[] = { "self","obj", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___eq__",_kwnames
,&_obj0
,&_obj1
))
3429 if (! wxRect_helper(_obj0
, &_arg0
))
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 _result
= (bool )wxRect___eq__(_arg0
,_arg1
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) return NULL
;
3441 } _resultobj
= Py_BuildValue("i",_result
);
3445 static bool wxRect___ne__(wxRect
*self
,PyObject
* obj
) {
3448 if (obj
== Py_None
) return TRUE
;
3449 wxPyBLOCK_THREADS(bool success
= wxRect_helper(obj
, &ptr
); PyErr_Clear());
3450 if (! success
) return TRUE
;
3451 return *self
!= *ptr
;
3453 static PyObject
*_wrap_wxRect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
* _resultobj
;
3459 PyObject
* _obj0
= 0;
3460 PyObject
* _obj1
= 0;
3461 char *_kwnames
[] = { "self","obj", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___ne__",_kwnames
,&_obj0
,&_obj1
))
3468 if (! wxRect_helper(_obj0
, &_arg0
))
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 _result
= (bool )wxRect___ne__(_arg0
,_arg1
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) return NULL
;
3480 } _resultobj
= Py_BuildValue("i",_result
);
3484 #define wxPoint2DDouble_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3485 static PyObject
*_wrap_wxPoint2DDouble_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
* _resultobj
;
3488 wxPoint2DDouble
* _arg0
;
3490 wxPoint2DDouble temp
;
3491 PyObject
* _obj0
= 0;
3492 char *_kwnames
[] = { "self","m_x", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_m_x_set",_kwnames
,&_obj0
,&_arg1
))
3499 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 _result
= (double )wxPoint2DDouble_m_x_set(_arg0
,_arg1
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) return NULL
;
3508 } _resultobj
= Py_BuildValue("d",_result
);
3512 #define wxPoint2DDouble_m_x_get(_swigobj) ((double ) _swigobj->m_x)
3513 static PyObject
*_wrap_wxPoint2DDouble_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3516 wxPoint2DDouble
* _arg0
;
3517 wxPoint2DDouble temp
;
3518 PyObject
* _obj0
= 0;
3519 char *_kwnames
[] = { "self", NULL
};
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_m_x_get",_kwnames
,&_obj0
))
3526 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 _result
= (double )wxPoint2DDouble_m_x_get(_arg0
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3535 } _resultobj
= Py_BuildValue("d",_result
);
3539 #define wxPoint2DDouble_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3540 static PyObject
*_wrap_wxPoint2DDouble_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3543 wxPoint2DDouble
* _arg0
;
3545 wxPoint2DDouble temp
;
3546 PyObject
* _obj0
= 0;
3547 char *_kwnames
[] = { "self","m_y", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_m_y_set",_kwnames
,&_obj0
,&_arg1
))
3554 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 _result
= (double )wxPoint2DDouble_m_y_set(_arg0
,_arg1
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) return NULL
;
3563 } _resultobj
= Py_BuildValue("d",_result
);
3567 #define wxPoint2DDouble_m_y_get(_swigobj) ((double ) _swigobj->m_y)
3568 static PyObject
*_wrap_wxPoint2DDouble_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
* _resultobj
;
3571 wxPoint2DDouble
* _arg0
;
3572 wxPoint2DDouble temp
;
3573 PyObject
* _obj0
= 0;
3574 char *_kwnames
[] = { "self", NULL
};
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_m_y_get",_kwnames
,&_obj0
))
3581 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 _result
= (double )wxPoint2DDouble_m_y_get(_arg0
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) return NULL
;
3590 } _resultobj
= Py_BuildValue("d",_result
);
3594 #define new_wxPoint2DDouble(_swigarg0,_swigarg1) (new wxPoint2DDouble(_swigarg0,_swigarg1))
3595 static PyObject
*_wrap_new_wxPoint2DDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3597 wxPoint2DDouble
* _result
;
3598 double _arg0
= (double ) 0;
3599 double _arg1
= (double ) 0;
3600 char *_kwnames
[] = { "x","y", NULL
};
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxPoint2DDouble",_kwnames
,&_arg0
,&_arg1
))
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 _result
= (wxPoint2DDouble
*)new_wxPoint2DDouble(_arg0
,_arg1
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) return NULL
;
3613 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3614 _resultobj
= Py_BuildValue("s",_ptemp
);
3617 _resultobj
= Py_None
;
3622 #define new_wxPoint2DDoubleCopy(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3623 static PyObject
*_wrap_new_wxPoint2DDoubleCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
* _resultobj
;
3625 wxPoint2DDouble
* _result
;
3626 wxPoint2DDouble
* _arg0
;
3627 wxPoint2DDouble temp
;
3628 PyObject
* _obj0
= 0;
3629 char *_kwnames
[] = { "pt", NULL
};
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPoint2DDoubleCopy",_kwnames
,&_obj0
))
3637 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 _result
= (wxPoint2DDouble
*)new_wxPoint2DDoubleCopy(*_arg0
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) return NULL
;
3647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3648 _resultobj
= Py_BuildValue("s",_ptemp
);
3651 _resultobj
= Py_None
;
3656 #define new_wxPoint2DDoubleFromPoint(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3657 static PyObject
*_wrap_new_wxPoint2DDoubleFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3659 wxPoint2DDouble
* _result
;
3662 PyObject
* _obj0
= 0;
3663 char *_kwnames
[] = { "pt", NULL
};
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPoint2DDoubleFromPoint",_kwnames
,&_obj0
))
3671 if (! wxPoint_helper(_obj0
, &_arg0
))
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 _result
= (wxPoint2DDouble
*)new_wxPoint2DDoubleFromPoint(*_arg0
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) return NULL
;
3681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3682 _resultobj
= Py_BuildValue("s",_ptemp
);
3685 _resultobj
= Py_None
;
3690 #define wxPoint2DDouble_GetFloor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFloor(_swigarg0,_swigarg1))
3691 static PyObject
*_wrap_wxPoint2DDouble_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
* _resultobj
;
3693 wxPoint2DDouble
* _arg0
;
3698 wxPoint2DDouble temp1
;
3699 PyObject
* _obj0
= 0;
3700 char *_kwnames
[] = { "self", NULL
};
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetFloor",_kwnames
,&_obj0
))
3713 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 wxPoint2DDouble_GetFloor(_arg0
,_arg1
,_arg2
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) return NULL
;
3722 } Py_INCREF(Py_None
);
3723 _resultobj
= Py_None
;
3726 o
= PyInt_FromLong((long) (*_arg1
));
3727 _resultobj
= t_output_helper(_resultobj
, o
);
3731 o
= PyInt_FromLong((long) (*_arg2
));
3732 _resultobj
= t_output_helper(_resultobj
, o
);
3737 #define wxPoint2DDouble_GetRounded(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRounded(_swigarg0,_swigarg1))
3738 static PyObject
*_wrap_wxPoint2DDouble_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3740 wxPoint2DDouble
* _arg0
;
3745 wxPoint2DDouble temp1
;
3746 PyObject
* _obj0
= 0;
3747 char *_kwnames
[] = { "self", NULL
};
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetRounded",_kwnames
,&_obj0
))
3760 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 wxPoint2DDouble_GetRounded(_arg0
,_arg1
,_arg2
);
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) return NULL
;
3769 } Py_INCREF(Py_None
);
3770 _resultobj
= Py_None
;
3773 o
= PyInt_FromLong((long) (*_arg1
));
3774 _resultobj
= t_output_helper(_resultobj
, o
);
3778 o
= PyInt_FromLong((long) (*_arg2
));
3779 _resultobj
= t_output_helper(_resultobj
, o
);
3784 #define wxPoint2DDouble_GetVectorLength(_swigobj) (_swigobj->GetVectorLength())
3785 static PyObject
*_wrap_wxPoint2DDouble_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3788 wxPoint2DDouble
* _arg0
;
3789 wxPoint2DDouble temp
;
3790 PyObject
* _obj0
= 0;
3791 char *_kwnames
[] = { "self", NULL
};
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetVectorLength",_kwnames
,&_obj0
))
3798 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 _result
= (double )wxPoint2DDouble_GetVectorLength(_arg0
);
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) return NULL
;
3807 } _resultobj
= Py_BuildValue("d",_result
);
3811 #define wxPoint2DDouble_GetVectorAngle(_swigobj) (_swigobj->GetVectorAngle())
3812 static PyObject
*_wrap_wxPoint2DDouble_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3815 wxPoint2DDouble
* _arg0
;
3816 wxPoint2DDouble temp
;
3817 PyObject
* _obj0
= 0;
3818 char *_kwnames
[] = { "self", NULL
};
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetVectorAngle",_kwnames
,&_obj0
))
3825 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 _result
= (double )wxPoint2DDouble_GetVectorAngle(_arg0
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) return NULL
;
3834 } _resultobj
= Py_BuildValue("d",_result
);
3838 #define wxPoint2DDouble_SetVectorLength(_swigobj,_swigarg0) (_swigobj->SetVectorLength(_swigarg0))
3839 static PyObject
*_wrap_wxPoint2DDouble_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3841 wxPoint2DDouble
* _arg0
;
3843 wxPoint2DDouble temp
;
3844 PyObject
* _obj0
= 0;
3845 char *_kwnames
[] = { "self","length", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_SetVectorLength",_kwnames
,&_obj0
,&_arg1
))
3852 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 wxPoint2DDouble_SetVectorLength(_arg0
,_arg1
);
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) return NULL
;
3861 } Py_INCREF(Py_None
);
3862 _resultobj
= Py_None
;
3866 #define wxPoint2DDouble_SetVectorAngle(_swigobj,_swigarg0) (_swigobj->SetVectorAngle(_swigarg0))
3867 static PyObject
*_wrap_wxPoint2DDouble_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
* _resultobj
;
3869 wxPoint2DDouble
* _arg0
;
3871 wxPoint2DDouble temp
;
3872 PyObject
* _obj0
= 0;
3873 char *_kwnames
[] = { "self","degrees", NULL
};
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_SetVectorAngle",_kwnames
,&_obj0
,&_arg1
))
3880 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 wxPoint2DDouble_SetVectorAngle(_arg0
,_arg1
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) return NULL
;
3889 } Py_INCREF(Py_None
);
3890 _resultobj
= Py_None
;
3894 #define wxPoint2DDouble_GetDistance(_swigobj,_swigarg0) (_swigobj->GetDistance(_swigarg0))
3895 static PyObject
*_wrap_wxPoint2DDouble_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
* _resultobj
;
3898 wxPoint2DDouble
* _arg0
;
3899 wxPoint2DDouble
* _arg1
;
3900 wxPoint2DDouble temp
;
3901 PyObject
* _obj0
= 0;
3902 wxPoint2DDouble temp0
;
3903 PyObject
* _obj1
= 0;
3904 char *_kwnames
[] = { "self","pt", NULL
};
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDistance",_kwnames
,&_obj0
,&_obj1
))
3911 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3916 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 _result
= (double )wxPoint2DDouble_GetDistance(_arg0
,*_arg1
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) return NULL
;
3925 } _resultobj
= Py_BuildValue("d",_result
);
3929 #define wxPoint2DDouble_GetDistanceSquare(_swigobj,_swigarg0) (_swigobj->GetDistanceSquare(_swigarg0))
3930 static PyObject
*_wrap_wxPoint2DDouble_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3933 wxPoint2DDouble
* _arg0
;
3934 wxPoint2DDouble
* _arg1
;
3935 wxPoint2DDouble temp
;
3936 PyObject
* _obj0
= 0;
3937 wxPoint2DDouble temp0
;
3938 PyObject
* _obj1
= 0;
3939 char *_kwnames
[] = { "self","pt", NULL
};
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDistanceSquare",_kwnames
,&_obj0
,&_obj1
))
3946 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3951 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 _result
= (double )wxPoint2DDouble_GetDistanceSquare(_arg0
,*_arg1
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) return NULL
;
3960 } _resultobj
= Py_BuildValue("d",_result
);
3964 #define wxPoint2DDouble_GetDotProduct(_swigobj,_swigarg0) (_swigobj->GetDotProduct(_swigarg0))
3965 static PyObject
*_wrap_wxPoint2DDouble_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
* _resultobj
;
3968 wxPoint2DDouble
* _arg0
;
3969 wxPoint2DDouble
* _arg1
;
3970 wxPoint2DDouble temp
;
3971 PyObject
* _obj0
= 0;
3972 wxPoint2DDouble temp0
;
3973 PyObject
* _obj1
= 0;
3974 char *_kwnames
[] = { "self","vec", NULL
};
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDotProduct",_kwnames
,&_obj0
,&_obj1
))
3981 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3986 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 _result
= (double )wxPoint2DDouble_GetDotProduct(_arg0
,*_arg1
);
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) return NULL
;
3995 } _resultobj
= Py_BuildValue("d",_result
);
3999 #define wxPoint2DDouble_GetCrossProduct(_swigobj,_swigarg0) (_swigobj->GetCrossProduct(_swigarg0))
4000 static PyObject
*_wrap_wxPoint2DDouble_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
* _resultobj
;
4003 wxPoint2DDouble
* _arg0
;
4004 wxPoint2DDouble
* _arg1
;
4005 wxPoint2DDouble temp
;
4006 PyObject
* _obj0
= 0;
4007 wxPoint2DDouble temp0
;
4008 PyObject
* _obj1
= 0;
4009 char *_kwnames
[] = { "self","vec", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetCrossProduct",_kwnames
,&_obj0
,&_obj1
))
4016 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4021 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 _result
= (double )wxPoint2DDouble_GetCrossProduct(_arg0
,*_arg1
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) return NULL
;
4030 } _resultobj
= Py_BuildValue("d",_result
);
4034 static void wxPoint2DDouble_Set(wxPoint2DDouble
*self
,double x
,double y
) {
4038 static PyObject
*_wrap_wxPoint2DDouble_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
* _resultobj
;
4040 wxPoint2DDouble
* _arg0
;
4041 double _arg1
= (double ) 0;
4042 double _arg2
= (double ) 0;
4043 wxPoint2DDouble temp
;
4044 PyObject
* _obj0
= 0;
4045 char *_kwnames
[] = { "self","x","y", NULL
};
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|dd:wxPoint2DDouble_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4052 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxPoint2DDouble_Set(_arg0
,_arg1
,_arg2
);
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) return NULL
;
4061 } Py_INCREF(Py_None
);
4062 _resultobj
= Py_None
;
4066 static wxPoint2DDouble
wxPoint2DDouble___neg__(wxPoint2DDouble
*self
) { return -(*self
); }
4067 static PyObject
*_wrap_wxPoint2DDouble___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
* _resultobj
;
4069 wxPoint2DDouble
* _result
;
4070 wxPoint2DDouble
* _arg0
;
4071 wxPoint2DDouble temp
;
4072 PyObject
* _obj0
= 0;
4073 char *_kwnames
[] = { "self", NULL
};
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble___neg__",_kwnames
,&_obj0
))
4081 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 _result
= new wxPoint2DDouble (wxPoint2DDouble___neg__(_arg0
));
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) return NULL
;
4090 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint2DDouble_p");
4091 _resultobj
= Py_BuildValue("s",_ptemp
);
4095 static wxPoint2DDouble
& wxPoint2DDouble___iadd__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) += pt
; }
4096 static PyObject
*_wrap_wxPoint2DDouble___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4098 wxPoint2DDouble
* _result
;
4099 wxPoint2DDouble
* _arg0
;
4100 wxPoint2DDouble
* _arg1
;
4101 wxPoint2DDouble temp
;
4102 PyObject
* _obj0
= 0;
4103 wxPoint2DDouble temp0
;
4104 PyObject
* _obj1
= 0;
4105 char *_kwnames
[] = { "self","pt", NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___iadd__",_kwnames
,&_obj0
,&_obj1
))
4113 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4118 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___iadd__(_arg0
,*_arg1
);
4124 _result
= (wxPoint2DDouble
*) &_result_ref
;
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) return NULL
;
4129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4130 _resultobj
= Py_BuildValue("s",_ptemp
);
4133 _resultobj
= Py_None
;
4138 static wxPoint2DDouble
& wxPoint2DDouble___isub__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) -= pt
; }
4139 static PyObject
*_wrap_wxPoint2DDouble___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4141 wxPoint2DDouble
* _result
;
4142 wxPoint2DDouble
* _arg0
;
4143 wxPoint2DDouble
* _arg1
;
4144 wxPoint2DDouble temp
;
4145 PyObject
* _obj0
= 0;
4146 wxPoint2DDouble temp0
;
4147 PyObject
* _obj1
= 0;
4148 char *_kwnames
[] = { "self","pt", NULL
};
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___isub__",_kwnames
,&_obj0
,&_obj1
))
4156 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4161 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___isub__(_arg0
,*_arg1
);
4167 _result
= (wxPoint2DDouble
*) &_result_ref
;
4169 wxPyEndAllowThreads(__tstate
);
4170 if (PyErr_Occurred()) return NULL
;
4172 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4173 _resultobj
= Py_BuildValue("s",_ptemp
);
4176 _resultobj
= Py_None
;
4181 static wxPoint2DDouble
& wxPoint2DDouble___imul__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) *= pt
; }
4182 static PyObject
*_wrap_wxPoint2DDouble___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
* _resultobj
;
4184 wxPoint2DDouble
* _result
;
4185 wxPoint2DDouble
* _arg0
;
4186 wxPoint2DDouble
* _arg1
;
4187 wxPoint2DDouble temp
;
4188 PyObject
* _obj0
= 0;
4189 wxPoint2DDouble temp0
;
4190 PyObject
* _obj1
= 0;
4191 char *_kwnames
[] = { "self","pt", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___imul__",_kwnames
,&_obj0
,&_obj1
))
4199 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4204 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___imul__(_arg0
,*_arg1
);
4210 _result
= (wxPoint2DDouble
*) &_result_ref
;
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) return NULL
;
4215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4216 _resultobj
= Py_BuildValue("s",_ptemp
);
4219 _resultobj
= Py_None
;
4224 static wxPoint2DDouble
& wxPoint2DDouble___idiv__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) /= pt
; }
4225 static PyObject
*_wrap_wxPoint2DDouble___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4227 wxPoint2DDouble
* _result
;
4228 wxPoint2DDouble
* _arg0
;
4229 wxPoint2DDouble
* _arg1
;
4230 wxPoint2DDouble temp
;
4231 PyObject
* _obj0
= 0;
4232 wxPoint2DDouble temp0
;
4233 PyObject
* _obj1
= 0;
4234 char *_kwnames
[] = { "self","pt", NULL
};
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___idiv__",_kwnames
,&_obj0
,&_obj1
))
4242 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4247 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___idiv__(_arg0
,*_arg1
);
4253 _result
= (wxPoint2DDouble
*) &_result_ref
;
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) return NULL
;
4258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4259 _resultobj
= Py_BuildValue("s",_ptemp
);
4262 _resultobj
= Py_None
;
4267 static bool wxPoint2DDouble___eq__(wxPoint2DDouble
*self
,PyObject
* obj
) {
4268 wxPoint2DDouble tmp
;
4269 wxPoint2DDouble
* ptr
= &tmp
;
4270 if (obj
== Py_None
) return FALSE
;
4271 wxPyBLOCK_THREADS(bool success
= wxPoint2DDouble_helper(obj
, &ptr
); PyErr_Clear());
4272 if (! success
) return FALSE
;
4273 return *self
== *ptr
;
4275 static PyObject
*_wrap_wxPoint2DDouble___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
* _resultobj
;
4278 wxPoint2DDouble
* _arg0
;
4280 wxPoint2DDouble temp
;
4281 PyObject
* _obj0
= 0;
4282 PyObject
* _obj1
= 0;
4283 char *_kwnames
[] = { "self","obj", NULL
};
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___eq__",_kwnames
,&_obj0
,&_obj1
))
4290 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 _result
= (bool )wxPoint2DDouble___eq__(_arg0
,_arg1
);
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) return NULL
;
4302 } _resultobj
= Py_BuildValue("i",_result
);
4306 static bool wxPoint2DDouble___ne__(wxPoint2DDouble
*self
,PyObject
* obj
) {
4307 wxPoint2DDouble tmp
;
4308 wxPoint2DDouble
* ptr
= &tmp
;
4309 if (obj
== Py_None
) return TRUE
;
4310 wxPyBLOCK_THREADS(bool success
= wxPoint2DDouble_helper(obj
, &ptr
); PyErr_Clear());
4311 if (! success
) return TRUE
;
4312 return *self
!= *ptr
;
4314 static PyObject
*_wrap_wxPoint2DDouble___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
* _resultobj
;
4317 wxPoint2DDouble
* _arg0
;
4319 wxPoint2DDouble temp
;
4320 PyObject
* _obj0
= 0;
4321 PyObject
* _obj1
= 0;
4322 char *_kwnames
[] = { "self","obj", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___ne__",_kwnames
,&_obj0
,&_obj1
))
4329 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 _result
= (bool )wxPoint2DDouble___ne__(_arg0
,_arg1
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) return NULL
;
4341 } _resultobj
= Py_BuildValue("i",_result
);
4345 static PyObject
* wxPoint2DDouble_asTuple(wxPoint2DDouble
*self
) {
4346 wxPyBeginBlockThreads();
4347 PyObject
* tup
= PyTuple_New(2);
4348 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
4349 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
4350 wxPyEndBlockThreads();
4353 static PyObject
*_wrap_wxPoint2DDouble_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4356 wxPoint2DDouble
* _arg0
;
4357 wxPoint2DDouble temp
;
4358 PyObject
* _obj0
= 0;
4359 char *_kwnames
[] = { "self", NULL
};
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_asTuple",_kwnames
,&_obj0
))
4366 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 _result
= (PyObject
*)wxPoint2DDouble_asTuple(_arg0
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) return NULL
;
4376 _resultobj
= _result
;
4381 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
4382 wxIndividualLayoutConstraint
*src
;
4384 src
= (wxIndividualLayoutConstraint
*) ptr
;
4385 dest
= (wxObject
*) src
;
4386 return (void *) dest
;
4389 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
4390 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4392 wxIndividualLayoutConstraint
* _arg0
;
4394 int _arg2
= (int ) 0;
4395 PyObject
* _argo0
= 0;
4396 PyObject
* _argo1
= 0;
4397 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
4410 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4411 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) return NULL
;
4422 } Py_INCREF(Py_None
);
4423 _resultobj
= Py_None
;
4427 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
4428 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4430 wxIndividualLayoutConstraint
* _arg0
;
4432 PyObject
* _argo0
= 0;
4433 char *_kwnames
[] = { "self","value", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) return NULL
;
4451 } Py_INCREF(Py_None
);
4452 _resultobj
= Py_None
;
4456 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
4457 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4459 wxIndividualLayoutConstraint
* _arg0
;
4460 PyObject
* _argo0
= 0;
4461 char *_kwnames
[] = { "self", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
4467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 wxIndividualLayoutConstraint_AsIs(_arg0
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) return NULL
;
4479 } Py_INCREF(Py_None
);
4480 _resultobj
= Py_None
;
4484 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
4485 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
* _resultobj
;
4487 wxIndividualLayoutConstraint
* _arg0
;
4489 int _arg2
= (int ) 0;
4490 PyObject
* _argo0
= 0;
4491 PyObject
* _argo1
= 0;
4492 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
4505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) return NULL
;
4517 } Py_INCREF(Py_None
);
4518 _resultobj
= Py_None
;
4522 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
4523 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
* _resultobj
;
4525 wxIndividualLayoutConstraint
* _arg0
;
4526 PyObject
* _argo0
= 0;
4527 char *_kwnames
[] = { "self", NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
4533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) return NULL
;
4545 } Py_INCREF(Py_None
);
4546 _resultobj
= Py_None
;
4550 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
4551 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
* _resultobj
;
4553 wxIndividualLayoutConstraint
* _arg0
;
4555 int _arg2
= (int ) 0;
4556 PyObject
* _argo0
= 0;
4557 PyObject
* _argo1
= 0;
4558 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
4571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) return NULL
;
4583 } Py_INCREF(Py_None
);
4584 _resultobj
= Py_None
;
4588 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
4589 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
* _resultobj
;
4591 wxIndividualLayoutConstraint
* _arg0
;
4595 PyObject
* _argo0
= 0;
4596 PyObject
* _argo1
= 0;
4597 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
4610 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4611 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) return NULL
;
4622 } Py_INCREF(Py_None
);
4623 _resultobj
= Py_None
;
4627 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
4628 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4630 wxIndividualLayoutConstraint
* _arg0
;
4632 int _arg2
= (int ) 0;
4633 PyObject
* _argo0
= 0;
4634 PyObject
* _argo1
= 0;
4635 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
4648 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) return NULL
;
4660 } Py_INCREF(Py_None
);
4661 _resultobj
= Py_None
;
4665 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
4666 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4668 wxIndividualLayoutConstraint
* _arg0
;
4671 int _arg3
= (int ) 0;
4672 PyObject
* _argo0
= 0;
4673 PyObject
* _argo1
= 0;
4674 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
4687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) return NULL
;
4699 } Py_INCREF(Py_None
);
4700 _resultobj
= Py_None
;
4704 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4705 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
* _resultobj
;
4707 wxIndividualLayoutConstraint
* _arg0
;
4708 wxRelationship _arg1
;
4711 int _arg4
= (int ) 0;
4712 int _arg5
= (int ) 0;
4713 PyObject
* _argo0
= 0;
4714 PyObject
* _argo2
= 0;
4715 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
4721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
4728 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4729 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) return NULL
;
4740 } Py_INCREF(Py_None
);
4741 _resultobj
= Py_None
;
4745 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
4746 wxLayoutConstraints
*src
;
4748 src
= (wxLayoutConstraints
*) ptr
;
4749 dest
= (wxObject
*) src
;
4750 return (void *) dest
;
4753 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
4754 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
* _resultobj
;
4756 wxLayoutConstraints
* _result
;
4757 char *_kwnames
[] = { NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
4764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4765 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) return NULL
;
4770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
4771 _resultobj
= Py_BuildValue("s",_ptemp
);
4774 _resultobj
= Py_None
;
4779 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
4780 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4782 wxIndividualLayoutConstraint
* _result
;
4783 wxLayoutConstraints
* _arg0
;
4784 PyObject
* _argo0
= 0;
4785 char *_kwnames
[] = { "self", NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
4792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) return NULL
;
4805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4806 _resultobj
= Py_BuildValue("s",_ptemp
);
4809 _resultobj
= Py_None
;
4814 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
4815 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
* _resultobj
;
4817 wxIndividualLayoutConstraint
* _result
;
4818 wxLayoutConstraints
* _arg0
;
4819 PyObject
* _argo0
= 0;
4820 char *_kwnames
[] = { "self", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) return NULL
;
4840 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4841 _resultobj
= Py_BuildValue("s",_ptemp
);
4844 _resultobj
= Py_None
;
4849 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
4850 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
* _resultobj
;
4852 wxIndividualLayoutConstraint
* _result
;
4853 wxLayoutConstraints
* _arg0
;
4854 PyObject
* _argo0
= 0;
4855 char *_kwnames
[] = { "self", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
4862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) return NULL
;
4875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4876 _resultobj
= Py_BuildValue("s",_ptemp
);
4879 _resultobj
= Py_None
;
4884 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
4885 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4887 wxIndividualLayoutConstraint
* _result
;
4888 wxLayoutConstraints
* _arg0
;
4889 PyObject
* _argo0
= 0;
4890 char *_kwnames
[] = { "self", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
4897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) return NULL
;
4910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4911 _resultobj
= Py_BuildValue("s",_ptemp
);
4914 _resultobj
= Py_None
;
4919 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
4920 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4922 wxIndividualLayoutConstraint
* _result
;
4923 wxLayoutConstraints
* _arg0
;
4924 PyObject
* _argo0
= 0;
4925 char *_kwnames
[] = { "self", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
4932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) return NULL
;
4945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4946 _resultobj
= Py_BuildValue("s",_ptemp
);
4949 _resultobj
= Py_None
;
4954 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
4955 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4957 wxIndividualLayoutConstraint
* _result
;
4958 wxLayoutConstraints
* _arg0
;
4959 PyObject
* _argo0
= 0;
4960 char *_kwnames
[] = { "self", NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
4967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) return NULL
;
4980 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4981 _resultobj
= Py_BuildValue("s",_ptemp
);
4984 _resultobj
= Py_None
;
4989 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
4990 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
* _resultobj
;
4992 wxIndividualLayoutConstraint
* _result
;
4993 wxLayoutConstraints
* _arg0
;
4994 PyObject
* _argo0
= 0;
4995 char *_kwnames
[] = { "self", NULL
};
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
5002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) return NULL
;
5015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5016 _resultobj
= Py_BuildValue("s",_ptemp
);
5019 _resultobj
= Py_None
;
5024 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
5025 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
* _resultobj
;
5027 wxIndividualLayoutConstraint
* _result
;
5028 wxLayoutConstraints
* _arg0
;
5029 PyObject
* _argo0
= 0;
5030 char *_kwnames
[] = { "self", NULL
};
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
5037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) return NULL
;
5050 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5051 _resultobj
= Py_BuildValue("s",_ptemp
);
5054 _resultobj
= Py_None
;
5059 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
5060 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
* _resultobj
;
5062 wxAcceleratorEntry
* _result
;
5063 int _arg0
= (int ) 0;
5064 int _arg1
= (int ) 0;
5065 int _arg2
= (int ) 0;
5066 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) return NULL
;
5079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
5080 _resultobj
= Py_BuildValue("s",_ptemp
);
5083 _resultobj
= Py_None
;
5088 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
5089 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5091 wxAcceleratorEntry
* _arg0
;
5092 PyObject
* _argo0
= 0;
5093 char *_kwnames
[] = { "self", NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
5099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 delete_wxAcceleratorEntry(_arg0
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) return NULL
;
5111 } Py_INCREF(Py_None
);
5112 _resultobj
= Py_None
;
5116 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
5117 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5119 wxAcceleratorEntry
* _arg0
;
5123 PyObject
* _argo0
= 0;
5124 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) return NULL
;
5142 } Py_INCREF(Py_None
);
5143 _resultobj
= Py_None
;
5147 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
5148 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
* _resultobj
;
5151 wxAcceleratorEntry
* _arg0
;
5152 PyObject
* _argo0
= 0;
5153 char *_kwnames
[] = { "self", NULL
};
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
5159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) return NULL
;
5171 } _resultobj
= Py_BuildValue("i",_result
);
5175 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
5176 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
* _resultobj
;
5179 wxAcceleratorEntry
* _arg0
;
5180 PyObject
* _argo0
= 0;
5181 char *_kwnames
[] = { "self", NULL
};
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
5187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) return NULL
;
5199 } _resultobj
= Py_BuildValue("i",_result
);
5203 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
5204 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5207 wxAcceleratorEntry
* _arg0
;
5208 PyObject
* _argo0
= 0;
5209 char *_kwnames
[] = { "self", NULL
};
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
5215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) return NULL
;
5227 } _resultobj
= Py_BuildValue("i",_result
);
5231 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
5232 wxAcceleratorTable
*src
;
5234 src
= (wxAcceleratorTable
*) ptr
;
5235 dest
= (wxObject
*) src
;
5236 return (void *) dest
;
5239 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
5240 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5242 wxAcceleratorTable
* _result
;
5244 wxAcceleratorEntry
* _arg1
;
5245 PyObject
* _obj1
= 0;
5246 char *_kwnames
[] = { "choices", NULL
};
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
5254 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
5255 if (_arg1
== NULL
) {
5261 _arg0
= PyList_Size(_obj1
);
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) return NULL
;
5274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
5275 _resultobj
= Py_BuildValue("s",_ptemp
);
5278 _resultobj
= Py_None
;
5286 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
5287 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
* _resultobj
;
5289 wxAcceleratorTable
* _arg0
;
5290 PyObject
* _argo0
= 0;
5291 char *_kwnames
[] = { "self", NULL
};
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
5297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
5299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 delete_wxAcceleratorTable(_arg0
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) return NULL
;
5309 } Py_INCREF(Py_None
);
5310 _resultobj
= Py_None
;
5314 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
5317 src
= (wxBusyInfo
*) ptr
;
5318 dest
= (wxObject
*) src
;
5319 return (void *) dest
;
5322 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
5323 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
* _resultobj
;
5325 wxBusyInfo
* _result
;
5327 PyObject
* _obj0
= 0;
5328 char *_kwnames
[] = { "message", NULL
};
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
5335 _arg0
= wxString_in_helper(_obj0
);
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) return NULL
;
5346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
5347 _resultobj
= Py_BuildValue("s",_ptemp
);
5350 _resultobj
= Py_None
;
5359 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
5360 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
* _resultobj
;
5363 PyObject
* _argo0
= 0;
5364 char *_kwnames
[] = { "self", NULL
};
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
5370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
5372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 delete_wxBusyInfo(_arg0
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) return NULL
;
5382 } Py_INCREF(Py_None
);
5383 _resultobj
= Py_None
;
5387 static PyMethodDef misccMethods
[] = {
5388 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
5389 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
5390 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
5391 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
5392 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
5393 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
5394 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
5395 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
5396 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
5397 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
5398 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5399 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
5400 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
5401 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
5402 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
5403 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
5404 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
5405 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
5406 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
5407 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5408 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
5409 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
5410 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
5411 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
5412 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
5413 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
5414 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
5415 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
5416 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
5417 { "wxPoint2DDouble_asTuple", (PyCFunction
) _wrap_wxPoint2DDouble_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5418 { "wxPoint2DDouble___ne__", (PyCFunction
) _wrap_wxPoint2DDouble___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5419 { "wxPoint2DDouble___eq__", (PyCFunction
) _wrap_wxPoint2DDouble___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5420 { "wxPoint2DDouble___idiv__", (PyCFunction
) _wrap_wxPoint2DDouble___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
5421 { "wxPoint2DDouble___imul__", (PyCFunction
) _wrap_wxPoint2DDouble___imul__
, METH_VARARGS
| METH_KEYWORDS
},
5422 { "wxPoint2DDouble___isub__", (PyCFunction
) _wrap_wxPoint2DDouble___isub__
, METH_VARARGS
| METH_KEYWORDS
},
5423 { "wxPoint2DDouble___iadd__", (PyCFunction
) _wrap_wxPoint2DDouble___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
5424 { "wxPoint2DDouble___neg__", (PyCFunction
) _wrap_wxPoint2DDouble___neg__
, METH_VARARGS
| METH_KEYWORDS
},
5425 { "wxPoint2DDouble_Set", (PyCFunction
) _wrap_wxPoint2DDouble_Set
, METH_VARARGS
| METH_KEYWORDS
},
5426 { "wxPoint2DDouble_GetCrossProduct", (PyCFunction
) _wrap_wxPoint2DDouble_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
5427 { "wxPoint2DDouble_GetDotProduct", (PyCFunction
) _wrap_wxPoint2DDouble_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
5428 { "wxPoint2DDouble_GetDistanceSquare", (PyCFunction
) _wrap_wxPoint2DDouble_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
5429 { "wxPoint2DDouble_GetDistance", (PyCFunction
) _wrap_wxPoint2DDouble_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
5430 { "wxPoint2DDouble_SetVectorAngle", (PyCFunction
) _wrap_wxPoint2DDouble_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
5431 { "wxPoint2DDouble_SetVectorLength", (PyCFunction
) _wrap_wxPoint2DDouble_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
5432 { "wxPoint2DDouble_GetVectorAngle", (PyCFunction
) _wrap_wxPoint2DDouble_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
5433 { "wxPoint2DDouble_GetVectorLength", (PyCFunction
) _wrap_wxPoint2DDouble_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
5434 { "wxPoint2DDouble_GetRounded", (PyCFunction
) _wrap_wxPoint2DDouble_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
5435 { "wxPoint2DDouble_GetFloor", (PyCFunction
) _wrap_wxPoint2DDouble_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
5436 { "new_wxPoint2DDoubleFromPoint", (PyCFunction
) _wrap_new_wxPoint2DDoubleFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
5437 { "new_wxPoint2DDoubleCopy", (PyCFunction
) _wrap_new_wxPoint2DDoubleCopy
, METH_VARARGS
| METH_KEYWORDS
},
5438 { "new_wxPoint2DDouble", (PyCFunction
) _wrap_new_wxPoint2DDouble
, METH_VARARGS
| METH_KEYWORDS
},
5439 { "wxPoint2DDouble_y_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5440 { "wxPoint2DDouble_y_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5441 { "wxPoint2DDouble_x_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5442 { "wxPoint2DDouble_x_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5443 { "wxPoint2DDouble_m_y_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5444 { "wxPoint2DDouble_m_y_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5445 { "wxPoint2DDouble_m_x_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5446 { "wxPoint2DDouble_m_x_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5447 { "wxRect___ne__", (PyCFunction
) _wrap_wxRect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5448 { "wxRect___eq__", (PyCFunction
) _wrap_wxRect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5449 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
5450 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5451 { "wxRect_Set", (PyCFunction
) _wrap_wxRect_Set
, METH_VARARGS
| METH_KEYWORDS
},
5452 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
5453 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
5454 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5455 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
5456 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5457 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5458 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5459 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5460 { "wxRect_Offset", (PyCFunction
) _wrap_wxRect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
5461 { "wxRect_OffsetXY", (PyCFunction
) _wrap_wxRect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
5462 { "wxRect_Intersects", (PyCFunction
) _wrap_wxRect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
5463 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
5464 { "wxRect_InsideXY", (PyCFunction
) _wrap_wxRect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
5465 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
5466 { "wxRect_Deflate", (PyCFunction
) _wrap_wxRect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
5467 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
5468 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
5469 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
5470 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
5471 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
5472 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
5473 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
5474 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
5475 { "wxRect_SetSize", (PyCFunction
) _wrap_wxRect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
5476 { "wxRect_SetPosition", (PyCFunction
) _wrap_wxRect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5477 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
5478 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5479 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5480 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5481 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5482 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5483 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
5484 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5485 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
5486 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5487 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
5488 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
5489 { "wxPoint___ne__", (PyCFunction
) _wrap_wxPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5490 { "wxPoint___eq__", (PyCFunction
) _wrap_wxPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5491 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
5492 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
5493 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5494 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5495 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
5496 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
5497 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5498 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5499 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5500 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5501 { "wxRealPoint___ne__", (PyCFunction
) _wrap_wxRealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5502 { "wxRealPoint___eq__", (PyCFunction
) _wrap_wxRealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5503 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
5504 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
5505 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5506 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5507 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
5508 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
5509 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5510 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5511 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5512 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5513 { "wxSize___ne__", (PyCFunction
) _wrap_wxSize___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5514 { "wxSize___eq__", (PyCFunction
) _wrap_wxSize___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5515 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5516 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5517 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5518 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5519 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5520 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5521 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5522 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
5523 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
5524 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
5525 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5526 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5527 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5528 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5529 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5530 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5531 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5532 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5533 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5534 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
5535 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
5536 { "wxGetProcessId", (PyCFunction
) _wrap_wxGetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
5537 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
5538 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
5539 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
5540 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
5541 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
5542 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
5543 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
5544 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
5545 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
5546 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
5547 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
5548 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
5549 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
5550 { "wxShutdown", (PyCFunction
) _wrap_wxShutdown
, METH_VARARGS
| METH_KEYWORDS
},
5551 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
5552 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
5553 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
5554 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
5555 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
5556 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
5557 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
5558 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
5559 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
5560 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5561 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
5562 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
5563 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
5564 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
5565 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
5572 * This table is used by the pointer type-checker
5574 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5575 { "_signed_long","_long",0},
5576 { "_wxPrintQuality","_wxCoord",0},
5577 { "_wxPrintQuality","_int",0},
5578 { "_wxPrintQuality","_signed_int",0},
5579 { "_wxPrintQuality","_unsigned_int",0},
5580 { "_wxPrintQuality","_wxWindowID",0},
5581 { "_wxPrintQuality","_uint",0},
5582 { "_wxPrintQuality","_EBool",0},
5583 { "_wxPrintQuality","_size_t",0},
5584 { "_wxPrintQuality","_time_t",0},
5585 { "_byte","_unsigned_char",0},
5586 { "_long","_unsigned_long",0},
5587 { "_long","_signed_long",0},
5588 { "_size_t","_wxCoord",0},
5589 { "_size_t","_wxPrintQuality",0},
5590 { "_size_t","_time_t",0},
5591 { "_size_t","_unsigned_int",0},
5592 { "_size_t","_int",0},
5593 { "_size_t","_wxWindowID",0},
5594 { "_size_t","_uint",0},
5595 { "_uint","_wxCoord",0},
5596 { "_uint","_wxPrintQuality",0},
5597 { "_uint","_time_t",0},
5598 { "_uint","_size_t",0},
5599 { "_uint","_unsigned_int",0},
5600 { "_uint","_int",0},
5601 { "_uint","_wxWindowID",0},
5602 { "_wxChar","_char",0},
5603 { "_char","_wxChar",0},
5604 { "_EBool","_wxCoord",0},
5605 { "_EBool","_wxPrintQuality",0},
5606 { "_EBool","_signed_int",0},
5607 { "_EBool","_int",0},
5608 { "_EBool","_wxWindowID",0},
5609 { "_unsigned_long","_long",0},
5610 { "_signed_int","_wxCoord",0},
5611 { "_signed_int","_wxPrintQuality",0},
5612 { "_signed_int","_EBool",0},
5613 { "_signed_int","_wxWindowID",0},
5614 { "_signed_int","_int",0},
5615 { "_WXTYPE","_short",0},
5616 { "_WXTYPE","_signed_short",0},
5617 { "_WXTYPE","_unsigned_short",0},
5618 { "_unsigned_short","_WXTYPE",0},
5619 { "_unsigned_short","_short",0},
5620 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
5621 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
5622 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
5623 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
5624 { "_signed_short","_WXTYPE",0},
5625 { "_signed_short","_short",0},
5626 { "_unsigned_char","_byte",0},
5627 { "_unsigned_int","_wxCoord",0},
5628 { "_unsigned_int","_wxPrintQuality",0},
5629 { "_unsigned_int","_time_t",0},
5630 { "_unsigned_int","_size_t",0},
5631 { "_unsigned_int","_uint",0},
5632 { "_unsigned_int","_wxWindowID",0},
5633 { "_unsigned_int","_int",0},
5634 { "_short","_WXTYPE",0},
5635 { "_short","_unsigned_short",0},
5636 { "_short","_signed_short",0},
5637 { "_wxWindowID","_wxCoord",0},
5638 { "_wxWindowID","_wxPrintQuality",0},
5639 { "_wxWindowID","_time_t",0},
5640 { "_wxWindowID","_size_t",0},
5641 { "_wxWindowID","_EBool",0},
5642 { "_wxWindowID","_uint",0},
5643 { "_wxWindowID","_int",0},
5644 { "_wxWindowID","_signed_int",0},
5645 { "_wxWindowID","_unsigned_int",0},
5646 { "_int","_wxCoord",0},
5647 { "_int","_wxPrintQuality",0},
5648 { "_int","_time_t",0},
5649 { "_int","_size_t",0},
5650 { "_int","_EBool",0},
5651 { "_int","_uint",0},
5652 { "_int","_wxWindowID",0},
5653 { "_int","_unsigned_int",0},
5654 { "_int","_signed_int",0},
5655 { "_time_t","_wxCoord",0},
5656 { "_time_t","_wxPrintQuality",0},
5657 { "_time_t","_unsigned_int",0},
5658 { "_time_t","_int",0},
5659 { "_time_t","_wxWindowID",0},
5660 { "_time_t","_uint",0},
5661 { "_time_t","_size_t",0},
5662 { "_wxCoord","_int",0},
5663 { "_wxCoord","_signed_int",0},
5664 { "_wxCoord","_unsigned_int",0},
5665 { "_wxCoord","_wxWindowID",0},
5666 { "_wxCoord","_uint",0},
5667 { "_wxCoord","_EBool",0},
5668 { "_wxCoord","_size_t",0},
5669 { "_wxCoord","_time_t",0},
5670 { "_wxCoord","_wxPrintQuality",0},
5673 static PyObject
*SWIG_globals
;
5677 SWIGEXPORT(void) initmiscc() {
5679 SWIG_globals
= SWIG_newvarlink();
5680 m
= Py_InitModule("miscc", misccMethods
);
5681 d
= PyModule_GetDict(m
);
5682 PyDict_SetItemString(d
,"wxSHUTDOWN_POWEROFF", PyInt_FromLong((long) wxSHUTDOWN_POWEROFF
));
5683 PyDict_SetItemString(d
,"wxSHUTDOWN_REBOOT", PyInt_FromLong((long) wxSHUTDOWN_REBOOT
));
5684 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5685 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5686 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5687 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5688 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5689 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5690 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5691 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5692 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5693 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5694 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5695 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5696 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5697 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5698 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5699 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5700 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5701 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5702 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5703 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5704 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5707 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5708 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);