2 * FILE : src/mac/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_wxTrap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
839 PyObject
* _resultobj
;
840 char *_kwnames
[] = { NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTrap",_kwnames
))
846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
849 wxPyEndAllowThreads(__tstate
);
850 if (PyErr_Occurred()) return NULL
;
851 } Py_INCREF(Py_None
);
852 _resultobj
= Py_None
;
856 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
858 wxAcceleratorEntry
* _result
;
860 PyObject
* _obj0
= 0;
861 char *_kwnames
[] = { "label", NULL
};
865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
868 _arg0
= wxString_in_helper(_obj0
);
873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
874 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
876 wxPyEndAllowThreads(__tstate
);
877 if (PyErr_Occurred()) return NULL
;
879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
880 _resultobj
= Py_BuildValue("s",_ptemp
);
883 _resultobj
= Py_None
;
892 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
894 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
898 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
902 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
903 pyobj
= PyString_FromString(ptemp
);
907 static wxString
wxObject_GetClassName(wxObject
*self
) {
908 return self
->GetClassInfo()->GetClassName();
910 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 PyObject
* _resultobj
;
914 PyObject
* _argo0
= 0;
915 char *_kwnames
[] = { "self", NULL
};
918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
929 _result
= new wxString (wxObject_GetClassName(_arg0
));
931 wxPyEndAllowThreads(__tstate
);
932 if (PyErr_Occurred()) return NULL
;
935 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
937 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
946 static void wxObject_Destroy(wxObject
*self
) {
949 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 PyObject
* _resultobj
;
952 PyObject
* _argo0
= 0;
953 char *_kwnames
[] = { "self", NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 wxObject_Destroy(_arg0
);
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) return NULL
;
971 } Py_INCREF(Py_None
);
972 _resultobj
= Py_None
;
976 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
977 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
983 PyObject
* _obj0
= 0;
984 char *_kwnames
[] = { "self","x", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
991 if (! wxSize_helper(_obj0
, &_arg0
))
995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
996 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
998 wxPyEndAllowThreads(__tstate
);
999 if (PyErr_Occurred()) return NULL
;
1000 } _resultobj
= Py_BuildValue("l",_result
);
1004 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1005 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1010 PyObject
* _obj0
= 0;
1011 char *_kwnames
[] = { "self", NULL
};
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1018 if (! wxSize_helper(_obj0
, &_arg0
))
1022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1023 _result
= (long )wxSize_x_get(_arg0
);
1025 wxPyEndAllowThreads(__tstate
);
1026 if (PyErr_Occurred()) return NULL
;
1027 } _resultobj
= Py_BuildValue("l",_result
);
1031 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1032 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1038 PyObject
* _obj0
= 0;
1039 char *_kwnames
[] = { "self","y", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1046 if (! wxSize_helper(_obj0
, &_arg0
))
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) return NULL
;
1055 } _resultobj
= Py_BuildValue("l",_result
);
1059 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1060 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1065 PyObject
* _obj0
= 0;
1066 char *_kwnames
[] = { "self", NULL
};
1069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1073 if (! wxSize_helper(_obj0
, &_arg0
))
1077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1078 _result
= (long )wxSize_y_get(_arg0
);
1080 wxPyEndAllowThreads(__tstate
);
1081 if (PyErr_Occurred()) return NULL
;
1082 } _resultobj
= Py_BuildValue("l",_result
);
1086 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1087 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1088 PyObject
* _resultobj
;
1090 long _arg0
= (long ) 0;
1091 long _arg1
= (long ) 0;
1092 char *_kwnames
[] = { "w","h", NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1100 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1102 wxPyEndAllowThreads(__tstate
);
1103 if (PyErr_Occurred()) return NULL
;
1105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1106 _resultobj
= Py_BuildValue("s",_ptemp
);
1109 _resultobj
= Py_None
;
1114 #define delete_wxSize(_swigobj) (delete _swigobj)
1115 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1119 PyObject
* _obj0
= 0;
1120 char *_kwnames
[] = { "self", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1127 if (! wxSize_helper(_obj0
, &_arg0
))
1131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1132 delete_wxSize(_arg0
);
1134 wxPyEndAllowThreads(__tstate
);
1135 if (PyErr_Occurred()) return NULL
;
1136 } Py_INCREF(Py_None
);
1137 _resultobj
= Py_None
;
1141 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1142 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1148 PyObject
* _obj0
= 0;
1149 char *_kwnames
[] = { "self","w","h", NULL
};
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1156 if (! wxSize_helper(_obj0
, &_arg0
))
1160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1161 wxSize_Set(_arg0
,_arg1
,_arg2
);
1163 wxPyEndAllowThreads(__tstate
);
1164 if (PyErr_Occurred()) return NULL
;
1165 } Py_INCREF(Py_None
);
1166 _resultobj
= Py_None
;
1170 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1171 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
* _resultobj
;
1176 PyObject
* _obj0
= 0;
1177 char *_kwnames
[] = { "self", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1184 if (! wxSize_helper(_obj0
, &_arg0
))
1188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1189 _result
= (long )wxSize_GetX(_arg0
);
1191 wxPyEndAllowThreads(__tstate
);
1192 if (PyErr_Occurred()) return NULL
;
1193 } _resultobj
= Py_BuildValue("l",_result
);
1197 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1198 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1203 PyObject
* _obj0
= 0;
1204 char *_kwnames
[] = { "self", NULL
};
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1211 if (! wxSize_helper(_obj0
, &_arg0
))
1215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1216 _result
= (long )wxSize_GetY(_arg0
);
1218 wxPyEndAllowThreads(__tstate
);
1219 if (PyErr_Occurred()) return NULL
;
1220 } _resultobj
= Py_BuildValue("l",_result
);
1224 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1225 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1230 PyObject
* _obj0
= 0;
1231 char *_kwnames
[] = { "self", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1238 if (! wxSize_helper(_obj0
, &_arg0
))
1242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1243 _result
= (long )wxSize_GetWidth(_arg0
);
1245 wxPyEndAllowThreads(__tstate
);
1246 if (PyErr_Occurred()) return NULL
;
1247 } _resultobj
= Py_BuildValue("l",_result
);
1251 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1252 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1253 PyObject
* _resultobj
;
1257 PyObject
* _obj0
= 0;
1258 char *_kwnames
[] = { "self", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1265 if (! wxSize_helper(_obj0
, &_arg0
))
1269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1270 _result
= (long )wxSize_GetHeight(_arg0
);
1272 wxPyEndAllowThreads(__tstate
);
1273 if (PyErr_Occurred()) return NULL
;
1274 } _resultobj
= Py_BuildValue("l",_result
);
1278 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1279 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1284 PyObject
* _obj0
= 0;
1285 char *_kwnames
[] = { "self","w", NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1292 if (! wxSize_helper(_obj0
, &_arg0
))
1296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1297 wxSize_SetWidth(_arg0
,_arg1
);
1299 wxPyEndAllowThreads(__tstate
);
1300 if (PyErr_Occurred()) return NULL
;
1301 } Py_INCREF(Py_None
);
1302 _resultobj
= Py_None
;
1306 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1307 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1312 PyObject
* _obj0
= 0;
1313 char *_kwnames
[] = { "self","h", NULL
};
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1320 if (! wxSize_helper(_obj0
, &_arg0
))
1324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1325 wxSize_SetHeight(_arg0
,_arg1
);
1327 wxPyEndAllowThreads(__tstate
);
1328 if (PyErr_Occurred()) return NULL
;
1329 } Py_INCREF(Py_None
);
1330 _resultobj
= Py_None
;
1334 #define wxSize_IncTo(_swigobj,_swigarg0) (_swigobj->IncTo(_swigarg0))
1335 static PyObject
*_wrap_wxSize_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1340 PyObject
* _obj0
= 0;
1342 PyObject
* _obj1
= 0;
1343 char *_kwnames
[] = { "self","sz", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize_IncTo",_kwnames
,&_obj0
,&_obj1
))
1350 if (! wxSize_helper(_obj0
, &_arg0
))
1355 if (! wxSize_helper(_obj1
, &_arg1
))
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 wxSize_IncTo(_arg0
,*_arg1
);
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) return NULL
;
1364 } Py_INCREF(Py_None
);
1365 _resultobj
= Py_None
;
1369 #define wxSize_DecTo(_swigobj,_swigarg0) (_swigobj->DecTo(_swigarg0))
1370 static PyObject
*_wrap_wxSize_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1375 PyObject
* _obj0
= 0;
1377 PyObject
* _obj1
= 0;
1378 char *_kwnames
[] = { "self","sz", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize_DecTo",_kwnames
,&_obj0
,&_obj1
))
1385 if (! wxSize_helper(_obj0
, &_arg0
))
1390 if (! wxSize_helper(_obj1
, &_arg1
))
1394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1395 wxSize_DecTo(_arg0
,*_arg1
);
1397 wxPyEndAllowThreads(__tstate
);
1398 if (PyErr_Occurred()) return NULL
;
1399 } Py_INCREF(Py_None
);
1400 _resultobj
= Py_None
;
1404 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1405 wxPyBeginBlockThreads();
1406 PyObject
* tup
= PyTuple_New(2);
1407 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1408 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1409 wxPyEndBlockThreads();
1412 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1417 PyObject
* _obj0
= 0;
1418 char *_kwnames
[] = { "self", NULL
};
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1425 if (! wxSize_helper(_obj0
, &_arg0
))
1429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1430 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) return NULL
;
1435 _resultobj
= _result
;
1440 static bool wxSize___eq__(wxSize
*self
,PyObject
* obj
) {
1443 if (obj
== Py_None
) return FALSE
;
1444 wxPyBLOCK_THREADS(bool success
= wxSize_helper(obj
, &ptr
); PyErr_Clear());
1445 if (! success
) return FALSE
;
1446 return *self
== *ptr
;
1448 static PyObject
*_wrap_wxSize___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1454 PyObject
* _obj0
= 0;
1455 PyObject
* _obj1
= 0;
1456 char *_kwnames
[] = { "self","obj", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___eq__",_kwnames
,&_obj0
,&_obj1
))
1463 if (! wxSize_helper(_obj0
, &_arg0
))
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 _result
= (bool )wxSize___eq__(_arg0
,_arg1
);
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) return NULL
;
1475 } _resultobj
= Py_BuildValue("i",_result
);
1479 static bool wxSize___ne__(wxSize
*self
,PyObject
* obj
) {
1482 if (obj
== Py_None
) return TRUE
;
1483 wxPyBLOCK_THREADS(bool success
= wxSize_helper(obj
, &ptr
); PyErr_Clear());
1484 if (! success
) return TRUE
;
1485 return *self
!= *ptr
;
1487 static PyObject
*_wrap_wxSize___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1493 PyObject
* _obj0
= 0;
1494 PyObject
* _obj1
= 0;
1495 char *_kwnames
[] = { "self","obj", NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___ne__",_kwnames
,&_obj0
,&_obj1
))
1502 if (! wxSize_helper(_obj0
, &_arg0
))
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 _result
= (bool )wxSize___ne__(_arg0
,_arg1
);
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) return NULL
;
1514 } _resultobj
= Py_BuildValue("i",_result
);
1518 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1519 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1522 wxRealPoint
* _arg0
;
1525 PyObject
* _obj0
= 0;
1526 char *_kwnames
[] = { "self","x", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1533 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1538 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1540 wxPyEndAllowThreads(__tstate
);
1541 if (PyErr_Occurred()) return NULL
;
1542 } _resultobj
= Py_BuildValue("d",_result
);
1546 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1547 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1550 wxRealPoint
* _arg0
;
1552 PyObject
* _obj0
= 0;
1553 char *_kwnames
[] = { "self", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1560 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 _result
= (double )wxRealPoint_x_get(_arg0
);
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) return NULL
;
1569 } _resultobj
= Py_BuildValue("d",_result
);
1573 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1574 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1577 wxRealPoint
* _arg0
;
1580 PyObject
* _obj0
= 0;
1581 char *_kwnames
[] = { "self","y", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1588 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } _resultobj
= Py_BuildValue("d",_result
);
1601 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1602 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1605 wxRealPoint
* _arg0
;
1607 PyObject
* _obj0
= 0;
1608 char *_kwnames
[] = { "self", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1615 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 _result
= (double )wxRealPoint_y_get(_arg0
);
1622 wxPyEndAllowThreads(__tstate
);
1623 if (PyErr_Occurred()) return NULL
;
1624 } _resultobj
= Py_BuildValue("d",_result
);
1628 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1629 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1631 wxRealPoint
* _result
;
1632 double _arg0
= (double ) 0.0;
1633 double _arg1
= (double ) 0.0;
1634 char *_kwnames
[] = { "x","y", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1648 _resultobj
= Py_BuildValue("s",_ptemp
);
1651 _resultobj
= Py_None
;
1656 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1657 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
* _resultobj
;
1659 wxRealPoint
* _arg0
;
1661 PyObject
* _obj0
= 0;
1662 char *_kwnames
[] = { "self", NULL
};
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1669 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1674 delete_wxRealPoint(_arg0
);
1676 wxPyEndAllowThreads(__tstate
);
1677 if (PyErr_Occurred()) return NULL
;
1678 } Py_INCREF(Py_None
);
1679 _resultobj
= Py_None
;
1683 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1687 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
* _resultobj
;
1689 wxRealPoint
* _arg0
;
1693 PyObject
* _obj0
= 0;
1694 char *_kwnames
[] = { "self","x","y", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1701 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) return NULL
;
1710 } Py_INCREF(Py_None
);
1711 _resultobj
= Py_None
;
1715 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1716 wxPyBeginBlockThreads();
1717 PyObject
* tup
= PyTuple_New(2);
1718 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1719 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1720 wxPyEndBlockThreads();
1723 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1726 wxRealPoint
* _arg0
;
1728 PyObject
* _obj0
= 0;
1729 char *_kwnames
[] = { "self", NULL
};
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1736 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) return NULL
;
1746 _resultobj
= _result
;
1751 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
& p
) {
1754 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1756 wxRealPoint
* _result
;
1757 wxRealPoint
* _arg0
;
1758 wxRealPoint
* _arg1
;
1760 PyObject
* _obj0
= 0;
1762 PyObject
* _obj1
= 0;
1763 char *_kwnames
[] = { "self","p", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1771 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1776 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1781 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,*_arg1
));
1783 wxPyEndAllowThreads(__tstate
);
1784 if (PyErr_Occurred()) return NULL
;
1785 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1786 _resultobj
= Py_BuildValue("s",_ptemp
);
1790 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
& p
) {
1793 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1795 wxRealPoint
* _result
;
1796 wxRealPoint
* _arg0
;
1797 wxRealPoint
* _arg1
;
1799 PyObject
* _obj0
= 0;
1801 PyObject
* _obj1
= 0;
1802 char *_kwnames
[] = { "self","p", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1810 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1815 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,*_arg1
));
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) return NULL
;
1824 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1825 _resultobj
= Py_BuildValue("s",_ptemp
);
1829 static bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
* obj
) {
1831 wxRealPoint
* ptr
= &tmp
;
1832 if (obj
== Py_None
) return FALSE
;
1833 wxPyBLOCK_THREADS(bool success
= wxRealPoint_helper(obj
, &ptr
); PyErr_Clear());
1834 if (! success
) return FALSE
;
1835 return *self
== *ptr
;
1837 static PyObject
*_wrap_wxRealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
* _resultobj
;
1840 wxRealPoint
* _arg0
;
1843 PyObject
* _obj0
= 0;
1844 PyObject
* _obj1
= 0;
1845 char *_kwnames
[] = { "self","obj", NULL
};
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___eq__",_kwnames
,&_obj0
,&_obj1
))
1852 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 _result
= (bool )wxRealPoint___eq__(_arg0
,_arg1
);
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) return NULL
;
1864 } _resultobj
= Py_BuildValue("i",_result
);
1868 static bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
* obj
) {
1870 wxRealPoint
* ptr
= &tmp
;
1871 if (obj
== Py_None
) return TRUE
;
1872 wxPyBLOCK_THREADS(bool success
= wxRealPoint_helper(obj
, &ptr
); PyErr_Clear());
1873 if (! success
) return TRUE
;
1874 return *self
!= *ptr
;
1876 static PyObject
*_wrap_wxRealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1879 wxRealPoint
* _arg0
;
1882 PyObject
* _obj0
= 0;
1883 PyObject
* _obj1
= 0;
1884 char *_kwnames
[] = { "self","obj", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___ne__",_kwnames
,&_obj0
,&_obj1
))
1891 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 _result
= (bool )wxRealPoint___ne__(_arg0
,_arg1
);
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) return NULL
;
1903 } _resultobj
= Py_BuildValue("i",_result
);
1907 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1908 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1914 PyObject
* _obj0
= 0;
1915 char *_kwnames
[] = { "self","x", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1922 if (! wxPoint_helper(_obj0
, &_arg0
))
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 } _resultobj
= Py_BuildValue("l",_result
);
1935 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1936 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1941 PyObject
* _obj0
= 0;
1942 char *_kwnames
[] = { "self", NULL
};
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1949 if (! wxPoint_helper(_obj0
, &_arg0
))
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 _result
= (long )wxPoint_x_get(_arg0
);
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) return NULL
;
1958 } _resultobj
= Py_BuildValue("l",_result
);
1962 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1963 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
* _resultobj
;
1969 PyObject
* _obj0
= 0;
1970 char *_kwnames
[] = { "self","y", NULL
};
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1977 if (! wxPoint_helper(_obj0
, &_arg0
))
1981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
1984 wxPyEndAllowThreads(__tstate
);
1985 if (PyErr_Occurred()) return NULL
;
1986 } _resultobj
= Py_BuildValue("l",_result
);
1990 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
1991 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1996 PyObject
* _obj0
= 0;
1997 char *_kwnames
[] = { "self", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
2004 if (! wxPoint_helper(_obj0
, &_arg0
))
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 _result
= (long )wxPoint_y_get(_arg0
);
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) return NULL
;
2013 } _resultobj
= Py_BuildValue("l",_result
);
2017 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
2018 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2021 long _arg0
= (long ) 0;
2022 long _arg1
= (long ) 0;
2023 char *_kwnames
[] = { "x","y", NULL
};
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) return NULL
;
2036 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2037 _resultobj
= Py_BuildValue("s",_ptemp
);
2040 _resultobj
= Py_None
;
2045 #define delete_wxPoint(_swigobj) (delete _swigobj)
2046 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
* _resultobj
;
2050 PyObject
* _obj0
= 0;
2051 char *_kwnames
[] = { "self", NULL
};
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
2058 if (! wxPoint_helper(_obj0
, &_arg0
))
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 delete_wxPoint(_arg0
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) return NULL
;
2067 } Py_INCREF(Py_None
);
2068 _resultobj
= Py_None
;
2072 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
2076 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2082 PyObject
* _obj0
= 0;
2083 char *_kwnames
[] = { "self","x","y", NULL
};
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2090 if (! wxPoint_helper(_obj0
, &_arg0
))
2094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2097 wxPyEndAllowThreads(__tstate
);
2098 if (PyErr_Occurred()) return NULL
;
2099 } Py_INCREF(Py_None
);
2100 _resultobj
= Py_None
;
2104 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2105 wxPyBeginBlockThreads();
2106 PyObject
* tup
= PyTuple_New(2);
2107 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2108 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2109 wxPyEndBlockThreads();
2112 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2117 PyObject
* _obj0
= 0;
2118 char *_kwnames
[] = { "self", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2125 if (! wxPoint_helper(_obj0
, &_arg0
))
2129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2130 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2132 wxPyEndAllowThreads(__tstate
);
2133 if (PyErr_Occurred()) return NULL
;
2135 _resultobj
= _result
;
2140 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
& p
) {
2143 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2149 PyObject
* _obj0
= 0;
2151 PyObject
* _obj1
= 0;
2152 char *_kwnames
[] = { "self","p", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2160 if (! wxPoint_helper(_obj0
, &_arg0
))
2165 if (! wxPoint_helper(_obj1
, &_arg1
))
2169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2170 _result
= new wxPoint (wxPoint___add__(_arg0
,*_arg1
));
2172 wxPyEndAllowThreads(__tstate
);
2173 if (PyErr_Occurred()) return NULL
;
2174 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2175 _resultobj
= Py_BuildValue("s",_ptemp
);
2179 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
& p
) {
2182 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2183 PyObject
* _resultobj
;
2188 PyObject
* _obj0
= 0;
2190 PyObject
* _obj1
= 0;
2191 char *_kwnames
[] = { "self","p", NULL
};
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2199 if (! wxPoint_helper(_obj0
, &_arg0
))
2204 if (! wxPoint_helper(_obj1
, &_arg1
))
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 _result
= new wxPoint (wxPoint___sub__(_arg0
,*_arg1
));
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) return NULL
;
2213 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2214 _resultobj
= Py_BuildValue("s",_ptemp
);
2218 static bool wxPoint___eq__(wxPoint
*self
,PyObject
* obj
) {
2220 wxPoint
* ptr
= &tmp
;
2221 if (obj
== Py_None
) return FALSE
;
2222 wxPyBLOCK_THREADS(bool success
= wxPoint_helper(obj
, &ptr
); PyErr_Clear());
2223 if (! success
) return FALSE
;
2224 return *self
== *ptr
;
2226 static PyObject
*_wrap_wxPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
* _resultobj
;
2232 PyObject
* _obj0
= 0;
2233 PyObject
* _obj1
= 0;
2234 char *_kwnames
[] = { "self","obj", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___eq__",_kwnames
,&_obj0
,&_obj1
))
2241 if (! wxPoint_helper(_obj0
, &_arg0
))
2248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2249 _result
= (bool )wxPoint___eq__(_arg0
,_arg1
);
2251 wxPyEndAllowThreads(__tstate
);
2252 if (PyErr_Occurred()) return NULL
;
2253 } _resultobj
= Py_BuildValue("i",_result
);
2257 static bool wxPoint___ne__(wxPoint
*self
,PyObject
* obj
) {
2259 wxPoint
* ptr
= &tmp
;
2260 if (obj
== Py_None
) return TRUE
;
2261 wxPyBLOCK_THREADS(bool success
= wxPoint_helper(obj
, &ptr
); PyErr_Clear());
2262 if (! success
) return TRUE
;
2263 return *self
!= *ptr
;
2265 static PyObject
*_wrap_wxPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
* _resultobj
;
2271 PyObject
* _obj0
= 0;
2272 PyObject
* _obj1
= 0;
2273 char *_kwnames
[] = { "self","obj", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___ne__",_kwnames
,&_obj0
,&_obj1
))
2280 if (! wxPoint_helper(_obj0
, &_arg0
))
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 _result
= (bool )wxPoint___ne__(_arg0
,_arg1
);
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) return NULL
;
2292 } _resultobj
= Py_BuildValue("i",_result
);
2296 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2297 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
* _resultobj
;
2300 int _arg0
= (int ) 0;
2301 int _arg1
= (int ) 0;
2302 int _arg2
= (int ) 0;
2303 int _arg3
= (int ) 0;
2304 char *_kwnames
[] = { "x","y","width","height", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) return NULL
;
2317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2318 _resultobj
= Py_BuildValue("s",_ptemp
);
2321 _resultobj
= Py_None
;
2326 #define delete_wxRect(_swigobj) (delete _swigobj)
2327 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
* _resultobj
;
2331 PyObject
* _obj0
= 0;
2332 char *_kwnames
[] = { "self", NULL
};
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2339 if (! wxRect_helper(_obj0
, &_arg0
))
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2344 delete_wxRect(_arg0
);
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) return NULL
;
2348 } Py_INCREF(Py_None
);
2349 _resultobj
= Py_None
;
2353 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2354 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
* _resultobj
;
2359 PyObject
* _obj0
= 0;
2360 char *_kwnames
[] = { "self", NULL
};
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2367 if (! wxRect_helper(_obj0
, &_arg0
))
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 _result
= (int )wxRect_GetX(_arg0
);
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) return NULL
;
2376 } _resultobj
= Py_BuildValue("i",_result
);
2380 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2381 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2386 PyObject
* _obj0
= 0;
2387 char *_kwnames
[] = { "self","X", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2394 if (! wxRect_helper(_obj0
, &_arg0
))
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 wxRect_SetX(_arg0
,_arg1
);
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) return NULL
;
2403 } Py_INCREF(Py_None
);
2404 _resultobj
= Py_None
;
2408 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2409 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2414 PyObject
* _obj0
= 0;
2415 char *_kwnames
[] = { "self", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2422 if (! wxRect_helper(_obj0
, &_arg0
))
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 _result
= (int )wxRect_GetY(_arg0
);
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) return NULL
;
2431 } _resultobj
= Py_BuildValue("i",_result
);
2435 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2436 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2441 PyObject
* _obj0
= 0;
2442 char *_kwnames
[] = { "self","Y", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2449 if (! wxRect_helper(_obj0
, &_arg0
))
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 wxRect_SetY(_arg0
,_arg1
);
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) return NULL
;
2458 } Py_INCREF(Py_None
);
2459 _resultobj
= Py_None
;
2463 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2464 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2469 PyObject
* _obj0
= 0;
2470 char *_kwnames
[] = { "self", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2477 if (! wxRect_helper(_obj0
, &_arg0
))
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 _result
= (int )wxRect_GetWidth(_arg0
);
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) return NULL
;
2486 } _resultobj
= Py_BuildValue("i",_result
);
2490 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2491 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
* _resultobj
;
2496 PyObject
* _obj0
= 0;
2497 char *_kwnames
[] = { "self","w", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2504 if (! wxRect_helper(_obj0
, &_arg0
))
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2509 wxRect_SetWidth(_arg0
,_arg1
);
2511 wxPyEndAllowThreads(__tstate
);
2512 if (PyErr_Occurred()) return NULL
;
2513 } Py_INCREF(Py_None
);
2514 _resultobj
= Py_None
;
2518 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2519 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2524 PyObject
* _obj0
= 0;
2525 char *_kwnames
[] = { "self", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2532 if (! wxRect_helper(_obj0
, &_arg0
))
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 _result
= (int )wxRect_GetHeight(_arg0
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) return NULL
;
2541 } _resultobj
= Py_BuildValue("i",_result
);
2545 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2546 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2551 PyObject
* _obj0
= 0;
2552 char *_kwnames
[] = { "self","h", NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2559 if (! wxRect_helper(_obj0
, &_arg0
))
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 wxRect_SetHeight(_arg0
,_arg1
);
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) return NULL
;
2568 } Py_INCREF(Py_None
);
2569 _resultobj
= Py_None
;
2573 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2574 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2579 PyObject
* _obj0
= 0;
2580 char *_kwnames
[] = { "self", NULL
};
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2588 if (! wxRect_helper(_obj0
, &_arg0
))
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) return NULL
;
2597 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2598 _resultobj
= Py_BuildValue("s",_ptemp
);
2602 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2603 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
* _resultobj
;
2608 PyObject
* _obj0
= 0;
2609 char *_kwnames
[] = { "self", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2617 if (! wxRect_helper(_obj0
, &_arg0
))
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 _result
= new wxSize (wxRect_GetSize(_arg0
));
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) return NULL
;
2626 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2627 _resultobj
= Py_BuildValue("s",_ptemp
);
2631 #define wxRect_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2632 static PyObject
*_wrap_wxRect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2637 PyObject
* _obj0
= 0;
2639 PyObject
* _obj1
= 0;
2640 char *_kwnames
[] = { "self","p", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetPosition",_kwnames
,&_obj0
,&_obj1
))
2647 if (! wxRect_helper(_obj0
, &_arg0
))
2652 if (! wxPoint_helper(_obj1
, &_arg1
))
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 wxRect_SetPosition(_arg0
,*_arg1
);
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) return NULL
;
2661 } Py_INCREF(Py_None
);
2662 _resultobj
= Py_None
;
2666 #define wxRect_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2667 static PyObject
*_wrap_wxRect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
* _resultobj
;
2672 PyObject
* _obj0
= 0;
2674 PyObject
* _obj1
= 0;
2675 char *_kwnames
[] = { "self","s", NULL
};
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetSize",_kwnames
,&_obj0
,&_obj1
))
2682 if (! wxRect_helper(_obj0
, &_arg0
))
2687 if (! wxSize_helper(_obj1
, &_arg1
))
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 wxRect_SetSize(_arg0
,*_arg1
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) return NULL
;
2696 } Py_INCREF(Py_None
);
2697 _resultobj
= Py_None
;
2701 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2702 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2707 PyObject
* _obj0
= 0;
2708 char *_kwnames
[] = { "self", NULL
};
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2715 if (! wxRect_helper(_obj0
, &_arg0
))
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 _result
= (int )wxRect_GetLeft(_arg0
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) return NULL
;
2724 } _resultobj
= Py_BuildValue("i",_result
);
2728 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2729 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2734 PyObject
* _obj0
= 0;
2735 char *_kwnames
[] = { "self", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2742 if (! wxRect_helper(_obj0
, &_arg0
))
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 _result
= (int )wxRect_GetTop(_arg0
);
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) return NULL
;
2751 } _resultobj
= Py_BuildValue("i",_result
);
2755 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2756 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
* _resultobj
;
2761 PyObject
* _obj0
= 0;
2762 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2769 if (! wxRect_helper(_obj0
, &_arg0
))
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 _result
= (int )wxRect_GetBottom(_arg0
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) return NULL
;
2778 } _resultobj
= Py_BuildValue("i",_result
);
2782 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2783 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2788 PyObject
* _obj0
= 0;
2789 char *_kwnames
[] = { "self", NULL
};
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2796 if (! wxRect_helper(_obj0
, &_arg0
))
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 _result
= (int )wxRect_GetRight(_arg0
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) return NULL
;
2805 } _resultobj
= Py_BuildValue("i",_result
);
2809 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2810 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2815 PyObject
* _obj0
= 0;
2816 char *_kwnames
[] = { "self","left", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2823 if (! wxRect_helper(_obj0
, &_arg0
))
2827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2828 wxRect_SetLeft(_arg0
,_arg1
);
2830 wxPyEndAllowThreads(__tstate
);
2831 if (PyErr_Occurred()) return NULL
;
2832 } Py_INCREF(Py_None
);
2833 _resultobj
= Py_None
;
2837 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2838 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2843 PyObject
* _obj0
= 0;
2844 char *_kwnames
[] = { "self","right", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2851 if (! wxRect_helper(_obj0
, &_arg0
))
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 wxRect_SetRight(_arg0
,_arg1
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) return NULL
;
2860 } Py_INCREF(Py_None
);
2861 _resultobj
= Py_None
;
2865 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2866 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
* _resultobj
;
2871 PyObject
* _obj0
= 0;
2872 char *_kwnames
[] = { "self","top", NULL
};
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2879 if (! wxRect_helper(_obj0
, &_arg0
))
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 wxRect_SetTop(_arg0
,_arg1
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) return NULL
;
2888 } Py_INCREF(Py_None
);
2889 _resultobj
= Py_None
;
2893 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2894 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
* _resultobj
;
2899 PyObject
* _obj0
= 0;
2900 char *_kwnames
[] = { "self","bottom", NULL
};
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2907 if (! wxRect_helper(_obj0
, &_arg0
))
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 wxRect_SetBottom(_arg0
,_arg1
);
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) return NULL
;
2916 } Py_INCREF(Py_None
);
2917 _resultobj
= Py_None
;
2921 #define wxRect_Deflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Deflate(_swigarg0,_swigarg1))
2922 static PyObject
*_wrap_wxRect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
* _resultobj
;
2928 PyObject
* _obj0
= 0;
2929 char *_kwnames
[] = { "self","dx","dy", NULL
};
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Deflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2936 if (! wxRect_helper(_obj0
, &_arg0
))
2940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2941 wxRect_Deflate(_arg0
,_arg1
,_arg2
);
2943 wxPyEndAllowThreads(__tstate
);
2944 if (PyErr_Occurred()) return NULL
;
2945 } Py_INCREF(Py_None
);
2946 _resultobj
= Py_None
;
2950 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2951 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
* _resultobj
;
2957 PyObject
* _obj0
= 0;
2958 char *_kwnames
[] = { "self","dx","dy", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2965 if (! wxRect_helper(_obj0
, &_arg0
))
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) return NULL
;
2974 } Py_INCREF(Py_None
);
2975 _resultobj
= Py_None
;
2979 #define wxRect_InsideXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2980 static PyObject
*_wrap_wxRect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
* _resultobj
;
2987 PyObject
* _obj0
= 0;
2988 char *_kwnames
[] = { "self","cx","cy", NULL
};
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_InsideXY",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2995 if (! wxRect_helper(_obj0
, &_arg0
))
2999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3000 _result
= (bool )wxRect_InsideXY(_arg0
,_arg1
,_arg2
);
3002 wxPyEndAllowThreads(__tstate
);
3003 if (PyErr_Occurred()) return NULL
;
3004 } _resultobj
= Py_BuildValue("i",_result
);
3008 #define wxRect_Inside(_swigobj,_swigarg0) (_swigobj->Inside(_swigarg0))
3009 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3015 PyObject
* _obj0
= 0;
3017 PyObject
* _obj1
= 0;
3018 char *_kwnames
[] = { "self","pt", NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Inside",_kwnames
,&_obj0
,&_obj1
))
3025 if (! wxRect_helper(_obj0
, &_arg0
))
3030 if (! wxPoint_helper(_obj1
, &_arg1
))
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 _result
= (bool )wxRect_Inside(_arg0
,*_arg1
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) return NULL
;
3039 } _resultobj
= Py_BuildValue("i",_result
);
3043 #define wxRect_Intersects(_swigobj,_swigarg0) (_swigobj->Intersects(_swigarg0))
3044 static PyObject
*_wrap_wxRect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
* _resultobj
;
3050 PyObject
* _obj0
= 0;
3052 PyObject
* _obj1
= 0;
3053 char *_kwnames
[] = { "self","rect", NULL
};
3056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Intersects",_kwnames
,&_obj0
,&_obj1
))
3060 if (! wxRect_helper(_obj0
, &_arg0
))
3065 if (! wxRect_helper(_obj1
, &_arg1
))
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 _result
= (bool )wxRect_Intersects(_arg0
,*_arg1
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) return NULL
;
3074 } _resultobj
= Py_BuildValue("i",_result
);
3078 #define wxRect_OffsetXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
3079 static PyObject
*_wrap_wxRect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3080 PyObject
* _resultobj
;
3085 PyObject
* _obj0
= 0;
3086 char *_kwnames
[] = { "self","dx","dy", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_OffsetXY",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3093 if (! wxRect_helper(_obj0
, &_arg0
))
3097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3098 wxRect_OffsetXY(_arg0
,_arg1
,_arg2
);
3100 wxPyEndAllowThreads(__tstate
);
3101 if (PyErr_Occurred()) return NULL
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define wxRect_Offset(_swigobj,_swigarg0) (_swigobj->Offset(_swigarg0))
3108 static PyObject
*_wrap_wxRect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3113 PyObject
* _obj0
= 0;
3115 PyObject
* _obj1
= 0;
3116 char *_kwnames
[] = { "self","pt", NULL
};
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Offset",_kwnames
,&_obj0
,&_obj1
))
3123 if (! wxRect_helper(_obj0
, &_arg0
))
3128 if (! wxPoint_helper(_obj1
, &_arg1
))
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 wxRect_Offset(_arg0
,*_arg1
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) return NULL
;
3137 } Py_INCREF(Py_None
);
3138 _resultobj
= Py_None
;
3142 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
3143 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3149 PyObject
* _obj0
= 0;
3150 char *_kwnames
[] = { "self","x", NULL
};
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
3157 if (! wxRect_helper(_obj0
, &_arg0
))
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) return NULL
;
3166 } _resultobj
= Py_BuildValue("i",_result
);
3170 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
3171 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3176 PyObject
* _obj0
= 0;
3177 char *_kwnames
[] = { "self", NULL
};
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
3184 if (! wxRect_helper(_obj0
, &_arg0
))
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 _result
= (int )wxRect_x_get(_arg0
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) return NULL
;
3193 } _resultobj
= Py_BuildValue("i",_result
);
3197 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
3198 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
* _resultobj
;
3204 PyObject
* _obj0
= 0;
3205 char *_kwnames
[] = { "self","y", NULL
};
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
3212 if (! wxRect_helper(_obj0
, &_arg0
))
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) return NULL
;
3221 } _resultobj
= Py_BuildValue("i",_result
);
3225 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
3226 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
* _resultobj
;
3231 PyObject
* _obj0
= 0;
3232 char *_kwnames
[] = { "self", NULL
};
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
3239 if (! wxRect_helper(_obj0
, &_arg0
))
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 _result
= (int )wxRect_y_get(_arg0
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) return NULL
;
3248 } _resultobj
= Py_BuildValue("i",_result
);
3252 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
3253 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3254 PyObject
* _resultobj
;
3259 PyObject
* _obj0
= 0;
3260 char *_kwnames
[] = { "self","width", NULL
};
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
3267 if (! wxRect_helper(_obj0
, &_arg0
))
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) return NULL
;
3276 } _resultobj
= Py_BuildValue("i",_result
);
3280 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
3281 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3286 PyObject
* _obj0
= 0;
3287 char *_kwnames
[] = { "self", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
3294 if (! wxRect_helper(_obj0
, &_arg0
))
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 _result
= (int )wxRect_width_get(_arg0
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) return NULL
;
3303 } _resultobj
= Py_BuildValue("i",_result
);
3307 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
3308 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3314 PyObject
* _obj0
= 0;
3315 char *_kwnames
[] = { "self","height", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
3322 if (! wxRect_helper(_obj0
, &_arg0
))
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) return NULL
;
3331 } _resultobj
= Py_BuildValue("i",_result
);
3335 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
3336 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
* _resultobj
;
3341 PyObject
* _obj0
= 0;
3342 char *_kwnames
[] = { "self", NULL
};
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
3349 if (! wxRect_helper(_obj0
, &_arg0
))
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 _result
= (int )wxRect_height_get(_arg0
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) return NULL
;
3358 } _resultobj
= Py_BuildValue("i",_result
);
3362 static void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
) {
3365 self
->width
= width
;
3366 self
->height
= height
;
3368 static PyObject
*_wrap_wxRect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3371 int _arg1
= (int ) 0;
3372 int _arg2
= (int ) 0;
3373 int _arg3
= (int ) 0;
3374 int _arg4
= (int ) 0;
3376 PyObject
* _obj0
= 0;
3377 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiii:wxRect_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3384 if (! wxRect_helper(_obj0
, &_arg0
))
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 wxRect_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) return NULL
;
3393 } Py_INCREF(Py_None
);
3394 _resultobj
= Py_None
;
3398 static PyObject
* wxRect_asTuple(wxRect
*self
) {
3399 wxPyBeginBlockThreads();
3400 PyObject
* tup
= PyTuple_New(4);
3401 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3402 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3403 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3404 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3405 wxPyEndBlockThreads();
3408 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3413 PyObject
* _obj0
= 0;
3414 char *_kwnames
[] = { "self", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
3421 if (! wxRect_helper(_obj0
, &_arg0
))
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) return NULL
;
3431 _resultobj
= _result
;
3436 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
& rect
) {
3437 return *self
+ rect
;
3439 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
* _resultobj
;
3445 PyObject
* _obj0
= 0;
3447 PyObject
* _obj1
= 0;
3448 char *_kwnames
[] = { "self","rect", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3456 if (! wxRect_helper(_obj0
, &_arg0
))
3461 if (! wxRect_helper(_obj1
, &_arg1
))
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 _result
= new wxRect (wxRect___add__(_arg0
,*_arg1
));
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) return NULL
;
3470 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3471 _resultobj
= Py_BuildValue("s",_ptemp
);
3475 static bool wxRect___eq__(wxRect
*self
,PyObject
* obj
) {
3478 if (obj
== Py_None
) return FALSE
;
3479 wxPyBLOCK_THREADS(bool success
= wxRect_helper(obj
, &ptr
); PyErr_Clear());
3480 if (! success
) return FALSE
;
3481 return *self
== *ptr
;
3483 static PyObject
*_wrap_wxRect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3489 PyObject
* _obj0
= 0;
3490 PyObject
* _obj1
= 0;
3491 char *_kwnames
[] = { "self","obj", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___eq__",_kwnames
,&_obj0
,&_obj1
))
3498 if (! wxRect_helper(_obj0
, &_arg0
))
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 _result
= (bool )wxRect___eq__(_arg0
,_arg1
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) return NULL
;
3510 } _resultobj
= Py_BuildValue("i",_result
);
3514 static bool wxRect___ne__(wxRect
*self
,PyObject
* obj
) {
3517 if (obj
== Py_None
) return TRUE
;
3518 wxPyBLOCK_THREADS(bool success
= wxRect_helper(obj
, &ptr
); PyErr_Clear());
3519 if (! success
) return TRUE
;
3520 return *self
!= *ptr
;
3522 static PyObject
*_wrap_wxRect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
* _resultobj
;
3528 PyObject
* _obj0
= 0;
3529 PyObject
* _obj1
= 0;
3530 char *_kwnames
[] = { "self","obj", NULL
};
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___ne__",_kwnames
,&_obj0
,&_obj1
))
3537 if (! wxRect_helper(_obj0
, &_arg0
))
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 _result
= (bool )wxRect___ne__(_arg0
,_arg1
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) return NULL
;
3549 } _resultobj
= Py_BuildValue("i",_result
);
3553 #define wxPoint2DDouble_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3554 static PyObject
*_wrap_wxPoint2DDouble_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
* _resultobj
;
3557 wxPoint2DDouble
* _arg0
;
3559 wxPoint2DDouble temp
;
3560 PyObject
* _obj0
= 0;
3561 char *_kwnames
[] = { "self","m_x", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_m_x_set",_kwnames
,&_obj0
,&_arg1
))
3568 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 _result
= (double )wxPoint2DDouble_m_x_set(_arg0
,_arg1
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) return NULL
;
3577 } _resultobj
= Py_BuildValue("d",_result
);
3581 #define wxPoint2DDouble_m_x_get(_swigobj) ((double ) _swigobj->m_x)
3582 static PyObject
*_wrap_wxPoint2DDouble_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
* _resultobj
;
3585 wxPoint2DDouble
* _arg0
;
3586 wxPoint2DDouble temp
;
3587 PyObject
* _obj0
= 0;
3588 char *_kwnames
[] = { "self", NULL
};
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_m_x_get",_kwnames
,&_obj0
))
3595 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 _result
= (double )wxPoint2DDouble_m_x_get(_arg0
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) return NULL
;
3604 } _resultobj
= Py_BuildValue("d",_result
);
3608 #define wxPoint2DDouble_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3609 static PyObject
*_wrap_wxPoint2DDouble_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3612 wxPoint2DDouble
* _arg0
;
3614 wxPoint2DDouble temp
;
3615 PyObject
* _obj0
= 0;
3616 char *_kwnames
[] = { "self","m_y", NULL
};
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_m_y_set",_kwnames
,&_obj0
,&_arg1
))
3623 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 _result
= (double )wxPoint2DDouble_m_y_set(_arg0
,_arg1
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) return NULL
;
3632 } _resultobj
= Py_BuildValue("d",_result
);
3636 #define wxPoint2DDouble_m_y_get(_swigobj) ((double ) _swigobj->m_y)
3637 static PyObject
*_wrap_wxPoint2DDouble_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3640 wxPoint2DDouble
* _arg0
;
3641 wxPoint2DDouble temp
;
3642 PyObject
* _obj0
= 0;
3643 char *_kwnames
[] = { "self", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_m_y_get",_kwnames
,&_obj0
))
3650 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 _result
= (double )wxPoint2DDouble_m_y_get(_arg0
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) return NULL
;
3659 } _resultobj
= Py_BuildValue("d",_result
);
3663 #define new_wxPoint2DDouble(_swigarg0,_swigarg1) (new wxPoint2DDouble(_swigarg0,_swigarg1))
3664 static PyObject
*_wrap_new_wxPoint2DDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3666 wxPoint2DDouble
* _result
;
3667 double _arg0
= (double ) 0;
3668 double _arg1
= (double ) 0;
3669 char *_kwnames
[] = { "x","y", NULL
};
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxPoint2DDouble",_kwnames
,&_arg0
,&_arg1
))
3676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3677 _result
= (wxPoint2DDouble
*)new_wxPoint2DDouble(_arg0
,_arg1
);
3679 wxPyEndAllowThreads(__tstate
);
3680 if (PyErr_Occurred()) return NULL
;
3682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3683 _resultobj
= Py_BuildValue("s",_ptemp
);
3686 _resultobj
= Py_None
;
3691 #define new_wxPoint2DDoubleCopy(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3692 static PyObject
*_wrap_new_wxPoint2DDoubleCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
* _resultobj
;
3694 wxPoint2DDouble
* _result
;
3695 wxPoint2DDouble
* _arg0
;
3696 wxPoint2DDouble temp
;
3697 PyObject
* _obj0
= 0;
3698 char *_kwnames
[] = { "pt", NULL
};
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPoint2DDoubleCopy",_kwnames
,&_obj0
))
3706 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 _result
= (wxPoint2DDouble
*)new_wxPoint2DDoubleCopy(*_arg0
);
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) return NULL
;
3716 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3717 _resultobj
= Py_BuildValue("s",_ptemp
);
3720 _resultobj
= Py_None
;
3725 #define new_wxPoint2DDoubleFromPoint(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3726 static PyObject
*_wrap_new_wxPoint2DDoubleFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
* _resultobj
;
3728 wxPoint2DDouble
* _result
;
3731 PyObject
* _obj0
= 0;
3732 char *_kwnames
[] = { "pt", NULL
};
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPoint2DDoubleFromPoint",_kwnames
,&_obj0
))
3740 if (! wxPoint_helper(_obj0
, &_arg0
))
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 _result
= (wxPoint2DDouble
*)new_wxPoint2DDoubleFromPoint(*_arg0
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) return NULL
;
3750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3751 _resultobj
= Py_BuildValue("s",_ptemp
);
3754 _resultobj
= Py_None
;
3759 #define wxPoint2DDouble_GetFloor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFloor(_swigarg0,_swigarg1))
3760 static PyObject
*_wrap_wxPoint2DDouble_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3762 wxPoint2DDouble
* _arg0
;
3767 wxPoint2DDouble temp1
;
3768 PyObject
* _obj0
= 0;
3769 char *_kwnames
[] = { "self", NULL
};
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetFloor",_kwnames
,&_obj0
))
3782 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 wxPoint2DDouble_GetFloor(_arg0
,_arg1
,_arg2
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) return NULL
;
3791 } Py_INCREF(Py_None
);
3792 _resultobj
= Py_None
;
3795 o
= PyInt_FromLong((long) (*_arg1
));
3796 _resultobj
= t_output_helper(_resultobj
, o
);
3800 o
= PyInt_FromLong((long) (*_arg2
));
3801 _resultobj
= t_output_helper(_resultobj
, o
);
3806 #define wxPoint2DDouble_GetRounded(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRounded(_swigarg0,_swigarg1))
3807 static PyObject
*_wrap_wxPoint2DDouble_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
* _resultobj
;
3809 wxPoint2DDouble
* _arg0
;
3814 wxPoint2DDouble temp1
;
3815 PyObject
* _obj0
= 0;
3816 char *_kwnames
[] = { "self", NULL
};
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetRounded",_kwnames
,&_obj0
))
3829 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 wxPoint2DDouble_GetRounded(_arg0
,_arg1
,_arg2
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) return NULL
;
3838 } Py_INCREF(Py_None
);
3839 _resultobj
= Py_None
;
3842 o
= PyInt_FromLong((long) (*_arg1
));
3843 _resultobj
= t_output_helper(_resultobj
, o
);
3847 o
= PyInt_FromLong((long) (*_arg2
));
3848 _resultobj
= t_output_helper(_resultobj
, o
);
3853 #define wxPoint2DDouble_GetVectorLength(_swigobj) (_swigobj->GetVectorLength())
3854 static PyObject
*_wrap_wxPoint2DDouble_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
* _resultobj
;
3857 wxPoint2DDouble
* _arg0
;
3858 wxPoint2DDouble temp
;
3859 PyObject
* _obj0
= 0;
3860 char *_kwnames
[] = { "self", NULL
};
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetVectorLength",_kwnames
,&_obj0
))
3867 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 _result
= (double )wxPoint2DDouble_GetVectorLength(_arg0
);
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) return NULL
;
3876 } _resultobj
= Py_BuildValue("d",_result
);
3880 #define wxPoint2DDouble_GetVectorAngle(_swigobj) (_swigobj->GetVectorAngle())
3881 static PyObject
*_wrap_wxPoint2DDouble_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
* _resultobj
;
3884 wxPoint2DDouble
* _arg0
;
3885 wxPoint2DDouble temp
;
3886 PyObject
* _obj0
= 0;
3887 char *_kwnames
[] = { "self", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetVectorAngle",_kwnames
,&_obj0
))
3894 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 _result
= (double )wxPoint2DDouble_GetVectorAngle(_arg0
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) return NULL
;
3903 } _resultobj
= Py_BuildValue("d",_result
);
3907 #define wxPoint2DDouble_SetVectorLength(_swigobj,_swigarg0) (_swigobj->SetVectorLength(_swigarg0))
3908 static PyObject
*_wrap_wxPoint2DDouble_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
* _resultobj
;
3910 wxPoint2DDouble
* _arg0
;
3912 wxPoint2DDouble temp
;
3913 PyObject
* _obj0
= 0;
3914 char *_kwnames
[] = { "self","length", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_SetVectorLength",_kwnames
,&_obj0
,&_arg1
))
3921 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 wxPoint2DDouble_SetVectorLength(_arg0
,_arg1
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) return NULL
;
3930 } Py_INCREF(Py_None
);
3931 _resultobj
= Py_None
;
3935 #define wxPoint2DDouble_SetVectorAngle(_swigobj,_swigarg0) (_swigobj->SetVectorAngle(_swigarg0))
3936 static PyObject
*_wrap_wxPoint2DDouble_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
* _resultobj
;
3938 wxPoint2DDouble
* _arg0
;
3940 wxPoint2DDouble temp
;
3941 PyObject
* _obj0
= 0;
3942 char *_kwnames
[] = { "self","degrees", NULL
};
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_SetVectorAngle",_kwnames
,&_obj0
,&_arg1
))
3949 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 wxPoint2DDouble_SetVectorAngle(_arg0
,_arg1
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) return NULL
;
3958 } Py_INCREF(Py_None
);
3959 _resultobj
= Py_None
;
3963 #define wxPoint2DDouble_GetDistance(_swigobj,_swigarg0) (_swigobj->GetDistance(_swigarg0))
3964 static PyObject
*_wrap_wxPoint2DDouble_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
* _resultobj
;
3967 wxPoint2DDouble
* _arg0
;
3968 wxPoint2DDouble
* _arg1
;
3969 wxPoint2DDouble temp
;
3970 PyObject
* _obj0
= 0;
3971 wxPoint2DDouble temp0
;
3972 PyObject
* _obj1
= 0;
3973 char *_kwnames
[] = { "self","pt", NULL
};
3976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDistance",_kwnames
,&_obj0
,&_obj1
))
3980 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3985 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 _result
= (double )wxPoint2DDouble_GetDistance(_arg0
,*_arg1
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) return NULL
;
3994 } _resultobj
= Py_BuildValue("d",_result
);
3998 #define wxPoint2DDouble_GetDistanceSquare(_swigobj,_swigarg0) (_swigobj->GetDistanceSquare(_swigarg0))
3999 static PyObject
*_wrap_wxPoint2DDouble_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
* _resultobj
;
4002 wxPoint2DDouble
* _arg0
;
4003 wxPoint2DDouble
* _arg1
;
4004 wxPoint2DDouble temp
;
4005 PyObject
* _obj0
= 0;
4006 wxPoint2DDouble temp0
;
4007 PyObject
* _obj1
= 0;
4008 char *_kwnames
[] = { "self","pt", NULL
};
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDistanceSquare",_kwnames
,&_obj0
,&_obj1
))
4015 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4020 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 _result
= (double )wxPoint2DDouble_GetDistanceSquare(_arg0
,*_arg1
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) return NULL
;
4029 } _resultobj
= Py_BuildValue("d",_result
);
4033 #define wxPoint2DDouble_GetDotProduct(_swigobj,_swigarg0) (_swigobj->GetDotProduct(_swigarg0))
4034 static PyObject
*_wrap_wxPoint2DDouble_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4037 wxPoint2DDouble
* _arg0
;
4038 wxPoint2DDouble
* _arg1
;
4039 wxPoint2DDouble temp
;
4040 PyObject
* _obj0
= 0;
4041 wxPoint2DDouble temp0
;
4042 PyObject
* _obj1
= 0;
4043 char *_kwnames
[] = { "self","vec", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDotProduct",_kwnames
,&_obj0
,&_obj1
))
4050 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4055 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 _result
= (double )wxPoint2DDouble_GetDotProduct(_arg0
,*_arg1
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) return NULL
;
4064 } _resultobj
= Py_BuildValue("d",_result
);
4068 #define wxPoint2DDouble_GetCrossProduct(_swigobj,_swigarg0) (_swigobj->GetCrossProduct(_swigarg0))
4069 static PyObject
*_wrap_wxPoint2DDouble_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4072 wxPoint2DDouble
* _arg0
;
4073 wxPoint2DDouble
* _arg1
;
4074 wxPoint2DDouble temp
;
4075 PyObject
* _obj0
= 0;
4076 wxPoint2DDouble temp0
;
4077 PyObject
* _obj1
= 0;
4078 char *_kwnames
[] = { "self","vec", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetCrossProduct",_kwnames
,&_obj0
,&_obj1
))
4085 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4090 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 _result
= (double )wxPoint2DDouble_GetCrossProduct(_arg0
,*_arg1
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) return NULL
;
4099 } _resultobj
= Py_BuildValue("d",_result
);
4103 static void wxPoint2DDouble_Set(wxPoint2DDouble
*self
,double x
,double y
) {
4107 static PyObject
*_wrap_wxPoint2DDouble_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
* _resultobj
;
4109 wxPoint2DDouble
* _arg0
;
4110 double _arg1
= (double ) 0;
4111 double _arg2
= (double ) 0;
4112 wxPoint2DDouble temp
;
4113 PyObject
* _obj0
= 0;
4114 char *_kwnames
[] = { "self","x","y", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|dd:wxPoint2DDouble_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4121 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 wxPoint2DDouble_Set(_arg0
,_arg1
,_arg2
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) return NULL
;
4130 } Py_INCREF(Py_None
);
4131 _resultobj
= Py_None
;
4135 static wxPoint2DDouble
wxPoint2DDouble___neg__(wxPoint2DDouble
*self
) { return -(*self
); }
4136 static PyObject
*_wrap_wxPoint2DDouble___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
* _resultobj
;
4138 wxPoint2DDouble
* _result
;
4139 wxPoint2DDouble
* _arg0
;
4140 wxPoint2DDouble temp
;
4141 PyObject
* _obj0
= 0;
4142 char *_kwnames
[] = { "self", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble___neg__",_kwnames
,&_obj0
))
4150 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 _result
= new wxPoint2DDouble (wxPoint2DDouble___neg__(_arg0
));
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) return NULL
;
4159 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint2DDouble_p");
4160 _resultobj
= Py_BuildValue("s",_ptemp
);
4164 static wxPoint2DDouble
& wxPoint2DDouble___iadd__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) += pt
; }
4165 static PyObject
*_wrap_wxPoint2DDouble___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4167 wxPoint2DDouble
* _result
;
4168 wxPoint2DDouble
* _arg0
;
4169 wxPoint2DDouble
* _arg1
;
4170 wxPoint2DDouble temp
;
4171 PyObject
* _obj0
= 0;
4172 wxPoint2DDouble temp0
;
4173 PyObject
* _obj1
= 0;
4174 char *_kwnames
[] = { "self","pt", NULL
};
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___iadd__",_kwnames
,&_obj0
,&_obj1
))
4182 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4187 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___iadd__(_arg0
,*_arg1
);
4193 _result
= (wxPoint2DDouble
*) &_result_ref
;
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) return NULL
;
4198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4199 _resultobj
= Py_BuildValue("s",_ptemp
);
4202 _resultobj
= Py_None
;
4207 static wxPoint2DDouble
& wxPoint2DDouble___isub__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) -= pt
; }
4208 static PyObject
*_wrap_wxPoint2DDouble___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
* _resultobj
;
4210 wxPoint2DDouble
* _result
;
4211 wxPoint2DDouble
* _arg0
;
4212 wxPoint2DDouble
* _arg1
;
4213 wxPoint2DDouble temp
;
4214 PyObject
* _obj0
= 0;
4215 wxPoint2DDouble temp0
;
4216 PyObject
* _obj1
= 0;
4217 char *_kwnames
[] = { "self","pt", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___isub__",_kwnames
,&_obj0
,&_obj1
))
4225 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4230 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___isub__(_arg0
,*_arg1
);
4236 _result
= (wxPoint2DDouble
*) &_result_ref
;
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) return NULL
;
4241 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4242 _resultobj
= Py_BuildValue("s",_ptemp
);
4245 _resultobj
= Py_None
;
4250 static wxPoint2DDouble
& wxPoint2DDouble___imul__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) *= pt
; }
4251 static PyObject
*_wrap_wxPoint2DDouble___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
* _resultobj
;
4253 wxPoint2DDouble
* _result
;
4254 wxPoint2DDouble
* _arg0
;
4255 wxPoint2DDouble
* _arg1
;
4256 wxPoint2DDouble temp
;
4257 PyObject
* _obj0
= 0;
4258 wxPoint2DDouble temp0
;
4259 PyObject
* _obj1
= 0;
4260 char *_kwnames
[] = { "self","pt", NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___imul__",_kwnames
,&_obj0
,&_obj1
))
4268 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4273 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___imul__(_arg0
,*_arg1
);
4279 _result
= (wxPoint2DDouble
*) &_result_ref
;
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) return NULL
;
4284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4285 _resultobj
= Py_BuildValue("s",_ptemp
);
4288 _resultobj
= Py_None
;
4293 static wxPoint2DDouble
& wxPoint2DDouble___idiv__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) /= pt
; }
4294 static PyObject
*_wrap_wxPoint2DDouble___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
* _resultobj
;
4296 wxPoint2DDouble
* _result
;
4297 wxPoint2DDouble
* _arg0
;
4298 wxPoint2DDouble
* _arg1
;
4299 wxPoint2DDouble temp
;
4300 PyObject
* _obj0
= 0;
4301 wxPoint2DDouble temp0
;
4302 PyObject
* _obj1
= 0;
4303 char *_kwnames
[] = { "self","pt", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___idiv__",_kwnames
,&_obj0
,&_obj1
))
4311 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4316 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___idiv__(_arg0
,*_arg1
);
4322 _result
= (wxPoint2DDouble
*) &_result_ref
;
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) return NULL
;
4327 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4328 _resultobj
= Py_BuildValue("s",_ptemp
);
4331 _resultobj
= Py_None
;
4336 static bool wxPoint2DDouble___eq__(wxPoint2DDouble
*self
,PyObject
* obj
) {
4337 wxPoint2DDouble tmp
;
4338 wxPoint2DDouble
* ptr
= &tmp
;
4339 if (obj
== Py_None
) return FALSE
;
4340 wxPyBLOCK_THREADS(bool success
= wxPoint2DDouble_helper(obj
, &ptr
); PyErr_Clear());
4341 if (! success
) return FALSE
;
4342 return *self
== *ptr
;
4344 static PyObject
*_wrap_wxPoint2DDouble___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
* _resultobj
;
4347 wxPoint2DDouble
* _arg0
;
4349 wxPoint2DDouble temp
;
4350 PyObject
* _obj0
= 0;
4351 PyObject
* _obj1
= 0;
4352 char *_kwnames
[] = { "self","obj", NULL
};
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___eq__",_kwnames
,&_obj0
,&_obj1
))
4359 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 _result
= (bool )wxPoint2DDouble___eq__(_arg0
,_arg1
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) return NULL
;
4371 } _resultobj
= Py_BuildValue("i",_result
);
4375 static bool wxPoint2DDouble___ne__(wxPoint2DDouble
*self
,PyObject
* obj
) {
4376 wxPoint2DDouble tmp
;
4377 wxPoint2DDouble
* ptr
= &tmp
;
4378 if (obj
== Py_None
) return TRUE
;
4379 wxPyBLOCK_THREADS(bool success
= wxPoint2DDouble_helper(obj
, &ptr
); PyErr_Clear());
4380 if (! success
) return TRUE
;
4381 return *self
!= *ptr
;
4383 static PyObject
*_wrap_wxPoint2DDouble___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
* _resultobj
;
4386 wxPoint2DDouble
* _arg0
;
4388 wxPoint2DDouble temp
;
4389 PyObject
* _obj0
= 0;
4390 PyObject
* _obj1
= 0;
4391 char *_kwnames
[] = { "self","obj", NULL
};
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___ne__",_kwnames
,&_obj0
,&_obj1
))
4398 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 _result
= (bool )wxPoint2DDouble___ne__(_arg0
,_arg1
);
4408 wxPyEndAllowThreads(__tstate
);
4409 if (PyErr_Occurred()) return NULL
;
4410 } _resultobj
= Py_BuildValue("i",_result
);
4414 static PyObject
* wxPoint2DDouble_asTuple(wxPoint2DDouble
*self
) {
4415 wxPyBeginBlockThreads();
4416 PyObject
* tup
= PyTuple_New(2);
4417 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
4418 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
4419 wxPyEndBlockThreads();
4422 static PyObject
*_wrap_wxPoint2DDouble_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4425 wxPoint2DDouble
* _arg0
;
4426 wxPoint2DDouble temp
;
4427 PyObject
* _obj0
= 0;
4428 char *_kwnames
[] = { "self", NULL
};
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_asTuple",_kwnames
,&_obj0
))
4435 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 _result
= (PyObject
*)wxPoint2DDouble_asTuple(_arg0
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) return NULL
;
4445 _resultobj
= _result
;
4450 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
4451 wxIndividualLayoutConstraint
*src
;
4453 src
= (wxIndividualLayoutConstraint
*) ptr
;
4454 dest
= (wxObject
*) src
;
4455 return (void *) dest
;
4458 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
4459 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4461 wxIndividualLayoutConstraint
* _arg0
;
4463 int _arg2
= (int ) 0;
4464 PyObject
* _argo0
= 0;
4465 PyObject
* _argo1
= 0;
4466 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
4479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) return NULL
;
4491 } Py_INCREF(Py_None
);
4492 _resultobj
= Py_None
;
4496 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
4497 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4498 PyObject
* _resultobj
;
4499 wxIndividualLayoutConstraint
* _arg0
;
4501 PyObject
* _argo0
= 0;
4502 char *_kwnames
[] = { "self","value", NULL
};
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
4508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) return NULL
;
4520 } Py_INCREF(Py_None
);
4521 _resultobj
= Py_None
;
4525 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
4526 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4528 wxIndividualLayoutConstraint
* _arg0
;
4529 PyObject
* _argo0
= 0;
4530 char *_kwnames
[] = { "self", NULL
};
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
4536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 wxIndividualLayoutConstraint_AsIs(_arg0
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) return NULL
;
4548 } Py_INCREF(Py_None
);
4549 _resultobj
= Py_None
;
4553 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
4554 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
* _resultobj
;
4556 wxIndividualLayoutConstraint
* _arg0
;
4558 int _arg2
= (int ) 0;
4559 PyObject
* _argo0
= 0;
4560 PyObject
* _argo1
= 0;
4561 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
4574 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4575 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) return NULL
;
4586 } Py_INCREF(Py_None
);
4587 _resultobj
= Py_None
;
4591 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
4592 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4594 wxIndividualLayoutConstraint
* _arg0
;
4595 PyObject
* _argo0
= 0;
4596 char *_kwnames
[] = { "self", NULL
};
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
4602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) return NULL
;
4614 } Py_INCREF(Py_None
);
4615 _resultobj
= Py_None
;
4619 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
4620 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
* _resultobj
;
4622 wxIndividualLayoutConstraint
* _arg0
;
4624 int _arg2
= (int ) 0;
4625 PyObject
* _argo0
= 0;
4626 PyObject
* _argo1
= 0;
4627 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
4640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) return NULL
;
4652 } Py_INCREF(Py_None
);
4653 _resultobj
= Py_None
;
4657 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
4658 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4660 wxIndividualLayoutConstraint
* _arg0
;
4664 PyObject
* _argo0
= 0;
4665 PyObject
* _argo1
= 0;
4666 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
4679 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4680 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) return NULL
;
4691 } Py_INCREF(Py_None
);
4692 _resultobj
= Py_None
;
4696 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
4697 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
* _resultobj
;
4699 wxIndividualLayoutConstraint
* _arg0
;
4701 int _arg2
= (int ) 0;
4702 PyObject
* _argo0
= 0;
4703 PyObject
* _argo1
= 0;
4704 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
4717 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4718 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) return NULL
;
4729 } Py_INCREF(Py_None
);
4730 _resultobj
= Py_None
;
4734 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
4735 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
* _resultobj
;
4737 wxIndividualLayoutConstraint
* _arg0
;
4740 int _arg3
= (int ) 0;
4741 PyObject
* _argo0
= 0;
4742 PyObject
* _argo1
= 0;
4743 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
4756 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4757 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) return NULL
;
4768 } Py_INCREF(Py_None
);
4769 _resultobj
= Py_None
;
4773 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4774 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4776 wxIndividualLayoutConstraint
* _arg0
;
4777 wxRelationship _arg1
;
4780 int _arg4
= (int ) 0;
4781 int _arg5
= (int ) 0;
4782 PyObject
* _argo0
= 0;
4783 PyObject
* _argo2
= 0;
4784 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
4790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
4797 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4798 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) return NULL
;
4809 } Py_INCREF(Py_None
);
4810 _resultobj
= Py_None
;
4814 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
4815 wxLayoutConstraints
*src
;
4817 src
= (wxLayoutConstraints
*) ptr
;
4818 dest
= (wxObject
*) src
;
4819 return (void *) dest
;
4822 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
4823 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4825 wxLayoutConstraints
* _result
;
4826 char *_kwnames
[] = { NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) return NULL
;
4839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
4840 _resultobj
= Py_BuildValue("s",_ptemp
);
4843 _resultobj
= Py_None
;
4848 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
4849 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
* _resultobj
;
4851 wxIndividualLayoutConstraint
* _result
;
4852 wxLayoutConstraints
* _arg0
;
4853 PyObject
* _argo0
= 0;
4854 char *_kwnames
[] = { "self", NULL
};
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
4861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) return NULL
;
4874 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4875 _resultobj
= Py_BuildValue("s",_ptemp
);
4878 _resultobj
= Py_None
;
4883 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
4884 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
* _resultobj
;
4886 wxIndividualLayoutConstraint
* _result
;
4887 wxLayoutConstraints
* _arg0
;
4888 PyObject
* _argo0
= 0;
4889 char *_kwnames
[] = { "self", NULL
};
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
4896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) return NULL
;
4909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4910 _resultobj
= Py_BuildValue("s",_ptemp
);
4913 _resultobj
= Py_None
;
4918 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
4919 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
* _resultobj
;
4921 wxIndividualLayoutConstraint
* _result
;
4922 wxLayoutConstraints
* _arg0
;
4923 PyObject
* _argo0
= 0;
4924 char *_kwnames
[] = { "self", NULL
};
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
4931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) return NULL
;
4944 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4945 _resultobj
= Py_BuildValue("s",_ptemp
);
4948 _resultobj
= Py_None
;
4953 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
4954 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4956 wxIndividualLayoutConstraint
* _result
;
4957 wxLayoutConstraints
* _arg0
;
4958 PyObject
* _argo0
= 0;
4959 char *_kwnames
[] = { "self", NULL
};
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
4966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) return NULL
;
4979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4980 _resultobj
= Py_BuildValue("s",_ptemp
);
4983 _resultobj
= Py_None
;
4988 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
4989 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
* _resultobj
;
4991 wxIndividualLayoutConstraint
* _result
;
4992 wxLayoutConstraints
* _arg0
;
4993 PyObject
* _argo0
= 0;
4994 char *_kwnames
[] = { "self", NULL
};
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
5001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) return NULL
;
5014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5015 _resultobj
= Py_BuildValue("s",_ptemp
);
5018 _resultobj
= Py_None
;
5023 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
5024 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
* _resultobj
;
5026 wxIndividualLayoutConstraint
* _result
;
5027 wxLayoutConstraints
* _arg0
;
5028 PyObject
* _argo0
= 0;
5029 char *_kwnames
[] = { "self", NULL
};
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
5036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) return NULL
;
5049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5050 _resultobj
= Py_BuildValue("s",_ptemp
);
5053 _resultobj
= Py_None
;
5058 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
5059 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5061 wxIndividualLayoutConstraint
* _result
;
5062 wxLayoutConstraints
* _arg0
;
5063 PyObject
* _argo0
= 0;
5064 char *_kwnames
[] = { "self", NULL
};
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
5071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) return NULL
;
5084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5085 _resultobj
= Py_BuildValue("s",_ptemp
);
5088 _resultobj
= Py_None
;
5093 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
5094 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
* _resultobj
;
5096 wxIndividualLayoutConstraint
* _result
;
5097 wxLayoutConstraints
* _arg0
;
5098 PyObject
* _argo0
= 0;
5099 char *_kwnames
[] = { "self", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) return NULL
;
5119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5120 _resultobj
= Py_BuildValue("s",_ptemp
);
5123 _resultobj
= Py_None
;
5128 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
5129 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
* _resultobj
;
5131 wxAcceleratorEntry
* _result
;
5132 int _arg0
= (int ) 0;
5133 int _arg1
= (int ) 0;
5134 int _arg2
= (int ) 0;
5135 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5143 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) return NULL
;
5148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
5149 _resultobj
= Py_BuildValue("s",_ptemp
);
5152 _resultobj
= Py_None
;
5157 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
5158 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5160 wxAcceleratorEntry
* _arg0
;
5161 PyObject
* _argo0
= 0;
5162 char *_kwnames
[] = { "self", NULL
};
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
5168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 delete_wxAcceleratorEntry(_arg0
);
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) return NULL
;
5180 } Py_INCREF(Py_None
);
5181 _resultobj
= Py_None
;
5185 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
5186 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
* _resultobj
;
5188 wxAcceleratorEntry
* _arg0
;
5192 PyObject
* _argo0
= 0;
5193 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) return NULL
;
5211 } Py_INCREF(Py_None
);
5212 _resultobj
= Py_None
;
5216 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
5217 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
* _resultobj
;
5220 wxAcceleratorEntry
* _arg0
;
5221 PyObject
* _argo0
= 0;
5222 char *_kwnames
[] = { "self", NULL
};
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
5228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) return NULL
;
5240 } _resultobj
= Py_BuildValue("i",_result
);
5244 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
5245 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
* _resultobj
;
5248 wxAcceleratorEntry
* _arg0
;
5249 PyObject
* _argo0
= 0;
5250 char *_kwnames
[] = { "self", NULL
};
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
5256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) return NULL
;
5268 } _resultobj
= Py_BuildValue("i",_result
);
5272 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
5273 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5276 wxAcceleratorEntry
* _arg0
;
5277 PyObject
* _argo0
= 0;
5278 char *_kwnames
[] = { "self", NULL
};
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
5284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) return NULL
;
5296 } _resultobj
= Py_BuildValue("i",_result
);
5300 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
5301 wxAcceleratorTable
*src
;
5303 src
= (wxAcceleratorTable
*) ptr
;
5304 dest
= (wxObject
*) src
;
5305 return (void *) dest
;
5308 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
5309 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
* _resultobj
;
5311 wxAcceleratorTable
* _result
;
5313 wxAcceleratorEntry
* _arg1
;
5314 PyObject
* _obj1
= 0;
5315 char *_kwnames
[] = { "choices", NULL
};
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
5323 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
5324 if (_arg1
== NULL
) {
5330 _arg0
= PyList_Size(_obj1
);
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) return NULL
;
5343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
5344 _resultobj
= Py_BuildValue("s",_ptemp
);
5347 _resultobj
= Py_None
;
5355 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
5356 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
* _resultobj
;
5358 wxAcceleratorTable
* _arg0
;
5359 PyObject
* _argo0
= 0;
5360 char *_kwnames
[] = { "self", NULL
};
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
5366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
5368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 delete_wxAcceleratorTable(_arg0
);
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) return NULL
;
5378 } Py_INCREF(Py_None
);
5379 _resultobj
= Py_None
;
5383 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
5386 src
= (wxBusyInfo
*) ptr
;
5387 dest
= (wxObject
*) src
;
5388 return (void *) dest
;
5391 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
5392 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5394 wxBusyInfo
* _result
;
5396 PyObject
* _obj0
= 0;
5397 char *_kwnames
[] = { "message", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
5404 _arg0
= wxString_in_helper(_obj0
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) return NULL
;
5415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
5416 _resultobj
= Py_BuildValue("s",_ptemp
);
5419 _resultobj
= Py_None
;
5428 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
5429 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
* _resultobj
;
5432 PyObject
* _argo0
= 0;
5433 char *_kwnames
[] = { "self", NULL
};
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
5439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
5441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 delete_wxBusyInfo(_arg0
);
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) return NULL
;
5451 } Py_INCREF(Py_None
);
5452 _resultobj
= Py_None
;
5456 static PyMethodDef misccMethods
[] = {
5457 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
5458 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
5459 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
5460 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
5461 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
5462 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
5463 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
5464 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
5465 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
5466 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
5467 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5468 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
5469 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
5470 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
5471 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
5472 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
5473 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
5474 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
5475 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
5476 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5477 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
5478 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
5479 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
5480 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
5481 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
5482 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
5483 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
5484 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
5485 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
5486 { "wxPoint2DDouble_asTuple", (PyCFunction
) _wrap_wxPoint2DDouble_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5487 { "wxPoint2DDouble___ne__", (PyCFunction
) _wrap_wxPoint2DDouble___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5488 { "wxPoint2DDouble___eq__", (PyCFunction
) _wrap_wxPoint2DDouble___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5489 { "wxPoint2DDouble___idiv__", (PyCFunction
) _wrap_wxPoint2DDouble___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
5490 { "wxPoint2DDouble___imul__", (PyCFunction
) _wrap_wxPoint2DDouble___imul__
, METH_VARARGS
| METH_KEYWORDS
},
5491 { "wxPoint2DDouble___isub__", (PyCFunction
) _wrap_wxPoint2DDouble___isub__
, METH_VARARGS
| METH_KEYWORDS
},
5492 { "wxPoint2DDouble___iadd__", (PyCFunction
) _wrap_wxPoint2DDouble___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
5493 { "wxPoint2DDouble___neg__", (PyCFunction
) _wrap_wxPoint2DDouble___neg__
, METH_VARARGS
| METH_KEYWORDS
},
5494 { "wxPoint2DDouble_Set", (PyCFunction
) _wrap_wxPoint2DDouble_Set
, METH_VARARGS
| METH_KEYWORDS
},
5495 { "wxPoint2DDouble_GetCrossProduct", (PyCFunction
) _wrap_wxPoint2DDouble_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
5496 { "wxPoint2DDouble_GetDotProduct", (PyCFunction
) _wrap_wxPoint2DDouble_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
5497 { "wxPoint2DDouble_GetDistanceSquare", (PyCFunction
) _wrap_wxPoint2DDouble_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
5498 { "wxPoint2DDouble_GetDistance", (PyCFunction
) _wrap_wxPoint2DDouble_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
5499 { "wxPoint2DDouble_SetVectorAngle", (PyCFunction
) _wrap_wxPoint2DDouble_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
5500 { "wxPoint2DDouble_SetVectorLength", (PyCFunction
) _wrap_wxPoint2DDouble_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
5501 { "wxPoint2DDouble_GetVectorAngle", (PyCFunction
) _wrap_wxPoint2DDouble_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
5502 { "wxPoint2DDouble_GetVectorLength", (PyCFunction
) _wrap_wxPoint2DDouble_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
5503 { "wxPoint2DDouble_GetRounded", (PyCFunction
) _wrap_wxPoint2DDouble_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
5504 { "wxPoint2DDouble_GetFloor", (PyCFunction
) _wrap_wxPoint2DDouble_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
5505 { "new_wxPoint2DDoubleFromPoint", (PyCFunction
) _wrap_new_wxPoint2DDoubleFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
5506 { "new_wxPoint2DDoubleCopy", (PyCFunction
) _wrap_new_wxPoint2DDoubleCopy
, METH_VARARGS
| METH_KEYWORDS
},
5507 { "new_wxPoint2DDouble", (PyCFunction
) _wrap_new_wxPoint2DDouble
, METH_VARARGS
| METH_KEYWORDS
},
5508 { "wxPoint2DDouble_y_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5509 { "wxPoint2DDouble_y_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5510 { "wxPoint2DDouble_x_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5511 { "wxPoint2DDouble_x_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5512 { "wxPoint2DDouble_m_y_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5513 { "wxPoint2DDouble_m_y_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5514 { "wxPoint2DDouble_m_x_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5515 { "wxPoint2DDouble_m_x_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5516 { "wxRect___ne__", (PyCFunction
) _wrap_wxRect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5517 { "wxRect___eq__", (PyCFunction
) _wrap_wxRect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5518 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
5519 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5520 { "wxRect_Set", (PyCFunction
) _wrap_wxRect_Set
, METH_VARARGS
| METH_KEYWORDS
},
5521 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
5522 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
5523 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5524 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
5525 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5526 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5527 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5528 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5529 { "wxRect_Offset", (PyCFunction
) _wrap_wxRect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
5530 { "wxRect_OffsetXY", (PyCFunction
) _wrap_wxRect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
5531 { "wxRect_Intersects", (PyCFunction
) _wrap_wxRect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
5532 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
5533 { "wxRect_InsideXY", (PyCFunction
) _wrap_wxRect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
5534 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
5535 { "wxRect_Deflate", (PyCFunction
) _wrap_wxRect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
5536 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
5537 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
5538 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
5539 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
5540 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
5541 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
5542 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
5543 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
5544 { "wxRect_SetSize", (PyCFunction
) _wrap_wxRect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
5545 { "wxRect_SetPosition", (PyCFunction
) _wrap_wxRect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5546 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
5547 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5548 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5549 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5550 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5551 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5552 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
5553 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5554 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
5555 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5556 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
5557 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
5558 { "wxPoint___ne__", (PyCFunction
) _wrap_wxPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5559 { "wxPoint___eq__", (PyCFunction
) _wrap_wxPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5560 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
5561 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
5562 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5563 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5564 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
5565 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
5566 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5567 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5568 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5569 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5570 { "wxRealPoint___ne__", (PyCFunction
) _wrap_wxRealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5571 { "wxRealPoint___eq__", (PyCFunction
) _wrap_wxRealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5572 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
5573 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
5574 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5575 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5576 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
5577 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
5578 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5579 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5580 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5581 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5582 { "wxSize___ne__", (PyCFunction
) _wrap_wxSize___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5583 { "wxSize___eq__", (PyCFunction
) _wrap_wxSize___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5584 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5585 { "wxSize_DecTo", (PyCFunction
) _wrap_wxSize_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
5586 { "wxSize_IncTo", (PyCFunction
) _wrap_wxSize_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
5587 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5588 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5589 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5590 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5591 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5592 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5593 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
5594 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
5595 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
5596 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5597 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5598 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5599 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5600 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5601 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5602 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5603 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5604 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5605 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
5606 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
5607 { "wxTrap", (PyCFunction
) _wrap_wxTrap
, METH_VARARGS
| METH_KEYWORDS
},
5608 { "wxGetProcessId", (PyCFunction
) _wrap_wxGetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
5609 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
5610 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
5611 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
5612 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
5613 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
5614 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
5615 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
5616 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
5617 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
5618 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
5619 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
5620 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
5621 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
5622 { "wxShutdown", (PyCFunction
) _wrap_wxShutdown
, METH_VARARGS
| METH_KEYWORDS
},
5623 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
5624 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
5625 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
5626 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
5627 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
5628 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
5629 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
5630 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
5631 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5632 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
5633 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
5634 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
5635 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
5636 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
5643 * This table is used by the pointer type-checker
5645 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5646 { "_signed_long","_long",0},
5647 { "_wxPrintQuality","_wxCoord",0},
5648 { "_wxPrintQuality","_int",0},
5649 { "_wxPrintQuality","_signed_int",0},
5650 { "_wxPrintQuality","_unsigned_int",0},
5651 { "_wxPrintQuality","_wxWindowID",0},
5652 { "_wxPrintQuality","_uint",0},
5653 { "_wxPrintQuality","_EBool",0},
5654 { "_wxPrintQuality","_size_t",0},
5655 { "_wxPrintQuality","_time_t",0},
5656 { "_byte","_unsigned_char",0},
5657 { "_long","_unsigned_long",0},
5658 { "_long","_signed_long",0},
5659 { "_size_t","_wxCoord",0},
5660 { "_size_t","_wxPrintQuality",0},
5661 { "_size_t","_time_t",0},
5662 { "_size_t","_unsigned_int",0},
5663 { "_size_t","_int",0},
5664 { "_size_t","_wxWindowID",0},
5665 { "_size_t","_uint",0},
5666 { "_uint","_wxCoord",0},
5667 { "_uint","_wxPrintQuality",0},
5668 { "_uint","_time_t",0},
5669 { "_uint","_size_t",0},
5670 { "_uint","_unsigned_int",0},
5671 { "_uint","_int",0},
5672 { "_uint","_wxWindowID",0},
5673 { "_wxChar","_char",0},
5674 { "_char","_wxChar",0},
5675 { "_EBool","_wxCoord",0},
5676 { "_EBool","_wxPrintQuality",0},
5677 { "_EBool","_signed_int",0},
5678 { "_EBool","_int",0},
5679 { "_EBool","_wxWindowID",0},
5680 { "_unsigned_long","_long",0},
5681 { "_signed_int","_wxCoord",0},
5682 { "_signed_int","_wxPrintQuality",0},
5683 { "_signed_int","_EBool",0},
5684 { "_signed_int","_wxWindowID",0},
5685 { "_signed_int","_int",0},
5686 { "_WXTYPE","_short",0},
5687 { "_WXTYPE","_signed_short",0},
5688 { "_WXTYPE","_unsigned_short",0},
5689 { "_unsigned_short","_WXTYPE",0},
5690 { "_unsigned_short","_short",0},
5691 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
5692 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
5693 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
5694 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
5695 { "_signed_short","_WXTYPE",0},
5696 { "_signed_short","_short",0},
5697 { "_unsigned_char","_byte",0},
5698 { "_unsigned_int","_wxCoord",0},
5699 { "_unsigned_int","_wxPrintQuality",0},
5700 { "_unsigned_int","_time_t",0},
5701 { "_unsigned_int","_size_t",0},
5702 { "_unsigned_int","_uint",0},
5703 { "_unsigned_int","_wxWindowID",0},
5704 { "_unsigned_int","_int",0},
5705 { "_short","_WXTYPE",0},
5706 { "_short","_unsigned_short",0},
5707 { "_short","_signed_short",0},
5708 { "_wxWindowID","_wxCoord",0},
5709 { "_wxWindowID","_wxPrintQuality",0},
5710 { "_wxWindowID","_time_t",0},
5711 { "_wxWindowID","_size_t",0},
5712 { "_wxWindowID","_EBool",0},
5713 { "_wxWindowID","_uint",0},
5714 { "_wxWindowID","_int",0},
5715 { "_wxWindowID","_signed_int",0},
5716 { "_wxWindowID","_unsigned_int",0},
5717 { "_int","_wxCoord",0},
5718 { "_int","_wxPrintQuality",0},
5719 { "_int","_time_t",0},
5720 { "_int","_size_t",0},
5721 { "_int","_EBool",0},
5722 { "_int","_uint",0},
5723 { "_int","_wxWindowID",0},
5724 { "_int","_unsigned_int",0},
5725 { "_int","_signed_int",0},
5726 { "_time_t","_wxCoord",0},
5727 { "_time_t","_wxPrintQuality",0},
5728 { "_time_t","_unsigned_int",0},
5729 { "_time_t","_int",0},
5730 { "_time_t","_wxWindowID",0},
5731 { "_time_t","_uint",0},
5732 { "_time_t","_size_t",0},
5733 { "_wxCoord","_int",0},
5734 { "_wxCoord","_signed_int",0},
5735 { "_wxCoord","_unsigned_int",0},
5736 { "_wxCoord","_wxWindowID",0},
5737 { "_wxCoord","_uint",0},
5738 { "_wxCoord","_EBool",0},
5739 { "_wxCoord","_size_t",0},
5740 { "_wxCoord","_time_t",0},
5741 { "_wxCoord","_wxPrintQuality",0},
5744 static PyObject
*SWIG_globals
;
5748 SWIGEXPORT(void) initmiscc() {
5750 SWIG_globals
= SWIG_newvarlink();
5751 m
= Py_InitModule("miscc", misccMethods
);
5752 d
= PyModule_GetDict(m
);
5753 PyDict_SetItemString(d
,"wxSHUTDOWN_POWEROFF", PyInt_FromLong((long) wxSHUTDOWN_POWEROFF
));
5754 PyDict_SetItemString(d
,"wxSHUTDOWN_REBOOT", PyInt_FromLong((long) wxSHUTDOWN_REBOOT
));
5755 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5756 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5757 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5758 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5759 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5760 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5761 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5762 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5763 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5764 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5765 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5766 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5767 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5768 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5769 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5770 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5771 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5772 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5773 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5774 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5775 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5778 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5779 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);