2 * FILE : src/msw/misc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initmiscc
55 #define SWIG_name "miscc"
58 #include <wx/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_wxGetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
272 PyObject
* _resultobj
;
274 char *_kwnames
[] = { NULL
};
277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFreeMemory",_kwnames
))
280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
281 _result
= (long )wxGetFreeMemory();
283 wxPyEndAllowThreads(__tstate
);
284 if (PyErr_Occurred()) return NULL
;
285 } _resultobj
= Py_BuildValue("l",_result
);
289 static PyObject
*_wrap_wxGetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
290 PyObject
* _resultobj
;
295 char *_kwnames
[] = { NULL
};
304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetMousePosition",_kwnames
))
307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
308 wxGetMousePosition(_arg0
,_arg1
);
310 wxPyEndAllowThreads(__tstate
);
311 if (PyErr_Occurred()) return NULL
;
312 } Py_INCREF(Py_None
);
313 _resultobj
= Py_None
;
316 o
= PyInt_FromLong((long) (*_arg0
));
317 _resultobj
= t_output_helper(_resultobj
, o
);
321 o
= PyInt_FromLong((long) (*_arg1
));
322 _resultobj
= t_output_helper(_resultobj
, o
);
327 static PyObject
*_wrap_wxIsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
330 char *_kwnames
[] = { NULL
};
333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxIsBusy",_kwnames
))
336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
337 _result
= (bool )wxIsBusy();
339 wxPyEndAllowThreads(__tstate
);
340 if (PyErr_Occurred()) return NULL
;
341 } _resultobj
= Py_BuildValue("i",_result
);
345 static PyObject
*_wrap_wxNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
346 PyObject
* _resultobj
;
348 char *_kwnames
[] = { NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxNow",_kwnames
))
354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
355 _result
= new wxString (wxNow());
357 wxPyEndAllowThreads(__tstate
);
358 if (PyErr_Occurred()) return NULL
;
361 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
363 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
372 static PyObject
*_wrap_wxShell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
375 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
376 PyObject
* _obj0
= 0;
377 char *_kwnames
[] = { "command", NULL
};
380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxShell",_kwnames
,&_obj0
))
384 _arg0
= wxString_in_helper(_obj0
);
389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
390 _result
= (bool )wxShell(*_arg0
);
392 wxPyEndAllowThreads(__tstate
);
393 if (PyErr_Occurred()) return NULL
;
394 } _resultobj
= Py_BuildValue("i",_result
);
402 static PyObject
*_wrap_wxStartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
403 PyObject
* _resultobj
;
404 char *_kwnames
[] = { NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxStartTimer",_kwnames
))
410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
413 wxPyEndAllowThreads(__tstate
);
414 if (PyErr_Occurred()) return NULL
;
415 } Py_INCREF(Py_None
);
416 _resultobj
= Py_None
;
420 static PyObject
*_wrap_wxGetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
427 char *_kwnames
[] = { NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsVersion",_kwnames
))
439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
440 _result
= (int )wxGetOsVersion(_arg0
,_arg1
);
442 wxPyEndAllowThreads(__tstate
);
443 if (PyErr_Occurred()) return NULL
;
444 } _resultobj
= Py_BuildValue("i",_result
);
447 o
= PyInt_FromLong((long) (*_arg0
));
448 _resultobj
= t_output_helper(_resultobj
, o
);
452 o
= PyInt_FromLong((long) (*_arg1
));
453 _resultobj
= t_output_helper(_resultobj
, o
);
458 static PyObject
*_wrap_wxGetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
459 PyObject
* _resultobj
;
461 char *_kwnames
[] = { NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetOsDescription",_kwnames
))
467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
468 _result
= new wxString (wxGetOsDescription());
470 wxPyEndAllowThreads(__tstate
);
471 if (PyErr_Occurred()) return NULL
;
474 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
476 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
485 static PyObject
*_wrap_wxShutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
486 PyObject
* _resultobj
;
488 wxShutdownFlags _arg0
;
489 char *_kwnames
[] = { "wFlags", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxShutdown",_kwnames
,&_arg0
))
495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
496 _result
= (bool )wxShutdown(_arg0
);
498 wxPyEndAllowThreads(__tstate
);
499 if (PyErr_Occurred()) return NULL
;
500 } _resultobj
= Py_BuildValue("i",_result
);
504 static PyObject
*_wrap_wxSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
505 PyObject
* _resultobj
;
507 char *_kwnames
[] = { "secs", NULL
};
510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSleep",_kwnames
,&_arg0
))
513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
516 wxPyEndAllowThreads(__tstate
);
517 if (PyErr_Occurred()) return NULL
;
518 } Py_INCREF(Py_None
);
519 _resultobj
= Py_None
;
523 static PyObject
*_wrap_wxUsleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
524 PyObject
* _resultobj
;
526 char *_kwnames
[] = { "milliseconds", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxUsleep",_kwnames
,&_arg0
))
532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
535 wxPyEndAllowThreads(__tstate
);
536 if (PyErr_Occurred()) return NULL
;
537 } Py_INCREF(Py_None
);
538 _resultobj
= Py_None
;
542 static PyObject
*_wrap_wxYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
543 PyObject
* _resultobj
;
545 char *_kwnames
[] = { NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYield",_kwnames
))
551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
552 _result
= (bool )wxYield();
554 wxPyEndAllowThreads(__tstate
);
555 if (PyErr_Occurred()) return NULL
;
556 } _resultobj
= Py_BuildValue("i",_result
);
560 static PyObject
*_wrap_wxYieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
561 PyObject
* _resultobj
;
563 char *_kwnames
[] = { NULL
};
566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxYieldIfNeeded",_kwnames
))
569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
570 _result
= (bool )wxYieldIfNeeded();
572 wxPyEndAllowThreads(__tstate
);
573 if (PyErr_Occurred()) return NULL
;
574 } _resultobj
= Py_BuildValue("i",_result
);
578 static PyObject
*_wrap_wxEnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
579 PyObject
* _resultobj
;
582 char *_kwnames
[] = { "enable", NULL
};
585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxEnableTopLevelWindows",_kwnames
,&tempbool0
))
587 _arg0
= (bool ) tempbool0
;
589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
590 wxEnableTopLevelWindows(_arg0
);
592 wxPyEndAllowThreads(__tstate
);
593 if (PyErr_Occurred()) return NULL
;
594 } Py_INCREF(Py_None
);
595 _resultobj
= Py_None
;
599 static PyObject
*_wrap_wxStripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
600 PyObject
* _resultobj
;
603 PyObject
* _obj0
= 0;
604 char *_kwnames
[] = { "in", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStripMenuCodes",_kwnames
,&_obj0
))
610 _arg0
= wxString_in_helper(_obj0
);
615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
616 _result
= new wxString (wxStripMenuCodes(*_arg0
));
618 wxPyEndAllowThreads(__tstate
);
619 if (PyErr_Occurred()) return NULL
;
622 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
624 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
637 static PyObject
*_wrap_wxGetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
638 PyObject
* _resultobj
;
640 char *_kwnames
[] = { NULL
};
643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetEmailAddress",_kwnames
))
646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
647 _result
= new wxString (wxGetEmailAddress());
649 wxPyEndAllowThreads(__tstate
);
650 if (PyErr_Occurred()) return NULL
;
653 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
655 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
664 static PyObject
*_wrap_wxGetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
667 char *_kwnames
[] = { NULL
};
670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHostName",_kwnames
))
673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
674 _result
= new wxString (wxGetHostName());
676 wxPyEndAllowThreads(__tstate
);
677 if (PyErr_Occurred()) return NULL
;
680 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
682 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
691 static PyObject
*_wrap_wxGetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
692 PyObject
* _resultobj
;
694 char *_kwnames
[] = { NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetFullHostName",_kwnames
))
700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
701 _result
= new wxString (wxGetFullHostName());
703 wxPyEndAllowThreads(__tstate
);
704 if (PyErr_Occurred()) return NULL
;
707 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
709 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
718 static PyObject
*_wrap_wxGetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
719 PyObject
* _resultobj
;
721 char *_kwnames
[] = { NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserId",_kwnames
))
727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
728 _result
= new wxString (wxGetUserId());
730 wxPyEndAllowThreads(__tstate
);
731 if (PyErr_Occurred()) return NULL
;
734 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
736 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
745 static PyObject
*_wrap_wxGetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
746 PyObject
* _resultobj
;
748 char *_kwnames
[] = { NULL
};
751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetUserName",_kwnames
))
754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
755 _result
= new wxString (wxGetUserName());
757 wxPyEndAllowThreads(__tstate
);
758 if (PyErr_Occurred()) return NULL
;
761 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
763 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
772 static PyObject
*_wrap_wxGetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
773 PyObject
* _resultobj
;
775 char *_kwnames
[] = { NULL
};
778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetHomeDir",_kwnames
))
781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
782 _result
= new wxString (wxGetHomeDir());
784 wxPyEndAllowThreads(__tstate
);
785 if (PyErr_Occurred()) return NULL
;
788 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
790 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
799 static PyObject
*_wrap_wxGetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
800 PyObject
* _resultobj
;
802 wxString
* _arg0
= (wxString
*) &wxPyEmptyString
;
803 PyObject
* _obj0
= 0;
804 char *_kwnames
[] = { "user", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxGetUserHome",_kwnames
,&_obj0
))
811 _arg0
= wxString_in_helper(_obj0
);
816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
817 _result
= new wxString (wxGetUserHome(*_arg0
));
819 wxPyEndAllowThreads(__tstate
);
820 if (PyErr_Occurred()) return NULL
;
823 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
825 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
838 static PyObject
*_wrap_wxGetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
839 PyObject
* _resultobj
;
840 unsigned long _result
;
841 char *_kwnames
[] = { NULL
};
844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetProcessId",_kwnames
))
847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
848 _result
= (unsigned long )wxGetProcessId();
850 wxPyEndAllowThreads(__tstate
);
851 if (PyErr_Occurred()) return NULL
;
852 } _resultobj
= Py_BuildValue("l",_result
);
856 static PyObject
*_wrap_wxTrap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
858 char *_kwnames
[] = { NULL
};
861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxTrap",_kwnames
))
864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
867 wxPyEndAllowThreads(__tstate
);
868 if (PyErr_Occurred()) return NULL
;
869 } Py_INCREF(Py_None
);
870 _resultobj
= Py_None
;
874 static PyObject
*_wrap_wxGetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
875 PyObject
* _resultobj
;
876 wxAcceleratorEntry
* _result
;
878 PyObject
* _obj0
= 0;
879 char *_kwnames
[] = { "label", NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetAccelFromString",_kwnames
,&_obj0
))
886 _arg0
= wxString_in_helper(_obj0
);
891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
892 _result
= (wxAcceleratorEntry
*)wxGetAccelFromString(*_arg0
);
894 wxPyEndAllowThreads(__tstate
);
895 if (PyErr_Occurred()) return NULL
;
897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
898 _resultobj
= Py_BuildValue("s",_ptemp
);
901 _resultobj
= Py_None
;
910 static int _wrap_wxNullAcceleratorTable_set(PyObject
*val
) {
912 PyErr_SetString(PyExc_TypeError
,"Variable wxNullAcceleratorTable is read-only.");
916 static PyObject
*_wrap_wxNullAcceleratorTable_get() {
920 SWIG_MakePtr(ptemp
,(char *) &wxNullAcceleratorTable
,"_wxAcceleratorTable_p");
921 pyobj
= PyString_FromString(ptemp
);
925 static wxString
wxObject_GetClassName(wxObject
*self
) {
926 return self
->GetClassInfo()->GetClassName();
928 static PyObject
*_wrap_wxObject_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
929 PyObject
* _resultobj
;
932 PyObject
* _argo0
= 0;
933 char *_kwnames
[] = { "self", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_GetClassName",_kwnames
,&_argo0
))
939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_GetClassName. Expected _wxObject_p.");
946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
947 _result
= new wxString (wxObject_GetClassName(_arg0
));
949 wxPyEndAllowThreads(__tstate
);
950 if (PyErr_Occurred()) return NULL
;
953 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
955 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
964 static void wxObject_Destroy(wxObject
*self
) {
967 static PyObject
*_wrap_wxObject_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
970 PyObject
* _argo0
= 0;
971 char *_kwnames
[] = { "self", NULL
};
974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxObject_Destroy",_kwnames
,&_argo0
))
977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxObject_Destroy. Expected _wxObject_p.");
984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
985 wxObject_Destroy(_arg0
);
987 wxPyEndAllowThreads(__tstate
);
988 if (PyErr_Occurred()) return NULL
;
989 } Py_INCREF(Py_None
);
990 _resultobj
= Py_None
;
994 #define wxSize_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
995 static PyObject
*_wrap_wxSize_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
1001 PyObject
* _obj0
= 0;
1002 char *_kwnames
[] = { "self","x", NULL
};
1005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_x_set",_kwnames
,&_obj0
,&_arg1
))
1009 if (! wxSize_helper(_obj0
, &_arg0
))
1013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1014 _result
= (long )wxSize_x_set(_arg0
,_arg1
);
1016 wxPyEndAllowThreads(__tstate
);
1017 if (PyErr_Occurred()) return NULL
;
1018 } _resultobj
= Py_BuildValue("l",_result
);
1022 #define wxSize_x_get(_swigobj) ((long ) _swigobj->x)
1023 static PyObject
*_wrap_wxSize_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1028 PyObject
* _obj0
= 0;
1029 char *_kwnames
[] = { "self", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_x_get",_kwnames
,&_obj0
))
1036 if (! wxSize_helper(_obj0
, &_arg0
))
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 _result
= (long )wxSize_x_get(_arg0
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) return NULL
;
1045 } _resultobj
= Py_BuildValue("l",_result
);
1049 #define wxSize_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1050 static PyObject
*_wrap_wxSize_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
* _resultobj
;
1056 PyObject
* _obj0
= 0;
1057 char *_kwnames
[] = { "self","y", NULL
};
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_y_set",_kwnames
,&_obj0
,&_arg1
))
1064 if (! wxSize_helper(_obj0
, &_arg0
))
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 _result
= (long )wxSize_y_set(_arg0
,_arg1
);
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) return NULL
;
1073 } _resultobj
= Py_BuildValue("l",_result
);
1077 #define wxSize_y_get(_swigobj) ((long ) _swigobj->y)
1078 static PyObject
*_wrap_wxSize_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
* _resultobj
;
1083 PyObject
* _obj0
= 0;
1084 char *_kwnames
[] = { "self", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_y_get",_kwnames
,&_obj0
))
1091 if (! wxSize_helper(_obj0
, &_arg0
))
1095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1096 _result
= (long )wxSize_y_get(_arg0
);
1098 wxPyEndAllowThreads(__tstate
);
1099 if (PyErr_Occurred()) return NULL
;
1100 } _resultobj
= Py_BuildValue("l",_result
);
1104 #define new_wxSize(_swigarg0,_swigarg1) (new wxSize(_swigarg0,_swigarg1))
1105 static PyObject
*_wrap_new_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1108 long _arg0
= (long ) 0;
1109 long _arg1
= (long ) 0;
1110 char *_kwnames
[] = { "w","h", NULL
};
1114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxSize",_kwnames
,&_arg0
,&_arg1
))
1117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1118 _result
= (wxSize
*)new_wxSize(_arg0
,_arg1
);
1120 wxPyEndAllowThreads(__tstate
);
1121 if (PyErr_Occurred()) return NULL
;
1123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSize_p");
1124 _resultobj
= Py_BuildValue("s",_ptemp
);
1127 _resultobj
= Py_None
;
1132 #define delete_wxSize(_swigobj) (delete _swigobj)
1133 static PyObject
*_wrap_delete_wxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1137 PyObject
* _obj0
= 0;
1138 char *_kwnames
[] = { "self", NULL
};
1141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxSize",_kwnames
,&_obj0
))
1145 if (! wxSize_helper(_obj0
, &_arg0
))
1149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1150 delete_wxSize(_arg0
);
1152 wxPyEndAllowThreads(__tstate
);
1153 if (PyErr_Occurred()) return NULL
;
1154 } Py_INCREF(Py_None
);
1155 _resultobj
= Py_None
;
1159 #define wxSize_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
1160 static PyObject
*_wrap_wxSize_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1161 PyObject
* _resultobj
;
1166 PyObject
* _obj0
= 0;
1167 char *_kwnames
[] = { "self","w","h", NULL
};
1170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSize_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1174 if (! wxSize_helper(_obj0
, &_arg0
))
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1179 wxSize_Set(_arg0
,_arg1
,_arg2
);
1181 wxPyEndAllowThreads(__tstate
);
1182 if (PyErr_Occurred()) return NULL
;
1183 } Py_INCREF(Py_None
);
1184 _resultobj
= Py_None
;
1188 #define wxSize_GetX(_swigobj) (_swigobj->GetX())
1189 static PyObject
*_wrap_wxSize_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1194 PyObject
* _obj0
= 0;
1195 char *_kwnames
[] = { "self", NULL
};
1198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetX",_kwnames
,&_obj0
))
1202 if (! wxSize_helper(_obj0
, &_arg0
))
1206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1207 _result
= (long )wxSize_GetX(_arg0
);
1209 wxPyEndAllowThreads(__tstate
);
1210 if (PyErr_Occurred()) return NULL
;
1211 } _resultobj
= Py_BuildValue("l",_result
);
1215 #define wxSize_GetY(_swigobj) (_swigobj->GetY())
1216 static PyObject
*_wrap_wxSize_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1217 PyObject
* _resultobj
;
1221 PyObject
* _obj0
= 0;
1222 char *_kwnames
[] = { "self", NULL
};
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetY",_kwnames
,&_obj0
))
1229 if (! wxSize_helper(_obj0
, &_arg0
))
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 _result
= (long )wxSize_GetY(_arg0
);
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) return NULL
;
1238 } _resultobj
= Py_BuildValue("l",_result
);
1242 #define wxSize_GetWidth(_swigobj) (_swigobj->GetWidth())
1243 static PyObject
*_wrap_wxSize_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1248 PyObject
* _obj0
= 0;
1249 char *_kwnames
[] = { "self", NULL
};
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetWidth",_kwnames
,&_obj0
))
1256 if (! wxSize_helper(_obj0
, &_arg0
))
1260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1261 _result
= (long )wxSize_GetWidth(_arg0
);
1263 wxPyEndAllowThreads(__tstate
);
1264 if (PyErr_Occurred()) return NULL
;
1265 } _resultobj
= Py_BuildValue("l",_result
);
1269 #define wxSize_GetHeight(_swigobj) (_swigobj->GetHeight())
1270 static PyObject
*_wrap_wxSize_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1275 PyObject
* _obj0
= 0;
1276 char *_kwnames
[] = { "self", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_GetHeight",_kwnames
,&_obj0
))
1283 if (! wxSize_helper(_obj0
, &_arg0
))
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 _result
= (long )wxSize_GetHeight(_arg0
);
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) return NULL
;
1292 } _resultobj
= Py_BuildValue("l",_result
);
1296 #define wxSize_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
1297 static PyObject
*_wrap_wxSize_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
* _resultobj
;
1302 PyObject
* _obj0
= 0;
1303 char *_kwnames
[] = { "self","w", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetWidth",_kwnames
,&_obj0
,&_arg1
))
1310 if (! wxSize_helper(_obj0
, &_arg0
))
1314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1315 wxSize_SetWidth(_arg0
,_arg1
);
1317 wxPyEndAllowThreads(__tstate
);
1318 if (PyErr_Occurred()) return NULL
;
1319 } Py_INCREF(Py_None
);
1320 _resultobj
= Py_None
;
1324 #define wxSize_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
1325 static PyObject
*_wrap_wxSize_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1330 PyObject
* _obj0
= 0;
1331 char *_kwnames
[] = { "self","h", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxSize_SetHeight",_kwnames
,&_obj0
,&_arg1
))
1338 if (! wxSize_helper(_obj0
, &_arg0
))
1342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1343 wxSize_SetHeight(_arg0
,_arg1
);
1345 wxPyEndAllowThreads(__tstate
);
1346 if (PyErr_Occurred()) return NULL
;
1347 } Py_INCREF(Py_None
);
1348 _resultobj
= Py_None
;
1352 #define wxSize_IncTo(_swigobj,_swigarg0) (_swigobj->IncTo(_swigarg0))
1353 static PyObject
*_wrap_wxSize_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
* _resultobj
;
1358 PyObject
* _obj0
= 0;
1360 PyObject
* _obj1
= 0;
1361 char *_kwnames
[] = { "self","sz", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize_IncTo",_kwnames
,&_obj0
,&_obj1
))
1368 if (! wxSize_helper(_obj0
, &_arg0
))
1373 if (! wxSize_helper(_obj1
, &_arg1
))
1377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1378 wxSize_IncTo(_arg0
,*_arg1
);
1380 wxPyEndAllowThreads(__tstate
);
1381 if (PyErr_Occurred()) return NULL
;
1382 } Py_INCREF(Py_None
);
1383 _resultobj
= Py_None
;
1387 #define wxSize_DecTo(_swigobj,_swigarg0) (_swigobj->DecTo(_swigarg0))
1388 static PyObject
*_wrap_wxSize_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1393 PyObject
* _obj0
= 0;
1395 PyObject
* _obj1
= 0;
1396 char *_kwnames
[] = { "self","sz", NULL
};
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize_DecTo",_kwnames
,&_obj0
,&_obj1
))
1403 if (! wxSize_helper(_obj0
, &_arg0
))
1408 if (! wxSize_helper(_obj1
, &_arg1
))
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 wxSize_DecTo(_arg0
,*_arg1
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) return NULL
;
1417 } Py_INCREF(Py_None
);
1418 _resultobj
= Py_None
;
1422 static PyObject
* wxSize_asTuple(wxSize
*self
) {
1423 wxPyBeginBlockThreads();
1424 PyObject
* tup
= PyTuple_New(2);
1425 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1426 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1427 wxPyEndBlockThreads();
1430 static PyObject
*_wrap_wxSize_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1435 PyObject
* _obj0
= 0;
1436 char *_kwnames
[] = { "self", NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSize_asTuple",_kwnames
,&_obj0
))
1443 if (! wxSize_helper(_obj0
, &_arg0
))
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 _result
= (PyObject
*)wxSize_asTuple(_arg0
);
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) return NULL
;
1453 _resultobj
= _result
;
1458 static bool wxSize___eq__(wxSize
*self
,PyObject
* obj
) {
1461 if (obj
== Py_None
) return FALSE
;
1462 wxPyBLOCK_THREADS(bool success
= wxSize_helper(obj
, &ptr
); PyErr_Clear());
1463 if (! success
) return FALSE
;
1464 return *self
== *ptr
;
1466 static PyObject
*_wrap_wxSize___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1472 PyObject
* _obj0
= 0;
1473 PyObject
* _obj1
= 0;
1474 char *_kwnames
[] = { "self","obj", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___eq__",_kwnames
,&_obj0
,&_obj1
))
1481 if (! wxSize_helper(_obj0
, &_arg0
))
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 _result
= (bool )wxSize___eq__(_arg0
,_arg1
);
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) return NULL
;
1493 } _resultobj
= Py_BuildValue("i",_result
);
1497 static bool wxSize___ne__(wxSize
*self
,PyObject
* obj
) {
1500 if (obj
== Py_None
) return TRUE
;
1501 wxPyBLOCK_THREADS(bool success
= wxSize_helper(obj
, &ptr
); PyErr_Clear());
1502 if (! success
) return TRUE
;
1503 return *self
!= *ptr
;
1505 static PyObject
*_wrap_wxSize___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1511 PyObject
* _obj0
= 0;
1512 PyObject
* _obj1
= 0;
1513 char *_kwnames
[] = { "self","obj", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSize___ne__",_kwnames
,&_obj0
,&_obj1
))
1520 if (! wxSize_helper(_obj0
, &_arg0
))
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 _result
= (bool )wxSize___ne__(_arg0
,_arg1
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) return NULL
;
1532 } _resultobj
= Py_BuildValue("i",_result
);
1536 #define wxRealPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1537 static PyObject
*_wrap_wxRealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1540 wxRealPoint
* _arg0
;
1543 PyObject
* _obj0
= 0;
1544 char *_kwnames
[] = { "self","x", NULL
};
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1551 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 _result
= (double )wxRealPoint_x_set(_arg0
,_arg1
);
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) return NULL
;
1560 } _resultobj
= Py_BuildValue("d",_result
);
1564 #define wxRealPoint_x_get(_swigobj) ((double ) _swigobj->x)
1565 static PyObject
*_wrap_wxRealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
* _resultobj
;
1568 wxRealPoint
* _arg0
;
1570 PyObject
* _obj0
= 0;
1571 char *_kwnames
[] = { "self", NULL
};
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_x_get",_kwnames
,&_obj0
))
1578 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 _result
= (double )wxRealPoint_x_get(_arg0
);
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) return NULL
;
1587 } _resultobj
= Py_BuildValue("d",_result
);
1591 #define wxRealPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1592 static PyObject
*_wrap_wxRealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1595 wxRealPoint
* _arg0
;
1598 PyObject
* _obj0
= 0;
1599 char *_kwnames
[] = { "self","y", NULL
};
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxRealPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1606 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 _result
= (double )wxRealPoint_y_set(_arg0
,_arg1
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1615 } _resultobj
= Py_BuildValue("d",_result
);
1619 #define wxRealPoint_y_get(_swigobj) ((double ) _swigobj->y)
1620 static PyObject
*_wrap_wxRealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1623 wxRealPoint
* _arg0
;
1625 PyObject
* _obj0
= 0;
1626 char *_kwnames
[] = { "self", NULL
};
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_y_get",_kwnames
,&_obj0
))
1633 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1638 _result
= (double )wxRealPoint_y_get(_arg0
);
1640 wxPyEndAllowThreads(__tstate
);
1641 if (PyErr_Occurred()) return NULL
;
1642 } _resultobj
= Py_BuildValue("d",_result
);
1646 #define new_wxRealPoint(_swigarg0,_swigarg1) (new wxRealPoint(_swigarg0,_swigarg1))
1647 static PyObject
*_wrap_new_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
* _resultobj
;
1649 wxRealPoint
* _result
;
1650 double _arg0
= (double ) 0.0;
1651 double _arg1
= (double ) 0.0;
1652 char *_kwnames
[] = { "x","y", NULL
};
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxRealPoint",_kwnames
,&_arg0
,&_arg1
))
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 _result
= (wxRealPoint
*)new_wxRealPoint(_arg0
,_arg1
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRealPoint_p");
1666 _resultobj
= Py_BuildValue("s",_ptemp
);
1669 _resultobj
= Py_None
;
1674 #define delete_wxRealPoint(_swigobj) (delete _swigobj)
1675 static PyObject
*_wrap_delete_wxRealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1676 PyObject
* _resultobj
;
1677 wxRealPoint
* _arg0
;
1679 PyObject
* _obj0
= 0;
1680 char *_kwnames
[] = { "self", NULL
};
1683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRealPoint",_kwnames
,&_obj0
))
1687 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 delete_wxRealPoint(_arg0
);
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) return NULL
;
1696 } Py_INCREF(Py_None
);
1697 _resultobj
= Py_None
;
1701 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
) {
1705 static PyObject
*_wrap_wxRealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1707 wxRealPoint
* _arg0
;
1711 PyObject
* _obj0
= 0;
1712 char *_kwnames
[] = { "self","x","y", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Odd:wxRealPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
1719 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 wxRealPoint_Set(_arg0
,_arg1
,_arg2
);
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) return NULL
;
1728 } Py_INCREF(Py_None
);
1729 _resultobj
= Py_None
;
1733 static PyObject
* wxRealPoint_asTuple(wxRealPoint
*self
) {
1734 wxPyBeginBlockThreads();
1735 PyObject
* tup
= PyTuple_New(2);
1736 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1737 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1738 wxPyEndBlockThreads();
1741 static PyObject
*_wrap_wxRealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1744 wxRealPoint
* _arg0
;
1746 PyObject
* _obj0
= 0;
1747 char *_kwnames
[] = { "self", NULL
};
1750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRealPoint_asTuple",_kwnames
,&_obj0
))
1754 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 _result
= (PyObject
*)wxRealPoint_asTuple(_arg0
);
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) return NULL
;
1764 _resultobj
= _result
;
1769 static wxRealPoint
wxRealPoint___add__(wxRealPoint
*self
,const wxRealPoint
& p
) {
1772 static PyObject
*_wrap_wxRealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
* _resultobj
;
1774 wxRealPoint
* _result
;
1775 wxRealPoint
* _arg0
;
1776 wxRealPoint
* _arg1
;
1778 PyObject
* _obj0
= 0;
1780 PyObject
* _obj1
= 0;
1781 char *_kwnames
[] = { "self","p", NULL
};
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___add__",_kwnames
,&_obj0
,&_obj1
))
1789 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1794 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 _result
= new wxRealPoint (wxRealPoint___add__(_arg0
,*_arg1
));
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) return NULL
;
1803 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1804 _resultobj
= Py_BuildValue("s",_ptemp
);
1808 static wxRealPoint
wxRealPoint___sub__(wxRealPoint
*self
,const wxRealPoint
& p
) {
1811 static PyObject
*_wrap_wxRealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1813 wxRealPoint
* _result
;
1814 wxRealPoint
* _arg0
;
1815 wxRealPoint
* _arg1
;
1817 PyObject
* _obj0
= 0;
1819 PyObject
* _obj1
= 0;
1820 char *_kwnames
[] = { "self","p", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
1828 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1833 if (! wxRealPoint_helper(_obj1
, &_arg1
))
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 _result
= new wxRealPoint (wxRealPoint___sub__(_arg0
,*_arg1
));
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) return NULL
;
1842 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRealPoint_p");
1843 _resultobj
= Py_BuildValue("s",_ptemp
);
1847 static bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
* obj
) {
1849 wxRealPoint
* ptr
= &tmp
;
1850 if (obj
== Py_None
) return FALSE
;
1851 wxPyBLOCK_THREADS(bool success
= wxRealPoint_helper(obj
, &ptr
); PyErr_Clear());
1852 if (! success
) return FALSE
;
1853 return *self
== *ptr
;
1855 static PyObject
*_wrap_wxRealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1858 wxRealPoint
* _arg0
;
1861 PyObject
* _obj0
= 0;
1862 PyObject
* _obj1
= 0;
1863 char *_kwnames
[] = { "self","obj", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___eq__",_kwnames
,&_obj0
,&_obj1
))
1870 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 _result
= (bool )wxRealPoint___eq__(_arg0
,_arg1
);
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) return NULL
;
1882 } _resultobj
= Py_BuildValue("i",_result
);
1886 static bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
* obj
) {
1888 wxRealPoint
* ptr
= &tmp
;
1889 if (obj
== Py_None
) return TRUE
;
1890 wxPyBLOCK_THREADS(bool success
= wxRealPoint_helper(obj
, &ptr
); PyErr_Clear());
1891 if (! success
) return TRUE
;
1892 return *self
!= *ptr
;
1894 static PyObject
*_wrap_wxRealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1897 wxRealPoint
* _arg0
;
1900 PyObject
* _obj0
= 0;
1901 PyObject
* _obj1
= 0;
1902 char *_kwnames
[] = { "self","obj", NULL
};
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRealPoint___ne__",_kwnames
,&_obj0
,&_obj1
))
1909 if (! wxRealPoint_helper(_obj0
, &_arg0
))
1916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1917 _result
= (bool )wxRealPoint___ne__(_arg0
,_arg1
);
1919 wxPyEndAllowThreads(__tstate
);
1920 if (PyErr_Occurred()) return NULL
;
1921 } _resultobj
= Py_BuildValue("i",_result
);
1925 #define wxPoint_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
1926 static PyObject
*_wrap_wxPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1932 PyObject
* _obj0
= 0;
1933 char *_kwnames
[] = { "self","x", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_x_set",_kwnames
,&_obj0
,&_arg1
))
1940 if (! wxPoint_helper(_obj0
, &_arg0
))
1944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1945 _result
= (long )wxPoint_x_set(_arg0
,_arg1
);
1947 wxPyEndAllowThreads(__tstate
);
1948 if (PyErr_Occurred()) return NULL
;
1949 } _resultobj
= Py_BuildValue("l",_result
);
1953 #define wxPoint_x_get(_swigobj) ((long ) _swigobj->x)
1954 static PyObject
*_wrap_wxPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1959 PyObject
* _obj0
= 0;
1960 char *_kwnames
[] = { "self", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_x_get",_kwnames
,&_obj0
))
1967 if (! wxPoint_helper(_obj0
, &_arg0
))
1971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1972 _result
= (long )wxPoint_x_get(_arg0
);
1974 wxPyEndAllowThreads(__tstate
);
1975 if (PyErr_Occurred()) return NULL
;
1976 } _resultobj
= Py_BuildValue("l",_result
);
1980 #define wxPoint_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
1981 static PyObject
*_wrap_wxPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1987 PyObject
* _obj0
= 0;
1988 char *_kwnames
[] = { "self","y", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxPoint_y_set",_kwnames
,&_obj0
,&_arg1
))
1995 if (! wxPoint_helper(_obj0
, &_arg0
))
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 _result
= (long )wxPoint_y_set(_arg0
,_arg1
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) return NULL
;
2004 } _resultobj
= Py_BuildValue("l",_result
);
2008 #define wxPoint_y_get(_swigobj) ((long ) _swigobj->y)
2009 static PyObject
*_wrap_wxPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
* _resultobj
;
2014 PyObject
* _obj0
= 0;
2015 char *_kwnames
[] = { "self", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_y_get",_kwnames
,&_obj0
))
2022 if (! wxPoint_helper(_obj0
, &_arg0
))
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 _result
= (long )wxPoint_y_get(_arg0
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) return NULL
;
2031 } _resultobj
= Py_BuildValue("l",_result
);
2035 #define new_wxPoint(_swigarg0,_swigarg1) (new wxPoint(_swigarg0,_swigarg1))
2036 static PyObject
*_wrap_new_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2039 long _arg0
= (long ) 0;
2040 long _arg1
= (long ) 0;
2041 char *_kwnames
[] = { "x","y", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|ll:new_wxPoint",_kwnames
,&_arg0
,&_arg1
))
2048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2049 _result
= (wxPoint
*)new_wxPoint(_arg0
,_arg1
);
2051 wxPyEndAllowThreads(__tstate
);
2052 if (PyErr_Occurred()) return NULL
;
2054 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint_p");
2055 _resultobj
= Py_BuildValue("s",_ptemp
);
2058 _resultobj
= Py_None
;
2063 #define delete_wxPoint(_swigobj) (delete _swigobj)
2064 static PyObject
*_wrap_delete_wxPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2068 PyObject
* _obj0
= 0;
2069 char *_kwnames
[] = { "self", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPoint",_kwnames
,&_obj0
))
2076 if (! wxPoint_helper(_obj0
, &_arg0
))
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 delete_wxPoint(_arg0
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) return NULL
;
2085 } Py_INCREF(Py_None
);
2086 _resultobj
= Py_None
;
2090 static void wxPoint_Set(wxPoint
*self
,long x
,long y
) {
2094 static PyObject
*_wrap_wxPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2100 PyObject
* _obj0
= 0;
2101 char *_kwnames
[] = { "self","x","y", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxPoint_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2108 if (! wxPoint_helper(_obj0
, &_arg0
))
2112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2113 wxPoint_Set(_arg0
,_arg1
,_arg2
);
2115 wxPyEndAllowThreads(__tstate
);
2116 if (PyErr_Occurred()) return NULL
;
2117 } Py_INCREF(Py_None
);
2118 _resultobj
= Py_None
;
2122 static PyObject
* wxPoint_asTuple(wxPoint
*self
) {
2123 wxPyBeginBlockThreads();
2124 PyObject
* tup
= PyTuple_New(2);
2125 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2126 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2127 wxPyEndBlockThreads();
2130 static PyObject
*_wrap_wxPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
* _resultobj
;
2135 PyObject
* _obj0
= 0;
2136 char *_kwnames
[] = { "self", NULL
};
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint_asTuple",_kwnames
,&_obj0
))
2143 if (! wxPoint_helper(_obj0
, &_arg0
))
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 _result
= (PyObject
*)wxPoint_asTuple(_arg0
);
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) return NULL
;
2153 _resultobj
= _result
;
2158 static wxPoint
wxPoint___add__(wxPoint
*self
,const wxPoint
& p
) {
2161 static PyObject
*_wrap_wxPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
* _resultobj
;
2167 PyObject
* _obj0
= 0;
2169 PyObject
* _obj1
= 0;
2170 char *_kwnames
[] = { "self","p", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___add__",_kwnames
,&_obj0
,&_obj1
))
2178 if (! wxPoint_helper(_obj0
, &_arg0
))
2183 if (! wxPoint_helper(_obj1
, &_arg1
))
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 _result
= new wxPoint (wxPoint___add__(_arg0
,*_arg1
));
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) return NULL
;
2192 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2193 _resultobj
= Py_BuildValue("s",_ptemp
);
2197 static wxPoint
wxPoint___sub__(wxPoint
*self
,const wxPoint
& p
) {
2200 static PyObject
*_wrap_wxPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
* _resultobj
;
2206 PyObject
* _obj0
= 0;
2208 PyObject
* _obj1
= 0;
2209 char *_kwnames
[] = { "self","p", NULL
};
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___sub__",_kwnames
,&_obj0
,&_obj1
))
2217 if (! wxPoint_helper(_obj0
, &_arg0
))
2222 if (! wxPoint_helper(_obj1
, &_arg1
))
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 _result
= new wxPoint (wxPoint___sub__(_arg0
,*_arg1
));
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) return NULL
;
2231 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2232 _resultobj
= Py_BuildValue("s",_ptemp
);
2236 static bool wxPoint___eq__(wxPoint
*self
,PyObject
* obj
) {
2238 wxPoint
* ptr
= &tmp
;
2239 if (obj
== Py_None
) return FALSE
;
2240 wxPyBLOCK_THREADS(bool success
= wxPoint_helper(obj
, &ptr
); PyErr_Clear());
2241 if (! success
) return FALSE
;
2242 return *self
== *ptr
;
2244 static PyObject
*_wrap_wxPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2250 PyObject
* _obj0
= 0;
2251 PyObject
* _obj1
= 0;
2252 char *_kwnames
[] = { "self","obj", NULL
};
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___eq__",_kwnames
,&_obj0
,&_obj1
))
2259 if (! wxPoint_helper(_obj0
, &_arg0
))
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 _result
= (bool )wxPoint___eq__(_arg0
,_arg1
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) return NULL
;
2271 } _resultobj
= Py_BuildValue("i",_result
);
2275 static bool wxPoint___ne__(wxPoint
*self
,PyObject
* obj
) {
2277 wxPoint
* ptr
= &tmp
;
2278 if (obj
== Py_None
) return TRUE
;
2279 wxPyBLOCK_THREADS(bool success
= wxPoint_helper(obj
, &ptr
); PyErr_Clear());
2280 if (! success
) return TRUE
;
2281 return *self
!= *ptr
;
2283 static PyObject
*_wrap_wxPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2289 PyObject
* _obj0
= 0;
2290 PyObject
* _obj1
= 0;
2291 char *_kwnames
[] = { "self","obj", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint___ne__",_kwnames
,&_obj0
,&_obj1
))
2298 if (! wxPoint_helper(_obj0
, &_arg0
))
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 _result
= (bool )wxPoint___ne__(_arg0
,_arg1
);
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) return NULL
;
2310 } _resultobj
= Py_BuildValue("i",_result
);
2314 #define new_wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxRect(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2315 static PyObject
*_wrap_new_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
* _resultobj
;
2318 int _arg0
= (int ) 0;
2319 int _arg1
= (int ) 0;
2320 int _arg2
= (int ) 0;
2321 int _arg3
= (int ) 0;
2322 char *_kwnames
[] = { "x","y","width","height", NULL
};
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iiii:new_wxRect",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 _result
= (wxRect
*)new_wxRect(_arg0
,_arg1
,_arg2
,_arg3
);
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) return NULL
;
2335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRect_p");
2336 _resultobj
= Py_BuildValue("s",_ptemp
);
2339 _resultobj
= Py_None
;
2344 #define delete_wxRect(_swigobj) (delete _swigobj)
2345 static PyObject
*_wrap_delete_wxRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
* _resultobj
;
2349 PyObject
* _obj0
= 0;
2350 char *_kwnames
[] = { "self", NULL
};
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxRect",_kwnames
,&_obj0
))
2357 if (! wxRect_helper(_obj0
, &_arg0
))
2361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2362 delete_wxRect(_arg0
);
2364 wxPyEndAllowThreads(__tstate
);
2365 if (PyErr_Occurred()) return NULL
;
2366 } Py_INCREF(Py_None
);
2367 _resultobj
= Py_None
;
2371 #define wxRect_GetX(_swigobj) (_swigobj->GetX())
2372 static PyObject
*_wrap_wxRect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2377 PyObject
* _obj0
= 0;
2378 char *_kwnames
[] = { "self", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetX",_kwnames
,&_obj0
))
2385 if (! wxRect_helper(_obj0
, &_arg0
))
2389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2390 _result
= (int )wxRect_GetX(_arg0
);
2392 wxPyEndAllowThreads(__tstate
);
2393 if (PyErr_Occurred()) return NULL
;
2394 } _resultobj
= Py_BuildValue("i",_result
);
2398 #define wxRect_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
2399 static PyObject
*_wrap_wxRect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2400 PyObject
* _resultobj
;
2404 PyObject
* _obj0
= 0;
2405 char *_kwnames
[] = { "self","X", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetX",_kwnames
,&_obj0
,&_arg1
))
2412 if (! wxRect_helper(_obj0
, &_arg0
))
2416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2417 wxRect_SetX(_arg0
,_arg1
);
2419 wxPyEndAllowThreads(__tstate
);
2420 if (PyErr_Occurred()) return NULL
;
2421 } Py_INCREF(Py_None
);
2422 _resultobj
= Py_None
;
2426 #define wxRect_GetY(_swigobj) (_swigobj->GetY())
2427 static PyObject
*_wrap_wxRect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
* _resultobj
;
2432 PyObject
* _obj0
= 0;
2433 char *_kwnames
[] = { "self", NULL
};
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetY",_kwnames
,&_obj0
))
2440 if (! wxRect_helper(_obj0
, &_arg0
))
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 _result
= (int )wxRect_GetY(_arg0
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) return NULL
;
2449 } _resultobj
= Py_BuildValue("i",_result
);
2453 #define wxRect_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
2454 static PyObject
*_wrap_wxRect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
* _resultobj
;
2459 PyObject
* _obj0
= 0;
2460 char *_kwnames
[] = { "self","Y", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetY",_kwnames
,&_obj0
,&_arg1
))
2467 if (! wxRect_helper(_obj0
, &_arg0
))
2471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2472 wxRect_SetY(_arg0
,_arg1
);
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) return NULL
;
2476 } Py_INCREF(Py_None
);
2477 _resultobj
= Py_None
;
2481 #define wxRect_GetWidth(_swigobj) (_swigobj->GetWidth())
2482 static PyObject
*_wrap_wxRect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2487 PyObject
* _obj0
= 0;
2488 char *_kwnames
[] = { "self", NULL
};
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetWidth",_kwnames
,&_obj0
))
2495 if (! wxRect_helper(_obj0
, &_arg0
))
2499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2500 _result
= (int )wxRect_GetWidth(_arg0
);
2502 wxPyEndAllowThreads(__tstate
);
2503 if (PyErr_Occurred()) return NULL
;
2504 } _resultobj
= Py_BuildValue("i",_result
);
2508 #define wxRect_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0))
2509 static PyObject
*_wrap_wxRect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2514 PyObject
* _obj0
= 0;
2515 char *_kwnames
[] = { "self","w", NULL
};
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetWidth",_kwnames
,&_obj0
,&_arg1
))
2522 if (! wxRect_helper(_obj0
, &_arg0
))
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 wxRect_SetWidth(_arg0
,_arg1
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) return NULL
;
2531 } Py_INCREF(Py_None
);
2532 _resultobj
= Py_None
;
2536 #define wxRect_GetHeight(_swigobj) (_swigobj->GetHeight())
2537 static PyObject
*_wrap_wxRect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
* _resultobj
;
2542 PyObject
* _obj0
= 0;
2543 char *_kwnames
[] = { "self", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetHeight",_kwnames
,&_obj0
))
2550 if (! wxRect_helper(_obj0
, &_arg0
))
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 _result
= (int )wxRect_GetHeight(_arg0
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) return NULL
;
2559 } _resultobj
= Py_BuildValue("i",_result
);
2563 #define wxRect_SetHeight(_swigobj,_swigarg0) (_swigobj->SetHeight(_swigarg0))
2564 static PyObject
*_wrap_wxRect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
* _resultobj
;
2569 PyObject
* _obj0
= 0;
2570 char *_kwnames
[] = { "self","h", NULL
};
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetHeight",_kwnames
,&_obj0
,&_arg1
))
2577 if (! wxRect_helper(_obj0
, &_arg0
))
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 wxRect_SetHeight(_arg0
,_arg1
);
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) return NULL
;
2586 } Py_INCREF(Py_None
);
2587 _resultobj
= Py_None
;
2591 #define wxRect_GetPosition(_swigobj) (_swigobj->GetPosition())
2592 static PyObject
*_wrap_wxRect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
* _resultobj
;
2597 PyObject
* _obj0
= 0;
2598 char *_kwnames
[] = { "self", NULL
};
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetPosition",_kwnames
,&_obj0
))
2606 if (! wxRect_helper(_obj0
, &_arg0
))
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 _result
= new wxPoint (wxRect_GetPosition(_arg0
));
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) return NULL
;
2615 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2616 _resultobj
= Py_BuildValue("s",_ptemp
);
2620 #define wxRect_GetSize(_swigobj) (_swigobj->GetSize())
2621 static PyObject
*_wrap_wxRect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
* _resultobj
;
2626 PyObject
* _obj0
= 0;
2627 char *_kwnames
[] = { "self", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetSize",_kwnames
,&_obj0
))
2635 if (! wxRect_helper(_obj0
, &_arg0
))
2639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2640 _result
= new wxSize (wxRect_GetSize(_arg0
));
2642 wxPyEndAllowThreads(__tstate
);
2643 if (PyErr_Occurred()) return NULL
;
2644 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2645 _resultobj
= Py_BuildValue("s",_ptemp
);
2649 #define wxRect_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
2650 static PyObject
*_wrap_wxRect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
* _resultobj
;
2655 PyObject
* _obj0
= 0;
2657 PyObject
* _obj1
= 0;
2658 char *_kwnames
[] = { "self","p", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetPosition",_kwnames
,&_obj0
,&_obj1
))
2665 if (! wxRect_helper(_obj0
, &_arg0
))
2670 if (! wxPoint_helper(_obj1
, &_arg1
))
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 wxRect_SetPosition(_arg0
,*_arg1
);
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) return NULL
;
2679 } Py_INCREF(Py_None
);
2680 _resultobj
= Py_None
;
2684 #define wxRect_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2685 static PyObject
*_wrap_wxRect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
* _resultobj
;
2690 PyObject
* _obj0
= 0;
2692 PyObject
* _obj1
= 0;
2693 char *_kwnames
[] = { "self","s", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_SetSize",_kwnames
,&_obj0
,&_obj1
))
2700 if (! wxRect_helper(_obj0
, &_arg0
))
2705 if (! wxSize_helper(_obj1
, &_arg1
))
2709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2710 wxRect_SetSize(_arg0
,*_arg1
);
2712 wxPyEndAllowThreads(__tstate
);
2713 if (PyErr_Occurred()) return NULL
;
2714 } Py_INCREF(Py_None
);
2715 _resultobj
= Py_None
;
2719 #define wxRect_GetLeft(_swigobj) (_swigobj->GetLeft())
2720 static PyObject
*_wrap_wxRect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2725 PyObject
* _obj0
= 0;
2726 char *_kwnames
[] = { "self", NULL
};
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetLeft",_kwnames
,&_obj0
))
2733 if (! wxRect_helper(_obj0
, &_arg0
))
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 _result
= (int )wxRect_GetLeft(_arg0
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) return NULL
;
2742 } _resultobj
= Py_BuildValue("i",_result
);
2746 #define wxRect_GetTop(_swigobj) (_swigobj->GetTop())
2747 static PyObject
*_wrap_wxRect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2752 PyObject
* _obj0
= 0;
2753 char *_kwnames
[] = { "self", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetTop",_kwnames
,&_obj0
))
2760 if (! wxRect_helper(_obj0
, &_arg0
))
2764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2765 _result
= (int )wxRect_GetTop(_arg0
);
2767 wxPyEndAllowThreads(__tstate
);
2768 if (PyErr_Occurred()) return NULL
;
2769 } _resultobj
= Py_BuildValue("i",_result
);
2773 #define wxRect_GetBottom(_swigobj) (_swigobj->GetBottom())
2774 static PyObject
*_wrap_wxRect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
* _resultobj
;
2779 PyObject
* _obj0
= 0;
2780 char *_kwnames
[] = { "self", NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetBottom",_kwnames
,&_obj0
))
2787 if (! wxRect_helper(_obj0
, &_arg0
))
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 _result
= (int )wxRect_GetBottom(_arg0
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2796 } _resultobj
= Py_BuildValue("i",_result
);
2800 #define wxRect_GetRight(_swigobj) (_swigobj->GetRight())
2801 static PyObject
*_wrap_wxRect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
* _resultobj
;
2806 PyObject
* _obj0
= 0;
2807 char *_kwnames
[] = { "self", NULL
};
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_GetRight",_kwnames
,&_obj0
))
2814 if (! wxRect_helper(_obj0
, &_arg0
))
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 _result
= (int )wxRect_GetRight(_arg0
);
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) return NULL
;
2823 } _resultobj
= Py_BuildValue("i",_result
);
2827 #define wxRect_SetLeft(_swigobj,_swigarg0) (_swigobj->SetLeft(_swigarg0))
2828 static PyObject
*_wrap_wxRect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2833 PyObject
* _obj0
= 0;
2834 char *_kwnames
[] = { "self","left", NULL
};
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetLeft",_kwnames
,&_obj0
,&_arg1
))
2841 if (! wxRect_helper(_obj0
, &_arg0
))
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 wxRect_SetLeft(_arg0
,_arg1
);
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) return NULL
;
2850 } Py_INCREF(Py_None
);
2851 _resultobj
= Py_None
;
2855 #define wxRect_SetRight(_swigobj,_swigarg0) (_swigobj->SetRight(_swigarg0))
2856 static PyObject
*_wrap_wxRect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
* _resultobj
;
2861 PyObject
* _obj0
= 0;
2862 char *_kwnames
[] = { "self","right", NULL
};
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetRight",_kwnames
,&_obj0
,&_arg1
))
2869 if (! wxRect_helper(_obj0
, &_arg0
))
2873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 wxRect_SetRight(_arg0
,_arg1
);
2876 wxPyEndAllowThreads(__tstate
);
2877 if (PyErr_Occurred()) return NULL
;
2878 } Py_INCREF(Py_None
);
2879 _resultobj
= Py_None
;
2883 #define wxRect_SetTop(_swigobj,_swigarg0) (_swigobj->SetTop(_swigarg0))
2884 static PyObject
*_wrap_wxRect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2889 PyObject
* _obj0
= 0;
2890 char *_kwnames
[] = { "self","top", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetTop",_kwnames
,&_obj0
,&_arg1
))
2897 if (! wxRect_helper(_obj0
, &_arg0
))
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 wxRect_SetTop(_arg0
,_arg1
);
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) return NULL
;
2906 } Py_INCREF(Py_None
);
2907 _resultobj
= Py_None
;
2911 #define wxRect_SetBottom(_swigobj,_swigarg0) (_swigobj->SetBottom(_swigarg0))
2912 static PyObject
*_wrap_wxRect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
* _resultobj
;
2917 PyObject
* _obj0
= 0;
2918 char *_kwnames
[] = { "self","bottom", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_SetBottom",_kwnames
,&_obj0
,&_arg1
))
2925 if (! wxRect_helper(_obj0
, &_arg0
))
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 wxRect_SetBottom(_arg0
,_arg1
);
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) return NULL
;
2934 } Py_INCREF(Py_None
);
2935 _resultobj
= Py_None
;
2939 #define wxRect_Deflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Deflate(_swigarg0,_swigarg1))
2940 static PyObject
*_wrap_wxRect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2946 PyObject
* _obj0
= 0;
2947 char *_kwnames
[] = { "self","dx","dy", NULL
};
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Deflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2954 if (! wxRect_helper(_obj0
, &_arg0
))
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 wxRect_Deflate(_arg0
,_arg1
,_arg2
);
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) return NULL
;
2963 } Py_INCREF(Py_None
);
2964 _resultobj
= Py_None
;
2968 #define wxRect_Inflate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inflate(_swigarg0,_swigarg1))
2969 static PyObject
*_wrap_wxRect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2975 PyObject
* _obj0
= 0;
2976 char *_kwnames
[] = { "self","dx","dy", NULL
};
2979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_Inflate",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
2983 if (! wxRect_helper(_obj0
, &_arg0
))
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 wxRect_Inflate(_arg0
,_arg1
,_arg2
);
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) return NULL
;
2992 } Py_INCREF(Py_None
);
2993 _resultobj
= Py_None
;
2997 #define wxRect_InsideXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Inside(_swigarg0,_swigarg1))
2998 static PyObject
*_wrap_wxRect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3005 PyObject
* _obj0
= 0;
3006 char *_kwnames
[] = { "self","cx","cy", NULL
};
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_InsideXY",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3013 if (! wxRect_helper(_obj0
, &_arg0
))
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 _result
= (bool )wxRect_InsideXY(_arg0
,_arg1
,_arg2
);
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) return NULL
;
3022 } _resultobj
= Py_BuildValue("i",_result
);
3026 #define wxRect_Inside(_swigobj,_swigarg0) (_swigobj->Inside(_swigarg0))
3027 static PyObject
*_wrap_wxRect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3033 PyObject
* _obj0
= 0;
3035 PyObject
* _obj1
= 0;
3036 char *_kwnames
[] = { "self","pt", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Inside",_kwnames
,&_obj0
,&_obj1
))
3043 if (! wxRect_helper(_obj0
, &_arg0
))
3048 if (! wxPoint_helper(_obj1
, &_arg1
))
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 _result
= (bool )wxRect_Inside(_arg0
,*_arg1
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) return NULL
;
3057 } _resultobj
= Py_BuildValue("i",_result
);
3061 #define wxRect_Intersects(_swigobj,_swigarg0) (_swigobj->Intersects(_swigarg0))
3062 static PyObject
*_wrap_wxRect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3068 PyObject
* _obj0
= 0;
3070 PyObject
* _obj1
= 0;
3071 char *_kwnames
[] = { "self","rect", NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Intersects",_kwnames
,&_obj0
,&_obj1
))
3078 if (! wxRect_helper(_obj0
, &_arg0
))
3083 if (! wxRect_helper(_obj1
, &_arg1
))
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 _result
= (bool )wxRect_Intersects(_arg0
,*_arg1
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) return NULL
;
3092 } _resultobj
= Py_BuildValue("i",_result
);
3096 #define wxRect_OffsetXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Offset(_swigarg0,_swigarg1))
3097 static PyObject
*_wrap_wxRect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
* _resultobj
;
3103 PyObject
* _obj0
= 0;
3104 char *_kwnames
[] = { "self","dx","dy", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRect_OffsetXY",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
3111 if (! wxRect_helper(_obj0
, &_arg0
))
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 wxRect_OffsetXY(_arg0
,_arg1
,_arg2
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) return NULL
;
3120 } Py_INCREF(Py_None
);
3121 _resultobj
= Py_None
;
3125 #define wxRect_Offset(_swigobj,_swigarg0) (_swigobj->Offset(_swigarg0))
3126 static PyObject
*_wrap_wxRect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3131 PyObject
* _obj0
= 0;
3133 PyObject
* _obj1
= 0;
3134 char *_kwnames
[] = { "self","pt", NULL
};
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect_Offset",_kwnames
,&_obj0
,&_obj1
))
3141 if (! wxRect_helper(_obj0
, &_arg0
))
3146 if (! wxPoint_helper(_obj1
, &_arg1
))
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 wxRect_Offset(_arg0
,*_arg1
);
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) return NULL
;
3155 } Py_INCREF(Py_None
);
3156 _resultobj
= Py_None
;
3160 #define wxRect_x_set(_swigobj,_swigval) (_swigobj->x = _swigval,_swigval)
3161 static PyObject
*_wrap_wxRect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3167 PyObject
* _obj0
= 0;
3168 char *_kwnames
[] = { "self","x", NULL
};
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_x_set",_kwnames
,&_obj0
,&_arg1
))
3175 if (! wxRect_helper(_obj0
, &_arg0
))
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 _result
= (int )wxRect_x_set(_arg0
,_arg1
);
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) return NULL
;
3184 } _resultobj
= Py_BuildValue("i",_result
);
3188 #define wxRect_x_get(_swigobj) ((int ) _swigobj->x)
3189 static PyObject
*_wrap_wxRect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3194 PyObject
* _obj0
= 0;
3195 char *_kwnames
[] = { "self", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_x_get",_kwnames
,&_obj0
))
3202 if (! wxRect_helper(_obj0
, &_arg0
))
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 _result
= (int )wxRect_x_get(_arg0
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) return NULL
;
3211 } _resultobj
= Py_BuildValue("i",_result
);
3215 #define wxRect_y_set(_swigobj,_swigval) (_swigobj->y = _swigval,_swigval)
3216 static PyObject
*_wrap_wxRect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3222 PyObject
* _obj0
= 0;
3223 char *_kwnames
[] = { "self","y", NULL
};
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_y_set",_kwnames
,&_obj0
,&_arg1
))
3230 if (! wxRect_helper(_obj0
, &_arg0
))
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 _result
= (int )wxRect_y_set(_arg0
,_arg1
);
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) return NULL
;
3239 } _resultobj
= Py_BuildValue("i",_result
);
3243 #define wxRect_y_get(_swigobj) ((int ) _swigobj->y)
3244 static PyObject
*_wrap_wxRect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
* _resultobj
;
3249 PyObject
* _obj0
= 0;
3250 char *_kwnames
[] = { "self", NULL
};
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_y_get",_kwnames
,&_obj0
))
3257 if (! wxRect_helper(_obj0
, &_arg0
))
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 _result
= (int )wxRect_y_get(_arg0
);
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) return NULL
;
3266 } _resultobj
= Py_BuildValue("i",_result
);
3270 #define wxRect_width_set(_swigobj,_swigval) (_swigobj->width = _swigval,_swigval)
3271 static PyObject
*_wrap_wxRect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
* _resultobj
;
3277 PyObject
* _obj0
= 0;
3278 char *_kwnames
[] = { "self","width", NULL
};
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_width_set",_kwnames
,&_obj0
,&_arg1
))
3285 if (! wxRect_helper(_obj0
, &_arg0
))
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 _result
= (int )wxRect_width_set(_arg0
,_arg1
);
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) return NULL
;
3294 } _resultobj
= Py_BuildValue("i",_result
);
3298 #define wxRect_width_get(_swigobj) ((int ) _swigobj->width)
3299 static PyObject
*_wrap_wxRect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
* _resultobj
;
3304 PyObject
* _obj0
= 0;
3305 char *_kwnames
[] = { "self", NULL
};
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_width_get",_kwnames
,&_obj0
))
3312 if (! wxRect_helper(_obj0
, &_arg0
))
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 _result
= (int )wxRect_width_get(_arg0
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) return NULL
;
3321 } _resultobj
= Py_BuildValue("i",_result
);
3325 #define wxRect_height_set(_swigobj,_swigval) (_swigobj->height = _swigval,_swigval)
3326 static PyObject
*_wrap_wxRect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
* _resultobj
;
3332 PyObject
* _obj0
= 0;
3333 char *_kwnames
[] = { "self","height", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRect_height_set",_kwnames
,&_obj0
,&_arg1
))
3340 if (! wxRect_helper(_obj0
, &_arg0
))
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 _result
= (int )wxRect_height_set(_arg0
,_arg1
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) return NULL
;
3349 } _resultobj
= Py_BuildValue("i",_result
);
3353 #define wxRect_height_get(_swigobj) ((int ) _swigobj->height)
3354 static PyObject
*_wrap_wxRect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3359 PyObject
* _obj0
= 0;
3360 char *_kwnames
[] = { "self", NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_height_get",_kwnames
,&_obj0
))
3367 if (! wxRect_helper(_obj0
, &_arg0
))
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 _result
= (int )wxRect_height_get(_arg0
);
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) return NULL
;
3376 } _resultobj
= Py_BuildValue("i",_result
);
3380 static void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
) {
3383 self
->width
= width
;
3384 self
->height
= height
;
3386 static PyObject
*_wrap_wxRect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
* _resultobj
;
3389 int _arg1
= (int ) 0;
3390 int _arg2
= (int ) 0;
3391 int _arg3
= (int ) 0;
3392 int _arg4
= (int ) 0;
3394 PyObject
* _obj0
= 0;
3395 char *_kwnames
[] = { "self","x","y","width","height", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iiii:wxRect_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
3402 if (! wxRect_helper(_obj0
, &_arg0
))
3406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3407 wxRect_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
3409 wxPyEndAllowThreads(__tstate
);
3410 if (PyErr_Occurred()) return NULL
;
3411 } Py_INCREF(Py_None
);
3412 _resultobj
= Py_None
;
3416 static PyObject
* wxRect_asTuple(wxRect
*self
) {
3417 wxPyBeginBlockThreads();
3418 PyObject
* tup
= PyTuple_New(4);
3419 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3420 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3421 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3422 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3423 wxPyEndBlockThreads();
3426 static PyObject
*_wrap_wxRect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3427 PyObject
* _resultobj
;
3431 PyObject
* _obj0
= 0;
3432 char *_kwnames
[] = { "self", NULL
};
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRect_asTuple",_kwnames
,&_obj0
))
3439 if (! wxRect_helper(_obj0
, &_arg0
))
3443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3444 _result
= (PyObject
*)wxRect_asTuple(_arg0
);
3446 wxPyEndAllowThreads(__tstate
);
3447 if (PyErr_Occurred()) return NULL
;
3449 _resultobj
= _result
;
3454 static wxRect
wxRect___add__(wxRect
*self
,const wxRect
& rect
) {
3455 return *self
+ rect
;
3457 static PyObject
*_wrap_wxRect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
* _resultobj
;
3463 PyObject
* _obj0
= 0;
3465 PyObject
* _obj1
= 0;
3466 char *_kwnames
[] = { "self","rect", NULL
};
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___add__",_kwnames
,&_obj0
,&_obj1
))
3474 if (! wxRect_helper(_obj0
, &_arg0
))
3479 if (! wxRect_helper(_obj1
, &_arg1
))
3483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3484 _result
= new wxRect (wxRect___add__(_arg0
,*_arg1
));
3486 wxPyEndAllowThreads(__tstate
);
3487 if (PyErr_Occurred()) return NULL
;
3488 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3489 _resultobj
= Py_BuildValue("s",_ptemp
);
3493 static bool wxRect___eq__(wxRect
*self
,PyObject
* obj
) {
3496 if (obj
== Py_None
) return FALSE
;
3497 wxPyBLOCK_THREADS(bool success
= wxRect_helper(obj
, &ptr
); PyErr_Clear());
3498 if (! success
) return FALSE
;
3499 return *self
== *ptr
;
3501 static PyObject
*_wrap_wxRect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
* _resultobj
;
3507 PyObject
* _obj0
= 0;
3508 PyObject
* _obj1
= 0;
3509 char *_kwnames
[] = { "self","obj", NULL
};
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___eq__",_kwnames
,&_obj0
,&_obj1
))
3516 if (! wxRect_helper(_obj0
, &_arg0
))
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 _result
= (bool )wxRect___eq__(_arg0
,_arg1
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3528 } _resultobj
= Py_BuildValue("i",_result
);
3532 static bool wxRect___ne__(wxRect
*self
,PyObject
* obj
) {
3535 if (obj
== Py_None
) return TRUE
;
3536 wxPyBLOCK_THREADS(bool success
= wxRect_helper(obj
, &ptr
); PyErr_Clear());
3537 if (! success
) return TRUE
;
3538 return *self
!= *ptr
;
3540 static PyObject
*_wrap_wxRect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3546 PyObject
* _obj0
= 0;
3547 PyObject
* _obj1
= 0;
3548 char *_kwnames
[] = { "self","obj", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRect___ne__",_kwnames
,&_obj0
,&_obj1
))
3555 if (! wxRect_helper(_obj0
, &_arg0
))
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 _result
= (bool )wxRect___ne__(_arg0
,_arg1
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) return NULL
;
3567 } _resultobj
= Py_BuildValue("i",_result
);
3571 #define wxPoint2DDouble_m_x_set(_swigobj,_swigval) (_swigobj->m_x = _swigval,_swigval)
3572 static PyObject
*_wrap_wxPoint2DDouble_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3575 wxPoint2DDouble
* _arg0
;
3577 wxPoint2DDouble temp
;
3578 PyObject
* _obj0
= 0;
3579 char *_kwnames
[] = { "self","m_x", NULL
};
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_m_x_set",_kwnames
,&_obj0
,&_arg1
))
3586 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 _result
= (double )wxPoint2DDouble_m_x_set(_arg0
,_arg1
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) return NULL
;
3595 } _resultobj
= Py_BuildValue("d",_result
);
3599 #define wxPoint2DDouble_m_x_get(_swigobj) ((double ) _swigobj->m_x)
3600 static PyObject
*_wrap_wxPoint2DDouble_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
* _resultobj
;
3603 wxPoint2DDouble
* _arg0
;
3604 wxPoint2DDouble temp
;
3605 PyObject
* _obj0
= 0;
3606 char *_kwnames
[] = { "self", NULL
};
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_m_x_get",_kwnames
,&_obj0
))
3613 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 _result
= (double )wxPoint2DDouble_m_x_get(_arg0
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) return NULL
;
3622 } _resultobj
= Py_BuildValue("d",_result
);
3626 #define wxPoint2DDouble_m_y_set(_swigobj,_swigval) (_swigobj->m_y = _swigval,_swigval)
3627 static PyObject
*_wrap_wxPoint2DDouble_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
* _resultobj
;
3630 wxPoint2DDouble
* _arg0
;
3632 wxPoint2DDouble temp
;
3633 PyObject
* _obj0
= 0;
3634 char *_kwnames
[] = { "self","m_y", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_m_y_set",_kwnames
,&_obj0
,&_arg1
))
3641 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 _result
= (double )wxPoint2DDouble_m_y_set(_arg0
,_arg1
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) return NULL
;
3650 } _resultobj
= Py_BuildValue("d",_result
);
3654 #define wxPoint2DDouble_m_y_get(_swigobj) ((double ) _swigobj->m_y)
3655 static PyObject
*_wrap_wxPoint2DDouble_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3658 wxPoint2DDouble
* _arg0
;
3659 wxPoint2DDouble temp
;
3660 PyObject
* _obj0
= 0;
3661 char *_kwnames
[] = { "self", NULL
};
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_m_y_get",_kwnames
,&_obj0
))
3668 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 _result
= (double )wxPoint2DDouble_m_y_get(_arg0
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) return NULL
;
3677 } _resultobj
= Py_BuildValue("d",_result
);
3681 #define new_wxPoint2DDouble(_swigarg0,_swigarg1) (new wxPoint2DDouble(_swigarg0,_swigarg1))
3682 static PyObject
*_wrap_new_wxPoint2DDouble(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
* _resultobj
;
3684 wxPoint2DDouble
* _result
;
3685 double _arg0
= (double ) 0;
3686 double _arg1
= (double ) 0;
3687 char *_kwnames
[] = { "x","y", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|dd:new_wxPoint2DDouble",_kwnames
,&_arg0
,&_arg1
))
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 _result
= (wxPoint2DDouble
*)new_wxPoint2DDouble(_arg0
,_arg1
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) return NULL
;
3700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3701 _resultobj
= Py_BuildValue("s",_ptemp
);
3704 _resultobj
= Py_None
;
3709 #define new_wxPoint2DDoubleCopy(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3710 static PyObject
*_wrap_new_wxPoint2DDoubleCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
* _resultobj
;
3712 wxPoint2DDouble
* _result
;
3713 wxPoint2DDouble
* _arg0
;
3714 wxPoint2DDouble temp
;
3715 PyObject
* _obj0
= 0;
3716 char *_kwnames
[] = { "pt", NULL
};
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPoint2DDoubleCopy",_kwnames
,&_obj0
))
3724 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 _result
= (wxPoint2DDouble
*)new_wxPoint2DDoubleCopy(*_arg0
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) return NULL
;
3734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3735 _resultobj
= Py_BuildValue("s",_ptemp
);
3738 _resultobj
= Py_None
;
3743 #define new_wxPoint2DDoubleFromPoint(_swigarg0) (new wxPoint2DDouble(_swigarg0))
3744 static PyObject
*_wrap_new_wxPoint2DDoubleFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3746 wxPoint2DDouble
* _result
;
3749 PyObject
* _obj0
= 0;
3750 char *_kwnames
[] = { "pt", NULL
};
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPoint2DDoubleFromPoint",_kwnames
,&_obj0
))
3758 if (! wxPoint_helper(_obj0
, &_arg0
))
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 _result
= (wxPoint2DDouble
*)new_wxPoint2DDoubleFromPoint(*_arg0
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) return NULL
;
3768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
3769 _resultobj
= Py_BuildValue("s",_ptemp
);
3772 _resultobj
= Py_None
;
3777 #define wxPoint2DDouble_GetFloor(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFloor(_swigarg0,_swigarg1))
3778 static PyObject
*_wrap_wxPoint2DDouble_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
* _resultobj
;
3780 wxPoint2DDouble
* _arg0
;
3785 wxPoint2DDouble temp1
;
3786 PyObject
* _obj0
= 0;
3787 char *_kwnames
[] = { "self", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetFloor",_kwnames
,&_obj0
))
3800 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 wxPoint2DDouble_GetFloor(_arg0
,_arg1
,_arg2
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) return NULL
;
3809 } Py_INCREF(Py_None
);
3810 _resultobj
= Py_None
;
3813 o
= PyInt_FromLong((long) (*_arg1
));
3814 _resultobj
= t_output_helper(_resultobj
, o
);
3818 o
= PyInt_FromLong((long) (*_arg2
));
3819 _resultobj
= t_output_helper(_resultobj
, o
);
3824 #define wxPoint2DDouble_GetRounded(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRounded(_swigarg0,_swigarg1))
3825 static PyObject
*_wrap_wxPoint2DDouble_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3827 wxPoint2DDouble
* _arg0
;
3832 wxPoint2DDouble temp1
;
3833 PyObject
* _obj0
= 0;
3834 char *_kwnames
[] = { "self", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetRounded",_kwnames
,&_obj0
))
3847 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 wxPoint2DDouble_GetRounded(_arg0
,_arg1
,_arg2
);
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) return NULL
;
3856 } Py_INCREF(Py_None
);
3857 _resultobj
= Py_None
;
3860 o
= PyInt_FromLong((long) (*_arg1
));
3861 _resultobj
= t_output_helper(_resultobj
, o
);
3865 o
= PyInt_FromLong((long) (*_arg2
));
3866 _resultobj
= t_output_helper(_resultobj
, o
);
3871 #define wxPoint2DDouble_GetVectorLength(_swigobj) (_swigobj->GetVectorLength())
3872 static PyObject
*_wrap_wxPoint2DDouble_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3875 wxPoint2DDouble
* _arg0
;
3876 wxPoint2DDouble temp
;
3877 PyObject
* _obj0
= 0;
3878 char *_kwnames
[] = { "self", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetVectorLength",_kwnames
,&_obj0
))
3885 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 _result
= (double )wxPoint2DDouble_GetVectorLength(_arg0
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) return NULL
;
3894 } _resultobj
= Py_BuildValue("d",_result
);
3898 #define wxPoint2DDouble_GetVectorAngle(_swigobj) (_swigobj->GetVectorAngle())
3899 static PyObject
*_wrap_wxPoint2DDouble_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3902 wxPoint2DDouble
* _arg0
;
3903 wxPoint2DDouble temp
;
3904 PyObject
* _obj0
= 0;
3905 char *_kwnames
[] = { "self", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_GetVectorAngle",_kwnames
,&_obj0
))
3912 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 _result
= (double )wxPoint2DDouble_GetVectorAngle(_arg0
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) return NULL
;
3921 } _resultobj
= Py_BuildValue("d",_result
);
3925 #define wxPoint2DDouble_SetVectorLength(_swigobj,_swigarg0) (_swigobj->SetVectorLength(_swigarg0))
3926 static PyObject
*_wrap_wxPoint2DDouble_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3928 wxPoint2DDouble
* _arg0
;
3930 wxPoint2DDouble temp
;
3931 PyObject
* _obj0
= 0;
3932 char *_kwnames
[] = { "self","length", NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_SetVectorLength",_kwnames
,&_obj0
,&_arg1
))
3939 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 wxPoint2DDouble_SetVectorLength(_arg0
,_arg1
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) return NULL
;
3948 } Py_INCREF(Py_None
);
3949 _resultobj
= Py_None
;
3953 #define wxPoint2DDouble_SetVectorAngle(_swigobj,_swigarg0) (_swigobj->SetVectorAngle(_swigarg0))
3954 static PyObject
*_wrap_wxPoint2DDouble_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
* _resultobj
;
3956 wxPoint2DDouble
* _arg0
;
3958 wxPoint2DDouble temp
;
3959 PyObject
* _obj0
= 0;
3960 char *_kwnames
[] = { "self","degrees", NULL
};
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Od:wxPoint2DDouble_SetVectorAngle",_kwnames
,&_obj0
,&_arg1
))
3967 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 wxPoint2DDouble_SetVectorAngle(_arg0
,_arg1
);
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) return NULL
;
3976 } Py_INCREF(Py_None
);
3977 _resultobj
= Py_None
;
3981 #define wxPoint2DDouble_GetDistance(_swigobj,_swigarg0) (_swigobj->GetDistance(_swigarg0))
3982 static PyObject
*_wrap_wxPoint2DDouble_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
* _resultobj
;
3985 wxPoint2DDouble
* _arg0
;
3986 wxPoint2DDouble
* _arg1
;
3987 wxPoint2DDouble temp
;
3988 PyObject
* _obj0
= 0;
3989 wxPoint2DDouble temp0
;
3990 PyObject
* _obj1
= 0;
3991 char *_kwnames
[] = { "self","pt", NULL
};
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDistance",_kwnames
,&_obj0
,&_obj1
))
3998 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4003 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 _result
= (double )wxPoint2DDouble_GetDistance(_arg0
,*_arg1
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) return NULL
;
4012 } _resultobj
= Py_BuildValue("d",_result
);
4016 #define wxPoint2DDouble_GetDistanceSquare(_swigobj,_swigarg0) (_swigobj->GetDistanceSquare(_swigarg0))
4017 static PyObject
*_wrap_wxPoint2DDouble_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4020 wxPoint2DDouble
* _arg0
;
4021 wxPoint2DDouble
* _arg1
;
4022 wxPoint2DDouble temp
;
4023 PyObject
* _obj0
= 0;
4024 wxPoint2DDouble temp0
;
4025 PyObject
* _obj1
= 0;
4026 char *_kwnames
[] = { "self","pt", NULL
};
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDistanceSquare",_kwnames
,&_obj0
,&_obj1
))
4033 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4038 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 _result
= (double )wxPoint2DDouble_GetDistanceSquare(_arg0
,*_arg1
);
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) return NULL
;
4047 } _resultobj
= Py_BuildValue("d",_result
);
4051 #define wxPoint2DDouble_GetDotProduct(_swigobj,_swigarg0) (_swigobj->GetDotProduct(_swigarg0))
4052 static PyObject
*_wrap_wxPoint2DDouble_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4055 wxPoint2DDouble
* _arg0
;
4056 wxPoint2DDouble
* _arg1
;
4057 wxPoint2DDouble temp
;
4058 PyObject
* _obj0
= 0;
4059 wxPoint2DDouble temp0
;
4060 PyObject
* _obj1
= 0;
4061 char *_kwnames
[] = { "self","vec", NULL
};
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetDotProduct",_kwnames
,&_obj0
,&_obj1
))
4068 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4073 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 _result
= (double )wxPoint2DDouble_GetDotProduct(_arg0
,*_arg1
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) return NULL
;
4082 } _resultobj
= Py_BuildValue("d",_result
);
4086 #define wxPoint2DDouble_GetCrossProduct(_swigobj,_swigarg0) (_swigobj->GetCrossProduct(_swigarg0))
4087 static PyObject
*_wrap_wxPoint2DDouble_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4090 wxPoint2DDouble
* _arg0
;
4091 wxPoint2DDouble
* _arg1
;
4092 wxPoint2DDouble temp
;
4093 PyObject
* _obj0
= 0;
4094 wxPoint2DDouble temp0
;
4095 PyObject
* _obj1
= 0;
4096 char *_kwnames
[] = { "self","vec", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble_GetCrossProduct",_kwnames
,&_obj0
,&_obj1
))
4103 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4108 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 _result
= (double )wxPoint2DDouble_GetCrossProduct(_arg0
,*_arg1
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) return NULL
;
4117 } _resultobj
= Py_BuildValue("d",_result
);
4121 static void wxPoint2DDouble_Set(wxPoint2DDouble
*self
,double x
,double y
) {
4125 static PyObject
*_wrap_wxPoint2DDouble_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
* _resultobj
;
4127 wxPoint2DDouble
* _arg0
;
4128 double _arg1
= (double ) 0;
4129 double _arg2
= (double ) 0;
4130 wxPoint2DDouble temp
;
4131 PyObject
* _obj0
= 0;
4132 char *_kwnames
[] = { "self","x","y", NULL
};
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|dd:wxPoint2DDouble_Set",_kwnames
,&_obj0
,&_arg1
,&_arg2
))
4139 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 wxPoint2DDouble_Set(_arg0
,_arg1
,_arg2
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) return NULL
;
4148 } Py_INCREF(Py_None
);
4149 _resultobj
= Py_None
;
4153 static wxPoint2DDouble
wxPoint2DDouble___neg__(wxPoint2DDouble
*self
) { return -(*self
); }
4154 static PyObject
*_wrap_wxPoint2DDouble___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
* _resultobj
;
4156 wxPoint2DDouble
* _result
;
4157 wxPoint2DDouble
* _arg0
;
4158 wxPoint2DDouble temp
;
4159 PyObject
* _obj0
= 0;
4160 char *_kwnames
[] = { "self", NULL
};
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble___neg__",_kwnames
,&_obj0
))
4168 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 _result
= new wxPoint2DDouble (wxPoint2DDouble___neg__(_arg0
));
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) return NULL
;
4177 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint2DDouble_p");
4178 _resultobj
= Py_BuildValue("s",_ptemp
);
4182 static wxPoint2DDouble
& wxPoint2DDouble___iadd__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) += pt
; }
4183 static PyObject
*_wrap_wxPoint2DDouble___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
* _resultobj
;
4185 wxPoint2DDouble
* _result
;
4186 wxPoint2DDouble
* _arg0
;
4187 wxPoint2DDouble
* _arg1
;
4188 wxPoint2DDouble temp
;
4189 PyObject
* _obj0
= 0;
4190 wxPoint2DDouble temp0
;
4191 PyObject
* _obj1
= 0;
4192 char *_kwnames
[] = { "self","pt", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___iadd__",_kwnames
,&_obj0
,&_obj1
))
4200 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4205 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___iadd__(_arg0
,*_arg1
);
4211 _result
= (wxPoint2DDouble
*) &_result_ref
;
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) return NULL
;
4216 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4217 _resultobj
= Py_BuildValue("s",_ptemp
);
4220 _resultobj
= Py_None
;
4225 static wxPoint2DDouble
& wxPoint2DDouble___isub__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) -= pt
; }
4226 static PyObject
*_wrap_wxPoint2DDouble___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
* _resultobj
;
4228 wxPoint2DDouble
* _result
;
4229 wxPoint2DDouble
* _arg0
;
4230 wxPoint2DDouble
* _arg1
;
4231 wxPoint2DDouble temp
;
4232 PyObject
* _obj0
= 0;
4233 wxPoint2DDouble temp0
;
4234 PyObject
* _obj1
= 0;
4235 char *_kwnames
[] = { "self","pt", NULL
};
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___isub__",_kwnames
,&_obj0
,&_obj1
))
4243 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4248 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___isub__(_arg0
,*_arg1
);
4254 _result
= (wxPoint2DDouble
*) &_result_ref
;
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) return NULL
;
4259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4260 _resultobj
= Py_BuildValue("s",_ptemp
);
4263 _resultobj
= Py_None
;
4268 static wxPoint2DDouble
& wxPoint2DDouble___imul__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) *= pt
; }
4269 static PyObject
*_wrap_wxPoint2DDouble___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4271 wxPoint2DDouble
* _result
;
4272 wxPoint2DDouble
* _arg0
;
4273 wxPoint2DDouble
* _arg1
;
4274 wxPoint2DDouble temp
;
4275 PyObject
* _obj0
= 0;
4276 wxPoint2DDouble temp0
;
4277 PyObject
* _obj1
= 0;
4278 char *_kwnames
[] = { "self","pt", NULL
};
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___imul__",_kwnames
,&_obj0
,&_obj1
))
4286 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4291 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___imul__(_arg0
,*_arg1
);
4297 _result
= (wxPoint2DDouble
*) &_result_ref
;
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) return NULL
;
4302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4303 _resultobj
= Py_BuildValue("s",_ptemp
);
4306 _resultobj
= Py_None
;
4311 static wxPoint2DDouble
& wxPoint2DDouble___idiv__(wxPoint2DDouble
*self
,const wxPoint2DDouble
& pt
) { return (*self
) /= pt
; }
4312 static PyObject
*_wrap_wxPoint2DDouble___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4314 wxPoint2DDouble
* _result
;
4315 wxPoint2DDouble
* _arg0
;
4316 wxPoint2DDouble
* _arg1
;
4317 wxPoint2DDouble temp
;
4318 PyObject
* _obj0
= 0;
4319 wxPoint2DDouble temp0
;
4320 PyObject
* _obj1
= 0;
4321 char *_kwnames
[] = { "self","pt", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___idiv__",_kwnames
,&_obj0
,&_obj1
))
4329 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4334 if (! wxPoint2DDouble_helper(_obj1
, &_arg1
))
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 wxPoint2DDouble
& _result_ref
= wxPoint2DDouble___idiv__(_arg0
,*_arg1
);
4340 _result
= (wxPoint2DDouble
*) &_result_ref
;
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) return NULL
;
4345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPoint2DDouble_p");
4346 _resultobj
= Py_BuildValue("s",_ptemp
);
4349 _resultobj
= Py_None
;
4354 static bool wxPoint2DDouble___eq__(wxPoint2DDouble
*self
,PyObject
* obj
) {
4355 wxPoint2DDouble tmp
;
4356 wxPoint2DDouble
* ptr
= &tmp
;
4357 if (obj
== Py_None
) return FALSE
;
4358 wxPyBLOCK_THREADS(bool success
= wxPoint2DDouble_helper(obj
, &ptr
); PyErr_Clear());
4359 if (! success
) return FALSE
;
4360 return *self
== *ptr
;
4362 static PyObject
*_wrap_wxPoint2DDouble___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
* _resultobj
;
4365 wxPoint2DDouble
* _arg0
;
4367 wxPoint2DDouble temp
;
4368 PyObject
* _obj0
= 0;
4369 PyObject
* _obj1
= 0;
4370 char *_kwnames
[] = { "self","obj", NULL
};
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___eq__",_kwnames
,&_obj0
,&_obj1
))
4377 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 _result
= (bool )wxPoint2DDouble___eq__(_arg0
,_arg1
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) return NULL
;
4389 } _resultobj
= Py_BuildValue("i",_result
);
4393 static bool wxPoint2DDouble___ne__(wxPoint2DDouble
*self
,PyObject
* obj
) {
4394 wxPoint2DDouble tmp
;
4395 wxPoint2DDouble
* ptr
= &tmp
;
4396 if (obj
== Py_None
) return TRUE
;
4397 wxPyBLOCK_THREADS(bool success
= wxPoint2DDouble_helper(obj
, &ptr
); PyErr_Clear());
4398 if (! success
) return TRUE
;
4399 return *self
!= *ptr
;
4401 static PyObject
*_wrap_wxPoint2DDouble___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
* _resultobj
;
4404 wxPoint2DDouble
* _arg0
;
4406 wxPoint2DDouble temp
;
4407 PyObject
* _obj0
= 0;
4408 PyObject
* _obj1
= 0;
4409 char *_kwnames
[] = { "self","obj", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPoint2DDouble___ne__",_kwnames
,&_obj0
,&_obj1
))
4416 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 _result
= (bool )wxPoint2DDouble___ne__(_arg0
,_arg1
);
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) return NULL
;
4428 } _resultobj
= Py_BuildValue("i",_result
);
4432 static PyObject
* wxPoint2DDouble_asTuple(wxPoint2DDouble
*self
) {
4433 wxPyBeginBlockThreads();
4434 PyObject
* tup
= PyTuple_New(2);
4435 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
4436 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
4437 wxPyEndBlockThreads();
4440 static PyObject
*_wrap_wxPoint2DDouble_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
* _resultobj
;
4443 wxPoint2DDouble
* _arg0
;
4444 wxPoint2DDouble temp
;
4445 PyObject
* _obj0
= 0;
4446 char *_kwnames
[] = { "self", NULL
};
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPoint2DDouble_asTuple",_kwnames
,&_obj0
))
4453 if (! wxPoint2DDouble_helper(_obj0
, &_arg0
))
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 _result
= (PyObject
*)wxPoint2DDouble_asTuple(_arg0
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) return NULL
;
4463 _resultobj
= _result
;
4468 static void *SwigwxIndividualLayoutConstraintTowxObject(void *ptr
) {
4469 wxIndividualLayoutConstraint
*src
;
4471 src
= (wxIndividualLayoutConstraint
*) ptr
;
4472 dest
= (wxObject
*) src
;
4473 return (void *) dest
;
4476 #define wxIndividualLayoutConstraint_Above(_swigobj,_swigarg0,_swigarg1) (_swigobj->Above(_swigarg0,_swigarg1))
4477 static PyObject
*_wrap_wxIndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
* _resultobj
;
4479 wxIndividualLayoutConstraint
* _arg0
;
4481 int _arg2
= (int ) 0;
4482 PyObject
* _argo0
= 0;
4483 PyObject
* _argo1
= 0;
4484 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Above",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Above. Expected _wxIndividualLayoutConstraint_p.");
4497 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Above. Expected _wxWindow_p.");
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 wxIndividualLayoutConstraint_Above(_arg0
,_arg1
,_arg2
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) return NULL
;
4509 } Py_INCREF(Py_None
);
4510 _resultobj
= Py_None
;
4514 #define wxIndividualLayoutConstraint_Absolute(_swigobj,_swigarg0) (_swigobj->Absolute(_swigarg0))
4515 static PyObject
*_wrap_wxIndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4516 PyObject
* _resultobj
;
4517 wxIndividualLayoutConstraint
* _arg0
;
4519 PyObject
* _argo0
= 0;
4520 char *_kwnames
[] = { "self","value", NULL
};
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxIndividualLayoutConstraint_Absolute",_kwnames
,&_argo0
,&_arg1
))
4526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Absolute. Expected _wxIndividualLayoutConstraint_p.");
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 wxIndividualLayoutConstraint_Absolute(_arg0
,_arg1
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) return NULL
;
4538 } Py_INCREF(Py_None
);
4539 _resultobj
= Py_None
;
4543 #define wxIndividualLayoutConstraint_AsIs(_swigobj) (_swigobj->AsIs())
4544 static PyObject
*_wrap_wxIndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4546 wxIndividualLayoutConstraint
* _arg0
;
4547 PyObject
* _argo0
= 0;
4548 char *_kwnames
[] = { "self", NULL
};
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_AsIs",_kwnames
,&_argo0
))
4554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_AsIs. Expected _wxIndividualLayoutConstraint_p.");
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 wxIndividualLayoutConstraint_AsIs(_arg0
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) return NULL
;
4566 } Py_INCREF(Py_None
);
4567 _resultobj
= Py_None
;
4571 #define wxIndividualLayoutConstraint_Below(_swigobj,_swigarg0,_swigarg1) (_swigobj->Below(_swigarg0,_swigarg1))
4572 static PyObject
*_wrap_wxIndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4574 wxIndividualLayoutConstraint
* _arg0
;
4576 int _arg2
= (int ) 0;
4577 PyObject
* _argo0
= 0;
4578 PyObject
* _argo1
= 0;
4579 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_Below",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Below. Expected _wxIndividualLayoutConstraint_p.");
4592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_Below. Expected _wxWindow_p.");
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 wxIndividualLayoutConstraint_Below(_arg0
,_arg1
,_arg2
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) return NULL
;
4604 } Py_INCREF(Py_None
);
4605 _resultobj
= Py_None
;
4609 #define wxIndividualLayoutConstraint_Unconstrained(_swigobj) (_swigobj->Unconstrained())
4610 static PyObject
*_wrap_wxIndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
* _resultobj
;
4612 wxIndividualLayoutConstraint
* _arg0
;
4613 PyObject
* _argo0
= 0;
4614 char *_kwnames
[] = { "self", NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxIndividualLayoutConstraint_Unconstrained",_kwnames
,&_argo0
))
4620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Unconstrained. Expected _wxIndividualLayoutConstraint_p.");
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 wxIndividualLayoutConstraint_Unconstrained(_arg0
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) return NULL
;
4632 } Py_INCREF(Py_None
);
4633 _resultobj
= Py_None
;
4637 #define wxIndividualLayoutConstraint_LeftOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->LeftOf(_swigarg0,_swigarg1))
4638 static PyObject
*_wrap_wxIndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
* _resultobj
;
4640 wxIndividualLayoutConstraint
* _arg0
;
4642 int _arg2
= (int ) 0;
4643 PyObject
* _argo0
= 0;
4644 PyObject
* _argo1
= 0;
4645 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_LeftOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_LeftOf. Expected _wxIndividualLayoutConstraint_p.");
4658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_LeftOf. Expected _wxWindow_p.");
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 wxIndividualLayoutConstraint_LeftOf(_arg0
,_arg1
,_arg2
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) return NULL
;
4670 } Py_INCREF(Py_None
);
4671 _resultobj
= Py_None
;
4675 #define wxIndividualLayoutConstraint_PercentOf(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PercentOf(_swigarg0,_swigarg1,_swigarg2))
4676 static PyObject
*_wrap_wxIndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
* _resultobj
;
4678 wxIndividualLayoutConstraint
* _arg0
;
4682 PyObject
* _argo0
= 0;
4683 PyObject
* _argo1
= 0;
4684 char *_kwnames
[] = { "self","otherWin","edge","percent", NULL
};
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii:wxIndividualLayoutConstraint_PercentOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_PercentOf. Expected _wxIndividualLayoutConstraint_p.");
4697 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_PercentOf. Expected _wxWindow_p.");
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 wxIndividualLayoutConstraint_PercentOf(_arg0
,_arg1
,_arg2
,_arg3
);
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) return NULL
;
4709 } Py_INCREF(Py_None
);
4710 _resultobj
= Py_None
;
4714 #define wxIndividualLayoutConstraint_RightOf(_swigobj,_swigarg0,_swigarg1) (_swigobj->RightOf(_swigarg0,_swigarg1))
4715 static PyObject
*_wrap_wxIndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4717 wxIndividualLayoutConstraint
* _arg0
;
4719 int _arg2
= (int ) 0;
4720 PyObject
* _argo0
= 0;
4721 PyObject
* _argo1
= 0;
4722 char *_kwnames
[] = { "self","otherWin","margin", NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxIndividualLayoutConstraint_RightOf",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_RightOf. Expected _wxIndividualLayoutConstraint_p.");
4735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_RightOf. Expected _wxWindow_p.");
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 wxIndividualLayoutConstraint_RightOf(_arg0
,_arg1
,_arg2
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) return NULL
;
4747 } Py_INCREF(Py_None
);
4748 _resultobj
= Py_None
;
4752 #define wxIndividualLayoutConstraint_SameAs(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SameAs(_swigarg0,_swigarg1,_swigarg2))
4753 static PyObject
*_wrap_wxIndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4755 wxIndividualLayoutConstraint
* _arg0
;
4758 int _arg3
= (int ) 0;
4759 PyObject
* _argo0
= 0;
4760 PyObject
* _argo1
= 0;
4761 char *_kwnames
[] = { "self","otherWin","edge","margin", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|i:wxIndividualLayoutConstraint_SameAs",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
))
4767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_SameAs. Expected _wxIndividualLayoutConstraint_p.");
4774 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4775 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxIndividualLayoutConstraint_SameAs. Expected _wxWindow_p.");
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 wxIndividualLayoutConstraint_SameAs(_arg0
,_arg1
,_arg2
,_arg3
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) return NULL
;
4786 } Py_INCREF(Py_None
);
4787 _resultobj
= Py_None
;
4791 #define wxIndividualLayoutConstraint_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4792 static PyObject
*_wrap_wxIndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
* _resultobj
;
4794 wxIndividualLayoutConstraint
* _arg0
;
4795 wxRelationship _arg1
;
4798 int _arg4
= (int ) 0;
4799 int _arg5
= (int ) 0;
4800 PyObject
* _argo0
= 0;
4801 PyObject
* _argo2
= 0;
4802 char *_kwnames
[] = { "self","rel","otherWin","otherEdge","value","margin", NULL
};
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOi|ii:wxIndividualLayoutConstraint_Set",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
,&_arg4
,&_arg5
))
4808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIndividualLayoutConstraint_p")) {
4810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxIndividualLayoutConstraint_Set. Expected _wxIndividualLayoutConstraint_p.");
4815 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxIndividualLayoutConstraint_Set. Expected _wxWindow_p.");
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxIndividualLayoutConstraint_Set(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 static void *SwigwxLayoutConstraintsTowxObject(void *ptr
) {
4833 wxLayoutConstraints
*src
;
4835 src
= (wxLayoutConstraints
*) ptr
;
4836 dest
= (wxObject
*) src
;
4837 return (void *) dest
;
4840 #define new_wxLayoutConstraints() (new wxLayoutConstraints())
4841 static PyObject
*_wrap_new_wxLayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4843 wxLayoutConstraints
* _result
;
4844 char *_kwnames
[] = { NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLayoutConstraints",_kwnames
))
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 _result
= (wxLayoutConstraints
*)new_wxLayoutConstraints();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) return NULL
;
4857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLayoutConstraints_p");
4858 _resultobj
= Py_BuildValue("s",_ptemp
);
4861 _resultobj
= Py_None
;
4866 #define wxLayoutConstraints_bottom_get(_swigobj) (&_swigobj->bottom)
4867 static PyObject
*_wrap_wxLayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4869 wxIndividualLayoutConstraint
* _result
;
4870 wxLayoutConstraints
* _arg0
;
4871 PyObject
* _argo0
= 0;
4872 char *_kwnames
[] = { "self", NULL
};
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_bottom_get",_kwnames
,&_argo0
))
4879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_bottom_get. Expected _wxLayoutConstraints_p.");
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_bottom_get(_arg0
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) return NULL
;
4892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4893 _resultobj
= Py_BuildValue("s",_ptemp
);
4896 _resultobj
= Py_None
;
4901 #define wxLayoutConstraints_centreX_get(_swigobj) (&_swigobj->centreX)
4902 static PyObject
*_wrap_wxLayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4904 wxIndividualLayoutConstraint
* _result
;
4905 wxLayoutConstraints
* _arg0
;
4906 PyObject
* _argo0
= 0;
4907 char *_kwnames
[] = { "self", NULL
};
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreX_get",_kwnames
,&_argo0
))
4914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreX_get. Expected _wxLayoutConstraints_p.");
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreX_get(_arg0
);
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) return NULL
;
4927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4928 _resultobj
= Py_BuildValue("s",_ptemp
);
4931 _resultobj
= Py_None
;
4936 #define wxLayoutConstraints_centreY_get(_swigobj) (&_swigobj->centreY)
4937 static PyObject
*_wrap_wxLayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
* _resultobj
;
4939 wxIndividualLayoutConstraint
* _result
;
4940 wxLayoutConstraints
* _arg0
;
4941 PyObject
* _argo0
= 0;
4942 char *_kwnames
[] = { "self", NULL
};
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_centreY_get",_kwnames
,&_argo0
))
4949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_centreY_get. Expected _wxLayoutConstraints_p.");
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_centreY_get(_arg0
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) return NULL
;
4962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4963 _resultobj
= Py_BuildValue("s",_ptemp
);
4966 _resultobj
= Py_None
;
4971 #define wxLayoutConstraints_height_get(_swigobj) (&_swigobj->height)
4972 static PyObject
*_wrap_wxLayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
* _resultobj
;
4974 wxIndividualLayoutConstraint
* _result
;
4975 wxLayoutConstraints
* _arg0
;
4976 PyObject
* _argo0
= 0;
4977 char *_kwnames
[] = { "self", NULL
};
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_height_get",_kwnames
,&_argo0
))
4984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
4986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_height_get. Expected _wxLayoutConstraints_p.");
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_height_get(_arg0
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) return NULL
;
4997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
4998 _resultobj
= Py_BuildValue("s",_ptemp
);
5001 _resultobj
= Py_None
;
5006 #define wxLayoutConstraints_left_get(_swigobj) (&_swigobj->left)
5007 static PyObject
*_wrap_wxLayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
* _resultobj
;
5009 wxIndividualLayoutConstraint
* _result
;
5010 wxLayoutConstraints
* _arg0
;
5011 PyObject
* _argo0
= 0;
5012 char *_kwnames
[] = { "self", NULL
};
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_left_get",_kwnames
,&_argo0
))
5019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_left_get. Expected _wxLayoutConstraints_p.");
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_left_get(_arg0
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) return NULL
;
5032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5033 _resultobj
= Py_BuildValue("s",_ptemp
);
5036 _resultobj
= Py_None
;
5041 #define wxLayoutConstraints_right_get(_swigobj) (&_swigobj->right)
5042 static PyObject
*_wrap_wxLayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5044 wxIndividualLayoutConstraint
* _result
;
5045 wxLayoutConstraints
* _arg0
;
5046 PyObject
* _argo0
= 0;
5047 char *_kwnames
[] = { "self", NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_right_get",_kwnames
,&_argo0
))
5054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_right_get. Expected _wxLayoutConstraints_p.");
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_right_get(_arg0
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) return NULL
;
5067 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5068 _resultobj
= Py_BuildValue("s",_ptemp
);
5071 _resultobj
= Py_None
;
5076 #define wxLayoutConstraints_top_get(_swigobj) (&_swigobj->top)
5077 static PyObject
*_wrap_wxLayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
* _resultobj
;
5079 wxIndividualLayoutConstraint
* _result
;
5080 wxLayoutConstraints
* _arg0
;
5081 PyObject
* _argo0
= 0;
5082 char *_kwnames
[] = { "self", NULL
};
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_top_get",_kwnames
,&_argo0
))
5089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_top_get. Expected _wxLayoutConstraints_p.");
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_top_get(_arg0
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) return NULL
;
5102 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5103 _resultobj
= Py_BuildValue("s",_ptemp
);
5106 _resultobj
= Py_None
;
5111 #define wxLayoutConstraints_width_get(_swigobj) (&_swigobj->width)
5112 static PyObject
*_wrap_wxLayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
* _resultobj
;
5114 wxIndividualLayoutConstraint
* _result
;
5115 wxLayoutConstraints
* _arg0
;
5116 PyObject
* _argo0
= 0;
5117 char *_kwnames
[] = { "self", NULL
};
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLayoutConstraints_width_get",_kwnames
,&_argo0
))
5124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLayoutConstraints_p")) {
5126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLayoutConstraints_width_get. Expected _wxLayoutConstraints_p.");
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 _result
= (wxIndividualLayoutConstraint
*)wxLayoutConstraints_width_get(_arg0
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) return NULL
;
5137 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIndividualLayoutConstraint_p");
5138 _resultobj
= Py_BuildValue("s",_ptemp
);
5141 _resultobj
= Py_None
;
5146 #define new_wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2) (new wxAcceleratorEntry(_swigarg0,_swigarg1,_swigarg2))
5147 static PyObject
*_wrap_new_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
* _resultobj
;
5149 wxAcceleratorEntry
* _result
;
5150 int _arg0
= (int ) 0;
5151 int _arg1
= (int ) 0;
5152 int _arg2
= (int ) 0;
5153 char *_kwnames
[] = { "flags","keyCode","cmd", NULL
};
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxAcceleratorEntry",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 _result
= (wxAcceleratorEntry
*)new_wxAcceleratorEntry(_arg0
,_arg1
,_arg2
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) return NULL
;
5166 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorEntry_p");
5167 _resultobj
= Py_BuildValue("s",_ptemp
);
5170 _resultobj
= Py_None
;
5175 #define delete_wxAcceleratorEntry(_swigobj) (delete _swigobj)
5176 static PyObject
*_wrap_delete_wxAcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
* _resultobj
;
5178 wxAcceleratorEntry
* _arg0
;
5179 PyObject
* _argo0
= 0;
5180 char *_kwnames
[] = { "self", NULL
};
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorEntry",_kwnames
,&_argo0
))
5186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorEntry. Expected _wxAcceleratorEntry_p.");
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 delete_wxAcceleratorEntry(_arg0
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) return NULL
;
5198 } Py_INCREF(Py_None
);
5199 _resultobj
= Py_None
;
5203 #define wxAcceleratorEntry_Set(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Set(_swigarg0,_swigarg1,_swigarg2))
5204 static PyObject
*_wrap_wxAcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5206 wxAcceleratorEntry
* _arg0
;
5210 PyObject
* _argo0
= 0;
5211 char *_kwnames
[] = { "self","flags","keyCode","Cmd", NULL
};
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiii:wxAcceleratorEntry_Set",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
))
5217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_Set. Expected _wxAcceleratorEntry_p.");
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 wxAcceleratorEntry_Set(_arg0
,_arg1
,_arg2
,_arg3
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) return NULL
;
5229 } Py_INCREF(Py_None
);
5230 _resultobj
= Py_None
;
5234 #define wxAcceleratorEntry_GetFlags(_swigobj) (_swigobj->GetFlags())
5235 static PyObject
*_wrap_wxAcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
* _resultobj
;
5238 wxAcceleratorEntry
* _arg0
;
5239 PyObject
* _argo0
= 0;
5240 char *_kwnames
[] = { "self", NULL
};
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetFlags",_kwnames
,&_argo0
))
5246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetFlags. Expected _wxAcceleratorEntry_p.");
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 _result
= (int )wxAcceleratorEntry_GetFlags(_arg0
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) return NULL
;
5258 } _resultobj
= Py_BuildValue("i",_result
);
5262 #define wxAcceleratorEntry_GetKeyCode(_swigobj) (_swigobj->GetKeyCode())
5263 static PyObject
*_wrap_wxAcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
* _resultobj
;
5266 wxAcceleratorEntry
* _arg0
;
5267 PyObject
* _argo0
= 0;
5268 char *_kwnames
[] = { "self", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetKeyCode",_kwnames
,&_argo0
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetKeyCode. Expected _wxAcceleratorEntry_p.");
5281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 _result
= (int )wxAcceleratorEntry_GetKeyCode(_arg0
);
5284 wxPyEndAllowThreads(__tstate
);
5285 if (PyErr_Occurred()) return NULL
;
5286 } _resultobj
= Py_BuildValue("i",_result
);
5290 #define wxAcceleratorEntry_GetCommand(_swigobj) (_swigobj->GetCommand())
5291 static PyObject
*_wrap_wxAcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5294 wxAcceleratorEntry
* _arg0
;
5295 PyObject
* _argo0
= 0;
5296 char *_kwnames
[] = { "self", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxAcceleratorEntry_GetCommand",_kwnames
,&_argo0
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorEntry_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxAcceleratorEntry_GetCommand. Expected _wxAcceleratorEntry_p.");
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 _result
= (int )wxAcceleratorEntry_GetCommand(_arg0
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) return NULL
;
5314 } _resultobj
= Py_BuildValue("i",_result
);
5318 static void *SwigwxAcceleratorTableTowxObject(void *ptr
) {
5319 wxAcceleratorTable
*src
;
5321 src
= (wxAcceleratorTable
*) ptr
;
5322 dest
= (wxObject
*) src
;
5323 return (void *) dest
;
5326 #define new_wxAcceleratorTable(_swigarg0,_swigarg1) (new wxAcceleratorTable(_swigarg0,_swigarg1))
5327 static PyObject
*_wrap_new_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5329 wxAcceleratorTable
* _result
;
5331 wxAcceleratorEntry
* _arg1
;
5332 PyObject
* _obj1
= 0;
5333 char *_kwnames
[] = { "choices", NULL
};
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxAcceleratorTable",_kwnames
,&_obj1
))
5341 _arg1
= wxAcceleratorEntry_LIST_helper(_obj1
);
5342 if (_arg1
== NULL
) {
5348 _arg0
= PyList_Size(_obj1
);
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 _result
= (wxAcceleratorTable
*)new_wxAcceleratorTable(_arg0
,_arg1
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) return NULL
;
5361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxAcceleratorTable_p");
5362 _resultobj
= Py_BuildValue("s",_ptemp
);
5365 _resultobj
= Py_None
;
5373 #define delete_wxAcceleratorTable(_swigobj) (delete _swigobj)
5374 static PyObject
*_wrap_delete_wxAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5376 wxAcceleratorTable
* _arg0
;
5377 PyObject
* _argo0
= 0;
5378 char *_kwnames
[] = { "self", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxAcceleratorTable",_kwnames
,&_argo0
))
5384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxAcceleratorTable_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxAcceleratorTable. Expected _wxAcceleratorTable_p.");
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 delete_wxAcceleratorTable(_arg0
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) return NULL
;
5396 } Py_INCREF(Py_None
);
5397 _resultobj
= Py_None
;
5401 static void *SwigwxBusyInfoTowxObject(void *ptr
) {
5404 src
= (wxBusyInfo
*) ptr
;
5405 dest
= (wxObject
*) src
;
5406 return (void *) dest
;
5409 #define new_wxBusyInfo(_swigarg0) (new wxBusyInfo(_swigarg0))
5410 static PyObject
*_wrap_new_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
* _resultobj
;
5412 wxBusyInfo
* _result
;
5414 PyObject
* _obj0
= 0;
5415 char *_kwnames
[] = { "message", NULL
};
5419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxBusyInfo",_kwnames
,&_obj0
))
5422 _arg0
= wxString_in_helper(_obj0
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 _result
= (wxBusyInfo
*)new_wxBusyInfo(*_arg0
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) return NULL
;
5433 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyInfo_p");
5434 _resultobj
= Py_BuildValue("s",_ptemp
);
5437 _resultobj
= Py_None
;
5446 #define delete_wxBusyInfo(_swigobj) (delete _swigobj)
5447 static PyObject
*_wrap_delete_wxBusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
* _resultobj
;
5450 PyObject
* _argo0
= 0;
5451 char *_kwnames
[] = { "self", NULL
};
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyInfo",_kwnames
,&_argo0
))
5457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyInfo_p")) {
5459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyInfo. Expected _wxBusyInfo_p.");
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 delete_wxBusyInfo(_arg0
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) return NULL
;
5469 } Py_INCREF(Py_None
);
5470 _resultobj
= Py_None
;
5474 static PyMethodDef misccMethods
[] = {
5475 { "delete_wxBusyInfo", (PyCFunction
) _wrap_delete_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
5476 { "new_wxBusyInfo", (PyCFunction
) _wrap_new_wxBusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
5477 { "delete_wxAcceleratorTable", (PyCFunction
) _wrap_delete_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
5478 { "new_wxAcceleratorTable", (PyCFunction
) _wrap_new_wxAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
5479 { "wxAcceleratorEntry_GetCommand", (PyCFunction
) _wrap_wxAcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
5480 { "wxAcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_wxAcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
5481 { "wxAcceleratorEntry_GetFlags", (PyCFunction
) _wrap_wxAcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
5482 { "wxAcceleratorEntry_Set", (PyCFunction
) _wrap_wxAcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
5483 { "delete_wxAcceleratorEntry", (PyCFunction
) _wrap_delete_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
5484 { "new_wxAcceleratorEntry", (PyCFunction
) _wrap_new_wxAcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
5485 { "wxLayoutConstraints_width_get", (PyCFunction
) _wrap_wxLayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5486 { "wxLayoutConstraints_top_get", (PyCFunction
) _wrap_wxLayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
5487 { "wxLayoutConstraints_right_get", (PyCFunction
) _wrap_wxLayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
5488 { "wxLayoutConstraints_left_get", (PyCFunction
) _wrap_wxLayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
5489 { "wxLayoutConstraints_height_get", (PyCFunction
) _wrap_wxLayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
5490 { "wxLayoutConstraints_centreY_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
5491 { "wxLayoutConstraints_centreX_get", (PyCFunction
) _wrap_wxLayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
5492 { "wxLayoutConstraints_bottom_get", (PyCFunction
) _wrap_wxLayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
5493 { "new_wxLayoutConstraints", (PyCFunction
) _wrap_new_wxLayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
5494 { "wxIndividualLayoutConstraint_Set", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5495 { "wxIndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
5496 { "wxIndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
5497 { "wxIndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
5498 { "wxIndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
5499 { "wxIndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
5500 { "wxIndividualLayoutConstraint_Below", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
5501 { "wxIndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
5502 { "wxIndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
5503 { "wxIndividualLayoutConstraint_Above", (PyCFunction
) _wrap_wxIndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
5504 { "wxPoint2DDouble_asTuple", (PyCFunction
) _wrap_wxPoint2DDouble_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5505 { "wxPoint2DDouble___ne__", (PyCFunction
) _wrap_wxPoint2DDouble___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5506 { "wxPoint2DDouble___eq__", (PyCFunction
) _wrap_wxPoint2DDouble___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5507 { "wxPoint2DDouble___idiv__", (PyCFunction
) _wrap_wxPoint2DDouble___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
5508 { "wxPoint2DDouble___imul__", (PyCFunction
) _wrap_wxPoint2DDouble___imul__
, METH_VARARGS
| METH_KEYWORDS
},
5509 { "wxPoint2DDouble___isub__", (PyCFunction
) _wrap_wxPoint2DDouble___isub__
, METH_VARARGS
| METH_KEYWORDS
},
5510 { "wxPoint2DDouble___iadd__", (PyCFunction
) _wrap_wxPoint2DDouble___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
5511 { "wxPoint2DDouble___neg__", (PyCFunction
) _wrap_wxPoint2DDouble___neg__
, METH_VARARGS
| METH_KEYWORDS
},
5512 { "wxPoint2DDouble_Set", (PyCFunction
) _wrap_wxPoint2DDouble_Set
, METH_VARARGS
| METH_KEYWORDS
},
5513 { "wxPoint2DDouble_GetCrossProduct", (PyCFunction
) _wrap_wxPoint2DDouble_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
5514 { "wxPoint2DDouble_GetDotProduct", (PyCFunction
) _wrap_wxPoint2DDouble_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
5515 { "wxPoint2DDouble_GetDistanceSquare", (PyCFunction
) _wrap_wxPoint2DDouble_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
5516 { "wxPoint2DDouble_GetDistance", (PyCFunction
) _wrap_wxPoint2DDouble_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
5517 { "wxPoint2DDouble_SetVectorAngle", (PyCFunction
) _wrap_wxPoint2DDouble_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
5518 { "wxPoint2DDouble_SetVectorLength", (PyCFunction
) _wrap_wxPoint2DDouble_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
5519 { "wxPoint2DDouble_GetVectorAngle", (PyCFunction
) _wrap_wxPoint2DDouble_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
5520 { "wxPoint2DDouble_GetVectorLength", (PyCFunction
) _wrap_wxPoint2DDouble_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
5521 { "wxPoint2DDouble_GetRounded", (PyCFunction
) _wrap_wxPoint2DDouble_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
5522 { "wxPoint2DDouble_GetFloor", (PyCFunction
) _wrap_wxPoint2DDouble_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
5523 { "new_wxPoint2DDoubleFromPoint", (PyCFunction
) _wrap_new_wxPoint2DDoubleFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
5524 { "new_wxPoint2DDoubleCopy", (PyCFunction
) _wrap_new_wxPoint2DDoubleCopy
, METH_VARARGS
| METH_KEYWORDS
},
5525 { "new_wxPoint2DDouble", (PyCFunction
) _wrap_new_wxPoint2DDouble
, METH_VARARGS
| METH_KEYWORDS
},
5526 { "wxPoint2DDouble_y_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5527 { "wxPoint2DDouble_y_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5528 { "wxPoint2DDouble_x_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5529 { "wxPoint2DDouble_x_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5530 { "wxPoint2DDouble_m_y_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5531 { "wxPoint2DDouble_m_y_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5532 { "wxPoint2DDouble_m_x_get", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5533 { "wxPoint2DDouble_m_x_set", (PyCFunction
) _wrap_wxPoint2DDouble_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5534 { "wxRect___ne__", (PyCFunction
) _wrap_wxRect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5535 { "wxRect___eq__", (PyCFunction
) _wrap_wxRect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5536 { "wxRect___add__", (PyCFunction
) _wrap_wxRect___add__
, METH_VARARGS
| METH_KEYWORDS
},
5537 { "wxRect_asTuple", (PyCFunction
) _wrap_wxRect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5538 { "wxRect_Set", (PyCFunction
) _wrap_wxRect_Set
, METH_VARARGS
| METH_KEYWORDS
},
5539 { "wxRect_height_get", (PyCFunction
) _wrap_wxRect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
5540 { "wxRect_height_set", (PyCFunction
) _wrap_wxRect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
5541 { "wxRect_width_get", (PyCFunction
) _wrap_wxRect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
5542 { "wxRect_width_set", (PyCFunction
) _wrap_wxRect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
5543 { "wxRect_y_get", (PyCFunction
) _wrap_wxRect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5544 { "wxRect_y_set", (PyCFunction
) _wrap_wxRect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5545 { "wxRect_x_get", (PyCFunction
) _wrap_wxRect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5546 { "wxRect_x_set", (PyCFunction
) _wrap_wxRect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5547 { "wxRect_Offset", (PyCFunction
) _wrap_wxRect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
5548 { "wxRect_OffsetXY", (PyCFunction
) _wrap_wxRect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
5549 { "wxRect_Intersects", (PyCFunction
) _wrap_wxRect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
5550 { "wxRect_Inside", (PyCFunction
) _wrap_wxRect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
5551 { "wxRect_InsideXY", (PyCFunction
) _wrap_wxRect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
5552 { "wxRect_Inflate", (PyCFunction
) _wrap_wxRect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
5553 { "wxRect_Deflate", (PyCFunction
) _wrap_wxRect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
5554 { "wxRect_SetBottom", (PyCFunction
) _wrap_wxRect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
5555 { "wxRect_SetTop", (PyCFunction
) _wrap_wxRect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
5556 { "wxRect_SetRight", (PyCFunction
) _wrap_wxRect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
5557 { "wxRect_SetLeft", (PyCFunction
) _wrap_wxRect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
5558 { "wxRect_GetRight", (PyCFunction
) _wrap_wxRect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
5559 { "wxRect_GetBottom", (PyCFunction
) _wrap_wxRect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
5560 { "wxRect_GetTop", (PyCFunction
) _wrap_wxRect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
5561 { "wxRect_GetLeft", (PyCFunction
) _wrap_wxRect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
5562 { "wxRect_SetSize", (PyCFunction
) _wrap_wxRect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
5563 { "wxRect_SetPosition", (PyCFunction
) _wrap_wxRect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5564 { "wxRect_GetSize", (PyCFunction
) _wrap_wxRect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
5565 { "wxRect_GetPosition", (PyCFunction
) _wrap_wxRect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
5566 { "wxRect_SetHeight", (PyCFunction
) _wrap_wxRect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5567 { "wxRect_GetHeight", (PyCFunction
) _wrap_wxRect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5568 { "wxRect_SetWidth", (PyCFunction
) _wrap_wxRect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5569 { "wxRect_GetWidth", (PyCFunction
) _wrap_wxRect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5570 { "wxRect_SetY", (PyCFunction
) _wrap_wxRect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
5571 { "wxRect_GetY", (PyCFunction
) _wrap_wxRect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5572 { "wxRect_SetX", (PyCFunction
) _wrap_wxRect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
5573 { "wxRect_GetX", (PyCFunction
) _wrap_wxRect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5574 { "delete_wxRect", (PyCFunction
) _wrap_delete_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
5575 { "new_wxRect", (PyCFunction
) _wrap_new_wxRect
, METH_VARARGS
| METH_KEYWORDS
},
5576 { "wxPoint___ne__", (PyCFunction
) _wrap_wxPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5577 { "wxPoint___eq__", (PyCFunction
) _wrap_wxPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5578 { "wxPoint___sub__", (PyCFunction
) _wrap_wxPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
5579 { "wxPoint___add__", (PyCFunction
) _wrap_wxPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
5580 { "wxPoint_asTuple", (PyCFunction
) _wrap_wxPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5581 { "wxPoint_Set", (PyCFunction
) _wrap_wxPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5582 { "delete_wxPoint", (PyCFunction
) _wrap_delete_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
5583 { "new_wxPoint", (PyCFunction
) _wrap_new_wxPoint
, METH_VARARGS
| METH_KEYWORDS
},
5584 { "wxPoint_y_get", (PyCFunction
) _wrap_wxPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5585 { "wxPoint_y_set", (PyCFunction
) _wrap_wxPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5586 { "wxPoint_x_get", (PyCFunction
) _wrap_wxPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5587 { "wxPoint_x_set", (PyCFunction
) _wrap_wxPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5588 { "wxRealPoint___ne__", (PyCFunction
) _wrap_wxRealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5589 { "wxRealPoint___eq__", (PyCFunction
) _wrap_wxRealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5590 { "wxRealPoint___sub__", (PyCFunction
) _wrap_wxRealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
5591 { "wxRealPoint___add__", (PyCFunction
) _wrap_wxRealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
5592 { "wxRealPoint_asTuple", (PyCFunction
) _wrap_wxRealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5593 { "wxRealPoint_Set", (PyCFunction
) _wrap_wxRealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
5594 { "delete_wxRealPoint", (PyCFunction
) _wrap_delete_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
5595 { "new_wxRealPoint", (PyCFunction
) _wrap_new_wxRealPoint
, METH_VARARGS
| METH_KEYWORDS
},
5596 { "wxRealPoint_y_get", (PyCFunction
) _wrap_wxRealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5597 { "wxRealPoint_y_set", (PyCFunction
) _wrap_wxRealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5598 { "wxRealPoint_x_get", (PyCFunction
) _wrap_wxRealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5599 { "wxRealPoint_x_set", (PyCFunction
) _wrap_wxRealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5600 { "wxSize___ne__", (PyCFunction
) _wrap_wxSize___ne__
, METH_VARARGS
| METH_KEYWORDS
},
5601 { "wxSize___eq__", (PyCFunction
) _wrap_wxSize___eq__
, METH_VARARGS
| METH_KEYWORDS
},
5602 { "wxSize_asTuple", (PyCFunction
) _wrap_wxSize_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
5603 { "wxSize_DecTo", (PyCFunction
) _wrap_wxSize_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
5604 { "wxSize_IncTo", (PyCFunction
) _wrap_wxSize_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
5605 { "wxSize_SetHeight", (PyCFunction
) _wrap_wxSize_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5606 { "wxSize_SetWidth", (PyCFunction
) _wrap_wxSize_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5607 { "wxSize_GetHeight", (PyCFunction
) _wrap_wxSize_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
5608 { "wxSize_GetWidth", (PyCFunction
) _wrap_wxSize_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
5609 { "wxSize_GetY", (PyCFunction
) _wrap_wxSize_GetY
, METH_VARARGS
| METH_KEYWORDS
},
5610 { "wxSize_GetX", (PyCFunction
) _wrap_wxSize_GetX
, METH_VARARGS
| METH_KEYWORDS
},
5611 { "wxSize_Set", (PyCFunction
) _wrap_wxSize_Set
, METH_VARARGS
| METH_KEYWORDS
},
5612 { "delete_wxSize", (PyCFunction
) _wrap_delete_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
5613 { "new_wxSize", (PyCFunction
) _wrap_new_wxSize
, METH_VARARGS
| METH_KEYWORDS
},
5614 { "wxSize_height_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5615 { "wxSize_height_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5616 { "wxSize_width_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5617 { "wxSize_width_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5618 { "wxSize_y_get", (PyCFunction
) _wrap_wxSize_y_get
, METH_VARARGS
| METH_KEYWORDS
},
5619 { "wxSize_y_set", (PyCFunction
) _wrap_wxSize_y_set
, METH_VARARGS
| METH_KEYWORDS
},
5620 { "wxSize_x_get", (PyCFunction
) _wrap_wxSize_x_get
, METH_VARARGS
| METH_KEYWORDS
},
5621 { "wxSize_x_set", (PyCFunction
) _wrap_wxSize_x_set
, METH_VARARGS
| METH_KEYWORDS
},
5622 { "wxObject_Destroy", (PyCFunction
) _wrap_wxObject_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
5623 { "wxObject_GetClassName", (PyCFunction
) _wrap_wxObject_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
5624 { "wxGetAccelFromString", (PyCFunction
) _wrap_wxGetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
5625 { "wxTrap", (PyCFunction
) _wrap_wxTrap
, METH_VARARGS
| METH_KEYWORDS
},
5626 { "wxGetProcessId", (PyCFunction
) _wrap_wxGetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
5627 { "wxGetUserHome", (PyCFunction
) _wrap_wxGetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
5628 { "wxGetHomeDir", (PyCFunction
) _wrap_wxGetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
5629 { "wxGetUserName", (PyCFunction
) _wrap_wxGetUserName
, METH_VARARGS
| METH_KEYWORDS
},
5630 { "wxGetUserId", (PyCFunction
) _wrap_wxGetUserId
, METH_VARARGS
| METH_KEYWORDS
},
5631 { "wxGetFullHostName", (PyCFunction
) _wrap_wxGetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
5632 { "wxGetHostName", (PyCFunction
) _wrap_wxGetHostName
, METH_VARARGS
| METH_KEYWORDS
},
5633 { "wxGetEmailAddress", (PyCFunction
) _wrap_wxGetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
5634 { "wxStripMenuCodes", (PyCFunction
) _wrap_wxStripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
5635 { "wxEnableTopLevelWindows", (PyCFunction
) _wrap_wxEnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
5636 { "wxYieldIfNeeded", (PyCFunction
) _wrap_wxYieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
5637 { "wxYield", (PyCFunction
) _wrap_wxYield
, METH_VARARGS
| METH_KEYWORDS
},
5638 { "wxUsleep", (PyCFunction
) _wrap_wxUsleep
, METH_VARARGS
| METH_KEYWORDS
},
5639 { "wxSleep", (PyCFunction
) _wrap_wxSleep
, METH_VARARGS
| METH_KEYWORDS
},
5640 { "wxShutdown", (PyCFunction
) _wrap_wxShutdown
, METH_VARARGS
| METH_KEYWORDS
},
5641 { "wxGetOsDescription", (PyCFunction
) _wrap_wxGetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
5642 { "wxGetOsVersion", (PyCFunction
) _wrap_wxGetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
5643 { "wxStartTimer", (PyCFunction
) _wrap_wxStartTimer
, METH_VARARGS
| METH_KEYWORDS
},
5644 { "wxShell", (PyCFunction
) _wrap_wxShell
, METH_VARARGS
| METH_KEYWORDS
},
5645 { "wxNow", (PyCFunction
) _wrap_wxNow
, METH_VARARGS
| METH_KEYWORDS
},
5646 { "wxIsBusy", (PyCFunction
) _wrap_wxIsBusy
, METH_VARARGS
| METH_KEYWORDS
},
5647 { "wxGetMousePosition", (PyCFunction
) _wrap_wxGetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
5648 { "wxGetFreeMemory", (PyCFunction
) _wrap_wxGetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
5649 { "wxGetElapsedTime", (PyCFunction
) _wrap_wxGetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
5650 { "wxEndBusyCursor", (PyCFunction
) _wrap_wxEndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
5651 { "wxBell", (PyCFunction
) _wrap_wxBell
, METH_VARARGS
| METH_KEYWORDS
},
5652 { "wxGetCurrentId", (PyCFunction
) _wrap_wxGetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
5653 { "wxRegisterId", (PyCFunction
) _wrap_wxRegisterId
, METH_VARARGS
| METH_KEYWORDS
},
5654 { "wxNewId", (PyCFunction
) _wrap_wxNewId
, METH_VARARGS
| METH_KEYWORDS
},
5655 { "wxIntersectRect", (PyCFunction
) _wrap_wxIntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
5662 * This table is used by the pointer type-checker
5664 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
5665 { "_signed_long","_long",0},
5666 { "_wxPrintQuality","_wxCoord",0},
5667 { "_wxPrintQuality","_int",0},
5668 { "_wxPrintQuality","_signed_int",0},
5669 { "_wxPrintQuality","_unsigned_int",0},
5670 { "_wxPrintQuality","_wxWindowID",0},
5671 { "_wxPrintQuality","_uint",0},
5672 { "_wxPrintQuality","_EBool",0},
5673 { "_wxPrintQuality","_size_t",0},
5674 { "_wxPrintQuality","_time_t",0},
5675 { "_byte","_unsigned_char",0},
5676 { "_long","_unsigned_long",0},
5677 { "_long","_signed_long",0},
5678 { "_size_t","_wxCoord",0},
5679 { "_size_t","_wxPrintQuality",0},
5680 { "_size_t","_time_t",0},
5681 { "_size_t","_unsigned_int",0},
5682 { "_size_t","_int",0},
5683 { "_size_t","_wxWindowID",0},
5684 { "_size_t","_uint",0},
5685 { "_uint","_wxCoord",0},
5686 { "_uint","_wxPrintQuality",0},
5687 { "_uint","_time_t",0},
5688 { "_uint","_size_t",0},
5689 { "_uint","_unsigned_int",0},
5690 { "_uint","_int",0},
5691 { "_uint","_wxWindowID",0},
5692 { "_wxChar","_char",0},
5693 { "_char","_wxChar",0},
5694 { "_EBool","_wxCoord",0},
5695 { "_EBool","_wxPrintQuality",0},
5696 { "_EBool","_signed_int",0},
5697 { "_EBool","_int",0},
5698 { "_EBool","_wxWindowID",0},
5699 { "_unsigned_long","_long",0},
5700 { "_signed_int","_wxCoord",0},
5701 { "_signed_int","_wxPrintQuality",0},
5702 { "_signed_int","_EBool",0},
5703 { "_signed_int","_wxWindowID",0},
5704 { "_signed_int","_int",0},
5705 { "_WXTYPE","_short",0},
5706 { "_WXTYPE","_signed_short",0},
5707 { "_WXTYPE","_unsigned_short",0},
5708 { "_unsigned_short","_WXTYPE",0},
5709 { "_unsigned_short","_short",0},
5710 { "_wxObject","_wxBusyInfo",SwigwxBusyInfoTowxObject
},
5711 { "_wxObject","_wxAcceleratorTable",SwigwxAcceleratorTableTowxObject
},
5712 { "_wxObject","_wxLayoutConstraints",SwigwxLayoutConstraintsTowxObject
},
5713 { "_wxObject","_wxIndividualLayoutConstraint",SwigwxIndividualLayoutConstraintTowxObject
},
5714 { "_signed_short","_WXTYPE",0},
5715 { "_signed_short","_short",0},
5716 { "_unsigned_char","_byte",0},
5717 { "_unsigned_int","_wxCoord",0},
5718 { "_unsigned_int","_wxPrintQuality",0},
5719 { "_unsigned_int","_time_t",0},
5720 { "_unsigned_int","_size_t",0},
5721 { "_unsigned_int","_uint",0},
5722 { "_unsigned_int","_wxWindowID",0},
5723 { "_unsigned_int","_int",0},
5724 { "_short","_WXTYPE",0},
5725 { "_short","_unsigned_short",0},
5726 { "_short","_signed_short",0},
5727 { "_wxWindowID","_wxCoord",0},
5728 { "_wxWindowID","_wxPrintQuality",0},
5729 { "_wxWindowID","_time_t",0},
5730 { "_wxWindowID","_size_t",0},
5731 { "_wxWindowID","_EBool",0},
5732 { "_wxWindowID","_uint",0},
5733 { "_wxWindowID","_int",0},
5734 { "_wxWindowID","_signed_int",0},
5735 { "_wxWindowID","_unsigned_int",0},
5736 { "_int","_wxCoord",0},
5737 { "_int","_wxPrintQuality",0},
5738 { "_int","_time_t",0},
5739 { "_int","_size_t",0},
5740 { "_int","_EBool",0},
5741 { "_int","_uint",0},
5742 { "_int","_wxWindowID",0},
5743 { "_int","_unsigned_int",0},
5744 { "_int","_signed_int",0},
5745 { "_time_t","_wxCoord",0},
5746 { "_time_t","_wxPrintQuality",0},
5747 { "_time_t","_unsigned_int",0},
5748 { "_time_t","_int",0},
5749 { "_time_t","_wxWindowID",0},
5750 { "_time_t","_uint",0},
5751 { "_time_t","_size_t",0},
5752 { "_wxCoord","_int",0},
5753 { "_wxCoord","_signed_int",0},
5754 { "_wxCoord","_unsigned_int",0},
5755 { "_wxCoord","_wxWindowID",0},
5756 { "_wxCoord","_uint",0},
5757 { "_wxCoord","_EBool",0},
5758 { "_wxCoord","_size_t",0},
5759 { "_wxCoord","_time_t",0},
5760 { "_wxCoord","_wxPrintQuality",0},
5763 static PyObject
*SWIG_globals
;
5767 SWIGEXPORT(void) initmiscc() {
5769 SWIG_globals
= SWIG_newvarlink();
5770 m
= Py_InitModule("miscc", misccMethods
);
5771 d
= PyModule_GetDict(m
);
5772 PyDict_SetItemString(d
,"wxSHUTDOWN_POWEROFF", PyInt_FromLong((long) wxSHUTDOWN_POWEROFF
));
5773 PyDict_SetItemString(d
,"wxSHUTDOWN_REBOOT", PyInt_FromLong((long) wxSHUTDOWN_REBOOT
));
5774 PyDict_SetItemString(d
,"wxLeft", PyInt_FromLong((long) wxLeft
));
5775 PyDict_SetItemString(d
,"wxTop", PyInt_FromLong((long) wxTop
));
5776 PyDict_SetItemString(d
,"wxRight", PyInt_FromLong((long) wxRight
));
5777 PyDict_SetItemString(d
,"wxBottom", PyInt_FromLong((long) wxBottom
));
5778 PyDict_SetItemString(d
,"wxWidth", PyInt_FromLong((long) wxWidth
));
5779 PyDict_SetItemString(d
,"wxHeight", PyInt_FromLong((long) wxHeight
));
5780 PyDict_SetItemString(d
,"wxCentre", PyInt_FromLong((long) wxCentre
));
5781 PyDict_SetItemString(d
,"wxCenter", PyInt_FromLong((long) wxCenter
));
5782 PyDict_SetItemString(d
,"wxCentreX", PyInt_FromLong((long) wxCentreX
));
5783 PyDict_SetItemString(d
,"wxCentreY", PyInt_FromLong((long) wxCentreY
));
5784 PyDict_SetItemString(d
,"wxUnconstrained", PyInt_FromLong((long) wxUnconstrained
));
5785 PyDict_SetItemString(d
,"wxAsIs", PyInt_FromLong((long) wxAsIs
));
5786 PyDict_SetItemString(d
,"wxPercentOf", PyInt_FromLong((long) wxPercentOf
));
5787 PyDict_SetItemString(d
,"wxAbove", PyInt_FromLong((long) wxAbove
));
5788 PyDict_SetItemString(d
,"wxBelow", PyInt_FromLong((long) wxBelow
));
5789 PyDict_SetItemString(d
,"wxLeftOf", PyInt_FromLong((long) wxLeftOf
));
5790 PyDict_SetItemString(d
,"wxRightOf", PyInt_FromLong((long) wxRightOf
));
5791 PyDict_SetItemString(d
,"wxSameAs", PyInt_FromLong((long) wxSameAs
));
5792 PyDict_SetItemString(d
,"wxAbsolute", PyInt_FromLong((long) wxAbsolute
));
5793 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
5794 SWIG_addvarlink(SWIG_globals
,"wxNullAcceleratorTable",_wrap_wxNullAcceleratorTable_get
, _wrap_wxNullAcceleratorTable_set
);
5797 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
5798 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);