2 * FILE : src/gtk/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initmiscc
55 #define SWIG_name "miscc"
58 #include <wx/tooltip.h>
59 #include <wx/busyinfo.h>
60 #include <wx/geometry.h>
63 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
69 } else if (target
== Py_None
) {
73 if (!PyTuple_Check(target
)) {
75 target
= PyTuple_New(1);
76 PyTuple_SetItem(target
, 0, o2
);
79 PyTuple_SetItem(o3
, 0, o
);
82 target
= PySequence_Concat(o2
, o3
);
89 // Put some wx default wxChar* values into wxStrings.
90 static const wxString
wxPyEmptyString(wxT(""));
92 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
101 if (dest
!= wxRect(0,0,0,0)) {
102 wxPyBeginBlockThreads();
103 wxRect
* newRect
= new wxRect(dest
);
104 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"));
105 PyObject
* one
= PyInt_FromLong(1);
106 PyObject_SetAttrString(obj
, "thisown", one
);
108 wxPyEndBlockThreads();
115 #if 0 // we want to use the definition from the header, not the
116 // one SWIG will generate.
117 extern wxAcceleratorTable wxNullAcceleratorTable
;
123 static PyObject
*_wrap_wxIntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
124 PyObject
* _resultobj
;
129 PyObject
* _obj0
= 0;
131 PyObject
* _obj1
= 0;
132 char *_kwnames
[] = { "r1","r2", NULL
};
135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxIntersectRect",_kwnames
,&_obj0
,&_obj1
))
139 if (! wxRect_helper(_obj0
, &_arg0
))
144 if (! wxRect_helper(_obj1
, &_arg1
))
148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
149 _result
= (PyObject
*)wxIntersectRect(_arg0
,_arg1
);
151 wxPyEndAllowThreads(__tstate
);
152 if (PyErr_Occurred()) return NULL
;
154 _resultobj
= _result
;
159 static PyObject
*_wrap_wxNewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
160 PyObject
* _resultobj
;
162 char *_kwnames
[] = { NULL
};
165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNewId",_kwnames
))
168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
169 _result
= (long )wxNewId();
171 wxPyEndAllowThreads(__tstate
);
172 if (PyErr_Occurred()) return NULL
;
173 } _resultobj
= Py_BuildValue("l",_result
);
177 static PyObject
*_wrap_wxRegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
178 PyObject
* _resultobj
;
180 char *_kwnames
[] = { "id", NULL
};
183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxRegisterId",_kwnames
,&_arg0
))
186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
189 wxPyEndAllowThreads(__tstate
);
190 if (PyErr_Occurred()) return NULL
;
191 } Py_INCREF(Py_None
);
192 _resultobj
= Py_None
;
196 static PyObject
*_wrap_wxGetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
197 PyObject
* _resultobj
;
199 char *_kwnames
[] = { NULL
};
202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetCurrentId",_kwnames
))
205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
206 _result
= (long )wxGetCurrentId();
208 wxPyEndAllowThreads(__tstate
);
209 if (PyErr_Occurred()) return NULL
;
210 } _resultobj
= Py_BuildValue("l",_result
);
214 static PyObject
*_wrap_wxBell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
215 PyObject
* _resultobj
;
216 char *_kwnames
[] = { NULL
};
219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxBell",_kwnames
))
222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
225 wxPyEndAllowThreads(__tstate
);
226 if (PyErr_Occurred()) return NULL
;
227 } Py_INCREF(Py_None
);
228 _resultobj
= Py_None
;
232 static PyObject
*_wrap_wxEndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
233 PyObject
* _resultobj
;
234 char *_kwnames
[] = { NULL
};
237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxEndBusyCursor",_kwnames
))
240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
243 wxPyEndAllowThreads(__tstate
);
244 if (PyErr_Occurred()) return NULL
;
245 } Py_INCREF(Py_None
);
246 _resultobj
= Py_None
;
250 static PyObject
*_wrap_wxGetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
251 PyObject
* _resultobj
;
253 bool _arg0
= (bool ) TRUE
;
254 int tempbool0
= (int) TRUE
;
255 char *_kwnames
[] = { "resetTimer", NULL
};
258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxGetElapsedTime",_kwnames
,&tempbool0
))
260 _arg0
= (bool ) tempbool0
;
262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
263 _result
= (long )wxGetElapsedTime(_arg0
);
265 wxPyEndAllowThreads(__tstate
);
266 if (PyErr_Occurred()) return NULL
;
267 } _resultobj
= Py_BuildValue("l",_result
);
271 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
277 char *_kwnames
[] = { NULL
};
286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
290 wxGetMousePosition(_arg0
,_arg1
);
292 wxPyEndAllowThreads(__tstate
);
293 if (PyErr_Occurred()) return NULL
;
294 } Py_INCREF(Py_None
);
295 _resultobj
= Py_None
;
298 o
= PyInt_FromLong((long) (*_arg0
));
299 _resultobj
= t_output_helper(_resultobj
, o
);
303 o
= PyInt_FromLong((long) (*_arg1
));
304 _resultobj
= t_output_helper(_resultobj
, o
);
309 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
312 char *_kwnames
[] = { NULL
};
315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
319 _result
= (bool )wxIsBusy();
321 wxPyEndAllowThreads(__tstate
);
322 if (PyErr_Occurred()) return NULL
;
323 } _resultobj
= Py_BuildValue("i",_result
);
327 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
330 char *_kwnames
[] = { NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
337 _result
= new wxString (wxNow());
339 wxPyEndAllowThreads(__tstate
);
340 if (PyErr_Occurred()) return NULL
;
343 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
345 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
354 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
355 PyObject
* _resultobj
;
357 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
358 PyObject
* _obj0
= 0;
359 char *_kwnames
[] = { "command", NULL
};
362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
366 _arg0
= wxString_in_helper(_obj0
);
371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
372 _result
= (bool )wxShell(*_arg0
);
374 wxPyEndAllowThreads(__tstate
);
375 if (PyErr_Occurred()) return NULL
;
376 } _resultobj
= Py_BuildValue("i",_result
);
384 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
385 PyObject
* _resultobj
;
386 char *_kwnames
[] = { NULL
};
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
395 wxPyEndAllowThreads(__tstate
);
396 if (PyErr_Occurred()) return NULL
;
397 } Py_INCREF(Py_None
);
398 _resultobj
= Py_None
;
402 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
409 char *_kwnames
[] = { NULL
};
418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
422 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
424 wxPyEndAllowThreads(__tstate
);
425 if (PyErr_Occurred()) return NULL
;
426 } _resultobj
= Py_BuildValue("i",_result
);
429 o
= PyInt_FromLong((long) (*_arg0
));
430 _resultobj
= t_output_helper(_resultobj
, o
);
434 o
= PyInt_FromLong((long) (*_arg1
));
435 _resultobj
= t_output_helper(_resultobj
, o
);
440 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
441 PyObject
* _resultobj
;
443 char *_kwnames
[] = { NULL
};
446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
450 _result
= new wxString (wxGetOsDescription());
452 wxPyEndAllowThreads(__tstate
);
453 if (PyErr_Occurred()) return NULL
;
456 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
458 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
467 static PyObject
*_wrap_wxShutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
468 PyObject
* _resultobj
;
470 wxShutdownFlags _arg0
;
471 char *_kwnames
[] = { "wFlags", NULL
};
474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxShutdown",_kwnames
,&_arg0
))
477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
478 _result
= (bool )wxShutdown(_arg0
);
480 wxPyEndAllowThreads(__tstate
);
481 if (PyErr_Occurred()) return NULL
;
482 } _resultobj
= Py_BuildValue("i",_result
);
486 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
487 PyObject
* _resultobj
;
489 char *_kwnames
[] = { "secs", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
498 wxPyEndAllowThreads(__tstate
);
499 if (PyErr_Occurred()) return NULL
;
500 } Py_INCREF(Py_None
);
501 _resultobj
= Py_None
;
505 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
508 char *_kwnames
[] = { "milliseconds", NULL
};
511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_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_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
527 char *_kwnames
[] = { NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
534 _result
= (bool )wxYield();
536 wxPyEndAllowThreads(__tstate
);
537 if (PyErr_Occurred()) return NULL
;
538 } _resultobj
= Py_BuildValue("i",_result
);
542 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
545 char *_kwnames
[] = { NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
552 _result
= (bool )wxYieldIfNeeded();
554 wxPyEndAllowThreads(__tstate
);
555 if (PyErr_Occurred()) return NULL
;
556 } _resultobj
= Py_BuildValue("i",_result
);
560 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
561 PyObject
* _resultobj
;
564 char *_kwnames
[] = { "enable", NULL
};
567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
569 _arg0
= (bool ) tempbool0
;
571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
572 wxEnableTopLevelWindows(_arg0
);
574 wxPyEndAllowThreads(__tstate
);
575 if (PyErr_Occurred()) return NULL
;
576 } Py_INCREF(Py_None
);
577 _resultobj
= Py_None
;
581 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
582 PyObject
* _resultobj
;
585 PyObject
* _obj0
= 0;
586 char *_kwnames
[] = { "in", NULL
};
589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
592 _arg0
= wxString_in_helper(_obj0
);
597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
598 _result
= new wxString (wxStripMenuCodes(*_arg0
));
600 wxPyEndAllowThreads(__tstate
);
601 if (PyErr_Occurred()) return NULL
;
604 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
606 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
619 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
620 PyObject
* _resultobj
;
622 char *_kwnames
[] = { NULL
};
625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
629 _result
= new wxString (wxGetEmailAddress());
631 wxPyEndAllowThreads(__tstate
);
632 if (PyErr_Occurred()) return NULL
;
635 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
637 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
646 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
649 char *_kwnames
[] = { NULL
};
652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
656 _result
= new wxString (wxGetHostName());
658 wxPyEndAllowThreads(__tstate
);
659 if (PyErr_Occurred()) return NULL
;
662 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
664 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
673 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
674 PyObject
* _resultobj
;
676 char *_kwnames
[] = { NULL
};
679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
683 _result
= new wxString (wxGetFullHostName());
685 wxPyEndAllowThreads(__tstate
);
686 if (PyErr_Occurred()) return NULL
;
689 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
691 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
700 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
701 PyObject
* _resultobj
;
703 char *_kwnames
[] = { NULL
};
706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
710 _result
= new wxString (wxGetUserId());
712 wxPyEndAllowThreads(__tstate
);
713 if (PyErr_Occurred()) return NULL
;
716 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
718 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
727 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
728 PyObject
* _resultobj
;
730 char *_kwnames
[] = { NULL
};
733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
737 _result
= new wxString (wxGetUserName());
739 wxPyEndAllowThreads(__tstate
);
740 if (PyErr_Occurred()) return NULL
;
743 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
745 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
754 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
755 PyObject
* _resultobj
;
757 char *_kwnames
[] = { NULL
};
760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
764 _result
= new wxString (wxGetHomeDir());
766 wxPyEndAllowThreads(__tstate
);
767 if (PyErr_Occurred()) return NULL
;
770 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
772 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
781 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
782 PyObject
* _resultobj
;
784 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
785 PyObject
* _obj0
= 0;
786 char *_kwnames
[] = { "user", NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxGetUserHome",_kwnames
,&_obj0
))
793 _arg0
= wxString_in_helper(_obj0
);
798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
799 _result
= new wxString (wxGetUserHome(*_arg0
));
801 wxPyEndAllowThreads(__tstate
);
802 if (PyErr_Occurred()) return NULL
;
805 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
807 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
820 static PyObject
*_wrap_wxGetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
822 unsigned long _result
;
823 char *_kwnames
[] = { NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetProcessId",_kwnames
))
829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
830 _result
= (unsigned long )wxGetProcessId();
832 wxPyEndAllowThreads(__tstate
);
833 if (PyErr_Occurred()) return NULL
;
834 } _resultobj
= Py_BuildValue("l",_result
);
838 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
839 PyObject
* _resultobj
;
840 wxAcceleratorEntry
* _result
;
842 PyObject
* _obj0
= 0;
843 char *_kwnames
[] = { "label", NULL
};
847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
850 _arg0
= wxString_in_helper(_obj0
);
855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
856 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
858 wxPyEndAllowThreads(__tstate
);
859 if (PyErr_Occurred()) return NULL
;
861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
862 _resultobj
= Py_BuildValue("s",_ptemp
);
865 _resultobj
= Py_None
;
874 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
876 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
880 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
884 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
885 pyobj
= PyString_FromString(ptemp
);
889 static wxString
wxObject_GetClassName(wxObject
*self
) {
890 return self
->GetClassInfo()->GetClassName();
892 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
893 PyObject
* _resultobj
;
896 PyObject
* _argo0
= 0;
897 char *_kwnames
[] = { "self", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
911 _result
= new wxString (wxObject_GetClassName(_arg0
));
913 wxPyEndAllowThreads(__tstate
);
914 if (PyErr_Occurred()) return NULL
;
917 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
919 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
928 static void wxObject_Destroy(wxObject
*self
) {
931 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
934 PyObject
* _argo0
= 0;
935 char *_kwnames
[] = { "self", NULL
};
938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
949 wxObject_Destroy(_arg0
);
951 wxPyEndAllowThreads(__tstate
);
952 if (PyErr_Occurred()) return NULL
;
953 } Py_INCREF(Py_None
);
954 _resultobj
= Py_None
;
958 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
959 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
960 PyObject
* _resultobj
;
965 PyObject
* _obj0
= 0;
966 char *_kwnames
[] = { "self","x", NULL
};
969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
973 if (! wxSize_helper(_obj0
, &_arg0
))
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) return NULL
;
982 } _resultobj
= Py_BuildValue("l",_result
);
986 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
987 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
992 PyObject
* _obj0
= 0;
993 char *_kwnames
[] = { "self", NULL
};
996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1000 if (! wxSize_helper(_obj0
, &_arg0
))
1004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1005 _result
= (long )wxSize_x_get(_arg0
);
1007 wxPyEndAllowThreads(__tstate
);
1008 if (PyErr_Occurred()) return NULL
;
1009 } _resultobj
= Py_BuildValue("l",_result
);
1013 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1014 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
* _resultobj
;
1020 PyObject
* _obj0
= 0;
1021 char *_kwnames
[] = { "self","y", NULL
};
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1028 if (! wxSize_helper(_obj0
, &_arg0
))
1032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1033 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1035 wxPyEndAllowThreads(__tstate
);
1036 if (PyErr_Occurred()) return NULL
;
1037 } _resultobj
= Py_BuildValue("l",_result
);
1041 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1042 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1047 PyObject
* _obj0
= 0;
1048 char *_kwnames
[] = { "self", NULL
};
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1055 if (! wxSize_helper(_obj0
, &_arg0
))
1059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1060 _result
= (long )wxSize_y_get(_arg0
);
1062 wxPyEndAllowThreads(__tstate
);
1063 if (PyErr_Occurred()) return NULL
;
1064 } _resultobj
= Py_BuildValue("l",_result
);
1068 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1069 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1072 long _arg0
= (long ) 0;
1073 long _arg1
= (long ) 0;
1074 char *_kwnames
[] = { "w","h", NULL
};
1078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1082 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1084 wxPyEndAllowThreads(__tstate
);
1085 if (PyErr_Occurred()) return NULL
;
1087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1088 _resultobj
= Py_BuildValue("s",_ptemp
);
1091 _resultobj
= Py_None
;
1096 #define delete_wxSize(_swigobj) (delete _swigobj)
1097 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1098 PyObject
* _resultobj
;
1101 PyObject
* _obj0
= 0;
1102 char *_kwnames
[] = { "self", NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1109 if (! wxSize_helper(_obj0
, &_arg0
))
1113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1114 delete_wxSize(_arg0
);
1116 wxPyEndAllowThreads(__tstate
);
1117 if (PyErr_Occurred()) return NULL
;
1118 } Py_INCREF(Py_None
);
1119 _resultobj
= Py_None
;
1123 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1124 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
* _resultobj
;
1130 PyObject
* _obj0
= 0;
1131 char *_kwnames
[] = { "self","w","h", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1138 if (! wxSize_helper(_obj0
, &_arg0
))
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 wxSize_Set(_arg0
,_arg1
,_arg2
);
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) return NULL
;
1147 } Py_INCREF(Py_None
);
1148 _resultobj
= Py_None
;
1152 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1153 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
* _resultobj
;
1158 PyObject
* _obj0
= 0;
1159 char *_kwnames
[] = { "self", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1166 if (! wxSize_helper(_obj0
, &_arg0
))
1170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1171 _result
= (long )wxSize_GetX(_arg0
);
1173 wxPyEndAllowThreads(__tstate
);
1174 if (PyErr_Occurred()) return NULL
;
1175 } _resultobj
= Py_BuildValue("l",_result
);
1179 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1180 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1181 PyObject
* _resultobj
;
1185 PyObject
* _obj0
= 0;
1186 char *_kwnames
[] = { "self", NULL
};
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1193 if (! wxSize_helper(_obj0
, &_arg0
))
1197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1198 _result
= (long )wxSize_GetY(_arg0
);
1200 wxPyEndAllowThreads(__tstate
);
1201 if (PyErr_Occurred()) return NULL
;
1202 } _resultobj
= Py_BuildValue("l",_result
);
1206 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1207 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1208 PyObject
* _resultobj
;
1212 PyObject
* _obj0
= 0;
1213 char *_kwnames
[] = { "self", NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1220 if (! wxSize_helper(_obj0
, &_arg0
))
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 _result
= (long )wxSize_GetWidth(_arg0
);
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) return NULL
;
1229 } _resultobj
= Py_BuildValue("l",_result
);
1233 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1234 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
* _resultobj
;
1239 PyObject
* _obj0
= 0;
1240 char *_kwnames
[] = { "self", NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1247 if (! wxSize_helper(_obj0
, &_arg0
))
1251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1252 _result
= (long )wxSize_GetHeight(_arg0
);
1254 wxPyEndAllowThreads(__tstate
);
1255 if (PyErr_Occurred()) return NULL
;
1256 } _resultobj
= Py_BuildValue("l",_result
);
1260 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1261 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
* _resultobj
;
1266 PyObject
* _obj0
= 0;
1267 char *_kwnames
[] = { "self","w", NULL
};
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1274 if (! wxSize_helper(_obj0
, &_arg0
))
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 wxSize_SetWidth(_arg0
,_arg1
);
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) return NULL
;
1283 } Py_INCREF(Py_None
);
1284 _resultobj
= Py_None
;
1288 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1289 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1294 PyObject
* _obj0
= 0;
1295 char *_kwnames
[] = { "self","h", NULL
};
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1302 if (! wxSize_helper(_obj0
, &_arg0
))
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 wxSize_SetHeight(_arg0
,_arg1
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1311 } Py_INCREF(Py_None
);
1312 _resultobj
= Py_None
;
1316 #define wxSize_IncTo(_swigobj,_swigarg0) (_swigobj->IncTo(_swigarg0))
1317 static PyObject
*_wrap_wxSize_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1322 PyObject
* _obj0
= 0;
1324 PyObject
* _obj1
= 0;
1325 char *_kwnames
[] = { "self","sz", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize_IncTo",_kwnames
,&_obj0
,&_obj1
))
1332 if (! wxSize_helper(_obj0
, &_arg0
))
1337 if (! wxSize_helper(_obj1
, &_arg1
))
1341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1342 wxSize_IncTo(_arg0
,*_arg1
);
1344 wxPyEndAllowThreads(__tstate
);
1345 if (PyErr_Occurred()) return NULL
;
1346 } Py_INCREF(Py_None
);
1347 _resultobj
= Py_None
;
1351 #define wxSize_DecTo(_swigobj,_swigarg0) (_swigobj->DecTo(_swigarg0))
1352 static PyObject
*_wrap_wxSize_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1357 PyObject
* _obj0
= 0;
1359 PyObject
* _obj1
= 0;
1360 char *_kwnames
[] = { "self","sz", NULL
};
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize_DecTo",_kwnames
,&_obj0
,&_obj1
))
1367 if (! wxSize_helper(_obj0
, &_arg0
))
1372 if (! wxSize_helper(_obj1
, &_arg1
))
1376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1377 wxSize_DecTo(_arg0
,*_arg1
);
1379 wxPyEndAllowThreads(__tstate
);
1380 if (PyErr_Occurred()) return NULL
;
1381 } Py_INCREF(Py_None
);
1382 _resultobj
= Py_None
;
1386 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1387 wxPyBeginBlockThreads();
1388 PyObject
* tup
= PyTuple_New(2);
1389 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1390 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1391 wxPyEndBlockThreads();
1394 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1399 PyObject
* _obj0
= 0;
1400 char *_kwnames
[] = { "self", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1407 if (! wxSize_helper(_obj0
, &_arg0
))
1411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1412 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1414 wxPyEndAllowThreads(__tstate
);
1415 if (PyErr_Occurred()) return NULL
;
1417 _resultobj
= _result
;
1422 static bool wxSize___eq__(wxSize
*self
,PyObject
* obj
) {
1425 if (obj
== Py_None
) return FALSE
;
1426 wxPyBLOCK_THREADS(bool success
= wxSize_helper(obj
, &ptr
); PyErr_Clear());
1427 if (! success
) return FALSE
;
1428 return *self
== *ptr
;
1430 static PyObject
*_wrap_wxSize___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1436 PyObject
* _obj0
= 0;
1437 PyObject
* _obj1
= 0;
1438 char *_kwnames
[] = { "self","obj", NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___eq__",_kwnames
,&_obj0
,&_obj1
))
1445 if (! wxSize_helper(_obj0
, &_arg0
))
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 _result
= (bool )wxSize___eq__(_arg0
,_arg1
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) return NULL
;
1457 } _resultobj
= Py_BuildValue("i",_result
);
1461 static bool wxSize___ne__(wxSize
*self
,PyObject
* obj
) {
1464 if (obj
== Py_None
) return TRUE
;
1465 wxPyBLOCK_THREADS(bool success
= wxSize_helper(obj
, &ptr
); PyErr_Clear());
1466 if (! success
) return TRUE
;
1467 return *self
!= *ptr
;
1469 static PyObject
*_wrap_wxSize___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
* _resultobj
;
1475 PyObject
* _obj0
= 0;
1476 PyObject
* _obj1
= 0;
1477 char *_kwnames
[] = { "self","obj", NULL
};
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___ne__",_kwnames
,&_obj0
,&_obj1
))
1484 if (! wxSize_helper(_obj0
, &_arg0
))
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 _result
= (bool )wxSize___ne__(_arg0
,_arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1496 } _resultobj
= Py_BuildValue("i",_result
);
1500 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1501 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1504 wxRealPoint
* _arg0
;
1507 PyObject
* _obj0
= 0;
1508 char *_kwnames
[] = { "self","x", NULL
};
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1515 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1520 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1522 wxPyEndAllowThreads(__tstate
);
1523 if (PyErr_Occurred()) return NULL
;
1524 } _resultobj
= Py_BuildValue("d",_result
);
1528 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1529 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1532 wxRealPoint
* _arg0
;
1534 PyObject
* _obj0
= 0;
1535 char *_kwnames
[] = { "self", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1542 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 _result
= (double )wxRealPoint_x_get(_arg0
);
1549 wxPyEndAllowThreads(__tstate
);
1550 if (PyErr_Occurred()) return NULL
;
1551 } _resultobj
= Py_BuildValue("d",_result
);
1555 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1556 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
* _resultobj
;
1559 wxRealPoint
* _arg0
;
1562 PyObject
* _obj0
= 0;
1563 char *_kwnames
[] = { "self","y", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1570 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) return NULL
;
1579 } _resultobj
= Py_BuildValue("d",_result
);
1583 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1584 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1587 wxRealPoint
* _arg0
;
1589 PyObject
* _obj0
= 0;
1590 char *_kwnames
[] = { "self", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1597 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 _result
= (double )wxRealPoint_y_get(_arg0
);
1604 wxPyEndAllowThreads(__tstate
);
1605 if (PyErr_Occurred()) return NULL
;
1606 } _resultobj
= Py_BuildValue("d",_result
);
1610 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1611 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1613 wxRealPoint
* _result
;
1614 double _arg0
= (double ) 0.0;
1615 double _arg1
= (double ) 0.0;
1616 char *_kwnames
[] = { "x","y", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1624 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1626 wxPyEndAllowThreads(__tstate
);
1627 if (PyErr_Occurred()) return NULL
;
1629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1630 _resultobj
= Py_BuildValue("s",_ptemp
);
1633 _resultobj
= Py_None
;
1638 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1639 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
* _resultobj
;
1641 wxRealPoint
* _arg0
;
1643 PyObject
* _obj0
= 0;
1644 char *_kwnames
[] = { "self", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1651 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 delete_wxRealPoint(_arg0
);
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) return NULL
;
1660 } Py_INCREF(Py_None
);
1661 _resultobj
= Py_None
;
1665 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1669 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1671 wxRealPoint
* _arg0
;
1675 PyObject
* _obj0
= 0;
1676 char *_kwnames
[] = { "self","x","y", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1683 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) return NULL
;
1692 } Py_INCREF(Py_None
);
1693 _resultobj
= Py_None
;
1697 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1698 wxPyBeginBlockThreads();
1699 PyObject
* tup
= PyTuple_New(2);
1700 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1701 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1702 wxPyEndBlockThreads();
1705 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1708 wxRealPoint
* _arg0
;
1710 PyObject
* _obj0
= 0;
1711 char *_kwnames
[] = { "self", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1718 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) return NULL
;
1728 _resultobj
= _result
;
1733 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
& p
) {
1736 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1738 wxRealPoint
* _result
;
1739 wxRealPoint
* _arg0
;
1740 wxRealPoint
* _arg1
;
1742 PyObject
* _obj0
= 0;
1744 PyObject
* _obj1
= 0;
1745 char *_kwnames
[] = { "self","p", NULL
};
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1753 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1758 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,*_arg1
));
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) return NULL
;
1767 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1768 _resultobj
= Py_BuildValue("s",_ptemp
);
1772 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
& p
) {
1775 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1777 wxRealPoint
* _result
;
1778 wxRealPoint
* _arg0
;
1779 wxRealPoint
* _arg1
;
1781 PyObject
* _obj0
= 0;
1783 PyObject
* _obj1
= 0;
1784 char *_kwnames
[] = { "self","p", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1792 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1797 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,*_arg1
));
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) return NULL
;
1806 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1807 _resultobj
= Py_BuildValue("s",_ptemp
);
1811 static bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
* obj
) {
1813 wxRealPoint
* ptr
= &tmp
;
1814 if (obj
== Py_None
) return FALSE
;
1815 wxPyBLOCK_THREADS(bool success
= wxRealPoint_helper(obj
, &ptr
); PyErr_Clear());
1816 if (! success
) return FALSE
;
1817 return *self
== *ptr
;
1819 static PyObject
*_wrap_wxRealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
* _resultobj
;
1822 wxRealPoint
* _arg0
;
1825 PyObject
* _obj0
= 0;
1826 PyObject
* _obj1
= 0;
1827 char *_kwnames
[] = { "self","obj", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___eq__",_kwnames
,&_obj0
,&_obj1
))
1834 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1842 _result
= (bool )wxRealPoint___eq__(_arg0
,_arg1
);
1844 wxPyEndAllowThreads(__tstate
);
1845 if (PyErr_Occurred()) return NULL
;
1846 } _resultobj
= Py_BuildValue("i",_result
);
1850 static bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
* obj
) {
1852 wxRealPoint
* ptr
= &tmp
;
1853 if (obj
== Py_None
) return TRUE
;
1854 wxPyBLOCK_THREADS(bool success
= wxRealPoint_helper(obj
, &ptr
); PyErr_Clear());
1855 if (! success
) return TRUE
;
1856 return *self
!= *ptr
;
1858 static PyObject
*_wrap_wxRealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
* _resultobj
;
1861 wxRealPoint
* _arg0
;
1864 PyObject
* _obj0
= 0;
1865 PyObject
* _obj1
= 0;
1866 char *_kwnames
[] = { "self","obj", NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___ne__",_kwnames
,&_obj0
,&_obj1
))
1873 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 _result
= (bool )wxRealPoint___ne__(_arg0
,_arg1
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) return NULL
;
1885 } _resultobj
= Py_BuildValue("i",_result
);
1889 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1890 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
* _resultobj
;
1896 PyObject
* _obj0
= 0;
1897 char *_kwnames
[] = { "self","x", NULL
};
1900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1904 if (! wxPoint_helper(_obj0
, &_arg0
))
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) return NULL
;
1913 } _resultobj
= Py_BuildValue("l",_result
);
1917 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1918 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1923 PyObject
* _obj0
= 0;
1924 char *_kwnames
[] = { "self", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1931 if (! wxPoint_helper(_obj0
, &_arg0
))
1935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 _result
= (long )wxPoint_x_get(_arg0
);
1938 wxPyEndAllowThreads(__tstate
);
1939 if (PyErr_Occurred()) return NULL
;
1940 } _resultobj
= Py_BuildValue("l",_result
);
1944 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1945 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
* _resultobj
;
1951 PyObject
* _obj0
= 0;
1952 char *_kwnames
[] = { "self","y", NULL
};
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1959 if (! wxPoint_helper(_obj0
, &_arg0
))
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) return NULL
;
1968 } _resultobj
= Py_BuildValue("l",_result
);
1972 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1973 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1974 PyObject
* _resultobj
;
1978 PyObject
* _obj0
= 0;
1979 char *_kwnames
[] = { "self", NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
1986 if (! wxPoint_helper(_obj0
, &_arg0
))
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 _result
= (long )wxPoint_y_get(_arg0
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) return NULL
;
1995 } _resultobj
= Py_BuildValue("l",_result
);
1999 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
2000 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 long _arg0
= (long ) 0;
2004 long _arg1
= (long ) 0;
2005 char *_kwnames
[] = { "x","y", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) return NULL
;
2018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2019 _resultobj
= Py_BuildValue("s",_ptemp
);
2022 _resultobj
= Py_None
;
2027 #define delete_wxPoint(_swigobj) (delete _swigobj)
2028 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2032 PyObject
* _obj0
= 0;
2033 char *_kwnames
[] = { "self", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
2040 if (! wxPoint_helper(_obj0
, &_arg0
))
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 delete_wxPoint(_arg0
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) return NULL
;
2049 } Py_INCREF(Py_None
);
2050 _resultobj
= Py_None
;
2054 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
2058 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2059 PyObject
* _resultobj
;
2064 PyObject
* _obj0
= 0;
2065 char *_kwnames
[] = { "self","x","y", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2072 if (! wxPoint_helper(_obj0
, &_arg0
))
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) return NULL
;
2081 } Py_INCREF(Py_None
);
2082 _resultobj
= Py_None
;
2086 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2087 wxPyBeginBlockThreads();
2088 PyObject
* tup
= PyTuple_New(2);
2089 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2090 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2091 wxPyEndBlockThreads();
2094 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2099 PyObject
* _obj0
= 0;
2100 char *_kwnames
[] = { "self", NULL
};
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2107 if (! wxPoint_helper(_obj0
, &_arg0
))
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) return NULL
;
2117 _resultobj
= _result
;
2122 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
& p
) {
2125 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2131 PyObject
* _obj0
= 0;
2133 PyObject
* _obj1
= 0;
2134 char *_kwnames
[] = { "self","p", NULL
};
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2142 if (! wxPoint_helper(_obj0
, &_arg0
))
2147 if (! wxPoint_helper(_obj1
, &_arg1
))
2151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2152 _result
= new wxPoint (wxPoint___add__(_arg0
,*_arg1
));
2154 wxPyEndAllowThreads(__tstate
);
2155 if (PyErr_Occurred()) return NULL
;
2156 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2157 _resultobj
= Py_BuildValue("s",_ptemp
);
2161 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
& p
) {
2164 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
* _resultobj
;
2170 PyObject
* _obj0
= 0;
2172 PyObject
* _obj1
= 0;
2173 char *_kwnames
[] = { "self","p", NULL
};
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2181 if (! wxPoint_helper(_obj0
, &_arg0
))
2186 if (! wxPoint_helper(_obj1
, &_arg1
))
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 _result
= new wxPoint (wxPoint___sub__(_arg0
,*_arg1
));
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2196 _resultobj
= Py_BuildValue("s",_ptemp
);
2200 static bool wxPoint___eq__(wxPoint
*self
,PyObject
* obj
) {
2202 wxPoint
* ptr
= &tmp
;
2203 if (obj
== Py_None
) return FALSE
;
2204 wxPyBLOCK_THREADS(bool success
= wxPoint_helper(obj
, &ptr
); PyErr_Clear());
2205 if (! success
) return FALSE
;
2206 return *self
== *ptr
;
2208 static PyObject
*_wrap_wxPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
* _resultobj
;
2214 PyObject
* _obj0
= 0;
2215 PyObject
* _obj1
= 0;
2216 char *_kwnames
[] = { "self","obj", NULL
};
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___eq__",_kwnames
,&_obj0
,&_obj1
))
2223 if (! wxPoint_helper(_obj0
, &_arg0
))
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 _result
= (bool )wxPoint___eq__(_arg0
,_arg1
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) return NULL
;
2235 } _resultobj
= Py_BuildValue("i",_result
);
2239 static bool wxPoint___ne__(wxPoint
*self
,PyObject
* obj
) {
2241 wxPoint
* ptr
= &tmp
;
2242 if (obj
== Py_None
) return TRUE
;
2243 wxPyBLOCK_THREADS(bool success
= wxPoint_helper(obj
, &ptr
); PyErr_Clear());
2244 if (! success
) return TRUE
;
2245 return *self
!= *ptr
;
2247 static PyObject
*_wrap_wxPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2253 PyObject
* _obj0
= 0;
2254 PyObject
* _obj1
= 0;
2255 char *_kwnames
[] = { "self","obj", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___ne__",_kwnames
,&_obj0
,&_obj1
))
2262 if (! wxPoint_helper(_obj0
, &_arg0
))
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 _result
= (bool )wxPoint___ne__(_arg0
,_arg1
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) return NULL
;
2274 } _resultobj
= Py_BuildValue("i",_result
);
2278 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2279 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2282 int _arg0
= (int ) 0;
2283 int _arg1
= (int ) 0;
2284 int _arg2
= (int ) 0;
2285 int _arg3
= (int ) 0;
2286 char *_kwnames
[] = { "x","y","width","height", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) return NULL
;
2299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2300 _resultobj
= Py_BuildValue("s",_ptemp
);
2303 _resultobj
= Py_None
;
2308 #define delete_wxRect(_swigobj) (delete _swigobj)
2309 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
* _resultobj
;
2313 PyObject
* _obj0
= 0;
2314 char *_kwnames
[] = { "self", NULL
};
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2321 if (! wxRect_helper(_obj0
, &_arg0
))
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 delete_wxRect(_arg0
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) return NULL
;
2330 } Py_INCREF(Py_None
);
2331 _resultobj
= Py_None
;
2335 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2336 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2341 PyObject
* _obj0
= 0;
2342 char *_kwnames
[] = { "self", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2349 if (! wxRect_helper(_obj0
, &_arg0
))
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 _result
= (int )wxRect_GetX(_arg0
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) return NULL
;
2358 } _resultobj
= Py_BuildValue("i",_result
);
2362 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2363 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2368 PyObject
* _obj0
= 0;
2369 char *_kwnames
[] = { "self","X", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2376 if (! wxRect_helper(_obj0
, &_arg0
))
2380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2381 wxRect_SetX(_arg0
,_arg1
);
2383 wxPyEndAllowThreads(__tstate
);
2384 if (PyErr_Occurred()) return NULL
;
2385 } Py_INCREF(Py_None
);
2386 _resultobj
= Py_None
;
2390 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2391 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
* _resultobj
;
2396 PyObject
* _obj0
= 0;
2397 char *_kwnames
[] = { "self", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2404 if (! wxRect_helper(_obj0
, &_arg0
))
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 _result
= (int )wxRect_GetY(_arg0
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) return NULL
;
2413 } _resultobj
= Py_BuildValue("i",_result
);
2417 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2418 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
* _resultobj
;
2423 PyObject
* _obj0
= 0;
2424 char *_kwnames
[] = { "self","Y", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2431 if (! wxRect_helper(_obj0
, &_arg0
))
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 wxRect_SetY(_arg0
,_arg1
);
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) return NULL
;
2440 } Py_INCREF(Py_None
);
2441 _resultobj
= Py_None
;
2445 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2446 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2451 PyObject
* _obj0
= 0;
2452 char *_kwnames
[] = { "self", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2459 if (! wxRect_helper(_obj0
, &_arg0
))
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 _result
= (int )wxRect_GetWidth(_arg0
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) return NULL
;
2468 } _resultobj
= Py_BuildValue("i",_result
);
2472 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2473 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
* _resultobj
;
2478 PyObject
* _obj0
= 0;
2479 char *_kwnames
[] = { "self","w", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2486 if (! wxRect_helper(_obj0
, &_arg0
))
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 wxRect_SetWidth(_arg0
,_arg1
);
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) return NULL
;
2495 } Py_INCREF(Py_None
);
2496 _resultobj
= Py_None
;
2500 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2501 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
* _resultobj
;
2506 PyObject
* _obj0
= 0;
2507 char *_kwnames
[] = { "self", NULL
};
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2514 if (! wxRect_helper(_obj0
, &_arg0
))
2518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2519 _result
= (int )wxRect_GetHeight(_arg0
);
2521 wxPyEndAllowThreads(__tstate
);
2522 if (PyErr_Occurred()) return NULL
;
2523 } _resultobj
= Py_BuildValue("i",_result
);
2527 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2528 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2533 PyObject
* _obj0
= 0;
2534 char *_kwnames
[] = { "self","h", NULL
};
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2541 if (! wxRect_helper(_obj0
, &_arg0
))
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 wxRect_SetHeight(_arg0
,_arg1
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) return NULL
;
2550 } Py_INCREF(Py_None
);
2551 _resultobj
= Py_None
;
2555 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2556 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2561 PyObject
* _obj0
= 0;
2562 char *_kwnames
[] = { "self", NULL
};
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2570 if (! wxRect_helper(_obj0
, &_arg0
))
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) return NULL
;
2579 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2580 _resultobj
= Py_BuildValue("s",_ptemp
);
2584 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2585 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2590 PyObject
* _obj0
= 0;
2591 char *_kwnames
[] = { "self", NULL
};
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2599 if (! wxRect_helper(_obj0
, &_arg0
))
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 _result
= new wxSize (wxRect_GetSize(_arg0
));
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) return NULL
;
2608 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2609 _resultobj
= Py_BuildValue("s",_ptemp
);
2613 #define wxRect_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2614 static PyObject
*_wrap_wxRect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
* _resultobj
;
2619 PyObject
* _obj0
= 0;
2621 PyObject
* _obj1
= 0;
2622 char *_kwnames
[] = { "self","p", NULL
};
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetPosition",_kwnames
,&_obj0
,&_obj1
))
2629 if (! wxRect_helper(_obj0
, &_arg0
))
2634 if (! wxPoint_helper(_obj1
, &_arg1
))
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 wxRect_SetPosition(_arg0
,*_arg1
);
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) return NULL
;
2643 } Py_INCREF(Py_None
);
2644 _resultobj
= Py_None
;
2648 #define wxRect_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2649 static PyObject
*_wrap_wxRect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
* _resultobj
;
2654 PyObject
* _obj0
= 0;
2656 PyObject
* _obj1
= 0;
2657 char *_kwnames
[] = { "self","s", NULL
};
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetSize",_kwnames
,&_obj0
,&_obj1
))
2664 if (! wxRect_helper(_obj0
, &_arg0
))
2669 if (! wxSize_helper(_obj1
, &_arg1
))
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 wxRect_SetSize(_arg0
,*_arg1
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) return NULL
;
2678 } Py_INCREF(Py_None
);
2679 _resultobj
= Py_None
;
2683 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2684 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2689 PyObject
* _obj0
= 0;
2690 char *_kwnames
[] = { "self", NULL
};
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2697 if (! wxRect_helper(_obj0
, &_arg0
))
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 _result
= (int )wxRect_GetLeft(_arg0
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) return NULL
;
2706 } _resultobj
= Py_BuildValue("i",_result
);
2710 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2711 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
* _resultobj
;
2716 PyObject
* _obj0
= 0;
2717 char *_kwnames
[] = { "self", NULL
};
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2724 if (! wxRect_helper(_obj0
, &_arg0
))
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 _result
= (int )wxRect_GetTop(_arg0
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) return NULL
;
2733 } _resultobj
= Py_BuildValue("i",_result
);
2737 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2738 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2743 PyObject
* _obj0
= 0;
2744 char *_kwnames
[] = { "self", NULL
};
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2751 if (! wxRect_helper(_obj0
, &_arg0
))
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 _result
= (int )wxRect_GetBottom(_arg0
);
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) return NULL
;
2760 } _resultobj
= Py_BuildValue("i",_result
);
2764 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2765 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2770 PyObject
* _obj0
= 0;
2771 char *_kwnames
[] = { "self", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2778 if (! wxRect_helper(_obj0
, &_arg0
))
2782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2783 _result
= (int )wxRect_GetRight(_arg0
);
2785 wxPyEndAllowThreads(__tstate
);
2786 if (PyErr_Occurred()) return NULL
;
2787 } _resultobj
= Py_BuildValue("i",_result
);
2791 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2792 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
* _resultobj
;
2797 PyObject
* _obj0
= 0;
2798 char *_kwnames
[] = { "self","left", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2805 if (! wxRect_helper(_obj0
, &_arg0
))
2809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2810 wxRect_SetLeft(_arg0
,_arg1
);
2812 wxPyEndAllowThreads(__tstate
);
2813 if (PyErr_Occurred()) return NULL
;
2814 } Py_INCREF(Py_None
);
2815 _resultobj
= Py_None
;
2819 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2820 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2825 PyObject
* _obj0
= 0;
2826 char *_kwnames
[] = { "self","right", NULL
};
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2833 if (! wxRect_helper(_obj0
, &_arg0
))
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 wxRect_SetRight(_arg0
,_arg1
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) return NULL
;
2842 } Py_INCREF(Py_None
);
2843 _resultobj
= Py_None
;
2847 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2848 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
* _resultobj
;
2853 PyObject
* _obj0
= 0;
2854 char *_kwnames
[] = { "self","top", NULL
};
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2861 if (! wxRect_helper(_obj0
, &_arg0
))
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 wxRect_SetTop(_arg0
,_arg1
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) return NULL
;
2870 } Py_INCREF(Py_None
);
2871 _resultobj
= Py_None
;
2875 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2876 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
* _resultobj
;
2881 PyObject
* _obj0
= 0;
2882 char *_kwnames
[] = { "self","bottom", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2889 if (! wxRect_helper(_obj0
, &_arg0
))
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 wxRect_SetBottom(_arg0
,_arg1
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) return NULL
;
2898 } Py_INCREF(Py_None
);
2899 _resultobj
= Py_None
;
2903 #define wxRect_Deflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Deflate(_swigarg0,_swigarg1))
2904 static PyObject
*_wrap_wxRect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
* _resultobj
;
2910 PyObject
* _obj0
= 0;
2911 char *_kwnames
[] = { "self","dx","dy", NULL
};
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Deflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2918 if (! wxRect_helper(_obj0
, &_arg0
))
2922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2923 wxRect_Deflate(_arg0
,_arg1
,_arg2
);
2925 wxPyEndAllowThreads(__tstate
);
2926 if (PyErr_Occurred()) return NULL
;
2927 } Py_INCREF(Py_None
);
2928 _resultobj
= Py_None
;
2932 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2933 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2939 PyObject
* _obj0
= 0;
2940 char *_kwnames
[] = { "self","dx","dy", NULL
};
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2947 if (! wxRect_helper(_obj0
, &_arg0
))
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) return NULL
;
2956 } Py_INCREF(Py_None
);
2957 _resultobj
= Py_None
;
2961 #define wxRect_InsideXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2962 static PyObject
*_wrap_wxRect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
* _resultobj
;
2969 PyObject
* _obj0
= 0;
2970 char *_kwnames
[] = { "self","cx","cy", NULL
};
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_InsideXY",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2977 if (! wxRect_helper(_obj0
, &_arg0
))
2981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 _result
= (bool )wxRect_InsideXY(_arg0
,_arg1
,_arg2
);
2984 wxPyEndAllowThreads(__tstate
);
2985 if (PyErr_Occurred()) return NULL
;
2986 } _resultobj
= Py_BuildValue("i",_result
);
2990 #define wxRect_Inside(_swigobj,_swigarg0) (_swigobj->Inside(_swigarg0))
2991 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
* _resultobj
;
2997 PyObject
* _obj0
= 0;
2999 PyObject
* _obj1
= 0;
3000 char *_kwnames
[] = { "self","pt", NULL
};
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Inside",_kwnames
,&_obj0
,&_obj1
))
3007 if (! wxRect_helper(_obj0
, &_arg0
))
3012 if (! wxPoint_helper(_obj1
, &_arg1
))
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 _result
= (bool )wxRect_Inside(_arg0
,*_arg1
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) return NULL
;
3021 } _resultobj
= Py_BuildValue("i",_result
);
3025 #define wxRect_Intersects(_swigobj,_swigarg0) (_swigobj->Intersects(_swigarg0))
3026 static PyObject
*_wrap_wxRect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
* _resultobj
;
3032 PyObject
* _obj0
= 0;
3034 PyObject
* _obj1
= 0;
3035 char *_kwnames
[] = { "self","rect", NULL
};
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Intersects",_kwnames
,&_obj0
,&_obj1
))
3042 if (! wxRect_helper(_obj0
, &_arg0
))
3047 if (! wxRect_helper(_obj1
, &_arg1
))
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 _result
= (bool )wxRect_Intersects(_arg0
,*_arg1
);
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) return NULL
;
3056 } _resultobj
= Py_BuildValue("i",_result
);
3060 #define wxRect_OffsetXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
3061 static PyObject
*_wrap_wxRect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
* _resultobj
;
3067 PyObject
* _obj0
= 0;
3068 char *_kwnames
[] = { "self","dx","dy", NULL
};
3071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_OffsetXY",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3075 if (! wxRect_helper(_obj0
, &_arg0
))
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 wxRect_OffsetXY(_arg0
,_arg1
,_arg2
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) return NULL
;
3084 } Py_INCREF(Py_None
);
3085 _resultobj
= Py_None
;
3089 #define wxRect_Offset(_swigobj,_swigarg0) (_swigobj->Offset(_swigarg0))
3090 static PyObject
*_wrap_wxRect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3095 PyObject
* _obj0
= 0;
3097 PyObject
* _obj1
= 0;
3098 char *_kwnames
[] = { "self","pt", NULL
};
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Offset",_kwnames
,&_obj0
,&_obj1
))
3105 if (! wxRect_helper(_obj0
, &_arg0
))
3110 if (! wxPoint_helper(_obj1
, &_arg1
))
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 wxRect_Offset(_arg0
,*_arg1
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) return NULL
;
3119 } Py_INCREF(Py_None
);
3120 _resultobj
= Py_None
;
3124 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
3125 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3131 PyObject
* _obj0
= 0;
3132 char *_kwnames
[] = { "self","x", NULL
};
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
3139 if (! wxRect_helper(_obj0
, &_arg0
))
3143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3144 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
3146 wxPyEndAllowThreads(__tstate
);
3147 if (PyErr_Occurred()) return NULL
;
3148 } _resultobj
= Py_BuildValue("i",_result
);
3152 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
3153 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
* _resultobj
;
3158 PyObject
* _obj0
= 0;
3159 char *_kwnames
[] = { "self", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
3166 if (! wxRect_helper(_obj0
, &_arg0
))
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 _result
= (int )wxRect_x_get(_arg0
);
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) return NULL
;
3175 } _resultobj
= Py_BuildValue("i",_result
);
3179 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
3180 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3186 PyObject
* _obj0
= 0;
3187 char *_kwnames
[] = { "self","y", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
3194 if (! wxRect_helper(_obj0
, &_arg0
))
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) return NULL
;
3203 } _resultobj
= Py_BuildValue("i",_result
);
3207 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
3208 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
* _resultobj
;
3213 PyObject
* _obj0
= 0;
3214 char *_kwnames
[] = { "self", NULL
};
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
3221 if (! wxRect_helper(_obj0
, &_arg0
))
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 _result
= (int )wxRect_y_get(_arg0
);
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) return NULL
;
3230 } _resultobj
= Py_BuildValue("i",_result
);
3234 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
3235 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3241 PyObject
* _obj0
= 0;
3242 char *_kwnames
[] = { "self","width", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
3249 if (! wxRect_helper(_obj0
, &_arg0
))
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) return NULL
;
3258 } _resultobj
= Py_BuildValue("i",_result
);
3262 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
3263 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
* _resultobj
;
3268 PyObject
* _obj0
= 0;
3269 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
3276 if (! wxRect_helper(_obj0
, &_arg0
))
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3281 _result
= (int )wxRect_width_get(_arg0
);
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) return NULL
;
3285 } _resultobj
= Py_BuildValue("i",_result
);
3289 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
3290 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3291 PyObject
* _resultobj
;
3296 PyObject
* _obj0
= 0;
3297 char *_kwnames
[] = { "self","height", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
3304 if (! wxRect_helper(_obj0
, &_arg0
))
3308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3309 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
3311 wxPyEndAllowThreads(__tstate
);
3312 if (PyErr_Occurred()) return NULL
;
3313 } _resultobj
= Py_BuildValue("i",_result
);
3317 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
3318 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3323 PyObject
* _obj0
= 0;
3324 char *_kwnames
[] = { "self", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
3331 if (! wxRect_helper(_obj0
, &_arg0
))
3335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3336 _result
= (int )wxRect_height_get(_arg0
);
3338 wxPyEndAllowThreads(__tstate
);
3339 if (PyErr_Occurred()) return NULL
;
3340 } _resultobj
= Py_BuildValue("i",_result
);
3344 static void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
) {
3347 self
->width
= width
;
3348 self
->height
= height
;
3350 static PyObject
*_wrap_wxRect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3353 int _arg1
= (int ) 0;
3354 int _arg2
= (int ) 0;
3355 int _arg3
= (int ) 0;
3356 int _arg4
= (int ) 0;
3358 PyObject
* _obj0
= 0;
3359 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiii:wxRect_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3366 if (! wxRect_helper(_obj0
, &_arg0
))
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 wxRect_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) return NULL
;
3375 } Py_INCREF(Py_None
);
3376 _resultobj
= Py_None
;
3380 static PyObject
* wxRect_asTuple(wxRect
*self
) {
3381 wxPyBeginBlockThreads();
3382 PyObject
* tup
= PyTuple_New(4);
3383 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3384 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3385 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3386 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3387 wxPyEndBlockThreads();
3390 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3395 PyObject
* _obj0
= 0;
3396 char *_kwnames
[] = { "self", NULL
};
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
3403 if (! wxRect_helper(_obj0
, &_arg0
))
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) return NULL
;
3413 _resultobj
= _result
;
3418 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
& rect
) {
3419 return *self
+ rect
;
3421 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3427 PyObject
* _obj0
= 0;
3429 PyObject
* _obj1
= 0;
3430 char *_kwnames
[] = { "self","rect", NULL
};
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3438 if (! wxRect_helper(_obj0
, &_arg0
))
3443 if (! wxRect_helper(_obj1
, &_arg1
))
3447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3448 _result
= new wxRect (wxRect___add__(_arg0
,*_arg1
));
3450 wxPyEndAllowThreads(__tstate
);
3451 if (PyErr_Occurred()) return NULL
;
3452 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3453 _resultobj
= Py_BuildValue("s",_ptemp
);
3457 static bool wxRect___eq__(wxRect
*self
,PyObject
* obj
) {
3460 if (obj
== Py_None
) return FALSE
;
3461 wxPyBLOCK_THREADS(bool success
= wxRect_helper(obj
, &ptr
); PyErr_Clear());
3462 if (! success
) return FALSE
;
3463 return *self
== *ptr
;
3465 static PyObject
*_wrap_wxRect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
* _resultobj
;
3471 PyObject
* _obj0
= 0;
3472 PyObject
* _obj1
= 0;
3473 char *_kwnames
[] = { "self","obj", NULL
};
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___eq__",_kwnames
,&_obj0
,&_obj1
))
3480 if (! wxRect_helper(_obj0
, &_arg0
))
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 _result
= (bool )wxRect___eq__(_arg0
,_arg1
);
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) return NULL
;
3492 } _resultobj
= Py_BuildValue("i",_result
);
3496 static bool wxRect___ne__(wxRect
*self
,PyObject
* obj
) {
3499 if (obj
== Py_None
) return TRUE
;
3500 wxPyBLOCK_THREADS(bool success
= wxRect_helper(obj
, &ptr
); PyErr_Clear());
3501 if (! success
) return TRUE
;
3502 return *self
!= *ptr
;
3504 static PyObject
*_wrap_wxRect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
* _resultobj
;
3510 PyObject
* _obj0
= 0;
3511 PyObject
* _obj1
= 0;
3512 char *_kwnames
[] = { "self","obj", NULL
};
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___ne__",_kwnames
,&_obj0
,&_obj1
))
3519 if (! wxRect_helper(_obj0
, &_arg0
))
3526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3527 _result
= (bool )wxRect___ne__(_arg0
,_arg1
);
3529 wxPyEndAllowThreads(__tstate
);
3530 if (PyErr_Occurred()) return NULL
;
3531 } _resultobj
= Py_BuildValue("i",_result
);
3535 #define wxPoint2DDouble_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3536 static PyObject
*_wrap_wxPoint2DDouble_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
* _resultobj
;
3539 wxPoint2DDouble
* _arg0
;
3541 wxPoint2DDouble temp
;
3542 PyObject
* _obj0
= 0;
3543 char *_kwnames
[] = { "self","m_x", NULL
};
3546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_m_x_set",_kwnames
,&_obj0
,&_arg1
))
3550 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 _result
= (double )wxPoint2DDouble_m_x_set(_arg0
,_arg1
);
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) return NULL
;
3559 } _resultobj
= Py_BuildValue("d",_result
);
3563 #define wxPoint2DDouble_m_x_get(_swigobj) ((double ) _swigobj->m_x)
3564 static PyObject
*_wrap_wxPoint2DDouble_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3567 wxPoint2DDouble
* _arg0
;
3568 wxPoint2DDouble temp
;
3569 PyObject
* _obj0
= 0;
3570 char *_kwnames
[] = { "self", NULL
};
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_m_x_get",_kwnames
,&_obj0
))
3577 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 _result
= (double )wxPoint2DDouble_m_x_get(_arg0
);
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) return NULL
;
3586 } _resultobj
= Py_BuildValue("d",_result
);
3590 #define wxPoint2DDouble_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3591 static PyObject
*_wrap_wxPoint2DDouble_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
* _resultobj
;
3594 wxPoint2DDouble
* _arg0
;
3596 wxPoint2DDouble temp
;
3597 PyObject
* _obj0
= 0;
3598 char *_kwnames
[] = { "self","m_y", NULL
};
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_m_y_set",_kwnames
,&_obj0
,&_arg1
))
3605 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 _result
= (double )wxPoint2DDouble_m_y_set(_arg0
,_arg1
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) return NULL
;
3614 } _resultobj
= Py_BuildValue("d",_result
);
3618 #define wxPoint2DDouble_m_y_get(_swigobj) ((double ) _swigobj->m_y)
3619 static PyObject
*_wrap_wxPoint2DDouble_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
* _resultobj
;
3622 wxPoint2DDouble
* _arg0
;
3623 wxPoint2DDouble temp
;
3624 PyObject
* _obj0
= 0;
3625 char *_kwnames
[] = { "self", NULL
};
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_m_y_get",_kwnames
,&_obj0
))
3632 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 _result
= (double )wxPoint2DDouble_m_y_get(_arg0
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) return NULL
;
3641 } _resultobj
= Py_BuildValue("d",_result
);
3645 #define new_wxPoint2DDouble(_swigarg0,_swigarg1) (new wxPoint2DDouble(_swigarg0,_swigarg1))
3646 static PyObject
*_wrap_new_wxPoint2DDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3648 wxPoint2DDouble
* _result
;
3649 double _arg0
= (double ) 0;
3650 double _arg1
= (double ) 0;
3651 char *_kwnames
[] = { "x","y", NULL
};
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxPoint2DDouble",_kwnames
,&_arg0
,&_arg1
))
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 _result
= (wxPoint2DDouble
*)new_wxPoint2DDouble(_arg0
,_arg1
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) return NULL
;
3664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3665 _resultobj
= Py_BuildValue("s",_ptemp
);
3668 _resultobj
= Py_None
;
3673 #define new_wxPoint2DDoubleCopy(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3674 static PyObject
*_wrap_new_wxPoint2DDoubleCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3676 wxPoint2DDouble
* _result
;
3677 wxPoint2DDouble
* _arg0
;
3678 wxPoint2DDouble temp
;
3679 PyObject
* _obj0
= 0;
3680 char *_kwnames
[] = { "pt", NULL
};
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPoint2DDoubleCopy",_kwnames
,&_obj0
))
3688 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 _result
= (wxPoint2DDouble
*)new_wxPoint2DDoubleCopy(*_arg0
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) return NULL
;
3698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3699 _resultobj
= Py_BuildValue("s",_ptemp
);
3702 _resultobj
= Py_None
;
3707 #define new_wxPoint2DDoubleFromPoint(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3708 static PyObject
*_wrap_new_wxPoint2DDoubleFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3710 wxPoint2DDouble
* _result
;
3713 PyObject
* _obj0
= 0;
3714 char *_kwnames
[] = { "pt", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPoint2DDoubleFromPoint",_kwnames
,&_obj0
))
3722 if (! wxPoint_helper(_obj0
, &_arg0
))
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 _result
= (wxPoint2DDouble
*)new_wxPoint2DDoubleFromPoint(*_arg0
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) return NULL
;
3732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3733 _resultobj
= Py_BuildValue("s",_ptemp
);
3736 _resultobj
= Py_None
;
3741 #define wxPoint2DDouble_GetFloor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFloor(_swigarg0,_swigarg1))
3742 static PyObject
*_wrap_wxPoint2DDouble_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3744 wxPoint2DDouble
* _arg0
;
3749 wxPoint2DDouble temp1
;
3750 PyObject
* _obj0
= 0;
3751 char *_kwnames
[] = { "self", NULL
};
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetFloor",_kwnames
,&_obj0
))
3764 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 wxPoint2DDouble_GetFloor(_arg0
,_arg1
,_arg2
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) return NULL
;
3773 } Py_INCREF(Py_None
);
3774 _resultobj
= Py_None
;
3777 o
= PyInt_FromLong((long) (*_arg1
));
3778 _resultobj
= t_output_helper(_resultobj
, o
);
3782 o
= PyInt_FromLong((long) (*_arg2
));
3783 _resultobj
= t_output_helper(_resultobj
, o
);
3788 #define wxPoint2DDouble_GetRounded(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRounded(_swigarg0,_swigarg1))
3789 static PyObject
*_wrap_wxPoint2DDouble_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3791 wxPoint2DDouble
* _arg0
;
3796 wxPoint2DDouble temp1
;
3797 PyObject
* _obj0
= 0;
3798 char *_kwnames
[] = { "self", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetRounded",_kwnames
,&_obj0
))
3811 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 wxPoint2DDouble_GetRounded(_arg0
,_arg1
,_arg2
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) return NULL
;
3820 } Py_INCREF(Py_None
);
3821 _resultobj
= Py_None
;
3824 o
= PyInt_FromLong((long) (*_arg1
));
3825 _resultobj
= t_output_helper(_resultobj
, o
);
3829 o
= PyInt_FromLong((long) (*_arg2
));
3830 _resultobj
= t_output_helper(_resultobj
, o
);
3835 #define wxPoint2DDouble_GetVectorLength(_swigobj) (_swigobj->GetVectorLength())
3836 static PyObject
*_wrap_wxPoint2DDouble_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
* _resultobj
;
3839 wxPoint2DDouble
* _arg0
;
3840 wxPoint2DDouble temp
;
3841 PyObject
* _obj0
= 0;
3842 char *_kwnames
[] = { "self", NULL
};
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetVectorLength",_kwnames
,&_obj0
))
3849 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 _result
= (double )wxPoint2DDouble_GetVectorLength(_arg0
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) return NULL
;
3858 } _resultobj
= Py_BuildValue("d",_result
);
3862 #define wxPoint2DDouble_GetVectorAngle(_swigobj) (_swigobj->GetVectorAngle())
3863 static PyObject
*_wrap_wxPoint2DDouble_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
* _resultobj
;
3866 wxPoint2DDouble
* _arg0
;
3867 wxPoint2DDouble temp
;
3868 PyObject
* _obj0
= 0;
3869 char *_kwnames
[] = { "self", NULL
};
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetVectorAngle",_kwnames
,&_obj0
))
3876 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 _result
= (double )wxPoint2DDouble_GetVectorAngle(_arg0
);
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) return NULL
;
3885 } _resultobj
= Py_BuildValue("d",_result
);
3889 #define wxPoint2DDouble_SetVectorLength(_swigobj,_swigarg0) (_swigobj->SetVectorLength(_swigarg0))
3890 static PyObject
*_wrap_wxPoint2DDouble_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
* _resultobj
;
3892 wxPoint2DDouble
* _arg0
;
3894 wxPoint2DDouble temp
;
3895 PyObject
* _obj0
= 0;
3896 char *_kwnames
[] = { "self","length", NULL
};
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_SetVectorLength",_kwnames
,&_obj0
,&_arg1
))
3903 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 wxPoint2DDouble_SetVectorLength(_arg0
,_arg1
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) return NULL
;
3912 } Py_INCREF(Py_None
);
3913 _resultobj
= Py_None
;
3917 #define wxPoint2DDouble_SetVectorAngle(_swigobj,_swigarg0) (_swigobj->SetVectorAngle(_swigarg0))
3918 static PyObject
*_wrap_wxPoint2DDouble_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3920 wxPoint2DDouble
* _arg0
;
3922 wxPoint2DDouble temp
;
3923 PyObject
* _obj0
= 0;
3924 char *_kwnames
[] = { "self","degrees", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_SetVectorAngle",_kwnames
,&_obj0
,&_arg1
))
3931 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 wxPoint2DDouble_SetVectorAngle(_arg0
,_arg1
);
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) return NULL
;
3940 } Py_INCREF(Py_None
);
3941 _resultobj
= Py_None
;
3945 #define wxPoint2DDouble_GetDistance(_swigobj,_swigarg0) (_swigobj->GetDistance(_swigarg0))
3946 static PyObject
*_wrap_wxPoint2DDouble_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
* _resultobj
;
3949 wxPoint2DDouble
* _arg0
;
3950 wxPoint2DDouble
* _arg1
;
3951 wxPoint2DDouble temp
;
3952 PyObject
* _obj0
= 0;
3953 wxPoint2DDouble temp0
;
3954 PyObject
* _obj1
= 0;
3955 char *_kwnames
[] = { "self","pt", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDistance",_kwnames
,&_obj0
,&_obj1
))
3962 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3967 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 _result
= (double )wxPoint2DDouble_GetDistance(_arg0
,*_arg1
);
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) return NULL
;
3976 } _resultobj
= Py_BuildValue("d",_result
);
3980 #define wxPoint2DDouble_GetDistanceSquare(_swigobj,_swigarg0) (_swigobj->GetDistanceSquare(_swigarg0))
3981 static PyObject
*_wrap_wxPoint2DDouble_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
* _resultobj
;
3984 wxPoint2DDouble
* _arg0
;
3985 wxPoint2DDouble
* _arg1
;
3986 wxPoint2DDouble temp
;
3987 PyObject
* _obj0
= 0;
3988 wxPoint2DDouble temp0
;
3989 PyObject
* _obj1
= 0;
3990 char *_kwnames
[] = { "self","pt", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDistanceSquare",_kwnames
,&_obj0
,&_obj1
))
3997 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4002 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 _result
= (double )wxPoint2DDouble_GetDistanceSquare(_arg0
,*_arg1
);
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) return NULL
;
4011 } _resultobj
= Py_BuildValue("d",_result
);
4015 #define wxPoint2DDouble_GetDotProduct(_swigobj,_swigarg0) (_swigobj->GetDotProduct(_swigarg0))
4016 static PyObject
*_wrap_wxPoint2DDouble_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
* _resultobj
;
4019 wxPoint2DDouble
* _arg0
;
4020 wxPoint2DDouble
* _arg1
;
4021 wxPoint2DDouble temp
;
4022 PyObject
* _obj0
= 0;
4023 wxPoint2DDouble temp0
;
4024 PyObject
* _obj1
= 0;
4025 char *_kwnames
[] = { "self","vec", NULL
};
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDotProduct",_kwnames
,&_obj0
,&_obj1
))
4032 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4037 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 _result
= (double )wxPoint2DDouble_GetDotProduct(_arg0
,*_arg1
);
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) return NULL
;
4046 } _resultobj
= Py_BuildValue("d",_result
);
4050 #define wxPoint2DDouble_GetCrossProduct(_swigobj,_swigarg0) (_swigobj->GetCrossProduct(_swigarg0))
4051 static PyObject
*_wrap_wxPoint2DDouble_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
* _resultobj
;
4054 wxPoint2DDouble
* _arg0
;
4055 wxPoint2DDouble
* _arg1
;
4056 wxPoint2DDouble temp
;
4057 PyObject
* _obj0
= 0;
4058 wxPoint2DDouble temp0
;
4059 PyObject
* _obj1
= 0;
4060 char *_kwnames
[] = { "self","vec", NULL
};
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetCrossProduct",_kwnames
,&_obj0
,&_obj1
))
4067 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4072 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 _result
= (double )wxPoint2DDouble_GetCrossProduct(_arg0
,*_arg1
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) return NULL
;
4081 } _resultobj
= Py_BuildValue("d",_result
);
4085 static void wxPoint2DDouble_Set(wxPoint2DDouble
*self
,double x
,double y
) {
4089 static PyObject
*_wrap_wxPoint2DDouble_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
* _resultobj
;
4091 wxPoint2DDouble
* _arg0
;
4092 double _arg1
= (double ) 0;
4093 double _arg2
= (double ) 0;
4094 wxPoint2DDouble temp
;
4095 PyObject
* _obj0
= 0;
4096 char *_kwnames
[] = { "self","x","y", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|dd:wxPoint2DDouble_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4103 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 wxPoint2DDouble_Set(_arg0
,_arg1
,_arg2
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) return NULL
;
4112 } Py_INCREF(Py_None
);
4113 _resultobj
= Py_None
;
4117 static wxPoint2DDouble
wxPoint2DDouble___neg__(wxPoint2DDouble
*self
) { return -(*self
); }
4118 static PyObject
*_wrap_wxPoint2DDouble___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
* _resultobj
;
4120 wxPoint2DDouble
* _result
;
4121 wxPoint2DDouble
* _arg0
;
4122 wxPoint2DDouble temp
;
4123 PyObject
* _obj0
= 0;
4124 char *_kwnames
[] = { "self", NULL
};
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble___neg__",_kwnames
,&_obj0
))
4132 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 _result
= new wxPoint2DDouble (wxPoint2DDouble___neg__(_arg0
));
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) return NULL
;
4141 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint2DDouble_p");
4142 _resultobj
= Py_BuildValue("s",_ptemp
);
4146 static wxPoint2DDouble
& wxPoint2DDouble___iadd__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) += pt
; }
4147 static PyObject
*_wrap_wxPoint2DDouble___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
* _resultobj
;
4149 wxPoint2DDouble
* _result
;
4150 wxPoint2DDouble
* _arg0
;
4151 wxPoint2DDouble
* _arg1
;
4152 wxPoint2DDouble temp
;
4153 PyObject
* _obj0
= 0;
4154 wxPoint2DDouble temp0
;
4155 PyObject
* _obj1
= 0;
4156 char *_kwnames
[] = { "self","pt", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___iadd__",_kwnames
,&_obj0
,&_obj1
))
4164 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4169 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___iadd__(_arg0
,*_arg1
);
4175 _result
= (wxPoint2DDouble
*) &_result_ref
;
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) return NULL
;
4180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4181 _resultobj
= Py_BuildValue("s",_ptemp
);
4184 _resultobj
= Py_None
;
4189 static wxPoint2DDouble
& wxPoint2DDouble___isub__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) -= pt
; }
4190 static PyObject
*_wrap_wxPoint2DDouble___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
* _resultobj
;
4192 wxPoint2DDouble
* _result
;
4193 wxPoint2DDouble
* _arg0
;
4194 wxPoint2DDouble
* _arg1
;
4195 wxPoint2DDouble temp
;
4196 PyObject
* _obj0
= 0;
4197 wxPoint2DDouble temp0
;
4198 PyObject
* _obj1
= 0;
4199 char *_kwnames
[] = { "self","pt", NULL
};
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___isub__",_kwnames
,&_obj0
,&_obj1
))
4207 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4212 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___isub__(_arg0
,*_arg1
);
4218 _result
= (wxPoint2DDouble
*) &_result_ref
;
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) return NULL
;
4223 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4224 _resultobj
= Py_BuildValue("s",_ptemp
);
4227 _resultobj
= Py_None
;
4232 static wxPoint2DDouble
& wxPoint2DDouble___imul__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) *= pt
; }
4233 static PyObject
*_wrap_wxPoint2DDouble___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
* _resultobj
;
4235 wxPoint2DDouble
* _result
;
4236 wxPoint2DDouble
* _arg0
;
4237 wxPoint2DDouble
* _arg1
;
4238 wxPoint2DDouble temp
;
4239 PyObject
* _obj0
= 0;
4240 wxPoint2DDouble temp0
;
4241 PyObject
* _obj1
= 0;
4242 char *_kwnames
[] = { "self","pt", NULL
};
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___imul__",_kwnames
,&_obj0
,&_obj1
))
4250 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4255 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___imul__(_arg0
,*_arg1
);
4261 _result
= (wxPoint2DDouble
*) &_result_ref
;
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) return NULL
;
4266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4267 _resultobj
= Py_BuildValue("s",_ptemp
);
4270 _resultobj
= Py_None
;
4275 static wxPoint2DDouble
& wxPoint2DDouble___idiv__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) /= pt
; }
4276 static PyObject
*_wrap_wxPoint2DDouble___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4278 wxPoint2DDouble
* _result
;
4279 wxPoint2DDouble
* _arg0
;
4280 wxPoint2DDouble
* _arg1
;
4281 wxPoint2DDouble temp
;
4282 PyObject
* _obj0
= 0;
4283 wxPoint2DDouble temp0
;
4284 PyObject
* _obj1
= 0;
4285 char *_kwnames
[] = { "self","pt", NULL
};
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___idiv__",_kwnames
,&_obj0
,&_obj1
))
4293 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4298 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___idiv__(_arg0
,*_arg1
);
4304 _result
= (wxPoint2DDouble
*) &_result_ref
;
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) return NULL
;
4309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4310 _resultobj
= Py_BuildValue("s",_ptemp
);
4313 _resultobj
= Py_None
;
4318 static bool wxPoint2DDouble___eq__(wxPoint2DDouble
*self
,PyObject
* obj
) {
4319 wxPoint2DDouble tmp
;
4320 wxPoint2DDouble
* ptr
= &tmp
;
4321 if (obj
== Py_None
) return FALSE
;
4322 wxPyBLOCK_THREADS(bool success
= wxPoint2DDouble_helper(obj
, &ptr
); PyErr_Clear());
4323 if (! success
) return FALSE
;
4324 return *self
== *ptr
;
4326 static PyObject
*_wrap_wxPoint2DDouble___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
* _resultobj
;
4329 wxPoint2DDouble
* _arg0
;
4331 wxPoint2DDouble temp
;
4332 PyObject
* _obj0
= 0;
4333 PyObject
* _obj1
= 0;
4334 char *_kwnames
[] = { "self","obj", NULL
};
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___eq__",_kwnames
,&_obj0
,&_obj1
))
4341 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 _result
= (bool )wxPoint2DDouble___eq__(_arg0
,_arg1
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) return NULL
;
4353 } _resultobj
= Py_BuildValue("i",_result
);
4357 static bool wxPoint2DDouble___ne__(wxPoint2DDouble
*self
,PyObject
* obj
) {
4358 wxPoint2DDouble tmp
;
4359 wxPoint2DDouble
* ptr
= &tmp
;
4360 if (obj
== Py_None
) return TRUE
;
4361 wxPyBLOCK_THREADS(bool success
= wxPoint2DDouble_helper(obj
, &ptr
); PyErr_Clear());
4362 if (! success
) return TRUE
;
4363 return *self
!= *ptr
;
4365 static PyObject
*_wrap_wxPoint2DDouble___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
* _resultobj
;
4368 wxPoint2DDouble
* _arg0
;
4370 wxPoint2DDouble temp
;
4371 PyObject
* _obj0
= 0;
4372 PyObject
* _obj1
= 0;
4373 char *_kwnames
[] = { "self","obj", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___ne__",_kwnames
,&_obj0
,&_obj1
))
4380 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 _result
= (bool )wxPoint2DDouble___ne__(_arg0
,_arg1
);
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) return NULL
;
4392 } _resultobj
= Py_BuildValue("i",_result
);
4396 static PyObject
* wxPoint2DDouble_asTuple(wxPoint2DDouble
*self
) {
4397 wxPyBeginBlockThreads();
4398 PyObject
* tup
= PyTuple_New(2);
4399 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
4400 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
4401 wxPyEndBlockThreads();
4404 static PyObject
*_wrap_wxPoint2DDouble_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4407 wxPoint2DDouble
* _arg0
;
4408 wxPoint2DDouble temp
;
4409 PyObject
* _obj0
= 0;
4410 char *_kwnames
[] = { "self", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_asTuple",_kwnames
,&_obj0
))
4417 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 _result
= (PyObject
*)wxPoint2DDouble_asTuple(_arg0
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) return NULL
;
4427 _resultobj
= _result
;
4432 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
4433 wxIndividualLayoutConstraint
*src
;
4435 src
= (wxIndividualLayoutConstraint
*) ptr
;
4436 dest
= (wxObject
*) src
;
4437 return (void *) dest
;
4440 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
4441 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4443 wxIndividualLayoutConstraint
* _arg0
;
4445 int _arg2
= (int ) 0;
4446 PyObject
* _argo0
= 0;
4447 PyObject
* _argo1
= 0;
4448 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
4461 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) return NULL
;
4473 } Py_INCREF(Py_None
);
4474 _resultobj
= Py_None
;
4478 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
4479 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4481 wxIndividualLayoutConstraint
* _arg0
;
4483 PyObject
* _argo0
= 0;
4484 char *_kwnames
[] = { "self","value", NULL
};
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
4490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) return NULL
;
4502 } Py_INCREF(Py_None
);
4503 _resultobj
= Py_None
;
4507 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
4508 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4510 wxIndividualLayoutConstraint
* _arg0
;
4511 PyObject
* _argo0
= 0;
4512 char *_kwnames
[] = { "self", NULL
};
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
4518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 wxIndividualLayoutConstraint_AsIs(_arg0
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) return NULL
;
4530 } Py_INCREF(Py_None
);
4531 _resultobj
= Py_None
;
4535 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
4536 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4538 wxIndividualLayoutConstraint
* _arg0
;
4540 int _arg2
= (int ) 0;
4541 PyObject
* _argo0
= 0;
4542 PyObject
* _argo1
= 0;
4543 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
4556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) return NULL
;
4568 } Py_INCREF(Py_None
);
4569 _resultobj
= Py_None
;
4573 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
4574 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4576 wxIndividualLayoutConstraint
* _arg0
;
4577 PyObject
* _argo0
= 0;
4578 char *_kwnames
[] = { "self", NULL
};
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
4584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) return NULL
;
4596 } Py_INCREF(Py_None
);
4597 _resultobj
= Py_None
;
4601 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
4602 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
* _resultobj
;
4604 wxIndividualLayoutConstraint
* _arg0
;
4606 int _arg2
= (int ) 0;
4607 PyObject
* _argo0
= 0;
4608 PyObject
* _argo1
= 0;
4609 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
4622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) return NULL
;
4634 } Py_INCREF(Py_None
);
4635 _resultobj
= Py_None
;
4639 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
4640 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
* _resultobj
;
4642 wxIndividualLayoutConstraint
* _arg0
;
4646 PyObject
* _argo0
= 0;
4647 PyObject
* _argo1
= 0;
4648 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
4661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) return NULL
;
4673 } Py_INCREF(Py_None
);
4674 _resultobj
= Py_None
;
4678 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
4679 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4681 wxIndividualLayoutConstraint
* _arg0
;
4683 int _arg2
= (int ) 0;
4684 PyObject
* _argo0
= 0;
4685 PyObject
* _argo1
= 0;
4686 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
4699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) return NULL
;
4711 } Py_INCREF(Py_None
);
4712 _resultobj
= Py_None
;
4716 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
4717 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
* _resultobj
;
4719 wxIndividualLayoutConstraint
* _arg0
;
4722 int _arg3
= (int ) 0;
4723 PyObject
* _argo0
= 0;
4724 PyObject
* _argo1
= 0;
4725 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
4738 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4739 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) return NULL
;
4750 } Py_INCREF(Py_None
);
4751 _resultobj
= Py_None
;
4755 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4756 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
* _resultobj
;
4758 wxIndividualLayoutConstraint
* _arg0
;
4759 wxRelationship _arg1
;
4762 int _arg4
= (int ) 0;
4763 int _arg5
= (int ) 0;
4764 PyObject
* _argo0
= 0;
4765 PyObject
* _argo2
= 0;
4766 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
4772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
4779 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4780 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) return NULL
;
4791 } Py_INCREF(Py_None
);
4792 _resultobj
= Py_None
;
4796 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
4797 wxLayoutConstraints
*src
;
4799 src
= (wxLayoutConstraints
*) ptr
;
4800 dest
= (wxObject
*) src
;
4801 return (void *) dest
;
4804 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
4805 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
* _resultobj
;
4807 wxLayoutConstraints
* _result
;
4808 char *_kwnames
[] = { NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) return NULL
;
4821 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
4822 _resultobj
= Py_BuildValue("s",_ptemp
);
4825 _resultobj
= Py_None
;
4830 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
4831 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
* _resultobj
;
4833 wxIndividualLayoutConstraint
* _result
;
4834 wxLayoutConstraints
* _arg0
;
4835 PyObject
* _argo0
= 0;
4836 char *_kwnames
[] = { "self", NULL
};
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
4843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) return NULL
;
4856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4857 _resultobj
= Py_BuildValue("s",_ptemp
);
4860 _resultobj
= Py_None
;
4865 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
4866 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
* _resultobj
;
4868 wxIndividualLayoutConstraint
* _result
;
4869 wxLayoutConstraints
* _arg0
;
4870 PyObject
* _argo0
= 0;
4871 char *_kwnames
[] = { "self", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) return NULL
;
4891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4892 _resultobj
= Py_BuildValue("s",_ptemp
);
4895 _resultobj
= Py_None
;
4900 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
4901 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
* _resultobj
;
4903 wxIndividualLayoutConstraint
* _result
;
4904 wxLayoutConstraints
* _arg0
;
4905 PyObject
* _argo0
= 0;
4906 char *_kwnames
[] = { "self", NULL
};
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
4913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) return NULL
;
4926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4927 _resultobj
= Py_BuildValue("s",_ptemp
);
4930 _resultobj
= Py_None
;
4935 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
4936 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
* _resultobj
;
4938 wxIndividualLayoutConstraint
* _result
;
4939 wxLayoutConstraints
* _arg0
;
4940 PyObject
* _argo0
= 0;
4941 char *_kwnames
[] = { "self", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) return NULL
;
4961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4962 _resultobj
= Py_BuildValue("s",_ptemp
);
4965 _resultobj
= Py_None
;
4970 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
4971 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
* _resultobj
;
4973 wxIndividualLayoutConstraint
* _result
;
4974 wxLayoutConstraints
* _arg0
;
4975 PyObject
* _argo0
= 0;
4976 char *_kwnames
[] = { "self", NULL
};
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
4983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) return NULL
;
4996 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4997 _resultobj
= Py_BuildValue("s",_ptemp
);
5000 _resultobj
= Py_None
;
5005 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
5006 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
* _resultobj
;
5008 wxIndividualLayoutConstraint
* _result
;
5009 wxLayoutConstraints
* _arg0
;
5010 PyObject
* _argo0
= 0;
5011 char *_kwnames
[] = { "self", NULL
};
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
5018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) return NULL
;
5031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5032 _resultobj
= Py_BuildValue("s",_ptemp
);
5035 _resultobj
= Py_None
;
5040 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
5041 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5042 PyObject
* _resultobj
;
5043 wxIndividualLayoutConstraint
* _result
;
5044 wxLayoutConstraints
* _arg0
;
5045 PyObject
* _argo0
= 0;
5046 char *_kwnames
[] = { "self", NULL
};
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
5053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) return NULL
;
5066 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5067 _resultobj
= Py_BuildValue("s",_ptemp
);
5070 _resultobj
= Py_None
;
5075 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
5076 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
* _resultobj
;
5078 wxIndividualLayoutConstraint
* _result
;
5079 wxLayoutConstraints
* _arg0
;
5080 PyObject
* _argo0
= 0;
5081 char *_kwnames
[] = { "self", NULL
};
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
5088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) return NULL
;
5101 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5102 _resultobj
= Py_BuildValue("s",_ptemp
);
5105 _resultobj
= Py_None
;
5110 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
5111 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
* _resultobj
;
5113 wxAcceleratorEntry
* _result
;
5114 int _arg0
= (int ) 0;
5115 int _arg1
= (int ) 0;
5116 int _arg2
= (int ) 0;
5117 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) return NULL
;
5130 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
5131 _resultobj
= Py_BuildValue("s",_ptemp
);
5134 _resultobj
= Py_None
;
5139 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
5140 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
* _resultobj
;
5142 wxAcceleratorEntry
* _arg0
;
5143 PyObject
* _argo0
= 0;
5144 char *_kwnames
[] = { "self", NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 delete_wxAcceleratorEntry(_arg0
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) return NULL
;
5162 } Py_INCREF(Py_None
);
5163 _resultobj
= Py_None
;
5167 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
5168 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
* _resultobj
;
5170 wxAcceleratorEntry
* _arg0
;
5174 PyObject
* _argo0
= 0;
5175 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5189 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) return NULL
;
5193 } Py_INCREF(Py_None
);
5194 _resultobj
= Py_None
;
5198 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
5199 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
* _resultobj
;
5202 wxAcceleratorEntry
* _arg0
;
5203 PyObject
* _argo0
= 0;
5204 char *_kwnames
[] = { "self", NULL
};
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
5210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
5220 wxPyEndAllowThreads(__tstate
);
5221 if (PyErr_Occurred()) return NULL
;
5222 } _resultobj
= Py_BuildValue("i",_result
);
5226 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
5227 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
* _resultobj
;
5230 wxAcceleratorEntry
* _arg0
;
5231 PyObject
* _argo0
= 0;
5232 char *_kwnames
[] = { "self", NULL
};
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
5238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) return NULL
;
5250 } _resultobj
= Py_BuildValue("i",_result
);
5254 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
5255 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
* _resultobj
;
5258 wxAcceleratorEntry
* _arg0
;
5259 PyObject
* _argo0
= 0;
5260 char *_kwnames
[] = { "self", NULL
};
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
5266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) return NULL
;
5278 } _resultobj
= Py_BuildValue("i",_result
);
5282 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
5283 wxAcceleratorTable
*src
;
5285 src
= (wxAcceleratorTable
*) ptr
;
5286 dest
= (wxObject
*) src
;
5287 return (void *) dest
;
5290 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
5291 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5293 wxAcceleratorTable
* _result
;
5295 wxAcceleratorEntry
* _arg1
;
5296 PyObject
* _obj1
= 0;
5297 char *_kwnames
[] = { "choices", NULL
};
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
5305 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
5306 if (_arg1
== NULL
) {
5312 _arg0
= PyList_Size(_obj1
);
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) return NULL
;
5325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
5326 _resultobj
= Py_BuildValue("s",_ptemp
);
5329 _resultobj
= Py_None
;
5337 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
5338 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
* _resultobj
;
5340 wxAcceleratorTable
* _arg0
;
5341 PyObject
* _argo0
= 0;
5342 char *_kwnames
[] = { "self", NULL
};
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
5348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
5350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 delete_wxAcceleratorTable(_arg0
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) return NULL
;
5360 } Py_INCREF(Py_None
);
5361 _resultobj
= Py_None
;
5365 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
5368 src
= (wxBusyInfo
*) ptr
;
5369 dest
= (wxObject
*) src
;
5370 return (void *) dest
;
5373 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
5374 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5376 wxBusyInfo
* _result
;
5378 PyObject
* _obj0
= 0;
5379 char *_kwnames
[] = { "message", NULL
};
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
5386 _arg0
= wxString_in_helper(_obj0
);
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) return NULL
;
5397 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
5398 _resultobj
= Py_BuildValue("s",_ptemp
);
5401 _resultobj
= Py_None
;
5410 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
5411 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
* _resultobj
;
5414 PyObject
* _argo0
= 0;
5415 char *_kwnames
[] = { "self", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
5421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
5423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 delete_wxBusyInfo(_arg0
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) return NULL
;
5433 } Py_INCREF(Py_None
);
5434 _resultobj
= Py_None
;
5438 static PyMethodDef misccMethods
[] = {
5439 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
5440 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
5441 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
5442 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
5443 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
5444 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
5445 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
5446 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
5447 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
5448 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
5449 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5450 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
5451 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
5452 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
5453 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
5454 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
5455 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
5456 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
5457 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
5458 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5459 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
5460 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
5461 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
5462 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
5463 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
5464 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
5465 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
5466 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
5467 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
5468 { "wxPoint2DDouble_asTuple", (PyCFunction
) _wrap_wxPoint2DDouble_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5469 { "wxPoint2DDouble___ne__", (PyCFunction
) _wrap_wxPoint2DDouble___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5470 { "wxPoint2DDouble___eq__", (PyCFunction
) _wrap_wxPoint2DDouble___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5471 { "wxPoint2DDouble___idiv__", (PyCFunction
) _wrap_wxPoint2DDouble___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
5472 { "wxPoint2DDouble___imul__", (PyCFunction
) _wrap_wxPoint2DDouble___imul__
, METH_VARARGS
| METH_KEYWORDS
},
5473 { "wxPoint2DDouble___isub__", (PyCFunction
) _wrap_wxPoint2DDouble___isub__
, METH_VARARGS
| METH_KEYWORDS
},
5474 { "wxPoint2DDouble___iadd__", (PyCFunction
) _wrap_wxPoint2DDouble___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
5475 { "wxPoint2DDouble___neg__", (PyCFunction
) _wrap_wxPoint2DDouble___neg__
, METH_VARARGS
| METH_KEYWORDS
},
5476 { "wxPoint2DDouble_Set", (PyCFunction
) _wrap_wxPoint2DDouble_Set
, METH_VARARGS
| METH_KEYWORDS
},
5477 { "wxPoint2DDouble_GetCrossProduct", (PyCFunction
) _wrap_wxPoint2DDouble_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
5478 { "wxPoint2DDouble_GetDotProduct", (PyCFunction
) _wrap_wxPoint2DDouble_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
5479 { "wxPoint2DDouble_GetDistanceSquare", (PyCFunction
) _wrap_wxPoint2DDouble_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
5480 { "wxPoint2DDouble_GetDistance", (PyCFunction
) _wrap_wxPoint2DDouble_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
5481 { "wxPoint2DDouble_SetVectorAngle", (PyCFunction
) _wrap_wxPoint2DDouble_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
5482 { "wxPoint2DDouble_SetVectorLength", (PyCFunction
) _wrap_wxPoint2DDouble_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
5483 { "wxPoint2DDouble_GetVectorAngle", (PyCFunction
) _wrap_wxPoint2DDouble_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
5484 { "wxPoint2DDouble_GetVectorLength", (PyCFunction
) _wrap_wxPoint2DDouble_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
5485 { "wxPoint2DDouble_GetRounded", (PyCFunction
) _wrap_wxPoint2DDouble_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
5486 { "wxPoint2DDouble_GetFloor", (PyCFunction
) _wrap_wxPoint2DDouble_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
5487 { "new_wxPoint2DDoubleFromPoint", (PyCFunction
) _wrap_new_wxPoint2DDoubleFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
5488 { "new_wxPoint2DDoubleCopy", (PyCFunction
) _wrap_new_wxPoint2DDoubleCopy
, METH_VARARGS
| METH_KEYWORDS
},
5489 { "new_wxPoint2DDouble", (PyCFunction
) _wrap_new_wxPoint2DDouble
, METH_VARARGS
| METH_KEYWORDS
},
5490 { "wxPoint2DDouble_y_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5491 { "wxPoint2DDouble_y_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5492 { "wxPoint2DDouble_x_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5493 { "wxPoint2DDouble_x_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5494 { "wxPoint2DDouble_m_y_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5495 { "wxPoint2DDouble_m_y_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5496 { "wxPoint2DDouble_m_x_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5497 { "wxPoint2DDouble_m_x_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5498 { "wxRect___ne__", (PyCFunction
) _wrap_wxRect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5499 { "wxRect___eq__", (PyCFunction
) _wrap_wxRect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5500 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
5501 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5502 { "wxRect_Set", (PyCFunction
) _wrap_wxRect_Set
, METH_VARARGS
| METH_KEYWORDS
},
5503 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
5504 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
5505 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5506 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
5507 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5508 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5509 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5510 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5511 { "wxRect_Offset", (PyCFunction
) _wrap_wxRect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
5512 { "wxRect_OffsetXY", (PyCFunction
) _wrap_wxRect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
5513 { "wxRect_Intersects", (PyCFunction
) _wrap_wxRect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
5514 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
5515 { "wxRect_InsideXY", (PyCFunction
) _wrap_wxRect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
5516 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
5517 { "wxRect_Deflate", (PyCFunction
) _wrap_wxRect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
5518 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
5519 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
5520 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
5521 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
5522 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
5523 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
5524 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
5525 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
5526 { "wxRect_SetSize", (PyCFunction
) _wrap_wxRect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
5527 { "wxRect_SetPosition", (PyCFunction
) _wrap_wxRect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5528 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
5529 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5530 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5531 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5532 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5533 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5534 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
5535 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5536 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
5537 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5538 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
5539 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
5540 { "wxPoint___ne__", (PyCFunction
) _wrap_wxPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5541 { "wxPoint___eq__", (PyCFunction
) _wrap_wxPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5542 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
5543 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
5544 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5545 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5546 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
5547 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
5548 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5549 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5550 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5551 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5552 { "wxRealPoint___ne__", (PyCFunction
) _wrap_wxRealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5553 { "wxRealPoint___eq__", (PyCFunction
) _wrap_wxRealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5554 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
5555 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
5556 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5557 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5558 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
5559 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
5560 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5561 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5562 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5563 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5564 { "wxSize___ne__", (PyCFunction
) _wrap_wxSize___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5565 { "wxSize___eq__", (PyCFunction
) _wrap_wxSize___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5566 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5567 { "wxSize_DecTo", (PyCFunction
) _wrap_wxSize_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
5568 { "wxSize_IncTo", (PyCFunction
) _wrap_wxSize_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
5569 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5570 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5571 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5572 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5573 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5574 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5575 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
5576 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
5577 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
5578 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5579 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5580 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5581 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5582 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5583 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5584 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5585 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5586 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5587 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
5588 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
5589 { "wxGetProcessId", (PyCFunction
) _wrap_wxGetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
5590 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
5591 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
5592 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
5593 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
5594 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
5595 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
5596 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
5597 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
5598 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
5599 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
5600 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
5601 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
5602 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
5603 { "wxShutdown", (PyCFunction
) _wrap_wxShutdown
, METH_VARARGS
| METH_KEYWORDS
},
5604 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
5605 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
5606 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
5607 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
5608 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
5609 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
5610 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
5611 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
5612 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5613 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
5614 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
5615 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
5616 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
5617 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
5624 * This table is used by the pointer type-checker
5626 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5627 { "_signed_long","_long",0},
5628 { "_wxPrintQuality","_wxCoord",0},
5629 { "_wxPrintQuality","_int",0},
5630 { "_wxPrintQuality","_signed_int",0},
5631 { "_wxPrintQuality","_unsigned_int",0},
5632 { "_wxPrintQuality","_wxWindowID",0},
5633 { "_wxPrintQuality","_uint",0},
5634 { "_wxPrintQuality","_EBool",0},
5635 { "_wxPrintQuality","_size_t",0},
5636 { "_wxPrintQuality","_time_t",0},
5637 { "_byte","_unsigned_char",0},
5638 { "_long","_unsigned_long",0},
5639 { "_long","_signed_long",0},
5640 { "_size_t","_wxCoord",0},
5641 { "_size_t","_wxPrintQuality",0},
5642 { "_size_t","_time_t",0},
5643 { "_size_t","_unsigned_int",0},
5644 { "_size_t","_int",0},
5645 { "_size_t","_wxWindowID",0},
5646 { "_size_t","_uint",0},
5647 { "_uint","_wxCoord",0},
5648 { "_uint","_wxPrintQuality",0},
5649 { "_uint","_time_t",0},
5650 { "_uint","_size_t",0},
5651 { "_uint","_unsigned_int",0},
5652 { "_uint","_int",0},
5653 { "_uint","_wxWindowID",0},
5654 { "_wxChar","_char",0},
5655 { "_char","_wxChar",0},
5656 { "_EBool","_wxCoord",0},
5657 { "_EBool","_wxPrintQuality",0},
5658 { "_EBool","_signed_int",0},
5659 { "_EBool","_int",0},
5660 { "_EBool","_wxWindowID",0},
5661 { "_unsigned_long","_long",0},
5662 { "_signed_int","_wxCoord",0},
5663 { "_signed_int","_wxPrintQuality",0},
5664 { "_signed_int","_EBool",0},
5665 { "_signed_int","_wxWindowID",0},
5666 { "_signed_int","_int",0},
5667 { "_WXTYPE","_short",0},
5668 { "_WXTYPE","_signed_short",0},
5669 { "_WXTYPE","_unsigned_short",0},
5670 { "_unsigned_short","_WXTYPE",0},
5671 { "_unsigned_short","_short",0},
5672 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
5673 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
5674 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
5675 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
5676 { "_signed_short","_WXTYPE",0},
5677 { "_signed_short","_short",0},
5678 { "_unsigned_char","_byte",0},
5679 { "_unsigned_int","_wxCoord",0},
5680 { "_unsigned_int","_wxPrintQuality",0},
5681 { "_unsigned_int","_time_t",0},
5682 { "_unsigned_int","_size_t",0},
5683 { "_unsigned_int","_uint",0},
5684 { "_unsigned_int","_wxWindowID",0},
5685 { "_unsigned_int","_int",0},
5686 { "_short","_WXTYPE",0},
5687 { "_short","_unsigned_short",0},
5688 { "_short","_signed_short",0},
5689 { "_wxWindowID","_wxCoord",0},
5690 { "_wxWindowID","_wxPrintQuality",0},
5691 { "_wxWindowID","_time_t",0},
5692 { "_wxWindowID","_size_t",0},
5693 { "_wxWindowID","_EBool",0},
5694 { "_wxWindowID","_uint",0},
5695 { "_wxWindowID","_int",0},
5696 { "_wxWindowID","_signed_int",0},
5697 { "_wxWindowID","_unsigned_int",0},
5698 { "_int","_wxCoord",0},
5699 { "_int","_wxPrintQuality",0},
5700 { "_int","_time_t",0},
5701 { "_int","_size_t",0},
5702 { "_int","_EBool",0},
5703 { "_int","_uint",0},
5704 { "_int","_wxWindowID",0},
5705 { "_int","_unsigned_int",0},
5706 { "_int","_signed_int",0},
5707 { "_time_t","_wxCoord",0},
5708 { "_time_t","_wxPrintQuality",0},
5709 { "_time_t","_unsigned_int",0},
5710 { "_time_t","_int",0},
5711 { "_time_t","_wxWindowID",0},
5712 { "_time_t","_uint",0},
5713 { "_time_t","_size_t",0},
5714 { "_wxCoord","_int",0},
5715 { "_wxCoord","_signed_int",0},
5716 { "_wxCoord","_unsigned_int",0},
5717 { "_wxCoord","_wxWindowID",0},
5718 { "_wxCoord","_uint",0},
5719 { "_wxCoord","_EBool",0},
5720 { "_wxCoord","_size_t",0},
5721 { "_wxCoord","_time_t",0},
5722 { "_wxCoord","_wxPrintQuality",0},
5725 static PyObject
*SWIG_globals
;
5729 SWIGEXPORT(void) initmiscc() {
5731 SWIG_globals
= SWIG_newvarlink();
5732 m
= Py_InitModule("miscc", misccMethods
);
5733 d
= PyModule_GetDict(m
);
5734 PyDict_SetItemString(d
,"wxSHUTDOWN_POWEROFF", PyInt_FromLong((long) wxSHUTDOWN_POWEROFF
));
5735 PyDict_SetItemString(d
,"wxSHUTDOWN_REBOOT", PyInt_FromLong((long) wxSHUTDOWN_REBOOT
));
5736 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5737 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5738 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5739 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5740 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5741 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5742 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5743 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5744 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5745 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5746 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5747 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5748 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5749 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5750 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5751 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5752 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5753 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5754 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5755 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5756 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5759 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5760 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);